/* KARAI – Advisory & Intelligence · Website Version 4 (Mobile First)
   Welt «Systemschema»: helles, kühles Papier, Navy-Flächen für Hero und Kontakt,
   Knoten und Leitungen als durchgehende Bildsprache. */

@font-face { font-family: "Geist"; src: url("../fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../fonts/GeistMono-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --navy: #0B1733;
  --navy-2: #12224A;
  --navy-line: #24356A;
  --on-navy: #EEF2FA;
  --on-navy-2: #A9B5D3;
  --paper: #F5F7FB;
  --paper-2: #EEF1F7;
  --white: #FFFFFF;
  --ink: #0B1733;
  --ink-2: #48536F;
  --ink-3: #59647F;
  --line: #DEE3EE;
  --line-2: #C9D1E2;
  --violet: #7B2FF7;
  --blue: #0B6CF2;
  --cyan: #0AA2FF;
  --link: #0A5FD8;
  --danger-on-navy: #FF8FA3;
  --ok: #3CC48E;
  --grad: linear-gradient(135deg, var(--violet) 0%, var(--blue) 60%, var(--cyan) 100%);

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);

  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --nav-h: 72px;
  --r: 12px;
  --r-lg: 20px;
  --shadow: 0 1px 2px rgba(11, 23, 51, .06), 0 14px 36px -18px rgba(11, 23, 51, .28);
  color-scheme: light;
  accent-color: var(--blue);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); scrollbar-color: var(--line-2) var(--paper); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.65 var(--f-sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  caret-color: var(--blue);
}
img, svg, canvas, picture { display: block; max-width: 100%; }
h1, h2, h3, h4, h5 { margin: 0; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol, dl, dd, figure { margin: 0; padding: 0; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select, textarea { font: inherit; color: inherit; }

::selection { background: rgba(11, 108, 242, .18); color: var(--ink); }
.on-navy ::selection { background: rgba(10, 162, 255, .35); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-navy :focus-visible { outline-color: var(--cyan); }
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 12px; border: 3px solid var(--paper); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--white); color: var(--ink); padding: 10px 16px; border-radius: 8px; text-decoration: none; transition: top 160ms var(--ease-out); }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* ---------- Buttons & links ---------- */
.btn {
  --h: 48px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 22px; border: 0; border-radius: var(--r);
  font: 500 0.9375rem/1 var(--f-sans); letter-spacing: -0.005em; text-decoration: none; white-space: nowrap;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: transform 160ms var(--ease-out), background-position 420ms var(--ease-out), background-color 180ms ease, box-shadow 180ms ease, color 180ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  color: #fff; background-image: linear-gradient(135deg, var(--violet) 0%, var(--blue) 50%, var(--violet) 100%);
  background-size: 200% 100%; background-position: 0% 0;
  box-shadow: 0 1px 1px rgba(11, 23, 51, .2), 0 10px 24px -12px rgba(11, 108, 242, .75);
}
.btn-primary:hover { background-position: 100% 0; }
.btn-line { color: var(--ink); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-line:hover { background: var(--white); box-shadow: inset 0 0 0 1px var(--ink-3); }
.on-navy .btn-line { color: var(--on-navy); box-shadow: inset 0 0 0 1px var(--navy-line); }
.on-navy .btn-line:hover { background: var(--navy-2); box-shadow: inset 0 0 0 1px #3A4C86; }
.btn-sm { --h: 44px; padding: 0 18px; font-size: 0.875rem; border-radius: 10px; }
.btn .arr { width: 16px; height: 16px; transition: transform 220ms var(--ease-out); }
.btn:hover .arr { transform: translateX(3px); }
.btn[disabled] { opacity: .65; cursor: progress; }

.ul { text-decoration: none; background: linear-gradient(currentColor, currentColor) no-repeat 0 100% / 0 1px; padding-bottom: 2px; transition: background-size 260ms var(--ease-out), color 160ms ease; }
.ul:hover { background-size: 100% 1px; }

/* ---------- Intro: KARAI → Advisory & Intelligence → Logo ---------- */
.intro { display: none; }
.intro-on { overflow: hidden; }
.intro-on .intro { display: grid; place-items: center; position: fixed; inset: 0; z-index: 200; color: var(--on-navy); }
.intro::before { content: ""; position: absolute; inset: 0; background: var(--navy); transition: opacity 760ms var(--ease-out); }
.intro.is-leaving::before { opacity: 0; }
.intro-word, .intro-final { grid-area: 1 / 1; position: relative; }
.intro-word { display: flex; font-size: clamp(4.5rem, 19vw, 15rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1; }
.intro-word span { display: inline-block; transform-origin: 0 0; }
.intro .g { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.intro-word > span:not(.g) { transition: opacity 440ms var(--ease-out), filter 440ms var(--ease-out), transform 440ms var(--ease-out); }
.intro-word.out > span:not(.g) { opacity: 0; filter: blur(8px); transform: translateY(-10px); }
.intro-word .g.move { transition: transform 820ms var(--ease-in-out); }
.intro-word.done { visibility: hidden; }
.intro-final { visibility: hidden; font-size: clamp(3rem, 11vw, 8.5rem); font-weight: 600; letter-spacing: -0.045em; line-height: 1.02; }
.intro-final.show { visibility: visible; }
.intro-final .ln { display: flex; align-items: baseline; }
.intro-final .ln + .ln { margin-left: 0.55em; }
.intro-final .cap { display: inline-block; visibility: hidden; transform-origin: 0 0; }
.intro-final.show .cap { visibility: visible; }
.intro-final .rest, .intro-final .amp { display: inline-block; clip-path: inset(0 100% 0 0); transition: clip-path 680ms var(--ease-out), opacity 380ms var(--ease-out), filter 380ms var(--ease-out); }
.intro-final .amp { margin-right: 0.18em; color: var(--on-navy-2); font-weight: 400; clip-path: inset(0 0 0 100%); }
.intro-final.write .rest, .intro-final.write .amp { clip-path: inset(0 0 0 0); }
.intro-final.write .ln + .ln .rest { transition-delay: 140ms; }
.intro.is-leaving .rest, .intro.is-leaving .amp { opacity: 0; filter: blur(6px); }
.intro-skip {
  position: absolute; right: max(var(--gutter), env(safe-area-inset-right, 0px)); bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  height: 44px; padding: 0 16px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--on-navy-2); font-size: 0.8125rem; box-shadow: inset 0 0 0 1px var(--navy-line);
  transition: color 160ms ease, transform 160ms var(--ease-out), opacity 200ms ease;
}
.intro-skip:hover { color: #fff; }
.intro-skip:active { transform: scale(0.96); }
.intro.is-leaving .intro-skip { opacity: 0; }
.intro-on .wm-ai { opacity: 0; }
.intro-on [data-ki-chat] { display: none !important; }

/* ---------- Header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  color: var(--on-navy);
  transition: background-color 240ms ease, box-shadow 240ms ease, color 240ms ease;
}
.site-head .wrap { display: flex; align-items: center; gap: 36px; height: var(--nav-h); }
.site-head.is-dark { background: rgba(11, 23, 51, .82); box-shadow: 0 1px 0 rgba(36, 53, 106, .8); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); }
.site-head.is-solid { background: rgba(245, 247, 251, .9); color: var(--ink); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: saturate(1.6) blur(14px); backdrop-filter: saturate(1.6) blur(14px); }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; color: inherit; flex: none; }
.brand .mark { width: 30px; height: 30px; }
.wm { font-weight: 700; font-size: 1.1rem; letter-spacing: 0.09em; line-height: 1; }
.wm-ai { display: inline-flex; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transition: opacity 200ms ease; }
.nav { display: flex; align-items: center; gap: 28px; margin-left: auto; font-size: 0.9375rem; }
.nav-links { position: relative; display: flex; gap: 6px; }
.nav-link { position: relative; padding: 12px 12px; text-decoration: none; opacity: .8; transition: opacity 160ms ease; }
.nav-link:hover, .nav-link[aria-current="true"] { opacity: 1; }
.nav-ind { position: absolute; left: 0; bottom: 6px; height: 2px; width: 1px; border-radius: 2px; background: var(--grad); transform-origin: 0 0; opacity: 0; transition: transform 380ms var(--ease-out), opacity 200ms ease; pointer-events: none; }
.site-head.past-hero .nav-cta { color: #fff; background-image: linear-gradient(135deg, var(--violet) 0%, var(--blue) 50%, var(--violet) 100%); background-size: 200% 100%; box-shadow: 0 1px 1px rgba(11, 23, 51, .2), 0 10px 24px -12px rgba(11, 108, 242, .75); }
.site-head:not(.past-hero) .nav-cta { color: var(--on-navy); box-shadow: inset 0 0 0 1px rgba(169, 181, 211, .45); }
.site-head:not(.past-hero) .nav-cta:hover { background: rgba(255, 255, 255, .06); }
.menu-btn { display: none; position: relative; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; cursor: pointer; transition: transform 160ms var(--ease-out); }
.menu-btn:active { transform: scale(0.95); }
.menu-btn span { position: absolute; left: 12px; width: 20px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform 260ms var(--ease-out); }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 24.5px; }
.nav-mail { display: none; }
.menu-open .menu-btn span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-btn { display: block; }
  .nav {
    position: fixed; inset: 0; z-index: -1; margin: 0;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 8px;
    padding: calc(var(--nav-h) + 24px + env(safe-area-inset-top, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px)) calc(32px + env(safe-area-inset-bottom, 0px)) max(var(--gutter), env(safe-area-inset-left, 0px));
    background: var(--navy); color: var(--on-navy);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity 240ms var(--ease-out), transform 300ms var(--ease-out), visibility 0s linear 300ms;
  }
  .nav-links { flex-direction: column; gap: 0; font-size: clamp(1.625rem, 7vw, 2.25rem); font-weight: 600; letter-spacing: -0.03em; }
  .nav-mail { display: inline-flex; align-items: center; min-height: 44px; margin-top: 12px; color: var(--on-navy-2); text-decoration: none; font-size: 1rem; }
  .nav-link { opacity: 1; padding: 6px 0; min-height: 48px; display: flex; align-items: center; }
  .nav-ind { display: none; }
  .nav .nav-cta { margin-top: 24px; font-size: 1rem; --h: 52px; padding: 0 24px; color: #fff !important; background-image: linear-gradient(135deg, var(--violet), var(--blue)) !important; box-shadow: none !important; }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity 240ms var(--ease-out), transform 300ms var(--ease-out), visibility 0s; }
  .menu-open .site-head { color: var(--on-navy); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .menu-open { overflow: hidden; }
  .menu-open [data-ki-chat] { display: none !important; }
}

/* ---------- Sections (mobile first) ---------- */
.section { padding-block: clamp(56px, 10vw, 144px); }
.on-navy { background: var(--navy); color: var(--on-navy); }
.alt { background: var(--paper-2); }
.h2 { font-size: clamp(1.75rem, 1.2rem + 2.6vw, 3.25rem); max-width: 18ch; letter-spacing: -0.035em; }
.lead { margin-top: 16px; font-size: 1rem; line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
@media (min-width: 721px) { .lead { margin-top: 22px; font-size: clamp(1.0625rem, 1.35vw, 1.25rem); } }
.on-navy .lead { color: var(--on-navy-2); }
.sec-head { margin-bottom: clamp(28px, 5vw, 64px); }
.label { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); }

/* Icon-System */
.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 11px; color: var(--blue); background: #E9F0FE; box-shadow: inset 0 0 0 1px #D6E3FC; }
.ico .i { width: 22px; height: 22px; }

/* one-time heading reveal: visible by default, JS adds .pre only below the fold */
.js .reveal.pre { clip-path: inset(0 0 100% 0); transform: translateY(14px); }
.js .reveal { transition: clip-path 760ms var(--ease-out), transform 760ms var(--ease-out); }

/* Weiterlesen (nur auf kleinen Bildschirmen eingeklappt) */
.more-btn { display: none; }
@media (max-width: 720px) {
  .js .more-body:not(.is-open) { display: none; }
  .js .more-btn {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 4px; padding: 0;
    border: 0; background: none; color: var(--link); font-size: 0.9375rem; font-weight: 500; cursor: pointer;
  }
  .js .more-btn::after { content: ""; width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 220ms var(--ease-out); }
  .js .more-btn[aria-expanded="true"]::after { transform: translateY(2px) rotate(-135deg); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: clip; isolation: isolate;
  display: grid; align-items: end;
  padding-block: calc(var(--nav-h) + 132px + env(safe-area-inset-top, 0px)) 44px;
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(0deg, rgba(11, 23, 51, .98) 0%, rgba(11, 23, 51, .92) 55%, rgba(11, 23, 51, .3) 85%, rgba(11, 23, 51, .1) 100%); }
.hero h1 { font-size: clamp(2.125rem, 9.6vw, 4.25rem); letter-spacing: -0.04em; line-height: 1.04; }
.hero h1 .l1, .hero h1 .l2 { display: block; width: fit-content; max-width: 100%; }
.hero h1 .l2 { color: #9FB3DD; }
.hero h1 .w { display: inline-block; }
.hero .lead { margin-top: 18px; max-width: 46ch; color: #B7C2DD; }
.hero-actions { display: grid; gap: 10px; margin-top: 26px; }
.hero-actions .btn { width: 100%; }
@media (min-width: 521px) { .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; } .hero-actions .btn { width: auto; } }
@media (min-width: 721px) { .hero { padding-bottom: 72px; } .hero .lead { margin-top: 24px; } .hero-actions { margin-top: 34px; } }
@media (min-width: 901px) {
  .hero { align-items: center; min-height: min(100svh, 880px); padding-block: calc(var(--nav-h) + 40px) 96px; }
  .hero::after { background: linear-gradient(90deg, rgba(11, 23, 51, .96) 0%, rgba(11, 23, 51, .8) 34%, rgba(11, 23, 51, 0) 62%); }
  .hero h1 .l1, .hero h1 .l2 { white-space: nowrap; }
  .hero h1 { font-size: clamp(2.75rem, 4.6vw, 4.25rem); }
  .hero .lead { margin-top: 28px; max-width: 46ch; }
  .hero-actions { margin-top: 40px; }
}
.no-js .hero { background-image: radial-gradient(circle at 1px 1px, #24356A 1.4px, transparent 1.6px); background-size: 64px 64px; background-position: right 48px top 40px; }
.js .hero .w, .js .hero [data-in] { animation: rise 820ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms + 100ms); }
.intro-hold .hero .w, .intro-hold .hero [data-in] { animation-play-state: paused; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }

/* ---------- Anwendungsfälle ---------- */
.split-head { margin-bottom: 24px; }
.cases { list-style: none; border-top: 1px solid var(--line-2); }
.cases li { display: grid; grid-template-columns: 28px minmax(0, 1fr); align-content: start; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cases .i { grid-row: span 2; width: 28px; height: 28px; color: var(--blue); stroke-width: 1.5; margin-top: -1px; }
.cases h3 { font-size: 1.0625rem; letter-spacing: -0.015em; line-height: 1.35; }
.cases p { grid-column: 2; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.55; }
@media (min-width: 721px) {
  .cases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases li { padding: 26px 28px 28px 0; }
  .cases li:nth-child(even) { padding: 26px 0 28px 28px; border-left: 1px solid var(--line); }
  .cases h3 { font-size: 1.1875rem; }
  .cases p { font-size: 1rem; }
}
@media (min-width: 1101px) {
  .split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(48px, 6vw, 96px); align-items: start; }
  .split-head { margin-bottom: 0; position: sticky; top: calc(var(--nav-h) + 40px); }
}

/* ---------- Kompetenzen ---------- */
.areas {
  position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px;
  padding: 4px; border-radius: 16px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line);
}
.area-ind { display: none; }
.area-tab {
  display: grid; justify-items: center; align-content: center; gap: 6px; min-height: 68px; padding: 10px 4px;
  border: 0; border-radius: 12px; background: transparent; color: var(--ink-2); cursor: pointer; text-align: center;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 220ms var(--ease-out), color 200ms ease, transform 160ms var(--ease-out);
}
.area-tab:active { transform: scale(0.97); }
.area-tab .i { width: 22px; height: 22px; }
.area-tab .t { font-size: 0.875rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.area-tab .pre-k, .area-tab .k { display: none; }
.area-tab[aria-selected="true"] { background: var(--navy); color: #fff; }
.area-tab[aria-selected="true"] .i { color: var(--cyan); }

.panels { margin-top: 24px; display: grid; }
.panel { grid-area: 1 / 1; display: grid; gap: clamp(32px, 6vw, 96px); align-items: start; }
.panel[hidden] { display: none; }
.panel.is-entering { animation: panelIn 420ms var(--ease-out) both; }
.panel.is-leaving { display: grid; animation: panelOut 200ms var(--ease-out) both; pointer-events: none; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes panelOut { to { opacity: 0; filter: blur(3px); } }
.js .panel-title { display: none; }
.panel-title { font-size: 1.375rem; letter-spacing: -0.03em; line-height: 1.2; }
.panel-intro { margin-top: 4px; color: var(--ink-2); font-size: 1rem; line-height: 1.6; max-width: 56ch; }
.svc-head { margin-top: 24px; padding-bottom: 12px; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; color: var(--ink); }
.svc { list-style: none; margin-top: 20px; border-top: 1px solid var(--line-2); }
.svc li { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-content: start; gap: 2px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.svc .ico { width: 36px; height: 36px; border-radius: 10px; grid-row: span 2; background: var(--white); }
.svc .ico .i { width: 20px; height: 20px; }
.svc h4 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.35; align-self: center; }
.svc p { grid-column: 2; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5; }
.schema { display: none; }

@media (min-width: 721px) {
  .areas { gap: 0; padding: 0; border-radius: 0; background: transparent; box-shadow: none; border-top: 1px solid var(--line-2); }
  .area-ind { display: block; position: absolute; left: 0; top: -1px; height: 2px; width: 1px; background: var(--grad); transform-origin: 0 0; transition: transform 460ms var(--ease-out); }
  .no-js .area-ind { display: none; }
  .area-tab { justify-items: start; align-content: start; gap: 4px; min-height: 0; padding: 24px 24px 26px 0; border-radius: 0; text-align: left; color: var(--ink-3); }
  .area-tab + .area-tab { padding-left: 24px; border-left: 1px solid var(--line); }
  .area-tab:active { transform: none; }
  .area-tab .i { width: 26px; height: 26px; margin-bottom: 8px; color: var(--ink-3); transition: color 200ms ease; }
  .area-tab .t { font-size: clamp(1.1875rem, 2vw, 1.5rem); letter-spacing: -0.03em; line-height: 1.15; }
  .area-tab .pre-k, .area-tab .k { display: inline; }
  .area-tab .k { display: block; font-size: 0.9375rem; font-weight: 500; color: var(--ink-2); line-height: 1.4; }
  .area-tab[aria-selected="true"], .area-tab:hover { background: transparent; color: var(--ink); }
  .area-tab[aria-selected="true"] .i { color: var(--blue); }
  .panels { margin-top: clamp(32px, 4vw, 52px); }
  .panel-title { display: none; }
  .panel-intro { margin-top: 0; color: var(--ink); font-size: clamp(1.1875rem, 1.8vw, 1.4375rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.4; max-width: 38ch; }
  .svc { margin-top: 32px; }
  .svc li { padding: 16px 0; }
  .svc p { font-size: 1rem; }
}
@media (min-width: 981px) {
  .panel { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .svc li { grid-template-columns: 36px minmax(0, 5fr) minmax(0, 6fr); align-items: center; gap: 0 18px; padding: 15px 0; }
  .svc .ico { grid-row: auto; }
  .svc p { grid-column: auto; }
  .schema { display: block; }
}
.schema { position: sticky; align-self: start; top: calc(var(--nav-h) + 32px); background: var(--white); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line), var(--shadow); padding: clamp(20px, 3vw, 32px); }
.schema svg { width: 100%; height: auto; margin-block: 4px; }
.ex-head { font-size: 1rem; font-weight: 600; letter-spacing: -0.015em; line-height: 1.35; color: var(--ink); padding-bottom: 4px; text-wrap: balance; }
.ex-foot { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--ink-2); }
.flow.built .stg { animation: stgIn 560ms var(--ease-out) both; animation-delay: calc(var(--d, 0) * 70ms); }
.flow.built .ln path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: lnIn 700ms var(--ease-out) 260ms forwards; }
.flow.built .ln path[stroke-dasharray="2 4"] { animation: none; stroke-dasharray: 2 4; stroke-dashoffset: 0; }
@keyframes stgIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes lnIn { to { stroke-dashoffset: 0; } }
.flow .stg { transform-box: fill-box; }
.flow .pulse path { stroke-dasharray: 14 86; stroke-dashoffset: 100; opacity: 0; }
.flow.run .pulse path { animation: pulse 1.8s var(--ease-in-out) 2; }
.flow.run .pulse path:nth-child(2) { animation-delay: .25s; }
.flow.run .pulse path:nth-child(3) { animation-delay: .5s; }
.flow.run .pulse path:nth-child(4) { animation-delay: .75s; }
@keyframes pulse { 0% { stroke-dashoffset: 100; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { stroke-dashoffset: 0; opacity: 0; } }


.no-js .areas { display: none; }
.no-js .panel[hidden] { display: grid; }
.no-js .panels { gap: 56px; margin-top: 0; }
.no-js .panel { grid-area: auto; }
.no-js .panel-title { display: block; }

/* ---------- Vorgehensmodell: Stepper ---------- */
.approach-head { margin-bottom: 28px; }
.stepper { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: 18px; }
.stepper-track { position: absolute; left: 12.5%; right: 12.5%; top: 21px; height: 2px; border-radius: 2px; background: var(--line-2); }
.stepper-fill { position: absolute; inset: 0; border-radius: inherit; background: var(--grad); transform-origin: left; transform: scaleX(var(--p, 0)); transition: transform 520ms var(--ease-out); }
.step-tab {
  position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; min-height: 76px; padding: 4px 2px 6px;
  border: 0; background: transparent; color: var(--ink-3); cursor: pointer; text-align: center; -webkit-tap-highlight-color: transparent;
  transition: color 200ms ease;
}
.step-tab .n {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: 0.875rem; font-weight: 600; font-variant-numeric: tabular-nums;
  transition: background-color 240ms ease, box-shadow 240ms ease, color 240ms ease, transform 300ms var(--ease-out);
}
.step-tab .nm { font-size: 0.8125rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.step-tab .sm { display: none; }
.step-tab:hover { color: var(--ink); }
.step-tab.is-done .n { background: var(--white); color: var(--link); box-shadow: inset 0 0 0 1.5px var(--blue); }
.step-tab[aria-selected="true"] { color: var(--ink); }
.step-tab[aria-selected="true"] .n { background: var(--blue); color: #fff; box-shadow: 0 0 0 5px rgba(11, 108, 242, .14); transform: scale(1.06); }

.step-panels { display: grid; }
.step-panel {
  display: none;
  background: var(--white); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); padding: 22px 20px 16px;
}
.step-panel.is-on { display: block; animation: panelIn 380ms var(--ease-out) both; }
.step-panel h3 { font-size: clamp(1.3125rem, 1rem + 1.4vw, 2rem); letter-spacing: -0.03em; line-height: 1.18; max-width: 24ch; }
.step-text { margin-top: 12px; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.6; max-width: 62ch; }
.ticks { list-style: none; margin-top: 16px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-size: 0.9375rem; line-height: 1.5; }
.ticks li::before { content: ""; position: absolute; left: 1px; top: 0.3em; width: 15px; height: 15px; border-radius: 50%; background: #E9F0FE; }
.ticks li::after { content: ""; position: absolute; left: 6px; top: calc(0.3em + 4px); width: 3px; height: 6px; border-right: 1.6px solid var(--blue); border-bottom: 1.6px solid var(--blue); transform: rotate(45deg); }
.result { display: grid; gap: 4px; margin-top: 20px; padding: 14px 16px; border-radius: 12px; background: var(--navy); color: var(--on-navy); }
.result b { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--cyan); }
.result span { font-weight: 500; line-height: 1.45; }
.step-nav { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.step-prev, .step-next {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 2px; border: 0; background: none;
  font-size: 0.9375rem; font-weight: 500; cursor: pointer; text-decoration: none;
}
.step-prev { color: var(--ink-2); }
.step-next { margin-left: auto; color: var(--link); font-weight: 600; }
.step-next .arr { width: 16px; height: 16px; transition: transform 220ms var(--ease-out); }
.step-next:hover .arr { transform: translateX(3px); }
.step-prev:hover { color: var(--ink); }

.no-js .stepper, .no-js .step-nav { display: none; }
.no-js .step-panels { gap: 16px; }
.no-js .step-panel { display: block; }

@media (min-width: 721px) {
  .step-tab .nm { font-size: 0.9375rem; }
  .step-panel { padding: 32px 32px 22px; }
  .step-text, .ticks li { font-size: 1rem; }
  .result { grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 16px; padding: 16px 20px; }
}
@media (min-width: 981px) {
  .approach { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; gap: 0 clamp(40px, 6vw, 96px); align-items: start; }
  .approach-head { grid-column: 1; margin-bottom: 40px; }
  .approach-head .h2 { max-width: 14ch; }
  .stepper { grid-column: 1; grid-row: 2; grid-template-columns: minmax(0, 1fr); gap: 4px; margin: 0; }
  .stepper-track { left: 17px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; }
  .stepper-fill { transform-origin: top; transform: scaleY(var(--p, 0)); }
  .step-tab { grid-template-columns: 36px minmax(0, 1fr); justify-items: start; align-items: center; gap: 2px 18px; min-height: 0; padding: 12px 0; text-align: left; }
  .step-tab .n { grid-row: span 2; }
  .step-tab .nm { font-size: 1.1875rem; letter-spacing: -0.02em; }
  .step-tab .sm { display: block; font-size: 0.875rem; color: var(--ink-2); font-weight: 400; }
  .step-panels { grid-column: 2; grid-row: 1 / span 2; }
  .step-panel, .step-panel.is-on { display: block; grid-area: 1 / 1; visibility: hidden; opacity: 0; animation: none; padding: clamp(32px, 3.4vw, 48px) clamp(32px, 3.4vw, 48px) 28px; transition: opacity 260ms var(--ease-out), visibility 0s linear 260ms; }
  .step-panel.is-on { visibility: visible; opacity: 1; transition: opacity 360ms var(--ease-out) 60ms, visibility 0s; }
  .no-js .step-panel { grid-area: auto; visibility: visible; opacity: 1; }
}

/* ---------- Sicherheit und Betrieb ---------- */
.ops-list { list-style: none; border-top: 1px solid var(--navy-line); }
.ops-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--navy-line); }
.ops-list .i { grid-row: span 2; color: var(--cyan); margin-top: 1px; }
.ops-list h3 { font-size: 1.0625rem; letter-spacing: -0.015em; line-height: 1.35; color: #fff; }
.ops-list p { grid-column: 2; color: var(--on-navy-2); font-size: 0.9375rem; line-height: 1.55; }
@media (min-width: 721px) {
  .ops-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-list li { padding: 24px 28px 26px 0; }
  .ops-list li:nth-child(even) { padding: 24px 0 26px 28px; border-left: 1px solid var(--navy-line); }
}
@media (min-width: 1101px) {
  .ops-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 0 clamp(48px, 6vw, 96px); align-items: end; }
  .ops-head .lead { margin-top: 0; }
  .ops-list { grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--navy-line); }
  .ops-list li, .ops-list li:nth-child(even) { grid-template-columns: minmax(0, 1fr); align-content: start; gap: 0; padding: 30px 26px 34px; border-bottom: 0; border-left: 1px solid var(--navy-line); }
  .ops-list li:first-child { padding-left: 0; border-left: 0; }
  .ops-list li:last-child { padding-right: 0; }
  .ops-list .i { grid-row: auto; width: 28px; height: 28px; margin: 0 0 22px; }
  .ops-list h3 { font-size: 1.125rem; }
  .ops-list p { grid-column: auto; margin-top: 8px; }
}

/* ---------- Warum KARAI ---------- */
.about-top .h2 { max-width: 22ch; }
.about-text { margin-top: 18px; display: grid; gap: 12px; max-width: 62ch; }
.about-lead { font-size: 1.125rem; font-weight: 500; letter-spacing: -0.01em; line-height: 1.5; }
.about-text .more-body { display: grid; gap: 12px; color: var(--ink-2); line-height: 1.6; }
.values { list-style: none; margin-top: 32px; }
.values li { position: relative; padding: 16px 0 14px; border-top: 1px solid var(--line-2); }
.values li::before { content: ""; position: absolute; top: -1px; left: 0; width: 28px; height: 2px; background: var(--grad); }
.values h3 { font-size: 1rem; letter-spacing: -0.01em; line-height: 1.3; }
.values p { margin-top: 3px; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.5; }
@media (min-width: 721px) {
  .about-text { margin-top: 24px; }
  .about-lead { font-size: clamp(1.1875rem, 1.7vw, 1.4375rem); }
  .values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; margin-top: 56px; }
  .values li { padding: 22px 0 26px; }
}
@media (min-width: 901px) { .about-top .about-text { margin-top: 0; } .about-top { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; } }
@media (min-width: 1101px) {
  .values { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: clamp(24px, 2.6vw, 40px); margin-top: clamp(56px, 7vw, 88px); }
  .values li { padding: 26px 0 0; }
  .values h3 { font-size: 1.0625rem; }
  .values p { margin-top: 8px; }
}

/* ---------- Gründer: aufklappbare Profile ---------- */
.team { margin-top: 40px; }
.team-title { font-size: 1.125rem; letter-spacing: -0.02em; }
.team-list { display: grid; gap: 12px; margin-top: 14px; }
.person { scroll-margin-top: calc(var(--nav-h) + 16px); background: var(--white); border-radius: 18px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow 260ms ease; }
.person.is-open { box-shadow: 0 0 0 1px var(--line-2), var(--shadow); }
.person-row { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 12px; }
.person picture { display: block; grid-row: span 2; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; background: var(--navy); }
.person img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.person-text { display: grid; gap: 2px; min-width: 0; align-self: end; }
.person-name { font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.person-role { font-size: 0.875rem; color: var(--ink-2); }
.person-claim { display: none; }
.person-toggle {
  grid-column: 2; justify-self: start; align-self: start; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0;
  border: 0; background: none; color: var(--link); font-size: 0.9375rem; font-weight: 600; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.person-toggle .i { width: 18px; height: 18px; transition: transform 300ms var(--ease-out); }
.person-toggle[aria-expanded="true"] .i { transform: rotate(45deg); }
.person-full { display: grid; gap: 24px; padding: 4px 16px 8px; border-top: 1px solid var(--line); padding-top: 20px; margin: 0 0 0; }
.js .person-full:not(.is-open) { display: none; }
.person-full.is-open { animation: panelIn 420ms var(--ease-out) both; }
.pf-bio { display: grid; gap: 12px; line-height: 1.65; max-width: 66ch; }
.pf-bio p + p { color: var(--ink-2); }
.pexp { list-style: none; margin-top: 10px; border-top: 1px solid var(--line-2); }
.pexp li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.pexp h5 { font-size: 1rem; letter-spacing: -0.015em; line-height: 1.35; }
.pexp p { margin-top: 3px; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.55; }
.creds { display: grid; gap: 20px; }
.creds dt { font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.creds dd { line-height: 1.45; }
.creds dd + dd { margin-top: 6px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { display: inline-flex; align-items: center; min-height: 34px; padding: 4px 14px; border-radius: 999px; font-size: 0.875rem; font-weight: 500; letter-spacing: -0.005em; line-height: 1.3; color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); }
.person-close {
  justify-self: start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px;
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font-size: 0.875rem; font-weight: 500; cursor: pointer;
  transition: box-shadow 180ms ease, transform 160ms var(--ease-out);
}
.person-close:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
.person-close:active, .person-toggle:active { transform: scale(0.97); }
.no-js .person-toggle, .no-js .person-close { display: none; }
@media (min-width: 721px) {
  .team { margin-top: clamp(64px, 8vw, 104px); }
  .team-title { font-size: 1.375rem; }
  .team-list { gap: 16px; margin-top: 20px; }
  .person { border-radius: 22px; }
  .person-row { grid-template-columns: 112px minmax(0, 1fr) auto; grid-template-rows: auto; gap: 0 28px; padding: 16px 28px 16px 16px; }
  .person picture { grid-row: auto; border-radius: 12px; }
  .person-text { align-self: center; }
  .person-name { font-size: 1.3125rem; }
  .person-role { font-size: 0.9375rem; }
  .person-claim { display: block; margin-top: 8px; font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.015em; line-height: 1.35; color: var(--ink); }
  .person-toggle { grid-column: 3; align-self: center; padding: 0 18px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); font-size: 0.9375rem; transition: box-shadow 180ms ease; }
  .person-toggle:hover { box-shadow: inset 0 0 0 1px var(--ink-3); }
  .person-full { gap: 32px; padding: 32px 28px 28px; }
  .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
  .creds .cred-chips { grid-column: 1 / -1; }
}
@media (min-width: 981px) {
  .person-full { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 36px clamp(40px, 5vw, 72px); padding: 36px 40px 32px 144px; }
  .pf-bio { font-size: 1.0625rem; }
  .pf-exp { grid-column: 2; grid-row: 1 / span 2; }
  .creds { grid-column: 1; }
  .person-close { grid-column: 1; }
}

/* ---------- Referenzen (erscheint erst mit echtem Inhalt) ---------- */
.refs-section:not(:has(.ref-card)) { display: none; }
.refs { display: grid; gap: 16px; }
.ref-card { background: var(--white); border-radius: var(--r-lg); box-shadow: 0 0 0 1px var(--line); padding: clamp(20px, 3.4vw, 44px); }
.ref-head { display: flex; align-items: center; gap: 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.ref-logo { width: auto; max-width: 140px; height: 40px; object-fit: contain; }
.ref-client { font-size: 1.25rem; letter-spacing: -0.02em; }
.ref-branch { font-size: 0.875rem; color: var(--ink-2); }
.ref-facts { display: grid; gap: 14px 32px; margin: 20px 0 0; }
.ref-facts dt { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-2); }
.ref-facts dd { margin-top: 4px; line-height: 1.55; }
.ref-results { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.ref-results li { display: grid; padding: 12px 16px; border-radius: 12px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.ref-results b { font-size: 1.375rem; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ref-results span { font-size: 0.875rem; color: var(--ink-2); }
.ref-quote { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.ref-quote blockquote { margin: 0; font-size: clamp(1.0625rem, 1.6vw, 1.3125rem); font-weight: 500; letter-spacing: -0.015em; line-height: 1.45; }
.ref-quote figcaption { margin-top: 10px; font-size: 0.9375rem; color: var(--ink-2); }
.ref-quote figcaption b { color: var(--ink); font-weight: 600; }
@media (min-width: 721px) { .ref-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.faq-head { margin-bottom: 20px; }
.acc { border-top: 1px solid var(--line-2); }
.acc details { border-bottom: 1px solid var(--line-2); }
.acc summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 56px; padding: 14px 0;
  list-style: none; cursor: pointer; font-weight: 600; letter-spacing: -0.01em; line-height: 1.4; -webkit-tap-highlight-color: transparent;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary .i { width: 20px; height: 20px; color: var(--ink-3); transition: transform 300ms var(--ease-out), color 200ms ease; }
.acc summary:hover .i { color: var(--blue); }
.acc details[open] summary .i { transform: rotate(45deg); color: var(--blue); }
.acc-body p { padding: 0 36px 18px 0; color: var(--ink-2); line-height: 1.6; max-width: 64ch; }
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .acc details::details-content { height: 0; overflow: clip; transition: height 320ms var(--ease-out), content-visibility 320ms allow-discrete; }
  .acc details[open]::details-content { height: auto; }
}
@media (min-width: 721px) { .acc summary { font-size: 1.0625rem; min-height: 64px; padding: 18px 0; } }
@media (min-width: 981px) {
  .faq { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .faq-head { position: sticky; top: calc(var(--nav-h) + 40px); margin-bottom: 0; }
}

/* ---------- Kontakt ---------- */
.contact { position: relative; overflow: clip; isolation: isolate; }
.contact .bg-net { position: absolute; right: -80px; top: -40px; width: min(720px, 90vw); height: auto; z-index: -1; opacity: .55; pointer-events: none; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact h2 { font-size: clamp(2.125rem, 1.3rem + 4vw, 4.75rem); letter-spacing: -0.04em; line-height: 1; max-width: 10ch; }
.direct { margin-top: clamp(20px, 4vw, 44px); display: grid; gap: 14px; }
.mailbox { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.mailbox a { display: inline-flex; align-items: center; min-height: 44px; font-size: clamp(1.0625rem, 1.6vw, 1.25rem); font-weight: 500; letter-spacing: -0.01em; color: #fff; }
.copy-btn { height: 44px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--navy-2); color: var(--on-navy-2); font-size: 0.8125rem; cursor: pointer; box-shadow: inset 0 0 0 1px var(--navy-line); transition: transform 160ms var(--ease-out), color 160ms ease, background-color 160ms ease; }
.copy-btn:hover { color: #fff; background: #172a59; }
.copy-btn:active { transform: scale(0.96); }
.place { display: flex; align-items: center; gap: 10px; color: var(--on-navy-2); }
.place svg { width: 18px; height: 18px; }

.form { background: var(--navy-2); border-radius: 20px; padding: clamp(18px, 3.4vw, 40px); box-shadow: inset 0 0 0 1px var(--navy-line); }
.form-title { font-size: 1.1875rem; letter-spacing: -0.02em; color: #fff; margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; }
.field { display: grid; gap: 8px; min-width: 0; scroll-margin-top: calc(var(--nav-h) + 32px); }
.field.full { grid-column: 1 / -1; }
.field > label { font-size: 0.875rem; font-weight: 500; color: var(--on-navy); }
.field .opt { color: var(--on-navy-2); font-weight: 400; }
.input { width: 100%; min-width: 0; height: 48px; padding: 0 14px; border-radius: 10px; border: 0; background: var(--navy); color: var(--on-navy); box-shadow: inset 0 0 0 1px var(--navy-line); transition: box-shadow 160ms ease; caret-color: var(--cyan); }
.input:hover { box-shadow: inset 0 0 0 1px #3A4C86; }
.input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--cyan), 0 0 0 4px rgba(10, 162, 255, .16); }
textarea.input { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.field.has-error .input { box-shadow: inset 0 0 0 1.5px var(--danger-on-navy); }
.err { font-size: 0.8125rem; color: var(--danger-on-navy); }
.err:empty { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; font-size: 0.9375rem; color: var(--on-navy-2); line-height: 1.5; cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--blue); }
.consent a { color: var(--on-navy); }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 10px; }
.form-status { font-size: 0.9375rem; color: var(--on-navy-2); display: grid; gap: 10px; flex: 1 1 260px; }
.form-status:empty { display: none; }
.form-status.bad { color: var(--danger-on-navy); }
.form-status .copy-btn { justify-self: start; }
.form-done { display: grid; gap: 10px; justify-items: start; padding: 28px 0; }
.form-done svg { width: 52px; height: 52px; }
.form-done circle { stroke-dasharray: 151; stroke-dashoffset: 151; animation: draw 600ms var(--ease-out) forwards; }
.form-done path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw 360ms var(--ease-out) 380ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form-done h3 { font-size: 1.5rem; letter-spacing: -0.025em; }
.form-done p { color: var(--on-navy-2); }
@media (max-width: 980px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .form-grid { gap: 14px 12px; }
  .form-grid .field:nth-child(-n+2) { grid-column: 1 / -1; }
  .form-foot .btn { width: 100%; }
  textarea.input { min-height: 104px; }
  .contact .bg-net { display: none; }
}

/* ---------- Footer ---------- */
.site-foot { background: var(--navy); color: var(--on-navy-2); border-top: 1px solid var(--navy-line); padding-block: 32px calc(40px + env(safe-area-inset-bottom, 0px)); font-size: 0.875rem; }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; }
.site-foot .brand { color: var(--on-navy); }
.site-foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 0 24px; margin-left: auto; }
.site-foot nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-navy); }
@media (max-width: 720px) {
  .site-foot .wrap { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; }
  .site-foot .brand { grid-row: span 2; }
  .site-foot nav { grid-column: 1 / -1; margin: 12px 0 0; gap: 0 20px; }
  .site-foot nav span { width: 100%; }
}

/* ---------- Unterseiten ---------- */
.legal { padding-block: calc(var(--nav-h) + 72px) 120px; }
.legal .wrap { max-width: calc(820px + 2 * var(--gutter)); }
.legal h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); letter-spacing: -0.04em; }
.legal .lead { margin-top: 16px; }
.legal h2 { font-size: 1.375rem; letter-spacing: -0.02em; margin-top: 48px; }
.legal p, .legal ul { margin-top: 12px; color: var(--ink-2); max-width: 68ch; }
.legal ul { padding-left: 1.2em; }
.legal li + li { margin-top: 6px; }
.legal address { font-style: normal; margin-top: 12px; line-height: 1.7; }
.legal a:not(.btn) { color: var(--link); }
.page-legal .site-head .nav-cta { color: #fff; background-image: linear-gradient(135deg, var(--violet) 0%, var(--blue) 50%, var(--violet) 100%); background-size: 200% 100%; box-shadow: none; }
.notfound { min-height: 100svh; display: grid; align-content: center; padding-block: calc(var(--nav-h) + 48px) 96px; }
.notfound h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); letter-spacing: -0.04em; max-width: 14ch; }
.notfound .lead { max-width: 46ch; }
.notfound .hero-actions { margin-top: 32px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 1ms !important; animation-delay: 0ms !important; transition-duration: 1ms !important; transition-delay: 0ms !important; }
  .js .hero .w, .js .hero [data-in] { animation: none; }
  .js .reveal.pre { clip-path: none; transform: none; }
}
