/* ============================================================
   Team-Neudorf – zentrales Stylesheet
   Aufbau:
   1) Design-Variablen (Farben, Abstände, Schatten)
   2) Grundlagen / Reset
   3) Layout (Container, Sections)
   4) Buttons
   5) Header & Navigation (inkl. Mobil-Menü)
   6) Hero
   7) Karten / Leistungs-Grid
   8) Trust / Vorteile
   9) CTA-Band
   10) Formular
   11) Footer
   12) Textseiten (Impressum, Datenschutz ...)
   13) Hilfsklassen & Responsive
   Farben zentral über die Variablen unter :root anpassbar.
   ============================================================ */

/* 1) DESIGN-VARIABLEN ---------------------------------------- */
:root {
  /* Markenfarben (Blau = Vertrauen/Seriosität) */
  --brand-50:  #eef4fb;
  --brand-100: #d7e6f6;
  --brand-500: #1f5c9e;
  --brand-600: #1a4e88;
  --brand-700: #143d6b;
  --brand-800: #0f2f52;

  /* Akzent (Grün = Sicherheit, Haken, positive Elemente) */
  --accent-500: #1f9d8a;
  --accent-600: #17836f;

  /* Neutrale Töne – wärmer & edler abgestimmt (Farben bleiben, nur die Neutraltöne) */
  --ink:    #171a20;   /* Haupttext (satter, edel) */
  --muted:  #5a616b;   /* Sekundärtext     */
  --line:   #e8e3d9;   /* feine, warme Linien */
  --bg:     #ffffff;   /* Grundhintergrund */
  --bg-soft:#f6f4ef;   /* warmes Elfenbein für Abschnitte */
  --white:  #ffffff;

  /* Form – dezentere Rundungen & feinere Schatten für edlen Look */
  --radius: 12px;
  --radius-sm: 9px;
  --container: 1140px;
  --shadow-sm: 0 1px 2px rgba(20, 40, 70, .05), 0 3px 8px rgba(20, 40, 70, .06);
  --shadow-md: 0 12px 30px rgba(20, 40, 70, .08);
  --shadow-lg: 0 26px 60px rgba(20, 40, 70, .12);

  /* Schrift: System-Fonts = schnell + DSGVO-freundlich (keine externen Server) */
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
          "Noto Sans", sans-serif;
  /* Elegante Serifen-Schrift für Überschriften (ebenfalls System-Fonts, DSGVO-freundlich) */
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua",
               Georgia, "Times New Roman", serif;
}

/* 2) GRUNDLAGEN / RESET ------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;      /* ~17px */
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.18;
  color: var(--brand-800);
  margin: 0 0 .5em;
  font-weight: 700;
  letter-spacing: -.005em;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3rem); }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.5vw, 2.1rem); }
h3 { font-size: 1.25rem; }
p  { margin: 0 0 1rem; }

/* Sichtbarer Fokusrahmen für Tastaturbedienung (Barrierefreiheit) */
:focus-visible {
  outline: 3px solid var(--brand-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Link, um per Tastatur direkt zum Inhalt zu springen */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand-700);
  color: #fff;
  padding: .7rem 1rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* 3) LAYOUT -------------------------------------------------- */
