@charset "UTF-8";
/* ==========================================================================
   CareBridge — carebridge.lu
   Stylesheet, handgeschrieben, kein Framework.
   Aufbau: 1 Fonts · 2 Tokens · 3 Basis · 4 Layout · 5 Typo · 6 Komponenten
           7 Sektionen · 8 Formulare · 9 Responsive · 10 Reduced Motion
   ========================================================================== */

/* ---------- 1 Fonts (selbst gehostet, kein CDN — DSGVO) ------------------ */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-standard-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin-ext-standard-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/source-sans-3-latin-ext-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191,
    U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- 2 Tokens ----------------------------------------------------- */

:root {
  /* Farbe */
  --navy:       #0F172A;
  --navy-800:   #16223A;
  --navy-700:   #1E293B;
  --navy-600:   #334155;
  --slate-600:  #475569;
  --slate-500:  #64748B;
  --slate-400:  #94A3B8;
  --slate-200:  #E2E8F0;
  --slate-100:  #F1F5F9;
  --slate-50:   #F8FAFC;
  --emerald:    #10B981;
  --emerald-700:#047857;
  --emerald-50: #ECFDF5;
  --sky:        #0EA5E9;
  --amber:      #B45309;
  --amber-50:   #FFFBEB;
  --white:      #FFFFFF;

  --ink:        var(--navy);
  --ink-muted:  var(--slate-500);
  --line:       var(--slate-200);
  --line-dark:  rgba(255,255,255,.13);

  /* Schrift */
  --display: "Archivo", "Segoe UI", system-ui, sans-serif;
  --body:    "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Raster */
  --shell:   1180px;
  --shell-narrow: 780px;
  --gutter:  clamp(20px, 4vw, 44px);
  --band:    clamp(64px, 8vw, 116px);

  /* Form */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 4px 12px rgba(15,23,42,.05);
  --shadow-md: 0 2px 6px rgba(15,23,42,.07), 0 18px 42px rgba(15,23,42,.09);
}

/* ---------- 3 Basis ------------------------------------------------------ */

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a { color: inherit; }

::selection { background: var(--emerald); color: var(--white); }

:focus-visible {
  outline: 3px solid var(--emerald);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--white); color: var(--navy);
  padding: 12px 20px; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- 4 Layout ----------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.shell-narrow { max-width: var(--shell-narrow); }

.band { padding-block: var(--band); }
.band-tight { padding-block: clamp(44px, 5.5vw, 72px); }
.band-slate { background: var(--slate-50); }
.band-line  { border-top: 1px solid var(--line); }
.band-navy  { background: var(--navy); color: rgba(255,255,255,.78); }
.band-navy h2, .band-navy h3, .band-navy strong { color: var(--white); }

