/* ==========================================================================
   edda · askedda.ai · Landingpage V27
   Aufbau aus V24 (inspiriert von zaro.ai), Look and Feel aus dem edda-Design (Figma „EDDA Design“)
   und aus der App (Knowledge Pools): warmes Papier, graue Bestände, Petrol nur für Auswahl und Herkunft,
   Geist Mono für Beschriftungen in Großbuchstaben, Schlüssel-Wert-Listen, Passkreuz-Raster.
   Formen bleiben eckig wie in V24: harte Kanten, quadratische Marker, schräge Registerlaschen.
   V27: kurze Headline, Rahmenlinien mit Abstand zum Inhalt, Inhaltsbreite 1600 px (Wide).
   ========================================================================== */

@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../assets/fonts/geist-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("../assets/fonts/source-serif-pro-latin-ext-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif Pro";
  src: url("../assets/fonts/source-serif-pro-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Petrol (aus den Figma-Variablen) */
  --accent-50: #F0F8FA;
  --accent-100: #DCEEF2;
  --accent-200: #BFE1E9;
  --accent-300: #93CBD9;
  --accent-400: #5FADC4;   /* neu, live, aktiv */
  --accent-600: #27788F;
  --accent-800: #155E75;   /* Markenfarbe */
  --accent-900: #124A5C;
  --accent-950: #0B3240;

  /* Warmes Papier und Tinte */
  --bg: #FBFAF8;
  --bg-alt: #F4F1EB;
  --surface: #FFFFFF;
  --subtle: #F7F5F1;
  --inset: #EFECE6;
  --border: #E3DFD7;
  --border-2: #D0CBC1;
  --muted: #A8A399;
  --ink: #201F1C;
  --text: #5C5952;         /* Fließtext zweite Ebene */
  --text-3: #736F67;       /* Schlüssel und Nebenangaben wie in der App, aber lesbar (5:1 auf Weiß) */
  --pool: #C2BDB3;         /* Bestand: Punkte der Wissensbereiche */
  --warning-bg: #FBEED2;
  --warning-fg: #8A5A00;
  --error: #B42318;

  /* Auf Petrol-Flächen */
  --on-dark: #FFFFFF;
  --on-dark-2: var(--accent-200);
  --on-dark-line: rgba(191, 225, 233, 0.18);

  /* Eckige Formensprache: harte Kanten, nur Chat-Elemente sind gerundet */
  --radius: 2px;
  --radius-ui: 14px;
  --shadow-sm: 0 1px 2px rgba(23, 23, 20, 0.06);
  --shadow-md: 0 8px 24px rgba(23, 23, 20, 0.06), 0 2px 6px rgba(23, 23, 20, 0.06);
  --shadow-lg: 0 16px 48px rgba(23, 23, 20, 0.1), 0 4px 12px rgba(23, 23, 20, 0.08);

  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Source Serif Pro", "Source Serif 4", Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  /* Raster: Rahmenlinie (--line) mit Luft zum Inhalt (--gutter). --vw setzt js/site.js ohne Scrollleiste. */
  --vw: 100vw;
  --content: 1600px;                            /* Inhaltsbreite */
  --gutter: clamp(16px, 4.4vw, 64px);           /* Abstand Linie bis Inhalt */
  --frame: clamp(10px, 2.2vw, 32px);            /* Mindestabstand Fensterrand bis Linie */
  --line: max(var(--frame), calc((var(--vw) - var(--content)) / 2 - var(--gutter)));
  --edge: calc(var(--line) + var(--gutter));    /* Innenkante des Inhalts */
  --ease: cubic-bezier(0.2, 0, 0, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; padding: 0; font-weight: inherit; }
ul, ol { list-style: none; }
img, svg, canvas { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent-100); color: var(--ink); }

:focus-visible { outline: 2px solid var(--accent-800); outline-offset: 3px; }
.vault :focus-visible, .contact :focus-visible, .footer :focus-visible { outline-color: #fff; }
.form :focus-visible { outline-color: var(--accent-800); }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--accent-800); color: #fff; font-weight: 500; text-decoration: none; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; padding-inline: var(--edge); }

/* Ein Farbton für alle Fotos: etwas wärmer und heller */
.photo { filter: sepia(0.1) saturate(0.94) brightness(1.03); }

/* ---------- Typografie ---------- */
.display { font-family: var(--serif); font-size: clamp(46px, 5.1vw, 72px); line-height: 1.04; font-weight: 400; letter-spacing: -0.022em; text-wrap: balance; }
.h2 { font-family: var(--serif); font-size: clamp(36px, 4vw, 54px); line-height: 1.08; font-weight: 400; letter-spacing: -0.018em; text-wrap: balance; }
.h3 { font-family: var(--serif); font-size: 25px; line-height: 1.2; font-weight: 400; letter-spacing: -0.01em; }
.line { display: block; }
.nowrap { white-space: nowrap; }
.line--soft { color: var(--accent-800); }
.lead { font-size: 19px; line-height: 1.6; color: var(--text); }
/* Beschriftungen wie in der App: Geist Mono, Großbuchstaben, gesperrt */
.eyebrow { margin-bottom: 22px; font-family: var(--mono); font-size: 12px; line-height: 1.4; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-800); }
.contact .eyebrow { color: var(--accent-200); }
.label { font-family: var(--mono); font-size: 11px; line-height: 1.4; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }
.tag { display: inline-flex; align-items: center; height: 24px; padding: 0 8px; background: var(--subtle); border: 1px solid var(--border); border-radius: var(--radius); font-size: 12px; color: var(--text); white-space: nowrap; }
/* Schlüssel-Wert-Liste wie im Inspektor der App */
.kv { display: flex; flex-direction: column; margin: 0; }
.kv > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--inset); font-family: var(--mono); font-size: 12px; line-height: 1.4; }
.kv dt { flex: none; color: var(--text-3); }
.kv dd { margin: 0; min-width: 0; color: var(--ink); text-align: right; overflow-wrap: anywhere; }
/* Zitat aus einer Quelle: helle Petrol-Linie links */
.excerpt { margin: 0; padding: 2px 0 2px 14px; border-left: 2px solid var(--accent-200); font-size: 15px; line-height: 1.6; color: var(--ink); text-wrap: pretty; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 44px; padding: 0 20px;
  border-radius: var(--radius); font-size: 15px; font-weight: 500; text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s, scale 0.15s ease-out;
}
.btn:active { scale: 0.96; }
.btn--lg { height: 52px; padding: 0 26px; font-size: 16px; font-weight: 600; }
.btn--block { width: 100%; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 13.5px; }
.btn--primary { background: var(--accent-800); color: #fff; }
.btn--line { background: var(--surface); border: 1px solid var(--border-2); color: var(--ink); }
.btn--primary:focus-visible { outline-offset: 2px; box-shadow: 0 0 0 2px #fff; }
.i-arrow { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: translate 0.2s var(--ease); }
@media (hover: hover) {
  .btn--primary:hover { background: var(--accent-900); }
  .btn--line:hover { border-color: var(--ink); }
  .btn:hover .i-arrow { translate: 2px 0; }
}

/* Icons aus dem edda-Set, eingefärbt über currentColor */
.ico { display: inline-block; flex: none; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.ico--filetext { --i: url("../assets/img/icons/icon-filetext-22.svg"); }
.ico--user { --i: url("../assets/img/icons/icon-user-22.svg"); }
.ico--database { --i: url("../assets/img/icons/icon-database-22.svg"); }
.ico--shieldcheck { --i: url("../assets/img/icons/icon-shieldcheck-22.svg"); }
.ico--eyeslash { --i: url("../assets/img/icons/icon-eyeslash-22.svg"); }
.ico--listchecks { --i: url("../assets/img/icons/icon-listchecks-22.svg"); }

/* ---------- Zeichenblatt: Rahmenlinien mit Abstand zum Inhalt, Passkreuze an den Stößen ---------- */
.sheet {
  position: relative;
  background-image: linear-gradient(var(--border-2), var(--border-2)), linear-gradient(var(--border-2), var(--border-2));
  background-repeat: no-repeat;
  background-size: 1px 100%, 1px 100%;
  background-position: var(--line) 0, calc(100% - var(--line)) 0;
  border-top: 1px solid var(--border-2);
}
.sheet::before, .sheet::after {
  content: ""; position: absolute; top: -6px; width: 11px; height: 11px; pointer-events: none;
  background: linear-gradient(var(--ink), var(--ink)) center / 1px 100% no-repeat, linear-gradient(var(--ink), var(--ink)) center / 100% 1px no-repeat;
}
.sheet::before { left: calc(var(--line) - 5px); }
.sheet::after { right: calc(var(--line) - 5px); }
.hero.sheet { border-top: 0; }
.hero.sheet::before, .hero.sheet::after { display: none; }

/* ---------- Abschnitte ---------- */
.section { padding-block: 120px; }
.section--alt { background-color: var(--bg-alt); }
.sec-head { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px 64px; align-items: end; margin-bottom: 56px; }
.sec-head__p { color: var(--text); max-width: 34em; text-wrap: pretty; }
.sec-head--row { grid-template-columns: minmax(0, 1fr) auto; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.nav { position: sticky; top: 0; z-index: 50; padding: 12px var(--line) 0; }
.nav__bar {
  height: 60px; display: flex; align-items: center; gap: 32px; padding: 0 8px 0 calc(var(--gutter) - 1px);
  background: rgba(255, 255, 255, 0.82); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.nav__brand { flex: none; line-height: 0; }
.nav__links { display: flex; gap: 28px; margin-right: auto; font-size: 15px; }
.nav__links a { text-decoration: none; color: var(--text); transition: color 0.15s; }
@media (hover: hover) { .nav__links a:hover { color: var(--ink); } }
.nav__cta { margin-left: auto; }
.nav__cta-short { display: none; }

/* ==========================================================================
   Hero mit Einarbeitungs-Zeichnung
   ========================================================================== */
.hero { padding: 64px 0 0; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 5.4fr) minmax(0, 6.6fr); gap: 24px; align-items: center; min-height: 600px; }
.hero__text { display: flex; flex-direction: column; gap: 28px; padding-block: 24px; container-type: inline-size; }
/* Headline: jede Zeile füllt die Spalte (--fit = Zeilenbreite in em). */
.hl__v { --fit: 5.85; display: block; font-size: clamp(30px, calc(100cqi / var(--fit)), 96px); letter-spacing: -0.022em; }
.hero__text .eyebrow { margin-bottom: -10px; }
.hero__lead { max-width: 30em; text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }

.drawing { position: relative; width: 100%; max-width: 720px; justify-self: end; }
.drawing__canvas { width: 100%; height: auto; aspect-ratio: 640 / 560; }
.drawing__scale { position: absolute; inset: 0; pointer-events: none; }
.scale-stop {
  position: absolute; left: var(--x, 78%); top: var(--y, 50%); transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 2px; padding-left: 14px; font-size: 12.5px; line-height: 1.3; color: var(--text); white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.scale-stop b { align-self: flex-start; padding: 1px 8px; margin-left: -8px; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: 0.04em; color: var(--text); transition: background-color 0.3s var(--ease), color 0.3s var(--ease); }
.scale-stop.is-on { color: var(--ink); }
.scale-stop.is-on b { background: var(--accent-800); color: #fff; }

.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 40px 0 64px; }
.strip__cell { display: flex; flex-direction: column; gap: 10px; }
.strip__k { font-size: 13px; color: var(--text); }
.strip__v { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 10px; height: 64px; background: var(--surface); border: 1px solid var(--border); transition: border-color 0.2s var(--ease); }
.strip__v img { width: auto; height: 23px; }
.strip__v--text { font-size: 15px; font-weight: 500; }
.strip__v img.strip__logo--kibv { height: 20px; }
.strip__v img.strip__logo--vdma { height: 54px; }
.strip__a { display: flex; align-items: center; justify-content: center; gap: 10px; color: inherit; text-decoration: none; }
@media (hover: hover) { .strip__v:hover { border-color: var(--ink); } }
.strip__v:has(:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.strip__a:focus-visible { outline: none; }
.strip__v--text .strip__a { padding: 0 12px; }
.strip__v--text .strip__t { line-height: 1.3; text-align: left; white-space: nowrap; }
/* Wechselnde Inhalte (js/rotate.js): alle Elemente im selben Gitterfeld, der Rahmen steht fest, die Höhe bleibt gleich. Ohne JS steht das erste da. */
[data-rotate] { display: grid; }
.strip__v > [data-rotate] { width: 100%; height: 100%; }
[data-rotate] > [data-rotate-item] { grid-area: 1 / 1; }
[data-rotate]:not(.is-rot) > [data-rotate-item]:not(:first-child) { display: none; }
[data-rotate].is-rot > [data-rotate-item]:not(.is-active) { opacity: 0; pointer-events: none; }
.flag { display: inline-flex; flex-direction: column; width: 18px; height: 12px; overflow: hidden; }
.flag i { flex: 1; } .flag i:nth-child(1) { background: #000; } .flag i:nth-child(2) { background: #DD0000; } .flag i:nth-child(3) { background: #FFCE00; }
.flag--eu { background: #003399 url("../assets/img/icons/flag-eu.svg") center / cover no-repeat; }

/* Quellen-Chip */
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border: 1px solid var(--border); border-radius: var(--radius); font-size: 13px; line-height: 1.4; color: var(--ink); background: var(--subtle); }
.chip img { width: auto; height: 12px; }
.chip--head { background: var(--warning-bg); border-color: #EBD7A8; color: var(--warning-fg); }
.chip--head svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.4; }

/* Köpfe: Lageplan mit Leuten links, drei Zahlen rechts */
.heads { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: center; }
.heads__fig { padding: 8px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.heads__canvas { display: block; width: 100%; height: auto; aspect-ratio: 640 / 400; }
.heads__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 12px 12px 6px; border-top: 1px solid var(--inset); font-family: var(--mono); font-size: 11px; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }
.heads__legend span { display: inline-flex; align-items: center; gap: 8px; }
.heads__legend i { width: 8px; height: 8px; }
.hl-p { background: var(--pool); }
.hl-k { background: var(--accent-800); }
.hl-q { border-radius: 50%; background: var(--accent-400); }
.hl-r { border: 1px dashed var(--warning-fg); }
.heads__facts li { display: grid; gap: 6px; padding: 24px 0; border-top: 1px solid var(--border); }
.heads__facts li:last-child { border-bottom: 1px solid var(--border); }
.heads__facts b { font-family: var(--serif); font-size: clamp(36px, 3.4vw, 48px); line-height: 1.05; font-weight: 400; color: var(--accent-800); }
.heads__facts span { font-size: 16.5px; line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.heads__facts small { font-family: var(--mono); font-size: 11.5px; line-height: 1.4; color: var(--text-3); }
.heads__facts a { color: var(--accent-800); text-decoration: underline; text-underline-offset: 3px; }

/* ==========================================================================
   Unterschied: Chat-Assistent gegen edda
   ========================================================================== */
.versus { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.versus__panel { display: flex; flex-direction: column; gap: 10px; padding: 32px 32px 36px; }
.versus__panel--off { background: var(--subtle); }
.versus__panel--on { background: var(--accent-950); color: var(--on-dark); }
.versus__panel--off .h3 { color: var(--text); }
.versus__panel--on .h3 { color: #fff; }
.versus__panel--on .versus__sub { color: var(--on-dark-2); }
.versus__panel--on .vcard { color: var(--ink); }
/* Wer antwortet: groß über jeder Hälfte, damit der Vergleich auf den ersten Blick klar ist */
.versus__who { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; font-family: var(--serif); font-size: 32px; line-height: 1.05; letter-spacing: -0.015em; }
.versus__who small { display: block; margin-top: 6px; font-family: var(--mono); font-size: 11px; line-height: 1.3; letter-spacing: 0.1em; text-transform: uppercase; }
.versus__panel--off .versus__who { color: var(--text); }
.versus__panel--off .versus__who small { color: var(--text-3); }
.versus__panel--on .versus__who { color: #fff; }
.versus__panel--on .versus__who small { color: var(--accent-300); }
.versus__ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; }
.versus__ico--off { background: var(--surface); border: 1px solid var(--border-2); color: var(--muted); }
.versus__ico--off svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: square; }
.versus__ico--on { background: #fff; }
.versus__ico--on img { width: 24px; height: auto; }
/* Vergleich ohne „vs“: die edda-Karte steht erhöht über und unter dem Rahmen. */
.versus__panel { transition: opacity 0.35s var(--ease), filter 0.35s var(--ease), box-shadow 0.35s var(--ease); }
.versus .versus__panel--on { position: relative; z-index: 1; margin-block: -18px; padding-block: 50px 54px; box-shadow: var(--shadow-lg); }
/* Fokus auf edda: Fährt man über die edda-Karte (oder -Spalte), tritt die linke Seite zurück */
@media (hover: hover) {
  .versus:has(.versus__panel--on:hover) .versus__panel--off,
  .vtable:has(.vt-on:hover) .vt-off { opacity: 0.4; filter: grayscale(1); }
  .vtable .vt-off { transition: opacity 0.35s var(--ease), filter 0.35s var(--ease); }
}
.versus__sub { color: var(--text); font-size: 16px; }
.vcard { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; padding: 22px; background: var(--surface); border-radius: var(--radius-ui); box-shadow: var(--shadow-md); }
.vcard__q { align-self: flex-end; max-width: 88%; padding: 9px 14px; background: var(--inset); border-radius: 16px 16px 4px 16px; font-size: 15px; line-height: 1.45; }
.vhits { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.vhits li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; font-family: var(--mono); font-size: 12px; color: var(--text); border-top: 1px solid var(--border); }
.vhits li:first-child { border-top: 0; }
.vhits li span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; color: var(--ink); }
.vcard__a { font-size: 16px; line-height: 1.5; }
.vsrc { display: flex; flex-direction: column; gap: 6px; }
.vsrc li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink); }
.vsrc .n { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 4px; background: var(--accent-800); color: #fff; font-family: var(--mono); font-size: 11px; }
.vcard__meta { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--border); font-family: var(--mono); font-size: 11.5px; color: var(--accent-800); }
.vcard__meta--off { color: var(--text); }

.vmark { display: inline-grid; place-items: center; flex: none; width: 18px; height: 18px; }
.vmark svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }
.vmark--no { background: var(--inset); color: var(--text-3); }
.vmark--yes { background: var(--accent-800); color: #fff; }

/* Vergleichstabelle: die edda-Spalte ist durchgehend hinterlegt */
.vtable { width: 100%; margin-top: 56px; border-collapse: collapse; table-layout: fixed; }
.vtable th, .vtable td { padding: 18px 24px; text-align: left; vertical-align: top; border-top: 1px solid var(--border); font-size: 15px; line-height: 1.5; }
.vtable thead th, .vtable thead td { padding-block: 14px; border-top: 0; font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); }
.vtable thead td { width: 22%; }
.vtable tbody th { font-weight: 600; color: var(--ink); }
.vtable .vt-off, .vtable .vt-on { position: relative; padding-left: 56px; }
.vtable td .vmark { position: absolute; left: 24px; top: 20px; }
.vt-off { color: var(--text); }
.vt-on, .vtable thead th:last-child { background: var(--accent-100); color: var(--ink); }
.vtable thead th:last-child { color: var(--accent-800); }
.vtable__brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0; text-transform: none; }
.vtable__brand img { width: 18px; height: auto; }

/* ==========================================================================
   Einarbeitung: Herkunft der Wissensbereiche
   ========================================================================== */
.origin { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md); overflow: hidden; }
.origin__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 16px 24px; border-bottom: 1px solid var(--border); font-size: 14px; }
.origin__crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-width: 0; color: var(--text); }
.origin__crumb img { width: 18px; height: auto; }
.origin__crumb b { font-weight: 500; color: var(--ink); }
.origin__body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.origin__sync { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; white-space: nowrap; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-400); box-shadow: 0 0 0 3px rgba(95, 173, 196, 0.25); }
.origin__scroll { overflow-x: auto; }
.origin__svg { width: 100%; min-width: 720px; height: auto; }
.origin__svg text { font-family: var(--sans); fill: var(--ink); }
.origin__svg .t-mono { font-family: var(--mono); }
/* Inspektor rechts: der ausgewählte Abschnitt, wie in der App */
.inspect { display: flex; flex-direction: column; gap: 20px; padding: 22px 24px 24px; border-left: 1px solid var(--border); }
.inspect__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.inspect__title { font-size: 21px; line-height: 1.25; font-weight: 600; letter-spacing: -0.01em; }
.inspect__sub { margin-top: 4px; font-size: 14px; line-height: 1.45; color: var(--text); overflow-wrap: anywhere; }
.inspect__block { display: flex; flex-direction: column; gap: 10px; }
.inspect__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 4px; }
.inspect__actions .btn { pointer-events: none; }

