/* ==========================================================================
   ARGUS Datenschutz — Thierry Eibel
   Design tokens
   ========================================================================== */

:root {
  /* Brand-Blau = exakt die Logo-Farbe (aus ARGUS-Datenschutz_RGB.png gepickt).
     Kontrast auf Weiss: 9.3:1 — deutlich besser als das vorige #006CFF (4.1:1). */
  --blue:        #10487F;
  --blue-700:    #0B3560;   /* Hover / gedrueckt */
  /* Aufgehellt: #10487F auf dem Navy (--ink) hat nur 1.9:1 und wuerde als
     Flaeche darin verschwinden. Nur fuer Fuellungen auf dunklem Grund. */
  --blue-500:    #1E6CBA;
  --blue-300:    #8FB4DC;   /* Akzent-Text/Icons auf dunklem Grund — 8.2:1 auf --ink */
  --blue-50:     #EAF0F8;

  --grey:        #666A6A;   /* zweite Logo-Farbe (Wortmarke "Datenschutz") */

  --ink:         #0A192E;
  --ink-2:       #10243D;
  --ink-3:       #1B3454;
  --body:        #35435c;
  --muted:       #5c6b83;   /* dunkler als #66768f: erreicht 4.5:1 auch auf --bg-soft */

  --line:        #e3e8f0;
  --line-strong: #ccd6e4;

  --bg:          #ffffff;
  --bg-soft:     #f3f6fb;

  --radius:      16px;
  --radius-sm:   10px;
  --radius-lg:   24px;

  --shadow-sm:   0 1px 2px rgba(10, 25, 46, .05);
  --shadow:      0 4px 16px -6px rgba(10, 25, 46, .10), 0 2px 4px rgba(10, 25, 46, .04);
  --shadow-lg:   0 28px 60px -28px rgba(10, 25, 46, .28);

  --section:     clamp(4.5rem, 8vw, 8rem);
  --gutter:      clamp(1.25rem, 4vw, 2.5rem);
  --maxw:        1180px;
  --header-h:    74px;

  --ease:        cubic-bezier(.22, .61, .36, 1);
}

/* ==========================================================================
   Reset / base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
/* Scroll-Lock, solange das mobile Menue offen ist. */
html.nav-open { overflow: hidden; }

body {
  margin: 0;
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  overflow-wrap: break-word;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.022em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

/* Deutsche Komposita brechen auf schmalen Displays sonst mitten im Wort um. */
@media (max-width: 640px) {
  h1, h2, h3, h4 { -webkit-hyphens: auto; hyphens: auto; }
}

h1 { font-size: clamp(2.15rem, 5.4vw, 3.9rem); font-weight: 800; letter-spacing: -.032em; }
h2 { font-size: clamp(1.75rem, 3.7vw, 2.7rem); letter-spacing: -.028em; }
h3 { font-size: clamp(1.12rem, 1.7vw, 1.3rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-700); }

ul { margin: 0; padding: 0; list-style: none; }

strong { font-weight: 700; color: var(--ink-2); }

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

/* ==========================================================================
   Layout helpers
   ========================================================================== */

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

.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--ink); color: #b9c6da; }
.section--dark h2, .section--dark h3 { color: #fff; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  /* Das Logo-Blau bringt selbst schon 9.3:1 mit — kein Aufdunkeln mehr noetig. */
  color: var(--blue);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.section--dark .eyebrow { color: var(--blue-300); }
.section--dark .eyebrow::before { background: var(--blue-300); }

.lead {
  font-size: clamp(1.03rem, 1.5vw, 1.17rem);
  line-height: 1.65;
  color: var(--muted);
}
.section--dark .lead { color: #9fb0c8; }

.head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.head--center { margin-inline: auto; text-align: center; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: .935rem;
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition: background .2s var(--ease), color .2s var(--ease),
              border-color .2s var(--ease), transform .2s var(--ease),
              box-shadow .2s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px -10px rgba(16, 72, 127, .85);
}
.btn--primary:hover {
  background: var(--blue-700);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(16, 72, 127, .9);
}
/* Auf dunklem Grund braucht der Button die aufgehellte Variante — sonst
   steht dunkelblau auf dunkelblau und die Flaeche ist nicht mehr erkennbar. */
.hero .btn--primary,
.section--dark .btn--primary {
  background: var(--blue-500);
  box-shadow: 0 10px 26px -12px rgba(30, 108, 186, .9);
}
.hero .btn--primary:hover,
.section--dark .btn--primary:hover {
  background: #2B7BCB;
  box-shadow: 0 14px 30px -12px rgba(43, 123, 203, .95);
}
/* Die weisse Formularkarte steht selbst in .section--dark — dort gilt wieder Logo-Blau. */
.section--dark .form .btn--primary {
  background: var(--blue);
  box-shadow: 0 8px 22px -10px rgba(16, 72, 127, .85);
}
.section--dark .form .btn--primary:hover {
  background: var(--blue-700);
  box-shadow: 0 12px 28px -10px rgba(16, 72, 127, .9);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--bg-soft); border-color: var(--ink-3); color: var(--ink); }

.btn--ghost-light {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border-color: rgba(255, 255, 255, .28);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .5); }

