/* ============================================================
   KUKANILEA Design-System v2 — einzige CSS-Datei der Site (alle 32 Seiten).
   Cache: immutable — bei JEDER Änderung ?v=… in ALLEN HTML-Dateien bumpen!
   ============================================================ */

/* ── Font: Fraunces Italic (variable weight, lokal, kein CDN) ── */
@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/fraunces-latin-wght-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
}

/* ── Tokens ── */
:root {
  --petrol: #1B4965;
  --petrol-deep: #0D2233;
  --petrol-bright: #3A8DB5;
  --petrol-soft: #A8D4E8;
  --petrol-tint: #EBF2F6;
  --ink: #0D1B24;
  --body: #46555F;
  --muted: #59696F;
  --petrol-mid: #266A8C;
  --off: #F6F8FA;
  --line: #E3E9ED;
  --white: #FFFFFF;
  --green: #2E9E6B;

  --font-display: "Fraunces", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --size-hero: clamp(2.15rem, 3.3vw + 0.75rem, 3.3rem);
  --size-h2: clamp(1.7rem, 2.6vw + 0.6rem, 2.5rem);
  --size-h3: clamp(1.12rem, 1vw + 0.9rem, 1.3rem);
  --size-lead: clamp(1.05rem, 0.5vw + 0.95rem, 1.2rem);

  --radius: 14px;
  --radius-lg: 20px;
  --shadow-card: 0 1px 2px rgba(13,27,36,.05), 0 8px 24px rgba(13,27,36,.06);
  --shadow-lift: 0 12px 32px rgba(27,73,101,.16);
  --shadow-frame: 0 24px 64px rgba(13,34,51,.22);

  --pad-section: clamp(56px, 9vw, 108px);
  --container: clamp(1200px, 88vw, 1440px);
}

/* ── Reset / Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: var(--size-hero); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: var(--size-h2); font-weight: 750; letter-spacing: -0.015em; }
h3 { font-size: var(--size-h3); font-weight: 650; }
p { margin: 0 0 1em; }
a { color: var(--petrol); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
/* Inline-Links in Fließtext: unterstrichen, nicht nur farbig (WCAG 1.4.1) */
p a, .faq-body a, .cmp-more a, .hero-cta-secondary a { text-decoration: underline; text-underline-offset: 3px; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--petrol); color: #fff; }

.serif-accent {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 620;
  letter-spacing: -0.01em;
}

/* ── Utilities ── */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(18px, 4.5vw, 40px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--petrol); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 400; }
.skip-link:focus { left: 0; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 10px; border: 1.5px solid transparent;
  font-weight: 600; line-height: 1.2; text-decoration: none; white-space: nowrap;
  padding: 13px 22px; transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--petrol-bright); outline-offset: 2px; }
