/* ============================================================
   Schlaraffia LVD-CMS – Frontend-Stylesheet v1.0
   Design: Dunkelblau #1a2e5a / Gold #e8b84b / Weiß
   Typografie: Segoe UI (keine externen Fonts)
   ============================================================ */

:root {
  --blue-dark:   #1a2e5a;
  --blue-mid:    #1e3a73;
  --blue-light:  #2a4d9c;
  --blue-deeper: #0f1c38;
  --gold:        #e8b84b;
  --gold-dark:   #c99a30;
  --gold-light:  #f5d070;
  --white:       #ffffff;
  --off-white:   #f8f8f6;
  --gray-light:  #e8e8e8;
  --gray-mid:    #888;
  --gray-dark:   #333;
  --text:        #2c2c2c;
  --radius:      8px;
  --radius-lg:   16px;
  --shadow:      0 4px 20px rgba(26,46,90,.12);
  --shadow-hover:0 8px 32px rgba(26,46,90,.22);
  --transition:  .25s ease;
  --max-width:   1200px;
  --header-h:    72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { font-size: 16px; scroll-behavior: smooth; }
body  { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--white); line-height: 1.65; }
img   { max-width: 100%; height: auto; display: block; }
a     { color: var(--blue-light); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-dark); }
h1,h2,h3,h4 { font-weight: 700; line-height: 1.25; color: var(--blue-dark); }

/* ── SKIP LINK ───────────────────────────────────────────── */
.skip-link { position: absolute; top: -100px; left: 1rem; z-index: 9999; background: var(--gold); color: var(--blue-dark); padding: .5rem 1rem; border-radius: var(--radius); font-weight: 700; transition: top var(--transition); }
.skip-link:focus { top: 1rem; }

/* ── HEADER ──────────────────────────────────────────────── */
#site-header {
  background: var(--blue-dark);
  position: sticky; top: 0; z-index: 1500;
  box-shadow: 0 2px 16px rgba(0,0,0,.35);
}
.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.site-logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; flex-shrink: 0; }
.logo-uhu  { font-size: 2rem; line-height: 1; filter: drop-shadow(0 0 8px rgba(232,184,75,.5)); }
.logo-text { display: flex; flex-direction: column; }
.logo-title { font-size: 1.3rem; font-weight: 800; color: var(--white); letter-spacing: -.01em; line-height: 1.15; }
.logo-title sup { font-size: .55em; vertical-align: super; }
.logo-sub   { font-size: .58rem; color: var(--gold); letter-spacing: .04em; line-height: 1.2; opacity: .85; font-weight: 600; text-transform: uppercase; }

/* ── NAVIGATION ──────────────────────────────────────────── */
#main-nav { margin-left: auto; }
#main-nav > ul { list-style: none; display: flex; gap: .1rem; align-items: center; }
#main-nav a  { color: rgba(255,255,255,.88); padding: .45rem .65rem; border-radius: var(--radius); font-size: .84rem; font-weight: 500; transition: background var(--transition), color var(--transition); white-space: nowrap; display: flex; align-items: center; gap: .2rem; }
#main-nav a:hover, #main-nav a.active { background: rgba(232,184,75,.15); color: var(--gold); }
.nav-cta { background: rgba(232,184,75,.2) !important; color: var(--gold) !important; border: 1px solid rgba(232,184,75,.4); }

/* Dropdown Desktop */
.nav-has-sub { position: relative; }
.nav-sub { display: none; position: absolute; top: calc(100% + 4px); left: 0; background: var(--blue-mid); border-radius: 0 var(--radius) var(--radius) var(--radius); min-width: 230px; box-shadow: 0 8px 28px rgba(0,0,0,.4); padding: .5rem 0; z-index: 9999; list-style: none; }
@media (min-width: 769px) {
  .nav-has-sub:hover > .nav-sub,
  .nav-has-sub.is-open > .nav-sub { display: block; }
}
.nav-sub li { list-style: none; }
.nav-sub a  { display: block; padding: .6rem 1.2rem; color: rgba(255,255,255,.85) !important; font-size: .85rem; white-space: nowrap; }
.nav-sub a:hover { background: rgba(255,255,255,.08); color: var(--gold) !important; }