.grid { display: grid; gap: clamp(24px, 3vw, 40px); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.split-text { max-width: 34rem; }

.stack > * + * { margin-top: 1.1em; }

/* ---------- 5 Typografie ------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-variation-settings: "wdth" 92, "wght" 580;
  color: var(--navy);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -.012em;
  text-wrap: balance;
}

.h-display {
  font-size: clamp(2.5rem, 1.5rem + 3.5vw, 4.4rem);
  font-variation-settings: "wdth" 88, "wght" 600;
  line-height: 1.02;
  letter-spacing: -.025em;
}
.h-display em {
  font-style: normal;
  color: var(--emerald);
  font-variation-settings: "wdth" 88, "wght" 600;
}

.h-section {
  font-size: clamp(1.85rem, 1.2rem + 2.1vw, 2.9rem);
  font-variation-settings: "wdth" 90, "wght" 580;
  letter-spacing: -.02em;
}

.h-card {
  font-size: 1.24rem;
  font-variation-settings: "wdth" 94, "wght" 600;
  letter-spacing: -.008em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--emerald-700);
  margin-bottom: 18px;
}
.band-navy .eyebrow, .hero .eyebrow { color: var(--emerald); }

.lede {
  font-size: clamp(1.08rem, 1rem + .45vw, 1.28rem);
  line-height: 1.58;
  color: var(--slate-600);
  max-width: 40rem;
}
.band-navy .lede { color: rgba(255,255,255,.72); }

.prose p { margin: 0 0 1.05em; color: var(--slate-600); }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--navy); font-weight: 600; }
.band-navy .prose p { color: rgba(255,255,255,.74); }

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.footnote {
  font-size: .82rem;
  line-height: 1.5;
  color: var(--slate-500);
  font-family: var(--mono);
}

/* ---------- 6 Komponenten ------------------------------------------------ */

/* 6.1 Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--body);
  font-size: .97rem; font-weight: 600;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 16px; height: 16px; flex: 0 0 auto; }

.btn-primary { background: var(--emerald); color: #04291D; }
.btn-primary:hover { background: #0CA372; }

.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); }

.btn-outline { border-color: var(--slate-200); color: var(--navy); background: var(--white); }
.btn-outline:hover { border-color: var(--navy); }

.btn-ghost { border-color: rgba(255,255,255,.28); color: var(--white); background: transparent; }
.btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* 6.2 Textlink mit Pfeil */
.arrow-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .97rem;
  color: var(--emerald-700);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  padding-bottom: 1px;
}
.arrow-link:hover { border-bottom-color: currentColor; }
.arrow-link::after { content: "→"; font-family: var(--mono); transition: transform .18s; }
.arrow-link:hover::after { transform: translateX(3px); }
.band-navy .arrow-link { color: var(--emerald); }

/* 6.3 Topbar */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--line-dark);
}
.topbar-in {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 0 var(--gutter);
  height: 68px;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 11px;
  text-decoration: none; flex: 0 0 auto;
}
.brand img { width: 46px; height: auto; }
.brand-name {
  font-family: var(--display);
  font-variation-settings: "wdth" 92, "wght" 600;
  font-size: 1.22rem; color: var(--white);
  letter-spacing: -.005em; line-height: 1;
}
.brand-name span { color: rgba(255,255,255,.55); font-variation-settings: "wdth" 92, "wght" 450; }

.mainnav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.mainnav a {
  font-size: .93rem; font-weight: 600;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  padding: 9px 13px; border-radius: var(--r-sm);
  transition: color .15s, background-color .15s;
}
.mainnav a:hover { color: var(--white); background: rgba(255,255,255,.07); }
.mainnav a[aria-current="page"] { color: var(--white); }
.mainnav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; margin-top: 5px;
  background: var(--emerald); border-radius: 2px;
}
.nav-cta { margin-left: 10px; padding: 10px 17px !important; }

.navtoggle {
  display: none; margin-left: auto;
  background: transparent; border: 1px solid rgba(255,255,255,.25);
  border-radius: var(--r-sm); color: var(--white);
  padding: 9px 13px; font-family: var(--mono); font-size: .8rem;
  letter-spacing: .08em; cursor: pointer;
}

/* 6.3b Sprachumschalter */
.langswitch {
  display: inline-flex; align-items: center; gap: 2px;
  margin-left: 8px; padding-left: 12px;
  border-left: 1px solid rgba(255,255,255,.16);
}
.langswitch a {
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .06em;
  color: rgba(255,255,255,.5);
  text-decoration: none; padding: 6px 6px; border-radius: var(--r-sm);
  transition: color .15s, background-color .15s;
}
.langswitch a:hover { color: var(--white); background: rgba(255,255,255,.07); }
.langswitch a[aria-current="true"] { color: var(--emerald); }

/* Kopfzeilen im Fussbereich sind semantisch h2, optisch aber Labels */
.foot-h {
  font-family: var(--mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--slate-400); margin: 0 0 16px; line-height: 1.4;
}
.foot-plain { color: rgba(255,255,255,.66); font-size: .93rem; }
.foot-langs { display: inline-flex; gap: 12px; }
.foot-langs a { font-size: .93rem; }