.btn-primary { background: var(--petrol); color: #fff; box-shadow: 0 6px 18px rgba(27,73,101,.28); }
.btn-primary:hover { background: #16405A; box-shadow: 0 10px 24px rgba(27,73,101,.34); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn-ghost:hover { border-color: var(--petrol); }
.btn-light { background: #fff; color: var(--petrol-deep); box-shadow: 0 6px 18px rgba(0,0,0,.22); }
.btn-light:hover { background: var(--petrol-tint); }
.btn-ghost-dark { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-dark:hover { border-color: #fff; }
.btn-sm { padding: 9px 16px; font-size: .92rem; }
.btn-lg { padding: 15px 26px; font-size: 1.05rem; }

/* ── Header / Nav (site.js setzt: .site-header.is-scrolled, .site-nav.open) ── */
.site-header {
  position: sticky; top: 0; z-index: 300;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled {
  background: rgba(255,255,255,.92);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(13,27,36,.04), 0 6px 24px rgba(13,27,36,.06);
}
.header-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand:hover { text-decoration: none; }
/* Marke ist weiß gezeichnet (mark-onpetrol) → braucht Petrol-Kachel als Grund */
.brand-mark { width: 36px; height: 36px; border-radius: 9px; background: var(--petrol); padding: 4px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-weight: 800; letter-spacing: .04em; color: var(--ink); font-size: .98rem; }
.brand-sub { font-size: .68rem; color: var(--muted); letter-spacing: .14em; text-transform: uppercase; }

.site-nav { display: flex; align-items: center; gap: clamp(12px, 1.6vw, 22px); margin-inline: auto; }
.site-nav > a, .nav-dropdown-trigger {
  position: relative;
  color: var(--body); font-weight: 550; font-size: .95rem; padding: 8px 2px; white-space: nowrap;
}
.site-nav > a::after, .nav-dropdown-trigger::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--petrol); border-radius: 2px;
  transform: scaleX(0); transform-origin: left; transition: transform .22s ease;
}
.site-nav > a:hover::after, .nav-item-dropdown:hover .nav-dropdown-trigger::after,
.nav-item-dropdown:focus-within .nav-dropdown-trigger::after { transform: scaleX(1); }
.site-nav > a:hover, .nav-dropdown-trigger:hover { color: var(--petrol); text-decoration: none; }
.nav-caret { display: inline-block; margin-left: 4px; transition: transform .2s ease; vertical-align: 1px; }
.nav-item-dropdown:hover .nav-caret, .nav-item-dropdown:focus-within .nav-caret { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.text-link { color: var(--body); font-weight: 550; font-size: .95rem; }
.text-link:hover { color: var(--petrol); text-decoration: none; }

.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; margin-left: auto; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Dropdowns: kompakte Karte (Ratgeber) + Mega-Menü volle Breite (Webtools) */
.nav-item-dropdown { position: relative; }
.nav-dropdown-panel {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  padding-top: 14px; opacity: 0; visibility: hidden;
  transition: opacity .18s ease, visibility .18s, transform .18s ease;
  z-index: 310;
}
.nav-item-dropdown:hover .nav-dropdown-panel,
.nav-item-dropdown:focus-within .nav-dropdown-panel { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.nav-dropdown-card {
  width: min(480px, 92vw);
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 48px rgba(13,27,36,.14);
  padding: 12px; display: grid; grid-template-columns: 1fr; gap: 2px;
}
.nav-dropdown-item { display: flex; align-items: flex-start; gap: 12px; padding: 10px 12px; border-radius: 10px; }
.nav-dropdown-item:hover { background: var(--petrol-tint); text-decoration: none; }
.nav-dropdown-item > svg { flex: none; margin-top: 2px; stroke: var(--petrol); }
.nav-dropdown-item-body { display: flex; flex-direction: column; gap: 2px; }
.nav-dropdown-item-title { font-weight: 650; color: var(--ink); font-size: .93rem; }
.nav-dropdown-item-desc { font-size: .8rem; color: var(--muted); line-height: 1.4; }
.nav-dropdown-all { grid-column: 1 / -1; text-align: center; padding: 10px; font-weight: 600; font-size: .92rem; border-top: 1px solid var(--line); margin-top: 6px; }

/* Mega-Menü: Panel über die volle Header-Breite, wächst mit dem Webtools-Bestand */
.nav-mega { position: static; }
.nav-mega .nav-dropdown-panel {
  left: 0; right: 0; transform: translateY(6px); width: auto; padding-top: 0;
}
.nav-mega:hover .nav-dropdown-panel,
.nav-mega:focus-within .nav-dropdown-panel { transform: translateY(0); }
.nav-mega-card {
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 32px 64px rgba(13,27,36,.16);
}
.nav-mega-inner {
  max-width: var(--container); margin-inline: auto;
  padding: 28px clamp(18px, 4.5vw, 40px) 18px;
  display: grid; grid-template-columns: 1.15fr 1fr 1fr 1fr; gap: clamp(18px, 2.5vw, 36px);
}
.mega-intro h3 { font-size: 1.06rem; margin-bottom: 6px; }
.mega-intro p { font-size: .86rem; color: var(--muted); margin-bottom: 14px; }
.mega-col-title {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--petrol-mid); margin: 0 0 8px; padding-left: 10px;
}
.mega-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: 9px; font-size: .9rem; font-weight: 550; color: var(--ink);
}
.mega-item:hover { background: var(--petrol-tint); text-decoration: none; color: var(--petrol); }
.mega-item svg { flex: none; stroke: var(--petrol); }
.nav-mega-foot {
  max-width: var(--container); margin-inline: auto;
  padding: 12px clamp(18px, 4.5vw, 40px) 20px;
  border-top: 1px solid var(--off); text-align: center;
}
.nav-mega-foot a { font-weight: 600; font-size: .92rem; }

/* ── Hero ── */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 88px) 0 clamp(40px, 6vw, 72px);
  background:
    radial-gradient(1100px 480px at 82% -10%, rgba(58,141,181,.14), transparent 60%),
    radial-gradient(circle at 1px 1px, rgba(27,73,101,.10) 1px, transparent 0) 0 0 / 26px 26px,
    var(--white);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-release {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px 6px 6px; font-size: .84rem; color: var(--body);
  box-shadow: var(--shadow-card); margin-bottom: 22px;
}
.hero-release:hover { text-decoration: none; border-color: var(--petrol-soft); }
.release-tag { background: var(--petrol); color: #fff; border-radius: 999px; padding: 3px 10px; font-weight: 650; font-size: .76rem; letter-spacing: .03em; }
.hero-title { margin-bottom: 18px; text-wrap: balance; }
.hero-title .serif-accent { color: var(--petrol); }
.hero-sub { font-size: var(--size-lead); max-width: 34em; margin-bottom: 26px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 14px; }
.hero-cta-secondary { font-size: .95rem; margin-bottom: 20px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: var(--muted); margin: 0; }
.hero-meta .status-dot { margin-right: 6px; }
.status-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; vertical-align: 1px; }
.status-dot-green { background: var(--green); box-shadow: 0 0 0 3px rgba(46,158,107,.18); }

/* Hero-Visual: Browser-Chrome-Karte + Float-Chips */
.hero-visual { position: relative; }
.visual-frame {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-frame); overflow: hidden;
  animation: floatY 7s ease-in-out infinite;
}
.vm-head { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid var(--line); background: var(--off); }
.vm-dots { display: inline-flex; gap: 6px; }
.vm-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.vm-dots i:first-child { background: #E8A0A0; }
.vm-dots i:nth-child(2) { background: #E8CFA0; }
.vm-dots i:nth-child(3) { background: #A9D8B8; }
.vm-id { font-size: .8rem; color: var(--muted); font-weight: 550; }
.vm-body { padding: 0; }
/* Vorgangszeilen blenden nacheinander ein (einmalig beim Laden) */
.vm-row { opacity: 0; animation: vmRise .6s ease forwards; }
.vm-row-1 { animation-delay: .25s; }
.vm-row-2 { animation-delay: .55s; }
.vm-row-3 { animation-delay: .85s; }
.vm-row-4 { animation-delay: 1.15s; }
@keyframes vmRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lift); padding: 10px 14px; font-size: .84rem; font-weight: 550; color: var(--ink);
}
.float-chip svg { flex: none; }
.float-chip-1 { top: 8%; left: -26px; animation: floatY 6s ease-in-out infinite .8s; }
.float-chip-2 { bottom: 10%; right: -18px; animation: floatY 6.5s ease-in-out infinite .3s; }
.float-chip small { display: block; font-weight: 400; color: var(--muted); }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ── Badge-Band (CSS-Marquee, pausiert bei Hover) ── */
.badge-band {
  border-block: 1px solid var(--line); background: var(--white); padding: 18px 0;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.badge-track { display: flex; width: max-content; gap: 14px; animation: marquee 38s linear infinite; }
.badge-band:hover .badge-track { animation-play-state: paused; }
.badge-row { display: flex; flex-wrap: nowrap; gap: 14px; padding-right: 14px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .86rem; font-weight: 550; color: var(--body);
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px;
  transition: color .18s ease, border-color .18s ease;
}
.badge svg { stroke: var(--petrol); }
.badge:hover { color: var(--petrol); border-color: var(--petrol-soft); }

/* ── Sections ── */
.section { padding-block: var(--pad-section); }
.section-off { background: var(--off); }
.section-dark { background: var(--petrol-deep); color: #C6D6E0; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4.5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--petrol-mid); margin-bottom: 12px;
}
.section-dark .kicker { color: var(--petrol-soft); }
.section-lead { font-size: var(--size-lead); }

/* ── Problem: Vorher / Nachher ── */
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-card); }
.ba-card-after { border-color: rgba(27,73,101,.35); background: linear-gradient(180deg, var(--petrol-tint), #fff 55%); }
.ba-title { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.ba-list li { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: .97rem; }
.ba-list li:first-child { border-top: 0; }
.ba-list svg { flex: none; margin-top: 3px; }

/* ── Ablauf: 3 Schritte Verzahnung ── */
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.flow-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-card); }
.flow-num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--petrol-tint); color: var(--petrol); font-weight: 750; margin-bottom: 14px; }
.flow-card svg.flow-art { margin: 6px 0 14px; }
/* Linien zeichnen sich, sobald die Karte in den Viewport kommt */
.flow-art .draw { stroke-dasharray: 100; stroke-dashoffset: 100; }
.in-view .flow-art .draw { animation: drawPath 1.1s ease forwards; animation-delay: var(--d, 0ms); }
@keyframes drawPath { to { stroke-dashoffset: 0; } }

/* ── Stat-Band (ehrliche Zahlen, site.js .counter) ── */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: clamp(28px, 4vw, 44px); }
.stat-cell { text-align: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 12px; box-shadow: var(--shadow-card); }
.stat-num { display: block; font-family: var(--font-display); font-style: italic; font-weight: 650; font-size: clamp(1.7rem, 2.4vw, 2.4rem); color: var(--petrol); line-height: 1.1; }
.stat-label { font-size: .86rem; color: var(--muted); }
.flow-arrow { position: absolute; top: 50%; right: -19px; transform: translateY(-50%); z-index: 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--line); }