.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--blue-50); color: var(--ink); }

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

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Text link with arrow */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  font-size: .93rem;
}
.tlink svg { transition: transform .2s var(--ease); }
.tlink:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Header / nav
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px -12px rgba(10, 25, 46, .3);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: auto;
  color: var(--ink);
  flex-shrink: 0;
}
.brand:hover { color: var(--ink); }
.brand__logo {
  width: auto;
  height: 42px;
  flex-shrink: 0;
}
@media (max-width: 560px) { .brand__logo { height: 36px; } }

.nav__links { display: flex; align-items: center; gap: 1.7rem; }
/* Der CTA-Button in der Liste ist nur fuer das mobile Menue gedacht. */
.nav__links-cta { display: none; }
.nav__links .btn { color: #fff; }
.nav__links .btn:hover { color: #fff; }
.nav__links a {
  font-size: .895rem;
  font-weight: 600;
  color: var(--body);
  position: relative;
  padding-block: .35rem;
  white-space: nowrap;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { transform: scaleX(1); }

.nav__cta { flex-shrink: 0; }
.nav__cta .btn { padding: .7rem 1.25rem; font-size: .875rem; }

.burger {
  display: none;
  width: 44px; height: 44px;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  position: relative;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: background .2s var(--ease);
}
.burger span::before, .burger span::after {
  content: '';
  position: absolute;
  left: 0;
  width: 18px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease);
}
.burger span::before { top: -6px; }
.burger span::after  { top: 6px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Zwischen Burger-Breakpoint und ~1100px ist die Zeile knapp — hier wird die
   Desktop-Navigation kompakter, damit der CTA nicht aus dem Header laeuft. */
@media (min-width: 941px) and (max-width: 1100px) {
  .nav { gap: 1rem; }
  .brand__logo { height: 38px; }
  .nav__links { gap: 1.05rem; }
  .nav__links a { font-size: .84rem; }
  .nav__cta .btn { padding: .68rem 1rem; font-size: .8rem; }
}

/* Abdunkelung hinter dem offenen Mobilmenue */
.nav__backdrop {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 90;
  background: rgba(10, 25, 46, .55);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease);
}

@media (max-width: 940px) {
  .nav__cta { display: none; }
  .burger { display: inline-flex; }

  .nav__backdrop { display: block; }
  .nav-open .nav__backdrop { opacity: 1; pointer-events: auto; }

  /* Menue-Panel: immer im Layout, per Opacity/Transform ein- und ausgeblendet.
     Dadurch bleibt die Breite der Links stabil und es gibt einen Übergang. */
  /* absolute + top:100% -> Bezug ist immer der sticky Header, unabhaengig
     davon ob der Browser backdrop-filter unterstuetzt. */
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    z-index: 95;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: .35rem var(--gutter) 1.6rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);

    visibility: hidden;
    opacity: 0;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity .22s var(--ease), transform .28s var(--ease), visibility .22s;
  }
  .nav__links.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav__links-cta { display: block; }

  /* Links muessen als Block die volle Panelbreite einnehmen — sonst endet
     die Trennlinie am Textende. */
  .nav__links a {
    display: block;
    width: 100%;
    padding: 1.05rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.02rem;
    color: var(--ink);
    white-space: normal;
  }
  .nav__links a::after { display: none; }

  .nav__links .btn {
    display: flex;
    justify-content: center;
    margin-top: 1.3rem;
    padding: 1.05rem 1.6rem;
    border-bottom: 0;
    font-size: .96rem;
  }
}

