/* ============================================================
   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; }
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. */
.sec-head { max-width: 52ch; margin-bottom: 40px; }
.sec-head h2 { margin: 0 0 12px; }
.sec-head p { color: var(--muted); font-size: 1.06rem; }

/* ---- 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); } }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 650; font-size: 14.5px; text-decoration: none; color: #fff;
  background: var(--grad-marke); padding: 10px 19px; border-radius: 999px;
  box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(0, 156, 200, .55); }
.nav-cta svg { width: 15px; height: 15px; }
.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; }
  /* Schmale Geräte: Abstände verdichten, sonst schiebt der Menü-Knopf die Zeile über den Rand */
  .wrap { padding: 0 18px; }
  .nav { gap: 12px; }
  .brand .word { font-size: 20px; }
  .brand .cube { width: 28px; height: 29px; }
  .nav-cta { padding: 9px 14px; font-size: 13.5px; }
}

/* ---- 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 .zu {
  position: absolute; top: 18px; right: 18px; width: 44px; height: 44px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .1); color: #fff;
  font-size: 22px; line-height: 1; cursor: pointer; font-family: inherit;
}
.lightbox .zu:hover { background: rgba(255, 255, 255, .2); }

/* ---- 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); } }
