/* ==========================================================================
   Bilal Erkin – Vom Landgericht Hannover ermächtigter Übersetzer
   styles.css – gemeinsames Stylesheet für alle Seiten
   --------------------------------------------------------------------------
   01 Design-Tokens      06 Header / Navigation   11 Preise
   02 Reset & Basis      07 Hero                  12 FAQ-Accordion
   03 Layout             08 Trust-Leiste          13 Formular
   04 Typografie         09 Karten & Doc-Boxen    14 Footer
   05 Buttons & Badges   10 Ablauf / Timeline     15 Utilities & Animation
   ========================================================================== */

/* == 01 Design-Tokens ===================================================== */
:root {
  /* --- Flächen --------------------------------------------------------- */
  --color-bg:            #FFFFFF;
  --color-bg-alt:        #F1FAFB;   /* frischer, leicht türkiser Grundton   */
  --color-border:        #D6E4E8;

  /* --- Text ------------------------------------------------------------ */
  --color-text:          #10242E;   /* 15,8:1 auf Weiß                      */
  --color-text-muted:    #4A5D6A;   /*  6,9:1 auf Weiß  ✔ AA               */

  /* --- Marke: Türkis --------------------------------------------------- *
     Zwei Rollen, weil ein leuchtendes Türkis auf Weiß keine 4,5:1 erreicht:
       accent        = Flächen, Icons, Rahmen, Deko  (nie kleiner Text)
       accent-strong = Buttons, Links, Text          (5,2:1  ✔ AA)          */
  --color-accent:        #0FB9CE;
  --color-accent-strong: #00778A;
  --color-accent-deep:   #005E6E;   /* Hover                                */
  --color-accent-light:  #DFF6FA;
  --color-accent-tint:   #B6EAF2;

  /* --- Sekundärfarbe: Orange ------------------------------------------ *
     Komplementär zum Türkis. Trägt die aktiven Zustände: Haupt-CTA,
     Link-Hover, Button-Hover, Akzentkanten. Gleiche Zwei-Rollen-Logik:
       secondary        = Flächen, Kanten, Icons  (nie kleiner Text)
       secondary-strong = Buttons, Links, Text    (5,1:1  ✔ AA)            */
  --color-secondary:        #FF7A45;
  --color-secondary-strong: #C2410C;
  --color-secondary-deep:   #9A3412;   /* Hover, 8,4:1  ✔ AAA             */
  --color-secondary-light:  #FFEDE3;

  /* Altnamen als Alias, damit bestehende Klassen weiterlaufen */
  --color-warm:          var(--color-secondary);
  --color-warm-text:     var(--color-secondary-strong);
  --color-warm-light:    var(--color-secondary-light);

  /* --- Dunkle Flächen (Hero, Footer, CTA) ------------------------------ *
     Auf diesen Flächen NIE graue Schrift verwenden – nur die on-ink-Töne.  */
  --color-ink:           #0B2B33;
  --color-ink-soft:      #103A45;
  --color-on-ink:        #E6F6F9;   /* 13,4:1 auf --color-ink  ✔ AAA       */
  --color-on-ink-muted:  #A8CDD6;   /*  8,8:1 auf --color-ink  ✔ AAA       */

  --color-danger:        #B42318;
  --color-focus:         #00778A;

  /* --- Typografie ------------------------------------------------------ */
  /* IBM Plex Serif: moderne, klare Serif – bewusst in 400/500 statt fett,
     damit die Überschriften luftig wirken und nicht massig. */
  --font-heading: "IBM Plex Serif", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   clamp(1.125rem, 0.4vw + 1.05rem, 1.28rem);
  --fs-h4:   clamp(1.15rem, 0.5vw + 1rem, 1.35rem);
  --fs-h3:   clamp(1.3rem, 0.8vw + 1.1rem, 1.65rem);
  --fs-h2:   clamp(1.7rem, 1.8vw + 1.15rem, 2.6rem);
  --fs-h1:   clamp(2.1rem, 3.2vw + 1.15rem, 3.6rem);

  /* --- Abstände & Form ------------------------------------------------- */
  --space-1: 0.25rem; --space-2: 0.5rem;  --space-3: 0.75rem;
  --space-4: 1rem;    --space-5: 1.5rem;  --space-6: 2rem;
  --space-7: 3rem;    --space-8: 4rem;

  --radius:      14px;
  --radius-sm:   9px;
  --radius-lg:   22px;
  --radius-pill: 999px;

  --shadow:    0 4px 24px rgba(15, 185, 206, 0.10);
  --shadow-md: 0 10px 34px rgba(16, 36, 46, 0.09);
  --shadow-lg: 0 24px 60px rgba(16, 36, 46, 0.16);

  --container: 1160px;
  --container-narrow: 760px;
  --header-h: 78px;

  --transition: 200ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* == 02 Reset & Basis ===================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }
