/* Kritische Basisregeln: werden vor allen anderen Styles geladen. */
[hidden] { display: none !important; }
.mobile-drawer:not(.is-open),
.search-modal:not(.is-open) { display: none !important; }
.mobile-drawer.is-open,
.search-modal.is-open { display: block !important; }

.db-setup-banner {
  max-width: 1180px;
  margin: 14px auto 0;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #f0c36a;
  border-radius: 16px;
  background: #fff8e7;
  color: #69470a;
  box-shadow: 0 8px 24px rgba(92, 64, 10, .08);
  font-size: 14px;
}
.db-setup-banner strong { color: #4d3407; }
.db-setup-banner a {
  flex: 0 0 auto;
  padding: 8px 12px;
  border-radius: 11px;
  background: #1f63d3;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 820px) {
  .desktop-nav { display: none !important; }
  .mobile-menu-button { display: inline-flex !important; }
  .header-actions { margin-left: auto; }
  .header-register { display: none !important; }
}

@media (max-width: 640px) {
  .site-main { width: 100%; max-width: 100%; overflow-x: hidden; }
  .db-setup-banner {
    margin: 10px 12px 0;
    align-items: flex-start;
    flex-direction: column;
  }
  .db-setup-banner a { width: 100%; text-align: center; }
  .mobile-bottom-nav { display: grid !important; }
}