/* Auf den Rechtsseiten gibt es kein Burger-Menue — dort bleibt der CTA sichtbar. */
@media (max-width: 940px) {
  .nav--simple .nav__cta { display: block; }
  .nav--simple .nav__cta .btn { padding: .7rem 1rem; font-size: .8rem; }
}
@media (max-width: 420px) {
  .nav--simple .nav__cta .btn { padding: .65rem .8rem; font-size: .74rem; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--ink);
  color: #c2cfe2;
  overflow: hidden;
  padding-block: clamp(4rem, 9vw, 7.5rem) clamp(0rem, 2vw, 1rem);
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 520px at 78% 8%, rgba(30, 108, 186, .5), transparent 62%),
    radial-gradient(700px 480px at 4% 92%, rgba(16, 72, 127, .3), transparent 60%);
  z-index: -2;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, #000 30%, transparent 78%);
  z-index: -1;
}

.hero__inner { max-width: 54rem; }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .45rem 1rem .45rem .55rem;
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(255, 255, 255, .06);
  border-radius: 999px;
  font-size: .775rem;
  font-weight: 600;
  color: #d6e2f5;
  margin-bottom: 1.6rem;
}
.hero__badge b {
  background: var(--blue-500);
  color: #fff;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .25rem .6rem;
  border-radius: 999px;
}

.hero h1 { color: #fff; margin-bottom: 1.15rem; }
.hero h1 em {
  font-style: normal;
  color: var(--blue-300);
  white-space: nowrap;
}
/* Auf schmalen Displays muss die Zeile umbrechen duerfen. */
@media (max-width: 560px) {
  .hero h1 em { white-space: normal; }
}

.hero__lead {
  font-size: clamp(1.04rem, 1.65vw, 1.24rem);
  line-height: 1.62;
  color: #a9bbd3;
  max-width: 40rem;
  margin-bottom: 2.1rem;
}

.hero .btn-row { margin-bottom: 1.6rem; }

.hero__note {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .84rem;
  color: #8ea2bf;
}
.hero__note svg { flex-shrink: 0; color: var(--blue-300); }

/* Stats strip */
.stats {
  position: relative;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid;
  /* minmax(0,…): sonst sprengen lange Komposita wie "Datenschutzbeauftragter"
     die Spur (1fr hat min-content als Untergrenze) und die Spalte wird beschnitten. */
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  overflow: hidden;
}
.stat { background: rgba(255, 255, 255, .035); padding: 1.5rem 1.4rem; }
.stat__num {
  display: block;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: .3rem;
}
.stat__num span { color: var(--blue-300); }
.stat__label { font-size: .82rem; line-height: 1.45; color: #93a7c2; overflow-wrap: break-word; hyphens: auto; }
.stat__num { overflow-wrap: break-word; }

@media (max-width: 780px) {
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Cards / grids
   ========================================================================== */

.grid { display: grid; gap: 1.15rem; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 900px) { .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid--2, .grid--3 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-lg);
}
.card h3 { margin-bottom: .55rem; }
.card p { font-size: .935rem; color: var(--muted); line-height: 1.62; }

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--blue-50);
  color: var(--blue);
  margin-bottom: 1.15rem;
}