/* Auf dunklen Flächen muss der Fokusring hell sein, sonst unsichtbar */
.hero :focus-visible,
.cta-band :focus-visible,
.site-footer :focus-visible { outline-color: #FFFFFF; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--color-accent-strong);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; }

::selection { background: var(--color-accent-tint); color: var(--color-text); }

/* == 03 Layout ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.section--alt   { background: var(--color-bg-alt); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }

/* Dezentes Punktraster als Hintergrundtextur */
.section--pattern {
  background-color: var(--color-bg-alt);
  background-image: radial-gradient(circle at 1px 1px, rgba(15, 185, 206, 0.22) 1px, transparent 0);
  background-size: 26px 26px;
}

.section__head {
  max-width: 44rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}
.section__head--center { margin-inline: auto; text-align: center; }

.grid { display: grid; gap: clamp(1rem, 2.2vw, 1.6rem); }
.grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }

@media (min-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}

/* == 04 Typografie ======================================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-text);
  line-height: 1.2;
  letter-spacing: -0.005em;
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}
/* Leichte Gewichte – die Serif trägt den Charakter, nicht die Strichstärke */
h1 { font-size: var(--fs-h1); font-weight: 400; letter-spacing: -0.012em; }
h2 { font-size: var(--fs-h2); font-weight: 400; }
h3 { font-size: var(--fs-h3); font-weight: 500; }
h4 { font-size: var(--fs-h4); font-weight: 500; line-height: 1.35; }

p { margin: 0 0 var(--space-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

a {
  color: var(--color-accent-strong);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--transition);
}
/* Sekundärfarbe trägt den Hover-Zustand */
a:hover { color: var(--color-secondary-strong); }

strong, b { font-weight: 650; }

.lead {
  font-size: var(--fs-lg);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Kicker über der Überschrift – bewusst ohne Strich/Linie davor */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent-strong);
  margin: 0 0 var(--space-3);
}

.muted { color: var(--color-text-muted); }
.small { font-size: var(--fs-sm); }

/* Häkchen-Liste */
.list-check {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
  display: grid;
  gap: 0.55rem;
}
.list-check li { position: relative; padding-left: 1.9rem; }
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--color-accent-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2300778A' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 0.72rem no-repeat;
}

/* Kompakte Dokumentliste – Punkt statt Häkchen, für lange Aufzählungen */
.list-docs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
  font-size: var(--fs-sm);
}
.list-docs li { position: relative; padding-left: 1.1rem; line-height: 1.5; }
.list-docs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* Nummerierte Schrittliste */
.list-steps {
  list-style: none;
  margin: 0 0 var(--space-5);
  padding: 0;
  display: grid;
  gap: 0.65rem;
  counter-reset: liststep;
}
.list-steps li { position: relative; padding-left: 2.3rem; counter-increment: liststep; }
.list-steps li::before {
  content: counter(liststep);
  position: absolute;
  left: 0;
  top: 0.24em;
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border-radius: 50%;
  background: var(--color-accent-light);
  color: var(--color-accent-strong);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
}

/* Türkische Originalbezeichnung in Klammern */
.tr {
  color: var(--color-text-muted);
  font-style: normal;
}
.tr::before { content: " ("; }
.tr::after  { content: ")"; }

/* == 05 Buttons & Badges ================================================== */
.btn {
  --btn-bg: var(--color-accent-strong);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 2px solid var(--btn-bg);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition),
              border-color var(--transition), box-shadow var(--transition), color var(--transition);
  white-space: nowrap;
}
.btn:hover {
  --btn-bg: var(--color-secondary-strong);
  --btn-fg: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(194, 65, 12, 0.30);
}
.btn:active { transform: translateY(0); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--color-accent-strong);
  border-color: var(--color-accent-tint);
}
.btn--outline:hover {
  --btn-bg: var(--color-secondary-light);
  --btn-fg: var(--color-secondary-deep);
  border-color: var(--color-secondary);
  box-shadow: 0 4px 20px rgba(255, 122, 69, 0.18);
}