/* Fußzeile: Legende und Stand */
.origin__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding: 12px 24px; border-top: 1px solid var(--border); background: var(--subtle); font-family: var(--mono); font-size: 11px; line-height: 1.3; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }
.origin__legend { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.origin__legend span { display: inline-flex; align-items: center; gap: 8px; }
.lg-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--pool); box-shadow: 0 0 0 1px rgba(32, 31, 28, 0.08); }
.lg-dash { width: 8px; height: 2px; background: var(--pool); }
.lg-line { width: 18px; height: 1.5px; background: var(--accent-800); }
.lg-new { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-400); }

/* FAQ: Fragen als Liste zum Aufklappen, links die Überschrift und die Einladung zur Demo */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px 88px; align-items: start; }
.faq__aside { position: sticky; top: 104px; }
.faq__open { margin-top: 40px; padding: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.faq__open-h { margin-bottom: 8px; font-family: var(--serif); font-size: 22px; line-height: 1.25; color: var(--ink); }
.faq__open p:not(.faq__open-h) { margin-bottom: 20px; font-size: 15px; line-height: 1.55; color: var(--text); text-wrap: pretty; }
.faq__open .btn { width: 100%; padding-inline: 18px; }
.faq__list { border-top: 1px solid var(--border-2); }
.faq__item { border-bottom: 1px solid var(--border-2); }
.faq__item summary { display: grid; grid-template-columns: 36px minmax(0, 1fr) 28px; gap: 16px; align-items: start; padding: 22px 0; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline: 2px solid var(--accent-800); outline-offset: 2px; }
.faq__n { padding-top: 4px; font-family: var(--mono); font-size: 12px; color: var(--text-3); transition: color 0.15s; }
.faq__q { font-size: 18px; line-height: 1.4; font-weight: 600; color: var(--ink); text-wrap: pretty; transition: color 0.15s; }
.faq__ico { position: relative; width: 28px; height: 28px; border: 1px solid var(--border-2); background: var(--surface); transition: background-color 0.15s, border-color 0.15s; }
.faq__ico::before, .faq__ico::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); translate: -50% -50%; transition: rotate 0.2s var(--ease), background-color 0.15s; }
.faq__ico::after { rotate: 90deg; }
.faq__item[open] .faq__ico { background: var(--accent-800); border-color: var(--accent-800); }
.faq__item[open] .faq__ico::before, .faq__item[open] .faq__ico::after { background: #fff; }
.faq__item[open] .faq__ico::after { rotate: 0deg; }
.faq__item[open] .faq__n { color: var(--accent-800); }
@media (hover: hover) { .faq__item summary:hover .faq__q { color: var(--accent-800); } .faq__item:not([open]) summary:hover .faq__ico { border-color: var(--ink); } }
.faq__a { padding: 0 52px 28px 52px; }
.faq__a p { max-width: 38em; font-size: 16px; line-height: 1.65; color: var(--text); text-wrap: pretty; }
/* Weiches Auf- und Zuklappen, wo der Browser es kann; sonst springt die Antwort einfach auf */
@supports (interpolate-size: allow-keywords) {
  .faq__item { interpolate-size: allow-keywords; }
  .faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size 0.25s var(--ease), content-visibility 0.25s allow-discrete; }
  .faq__item[open]::details-content { block-size: auto; }
}