.header-cta { margin-left: .5rem; font-size: .84rem; }

/* Hamburger + Close */
#nav-toggle { display: none; background: none; border: 2px solid rgba(255,255,255,.4); border-radius: var(--radius); width: 42px; height: 38px; cursor: pointer; padding: 6px; flex-direction: column; justify-content: space-around; align-items: center; flex-shrink: 0; }
#nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all .25s; }
#nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#nav-toggle.open span:nth-child(2) { opacity: 0; }
#nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.search-toggle-btn { background: none; border: none; color: rgba(255,255,255,.7); cursor: pointer; padding: .4rem; transition: color .2s; flex-shrink: 0; }
.search-toggle-btn:hover { color: var(--gold); }

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: .4rem; padding: .65rem 1.5rem; border-radius: var(--radius); font-size: .925rem; font-weight: 600; font-family: inherit; cursor: pointer; border: 2px solid transparent; transition: all var(--transition); text-decoration: none; white-space: nowrap; }
.btn-primary   { background: var(--blue-dark); color: var(--white); border-color: var(--blue-dark); }
.btn-primary:hover { background: var(--blue-mid); color: var(--white); box-shadow: var(--shadow); }
.btn-gold      { background: var(--gold); color: var(--blue-dark); border-color: var(--gold); }
.btn-gold:hover { background: var(--gold-dark); color: var(--blue-dark); box-shadow: var(--shadow); }
.btn-outline   { background: transparent; color: var(--blue-dark); border-color: var(--blue-light); }
.btn-outline:hover { background: var(--blue-dark); color: var(--white); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); color: var(--white); }
.btn-lg { padding: .85rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: .4rem 1rem; font-size: .82rem; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--blue-dark);
}
.hero-bg {
  position: absolute; inset: 0;
  z-index: 0; overflow: hidden;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(10,20,50,.75) 0%, rgba(20,40,90,.55) 50%, rgba(10,20,50,.7) 100%);
  z-index: 1;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.2s ease-in-out;
}
.hero-slide.active { opacity: 1; }
.hero-content {
  position: relative; z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto; padding: 4rem 1.5rem;
  display: grid; grid-template-columns: 1fr 300px;
  gap: 3rem; align-items: center; width: 100%;
}
.hero h1 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); color: var(--white); margin-bottom: 1.25rem; line-height: 1.2; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero-sub { font-size: 1.02rem; color: rgba(255,255,255,.72); margin-bottom: 2rem; max-width: 580px; line-height: 1.7; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2.5rem; flex-wrap: wrap; }
.hero-stat { display: flex; flex-direction: column; }
.hstat-val { font-size: 1.6rem; font-weight: 800; color: var(--gold); }
.hstat-lbl { font-size: .72rem; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .03em; }
.hero-seal { display: flex; align-items: center; justify-content: center; }
.hero-seal-circle {
  width: 200px; height: 200px; border-radius: 50%;
  border: 3px solid rgba(232,184,75,.3);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(26,46,90,.5); backdrop-filter: blur(6px);
}
.seal-uhu  { font-size: 3.5rem; margin-bottom: .3rem; }
.seal-text { color: var(--gold); font-size: .8rem; font-weight: 600; letter-spacing: .05em; }
.seal-year { color: rgba(255,255,255,.4); font-size: .7rem; margin-top: .2rem; }

/* ── SECTIONS ────────────────────────────────────────────── */
.section { padding: 4rem 0; }
.section:nth-child(even) { background: var(--off-white); }
.section-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label { display: inline-block; background: rgba(232,184,75,.12); color: var(--gold-dark); padding: .3rem 1rem; border-radius: 20px; font-size: .78rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; margin-bottom: .75rem; }
.section-header h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }

/* ── FEATURES ────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.feature-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.feature-icon { font-size: 2rem; margin-bottom: .75rem; }
.feature-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.feature-card p  { font-size: .88rem; color: var(--gray-mid); line-height: 1.65; }
.tabu-banner { background: rgba(232,184,75,.08); border: 1px solid rgba(232,184,75,.25); border-radius: var(--radius); padding: 1rem 1.5rem; margin-bottom: 2rem; text-align: center; font-size: .9rem; display: flex; align-items: center; justify-content: center; gap: .5rem; }
.tabu-icon { font-size: 1.3rem; }

/* ── SUCHE ───────────────────────────────────────────────── */
.suche-section { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%); padding: 4rem 0; }
.suche-section .section-label { background: rgba(232,184,75,.2); color: var(--gold); }
.suche-section h2 { color: var(--white); }
.suche-box { max-width: 800px; margin: 0 auto; }
.suche-input-row { display: flex; gap: .75rem; margin-bottom: 1.5rem; }
.suche-input { flex: 1; padding: .85rem 1.25rem; border: 2px solid rgba(255,255,255,.2); border-radius: var(--radius); background: rgba(255,255,255,.08); color: #fff; font-size: 1rem; font-family: inherit; }
.suche-input::placeholder { color: rgba(255,255,255,.4); }
.suche-input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.12); }
#suche-map { height: 350px; border-radius: var(--radius-lg); margin-bottom: 1.5rem; overflow: hidden; }
.suche-results { display: grid; gap: 1rem; }
.suche-empty { text-align: center; padding: 2rem; color: rgba(255,255,255,.6); font-size: .95rem; }
.suche-empty a { color: var(--gold); }
.reych-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-lg); padding: 1.25rem 1.5rem; position: relative; }
.reych-dist { position: absolute; top: 1rem; right: 1rem; background: var(--gold); color: var(--blue-dark); padding: .2rem .6rem; border-radius: 12px; font-size: .75rem; font-weight: 700; }
.reych-nr   { font-size: .75rem; color: rgba(255,255,255,.4); margin-bottom: .2rem; }
.reych-name { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: .3rem; }
.reych-city { font-size: .88rem; color: rgba(255,255,255,.6); margin-bottom: .5rem; }
.reych-type { display: inline-block; font-size: .7rem; padding: .15rem .5rem; border-radius: 10px; background: rgba(232,184,75,.15); color: var(--gold); font-weight: 600; margin-bottom: .5rem; }
.reych-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.reych-links a { color: var(--gold); font-size: .82rem; font-weight: 600; }
.map-icon { font-size: 22px; text-align: center; line-height: 28px; }

/* ── TESTIMONIALS ────────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card { background: var(--white); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow); position: relative; }
.testimonial-card::before { content: '„'; position: absolute; top: .5rem; left: 1rem; font-size: 3rem; color: var(--gold); opacity: .3; line-height: 1; }
.testimonial-card p { font-size: .92rem; color: var(--text); line-height: 1.65; font-style: italic; margin-bottom: 1rem; padding-top: .5rem; }
.testimonial-author { font-size: .82rem; font-weight: 700; color: var(--blue-dark); }
.testimonial-reych  { font-size: .75rem; color: var(--gray-mid); }

/* ── GLOSSAR ─────────────────────────────────────────────── */
.glossar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.glossar-card { background: var(--white); border-radius: var(--radius); padding: 1.25rem; border-left: 3px solid var(--gold); box-shadow: var(--shadow); }
.glossar-card dt { font-weight: 700; color: var(--blue-dark); font-size: .95rem; margin-bottom: .3rem; }
.glossar-card dd { font-size: .85rem; color: var(--gray-mid); line-height: 1.55; }

/* ── MITMACHEN ───────────────────────────────────────────── */
.mitmachen-section { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%); padding: 4rem 0; }
.mitmachen-section .section-label { background: rgba(232,184,75,.2); color: var(--gold); }
.mitmachen-section h2 { color: var(--white); }
.mitmachen-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 2rem; }
.step-card { background: rgba(255,255,255,.06); border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center; border: 1px solid rgba(255,255,255,.1); }
.step-num  { width: 48px; height: 48px; background: var(--gold); color: var(--blue-dark); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; margin: 0 auto 1rem; }
.step-card h3 { color: var(--white); font-size: 1rem; margin-bottom: .5rem; }
.step-card p  { color: rgba(255,255,255,.65); font-size: .88rem; line-height: 1.6; }
.mitmachen-cta { background: rgba(232,184,75,.1); border: 2px solid var(--gold); border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; }
.mitmachen-cta h3 { color: var(--white); font-size: 1.4rem; margin-bottom: .75rem; }
.mitmachen-cta p  { color: rgba(255,255,255,.7); margin-bottom: 1.5rem; }