/* Auf dunklem Grund */
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}
.btn--ghost:hover {
  --btn-bg: #fff;
  --btn-fg: var(--color-secondary-deep);
  border-color: #fff;
}
.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--color-accent-deep);
  border-color: #fff;
}
.btn--light:hover {
  --btn-bg: var(--color-secondary-light);
  --btn-fg: var(--color-secondary-deep);
  border-color: var(--color-secondary-light);
}

.btn--lg { padding: 1.05rem 2rem; font-size: var(--fs-base); }
.btn--block { width: 100%; }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  font-size: var(--fs-xs);
  font-weight: 650;
  color: var(--color-accent-strong);
  background: var(--color-accent-light);
  border: 1px solid var(--color-accent-tint);
  border-radius: var(--radius-pill);
}
.badge--warm {
  color: var(--color-warm-text);
  background: var(--color-warm-light);
  border-color: #F3D9A4;
}
.badge--onink {
  color: var(--color-on-ink);
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.38);
}
.badge-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: var(--space-5); }

/* == 06 Header / Navigation =============================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  transition: background-color var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.site-header--overlay {
  position: fixed;
  inset-inline: 0;
  background: transparent;
  border-bottom-color: transparent;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: var(--color-border);
  box-shadow: 0 2px 18px rgba(16, 36, 46, 0.07);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: var(--header-h);
}

/* Wortmarke – reine Typografie, kein Logo-Kasten */
.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  text-decoration: none;
  color: inherit;
  flex: none;
  line-height: 1.1;
}
.brand__name {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 1.4vw + 1rem, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-text);
}
.brand__role {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--color-accent-strong);
}
.site-header--overlay:not(.is-scrolled) .brand__name { color: #fff; }
.site-header--overlay:not(.is-scrolled) .brand__role { color: var(--color-accent-tint); }

/* Werkzeugleiste rechts im Header: Sprachumschalter + Hamburger.
   Der Umschalter liegt bewusst AUSSERHALB des Mobile-Menüs, damit er auch
   auf dem Handy ohne Aufklappen sofort sichtbar und erreichbar ist. */
.header__tools {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex: none;
}

/* Sprachumschalter DE | TR */
.langswitch {
  display: inline-flex;
  align-items: stretch;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-pill);
  overflow: hidden;
  background: #fff;
}
.langswitch__opt {
  display: grid;
  place-items: center;
  min-width: 2.6rem;
  padding: 0.42rem 0.7rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: background-color var(--transition), color var(--transition);
}
.langswitch__opt + .langswitch__opt { border-left: 1.5px solid var(--color-border); }
.langswitch__opt:hover {
  background: var(--color-secondary-light);
  color: var(--color-secondary-deep);
}
/* Aktive Sprache: gefüllt, damit der Zustand auf einen Blick erkennbar ist */
.langswitch__opt.is-active {
  background: var(--color-accent-strong);
  color: #fff;
  cursor: default;
}
.langswitch__opt.is-active:hover {
  background: var(--color-accent-strong);
  color: #fff;
}