/* Einführung: Einarbeitungsplan mit Freigaben und drei Kennzahlen für die Geschäftsführung */
.onboard { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 56px; align-items: start; }
.plan { background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-md); }
.plan__head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px 16px; padding: 18px 24px; border-bottom: 1px solid var(--border); }
.plan__title { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 22px; line-height: 1.2; color: var(--ink); }
.plan__title img { width: 20px; height: auto; }
.plan__meta { font-family: var(--mono); font-size: 11.5px; color: var(--text-3); }
.plan__step { display: grid; grid-template-columns: 32px minmax(0, 1fr) 88px 144px; align-items: center; gap: 16px; padding: 15px 24px; border-top: 1px solid var(--inset); transition: background-color 0.3s, opacity 0.3s; }
.plan__step:first-child { border-top: 0; }
.plan__n { font-family: var(--mono); font-size: 12px; color: var(--text-3); }
.plan__what b { display: block; font-size: 16px; font-weight: 600; line-height: 1.35; color: var(--ink); }
.plan__what span { display: block; font-size: 14px; line-height: 1.45; color: var(--text); }
.plan__when { font-family: var(--mono); font-size: 12px; color: var(--text); }
.plan__st { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.plan__ok { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; background: var(--accent-100); color: var(--accent-800); font-size: 12.5px; font-weight: 600; }
.plan__ok svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }
.plan__st small { font-family: var(--mono); font-size: 11px; color: var(--text-3); }
.plan__run { display: none; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; color: var(--accent-800); }
.plan__run i { width: 7px; height: 7px; background: var(--accent-400); animation: plan-blink 0.9s steps(2, jump-none) infinite; }
@keyframes plan-blink { to { opacity: 0.2; } }
@keyframes plan-stamp { from { opacity: 0; scale: 1.35; } to { opacity: 1; scale: 1; } }
/* Zustände, gesetzt von js/drawings.js. Ohne Skript ist alles freigegeben. */
.plan__step[data-state="todo"] { opacity: 0.42; }
.plan__step[data-state="todo"] .plan__st > * { visibility: hidden; }
.plan__step[data-state="run"] { background: var(--accent-50); }
.plan__step[data-state="run"] .plan__ok, .plan__step[data-state="run"] .plan__st small { display: none; }
.plan__step[data-state="run"] .plan__run { display: inline-flex; }
.plan__step[data-state="ok"] .plan__ok { animation: plan-stamp 0.35s var(--ease) both; }
.plan__foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px 16px; padding: 16px 24px 18px; border-top: 1px solid var(--border); background: var(--subtle); }
.plan__bar { grid-column: 1 / -1; height: 6px; background: var(--inset); }
.plan__bar i { display: block; width: var(--plan-p, 100%); height: 100%; background: var(--accent-800); transition: width 0.5s var(--ease); }
.plan__count { font-size: 14px; color: var(--ink); }
.plan__count b { font-weight: 600; }
.plan__note { font-family: var(--mono); font-size: 11px; color: var(--text-3); text-align: right; }
.kpis li { padding: 24px 0; border-top: 1px solid var(--border-2); }
.kpis li:first-child { padding-top: 4px; border-top: 0; }
.kpis__n { margin-bottom: 10px; font-family: var(--serif); font-size: 52px; line-height: 1; letter-spacing: -0.02em; color: var(--accent-800); }
.kpis p:not(.kpis__n) { font-size: 15px; line-height: 1.55; color: var(--text); text-wrap: pretty; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; margin-top: 64px; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 1px solid var(--border-2); }
.steps__n { font-family: var(--serif); font-size: 44px; line-height: 1; letter-spacing: -0.02em; color: var(--accent-800); margin-bottom: 6px; }
.steps h3 { font-size: 18px; line-height: 1.3; font-weight: 600; }
.steps p { font-size: 15px; color: var(--text); text-wrap: pretty; }