/* ── Module: Bento-Grid ── */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.bento-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.bento-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(27,73,101,.3); }
.bento-hero { grid-column: span 2; grid-row: span 2; background: linear-gradient(160deg, var(--petrol) 0%, #16405A 60%, var(--petrol-deep) 100%); border: 0; color: #C6D6E0; display: flex; flex-direction: column; }
.bento-hero h3 { color: #fff; }
.bento-hero p { color: #B9CBD8; }
.bento-hero .bento-art { margin-top: auto; }
.bento-wide { grid-column: span 2; }
.bento-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--petrol-tint); margin-bottom: 14px; }
.bento-hero .bento-icon { background: rgba(255,255,255,.12); }
.bento-icon svg { stroke: var(--petrol); }
.bento-hero .bento-icon svg { stroke: var(--petrol-soft); }
.bento-card p { font-size: .92rem; margin: 0; color: var(--muted); }
.bento-hero p { font-size: .98rem; }
.bento-note { text-align: center; margin-top: 26px; font-size: .95rem; color: var(--muted); }

/* ── Sicherheit (dunkel) ── */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sec-card {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius-lg); padding: 24px;
  transition: background .2s ease, border-color .2s ease;
}
.sec-card:hover { background: rgba(255,255,255,.08); border-color: rgba(168,212,232,.4); }
.sec-card svg { stroke: var(--petrol-soft); margin-bottom: 14px; }
.sec-card p { font-size: .92rem; color: #A9BECB; margin: 0; }
.sec-foot { margin-top: 30px; padding: 18px 22px; border: 1px dashed rgba(168,212,232,.35); border-radius: var(--radius); font-size: .93rem; color: #C6D6E0; max-width: 860px; }
.sec-foot strong { color: #fff; }

/* ── Für wen ── */
.aud-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.aud-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 20px; box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease; }
.aud-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.aud-card svg { stroke: var(--petrol); margin-bottom: 12px; }
.aud-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.aud-card p { font-size: .88rem; color: var(--muted); margin: 0; }
.aud-note { text-align: center; margin-top: 24px; font-size: .95rem; color: var(--muted); }

/* ── Vergleich (Kurztabelle) ── */
.cmp-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); font-size: .96rem; }
.cmp-table th, .cmp-table td { padding: 14px 18px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.cmp-table thead th { border-top: 0; background: var(--off); font-size: .85rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.cmp-table thead th.cmp-kuka { background: var(--petrol); color: #fff; }
.cmp-table td.cmp-kuka { background: var(--petrol-tint); color: var(--ink); font-weight: 550; }
.cmp-row-label { font-weight: 650; color: var(--ink); }
.cmp-more { margin-top: 18px; font-size: .95rem; }

/* ── Setup: 4 Schritte ── */
.setup-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.setup-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 22px; box-shadow: var(--shadow-card); }
.setup-card::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-style: italic;
  font-size: 1.9rem; color: var(--petrol-soft); font-weight: 650; margin-bottom: 10px;
}
.setup-card h3 { font-size: 1.05rem; }
.setup-card p { font-size: .92rem; color: var(--muted); margin: 0; }
.setup-note { margin-top: 26px; text-align: center; font-size: .95rem; color: var(--muted); }

/* ── Preis-Teaser ── */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.tier-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px 26px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.tier-card.tier-mid { border: 2px solid var(--petrol); box-shadow: var(--shadow-lift); }
.tier-size { font-size: .85rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--petrol-mid); margin-bottom: 8px; }
.tier-users { font-size: 1.5rem; font-weight: 780; color: var(--ink); margin-bottom: 14px; }
.tier-list { margin-bottom: 18px; }
.tier-list li { display: flex; gap: 10px; padding: 7px 0; font-size: .93rem; border-top: 1px solid var(--line); }
.tier-list li:first-child { border-top: 0; }
.tier-list svg { flex: none; margin-top: 4px; stroke: var(--green); }
.tier-cta { margin-top: auto; font-size: .93rem; color: var(--muted); }
.tier-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 30px; }

