/* ============================================================
   nordoffice.app — Marketing-Site Design-System („Nordlicht-Präzision")
   ------------------------------------------------------------
   Eine Datei für alle Seiten. Keine externen Ressourcen (Fonts lokal,
   siehe assets/fonts/fonts.css). Hell zuerst, vollständige Dunkel-Variante
   über prefers-color-scheme — Screenshots wechseln per <picture> mit.
   ============================================================ */

:root {
  --navy: #152949;
  --nord: #21427E;
  --cyan: #009CC8;
  --cyan-b: #33b6de;
  --gold: #e0a400;
  --ink: #17233a;
  --muted: #5b6a83;
  --faint: #8b98ad;
  --bg: #f5f8fb;
  --bg-2: #eaf0f7;
  --card: #ffffff;
  --line: #dfe6f0;
  --line-strong: #c6d2e2;
  --shadow-lg: 0 32px 70px -30px rgba(21, 41, 73, 0.4);
  --shadow-md: 0 18px 44px -22px rgba(21, 41, 73, 0.35);
  --shadow-sm: 0 8px 22px -14px rgba(21, 41, 73, 0.35);
  --radius: 16px;
  --wrap: 1160px;
  --grad-marke: linear-gradient(105deg, var(--cyan) 0%, var(--nord) 90%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #e8edf5;
    --muted: #9fadc4;
    --faint: #6e7d96;
    --bg: #0d1524;
    --bg-2: #111c30;
    --card: #16223a;
    --line: #23324e;
    --line-strong: #31456a;
    --shadow-lg: 0 32px 70px -30px rgba(0, 0, 0, 0.65);
    --shadow-md: 0 18px 44px -22px rgba(0, 0, 0, 0.55);
    --shadow-sm: 0 8px 22px -14px rgba(0, 0, 0, 0.5);
    --navy: #dfe9f8;         /* Überschriftfarbe im Dunkeln */
    --nord: #7fb0e8;
    --cyan: #35b9e0;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  font-family: "Hanken Grotesk", sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: rgba(0, 156, 200, 0.25); }

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

/* ---- Atmosphäre: Nordlicht + Kubus-Raster ---- */
.atmosphere { position: fixed; inset: 0; z-index: -1; background:
  radial-gradient(1000px 640px at 84% -10%, rgba(0, 156, 200, 0.16), transparent 60%),
  radial-gradient(800px 560px at 4% 6%, rgba(33, 66, 126, 0.13), transparent 55%),
  linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.atmosphere::before { content: ""; position: absolute; inset: 0; background-image:
  linear-gradient(rgba(33, 66, 126, 0.05) 1px, transparent 1px),
  linear-gradient(90deg, rgba(33, 66, 126, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(1200px 760px at 70% 0%, #000 0%, transparent 75%); }
@media (prefers-color-scheme: dark) {
  .atmosphere { background:
    radial-gradient(1000px 640px at 84% -10%, rgba(0, 156, 200, 0.12), transparent 60%),
    radial-gradient(800px 560px at 4% 6%, rgba(74, 118, 196, 0.1), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
  .atmosphere::before { background-image:
    linear-gradient(rgba(160, 190, 235, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160, 190, 235, 0.05) 1px, transparent 1px); }
}

/* ---- Typo ---- */
h1, h2, h3 { font-family: "Bricolage Grotesque", sans-serif; color: var(--navy); letter-spacing: -0.015em; }
/* Muss eine Überschrift umbrechen, verteilt der Browser die Zeilen gleichmäßig —
   kein einzelnes letztes Wort in der zweiten Zeile (Befund ML 2026-09-08). */
h1, h2 { text-wrap: balance; }
h1 { font-weight: 700; font-size: clamp(2.6rem, 6vw, 4.3rem); line-height: 1.02; }
h2 { font-weight: 650; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.12; }
h3 { font-weight: 600; font-size: 1.18rem; line-height: 1.3; }
.grad { background: var(--grad-marke); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@media (prefers-color-scheme: dark) {
  .grad { background: linear-gradient(105deg, #4fc7ea 0%, #8fb8ef 90%); -webkit-background-clip: text; background-clip: text; }
}

/* Sektionskopf: Die Überschrift trägt die Aussage allein — bewusst OHNE Label-Zeile
   („01 · Arbeiten", Kategorie-Chips): generische Marken-Etiketten sind projektweit untersagt. */
/* Nur der Fließtext ist auf Lesebreite begrenzt — die Überschrift nutzt die volle Breite,
   sonst bricht ihr letztes Wort trotz freier Fläche um (Befund ML 2026-09-08). */
.sec-head { margin-bottom: 40px; }
.sec-head h2 { margin: 0 0 12px; }
.sec-head p { color: var(--muted); font-size: 1.06rem; max-width: 52ch; }

/* ---- Navigation ---- */
header.site {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: saturate(1.4) blur(14px);
  background: color-mix(in srgb, var(--bg) 76%, transparent);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; gap: 26px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .cube { width: 32px; height: 33px; flex: none; }
.brand .word { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 23px; letter-spacing: -0.5px; line-height: 1; }
.brand .word .a { color: var(--nord); }
.brand .word .b { color: var(--cyan); }
.nav-links { display: flex; gap: 4px; margin-left: 10px; flex: 1; }
.nav-links a {
  font-size: 14.5px; font-weight: 600; color: var(--muted); text-decoration: none;
  padding: 8px 13px; border-radius: 9px; transition: color .15s ease, background .15s ease;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--nord); background: rgba(33, 66, 126, 0.07); }
@media (prefers-color-scheme: dark) { .nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(127, 176, 232, 0.1); } }
/* Sprachwahl steht rechts in der Kopfleiste. Kein automatisches Umleiten — beide Sprachfassungen
   sollen indexiert werden (siehe scripts/lp-en-geruest.mjs). */
/* Sprachwahl: flache Kürzel-Pillen (DE · EN · NDS), die aktuelle Sprache hervorgehoben.
   Bewusst KEINE Flaggen und keine Emojis: Flaggen sind Länder, keine Sprachen — Plattdeutsch
   hat gar keine, und Englisch ist nicht Großbritannien. Emojis rendern zudem je Plattform
   verschieden und fehlen unter Windows teilweise ganz (ML 2026-09-09). */
.sprachwahl {
  display: inline-flex; align-items: center; gap: 2px; flex: none;
  padding: 3px; border: 1px solid var(--line); border-radius: 999px;
}
.sprachwahl .sprache {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700;
  letter-spacing: .4px; line-height: 1.35; text-decoration: none; color: var(--ink-2, #5b6572);
  transition: background .16s ease, color .16s ease;
}
.sprachwahl a.sprache:hover, .sprachwahl a.sprache:focus-visible { background: var(--line); color: var(--ink); }
.sprachwahl [aria-current="true"] { background: var(--nord, #009cc8); color: #fff; }

/* Flagge je Sprache — als data-URI im CSS statt inline in jeder Seite (spart 18×3 Einbettungen)
   und NIE als Emoji: Windows zeigt Emoji-Flaggen gar nicht, nur die Buchstaben (ML 2026-09-10).
   Plattdeutsch bekommt keine Flagge, sondern den Elbsegler (ML 2026-09-11, ersetzt die SH-Flagge) —
   eine Sprache ist kein Land; die Muetze steht fuer die Gegend ohne Landesgrenze. Dieselbe Form wie
   in der App (src/fluent/ui/SprachFlagge.tsx). Englisch laeuft als en-GB. */
.sprachwahl .sprache::before {
  content: ""; width: 16px; height: 11px; flex: none; border-radius: 2px;
  background-size: cover; background-position: center;
  /* Weisse Streifen (Frankreich, Union Jack) verschwaemmen sonst mit dem hellen Untergrund. */
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}
.sprachwahl .sprache--de::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2060%2040%22%3E%3Crect%20width=%2260%22%20height=%2240%22%20fill=%22%23FFCE00%22/%3E%3Crect%20width=%2260%22%20height=%2226.67%22%20fill=%22%23DD0000%22/%3E%3Crect%20width=%2260%22%20height=%2213.33%22%20fill=%22%23000%22/%3E%3C/svg%3E"); }
.sprachwahl .sprache--nds::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2060%2040%22%3E%3Cpath%20d=%22M2.5%2024.5c0-4%202-7%205.5-9.2C13.5%2011.6%2021%208.5%2030%208.5s16.5%203.1%2022%206.8c3.5%202.2%205.5%205.2%205.5%209.2z%22%20fill=%22%23E8E8E8%22/%3E%3Cpath%20d=%22M2.5%2023.2h55v5c0%205.2-4.2%209.3-9.3%209.3H11.8c-5.1%200-9.3-4.1-9.3-9.3z%22%20fill=%22%233D5875%22/%3E%3Ccircle%20cx=%2230%22%20cy=%2217.4%22%20r=%225.4%22%20fill=%22%23F2C063%22/%3E%3Cpath%20d=%22M20.6%2023.2c1.7%204.9%205.2%207.5%209.4%207.5s7.7-2.6%209.4-7.5l-4.1-1.9c-1.1%203.2-3%204.9-5.3%204.9s-4.2-1.7-5.3-4.9z%22%20fill=%22%23F2C063%22/%3E%3C/svg%3E"); border-radius: 0; box-shadow: none; }
.sprachwahl .sprache--en::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2060%2030%22%3E%3CclipPath%20id=%22a%22%3E%3Cpath%20d=%22M0,0%20v30%20h60%20v-30%20z%22/%3E%3C/clipPath%3E%3CclipPath%20id=%22b%22%3E%3Cpath%20d=%22M30,15%20h30%20v15%20z%20v15%20h-30%20z%20h-30%20v-15%20z%20v-15%20h30%20z%22/%3E%3C/clipPath%3E%3Cg%20clip-path=%22url(%23a)%22%3E%3Cpath%20d=%22M0,0%20v30%20h60%20v-30%20z%22%20fill=%22%23012169%22/%3E%3Cpath%20d=%22M0,0%20L60,30%20M60,0%20L0,30%22%20stroke=%22%23fff%22%20stroke-width=%226%22/%3E%3Cpath%20d=%22M0,0%20L60,30%20M60,0%20L0,30%22%20clip-path=%22url(%23b)%22%20stroke=%22%23C8102E%22%20stroke-width=%224%22/%3E%3Cpath%20d=%22M30,0%20v30%20M0,15%20h60%22%20stroke=%22%23fff%22%20stroke-width=%2210%22/%3E%3Cpath%20d=%22M30,0%20v30%20M0,15%20h60%22%20stroke=%22%23C8102E%22%20stroke-width=%226%22/%3E%3C/g%3E%3C/svg%3E"); }
.sprachwahl .sprache--fr::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2060%2040%22%3E%3Crect%20width=%2260%22%20height=%2240%22%20fill=%22%23ED2939%22/%3E%3Crect%20width=%2240%22%20height=%2240%22%20fill=%22%23fff%22/%3E%3Crect%20width=%2220%22%20height=%2240%22%20fill=%22%23002395%22/%3E%3C/svg%3E"); }
.sprachwahl .sprache--es::before { background-image: url("data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20viewBox=%220%200%2060%2040%22%3E%3Crect%20width=%2260%22%20height=%2240%22%20fill=%22%23AA151B%22/%3E%3Crect%20y=%2210%22%20width=%2260%22%20height=%2220%22%20fill=%22%23F1BF00%22/%3E%3C/svg%3E"); }
.nav-burger { display: none; }
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column;
    background: var(--card); border-bottom: 1px solid var(--line); padding: 10px 18px 16px; box-shadow: var(--shadow-md); }
  .nav-links a { padding: 12px 10px; font-size: 16px; }
  body.nav-open .nav-links { display: flex; }
  .nav-burger { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    flex: none; border: 1px solid var(--line-strong); border-radius: 10px; background: transparent; cursor: pointer; color: var(--ink); }
  .nav-burger svg { width: 20px; height: 20px; }
  /* Menü kann länger als der Bildschirm werden (Hauptpunkte + Apps) → scrollbar halten */
  body.nav-open .nav-links { max-height: calc(100vh - 72px); overflow-y: auto; }
  /* Schmale Geräte: Abstände verdichten, sonst schiebt der Menü-Knopf die Zeile über den Rand */
  .wrap { padding: 0 18px; }
  .nav { gap: 12px; }
  /* Mobil ist .nav-links ausgeblendet — ohne dessen flex:1 fehlt der Platzhalter, der
     Sprachwahl und Menü-Knopf nach rechts schiebt. Deshalb hier ausdrücklich abdrängen. */
  .sprachwahl { margin-left: auto; }
  .brand .word { font-size: 20px; }
  .brand .cube { width: 28px; height: 29px; }
  .sprachwahl { gap: 1px; padding: 2px; }
  .sprachwahl .sprache { gap: 4px; padding: 3px 7px; font-size: 11px; }
}
@media (max-width: 480px) {
  /* Neben Logo und Menue-Knopf ist kein Platz fuer Flagge UND Kuerzel — auf dem Telefon lief die
     Kopfzeile sonst 16 px ueber den rechten Rand hinaus. Dort zeigt der Umschalter nur die Flagge;
     der Sprachname steht weiterhin in title und aria-label, geht also nicht verloren. */
  .sprachwahl .sprache { gap: 0; padding: 4px 6px; font-size: 0; letter-spacing: 0; }
}


/* ---- Mega-Menü „Apps & Editionen" ----
   Der Navigationspunkt bleibt ein Link auf /apps/; der Pfeil daneben öffnet das große
   Menü mit dem Direkteinstieg in jede App/Edition (Markup baut site.js, Abschnitt 2).
   Alle Regeln sind bewusst mit zwei Klassen geschrieben — sonst gewinnen die
   allgemeinen „.nav-links a"-Regeln über den Einträgen im Menü. */
.nav-mega-wrap { position: relative; display: flex; align-items: center; }
.nav-mega-wrap > a { padding-right: 30px; }
.nav-mega-pfeil {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; display: grid; place-items: center; padding: 0;
  border: none; background: transparent; color: var(--faint); cursor: pointer; border-radius: 6px;
}
.nav-mega-pfeil svg { width: 12px; height: 12px; transition: transform .2s ease; }
.nav-mega-wrap.offen .nav-mega-pfeil { color: var(--nord); }
.nav-mega-wrap.offen .nav-mega-pfeil svg { transform: rotate(180deg); }
.nav-mega-wrap.offen > a { color: var(--nord); background: rgba(33, 66, 126, 0.07); }
@media (prefers-color-scheme: dark) { .nav-mega-wrap.offen > a { background: rgba(127, 176, 232, 0.1); } }

.nav-mega {
  position: absolute; top: calc(100% + 15px); left: -14px;
  width: min(760px, calc(100vw - 36px));
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow-lg); padding: 13px;
  opacity: 0; visibility: hidden; transform: translateY(-7px);
  transition: opacity .17s ease, transform .17s ease, visibility .17s;
}
.nav-mega-wrap.offen .nav-mega { opacity: 1; visibility: visible; transform: none; }
.nav-mega .mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.nav-mega .mega-item {
  display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 12px; align-items: center;
  padding: 10px 12px; border-radius: 12px; text-decoration: none; color: inherit;
  font-size: inherit; font-weight: 400; background: none; transition: background .15s ease;
}
.nav-mega .mega-item:hover, .nav-mega .mega-item:focus-visible,
.nav-mega .mega-item[aria-current="page"] {
  background: color-mix(in srgb, var(--cyan) 10%, transparent); color: inherit;
}
.nav-mega .mega-item .ic {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; flex: none;
  background: linear-gradient(135deg, rgba(33, 66, 126, .1), rgba(0, 156, 200, .16)); color: var(--nord);
}
.nav-mega .mega-item .ic svg { width: 19px; height: 19px; }
.nav-mega .mega-item strong {
  display: block; font-family: "Quicksand", sans-serif; font-weight: 700;
  font-size: 14.5px; color: var(--navy); line-height: 1.3;
}
.nav-mega .mega-item small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.42; margin-top: 1px; }
.nav-mega .mega-fuss {
  display: flex; flex-wrap: wrap; gap: 2px; margin-top: 11px; padding-top: 11px;
  border-top: 1px solid var(--line);
}
.nav-mega .mega-fuss a {
  font-size: 13px; font-weight: 650; color: var(--nord); text-decoration: none;
  padding: 7px 11px; border-radius: 9px; background: none;
}
.nav-mega .mega-fuss a:hover { background: rgba(33, 66, 126, 0.07); }
@media (prefers-color-scheme: dark) { .nav-mega .mega-fuss a:hover { background: rgba(127, 176, 232, 0.1); } }

/* Mobil (Burger-Menü) gibt es kein Aufklappen: die Apps stehen flach unter „Apps & Editionen“.
   Muss NACH den Desktop-Regeln stehen — gleiche Spezifität, es entscheidet die Reihenfolge. */
@media (max-width: 860px) {
  .nav-mega-wrap { display: block; }
  .nav-mega-wrap > a { padding-right: 10px; }
  .nav-mega-pfeil { display: none; }
  .nav-mega {
    position: static; width: auto; padding: 0 0 4px 6px; margin: 0;
    background: none; border: none; box-shadow: none;
    opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .nav-mega .mega-grid { grid-template-columns: 1fr; gap: 0; }
  .nav-mega .mega-item { padding: 9px 10px; grid-template-columns: 30px minmax(0, 1fr); gap: 11px; }
  .nav-mega .mega-item .ic { width: 30px; height: 30px; border-radius: 9px; }
  .nav-mega .mega-item .ic svg { width: 16px; height: 16px; }
  .nav-mega .mega-item strong { font-size: 15px; }
  .nav-mega .mega-item small { display: none; }
  /* Die Fußzeile des Menüs wäre hier reine Dopplung: „Apps & Editionen", „Module",
     „Preise" und „Demo" stehen im Burger-Menü ohnehin schon als Hauptpunkte. */
  .nav-mega .mega-fuss { display: none; }
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: inherit; font-weight: 650; font-size: 16px; text-decoration: none; color: #fff;
  background: var(--grad-marke); padding: 15px 28px; border: none; border-radius: 14px;
  box-shadow: var(--shadow-md); cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 28px 50px -20px rgba(0, 156, 200, .6); }
.btn-primary svg { width: 17px; height: 17px; }
.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: inherit; font-weight: 650; font-size: 16px; text-decoration: none; color: var(--nord);
  padding: 15px 22px; border-radius: 14px; border: 1px solid var(--line-strong);
  background: color-mix(in srgb, var(--card) 65%, transparent); cursor: pointer;
  transition: border-color .16s ease, background .16s ease;
}
.btn-ghost:hover { border-color: var(--cyan); background: var(--card); }

/* ---- Geräterahmen: Browserfenster ---- */
.frame-browser {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow-lg); overflow: hidden;
}
.frame-browser .bar {
  display: flex; align-items: center; gap: 7px; padding: 10px 14px;
  border-bottom: 1px solid var(--line); background: color-mix(in srgb, var(--bg-2) 70%, var(--card));
}
.frame-browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.frame-browser .bar i:nth-child(1) { background: #e8695a; }
.frame-browser .bar i:nth-child(2) { background: #e8b93e; }
.frame-browser .bar i:nth-child(3) { background: #5bc46a; }
.frame-browser .bar .url {
  margin-left: 10px; flex: 1; max-width: 340px; font-size: 11.5px; color: var(--faint);
  background: var(--bg); border: 1px solid var(--line); border-radius: 7px; padding: 3px 10px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.frame-browser img { width: 100%; }

/* ---- Geräterahmen: iPhone ---- */
.frame-phone {
  position: relative; width: min(300px, 72vw); border-radius: 44px; padding: 11px;
  background: linear-gradient(160deg, #2a3547, #101724);
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255, 255, 255, 0.09);
}
.frame-phone::before {
  content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%);
  width: 84px; height: 24px; border-radius: 14px; background: #0a0f18; z-index: 2;
}
.frame-phone .screen { border-radius: 34px; overflow: hidden; background: #0a0f18; }
.frame-phone img { width: 100%; }

/* ---- Feature-Blöcke im Wechsellayout ---- */
.feature-block {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 64px); align-items: center; padding: 44px 0;
}
.feature-block.flip .feat-text { order: 2; }
.feature-block .feat-text h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); margin: 10px 0 12px; }
.feature-block .feat-text p { color: var(--muted); }
/* Häkchenliste — list-style GLOBAL aus, sonst stehen auf Seiten außerhalb von
   .feature-block der native Aufzählungspunkt UND das Häkchen nebeneinander. */
ul.checks { list-style: none; margin-top: 16px; display: grid; gap: 9px; }
ul.checks li { position: relative; padding-left: 28px; font-size: 0.98rem; }
ul.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 19px; height: 19px;
  display: grid; place-items: center; font-size: 12px; font-weight: 800; color: #fff;
  background: var(--grad-marke); border-radius: 6px; margin-top: 3px;
}
.feature-block .shot { position: relative; }
.feature-block .shot .frame-browser { transform: rotate(-0.6deg); }
.feature-block.flip .shot .frame-browser { transform: rotate(0.6deg); }
@media (max-width: 860px) {
  .feature-block { grid-template-columns: 1fr; padding: 26px 0; }
  .feature-block.flip .feat-text { order: 0; }
}

/* ---- Karten / Raster ---- */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 18px; }
/* Höchstens drei Karten je Reihe — für Karten mit Aufzählung (Modulübersicht) */
.grid.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid.grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid.grid-3 { grid-template-columns: 1fr; } }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow-sm); position: relative; overflow: hidden;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card::after { content: ""; position: absolute; inset: 0; opacity: 0; transition: opacity .22s ease;
  background: radial-gradient(220px 130px at 100% 0%, rgba(0, 156, 200, .1), transparent 70%); }
.card:hover { transform: translateY(-5px); border-color: color-mix(in srgb, var(--cyan) 45%, var(--line)); box-shadow: var(--shadow-md); }
.card:hover::after { opacity: 1; }
.card .ic {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 15px;
  background: linear-gradient(135deg, rgba(33, 66, 126, .1), rgba(0, 156, 200, .16)); color: var(--nord);
}
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 1.1rem; margin-bottom: 6px; }
.card p { color: var(--muted); font-size: 0.94rem; line-height: 1.55; }
a.card { display: block; text-decoration: none; color: inherit; }

/* ---- Preisboxen ---- */
.pricebox {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 8px;
}
.pricebox.hero-price { border: 1.5px solid var(--cyan); box-shadow: var(--shadow-md); }
.pricebox .tag { font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 12px;
  letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); }
.pricebox .amount { font-family: "Bricolage Grotesque", sans-serif; font-weight: 700;
  font-size: 2.3rem; color: var(--navy); line-height: 1; }
.pricebox .amount small { font-size: 0.95rem; font-weight: 600; color: var(--muted); margin-left: 6px; }
.pricebox p { color: var(--muted); font-size: 0.94rem; }
.tax-note { font-size: 12px; color: var(--faint); }

/* ---- FAQ (details/summary, voll gestylt) ---- */
.faq { display: grid; gap: 10px; max-width: 780px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 13px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 650;
  font-size: 1rem; color: var(--navy); position: relative; user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%);
  width: 26px; height: 26px; display: grid; place-items: center; font-size: 17px; font-weight: 700;
  color: var(--cyan); border: 1px solid var(--line-strong); border-radius: 8px; transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: var(--muted); font-size: 0.97rem; }

/* ---- Formular (Demo) ---- */
.demo-panel {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a6b 62%, #14507a 100%);
  border-radius: 24px; padding: clamp(28px, 4vw, 52px); color: #fff;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.demo-panel::before { content: ""; position: absolute; inset: 0; background-image:
  linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(640px 340px at 88% 12%, #000, transparent 70%); }
.demo-panel h2 { color: #fff; }
.demo-panel p.lede { color: rgba(255, 255, 255, .82); }
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 52px); position: relative; }
@media (max-width: 860px) { .demo-grid { grid-template-columns: 1fr; } }
.demo-form { display: grid; gap: 12px; }
.demo-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 520px) { .demo-form .row2 { grid-template-columns: 1fr; } }
.demo-form label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.demo-form input[type="text"], .demo-form input[type="email"] {
  font-family: inherit; font-size: 15px; color: #fff;
  background: rgba(255, 255, 255, 0.09); border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 11px; padding: 12px 14px; outline: none; transition: border-color .15s ease, background .15s ease;
  color-scheme: dark;
}
.demo-form input::placeholder { color: rgba(255, 255, 255, .45); }
.demo-form input:focus { border-color: var(--cyan-b); background: rgba(255, 255, 255, 0.13); }
/* Honeypot: für Menschen unsichtbar, für Bots ein normales Feld */
.demo-form .hp-feld { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* Custom-Consent (KEINE native Checkbox) */
.consent { display: flex; align-items: flex-start; gap: 11px; cursor: pointer; border: none;
  background: transparent; font-family: inherit; text-align: left; padding: 2px 0; }
.consent .box { flex: none; width: 21px; height: 21px; margin-top: 1px; border-radius: 7px;
  border: 1.5px solid rgba(255, 255, 255, 0.45); display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: transparent; transition: all .15s ease; }
.consent[aria-pressed="true"] .box { background: var(--cyan); border-color: var(--cyan); color: #fff; }
.consent span.txt { font-size: 12.5px; color: rgba(255, 255, 255, .75); line-height: 1.5; }
.consent a { color: #9ddcf0; }
.demo-form .senden { margin-top: 4px; justify-content: center; }
.form-status { font-size: 14px; border-radius: 11px; padding: 12px 14px; display: none; }
.form-status.ok { display: block; background: rgba(76, 201, 128, 0.16); border: 1px solid rgba(76, 201, 128, 0.5); color: #bff0d2; }
.form-status.err { display: block; background: rgba(232, 105, 90, 0.16); border: 1px solid rgba(232, 105, 90, 0.5); color: #ffc9c2; }
.demo-points { list-style: none; display: grid; gap: 14px; align-content: center; }
.demo-points li { position: relative; padding-left: 34px; color: rgba(255, 255, 255, .88); font-size: 1rem; }
.demo-points li b { color: #fff; }
.demo-points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 22px; height: 22px;
  border-radius: 7px; background: linear-gradient(135deg, var(--cyan), var(--cyan-b)); }
.demo-points li::after { content: "✓"; position: absolute; left: 5px; top: 3px; font-size: 13px; font-weight: 800; color: #fff; }

/* ---- CTA-Band ---- */
.band-inner {
  background: linear-gradient(120deg, #152949 0%, #21427E 60%, #14507a 100%);
  border-radius: 26px; padding: clamp(34px, 5vw, 56px) clamp(24px, 4vw, 48px); color: #fff;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.band-inner::before { content: ""; position: absolute; inset: 0; background-image:
  linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
  linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 44px 44px; mask-image: radial-gradient(620px 320px at 90% 20%, #000, transparent 70%); }
.band-inner h2 { color: #fff; margin-bottom: 12px; }
.band-inner p { color: rgba(255, 255, 255, .82); max-width: 54ch; margin-bottom: 26px; position: relative; }
.band-inner .btn-primary { background: #fff; color: var(--nord); position: relative; }

/* ---- Footer ---- */
footer.site { border-top: 1px solid var(--line); padding: 46px 0 40px; margin-top: 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid .word { font-size: 20px; }
.foot-grid .cube { width: 26px; height: 27px; }
.foot-claim { color: var(--muted); font-size: 13.5px; margin-top: 10px; max-width: 30ch; }
.foot-col h4 { font-family: "Quicksand", sans-serif; font-size: 12.5px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 12px; }
.foot-col a { display: block; color: var(--muted); text-decoration: none; font-size: 14px; padding: 4px 0; }
.foot-col a:hover { color: var(--nord); }
.foot-meta { margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between;
  color: var(--faint); font-size: 12.5px; }

/* ---- Breadcrumbs (Unterseiten) ---- */
.crumbs { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; font-size: 13px;
  color: var(--faint); padding: 18px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--nord); }
.crumbs span.sep { opacity: .6; }

/* ---- Hero-Bausteine ---- */
/* HINWEIS: Es gibt bewusst KEINE „Eyebrow"-Kapsel („● KI- UND APP-PLATTFORM · …") mehr —
   generische Badge-Pillen mit Trennpunkt über der Headline sind projektweit untersagt. */
.lede { font-size: clamp(1.06rem, 1.6vw, 1.26rem); color: var(--muted); max-width: 56ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.trust { display: flex; flex-wrap: wrap; gap: 20px; color: var(--muted); font-size: 14.5px; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; color: var(--cyan); flex: none; }

/* ---- Screenshot vergrößern (Lightbox, site.js) ---- */
/* Jeder Screenshot ist anklickbar; der Rahmen bekommt von site.js data-zoom + Lupe. */
.frame-browser, .frame-phone { position: relative; }
.zoombar { cursor: zoom-in; }
.zoombar::after {
  content: ""; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px;
  border-radius: 10px; background: rgba(21, 41, 73, 0.62) center / 17px 17px no-repeat;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round'><circle cx='11' cy='11' r='7'/><path d='M20 20l-3.6-3.6M11 8v6M8 11h6'/></svg>");
  opacity: 0; transform: translateY(4px); transition: opacity .18s ease, transform .18s ease;
  pointer-events: none; backdrop-filter: blur(3px);
}
.zoombar:hover::after, .zoombar:focus-visible::after { opacity: 1; transform: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 90; display: none;
  align-items: center; justify-content: center; padding: clamp(16px, 4vw, 54px);
  background: rgba(9, 16, 30, 0.86); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .2s ease;
}
.lightbox.offen { display: flex; opacity: 1; }
.lightbox img {
  max-width: 100%; max-height: 88vh; border-radius: 12px; object-fit: contain;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8);
}
.lightbox figcaption { color: rgba(255, 255, 255, .8); font-size: 13.5px; text-align: center; margin-top: 12px; }
.lightbox .werkzeuge { position: absolute; top: 18px; right: 18px; display: flex; gap: 10px; align-items: center; }
.lightbox .zu, .lightbox .live, .lightbox .shot {
  height: 44px; border-radius: 12px; cursor: pointer; font-family: inherit; line-height: 1;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .1); color: #fff;
}
.lightbox .zu { width: 44px; font-size: 22px; }
/* Präsentations-/Update-Modus: nur mit Support-Login-Sitzung der Demo sichtbar (site.js) */
.lightbox .live, .lightbox .shot { padding: 0 16px; font-size: 14px; font-weight: 600; }
.lightbox .shot { background: #c50f1f; border-color: #c50f1f; }
.lightbox .zu:hover, .lightbox .live:hover { background: rgba(255, 255, 255, .2); }
.lightbox .shot:hover { background: #a30c19; }
.lightbox .blaettern {
  position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .1); color: #fff;
  font-size: 30px; line-height: 1; cursor: pointer; font-family: inherit; z-index: 1;
}
.lightbox .zurueck { left: 14px; }
.lightbox .vor { right: 14px; }
.lightbox .blaettern:hover { background: rgba(255, 255, 255, .22); }
.lightbox .blaettern[disabled] { opacity: .3; cursor: default; }
@media (max-width: 640px) { .lightbox .blaettern { width: 40px; height: 40px; font-size: 24px; top: auto; bottom: 14px; transform: none; } }

/* ---- Screenshot-Slider (weitere Ansichten) ---- */
.slider { position: relative; }
.slider-spur {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 720px); gap: 18px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 4px 2px 16px; scrollbar-width: thin;
}
.slider-spur > figure { scroll-snap-align: center; margin: 0; }
.slider-spur > figure figcaption { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }
.slider-nav { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 4px; }
.slider-nav button {
  width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--card); color: var(--nord); font-size: 19px; line-height: 1; cursor: pointer;
  font-family: inherit; display: grid; place-items: center; transition: border-color .15s ease, transform .15s ease;
}
.slider-nav button:hover { border-color: var(--cyan); transform: translateY(-2px); }
.slider-nav button[disabled] { opacity: .35; cursor: default; transform: none; }
.slider-punkte { display: flex; gap: 7px; }
.slider-punkte i { width: 7px; height: 7px; border-radius: 50%; background: var(--line-strong); transition: background .18s ease, width .18s ease; }
.slider-punkte i.an { background: var(--cyan); width: 20px; border-radius: 4px; }
@media (max-width: 680px) { .slider-spur { grid-auto-columns: 88%; } }

/* ---- Reveal-Animationen (site.js setzt .in) ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2, .7, .3, 1), transform .7s cubic-bezier(.2, .7, .3, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .06s; } .reveal.d2 { transition-delay: .14s; }
.reveal.d3 { transition-delay: .22s; } .reveal.d4 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Abschnitts-Abstände ---- */
section.block { padding: 64px 0; }
section.block.tight { padding: 40px 0; }

/* ---- Kleinkram ---- */
.pill-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font-size: 12.5px; font-weight: 650; color: var(--nord); background: rgba(33, 66, 126, .08);
  border: 1px solid rgba(33, 66, 126, .16); border-radius: 999px; padding: 5px 13px; }
@media (prefers-color-scheme: dark) { .pill { background: rgba(127, 176, 232, .1); border-color: rgba(127, 176, 232, .22); } }
.note { font-size: 13px; color: var(--faint); }
code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.88em;
  background: color-mix(in srgb, var(--bg-2) 80%, var(--card)); border: 1px solid var(--line);
  border-radius: 6px; padding: 1px 6px; }

/* ---- Codeblock (Schnittstellen-Seite) ---- */
.codebox { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); }
/* --muted statt --faint: Die Zeile trägt die Schrittnummer, ist also Inhalt und kein Beiwerk. */
.codebox .cap { padding: 10px 16px; border-bottom: 1px solid var(--line);
  font-size: 12.5px; font-weight: 650; letter-spacing: .2px; color: var(--muted); }
.codebox pre { margin: 0; padding: 15px 16px; overflow-x: auto; tab-size: 2;
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; line-height: 1.66; color: var(--ink); }
/* Innerhalb des Blocks tragen <code>-Rahmen nur Unruhe bei. */
.codebox pre code { background: none; border: 0; padding: 0; font-size: inherit; }
/* Platzhalter im Befehl. Eigene Farbwerte statt --cyan: das helle Cyan erreicht auf Weiß
   keinen ausreichenden Kontrast. */
.codebox pre b { font-weight: 700; color: #00718c; }
@media (prefers-color-scheme: dark) { .codebox pre b { color: var(--cyan-b); } }

/* Module in Erprobung — dieselbe Kennzeichnung wie in der App und der Preisliste. */
.beta {
  display: inline-block; vertical-align: middle; margin-left: 7px;
  font-family: "Quicksand", sans-serif; font-weight: 700; font-size: 10px; letter-spacing: .5px;
  padding: 2px 6px; border-radius: 5px; background: rgba(154, 103, 0, .12); color: #9a6700;
}
@media (prefers-color-scheme: dark) { .beta { background: rgba(255, 209, 102, .16); color: #ffd166; } }