.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.section { padding: clamp(3.5rem, 2rem + 5vw, 6.5rem) 0; }
.section--soft { background: var(--bg-soft); }
.section--brand { background: var(--brand-700); color: #eaf1fa; }
.section--brand h2 { color: #fff; }

.section-head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }

.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-600);
  margin-bottom: .7rem;
}
.section--brand .eyebrow { color: #7fd7c8; }

/* 4) BUTTONS ------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .9rem 1.7rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: .01em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .06s ease, background-color .2s ease, box-shadow .2s ease,
              color .2s ease, border-color .2s ease;
  text-decoration: none;
  line-height: 1.1;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--brand-700); box-shadow: var(--shadow-md); }

.btn--accent { background: var(--accent-500); color: #fff; box-shadow: var(--shadow-sm); }
.btn--accent:hover { background: var(--accent-600); box-shadow: var(--shadow-md); }

.btn--outline { background: transparent; color: var(--brand-700); border-color: var(--brand-100); }
.btn--outline:hover { border-color: var(--brand-600); background: var(--brand-50); }

.btn--light { background: #fff; color: var(--brand-700); }
.btn--light:hover { background: #eaf1fa; }

.btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); }

.btn--block { width: 100%; }

/* 5) HEADER & NAVIGATION ------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; font-weight: 800; color: var(--brand-800); font-size: 1.15rem; }
.brand:hover { text-decoration: none; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  color: #fff;
  font-weight: 800;
  font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
}
.brand__name { line-height: 1.05; }
.brand__name small { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-block;
  padding: .55rem .8rem;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 600;
  font-size: .98rem;
}
.nav-links a:hover { background: var(--brand-50); color: var(--brand-700); text-decoration: none; }
.nav-links a[aria-current="page"] { color: var(--brand-700); background: var(--brand-50); }
.nav-cta { margin-left: .4rem; }

/* Hamburger-Schalter (nur mobil sichtbar) */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--brand-800);
  margin: 0 auto;
  position: relative;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* 6) HERO --------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 85% -10%, rgba(31,157,138,.14), transparent 60%),
    linear-gradient(180deg, var(--brand-50), #ffffff 70%);
  padding: clamp(3rem, 2rem + 6vw, 6rem) 0 clamp(2.5rem, 2rem + 3vw, 4.5rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: center;
}
.hero h1 { margin-bottom: .6rem; }
.hero__lead { font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.8rem; color: var(--muted); font-size: .95rem; }
.hero__trust span { display: inline-flex; align-items: center; gap: .45rem; }

/* Info-Karte im Hero */
.hero__card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 1.6rem;
}
.hero__card h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.checklist li { display: flex; gap: .65rem; align-items: flex-start; }
.checklist .tick {
  flex: none;
  width: 22px; height: 22px; margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-500);
  display: grid; place-items: center;
}
.checklist .tick svg { width: 12px; height: 12px; }

/* 7) KARTEN / LEISTUNGS-GRID -------------------------------- */
.grid { display: grid; gap: 1.25rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.card__icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--brand-50);
  color: var(--brand-600);
  display: grid; place-items: center;
  margin-bottom: 1rem;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.card--link { display: block; color: inherit; }
.card--link:hover { text-decoration: none; }

/* 8) TRUST / VORTEILE --------------------------------------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 1rem + 3vw, 4rem);
  align-items: center;
}
.feature-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.1rem; }
.feature-list li { display: flex; gap: .9rem; align-items: flex-start; }
.feature-list .tick {
  flex: none; width: 26px; height: 26px; margin-top: 2px;
  border-radius: 8px; background: var(--accent-500);
  display: grid; place-items: center;
}
.feature-list .tick svg { width: 14px; height: 14px; }
.feature-list strong { display: block; color: var(--brand-800); }
.feature-list span { color: var(--muted); }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 1rem; }
.stat {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-sm);
  padding: 1.2rem;
  text-align: center;
}
.stat b { display: block; font-size: 1.8rem; color: #fff; line-height: 1; }
.stat span { font-size: .9rem; color: #cfe0f2; }

/* Prozess-Schritte */
.steps { counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.step { position: relative; background:#fff; border:1px solid var(--line); border-radius: var(--radius); padding: 1.6rem 1.4rem; box-shadow: var(--shadow-sm); }
.step::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--brand-600); color:#fff; font-weight: 700;
  margin-bottom: .9rem;
}
.step h3 { font-size: 1.1rem; }
.step p { color: var(--muted); margin-bottom: 0; }