/* ── MOMENT MAL! MAGAZIN ─────────────────────────────────── */
.magazin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 2rem; }
.magazin-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.magazin-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.magazin-cover { aspect-ratio: 210/297; background: var(--blue-dark); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.magazin-cover img { width: 100%; height: 100%; object-fit: cover; }
.magazin-cover-placeholder { color: var(--gold); font-size: 3rem; }
.magazin-body { padding: 1.25rem; }
.magazin-body h3 { font-size: 1.05rem; margin-bottom: .4rem; }
.magazin-body .magazin-date { font-size: .75rem; color: var(--gray-mid); margin-bottom: .5rem; }
.magazin-body p { font-size: .85rem; color: var(--gray-mid); margin-bottom: 1rem; line-height: 1.55; }
.magazin-actions { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ── ARTICLE CARDS ───────────────────────────────────────── */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.article-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition); }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.article-card-img { aspect-ratio: 16/9; background: var(--blue-dark); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.article-card-body { padding: 1.25rem; }
.article-date { font-size: .75rem; color: var(--gray-mid); margin-bottom: .5rem; }
.article-card h3 { font-size: 1rem; margin-bottom: .5rem; }
.article-card p  { font-size: .88rem; color: var(--gray-mid); }
.article-card-foot { padding: .75rem 1.25rem; border-top: 1px solid var(--gray-light); }

/* ── PAGE LAYOUT ─────────────────────────────────────────── */
.page-hero { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%); padding: 3.5rem 0; text-align: center; }
.page-hero h1 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .5rem; }
.page-hero p  { color: rgba(255,255,255,.65); font-size: 1.05rem; }
.page-content { max-width: 800px; margin: 0 auto; padding: 3rem 1.5rem; }
.page-content h2 { font-size: 1.5rem; margin: 2rem 0 .75rem; }
.page-content p  { margin-bottom: 1rem; }
.page-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.page-content li { margin-bottom: .4rem; }

/* ── BREADCRUMB ──────────────────────────────────────────── */
.breadcrumb { background: #f5f5f3; }
.breadcrumb-inner { max-width: var(--max-width); margin: 0 auto; padding: .6rem 1.5rem; font-size: .82rem; color: var(--gray-mid); }
.breadcrumb-inner a { color: var(--blue-light); }
.breadcrumb-inner .sep { margin: 0 .4rem; color: var(--gray-light); }

/* ── KONTAKT ─────────────────────────────────────────────── */
.kontakt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
.kontakt-form .form-group { margin-bottom: 1rem; }
.kontakt-form label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .3rem; color: var(--gray-dark); }
.kontakt-form input, .kontakt-form select, .kontakt-form textarea {
  width: 100%; padding: .7rem 1rem; border: 1px solid var(--gray-light); border-radius: var(--radius);
  font-size: .95rem; font-family: inherit; transition: border-color var(--transition);
}
.kontakt-form input:focus, .kontakt-form textarea:focus { outline: none; border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(42,77,156,.1); }
.kontakt-form textarea { min-height: 130px; resize: vertical; }

/* ── REYCHE-TABELLE ──────────────────────────────────────── */
.reyche-table table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.reyche-table th { background: var(--blue-dark); color: var(--white); padding: .75rem 1rem; text-align: left; font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; }
.reyche-table td { padding: .7rem 1rem; border-bottom: 1px solid var(--gray-light); }
.reyche-table tr:hover td { background: var(--off-white); }