/* EU-Hinweisblock — nur auf den polnischen Seiten im Einsatz */
.euband {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--emerald-50);
  border: 1px solid rgba(16,185,129,.3);
  border-radius: var(--r-md);
  padding: clamp(20px, 2.6vw, 28px);
}
.euband-icon {
  flex: 0 0 auto; width: 38px; height: 38px;
  display: grid; place-items: center; border-radius: 50%;
  background: var(--white); color: var(--emerald-700);
}
.euband-icon svg { width: 22px; height: 22px; }
.euband h3 { margin-bottom: 8px; }
.euband p { margin: 0; color: var(--slate-600); font-size: .97rem; }
.euband p + p { margin-top: .7em; }

/* 6.4 Hero */
.hero { position: relative; background: var(--navy); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(100deg, rgba(15,23,42,.96) 0%, rgba(15,23,42,.88) 38%,
                    rgba(15,23,42,.62) 66%, rgba(15,23,42,.5) 100%),
    linear-gradient(to top, rgba(15,23,42,.92) 0%, rgba(15,23,42,0) 42%);
}
.hero-in {
  position: relative; z-index: 2;
  padding-block: clamp(88px, 12vw, 156px);
}
.hero-copy { max-width: 40rem; }
.hero .h-display { color: var(--white); }
.hero .lede { color: rgba(255,255,255,.8); margin-top: 22px; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin-top: 38px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.16);
  font-family: var(--mono); font-size: .78rem;
  letter-spacing: .04em; color: rgba(255,255,255,.62);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: var(--emerald); flex: 0 0 auto;
}

/* 6.5 Signature: Anerkennungspfad */
.rail-wrap { background: var(--white); border-bottom: 1px solid var(--line); }
.rail-head {
  display: flex; flex-wrap: wrap; align-items: baseline;
  justify-content: space-between; gap: 12px;
  padding-block: 30px 26px;
}
.rail-head h2 {
  font-size: 1.16rem;
  font-variation-settings: "wdth" 94, "wght" 600;
}
.rail-head .footnote { margin: 0; }

.rail {
  list-style: none; margin: 0 0 4px; padding: 0 0 40px;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
}
.rail-step { position: relative; padding: 0 18px 0 0; }
.rail-step::before {
  content: ""; position: absolute; left: 0; right: 0; top: 6px;
  height: 2px; background: var(--slate-200);
}
.rail-step:first-child::before { left: 0; }
.rail-step:last-child::before { right: calc(100% - 13px); }
.rail-dot {
  position: relative; z-index: 1;
  display: block; width: 13px; height: 13px; border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--slate-400);
  margin-bottom: 16px;
}
.rail-step.is-key .rail-dot { border-color: var(--emerald); background: var(--emerald); }
.rail-step.is-key::before { background: linear-gradient(90deg, var(--emerald), var(--slate-200)); }
.rail-no {
  display: block; font-family: var(--mono); font-size: .7rem;
  letter-spacing: .12em; color: var(--slate-400); margin-bottom: 6px;
}
.rail-step h3 {
  font-size: 1.02rem;
  font-variation-settings: "wdth" 96, "wght" 600;
  margin-bottom: 6px;
}
.rail-step p {
  margin: 0; font-size: .89rem; line-height: 1.5;
  color: var(--slate-500); padding-right: 8px;
}
.rail-meta {
  display: block; margin-top: 10px;
  font-family: var(--mono); font-size: .72rem;
  color: var(--emerald-700); letter-spacing: .04em;
}

/* 6.6 Karten */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(22px, 2.4vw, 30px);
  display: flex; flex-direction: column;
}
.card-icon {
  width: 40px; height: 40px; margin-bottom: 20px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--emerald-50);
  color: var(--emerald-700);
}
.card-icon svg { width: 21px; height: 21px; }
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--slate-600); font-size: .97rem; }
.card ul { margin: 16px 0 0; padding: 0; list-style: none; }
.card ul li {
  position: relative; padding-left: 22px; margin-bottom: 8px;
  font-size: .93rem; color: var(--slate-600);
}
.card ul li::before {
  content: ""; position: absolute; left: 2px; top: .55em;
  width: 9px; height: 2px; background: var(--emerald);
}
.card .arrow-link { margin-top: auto; padding-top: 20px; }

