/* =============================================================
   web4you — Design System
   Reference-lock (Refero):
   · Primary  : Google for Education  → institutional white canvas,
                blue action color, sky-tint bands, generous whitespace
   · Borrow 1 : Arcade                → blueprint precision, hairline
                borders, restrained blue gradient (hero only)
   · Borrow 2 : Officevibe            → deep navy anchor + electric blue,
                full-bleed navy footer, data/stat panels
   Roles: blue = action/accent only · navy = headings/anchor/footer
          green = success ticks only (sparse)
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Brand blues */
  --navy:        #0B1F51;
  --navy-700:    #12296A;
  --blue:        #1D4ED8;   /* primary action / links */
  --blue-600:    #2563EB;
  --blue-bright: #3B82F6;   /* hero accent / gradient */
  --sky:         #E8F0FE;   /* tint band */
  --sky-2:       #F4F8FF;
  --green:       #148A4E;   /* success ticks only */

  /* Neutrals */
  --canvas:  #FFFFFF;
  --surface: #F7F9FC;
  --ink:     #131A2B;
  --ink-2:   #3A4257;
  --muted:   #667085;
  --border:  #E4E8F1;
  --border-strong: #D4DBE8;

  /* Type */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Shape */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Elevation (Arcade-style, subtle) */
  --shadow-sm: 0 1px 2px rgba(11,31,81,.06), 0 1px 3px rgba(11,31,81,.04);
  --shadow-md: 0 2px 4px rgba(11,31,81,.05), 0 8px 24px rgba(11,31,81,.07);
  --shadow-lg: 0 8px 16px rgba(11,31,81,.08), 0 24px 60px rgba(11,31,81,.12);
  --ring: 0 0 0 4px rgba(29,78,216,.16);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
}