/* Über dem Hero-Foto: heller Rahmen, damit er auf dem Bild sichtbar bleibt */
.site-header--overlay:not(.is-scrolled) .langswitch {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}
.site-header--overlay:not(.is-scrolled) .langswitch__opt { color: #fff; }
.site-header--overlay:not(.is-scrolled) .langswitch__opt + .langswitch__opt {
  border-left-color: rgba(255, 255, 255, 0.5);
}
.site-header--overlay:not(.is-scrolled) .langswitch__opt.is-active {
  background: #fff;
  color: var(--color-accent-deep);
}

/* Zweite Instanz im Footer */
.langswitch--footer {
  margin-top: var(--space-5);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.3);
}
.langswitch--footer .langswitch__opt { color: var(--color-on-ink-muted); }
.langswitch--footer .langswitch__opt + .langswitch__opt { border-left-color: rgba(255, 255, 255, 0.3); }
.langswitch--footer .langswitch__opt.is-active,
.langswitch--footer .langswitch__opt.is-active:hover { background: var(--color-accent); color: var(--color-ink); }
.langswitch--footer .langswitch__opt:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* Hamburger */
.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: var(--color-text);
}
.site-header--overlay:not(.is-scrolled) .nav-toggle {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile-Panel */
.nav {
  position: fixed;
  inset: var(--header-h) 0 auto 0;
  max-height: calc(100dvh - var(--header-h));
  overflow-y: auto;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  padding: var(--space-4) clamp(1rem, 4vw, 2rem) var(--space-6);
  display: none;
}
.nav.is-open { display: block; }

.nav__list { list-style: none; margin: 0 0 var(--space-4); padding: 0; display: grid; gap: 2px; }

.nav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
  width: 100%;
  padding: 0.8rem 0.6rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  background: transparent;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  transition: background-color var(--transition), color var(--transition);
}
.nav__link:hover { background: var(--color-accent-light); color: var(--color-accent-deep); }
.nav__link[aria-current="page"] { color: var(--color-accent-strong); }

.nav__link--sub .chev {
  width: 0.62rem;
  height: 0.62rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--transition);
  flex: none;
}
.nav__link--sub[aria-expanded="true"] .chev { transform: rotate(-135deg) translate(-2px, -2px); }

.subnav { list-style: none; margin: 0; padding: 0 0 0.5rem 0.6rem; display: none; }
.subnav.is-open { display: block; }
.subnav a {
  display: block;
  padding: 0.55rem 0.6rem 0.55rem 0.9rem;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  border-left: 2px solid var(--color-border);
  transition: color var(--transition), border-color var(--transition);
}
.subnav a:hover { color: var(--color-accent-strong); border-left-color: var(--color-accent); }
.subnav .subnav__sep {
  margin: 0.4rem 0;
  border: 0;
  border-top: 1px solid var(--color-border);
}

/* Haupt-Handlungsaufforderung durchgehend in der Sekundärfarbe:
   ein einziger oranger Punkt im türkisen Umfeld zieht den Blick. */
.nav__cta {
  width: 100%;
  --btn-bg: var(--color-secondary-strong);
  border-color: var(--color-secondary-strong);
}
.nav__cta:hover {
  --btn-bg: var(--color-secondary-deep);
  border-color: var(--color-secondary-deep);
  box-shadow: 0 8px 22px rgba(194, 65, 12, 0.32);
}

/* --- Desktop --------------------------------------------------------- */
@media (min-width: 1024px) {
  .nav-toggle { display: none; }

  /* Desktop-Anordnung: Name links, Menü mittig-rechts, Sprachwahl ganz rechts.
     Im Markup steht der Umschalter vor dem Menü, damit er auf dem Handy
     früh in der Tab-Reihenfolge liegt – hier wird nur die Optik gedreht. */
  .brand          { order: 1; }
  .nav            { order: 2; margin-left: auto; }
  .header__tools  { order: 3; }

  .nav {
    position: static;
    display: flex !important;
    align-items: center;
    gap: var(--space-4);
    max-height: none;
    overflow: visible;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
  }
  .nav__list { display: flex; align-items: center; gap: 0.1rem; margin: 0; }
  .nav__item { position: relative; }
  .nav__link {
    padding: 0.5rem 0.8rem;
    font-size: var(--fs-sm);
    border-radius: var(--radius-pill);
  }
  .nav__link[aria-current="page"] { background: var(--color-accent-light); }

  .site-header--overlay:not(.is-scrolled) .nav__link { color: #fff; }
  .site-header--overlay:not(.is-scrolled) .nav__link:hover,
  .site-header--overlay:not(.is-scrolled) .nav__link[aria-current="page"] {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
  }

  /* Dropdown.
     WICHTIG: kein Abstand zwischen Button und Panel – sonst verlässt der
     Mauszeiger dazwischen das Elternelement und das Menü klappt zu.
     Der optische Abstand entsteht über padding-top im Panel selbst. */
  .subnav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 22rem;
    margin: 0;
    padding: 0.6rem 0 0 0;       /* transparente Brücke zum Button */
    background: transparent;
    border: 0;
    display: none;
  }
  .subnav.is-open { display: block; }

  .subnav__panel {
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem;
    list-style: none;
    margin: 0;
  }
  .subnav a {
    border-left: 0;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--color-text);
  }
  .subnav a:hover { background: var(--color-accent-light); color: var(--color-accent-deep); }
  .subnav a small {
    display: block;
    font-size: var(--fs-xs);
    font-weight: 400;
    color: var(--color-text-muted);
    line-height: 1.35;
  }

  .nav__cta { width: auto; }
}