/* ── Wissen / Ratgeber-Hub ── */
.know-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.know-card {
  display: flex; flex-direction: column; gap: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--shadow-card);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.know-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: rgba(27,73,101,.3); text-decoration: none; }
.know-tag { font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--petrol-mid); }
.know-card h3 { margin: 0; font-size: 1.05rem; }
.know-card p { font-size: .9rem; color: var(--muted); margin: 0; }
.know-more { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--petrol); }

/* ── FAQ ── */
.faq-wrap { max-width: 780px; margin-inline: auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; box-shadow: var(--shadow-card); }
.faq-item summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 22px; font-weight: 650; color: var(--ink); cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none; width: 22px; height: 22px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 22 22" fill="none"><path d="M6 9l5 5 5-5" stroke="%231B4965" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>') center / contain no-repeat;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-body { padding: 0 22px 20px; font-size: .97rem; }
.faq-body p { margin-bottom: .6em; }
.faq-body p:last-child { margin-bottom: 0; }

/* ── Final CTA (dunkel) ── */
.final-cta { text-align: center; }
.final-cta h2 { font-family: var(--font-display); font-style: italic; font-weight: 620; font-size: clamp(1.9rem, 3.4vw, 3rem); }
.final-cta .section-lead { max-width: 620px; margin-inline: auto; color: #B9CBD8; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin: 30px 0 22px; }
.cta-trust { display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; font-size: .88rem; color: #93A9B8; }
.cta-dot { align-self: center; width: 3px; height: 3px; border-radius: 50%; background: #4A6375; }

/* ── Footer ── */
.site-footer { background: #0A1922; color: #93A9B8; padding: clamp(44px, 6vw, 72px) 0 28px; font-size: .92rem; }
.ft-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: clamp(22px, 3.5vw, 44px); margin-bottom: 40px; }
.ft-brand .brand-name { color: #fff; }
.ft-brand .brand-sub { color: #6E8595; }
.ft-tagline { margin-top: 14px; font-size: .9rem; max-width: 26em; }
.ft-title { font-weight: 700; color: #fff; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul li { padding: 4px 0; }
.site-footer a { color: #93A9B8; }
.site-footer a:hover { color: #fff; text-decoration: none; }
.ft-bottom { display: flex; flex-wrap: wrap; gap: 12px 20px; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.1); padding-top: 22px; font-size: .85rem; }
.ft-links { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.cookie-settings-btn { background: none; border: 0; color: #93A9B8; padding: 0; font-size: .85rem; }
.cookie-settings-btn:hover { color: #fff; }

/* ── Cookie-Banner (IDs von site.js erwartet) ── */
.cookie-banner {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 350;
  background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -12px 40px rgba(13,27,36,.14);
  transform: translateY(105%); opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
}
.cookie-banner.is-open { transform: translateY(0); opacity: 1; }
.cookie-inner { max-width: var(--container); margin-inline: auto; padding: 18px clamp(18px, 4.5vw, 40px); display: grid; gap: 10px; }
.cookie-text { font-size: .9rem; margin: 0; }
.cookie-categories { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .86rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cookie-btn-accept { background: var(--petrol); color: #fff; border: 0; border-radius: 9px; padding: 10px 18px; font-weight: 600; }
.cookie-btn-selection, .cookie-btn-decline { background: #fff; border: 1.5px solid var(--line); border-radius: 9px; padding: 10px 18px; font-weight: 600; color: var(--ink); }
.cookie-link { font-size: .84rem; }

/* ── Scroll-Reveal (site.js setzt .in-view auf [data-reveal]) ── */
[data-reveal] {
  opacity: 0; transform: translateY(26px);
  transition: opacity .55s ease var(--reveal-delay, 0ms), transform .55s ease var(--reveal-delay, 0ms);
}
[data-reveal].in-view { opacity: 1; transform: none; }
html:not(.js) [data-reveal] { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .visual-frame, .float-chip-1, .float-chip-2, .badge-track { animation: none; }
  .badge-track { flex-wrap: wrap; width: auto; justify-content: center; }
  .vm-row { opacity: 1; animation: none; }
  .flow-art .draw { stroke-dashoffset: 0; }
  .in-view .flow-art .draw { animation: none; }
  .btn, .bento-card, .aud-card, .know-card { transition: none; }
}

/* ── Artikel/Ratgeber-Layout (Phase C/D) ── */
.article-hero { padding: clamp(36px, 5vw, 64px) 0 clamp(24px, 3vw, 40px); background: linear-gradient(180deg, var(--petrol-tint), #fff 70%); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; font-size: .84rem; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--petrol); }
.article-hero h1 { max-width: 22em; text-wrap: balance; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .88rem; color: var(--muted); margin-top: 14px; }
.article-meta strong { color: var(--ink); font-weight: 600; }

.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 264px; gap: clamp(28px, 4vw, 64px); align-items: start; padding-block: clamp(28px, 4vw, 48px); }
.toc { position: sticky; top: 96px; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; background: #fff; box-shadow: var(--shadow-card); }
.toc-title { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--petrol-mid); margin: 0 0 10px; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { padding: 5px 0; font-size: .9rem; }
.toc a { color: var(--body); display: flex; gap: 8px; }
.toc a::before { counter-increment: toc; content: counter(toc, decimal-leading-zero); color: var(--petrol-soft); font-weight: 700; font-size: .8rem; margin-top: 1px; }
.toc a:hover { color: var(--petrol); text-decoration: none; }

.prose { max-width: 72ch; }
.prose h2 { margin-top: 1.6em; scroll-margin-top: 96px; }
.prose h2 .serif-accent { color: var(--petrol); }
.prose h3 { margin-top: 1.3em; }
.prose ul { list-style: none; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding: 4px 0 4px 26px; }
.prose ul li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 14px; height: 8px; border-left: 2px solid var(--petrol-bright); border-bottom: 2px solid var(--petrol-bright); transform: rotate(-45deg) scale(.8); border-radius: 1px; }
.prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.prose ol li { padding: 4px 0; }

.info-box { display: flex; gap: 14px; border-radius: var(--radius); padding: 16px 18px; margin: 1.4em 0; font-size: .96rem; border: 1px solid var(--line); background: var(--off); }
.info-box > svg { flex: none; margin-top: 2px; stroke: var(--petrol); }
.info-box strong { color: var(--ink); }
.info-box-tip { background: var(--petrol-tint); border-color: rgba(27,73,101,.25); }
.info-box-warn { background: #FDF6E9; border-color: #E8D3A8; }
.info-box-warn > svg { stroke: #A87718; }
.info-box p { margin: 0; }

.step-cards { display: grid; gap: 12px; margin: 1.4em 0; counter-reset: sc; }
.step-card { display: flex; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-card); }
.step-card::before { counter-increment: sc; content: counter(sc); flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--petrol-tint); color: var(--petrol); font-weight: 750; }
.step-card h3, .step-card h4 { margin: 0 0 4px; font-size: 1.02rem; }
.step-card p { margin: 0; font-size: .94rem; color: var(--muted); }

.article-figure { margin: 1.6em 0; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-card); overflow: hidden; }
.article-figure svg { display: block; width: 100%; height: auto; }
.article-figure figcaption { padding: 10px 18px; font-size: .84rem; color: var(--muted); border-top: 1px solid var(--off); }

.prose-table-wrap { overflow-x: auto; margin: 1.4em 0; }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .94rem; box-shadow: var(--shadow-card); }
.prose th, .prose td { padding: 11px 14px; text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
.prose thead th { border-top: 0; background: var(--off); font-size: .8rem; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }

.author-box { display: flex; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; margin: 2em 0 0; background: #fff; box-shadow: var(--shadow-card); }
.author-avatar { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--petrol); color: #fff; font-weight: 750; font-size: 1.15rem; letter-spacing: .02em; }
.author-box p { margin: 0; font-size: .9rem; color: var(--muted); }
.author-box .author-name { font-weight: 650; color: var(--ink); font-size: .98rem; }

.article-cta { border-radius: var(--radius-lg); background: var(--petrol-deep); color: #C6D6E0; padding: clamp(24px, 3.5vw, 40px); margin: 2.2em 0; }
.article-cta h2, .article-cta h3 { color: #fff; margin-top: 0; }
.article-cta p { color: #B9CBD8; }
.article-cta .btn { margin-top: 6px; }

.related { margin-top: clamp(32px, 5vw, 56px); }
.related h2 { font-size: 1.3rem; }

@media (max-width: 900px) {
  .article-layout { grid-template-columns: 1fr; }
  .toc { position: static; order: -1; }
}

/* ── Responsive ── */
@media (max-width: 1060px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-hero { grid-column: span 2; grid-row: span 1; }
  .sec-grid { grid-template-columns: repeat(2, 1fr); }
  .aud-grid { grid-template-columns: repeat(3, 1fr); }
  .ft-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; }
  .float-chip-1 { left: -8px; }
  .float-chip-2 { right: -6px; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-arrow { top: auto; bottom: -19px; right: 50%; transform: translateX(50%) rotate(90deg); }
  .setup-grid, .tier-grid { grid-template-columns: 1fr 1fr; }
  .know-grid { grid-template-columns: 1fr 1fr; }

  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; inset: 68px 0 auto 0; z-index: 290;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px rgba(13,27,36,.16);
    padding: 10px 18px 18px;
    transform: translateY(-12px); opacity: 0; visibility: hidden;
    transition: transform .22s ease, opacity .22s ease, visibility .22s;
    max-height: calc(100vh - 68px); overflow-y: auto;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav > a, .nav-dropdown-trigger { padding: 12px 4px; border-bottom: 1px solid var(--off); font-size: 1.02rem; }
  .nav-dropdown-panel { position: static; transform: none; opacity: 1; visibility: visible; padding-top: 0; }
  .nav-dropdown-card { width: 100%; grid-template-columns: 1fr; border: 0; box-shadow: none; padding: 0 0 6px; }
  .nav-mega .nav-dropdown-panel { position: static; }
  .nav-mega-card { border: 0; box-shadow: none; }
  .nav-mega-inner { grid-template-columns: 1fr; padding: 0 0 6px; gap: 14px; }
  .mega-intro p { margin-bottom: 6px; }
  .nav-mega-foot { padding: 8px 0 12px; border-top: 0; text-align: left; }
  .header-actions .text-link { display: none; }
}
@media (max-width: 640px) {
  .ba-grid, .sec-grid, .setup-grid, .tier-grid, .know-grid { grid-template-columns: 1fr; }
  .aud-grid { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr; }
  .bento-hero, .bento-wide { grid-column: span 1; }
  .cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cmp-table { min-width: 560px; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { width: 100%; justify-content: center; }
}
@media (max-width: 420px) {
  .aud-grid { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr; }
}