/* Pain cards */
.pain {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 1.3rem 1.4rem;
}
.pain__q {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1.3;
  flex-shrink: 0;
}
.pain p { font-size: .93rem; color: var(--muted); margin: 0; }
.pain strong { display: block; color: var(--ink); font-size: .98rem; margin-bottom: .2rem; font-weight: 700; }

/* ==========================================================================
   Process / steps
   ========================================================================== */

.steps { counter-reset: step; display: grid; gap: 0; }

.step {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 1.4rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid var(--line); }

.step__num {
  counter-increment: step;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: -.01em;
}
.step__num::before { content: counter(step, decimal-leading-zero); }

.step h3 { margin-bottom: .35rem; }
.step p { font-size: .935rem; color: var(--muted); margin: 0; }

.step__list {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-top: .8rem;
}
.step__list li {
  font-size: .8rem;
  font-weight: 600;
  color: var(--ink-3);
  background: var(--blue-50);
  border-radius: 999px;
  padding: .3rem .8rem;
}

@media (max-width: 560px) {
  .step { grid-template-columns: 44px 1fr; gap: 1rem; }
  .step__num { width: 38px; height: 38px; font-size: .82rem; }
}

/* ==========================================================================
   Compare
   ========================================================================== */

.compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }

.compare__col {
  border-radius: var(--radius);
  padding: 1.9rem;
  border: 1px solid var(--line);
  background: #fff;
}
.compare__col--bad { background: var(--bg-soft); }
.compare__col--good {
  background: var(--ink);
  border-color: var(--ink);
  color: #b9c6da;
  box-shadow: var(--shadow-lg);
}
.compare__col--good h3 { color: #fff; }

.compare__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
/* Neutrales Grau = die zweite Logo-Farbe. Setzt die "andere" Spalte visuell ab,
   ohne eine dritte Farbe in die Palette zu holen. */
.compare__col--bad .compare__tag { background: #ebedee; color: var(--grey); }
.compare__col--good .compare__tag { background: var(--blue-500); color: #fff; }

.checklist li {
  display: flex;
  gap: .7rem;
  align-items: flex-start;
  padding: .62rem 0;
  font-size: .935rem;
  line-height: 1.55;
  border-top: 1px solid var(--line);
}
.checklist li:first-child { border-top: none; padding-top: 0; }
.compare__col--good .checklist li { border-color: rgba(255, 255, 255, .1); }
.checklist svg { flex-shrink: 0; margin-top: .2rem; }
.checklist--bad svg { color: #9aa0a0; }
.checklist--good svg { color: var(--blue-300); }

/* ==========================================================================
   Highlight / result band
   ========================================================================== */

.result {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 820px) { .result { grid-template-columns: 1fr; } }

.result__figure {
  background: linear-gradient(150deg, #1A5B9C 0%, var(--blue) 52%, #0A2F55 100%);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 4vw, 3rem);
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(16, 72, 127, .75);
}
.result__big {
  font-size: clamp(2.6rem, 6vw, 3.9rem);
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
  margin-bottom: .5rem;
}
.result__cap { font-size: 1rem; font-weight: 600; color: rgba(255, 255, 255, .92); margin-bottom: 1.5rem; }
.result__vs {
  border-top: 1px solid rgba(255, 255, 255, .28);
  padding-top: 1.2rem;
  font-size: .88rem;
  color: rgba(255, 255, 255, .82);
  line-height: 1.55;
}
.result__vs b { color: #fff; }

/* ==========================================================================
   About
   ========================================================================== */

.about {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 880px) { .about { grid-template-columns: 1fr; } }

.about__card {
  background: var(--ink);
  border-radius: var(--radius-lg);
  padding: 2rem 1.75rem;
  color: #b9c6da;
  position: sticky;
  top: 100px;
  overflow: hidden;
  isolation: isolate;
}
.about__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 260px at 80% 0%, rgba(30, 108, 186, .52), transparent 65%);
  z-index: -1;
}
@media (max-width: 880px) { .about__card { position: static; } }

.about__photo {
  margin: 0 0 1.5rem;
}
.about__photo img {
  width: 100%;
  max-width: 285px;
  /* height:auto ist Pflicht — sonst gewinnt das height-Attribut ueber aspect-ratio. */
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 6%;
  border-radius: 18px;
  background: #e8edf5;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .16),
              0 22px 40px -24px rgba(0, 0, 0, .7);
}
/* Ab hier ist die Karte volle Breite — das Portrait darf dann nicht mitwachsen. */
@media (max-width: 880px) { .about__photo img { max-width: 200px; } }
.about__card h3 { color: #fff; font-size: 1.35rem; margin-bottom: .25rem; }
.about__role { font-size: .88rem; color: var(--blue-300); font-weight: 600; margin-bottom: 1.4rem; }

.creds { border-top: 1px solid rgba(255, 255, 255, .12); }
.creds li {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  padding: .6rem 0;
  font-size: .855rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  color: #a9bbd3;
}
.creds svg { color: var(--blue-300); flex-shrink: 0; margin-top: .2rem; }

.about__body p { font-size: 1.0rem; line-height: 1.72; }
.about__body .lead { margin-bottom: 1.6rem; }

.quote {
  border-left: 3px solid var(--blue);
  padding: .3rem 0 .3rem 1.4rem;
  margin: 2rem 0;
  font-size: clamp(1.08rem, 1.9vw, 1.3rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink);
  letter-spacing: -.015em;
}
.quote cite { display: block; font-style: normal; font-size: .85rem; font-weight: 600; color: var(--muted); margin-top: .7rem; }

.timeline { margin-top: 2rem; }
.timeline h4 {
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.timeline li {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 1rem;
  padding: .7rem 0;
  border-top: 1px solid var(--line);
  font-size: .92rem;
}
.timeline li b { color: var(--blue); font-weight: 700; font-size: .87rem; }
@media (max-width: 480px) {
  .timeline li { grid-template-columns: 1fr; gap: .1rem; }
}

/* ==========================================================================
   Toolbox band
   ========================================================================== */

.toolbox {
  background: linear-gradient(140deg, var(--ink-2) 0%, var(--ink) 55%);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  color: #b9c6da;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.toolbox::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(600px 400px at 88% 15%, rgba(30, 108, 186, .46), transparent 62%);
  z-index: -1;
}
.toolbox__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (max-width: 820px) { .toolbox__grid { grid-template-columns: 1fr; } }

.toolbox h2 { color: #fff; }
.toolbox__tag {
  display: inline-block;
  background: var(--blue-500);
  color: #fff;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .35rem .85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}
.toolbox__list { display: grid; gap: .1rem; }
.toolbox__list li {
  display: flex;
  gap: .75rem;
  align-items: center;
  padding: .78rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  font-size: .95rem;
  color: #cbd8ea;
}
.toolbox__list svg { color: var(--blue-300); flex-shrink: 0; }
.toolbox__list li.is-optional { color: #8ea2bf; }
.toolbox__list li.is-optional svg { color: #6b7f9c; }

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq { max-width: 46rem; margin-inline: auto; }

.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.3rem 0;
  cursor: pointer;
  list-style: none;
  font-size: clamp(1rem, 1.5vw, 1.08rem);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -.015em;
  line-height: 1.45;
  transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--blue); }
.faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 26px; height: 26px;
  margin-top: .1rem;
  border-radius: 50%;
  background: var(--blue-50);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2310487F' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.68;
  padding-bottom: 1.4rem;
  padding-right: 2.5rem;
  margin: 0;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 880px) { .contact { grid-template-columns: 1fr; } }

.contact__cards { display: grid; gap: .8rem; margin-top: 2rem; }
.contact__card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .04);
  border-radius: var(--radius-sm);
  color: #cbd8ea;
  transition: border-color .2s var(--ease), background .2s var(--ease), transform .2s var(--ease);
}
a.contact__card:hover {
  border-color: var(--blue-300);
  background: rgba(30, 108, 186, .18);
  color: #fff;
  transform: translateX(3px);
}
.contact__card svg { color: var(--blue-300); flex-shrink: 0; }
.contact__card-txt { display: block; min-width: 0; }
.contact__card-txt > span { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: #8ea2bf; font-weight: 700; }
.contact__card-txt > b { display: block; font-size: 1rem; font-weight: 700; color: #fff; letter-spacing: -.01em; }
@media (max-width: 400px) { .contact__card-txt > b { font-size: .9rem; } }

/* Form */
.form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3.5vw, 2.3rem);
  box-shadow: var(--shadow-lg);
}
/* Die weisse Formularkarte steht in .section--dark — Ueberschrift muss dunkel bleiben. */
.section--dark .form h3 { color: var(--ink); }
.form h3 { font-size: 1.25rem; margin-bottom: .3rem; }
.form__hint { font-size: .875rem; color: var(--muted); margin-bottom: 1.5rem; }

.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink-2);
  margin-bottom: .4rem;
  letter-spacing: -.005em;
}
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  font-size: .935rem;
  color: var(--ink);
  padding: .8rem .95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #a0adc0; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(16, 72, 127, .16);
}
.field--row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .8rem; }
@media (max-width: 520px) { .field--row { grid-template-columns: 1fr; } }

.consent {
  display: flex;
  gap: .65rem;
  align-items: flex-start;
  font-size: .8rem;
  line-height: 1.5;
  color: var(--muted);
  margin: 1.1rem 0 1.4rem;
}
.consent input { width: 17px; height: 17px; margin-top: .15rem; flex-shrink: 0; accent-color: var(--blue); }

.form__foot {
  font-size: .76rem;
  color: var(--muted);
  text-align: center;
  margin-top: .9rem;
  line-height: 1.5;
}

/* Skip link */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--blue);
  color: #fff;
  font-size: .875rem;
  font-weight: 700;
  padding: .8rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip:focus { left: 0; color: #fff; }

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: #061020;
  color: #7f92ad;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  font-size: .89rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
@media (max-width: 780px) { .footer__top { grid-template-columns: 1fr; gap: 2rem; } }

.footer .brand { color: #fff; margin-bottom: 1rem; }
.footer .brand:hover { color: #fff; }
.footer .brand__sub { color: #7f92ad; }
.footer p { max-width: 30rem; line-height: 1.65; }

.footer h4 {
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.footer li { padding: .3rem 0; }
.footer a { color: #9dafc7; }
.footer a:hover { color: #fff; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.8rem;
  font-size: .8rem;
  color: #8195ae;
}
.footer__bottom nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* ==========================================================================
   Legal pages
   ========================================================================== */

.legal { padding-block: clamp(3rem, 7vw, 5rem); }
.legal__inner { max-width: 48rem; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: clamp(1.15rem, 2vw, 1.4rem); margin-top: 2.6rem; margin-bottom: .8rem; }
.legal h3 { font-size: 1.02rem; margin-top: 1.6rem; margin-bottom: .5rem; }
.legal p, .legal li { font-size: .95rem; line-height: 1.72; }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1.1em; }
.legal ul li { padding: .2rem 0; }
.legal address { font-style: normal; line-height: 1.8; }
.back {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .875rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Reveal animation
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .65s var(--ease), transform .65s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }

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