body.nav-open { overflow: hidden; }

/* == 07 Hero ============================================================== */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(88vh, 740px);
  padding-block: calc(var(--header-h) + 2.5rem) clamp(2.5rem, 7vw, 4.5rem);
  background: var(--color-ink);
  color: var(--color-on-ink);
  overflow: hidden;
  isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(102deg, rgba(11, 43, 51, 0.96) 0%, rgba(11, 43, 51, 0.88) 46%, rgba(11, 43, 51, 0.52) 100%),
    radial-gradient(115% 85% at 88% 12%, rgba(15, 185, 206, 0.42) 0%, transparent 62%);
}

.hero__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) { .hero__grid { grid-template-columns: 1.08fr 0.92fr; } }

.hero h1 { color: #fff; margin-bottom: var(--space-4); }
.hero__sub {
  font-size: var(--fs-lg);
  color: var(--color-on-ink);
  max-width: 33rem;
  margin-bottom: var(--space-5);
}
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: var(--fs-sm);
  color: var(--color-on-ink-muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__meta svg { width: 1rem; height: 1rem; color: var(--color-accent); flex: none; }

/* Porträt – eigenes Foto */
.portrait {
  position: relative;
  width: min(100%, 24rem);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(150deg, var(--color-accent) 0%, var(--color-accent-deep) 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.42);
  border: 6px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
}
.portrait img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.portrait__fallback {
  padding: 1rem;
  text-align: center;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}
.portrait--plain { box-shadow: var(--shadow-md); border-color: var(--color-accent-light); }

.portrait-card {
  position: absolute;
  left: 50%;
  bottom: -1.1rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.1rem;
  background: #fff;
  color: var(--color-text);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-xs);
  font-weight: 650;
  white-space: nowrap;
}
.portrait-card svg { width: 1.1rem; height: 1.1rem; color: var(--color-accent-strong); flex: none; }
.portrait-wrap { position: relative; padding-bottom: 1.4rem; }

/* Seitenkopf der Unterseiten */
.page-hero {
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(1.75rem, 3.5vw, 2.5rem);
  background: radial-gradient(85% 120% at 8% 0%, var(--color-accent-light) 0%, transparent 58%), var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.page-hero__inner { max-width: 50rem; }

.breadcrumb { font-size: var(--fs-xs); color: var(--color-text-muted); margin-bottom: var(--space-4); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 0.4rem; color: var(--color-border); }
.breadcrumb a { color: var(--color-text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-accent-strong); text-decoration: underline; }

/* == 08 Trust-Leiste ====================================================== */
.trustbar {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding-block: clamp(1.4rem, 3vw, 2rem);
}
.trustbar__grid { display: grid; gap: var(--space-4); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 900px) { .trustbar__grid { grid-template-columns: repeat(4, 1fr); } }

.trust-item { display: flex; align-items: center; gap: 0.75rem; font-size: var(--fs-sm); font-weight: 600; line-height: 1.3; }
.trust-item__icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  flex: none;
  border-radius: var(--radius-sm);
  background: var(--color-accent-light);
  color: var(--color-accent-strong);
}
.trust-item__icon svg { width: 1.3rem; height: 1.3rem; }
.trust-item small { display: block; font-weight: 400; font-size: var(--fs-xs); color: var(--color-text-muted); }

/* == 09 Karten & Dokument-Boxen =========================================== */
.card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--color-secondary);
  box-shadow: var(--shadow-md);
}
.card__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.25rem, 2.4vw, 1.7rem); }
.card__icon {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  margin-bottom: var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--color-accent-light);
  color: var(--color-accent-strong);
}
.card__icon svg { width: 1.45rem; height: 1.45rem; }
.card h3 { margin-bottom: 0.55rem; }
.card p { color: var(--color-text-muted); font-size: var(--fs-sm); }
.card__link {
  margin-top: auto;
  padding-top: var(--space-4);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--fs-sm);
  font-weight: 650;
  text-decoration: none;
  align-self: flex-start;
}
.card__link svg { width: 1em; height: 1em; transition: transform var(--transition); }
.card__link:hover { color: var(--color-secondary-strong); }
.card__link:hover svg { transform: translateX(3px); }
.card--link { position: relative; }
.card--link .card__link::after { content: ""; position: absolute; inset: 0; }