/* ---------- Reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
html, body { overflow-x: hidden; }
body {
  margin: 0;
  max-width: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 6px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { color: var(--navy); margin: 0; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.1; }
h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -0.01em; }
p  { margin: 0; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--ink-2); line-height: 1.6; text-wrap: pretty; }
.text-blue { color: var(--blue); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--surface { background: var(--surface); }
.section--sky { background: linear-gradient(180deg, var(--sky-2), var(--sky)); }
.section__head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section__head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: block;
  font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 14px;
}
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-weight: 600; font-size: .98rem; line-height: 1;
  padding: 15px 26px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer; transition: .18s ease;
  white-space: nowrap; touch-action: manipulation;
}
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-600); text-decoration: none; }
.btn--ghost { background: #fff; color: var(--navy); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--navy); text-decoration: none; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--sky); text-decoration: none; }
.btn--onnavy { background: transparent; color: #fff; border-color: rgba(255,255,255,.38); }
.btn--onnavy:hover { border-color: #fff; text-decoration: none; }
.btn .arrow { transition: transform .18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: border-color .2s, box-shadow .2s;
}
.header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 1px 0 rgba(11,31,81,.04), 0 8px 24px rgba(11,31,81,.05); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); font-size: 1.2rem; letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand .logo-mark { width: 32px; height: 32px; flex: 0 0 auto; }
.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__links a {
  color: var(--ink-2); font-weight: 500; font-size: .95rem;
  padding: 9px 14px; border-radius: var(--r-pill); transition: .16s;
}
.nav__links a:hover { color: var(--navy); background: var(--sky-2); text-decoration: none; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__toggle { display: none; }
.nav__toggle .bar { transition: transform .25s cubic-bezier(.4,0,.2,1), opacity .2s ease; transform-origin: 12px 12px; }
.nav.open .nav__toggle .bar--top { transform: translateY(6px) rotate(45deg); }
.nav.open .nav__toggle .bar--mid { opacity: 0; }
.nav.open .nav__toggle .bar--bot { transform: translateY(-6px) rotate(-45deg); }
.nav__links-login { display: none; }

/* ---------- Hero (full-bleed video) ---------- */
.hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(8,18,50,.95) 0%, rgba(8,18,50,.86) 30%, rgba(8,18,50,.60) 60%, rgba(9,23,60,.44) 100%),
    linear-gradient(180deg, rgba(8,18,50,.55) 0%, rgba(8,18,50,.18) 38%, rgba(8,18,50,.74) 100%);
}
.hero__inner {
  display: flex; align-items: center;
  min-height: min(86vh, 780px);
  padding-block: clamp(96px, 15vh, 168px);
}
.hero__copy { max-width: 760px; }
.hero__eyebrow {
  display: inline-block; color: #A9C1F2; font-size: .8rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; margin-bottom: 24px;
}
.hero h1 { color: #fff; font-size: clamp(2.6rem, 5.4vw, 4.3rem); }
.hero__sub { color: #D5E1F8; margin-top: 24px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); max-width: 58ch; line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Hero-Eingangsanimation: ruhige Fade-up-Kaskade beim Laden */
@keyframes hero-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__eyebrow { animation: hero-in .7s cubic-bezier(.16,.84,.44,1) both; }
.hero h1 { animation: hero-in .8s cubic-bezier(.16,.84,.44,1) .08s both; }
.hero__sub { animation: hero-in .8s cubic-bezier(.16,.84,.44,1) .16s both; }
.hero__actions { animation: hero-in .8s cubic-bezier(.16,.84,.44,1) .24s both; }

/* ---------- Generic grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 30px; box-shadow: var(--shadow-sm); transition: .2s ease;
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.card .ic {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sky); color: var(--blue); margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--ink-2); font-size: .97rem; }

/* Problem cards (quieter) */
.problem-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 28px; }
.problem-card .n { font-size: .8rem; font-weight: 700; color: var(--blue); letter-spacing: .06em; }
.problem-card h3 { margin: 14px 0 8px; }
.problem-card p { color: var(--ink-2); font-size: .96rem; }

/* ---------- Solution split ---------- */
.split { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.checklist { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 16px; }
.checklist li { display: flex; gap: 13px; align-items: flex-start; color: var(--ink-2); }
.checklist li b { color: var(--navy); font-weight: 600; }
.check {
  flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(20,138,78,.12); color: var(--green); display: grid; place-items: center; margin-top: 2px;
}
/* Analytics panel visual */
.panel {
  background: linear-gradient(160deg, #fff, var(--sky-2));
  border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-md);
}
.panel__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.panel__head h4 { font-size: 1.05rem; }
.panel__head .tag { font-size: .72rem; font-weight: 600; color: var(--blue); background: var(--sky); padding: 5px 11px; border-radius: var(--r-pill); }

/* Lernkurven-Vergleich (SVG, zeichnet sich beim Einblenden) */
.curve-chart { width: 100%; height: auto; display: block; margin-top: 6px; }
.curve-axis { stroke: var(--border-strong); stroke-width: 1.5; }
.curve-path { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 640; stroke-dashoffset: 640; transition: stroke-dashoffset 1.5s cubic-bezier(.16,.72,.32,1); }
.curve-path--linear { stroke: #A6AFC4; stroke-width: 2.5; }
.curve-path--ai { stroke: var(--blue); stroke-width: 3.5; transition-delay: .25s; }
.curve-dot { opacity: 0; transform-origin: center; transform: scale(0); transition: opacity .35s ease, transform .35s ease; transition-delay: 1.4s; }
.curve-dot--linear { fill: #A6AFC4; }
.curve-dot--ai { fill: var(--blue); transition-delay: 1.65s; }
.reveal.in .curve-path { stroke-dashoffset: 0; }
.reveal.in .curve-dot { opacity: 1; transform: scale(1); }
.curve-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: .86rem; color: var(--ink-2); font-weight: 500; }
.curve-legend__item { display: inline-flex; align-items: center; gap: 8px; }
.curve-swatch { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.curve-swatch--linear { background: #A6AFC4; }
.curve-swatch--ai { background: var(--blue); }
.curve-axis-labels { display: flex; justify-content: space-between; margin-top: 10px; font-size: .78rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .curve-path { transition: none; stroke-dashoffset: 0; }
  .curve-dot { transition: none; opacity: 1; transform: scale(1); }
}

/* ---------- Ablauf: vertikale Timeline ---------- */
.timeline { max-width: 640px; margin-inline: auto; }
.timeline__item { display: flex; gap: 26px; }
.timeline__marker { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; }
.timeline__num {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: #fff; border: 2px solid var(--border-strong); color: var(--muted);
  font-weight: 700; font-size: .95rem; flex: 0 0 auto;
  transition: background .5s ease, border-color .5s ease, color .5s ease;
}
.timeline__line { position: relative; width: 2px; flex: 1; margin: 8px 0; background: var(--border); overflow: hidden; min-height: 56px; }
.timeline__line i {
  position: absolute; inset: 0; background: var(--blue); border-radius: 2px;
  transform: scaleY(0); transform-origin: top; transition: transform 1s cubic-bezier(.4,0,.2,1) .15s;
}
.timeline__body { padding-bottom: 44px; padding-top: 6px; }
.timeline__body h3 { margin-bottom: 8px; }
.timeline__body p { color: var(--ink-2); font-size: .97rem; max-width: 46ch; }
.timeline__item:last-child .timeline__body { padding-bottom: 0; }
.reveal.in .timeline__num { background: var(--navy); border-color: var(--navy); color: #fff; }
.reveal.in .timeline__line i { transform: scaleY(1); }

@media (prefers-reduced-motion: reduce) {
  .timeline__num, .timeline__line i { transition: none; }
}

/* ---------- Comparison ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.compare__col { border-radius: var(--r-lg); padding: 34px; }
.compare__col.generic { background: #fff; border: 1px solid var(--border); }
.compare__col.ours { background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); position: relative; }
.compare__col > * { position: relative; z-index: 1; }
.compare__title { font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 6px; }
.compare__col.generic .compare__title { color: var(--muted); }
.compare__col.ours .compare__title { color: #93C0FF; }
.compare h3 { margin-bottom: 22px; }
.compare__col.ours h3 { color: #fff; }
.cmp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.cmp-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .97rem; }
.compare__col.generic .cmp-list li { color: var(--ink-2); }
.compare__col.ours .cmp-list li { color: #DCE6FF; }
.cmp-ic { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; margin-top: 1px; }
.cmp-ic.x { background: #F1F3F8; color: #98A2B3; }
.cmp-ic.c { background: rgba(147,192,255,.18); color: #9EC5FF; }

/* ---------- Fields / use cases ---------- */
.fields { display: flex; flex-wrap: wrap; gap: 12px; }
.chip {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--border-strong); border-radius: var(--r-pill);
  padding: 11px 20px; font-weight: 600; color: var(--navy); font-size: .95rem; box-shadow: var(--shadow-sm);
}
.chip .d { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.usecases { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 34px; }
.usecase { padding: 26px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--border); }
.usecase .ph { font-size: .78rem; font-weight: 700; color: var(--blue); letter-spacing: .05em; text-transform: uppercase; }
.usecase h3 { margin: 10px 0 6px; font-size: 1.1rem; }
.usecase p { color: var(--ink-2); font-size: .93rem; }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.founder { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: box-shadow .25s ease, border-color .25s ease; padding: 32px; }
.founder:hover { box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.founder__top { display: flex; align-items: center; gap: 18px; margin-bottom: 20px; }
.founder__avatar { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; border: 1px solid var(--border); background: var(--sky); flex: 0 0 auto; }
.founder__role { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.founder__name { margin: 4px 0 0; font-size: 1.25rem; }
.founder__bio { color: var(--ink-2); font-size: .96rem; line-height: 1.65; }

/* ---------- CTA band ---------- */
.ctaband { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: clamp(40px, 6vw, 72px); text-align: center; position: relative; box-shadow: var(--shadow-lg); }
.ctaband h2 { color: #fff; }
.ctaband p { color: #C9D7F5; max-width: 620px; margin: 18px auto 0; font-size: 1.1rem; }
.ctaband .hero__actions { justify-content: center; margin-top: 32px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.info-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; }
.info-list li { display: flex; gap: 15px; align-items: flex-start; }
.info-list .ic { flex: 0 0 auto; width: 42px; height: 42px; border-radius: 11px; background: var(--sky); color: var(--blue); display: grid; place-items: center; }
.info-list .k { font-size: .78rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.info-list .v { color: var(--navy); font-weight: 500; }
.info-list a { color: var(--navy); }

.form { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); box-shadow: var(--shadow-md); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: .97rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--border-strong); border-radius: var(--r-sm);
  background: #fff; transition: .15s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: var(--ring); }
.field textarea { resize: vertical; min-height: 120px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: .86rem; color: var(--ink-2); margin: 6px 0 20px; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--blue); flex: 0 0 auto; }
.form .btn { width: 100%; }
.form__note { font-size: .8rem; color: var(--muted); margin-top: 14px; text-align: center; }
.form__ok { display: none; background: rgba(20,138,78,.08); border: 1px solid rgba(20,138,78,.3); color: #0F6E3E; padding: 16px 18px; border-radius: var(--r-md); font-size: .95rem; margin-bottom: 18px; }
.form__ok.show { display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #C9D2E8; padding-block: clamp(52px, 7vw, 80px) 30px; }
.footer a { color: #C9D2E8; }
.footer a:hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer .brand { color: #fff; }
.footer__tag { margin-top: 16px; font-size: .95rem; color: #9DB2E4; max-width: 34ch; line-height: 1.6; }
.footer__col h4 { color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer__col a { font-size: .93rem; }
.footer__addr { font-size: .93rem; line-height: 1.7; color: #9DB2E4; font-style: normal; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 26px; font-size: .84rem; color: #8296C6; }
.footer__legal { display: flex; gap: 20px; flex-wrap: wrap; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 20px; right: 20px; z-index: 80;
  bottom: max(20px, env(safe-area-inset-bottom));
  max-width: 560px; margin-inline: auto;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  box-shadow: var(--shadow-lg); padding: 20px 22px;
  display: flex; gap: 18px; align-items: center; flex-wrap: wrap;
  transform: translateY(140%); transition: transform .4s cubic-bezier(.2,.7,.3,1);
}
.cookie.show { transform: translateY(0); }
.cookie p { font-size: .88rem; color: var(--ink-2); flex: 1 1 260px; }
.cookie .btn { padding: 11px 20px; font-size: .9rem; }

/* ---------- Login-Modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(11,19,41,.5); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity .22s ease;
}
.modal-overlay.show { opacity: 1; pointer-events: auto; }
.modal {
  position: relative; width: 100%; max-width: 400px;
  background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  padding: 36px 34px 30px; text-align: center;
  transform: translateY(14px) scale(.98); opacity: 0; transition: transform .28s cubic-bezier(.16,.84,.44,1), opacity .22s ease;
}
.modal-overlay.show .modal { transform: none; opacity: 1; }
.modal__close {
  position: absolute; top: 16px; right: 16px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: transparent; border: none; color: var(--muted); cursor: pointer;
  transition: background .15s, color .15s;
}
.modal__close:hover { background: var(--surface); color: var(--navy); }
.modal__brand { display: flex; justify-content: center; margin-bottom: 22px; }
.modal__brand .logo-mark { width: 40px; height: 40px; }
.modal h2 { font-size: 1.3rem; }
.modal__sub { color: var(--ink-2); font-size: .92rem; margin-top: 8px; line-height: 1.55; }
.modal form { margin-top: 22px; text-align: left; }
.modal .field label { font-size: .8rem; }
.modal .btn--primary { width: 100%; margin-top: 4px; position: relative; }
.modal__note { font-size: .78rem; color: var(--muted); margin-top: 14px; text-align: center; line-height: 1.5; }
.modal__foot { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); font-size: .88rem; color: var(--ink-2); }
.modal__foot a { font-weight: 600; }
.modal__sent-icon {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; background: var(--sky); color: var(--blue);
}
.modal__step--sent .btn--ghost { width: 100%; margin-top: 22px; }

/* Button-Ladezustand */
.btn__spinner { display: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; }
.btn.is-loading .btn__label { visibility: hidden; }
.btn.is-loading .btn__spinner { display: block; position: absolute; left: 50%; top: 50%; margin: -8px 0 0 -8px; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .modal-overlay, .modal { transition: none; }
  .btn.is-loading .btn__spinner { animation: none; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* Sanfte Kaskade für Grids/Timeline: jedes Kind zieht minimal nach */
.grid > .reveal:nth-child(2), .timeline > .reveal:nth-child(2), .team > .reveal:nth-child(2), .usecases > .reveal:nth-child(2) { transition-delay: .08s; }
.grid > .reveal:nth-child(3), .timeline > .reveal:nth-child(3), .usecases > .reveal:nth-child(3) { transition-delay: .16s; }
.grid > .reveal:nth-child(4), .timeline > .reveal:nth-child(4) { transition-delay: .24s; }
.grid > .reveal:nth-child(5) { transition-delay: .32s; }
.grid > .reveal:nth-child(6) { transition-delay: .4s; }

/* ---------- Legal pages ---------- */
.legal { padding-block: clamp(48px, 7vw, 96px); }
.legal .container { max-width: 820px; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 40px; }
.legal h2 { font-size: 1.4rem; margin: 40px 0 14px; }
.legal h3 { margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-2); font-size: 1rem; line-height: 1.7; }
.legal p { margin-bottom: 14px; }
.legal ul { padding-left: 22px; margin: 0 0 16px; display: grid; gap: 6px; }
.legal .backlink { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 30px; font-weight: 600; }
.legal .note { background: var(--sky-2); border: 1px solid var(--border); border-left: 3px solid var(--blue); border-radius: var(--r-sm); padding: 16px 18px; font-size: .9rem; color: var(--ink-2); }
.legal address { font-style: normal; line-height: 1.7; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .split, .contact { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .usecases { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav__links, .nav__cta .btn--ghost { display: none; }
  .nav__toggle {
    display: inline-grid; place-items: center; width: 44px; height: 44px;
    background: #fff; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; color: var(--navy);
    touch-action: manipulation;
  }
  .nav.open .nav__links {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; top: 72px; left: var(--gutter); right: var(--gutter);
    background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
    padding: 12px; box-shadow: var(--shadow-lg);
  }
  .nav.open .nav__links a { padding: 13px 16px; }
  .nav.open .nav__links-login {
    display: block; width: 100%; text-align: left; font: inherit; cursor: pointer;
    color: var(--ink-2); font-weight: 500; font-size: .95rem;
    padding: 13px 16px; border-radius: var(--r-sm); background: transparent; border: none;
    border-top: 1px solid var(--border); margin-top: 6px; padding-top: 17px;
  }
  .nav.open .nav__links-login:active { background: var(--sky-2); }
  .grid-2, .grid-3, .grid-4, .compare, .team, .usecases { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
  .timeline__item { gap: 18px; }

  /* Hero: Inhalt bestimmt die Höhe statt fast-Vollbild zu erzwingen */
  .hero__inner { min-height: auto; padding-block: 84px 56px; }
  .hero__eyebrow { margin-bottom: 18px; }
  /* H1 auf schmalen Screens verkleinern, damit lange Wörter (z. B. "Maßgeschneiderte") nicht rechts rauslaufen */
  .hero h1 { font-size: clamp(2rem, 8.2vw, 2.9rem); line-height: 1.1; -webkit-hyphens: auto; hyphens: auto; overflow-wrap: break-word; }

  .founder { padding: 24px; }
  .modal { padding: 30px 22px 26px; }
  .cookie { flex-direction: column; align-items: stretch; text-align: left; }
  .cookie .btn { width: 100%; }
}
@media (max-width: 420px) {
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand .logo-mark { width: 28px; height: 28px; }
  .nav__cta { gap: 8px; }
  .nav__cta .btn--primary { padding: 11px 16px; font-size: .88rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__video { display: none; }
  .hero__media { background: var(--navy) url("assets/hero-poster.jpg") center/cover; }
  * { scroll-behavior: auto !important; }
}