.interview { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; margin-top: 104px; }
.interview__photo { position: relative; }
.interview__photo > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.chat {
  position: absolute; right: -24px; bottom: -32px; width: min(380px, 78%); display: flex; flex-direction: column; gap: 12px; padding: 16px;
  background: var(--surface); border-radius: var(--radius-ui); box-shadow: var(--shadow-lg);
}
.chat__head { display: flex; align-items: center; gap: 8px; padding-bottom: 10px; border-bottom: 1px solid var(--border); font-size: 13px; }
.chat__head b { font-weight: 600; }
.chat__head span { margin-left: auto; color: var(--text); font-size: 12px; }
.chat__msg { font-size: 14px; line-height: 1.5; }
.chat__msg--user { align-self: flex-end; max-width: 90%; padding: 8px 12px; background: var(--inset); border-radius: 14px 14px 4px 14px; }
.chat__status { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 12px; color: var(--text); }
.badge { padding: 2px 8px; background: var(--warning-bg); color: var(--warning-fg); border-radius: var(--radius); font-size: 11.5px; font-weight: 600; }
.interview__text { display: flex; flex-direction: column; gap: 16px; }
.interview__text .h3 { font-size: 32px; line-height: 1.15; letter-spacing: -0.015em; }
.interview__text p { color: var(--text); text-wrap: pretty; }