/* Dokumenttyp-Kasten mit Aufzählung (Startseite) */
.doc-box {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: clamp(1.3rem, 2.4vw, 1.75rem);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-top: 3px solid var(--color-accent);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.doc-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-top-color: var(--color-secondary);
  border-color: var(--color-secondary-light);
  border-top-color: var(--color-secondary);
}
.doc-box:nth-child(even) { border-top-color: var(--color-secondary); }
.doc-box:nth-child(even):hover { border-top-color: var(--color-accent); }
.doc-box h3 { font-size: var(--fs-h4); margin-bottom: 0.85rem; }
.doc-box .list-docs { margin-bottom: var(--space-4); }
.doc-box__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--fs-sm);
  font-weight: 650;
  text-decoration: none;
  align-self: flex-start;
}
.doc-box__link::after { content: ""; position: absolute; inset: 0; }
.doc-box__link svg { width: 1em; height: 1em; transition: transform var(--transition); }
.doc-box:hover .doc-box__link svg { transform: translateX(3px); }

.feature {
  padding: clamp(1.2rem, 2.4vw, 1.6rem);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  height: 100%;
}
.feature h3 { font-size: var(--fs-h4); }
.feature p { color: var(--color-text-muted); font-size: var(--fs-sm); margin-bottom: 0; }

/* Hinweiskasten */
.factbox {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius);
  padding: clamp(1.05rem, 2.2vw, 1.5rem);
  margin-block: var(--space-5);
}
.factbox h3, .factbox h4 { margin-bottom: 0.45rem; font-size: var(--fs-h4); }
.factbox p:last-child { margin-bottom: 0; }
.factbox--accent { background: var(--color-accent-light); border-color: var(--color-accent-tint); border-left-color: var(--color-accent-strong); }
.factbox--warm   { background: var(--color-warm-light); border-color: #F3D9A4; border-left-color: var(--color-warm); }

/* Definitionsliste */
.spec {
  display: grid;
  margin: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg);
}
.spec__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem;
  padding: 0.8rem 1.05rem;
  border-bottom: 1px solid var(--color-border);
}
.spec__row:last-child { border-bottom: 0; }
@media (min-width: 560px) { .spec__row { grid-template-columns: 10.5rem 1fr; gap: 1rem; align-items: baseline; } }
.spec__row dt { font-weight: 650; font-size: var(--fs-sm); margin: 0; }
.spec__row dd { margin: 0; font-size: var(--fs-sm); color: var(--color-text-muted); }

/* Split-Layout */
.split { display: grid; gap: clamp(2rem, 4.5vw, 3.5rem); align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--media-right .split__media { order: 2; }
  .split--wide-text { grid-template-columns: 1.1fr 0.9fr; }
}
.split--start { align-items: start; }
.split__media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }

/* CTA-Band */
.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--color-accent-deep) 0%, var(--color-ink-soft) 65%, var(--color-ink) 100%);
  color: var(--color-on-ink);
  border-radius: var(--radius-lg);
  padding: clamp(1.9rem, 4.5vw, 3.25rem);
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.16) 1px, transparent 0);
  background-size: 24px 24px;
}
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: var(--color-on-ink); max-width: 40rem; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: var(--space-5); }