.card-mod { background: var(--slate-50); border-color: transparent; }

/* 6.7 Modulnummer im Label */
.mod-label {
  display: flex; align-items: baseline; gap: 10px;
  font-family: var(--mono); font-size: .72rem;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--slate-400); margin-bottom: 14px;
}
.mod-label b { color: var(--emerald-700); font-weight: 500; }

/* 6.8 Bildrahmen */
.shot { position: relative; border-radius: var(--r-md); overflow: hidden; background: var(--slate-100); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shot-cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 22px 16px;
  background: linear-gradient(to top, rgba(15,23,42,.85), rgba(15,23,42,0));
  color: rgba(255,255,255,.9);
  font-family: var(--mono); font-size: .74rem; letter-spacing: .04em;
}

.strip { position: relative; overflow: hidden; }
.strip img { width: 100%; height: clamp(220px, 30vw, 380px); object-fit: cover; }

/* 6.9 Prüfsiegel */
.seal {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--emerald); color: var(--emerald-700);
  border-radius: 999px; padding: 5px 13px 5px 10px;
  font-family: var(--mono); font-size: .72rem;
  letter-spacing: .08em; text-transform: uppercase;
  background: var(--emerald-50);
}
.seal svg { width: 13px; height: 13px; }
.seal-warn {
  border-color: #E9C46A; color: var(--amber); background: var(--amber-50);
}

/* 6.10 Kennzahlen */
.figures {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 44px);
}
.figure { border-top: 2px solid var(--emerald); padding-top: 18px; }
.figure b {
  display: block; font-family: var(--display);
  font-variation-settings: "wdth" 88, "wght" 620;
  font-size: clamp(2rem, 1.4rem + 1.8vw, 2.9rem);
  line-height: 1; letter-spacing: -.02em; color: var(--navy);
  margin-bottom: 10px;
}
.band-navy .figure b { color: var(--white); }
.figure span { font-size: .93rem; color: var(--slate-500); }
.band-navy .figure span { color: rgba(255,255,255,.62); }

/* 6.11 Definitionsliste */
.deflist { margin: 0; }
.deflist > div {
  display: grid; grid-template-columns: 190px minmax(0, 1fr);
  gap: 8px 26px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.deflist dt {
  font-family: var(--mono); font-size: .78rem;
  letter-spacing: .07em; text-transform: uppercase;
  color: var(--slate-500); padding-top: 3px;
}
.deflist dd { margin: 0; color: var(--slate-600); }
.band-navy .deflist > div { border-top-color: var(--line-dark); }
.band-navy .deflist dt { color: var(--slate-400); }
.band-navy .deflist dd { color: rgba(255,255,255,.78); }

/* 6.12 Akkordeon */
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary {
  cursor: pointer; list-style: none;
  padding: 20px 40px 20px 0; position: relative;
  font-family: var(--display);
  font-variation-settings: "wdth" 94, "wght" 580;
  font-size: 1.06rem; color: var(--navy);
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: "+"; position: absolute; right: 6px; top: 18px;
  font-family: var(--mono); font-size: 1.3rem; color: var(--emerald);
  transition: transform .2s;
}
.acc details[open] summary::after { transform: rotate(45deg); }
.acc .acc-body { padding: 0 40px 22px 0; }
.acc .acc-body p { margin: 0 0 .9em; color: var(--slate-600); }
.acc .acc-body p:last-child { margin-bottom: 0; }

/* 6.13 Hinweisbox */
.note {
  border-left: 3px solid var(--emerald);
  background: var(--slate-50);
  padding: 20px 24px;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.note p { margin: 0; font-size: .95rem; color: var(--slate-600); }
.note p + p { margin-top: .8em; }

/* 6.14 Footer */
.foot { background: var(--navy); color: rgba(255,255,255,.55); }
.foot-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 54px);
  padding-block: clamp(48px, 6vw, 72px) 42px;
}
.foot-lockup { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.foot-lockup img { width: 52px; }
.foot-name {
  font-family: var(--display);
  font-variation-settings: "wdth" 92, "wght" 600;
  font-size: 1.24rem; color: var(--white); line-height: 1;
}
.foot-name span { color: rgba(255,255,255,.5); font-variation-settings: "wdth" 92, "wght" 450; }
.foot-blurb { font-size: .92rem; line-height: 1.6; max-width: 26rem; margin: 0; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot ul li { margin-bottom: 10px; }
.foot ul a { font-size: .93rem; color: rgba(255,255,255,.66); text-decoration: none; }
.foot ul a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.foot-bar {
  border-top: 1px solid var(--line-dark);
  padding-block: 22px 30px;
  display: flex; flex-wrap: wrap; gap: 10px 26px;
  justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .03em;
}
.foot-claim { color: var(--slate-400); }

/* ---------- 7 Sektionsspezifisches --------------------------------------- */

.pagehead { background: var(--navy); color: rgba(255,255,255,.75); }
.pagehead-in { padding-block: clamp(56px, 7vw, 92px) clamp(48px, 6vw, 76px); }
.pagehead h1 { color: var(--white); }
.pagehead .lede { color: rgba(255,255,255,.72); margin-top: 20px; }
.crumb {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .08em;
  color: var(--slate-400); margin-bottom: 20px;
}
.crumb a { color: var(--slate-400); text-decoration: none; }
.crumb a:hover { color: var(--white); }

.cta-band { position: relative; overflow: hidden; background: var(--navy); }
.cta-band img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .3;
}
.cta-band .shell { position: relative; z-index: 2; }
.cta-in { max-width: 38rem; }
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,.76); }