/* ==========================================================================
   Abteilungen: Bildschiene
   ========================================================================== */
.rail-nav { display: flex; gap: 8px; }
.rail-btn { display: grid; place-items: center; width: 48px; height: 48px; background: var(--surface); border: 1px solid var(--border-2); transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.rail-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rail-btn:disabled { opacity: 0.4; cursor: default; }
@media (hover: hover) { .rail-btn:not(:disabled):hover { background: var(--accent-800); border-color: var(--accent-800); color: #fff; } }
.rail { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scrollbar-width: none; overscroll-behavior-x: contain; }
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -2px; }
.rail__list { display: flex; gap: 24px; padding-inline: var(--edge); padding-bottom: 4px; width: max-content; }
.case { width: 360px; flex: none; scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; }
.case__dept { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text); }
.case__dept::before { content: ""; width: 7px; height: 7px; background: var(--accent-800); }
.case__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; }
.case__media img { width: 100%; height: 100%; object-fit: cover; transition: scale 0.6s var(--ease); }
@media (hover: hover) { .case:hover .case__media img { scale: 1.03; } }
.case__q { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 14px 16px; background: rgba(255, 255, 255, 0.94); box-shadow: var(--shadow-sm); font-family: var(--serif); font-size: 21px; line-height: 1.25; text-wrap: balance; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.case__a { font-size: 15px; color: var(--text); max-width: 30em; }

/* ==========================================================================
   Referenz TROESTER
   ========================================================================== */
.ref { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: end; }
.ref__text { display: flex; flex-direction: column; gap: 20px; padding-bottom: 8px; }
.ref__p { color: var(--text); max-width: 28em; }
/* 05 · Text links: der Weg in drei Schritten */
.ref__body { display: flex; flex-direction: column; gap: 24px; }
.ref__kv { max-width: 30em; border-top: 1px solid var(--border); }
.ref__kv > div { padding: 11px 0; font-size: 12.5px; }
.ref__weg { display: flex; flex-direction: column; max-width: 30em; }
.ref__weg li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--border); }
.ref__weg li:last-child { border-bottom: 1px solid var(--border); }
.ref__n { padding-top: 3px; font-family: var(--mono); font-size: 12px; color: var(--accent-800); }
.ref__weg b { display: block; font-size: 17px; font-weight: 600; color: var(--ink); }
.ref__weg p { margin-top: 2px; font-size: 15.5px; line-height: 1.5; color: var(--text); text-wrap: pretty; }
.ref__film { display: flex; flex-direction: column; }
.ref__tab { align-self: flex-start; height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 44px 0 16px; background: var(--accent-950); color: #fff; font-size: 13px; font-weight: 500; clip-path: polygon(0 0, calc(100% - 28px) 0, 100% 100%, 0 100%); }
/* Zitat von TROESTER statt Video: Foto hochkant oben links, Name darunter, Zitat rechts */
.quote { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto 1fr; grid-template-areas: "pic body" "who body"; background: var(--surface); box-shadow: var(--shadow-md); }
.quote__img { grid-area: pic; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }
.quote__body { grid-area: body; display: flex; flex-direction: column; gap: 22px; padding: 36px 40px 36px; border-left: 1px solid var(--border); }
.quote__mark { width: 36px; height: 27px; fill: var(--accent-800); }
.quote__text { display: flex; flex-direction: column; gap: 14px; font-family: var(--serif); font-size: clamp(20px, 1.7vw, 25px); line-height: 1.38; color: var(--ink); text-wrap: pretty; }
.quote__text p + p { color: var(--text); }
.quote__who { grid-area: who; display: flex; flex-direction: column; gap: 2px; padding: 18px 22px 22px; }
.quote__name { font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--ink); }
.quote__role { font-size: 13.5px; line-height: 1.45; color: var(--text); }
.quote__logo { align-self: flex-start; width: auto; height: 18px; margin-top: 12px; }
.quote__logo-link { align-self: flex-start; display: block; margin-top: 12px; }
.quote__logo-link .quote__logo { margin-top: 0; }
.video { position: relative; aspect-ratio: 16 / 9; background: var(--accent-950); overflow: hidden; box-shadow: var(--shadow-md); }
.video__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video__btn { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; }
.video__play { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--accent-800); color: #fff; box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.22); transition: scale 0.2s var(--ease), background-color 0.2s; }
.video__play svg { width: 26px; height: 26px; fill: currentColor; translate: 2px 0; }
@media (hover: hover) { .video__btn:hover .video__play { scale: 1.06; background: var(--accent-900); } }
.video__btn:focus-visible { outline: 3px solid #fff; outline-offset: -8px; }
.video__note { position: absolute; right: 14px; top: 14px; padding: 4px 12px; background: rgba(11, 50, 64, 0.8); color: #fff; font-size: 12px; line-height: 1.4; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.logos { margin-top: 88px; }
.logos__k { font-size: 13px; color: var(--text); margin-bottom: 12px; }
.logos__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.logos__grid li { display: grid; place-items: center; height: 76px; background: var(--surface); border: 1px solid var(--border); }
.logos__grid img { width: auto; max-width: 80%; object-fit: contain; }

/* ==========================================================================
   Sicherheit: Petrol-Fläche mit Registerlasche
   ========================================================================== */
.vault__tab { display: flex; align-items: center; gap: 10px; width: max-content; height: 44px; padding: 0 64px 0 22px; background: var(--accent-950); color: #fff; font-size: 13px; font-weight: 500; clip-path: polygon(0 0, calc(100% - 44px) 0, 100% 100%, 0 100%); }
.vault__tab .ico { width: 18px; height: 18px; color: var(--accent-300); }
.vault__n { margin-right: -4px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; color: var(--accent-300); }
.vault__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 48px; align-items: center; padding: 56px; background: var(--accent-950); color: var(--on-dark); }
.vault__text { display: flex; flex-direction: column; gap: 22px; }
.vault .h2 .line--soft { color: var(--accent-300); }
.vault__text > p { color: var(--on-dark-2); max-width: 32em; }
.vault__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 28px; margin-top: 10px; padding-top: 28px; border-top: 1px solid var(--on-dark-line); }
.vault__list li { display: grid; grid-template-columns: auto minmax(0, 1fr); align-content: start; gap: 4px 12px; }
.vault__list .ico { grid-row: span 2; width: 22px; height: 22px; color: var(--accent-300); }
.vault__list .flags { grid-row: span 2; align-self: start; display: flex; flex-direction: column; gap: 4px; margin-top: 5px; }
.vault__list b { font-size: 15px; font-weight: 600; color: #fff; }
.vault__list span:not(.ico):not(.flag):not(.flags) { font-size: 14px; line-height: 1.5; color: var(--on-dark-2); }
.vault__art { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; justify-self: center; background-image: radial-gradient(rgba(191, 225, 233, 0.16) 1px, transparent 1.2px); background-size: 18px 18px; }
.vault__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.vault__note { position: absolute; display: flex; flex-direction: column; gap: 1px; padding: 8px 14px 8px 28px; border: 1px solid var(--on-dark-line); background: rgba(8, 38, 49, 0.9); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); font-family: var(--mono); font-size: 11px; line-height: 1.35; color: #fff; }
.vault__note small { font-size: 10.5px; color: var(--on-dark-2); }
.vault__note .sq { position: absolute; left: 11px; top: 13px; width: 7px; height: 7px; background: var(--accent-400); }
.vault__note .sq--off { background: none; border: 1px solid var(--on-dark-2); }
.vault__note .flag--eu { position: absolute; left: 9px; top: 12px; width: 12px; height: 8px; }
.vault__note--a { left: 0; top: 2%; }
.vault__note--b { right: 0; bottom: 10%; }
.vault__note--c { left: 0; bottom: 0; }

/* ==========================================================================
   Kontakt
   ========================================================================== */
.contact { position: relative; background: var(--accent-800); color: #fff; padding-block: 120px; isolation: isolate; overflow: clip; }
.contact::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(220, 238, 242, 0.22) 1px, transparent 1.3px); background-size: 22px 22px; background-position: var(--edge) 0;
  -webkit-mask-image: radial-gradient(70% 90% at 0% 100%, #000, transparent 75%); mask-image: radial-gradient(70% 90% at 0% 100%, #000, transparent 75%);
}
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 64px; align-items: start; }
.contact__text { display: flex; flex-direction: column; gap: 24px; }
.contact__text .lead { color: var(--accent-100); }
.contact__list { display: flex; flex-direction: column; margin-top: 12px; border-top: 1px solid rgba(220, 238, 242, 0.22); }
.contact__list li { display: flex; align-items: center; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(220, 238, 242, 0.22); font-size: 16px; }
.contact__list li::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--accent-300); }
.form { display: flex; flex-direction: column; gap: 18px; padding: 36px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow-lg); }
.form__h { font-family: var(--serif); font-size: 28px; line-height: 1.15; letter-spacing: -0.01em; }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: 14px; font-weight: 500; }
.field__opt { font-weight: 400; color: var(--text); }
.field input, .field textarea { width: 100%; padding: 11px 14px; background: var(--surface); border: 1px solid var(--border-2); border-radius: var(--radius); font-size: 15px; line-height: 1.4; transition: border-color 0.15s; }
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: var(--text); opacity: 1; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent-800); outline-offset: 0; border-color: var(--accent-800); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { display: flex; align-items: flex-start; gap: 6px; font-size: 13px; line-height: 1.4; color: var(--error); }
.field__error::before { content: "!"; flex: none; display: grid; place-items: center; width: 16px; height: 16px; margin-top: 1px; border-radius: 50%; background: var(--error); color: #fff; font-size: 11px; font-weight: 700; line-height: 1; }
.field__error[hidden] { display: none; }
.form__status:empty { display: none; }
.form__status { padding: 10px 14px; background: var(--accent-50); border: 1px solid var(--accent-200); font-size: 14px; }
.form__note { font-size: 13px; color: var(--text); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { background: var(--accent-950); color: var(--on-dark-2); padding-top: 72px; overflow: clip; }
.footer__top { display: flex; justify-content: space-between; gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--on-dark-line); }
.footer__brand { display: flex; flex-direction: column; gap: 20px; }
.footer__claim { font-size: 15px; line-height: 1.6; color: var(--on-dark-2); max-width: 28em; }
.footer__cols { display: grid; grid-template-columns: repeat(3, auto); gap: 32px 80px; }
.footer__h { margin-bottom: 14px; font-size: 13px; font-weight: 600; color: #fff; }
.footer__cols ul { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer__cols a, .footer__by { text-decoration: none; transition: color 0.15s; }
@media (hover: hover) { .footer__cols a:hover, .footer__by:hover { color: #fff; } }
.footer > .wrap { container-type: inline-size; }
/* askedda füllt die Inhaltsbreite: das Wort ist 3,29 em breit */
.footer__mark { font-family: var(--serif); font-size: calc(100cqi / 3.34); white-space: nowrap; line-height: 0.8; font-weight: 400; letter-spacing: -0.045em; color: var(--accent-900); margin: 48px 0 -0.06em -0.04em; user-select: none; }
.footer__mark::before { content: "askedda"; } /* als Pseudo-Element: rein dekorativ, kein Text für Prüfwerkzeuge */
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 22px 0 28px; border-top: 1px solid var(--on-dark-line); font-size: 13px; position: relative; }
.footer__by { display: inline-flex; align-items: center; gap: 8px; }
.footer__by img { width: auto; height: 14px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .drawing { justify-self: start; }
  .sec-head { grid-template-columns: minmax(0, 1fr); }
  .sec-head--row { grid-template-columns: minmax(0, 1fr) auto; }
  .origin__body { grid-template-columns: minmax(0, 1fr); }
  .inspect { border-left: 0; border-top: 1px solid var(--border); }
  .heads { grid-template-columns: minmax(0, 1fr); }
  .ref { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .quote { grid-template-columns: 260px minmax(0, 1fr); }
}
@media (max-width: 960px) {
  .section, .contact { padding-block: 88px; }
  .versus { grid-template-columns: minmax(0, 1fr); }
  .versus .versus__panel--on { margin-block: 0; padding-block: 32px 36px; }
  .onboard { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .faq__aside { display: contents; }               /* Überschrift, Liste, dann die Einladung zur Demo */
  .faq__list { margin-top: 40px; }
  .faq__open { order: 2; margin-top: 40px; }
  .kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
  .kpis li, .kpis li:first-child { padding: 20px 0 0; border-top: 1px solid var(--border-2); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .interview, .ref, .vault__grid, .contact__grid { grid-template-columns: minmax(0, 1fr); }
  .chat { right: 12px; bottom: -40px; }
  .interview__text { margin-top: 32px; }
  .vault__grid { padding: 40px 28px; }
  .logos__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__top { flex-direction: column; }
}
@media (max-width: 640px) {
  :root { --nav-h: 68px; }
  .nav { padding-top: 8px; }
  .nav__bar { height: 56px; gap: 12px; }
  .lead { font-size: 17px; }
  .hero { padding-top: 40px; }
  .steps, .vault__list, .kpis { grid-template-columns: minmax(0, 1fr); }
  .faq__item summary { grid-template-columns: 28px minmax(0, 1fr) 28px; gap: 12px; padding: 18px 0; }
  .faq__q { font-size: 16.5px; }
  .faq__a { padding: 0 0 22px 40px; }
  .faq__open { padding: 20px; }
  .kpis { gap: 24px; }
  .kpis__n { font-size: 44px; }
  .plan__head, .plan__foot { padding-inline: 16px; }
  .plan__step { grid-template-columns: 26px minmax(0, 1fr) auto; row-gap: 6px; padding: 14px 16px; }
  .plan__what { grid-column: 2 / -1; }
  .plan__when { grid-column: 2; }
  .plan__st { grid-column: 3; }
  .plan__st small { display: none; }
  .plan__note { text-align: left; grid-column: 1 / -1; }
  .vtable, .vtable tbody, .vtable tr, .vtable th, .vtable td { display: block; }
  .vtable { margin-top: 40px; }
  .vtable thead { display: none; }
  .vtable tr { padding: 16px 0; border-top: 1px solid var(--border); }
  .vtable tbody th { padding: 0 0 10px; border: 0; }
  .vtable td { border: 0; padding-block: 10px; padding-right: 14px; }
  .vtable .vt-off, .vtable .vt-on { padding-left: 42px; }
  .vtable td .vmark { left: 12px; top: 12px; }
  .versus { padding: 6px; }
  .versus__panel { padding: 24px 18px; }
  .vcard { padding: 16px; }
  .case { width: 82vw; }
  .logos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form { padding: 24px 18px; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .field input, .field textarea { font-size: 16px; }
  .footer__cols { grid-template-columns: repeat(2, auto); gap: 28px 48px; }
  .chat { position: relative; right: auto; bottom: auto; width: auto; margin: -48px 12px 0; }
  .vault__note { font-size: 10px; }
  .vault__note small, .vault__note--b { display: none; }
  .quote { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; grid-template-areas: "pic" "body" "who"; }
  .quote__img { aspect-ratio: 3 / 2; object-position: 50% 22%; }
  .quote__body { padding: 26px 22px 8px; border-left: 0; }
  .quote__who { margin-inline: 22px; padding: 18px 0 24px; border-top: 1px solid var(--border); }
  .origin__head, .origin__foot { padding-inline: 16px; }
  .inspect { padding: 20px 16px; }
  .scale-stop { padding-left: 8px; }
  .scale-stop span { display: none; }
}
@media (max-width: 400px) {
  .nav__cta-long { display: none; }
  .nav__cta-short { display: inline; }
  .strip { grid-template-columns: minmax(0, 1fr); }
  .vault__n { display: none; }
  .vault__tab { padding-right: 52px; }
}
/* Kasten 4: zweizeilig mit 13 px, wo die Spalte schmal ist */
@media (min-width: 1101px) and (max-width: 1360px), (max-width: 560px) {
  .strip__v--text .strip__t { font-size: 13px; }
}
/* Schmale Spalten (zwei Spalten unter ca. 480 px): Flagge über dem Text, damit nichts überläuft */
@media (max-width: 480px) {
  .strip__v--text .strip__a { flex-direction: column; gap: 4px; padding: 0 6px; }
  .strip__v--text .strip__t { text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .i-arrow, .scale-stop, .scale-stop b, .video__play, .case__media img, .versus__panel, .vtable .vt-off, .faq__ico::before, .faq__ico::after, .faq__item::details-content { transition: none; }
}