/* == 10 Ablauf / Timeline ================================================= */
.steps { display: grid; gap: var(--space-5); counter-reset: step; position: relative; }
@media (min-width: 900px) {
  .steps--3 { grid-template-columns: repeat(3, 1fr); gap: var(--space-6); }
  .steps--3::before {
    content: "";
    position: absolute;
    top: 1.65rem;
    left: 16%;
    right: 16%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-accent-tint) 100%);
  }
}
.step { position: relative; padding-left: 4rem; }
@media (min-width: 900px) { .step { padding-left: 0; text-align: center; } }
.step__num {
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 3.3rem;
  height: 3.3rem;
  border-radius: 50%;
  background: var(--color-bg);
  border: 2px solid var(--color-accent);
  color: var(--color-accent-strong);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
}
.step__num::before { content: counter(step); }
.step:nth-child(2) .step__num { border-color: var(--color-secondary); color: var(--color-secondary-strong); }
@media (min-width: 900px) { .step__num { position: static; margin: 0 auto var(--space-4); } }
.step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 1.65rem;
  top: 3.55rem;
  bottom: -1.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--color-accent) 0%, var(--color-accent-tint) 100%);
}
@media (min-width: 900px) { .step:not(:last-child)::before { display: none; } }
.step h3 { font-size: var(--fs-h4); margin-bottom: 0.4rem; }
.step p { color: var(--color-text-muted); font-size: var(--fs-sm); margin-bottom: 0; }

/* == 11 Preise ============================================================ */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  -webkit-overflow-scrolling: touch;
}
table.data { width: 100%; border-collapse: collapse; min-width: 30rem; font-size: var(--fs-sm); }
table.data caption {
  caption-side: bottom;
  padding: 0.8rem 1.05rem;
  font-size: var(--fs-xs);
  color: var(--color-text-muted);
  text-align: left;
}
table.data th, table.data td { padding: 0.8rem 1.05rem; text-align: left; border-bottom: 1px solid var(--color-border); }
table.data thead th {
  background: var(--color-bg-alt);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
table.data tbody tr:last-child td { border-bottom: 0; }
table.data tbody tr:hover { background: var(--color-accent-light); }

.price-hero {
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  background: var(--color-accent-light);
  border: 1px solid var(--color-accent-tint);
  border-radius: var(--radius-lg);
}
.price-hero__value {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--color-accent-deep);
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0.4rem 0 0.5rem;
}
.price-hero__note { font-size: var(--fs-sm); color: var(--color-text-muted); margin: 0; }

.price-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.4rem, 2.8vw, 1.9rem);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  height: 100%;
}
.price-card h3 { font-size: var(--fs-h4); }
.price-card p { font-size: var(--fs-sm); color: var(--color-text-muted); }

/* == 12 FAQ-Accordion ===================================================== */
.faq { display: grid; gap: 0.7rem; max-width: 46rem; }
.faq--wide { max-width: none; }

.faq__item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.faq__item:has(.faq__q[aria-expanded="true"]) { border-color: var(--color-accent); box-shadow: var(--shadow); }

.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 1rem 1.2rem;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.06rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-text);
  transition: color var(--transition), background-color var(--transition);
}
.faq__q:hover { color: var(--color-accent-deep); background: var(--color-bg-alt); }