/* 9) CTA-BAND ----------------------------------------------- */
.cta-band { text-align: center; }
.cta-band .container { max-width: 720px; }
.cta-band p { color: #d7e6f6; font-size: 1.15rem; }
.cta-band .btn { margin-top: .5rem; }

/* 10) FORMULAR ---------------------------------------------- */
.form-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: clamp(1.4rem, 1rem + 2vw, 2.2rem);
}
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; color: var(--brand-800); }
.field .req { color: #c0392b; }
.field input,
.field textarea {
  width: 100%;
  padding: .8rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: #fdfefe;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 3px var(--brand-100);
}
.field textarea { min-height: 150px; resize: vertical; }
.field--check { display: flex; gap: .65rem; align-items: flex-start; }
.field--check input { width: auto; margin-top: .3rem; flex: none; }
.field--check label { font-weight: 400; color: var(--muted); margin: 0; }
.form-hint { font-size: .9rem; color: var(--muted); margin-top: 1rem; }

/* Von der Ansicht versteckt (Spam-Honeypot) */
.hidden-field { position: absolute; left: -9999px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
.contact-info { display: grid; gap: 1.1rem; }
.contact-item { display: flex; gap: .9rem; align-items: flex-start; }
.contact-item .ci-icon { flex: none; width: 44px; height: 44px; border-radius: 11px; background: var(--brand-50); color: var(--brand-600); display: grid; place-items: center; }
.contact-item .ci-icon svg { width: 22px; height: 22px; }
.contact-item strong { display:block; color: var(--brand-800); }
.contact-item a, .contact-item span { color: var(--muted); }

/* Erfolg-/Hinweis-Box */
.notice {
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  border: 1px solid;
  margin-bottom: 1.4rem;
}
.notice--info { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-800); }
.notice--warn { background: #fff8ec; border-color: #f4d9a6; color: #7a5a12; }
.notice--success { background: #eafaf5; border-color: #b7ead9; color: #12684f; }

/* 11) FOOTER ------------------------------------------------ */
.site-footer { background: var(--brand-800); color: #b9c9dc; padding: 3.5rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.site-footer a { color: #cdd8e4; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand__name small { color: #9fb4cc; }
.footer-brand p { color: #9fb4cc; margin-top: 1rem; max-width: 34ch; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-links a { color: #b9c9dc; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 2.5rem; padding-top: 1.3rem;
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  font-size: .9rem; color: #8fa3bd;
}
.footer-bottom a { color: #b9c9dc; }
.footer-bottom .footer-legal { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* 12) TEXTSEITEN (Impressum, Datenschutz, Erstinformation) --- */
.page-hero { background: var(--brand-700); color: #eaf1fa; padding: clamp(2.5rem, 2rem + 3vw, 4rem) 0; }
.page-hero h1 { color: #fff; margin-bottom: .3rem; }
.page-hero p { color: #cfe0f2; margin: 0; max-width: 60ch; }
.breadcrumbs { font-size: .9rem; color: #a9c3de; margin-bottom: .8rem; }
.breadcrumbs a { color: #cfe0f2; }

.prose { max-width: 780px; }
.prose h2 { margin-top: 2.2rem; }
.prose h3 { margin-top: 1.6rem; color: var(--brand-700); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.prose th, .prose td { text-align: left; padding: .6rem .7rem; border: 1px solid var(--line); vertical-align: top; }
.prose th { background: var(--bg-soft); }
/* Platzhalter, die du noch ausfüllst, werden farblich hervorgehoben */
.placeholder {
  background: #fff3cd;
  border-bottom: 2px dotted #d1a400;
  padding: 0 .2em;
  border-radius: 3px;
  font-style: italic;
}

/* 13) HILFSKLASSEN & RESPONSIVE ----------------------------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.lead { font-size: 1.15rem; color: var(--muted); }
.tag {
  display:inline-block; font-size:.72rem; font-weight:600; letter-spacing:.12em;
  text-transform:uppercase; color: var(--brand-700);
  background: var(--brand-50); border:1px solid var(--brand-100);
  padding:.4rem .85rem; border-radius:999px; margin-bottom:1rem;
}

/* Tablet */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__card { order: -1; }
  .grid--3, .steps { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Navigation als Klappmenü: schaltet bereits ab kleinem Desktop um.
   6 Menüpunkte + Button + Logo (104px hoch, ca. 311px breit) brauchen ca. 1106px;
   darunter würde die Leiste überlaufen. Deshalb hier 1180px (seit 21.09.2026,
   vorher 1120px bei 88px Logo). Derselbe Wert steht in main.js (Fenster-Resize). */
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: .8rem 1.25rem 1.2rem;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { padding: .8rem .6rem; border-radius: 8px; }
  .nav-cta { margin: .4rem 0 0; }
  .nav-cta .btn { width: 100%; }
}

/* Mobil: mehrspaltige Raster werden einspaltig */
@media (max-width: 760px) {
  .grid--3, .grid--2, .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}

/* Nutzer, die reduzierte Bewegung wünschen, respektieren */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ============================================================
   14) EDEL-DUNKEL – dunkles, exklusives Farbschema (Variante 3)
   Blau + Grün bleiben erhalten; nur die Flächen werden dunkel.
   Zum Zurücksetzen einfach diesen kompletten Block löschen.
   ============================================================ */
:root {
  --ink:     #dae5f3;   /* heller Haupttext auf Dunkel   */
  --muted:   #a3b5cd;   /* heller Sekundärtext           */
  --line:    #274a70;   /* dezente Linien auf Dunkel      */
  --bg:      #08223b;   /* tiefes Marineblau (Grundfläche)*/
  --bg-soft: #0a2340;   /* dunkler für abwechselnde Abschnitte */
  --surface: #163a63;   /* Karten/Panels (etwas heller)   */
}

/* Überschriften & Links hell */
h1, h2, h3, h4 { color: #ffffff; }
a { color: #8ec5f0; }

/* Kopfzeile / Navigation */
.site-header { background: #08223b; border-bottom-color: var(--line); }
.brand { color: #f3f7fc; }
.brand__mark { background: #ffffff; color: #08223b; }
.nav-links a { color: #dae5f3; }
.nav-links a:hover { background: rgba(255,255,255,.08); color: #ffffff; }
.nav-links a[aria-current="page"] { background: rgba(255,255,255,.08); color: #ffffff; }
.nav-toggle { background: rgba(255,255,255,.06); border-color: var(--line); }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { background: #eaf1fa; }
/* Klappmenü (mobil/Tablet) im Dunkel-Design: dunkler Hintergrund statt Weiß,
   damit die hellen Link-Texte gut lesbar bleiben. */
@media (max-width: 1180px) {
  .nav-links { background: #0a2340; border-bottom-color: var(--line); box-shadow: 0 18px 40px rgba(0,0,0,.45); }
}

/* Hero */
.hero {
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(111,208,191,.12), transparent 60%),
    #08223b;
}
.hero__card { background: var(--surface); border-color: rgba(255,255,255,.10); }

/* Karten, Schritte, Icons */
.card { background: var(--surface); border-color: rgba(255,255,255,.10); }
.card:hover { border-color: rgba(111,208,191,.45); }
.card__icon { background: rgba(142,197,240,.12); color: #8ec5f0; }
.step { background: var(--surface); border-color: rgba(255,255,255,.10); }
.contact-item .ci-icon { background: rgba(142,197,240,.12); color: #8ec5f0; }
.contact-item strong { color: #eaf1fa; }
.feature-list strong { color: #eaf1fa; }

/* Formular */
.form-wrap { background: var(--surface); border-color: rgba(255,255,255,.10); }
.field label { color: #eaf1fa; }
.field input, .field textarea { background: #0b2440; color: var(--ink); border-color: var(--line); }
.field input:focus, .field textarea:focus { border-color: #6fd0bf; box-shadow: 0 0 0 3px rgba(111,208,191,.25); }

/* Labels & Buttons */
.eyebrow { color: #6fd0bf; }
.tag { background: rgba(111,208,191,.12); color: #8fe0d0; border-color: rgba(111,208,191,.30); }
.btn--primary { background: #ffffff; color: #08223b; }
.btn--primary:hover { background: #e7eef7; }
/* Nav-CTA liegt in .nav-links – dunkle Schrift auf dem weißen Button erzwingen */
.nav-cta .btn--primary, .nav-cta .btn--primary:hover { color: #08223b; }
.btn--outline { color: #ffffff; border-color: rgba(255,255,255,.45); }
.btn--outline:hover { background: rgba(255,255,255,.10); border-color: #ffffff; }

/* Hinweis-/Textboxen & Rechtsseiten */
.notice--info { background: rgba(142,197,240,.10); border-color: rgba(142,197,240,.30); color: #d6e6f8; }
.notice--warn { background: rgba(244,217,166,.10); border-color: rgba(244,217,166,.40); color: #f6e3bd; }
.notice--warn a { color: #ffe9b8; }
.prose h3 { color: #cdddf0; }
.placeholder { color: #4a3b00; }   /* dunkle Schrift bleibt auf gelbem Marker lesbar */

/* ---- Kopf-Logo: Wappen (Emblem) + Schriftzug ---- */
.nav { min-height: 120px; }
.brand { gap: .7rem; }
.brand__emblem {
  height: 60px;
  width: auto;
  display: block;
  background: #ffffff;
  border-radius: 10px;
  padding: 3px;
}
.brand__word {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: .01em;
}
.brand__word small {
  display: block;
  font-family: var(--font);
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #c9a24a;
  margin-top: 3px;
  max-width: 28ch;
  line-height: 1.3;
}
@media (max-width: 760px) {
  .nav { min-height: 92px; }
  .brand__emblem { height: 46px; }
  .brand__word { font-size: 1.2rem; }
  .brand__word small { font-size: .5rem; }
}

/* ---- Über-uns: Story breit + Fakten-Karte schmal ---- */
.about-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: start; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ---- Neues Logo (dunkles Banner) ---- */
.site-footer { background: #08223b; }
.brand__logo-new { height: 104px; width: auto; display: block; }   /* seit 21.09.2026, vorher 88px */
.footer-logo { width: 100%; max-width: 620px; height: auto; display: block; }
.footer-brand { grid-column: 1 / -1; margin-bottom: 1.4rem; }
@media (max-width: 760px) { .brand__logo-new { height: 72px; } }   /* vorher 64px */

/* ---- Portrait auf „Über uns" ---- */
.about-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow-lg);
}

/* ---- Dezenter Privatkunden-Hinweis (Startseite) ---- */
.privat-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem 2.2rem;
  flex-wrap: wrap;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 16px;
  padding: clamp(1.4rem, 1rem + 1.6vw, 2.1rem) clamp(1.5rem, 1rem + 2vw, 2.4rem);
  box-shadow: var(--shadow-md);
}
.privat-note__text { flex: 1 1 22rem; }
.privat-note h2 { font-size: clamp(1.2rem, 1.05rem + .8vw, 1.55rem); margin: .15rem 0 .4rem; }
.privat-note p { margin: 0; color: var(--muted); max-width: 64ch; }
.privat-note .btn { flex: 0 0 auto; }
@media (max-width: 620px) { .privat-note .btn { width: 100%; } }

/* ---- Auswahl-/Willkommensseite (Startseite index.html) ---- */
.chooser {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(1.6rem, 1rem + 3vw, 3.2rem) 1.25rem;
  background:
    radial-gradient(1200px 560px at 82% -12%, rgba(111,208,191,.16), transparent 60%),
    radial-gradient(1000px 520px at 6% 114%, rgba(142,197,240,.12), transparent 60%),
    #08223b;
}
.chooser-inner { width: min(100%, 1000px); text-align: center; }
.chooser-logo { margin: 0 auto 1.6rem; height: clamp(96px, 72px + 5vw, 150px); }
.chooser-head h1 { font-size: clamp(1.8rem, 1.35rem + 2.2vw, 2.75rem); margin: 0 0 .55rem; }
.chooser-head p { color: var(--muted); max-width: 52ch; margin: 0 auto 2rem; font-size: 1.06rem; }
.chooser-head p strong { color: #eaf1fa; }

.chooser-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.9rem, .6rem + 1vw, 1.3rem); }
.chooser-tile--wide { grid-column: 1 / -1; }
.chooser-tile {
  position: relative;
  display: flex;
  align-items: center;
  gap: clamp(1rem, .7rem + 1vw, 1.4rem);
  padding: clamp(1.15rem, .9rem + 1vw, 1.6rem) clamp(1.2rem, .9rem + 1.2vw, 1.8rem);
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.10);
  border-left: 3px solid var(--accent, #6fd0bf);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  color: var(--ink);
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.chooser-tile:hover {
  transform: translateY(-3px);
  background: #17406e;
  box-shadow: 0 22px 50px rgba(0,0,0,.42), 0 0 0 1px var(--accent-line, rgba(111,208,191,.42));
  text-decoration: none;
}
.chooser-icon {
  flex: none;
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--accent-soft, rgba(111,208,191,.15));
  color: var(--accent, #6fd0bf);
}
.chooser-icon svg { width: 30px; height: 30px; }
.chooser-tile-body { flex: 1 1 auto; min-width: 0; }
.chooser-tile-title {
  display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
  font-family: var(--font-head); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  color: #ffffff; margin-bottom: .25rem;
}
.chooser-tile-text { color: var(--muted); font-size: .98rem; line-height: 1.5; }
.chooser-arrow { flex: none; color: var(--accent, #6fd0bf); font-size: 1.6rem; line-height: 1; transition: transform .18s ease; }
.chooser-tile:hover .chooser-arrow { transform: translateX(5px); }
.chooser-badge {
  font-size: .64rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
  font-family: var(--font);
  background: var(--accent-soft, rgba(111,208,191,.15)); color: var(--accent, #6fd0bf);
  border: 1px solid var(--accent-line, rgba(111,208,191,.42));
  padding: .2rem .55rem; border-radius: 999px;
}
.chooser-note { margin: 1.8rem 0 0; color: var(--muted); }
.chooser-footer { margin-top: 2.2rem; display: flex; gap: 1.4rem; flex-wrap: wrap; justify-content: center; }
.chooser-footer a { color: var(--muted); font-size: .92rem; }
.chooser-footer a:hover { color: #8ec5f0; }
@media (max-width: 680px) {
  .chooser-grid { grid-template-columns: 1fr; }
  .chooser-tile { gap: 1rem; }
  .chooser-arrow { display: none; }
}

/* ---- „Zurück"-Button (oben links, per JS eingefügt) ---- */
.back-bar { padding-top: 1.1rem; }
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .5rem 1rem;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
  font-size: .92rem;
  line-height: 1;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.back-btn:hover { background: rgba(255,255,255,.06); border-color: #6fd0bf; color: #ffffff; }
.back-btn span { font-size: 1.15em; line-height: 1; }

/* ---- Beamtenanwärter-Kachel (Öffentlicher Dienst) ---- */
.anwaerter-card {
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.10);
  border-left: 4px solid #d9b25a;
  border-radius: 18px;
  padding: clamp(1.6rem, 1.1rem + 2.2vw, 2.8rem);
  box-shadow: var(--shadow-lg);
}
.anwaerter-card .eyebrow { color: #d9b25a; }
.anwaerter-card h2 { margin-top: .35rem; font-size: clamp(1.8rem, 1.4rem + 1.9vw, 2.5rem); line-height: 1.2; }
.anwaerter-card .lead { max-width: 66ch; }

/* ---- Partner-Logo in der Fußzeile ---- */
.footer-partner { margin-top: 1.5rem; }
.footer-partner__label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: .55rem; }
.footer-partner__logo {
  display: block;
  width: 100%;
  max-width: 210px;
  height: auto;
  background: #ffffff;
  padding: .55rem .8rem;
  border-radius: 10px;
}

/* ---- Top-Bar mit Partner-Logo (Kopfzeile, über der Navigation) ---- */
.topbar {
  background: #061a2e;
  border-bottom: 1px solid var(--line);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: .7rem;
  min-height: 42px;
  padding: .3rem 0;
}
.topbar__label {
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .01em;
}
.topbar__partner { display: inline-flex; line-height: 0; }
.topbar__partner img {
  height: 26px;
  width: auto;
  display: block;
  background: #ffffff;
  padding: .25rem .5rem;
  border-radius: 6px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.topbar__partner:hover img {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,.35);
}
@media (max-width: 480px) { .topbar__label { display: none; } }

/* ---- Partner-Block (Über uns) ---- */
.partner-block {
  display: grid;
  grid-template-columns: minmax(180px, 240px) 1fr;
  gap: clamp(1.5rem, 1rem + 2.5vw, 3rem);
  align-items: center;
  background: var(--surface);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  padding: clamp(1.6rem, 1.1rem + 2vw, 2.6rem);
  box-shadow: var(--shadow-md);
}
.partner-block__logo img {
  display: block;
  width: 100%;
  height: auto;
  background: #ffffff;
  padding: 1rem 1.2rem;
  border-radius: 12px;
}
.partner-block__text p:first-child { margin-top: 0; }
.partner-block__text .btn { margin-top: 1.1rem; }
@media (max-width: 700px) {
  .partner-block { grid-template-columns: 1fr; }
  .partner-block__logo img { max-width: 260px; }
}

/* ---- Auswahl- & Datei-Upload-Feld (Schadenmeldung) ---- */
.field select {
  width: 100%;
  padding: .8rem .9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  color: var(--ink);
  background: #0b2440;
}
.field select:focus {
  outline: none;
  border-color: #6fd0bf;
  box-shadow: 0 0 0 3px rgba(111,208,191,.25);
}
.field input[type="file"] {
  width: 100%;
  padding: .7rem .9rem;
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm);
  background: #0b2440;
  color: var(--ink);
  cursor: pointer;
}
.field input[type="file"]::file-selector-button {
  margin-right: .8rem;
  padding: .5rem .9rem;
  border: 0;
  border-radius: 8px;
  background: var(--accent-500);
  color: #fff;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.field input[type="file"]::file-selector-button:hover { background: var(--accent-600); }
/* ---- Schaden-melden-Link in der Topbar ---- */
.topbar__report {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-right: auto;
  font-size: .8rem;
  font-weight: 600;
  color: #f3c98b;
  letter-spacing: .01em;
}
.topbar__report svg { width: 15px; height: 15px; flex: none; }
.topbar__report:hover { color: #ffd9a0; text-decoration: none; }

/* ---- Cookie-/Consent-Banner (Opt-in) ---- */
.consent {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: clamp(.8rem, .5rem + 1vw, 1.25rem);
  pointer-events: none;               /* nur die Box selbst ist klickbar */
}
.consent[hidden] { display: none; }
.consent__box {
  pointer-events: auto;
  width: min(100%, 640px);
  background: var(--surface);
  color: var(--ink);
  border: 1px solid rgba(255,255,255,.12);
  border-top: 3px solid #d9b25a;
  border-radius: 16px;
  box-shadow: 0 26px 60px rgba(0,0,0,.5);
  padding: clamp(1.2rem, 1rem + 1vw, 1.6rem);
}
.consent__title {
  display: block;
  font-family: var(--font-head);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: .4rem;
}
.consent__text { margin: 0 0 1rem; font-size: .95rem; color: var(--muted); }
.consent__text a { color: #8ec5f0; text-decoration: underline; }
.consent__options {
  display: grid;
  gap: .7rem;
  margin: 0 0 1.1rem;
  padding: 1rem;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
}
.consent__opt {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  font-size: .92rem;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
}
.consent__opt--fixed { color: var(--muted); cursor: default; }
.consent__opt input {
  flex: none;
  width: 18px; height: 18px;
  margin-top: .15rem;
  accent-color: #6fd0bf;
}
.consent__opt strong { color: #eaf1fa; }
.consent__actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.consent__actions .btn { flex: 1 1 auto; }
.consent__more {
  display: inline-block;
  margin-top: .9rem;
  padding: .3rem .1rem;
  background: none;
  border: 0;
  color: #8ec5f0;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.consent__more:hover { color: #b9dbf6; }
.consent-reopen { cursor: pointer; }
@media (max-width: 560px) {
  .consent__actions .btn { flex-basis: 100%; }
}
/* SOCIAL MEDIA (Facebook/Instagram) ------------------------- */
/* Reine Links, kein eingebetteter Inhalt -> keine Daten an Meta beim Seitenaufruf */
.footer-social a { display: inline-flex; align-items: center; gap: .55rem; }
.footer-social svg { width: 18px; height: 18px; flex-shrink: 0; }
.social-links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.social-links a { display: inline-flex; align-items: center; gap: .45rem; }
.social-links svg { width: 18px; height: 18px; flex-shrink: 0; }
.chooser-social { margin-top: 1.6rem; justify-content: center; }
.chooser-social a { color: var(--muted); font-size: .92rem; }
.chooser-social a:hover { color: #8ec5f0; }

/* SOCIAL IN TOPBAR (rechts oben, auf allen Unterseiten) ----- */
.topbar__social { display: inline-flex; align-items: center; gap: .35rem; }
.topbar__social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; border-radius: 50%;
  color: #b9c9dc; border: 1px solid rgba(255,255,255,.14);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.topbar__social a:hover { color: #fff; border-color: rgba(255,255,255,.4); background: rgba(255,255,255,.06); text-decoration: none; }
.topbar__social svg { width: 16px; height: 16px; }

/* ============================================================
   15) FAQ – aufklappbare Fragen & Antworten (z. B. anwartschaft.html)
   ============================================================ */
.faq { display: grid; gap: .8rem; }
.faq details {
  background: var(--surface); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius); padding: 0 1.3rem;
}
.faq details[open] { border-color: rgba(111,208,191,.45); }
.faq summary {
  cursor: pointer; list-style: none; position: relative;
  padding: 1.1rem 2rem 1.1rem 0; font-weight: 600; color: #eaf1fa;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.4rem; line-height: 1; color: #6fd0bf;
}
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 2px solid #6fd0bf; outline-offset: 4px; border-radius: 4px; }
.faq details p { color: var(--muted); padding-bottom: 1.1rem; margin: 0; }