/* ---------- 8 Formulare -------------------------------------------------- */

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 22px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-wide { grid-column: 1 / -1; }
.field label {
  font-size: .85rem; font-weight: 600; color: var(--navy);
}
.field .hint { font-size: .8rem; color: var(--slate-500); font-weight: 400; }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: 1rem; color: var(--navy);
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.55; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate-400); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--emerald);
  box-shadow: 0 0 0 3px rgba(16,185,129,.18);
}
.field.has-error input, .field.has-error select, .field.has-error textarea {
  border-color: #C2410C;
}
.field .err { font-size: .82rem; color: #C2410C; font-weight: 600; }

.check { display: flex; gap: 11px; align-items: flex-start; }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--emerald); }
.check label { font-size: .9rem; font-weight: 400; color: var(--slate-600); line-height: 1.5; }
.check a { color: var(--emerald-700); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.alert {
  border-radius: var(--r-sm); padding: 16px 20px; margin-bottom: 28px;
  font-size: .95rem; border-left: 3px solid;
}
.alert-ok { background: var(--emerald-50); border-color: var(--emerald); color: #065F46; }
.alert-err { background: #FEF2F2; border-color: #C2410C; color: #9A3412; }
.alert strong { display: block; margin-bottom: 3px; }

/* ---------- 9 Responsive ------------------------------------------------- */

/* Grosse Tablets: der Pfad bricht auf drei Spalten, die Linie entfaellt. */
@media (max-width: 1060px) {
  .rail { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 24px; }
  .rail-step { padding-right: 0; }
  .rail-step::before { display: none; }
  .foot-top { grid-template-columns: 1.4fr 1fr 1fr; }
  .foot-brandcol { grid-column: 1 / -1; }
}

/* Ab hier klappt die Navigation ins Menue. */
/* Vier Sprachen und vier Menuepunkte werden auf mittleren Breiten eng. */
@media (max-width: 1120px) and (min-width: 901px) {
  .mainnav a { padding: 9px 10px; font-size: .89rem; }
  .langswitch { margin-left: 4px; padding-left: 8px; }
  .nav-cta { margin-left: 6px; padding: 10px 14px !important; }
}

@media (max-width: 900px) {
  .topbar-in { height: 62px; gap: 14px; }
  .mainnav {
    position: fixed; inset: 62px 0 auto 0;
    max-height: calc(100dvh - 62px); overflow-y: auto;
    background: var(--navy);
    border-bottom: 1px solid var(--line-dark);
    flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px var(--gutter) 24px;
    display: none;
    box-shadow: 0 18px 40px rgba(15,23,42,.4);
  }
  .mainnav.is-open { display: flex; }
  .mainnav a {
    padding: 14px 0; font-size: 1.05rem; border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .mainnav a:hover { background: transparent; }
  .mainnav a[aria-current="page"]::after { width: 28px; }
  .langswitch {
    margin: 14px 0 0; padding: 0; border-left: 0;
    gap: 8px;
  }
  .langswitch a {
    border: 1px solid rgba(255,255,255,.2);
    padding: 9px 16px; font-size: .8rem;
  }
  .nav-cta { margin: 16px 0 0 !important; padding: 14px 20px !important; }
  .navtoggle { display: inline-block; }

  .split { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .split-flip .shot { order: -1; }
  .split-text { max-width: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .deflist > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .hero-in { padding-block: clamp(72px, 14vw, 120px); }
}

/* Telefone */
@media (max-width: 640px) {
  body { font-size: 16.5px; line-height: 1.6; }
  :root { --band: clamp(52px, 11vw, 72px); }

  .grid-2, .grid-3, .grid-4 { grid-template-columns: minmax(0, 1fr); }
  .rail { grid-template-columns: minmax(0, 1fr); gap: 0; padding-bottom: 28px; }

  /* Auf dem Telefon wird der Pfad zur senkrechten Linie. */
  .rail-step {
    position: relative; padding: 0 0 26px 30px;
  }
  .rail-step::before {
    display: block; content: "";
    left: 5px; top: 16px; bottom: -4px; right: auto;
    width: 2px; height: auto;
    background: var(--slate-200);
  }
  .rail-step:last-child::before { display: none; }
  .rail-step.is-key::before { background: var(--emerald); }
  .rail-dot { position: absolute; left: 0; top: 3px; margin: 0; }
  .rail-step p { padding-right: 0; }
  .rail-head { flex-direction: column; gap: 6px; padding-block: 26px 22px; }

  .figures { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .foot-top { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .foot-brandcol { grid-column: auto; }
  .foot-bar { flex-direction: column; align-items: flex-start; gap: 8px; }

  .btn-row { gap: 10px; }
  .btn-row .btn { width: 100%; }
  .hero-meta { flex-direction: column; gap: 9px; align-items: flex-start; }
  .euband { flex-direction: column; gap: 14px; }
  .acc summary { font-size: 1rem; padding-right: 34px; }
  .shot-cap { font-size: .7rem; padding: 26px 16px 14px; }
  .strip img { height: clamp(190px, 46vw, 260px); }
  .cta-in { max-width: none; }
}

/* Sehr schmale Geräte */
@media (max-width: 380px) {
  :root { --gutter: 18px; }
  .brand-name { font-size: 1.1rem; }
  .brand img { width: 40px; }
  .h-display { font-size: clamp(2.05rem, 7.5vw, 2.5rem); }
}

/* Querformat auf niedrigen Bildschirmen: Hero nicht überhöhen */
@media (max-height: 520px) and (orientation: landscape) {
  .hero-in { padding-block: 56px; }
  .mainnav { max-height: calc(100dvh - 62px); }
}

/* ---------- 10 Reduced Motion / Print ------------------------------------ */

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

@media print {
  .topbar, .foot, .hero-media, .btn-row { display: none; }
  body { color: #000; font-size: 11pt; }
  .band { padding-block: 10pt; }
}

/* Nav-Schaltflaeche im Vorschaubetrieb: .mainnav a ist spezifischer als
   .btn-outline und faerbte die Schrift weiss auf weissem Grund. */
.mainnav a.btn-outline { color: var(--navy); }
.mainnav a.btn-outline:hover { color: var(--navy); background: var(--white); }