.faq__icon {
  position: relative;
  flex: none;
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0.2rem;
  border-radius: 50%;
  background: var(--color-accent-light);
  transition: background-color var(--transition), transform var(--transition);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.68rem;
  height: 2px;
  background: var(--color-accent-strong);
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform var(--transition), opacity var(--transition);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq__q[aria-expanded="true"] .faq__icon { background: var(--color-accent-strong); transform: rotate(180deg); }
.faq__q[aria-expanded="true"] .faq__icon::before,
.faq__q[aria-expanded="true"] .faq__icon::after { background: #fff; }
.faq__q[aria-expanded="true"] .faq__icon::after { opacity: 0; }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms cubic-bezier(0.4, 0, 0.2, 1);
}
.faq__a[data-open="true"] { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p, .faq__a ul {
  margin: 0 1.2rem 1.2rem;
  color: var(--color-text-muted);
  font-size: var(--fs-sm);
}
.faq__a p + p { margin-top: 0.7rem; }

/* == 13 Formular ========================================================== */
.form { display: grid; gap: var(--space-4); }
.form__row { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 560px) { .form__row--2 { grid-template-columns: 1fr 1fr; } }

.field { display: grid; gap: 0.35rem; }
.field label { font-size: var(--fs-sm); font-weight: 650; }
.field .req { color: var(--color-danger); }
.field__hint { font-size: var(--fs-xs); color: var(--color-text-muted); }

.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: var(--fs-sm);
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field textarea { min-height: 8rem; resize: vertical; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234A5D6A' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 1.05rem;
  padding-right: 2.5rem;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(15, 185, 206, 0.2);
  outline: none;
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.1);
}
.field__error { font-size: var(--fs-xs); font-weight: 600; color: var(--color-danger); min-height: 1em; }

.checkbox {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.65rem;
  align-items: start;
  font-size: var(--fs-sm);
  color: var(--color-text-muted);
}
.checkbox input { width: 1.15rem; height: 1.15rem; margin-top: 0.25rem; accent-color: var(--color-accent-strong); }

.form-status { padding: 0.9rem 1.1rem; border-radius: var(--radius-sm); font-size: var(--fs-sm); font-weight: 600; display: none; }
.form-status.is-visible { display: block; }
.form-status--ok  { background: #E4F6EF; color: #0C5540; border: 1px solid #9FD8C3; }
.form-status--err { background: #FEF3F2; color: #912018; border: 1px solid #FDA29B; }

/* Kontaktdaten */
.contact-list { list-style: none; margin: 0 0 var(--space-5); padding: 0; display: grid; gap: var(--space-4); }
.contact-list li { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-list .ci {
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: none;
  border-radius: var(--radius-sm);
  background: var(--color-accent-light);
  color: var(--color-accent-strong);
}
.contact-list .ci svg { width: 1.15rem; height: 1.15rem; }
.contact-list strong { display: block; font-size: var(--fs-xs); color: var(--color-text-muted); font-weight: 600; }
.contact-list a { font-size: var(--fs-base); font-weight: 650; text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* == 14 Footer ============================================================ */
.site-footer {
  background: var(--color-ink);
  color: var(--color-on-ink-muted);
  padding-block: clamp(2.25rem, 5vw, 3.5rem) 1.75rem;
  font-size: var(--fs-sm);
}
.footer__grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
  padding-bottom: var(--space-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
@media (min-width: 720px)  { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

.site-footer h2 {
  color: #fff;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-4);
}
.site-footer a { color: var(--color-on-ink-muted); text-decoration: none; }
.site-footer a:hover { color: var(--color-secondary); text-decoration: underline; }
.footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__role { color: var(--color-accent-tint); }
.footer__brand p { margin-top: var(--space-4); max-width: 26rem; color: var(--color-on-ink-muted); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3) var(--space-5);
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-5);
  font-size: var(--fs-xs);
  color: var(--color-on-ink-muted);
}
.footer__legal { display: flex; flex-wrap: wrap; gap: var(--space-4); }

/* == 15 Utilities & Animation ============================================= */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-5 { margin-top: var(--space-5); }
.mt-6 { margin-top: var(--space-6); }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms cubic-bezier(0.16, 1, 0.3, 1), transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }

/* --- WhatsApp ---------------------------------------------------------- *
   Eigene Markenfarbe, aber in einer AA-tauglichen Abdunklung:
   #128C7E ergibt mit weißer Schrift 4,6:1. */
.btn--wa {
  --btn-bg: #128C7E;
  --btn-fg: #fff;
  border-color: #128C7E;
}
.btn--wa:hover {
  --btn-bg: #0C6B60;
  --btn-fg: #fff;
  border-color: #0C6B60;
  box-shadow: 0 8px 22px rgba(18, 140, 126, 0.32);
}
.btn--wa svg { width: 1.25em; height: 1.25em; }

/* Textlink im Footer */
.wa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 650;
}
.wa-link svg { width: 1.15rem; height: 1.15rem; flex: none; }

/* Schwebender Direktdraht, sitzt über dem Zurück-nach-oben-Knopf */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 4.6rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  background: #128C7E;
  color: #fff;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), background-color var(--transition);
}
.wa-float:hover {
  background: #0C6B60;
  color: #fff;
  transform: scale(1.06);
}
.wa-float svg { width: 1.8rem; height: 1.8rem; }

.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: var(--color-accent-strong);
  color: #fff;
  border: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  box-shadow: var(--shadow-md);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition), background-color var(--transition);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--color-secondary-strong); }
.to-top svg { width: 1.15rem; height: 1.15rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  :root { --color-text-muted: #33434F; --color-border: #A9BEC6; }
}

@media print {
  .site-header, .site-footer, .to-top, .nav, .cta-band { display: none !important; }
  body { color: #000; font-size: 11pt; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #444; }
  .section { padding-block: 1rem; }
}