/* ── INTERN-BEREICH ──────────────────────────────────────── */
.intern-notice { background: rgba(232,184,75,.08); border: 1px solid rgba(232,184,75,.3); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 2rem; }
.intern-notice p { font-size: .9rem; margin: 0; }
.prioritaet-dringend { border-left: 4px solid #c33; }
.prioritaet-wichtig  { border-left: 4px solid var(--gold); }
.prioritaet-normal   { border-left: 4px solid var(--blue-light); }

/* ── SEARCH OVERLAY ──────────────────────────────────────── */
#search-overlay { position: fixed; inset: 0; background: rgba(10,20,50,.92); z-index: 2000; display: flex; align-items: flex-start; justify-content: center; padding-top: 20vh; backdrop-filter: blur(8px); }
.search-overlay-inner { max-width: 600px; width: 100%; padding: 0 1.5rem; }
.search-overlay-form { display: flex; gap: .75rem; margin-bottom: 1rem; }
.search-overlay-input { flex: 1; padding: 1rem 1.25rem; border: 2px solid rgba(255,255,255,.2); border-radius: var(--radius); background: rgba(255,255,255,.08); color: #fff; font-size: 1.1rem; font-family: inherit; }
.search-overlay-input:focus { outline: none; border-color: var(--gold); }
.search-overlay-input::placeholder { color: rgba(255,255,255,.35); }
.search-overlay-hints { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.search-overlay-hints span { color: rgba(255,255,255,.4); font-size: .82rem; }
.sh-pill { background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); padding: .3rem .8rem; border-radius: 20px; font-size: .8rem; transition: background .2s; }
.sh-pill:hover { background: rgba(232,184,75,.25); color: var(--gold); }
.search-overlay-close { position: absolute; top: 2rem; right: 2rem; background: none; border: none; color: rgba(255,255,255,.5); font-size: 2rem; cursor: pointer; }
.search-overlay-close:hover { color: #fff; }

/* ── FOOTER ──────────────────────────────────────────────── */
.footer-stats { background: var(--blue-mid); padding: 2rem 0; }
.footer-stats-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; display: flex; gap: 3rem; justify-content: center; flex-wrap: wrap; }
.footer-stat { display: flex; flex-direction: column; align-items: center; gap: .2rem; }
.fstat-icon { font-size: 1.5rem; }
.fstat-val  { font-size: 1.6rem; font-weight: 800; color: var(--gold); }
.fstat-lbl  { font-size: .72rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .04em; }

#site-footer { background: var(--blue-dark); color: rgba(255,255,255,.75); }
.footer-grid { max-width: var(--max-width); margin: 0 auto; padding: 3.5rem 1.5rem 2rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
.footer-about p { font-size: .88rem; line-height: 1.65; margin: 1rem 0; color: rgba(255,255,255,.6); }
.footer-logo { display: flex; align-items: center; gap: .75rem; }
.footer-uhu  { font-size: 2rem; }
.footer-logo-title { font-size: 1.1rem; font-weight: 800; color: var(--white); }
.footer-logo-sub   { font-size: .6rem; color: var(--gold); text-transform: uppercase; letter-spacing: .04em; }
.footer-nav h4 { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 1rem; }
.footer-nav ul { list-style: none; }
.footer-nav li { margin-bottom: .5rem; }
.footer-nav a  { color: rgba(255,255,255,.65); font-size: .88rem; transition: color var(--transition); }
.footer-nav a:hover { color: var(--gold); }
.footer-bottom { max-width: var(--max-width); margin: 0 auto; padding: 1.25rem 1.5rem; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: rgba(255,255,255,.35); flex-wrap: wrap; gap: .5rem; }
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--gold); }
.footer-spruch { font-size: .83rem; color: var(--gold); opacity: .7; }

/* ── COOKIE-BANNER ───────────────────────────────────────── */
#cookie-banner { display: none; position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%); z-index: 9000; background: var(--blue-dark); color: rgba(255,255,255,.85); padding: 1.25rem 1.75rem; border-radius: var(--radius-lg); box-shadow: 0 8px 40px rgba(0,0,0,.35); max-width: 600px; width: calc(100% - 3rem); border: 1px solid rgba(232,184,75,.3); }
#cookie-banner p { font-size: .85rem; margin-bottom: .85rem; }
#cookie-banner a { color: var(--gold); }
.cookie-btns { display: flex; gap: .75rem; }

/* ── MODAL ───────────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 8000; display: flex; align-items: center; justify-content: center; padding: 1rem; backdrop-filter: blur(4px); }
.modal { background: var(--white); border-radius: var(--radius-lg); padding: 2.5rem; max-width: 480px; width: 100%; position: relative; box-shadow: 0 20px 60px rgba(0,0,0,.3); }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--gray-mid); }
.modal h3 { color: var(--blue-dark); margin-bottom: .5rem; }
.modal-lead { color: var(--gray-mid); font-size: .9rem; margin-bottom: 1.5rem; }

/* ── INFO-BOX ────────────────────────────────────────────── */
.info-box { background: rgba(232,184,75,.08); border: 1px solid rgba(232,184,75,.3); border-radius: var(--radius); padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; }
.info-box p { font-size: .95rem; margin: 0; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid      { grid-template-columns: 1fr 1fr; }
  .testimonials-grid   { grid-template-columns: 1fr 1fr; }
  .hero-content        { grid-template-columns: 1fr; }
  .hero-seal           { display: none; }
  .footer-grid         { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* Mobile Nav Fullscreen */
  #main-nav, .header-cta { display: none; }
  #nav-toggle { display: flex; }

  #main-nav {
    position: fixed; inset: 0;
    background: var(--blue-deeper); z-index: 1400;
    overflow-y: auto; -webkit-overflow-scrolling: touch;
  }
  #main-nav.open { display: block; }

  #main-nav > ul {
    display: flex; flex-direction: column;
    list-style: none; padding: 100px 2rem 4rem;
  }
  #main-nav > ul > li {
    list-style: none;
    border-bottom: 1px solid rgba(255,255,255,.1);
  }
  #main-nav > ul > li:first-child { border-top: 1px solid rgba(255,255,255,.1); }
  #main-nav > ul > li > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.1rem .25rem; font-size: 1.25rem; font-weight: 600;
    color: #fff !important; min-height: 56px;
  }
  #main-nav > ul > li > a.nav-cta { color: var(--gold) !important; }

  #main-nav .nav-has-sub > a .nav-arrow {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(255,255,255,.08); font-size: 1rem;
    flex-shrink: 0; transition: transform .25s, background .2s;
  }
  #main-nav .nav-has-sub.is-open > a .nav-arrow {
    transform: rotate(90deg); background: rgba(232,184,75,.2);
  }

  #main-nav .nav-has-sub > .nav-sub {
    display: none; position: static;
    background: rgba(255,255,255,.05); border-radius: 10px;
    box-shadow: none; padding: .4rem 0 .6rem; margin: 0 0 .75rem .25rem;
  }
  #main-nav .nav-has-sub.is-open > .nav-sub { display: block; }
  #main-nav .nav-sub a {
    padding: .85rem 1.1rem; font-size: 1rem;
    white-space: normal; color: rgba(255,255,255,.8) !important;
    border-radius: 8px; margin: .1rem .4rem;
  }
  #main-nav .nav-sub a:hover { background: rgba(232,184,75,.15); color: var(--gold) !important; }

  #nav-close-btn {
    display: flex !important; position: fixed; top: 14px; right: 14px; z-index: 1450;
    align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: rgba(255,255,255,.12); border: 1.5px solid rgba(255,255,255,.25);
    border-radius: 50%; color: #fff; font-size: 1.3rem; cursor: pointer; padding: 0;
  }

  .features-grid      { grid-template-columns: 1fr; }
  .testimonials-grid   { grid-template-columns: 1fr; }
  .mitmachen-steps     { grid-template-columns: 1fr; }
  .glossar-grid        { grid-template-columns: 1fr; }
  .articles-grid       { grid-template-columns: 1fr; }
  .kontakt-grid        { grid-template-columns: 1fr; }
  .footer-grid         { grid-template-columns: 1fr; }
  .hero-btns           { flex-direction: column; }
  .hero-stats          { gap: 1.5rem; }
  .suche-input-row     { flex-direction: column; }
}

/* Desktop: Close-Button ausblenden */
@media (min-width: 769px) {
  #nav-close-btn { display: none !important; }
  #main-nav .nav-arrow { display: none; }
}
