/* PremioFlow – Design-System „Industry“ (siehe docs/design-system.md)
   Aufbau: 1 Schriften · 2 Tokens · 3 Basis · 4 Komponenten · 5 Layout · 6 Kopfbereich · 7 Hero
           8 Sektionen · 9 Newsletter · 10 Fußbereich · 11 Rechtsseiten · 12 Breakpoints
           13 Scroll-Effekte · 14 Druck */

/* ── 1 Schriften (selbst gehostet, nur latin + latin-ext) ───────────────── */
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/barlow-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/barlow-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/barlow-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/barlow-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/barlow-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/barlow-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/barlow-condensed-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/barlow-condensed-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/barlow-condensed-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/barlow-condensed-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/barlow-condensed-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Barlow Condensed'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/barlow-condensed-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ── 2 Tokens ───────────────────────────────────────────────────────────── */
:root {
  --color-bg: #f2f2f3;
  --color-surface: #e9e9ea;
  --color-text: #1d1f20;
  --color-accent: #5980a6;
  --color-accent-2: #728fab;
  --color-divider: color-mix(in srgb, #1d1f20 16%, transparent);

  --color-neutral-100: #f5f5f8; --color-neutral-200: #e7e7ea; --color-neutral-300: #d4d4d7;
  --color-neutral-400: #b7b7ba; --color-neutral-500: #98989b; --color-neutral-600: #7a7a7d;
  --color-neutral-700: #5d5d60; --color-neutral-800: #424244; --color-neutral-900: #2b2b2d;

  --color-accent-100: #eef6ff; --color-accent-200: #d6ebff; --color-accent-300: #b5d9fd;
  --color-accent-400: #94bce3; --color-accent-500: #749dc4; --color-accent-600: #597ea3;
  --color-accent-700: #416180; --color-accent-800: #2c455d; --color-accent-900: #1d2d3d;

  --font-heading: "Barlow Condensed", system-ui, sans-serif;
  --font-heading-weight: 600;
  --font-body: "Barlow", system-ui, sans-serif;

  --space-1: 3.4px; --space-2: 6.8px; --space-3: 10.2px;
  --space-4: 13.6px; --space-6: 20.4px; --space-8: 27.2px;

  --radius-sm: 2px; --radius-md: 4px; --radius-lg: 7px;

  --shadow-sm: 0 1px 2px color-mix(in srgb, #2b2b2d 14%, transparent);
  --shadow-md: 0 3px 10px color-mix(in srgb, #2b2b2d 16%, transparent);
  --shadow-lg: 0 12px 32px color-mix(in srgb, #2b2b2d 22%, transparent);

  /* Text mit Abstufung – Kontrast gegen --color-bg ≥ 4,5:1 */
  --text-muted: color-mix(in srgb, var(--color-text) 78%, transparent);
  --text-subtle: color-mix(in srgb, var(--color-text) 68%, transparent);

  --gutter: clamp(20px, 5vw, 56px);
  --container: 1240px;
  --header-h: 72px;
}

/* ── 3 Basis ────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--color-bg); color: var(--color-text);
  font-family: var(--font-body); font-size: 15px; line-height: 1.55; font-weight: 400;
  text-wrap: pretty;
  /* Footer schließt auch bei kurzen Seiten (404, leere Rechtsseiten) unten ab */
  display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh;
}
body > main { flex: 1 0 auto; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  line-height: 1.12; letter-spacing: -0.015em; margin: 0 0 var(--space-2);
  hyphens: manual; overflow-wrap: break-word;
}
p { margin: 0 0 var(--space-3); }
a { color: var(--color-accent-700); text-underline-offset: 3px; text-decoration: none; }
a:hover { color: var(--color-accent-900); }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }
::selection { background: color-mix(in srgb, var(--color-accent) 30%, transparent); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 300;
  background: var(--color-bg); color: var(--color-text); padding: 10px 16px; border: 1px solid var(--color-text);
}
.skip-link:focus { left: 8px; }

/* ── 4 Komponenten ──────────────────────────────────────────────────────── */
.blueprint { position: relative; border: 1px solid var(--color-divider); border-radius: 0; }
.blueprint > .corner {
  position: absolute; width: 11px; height: 11px;
  color: color-mix(in srgb, var(--color-text) 55%, transparent);
}
.blueprint > .corner::before, .blueprint > .corner::after { content: ""; position: absolute; background: currentColor; }
.blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after { top: 5px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer; text-decoration: none;
  font-family: var(--font-heading); font-weight: var(--font-heading-weight);
  font-size: 14px; line-height: 1.2; color: var(--color-text);
  background: transparent; border: 1px solid var(--color-divider); border-radius: 0;
  padding: var(--space-2) calc(var(--space-3) * 1.2);
}
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
/* Primär: --color-accent-700 statt --color-accent (Kontrast 5,8:1 statt 3,7:1) */
.btn-primary { background: var(--color-accent-700); border-color: var(--color-accent-700); color: var(--color-bg); }
.btn-primary:hover { background: var(--color-accent-800); border-color: var(--color-accent-800); color: var(--color-bg); }
.btn-primary:active { background: var(--color-accent-900); }
.btn-secondary { border-color: var(--color-divider); }
.btn-secondary:hover { background: color-mix(in srgb, var(--color-text) 7%, transparent); color: var(--color-text); }
.btn-ghost { color: var(--color-accent-700); border-color: transparent; padding-inline: var(--space-3); }
.btn-ghost:hover { background: color-mix(in srgb, var(--color-accent) 10%, transparent); color: var(--color-accent-800); }
.btn-lg { padding: 14px 22px; font-size: 15px; }
.btn-md { padding: 12px 18px; }

.input {
  width: 100%; min-height: 36px; padding: 6px 10px; font: inherit; font-size: 14px;
  color: var(--color-text); caret-color: var(--color-accent);
  background: var(--color-surface); border: 1px solid var(--color-divider); border-radius: 0;
}
.input:hover { border-color: color-mix(in srgb, var(--color-text) 45%, transparent); }
.input:focus-visible { border-color: var(--color-accent); outline-offset: 0; }

.tag {
  display: inline-flex; align-items: center; font-size: 11px; letter-spacing: 0.02em;
  padding: 3px 10px; border-radius: 0; line-height: 1.4;
}
.tag-accent { background: var(--color-accent-100); color: var(--color-accent-800); }
.tag-neutral { background: var(--color-neutral-100); color: var(--color-neutral-800); }
.tag-outline { border: 1px solid var(--color-accent-700); color: var(--color-accent-700); }

.icon { flex: none; color: var(--color-accent-700); }

/* ── 5 Layout ───────────────────────────────────────────────────────────── */
.container { max-width: var(--container); margin: 0 auto; padding-inline: var(--gutter); }
.section { border-top: 1px solid var(--color-divider); background: var(--color-bg); }
.section--first { border-top: 0; }
.section--dark { background: var(--color-accent-900); color: var(--color-bg); border-top-color: transparent; }
.section__inner { max-width: var(--container); margin: 0 auto; padding: 120px var(--gutter); }

.kicker {
  display: block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
  color: var(--color-accent-700); padding-bottom: 12px; border-bottom: 1px solid var(--color-divider);
}
.section--dark .kicker { color: var(--color-accent-300); border-bottom-color: color-mix(in srgb, var(--color-bg) 22%, transparent); }

.section-head {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 24px 64px; align-items: end; margin-top: 28px;
}
.section-head--plain { margin-top: 0; }
.section-title {
  font-weight: 600; font-size: clamp(34px, 5vw, 72px); line-height: 1;
  text-transform: uppercase; margin: 0; text-wrap: balance;
}
.kicker + .section-title { margin-top: 28px; }
.section-lead { font-size: 18px; line-height: 1.6; margin: 0; color: var(--text-muted); max-width: 50ch; }
.section--dark .section-lead { color: color-mix(in srgb, var(--color-bg) 85%, transparent); }

/* ── 6 Kopfbereich ──────────────────────────────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: color-mix(in srgb, var(--color-bg) 82%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-divider);
}
.nav { max-width: var(--container); margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: clamp(12px, 2vw, 24px); }
.nav__brand { display: flex; align-items: center; gap: 10px; color: var(--color-text); margin-right: 8px; }
.nav__logo {
  width: 26px; height: 26px; display: grid; place-items: center;
  background: var(--color-accent); border-color: var(--color-accent);
}
.nav__logo .icon { color: var(--color-bg); }
.nav__name { font-family: var(--font-heading); font-weight: 700; font-size: 22px; letter-spacing: 0.02em; text-transform: uppercase; }
.nav__menu { display: flex; align-items: center; gap: clamp(12px, calc(2.4vw - 6px), 28px); flex: 1; font-size: 14px; font-weight: 500; }
.nav__menu a:not(.btn) { color: var(--color-text); }
.nav__menu a:not(.btn):hover { color: var(--color-accent-700); }
.nav__login { margin-left: auto; font-size: 14px; }
.nav__toggle { display: none; }
.nav__cta { white-space: nowrap; }
.cta-short { display: none; }

/* ── 7 Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: clip; background: var(--color-bg);
  background-image:
    linear-gradient(color-mix(in srgb, var(--color-text) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--color-text) 5%, transparent) 1px, transparent 1px);
  background-size: 48px 48px; background-position: center top;
}
.hero__inner { max-width: var(--container); margin: 0 auto; padding: 150px var(--gutter) 110px; }
.hero__intro { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero .tag-outline { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; }
.hero__title {
  font-size: clamp(38px, 7.4vw, 108px); line-height: 0.98; letter-spacing: 0.005em; text-transform: uppercase;
  margin: 28px 0 0; max-width: 18ch; text-wrap: balance;
}
.hero__lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 58ch; margin: 28px 0 0; color: var(--text-muted); }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 36px; }
.hero__trust {
  display: flex; gap: 8px 24px; flex-wrap: wrap; justify-content: center; margin: 24px 0 0; padding: 0;
  list-style: none; font-size: 13px; color: var(--text-subtle);
}
.hero__trust li { display: flex; gap: 6px; align-items: center; }

/* App-Mockup (HTML, kein Bild; für Screenreader eine Abbildung) */
.mockup-wrap { position: relative; margin-top: 72px; }
.mockup { background: var(--color-bg); box-shadow: var(--shadow-lg); text-align: left; }
.mk-bar {
  display: flex; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--color-divider);
  font-size: 12px; color: var(--text-subtle);
}
.mk-dots { display: flex; gap: 6px; }
.mk-dots i { width: 9px; height: 9px; border: 1px solid var(--color-divider); }
.mk-url { flex: 1; text-align: center; }
.mk-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); min-height: 440px; }
.mk-side { border-right: 1px solid var(--color-divider); padding: 18px 12px; display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.mk-side__brand { font-family: var(--font-heading); font-weight: 700; font-size: 16px; text-transform: uppercase; letter-spacing: 0.03em; padding: 0 10px 14px; }
.mk-side span:not(.mk-side__brand) { padding: 8px 10px; color: var(--text-muted); }
.mk-side .is-active { background: var(--color-accent-100); color: var(--color-accent-800); font-weight: 600; }
.mk-main { padding: 20px 24px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.mk-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.mk-title { font-family: var(--font-heading); font-weight: 600; font-size: 24px; text-transform: uppercase; }
.mk-seg { display: flex; border: 1px solid var(--color-divider); font-size: 12px; }
.mk-seg span { padding: 5px 12px; }
.mk-seg span + span { border-left: 1px solid var(--color-divider); }
.mk-seg .is-active { background: var(--color-text); color: var(--color-bg); }
.mk-spacer { flex: 1; }
.mk-search { border: 1px solid var(--color-divider); padding: 6px 12px; font-size: 12px; min-width: 160px; color: var(--text-subtle); }
.mk-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--color-divider); }
.mk-kpi { padding: 12px 14px; }
.mk-kpi + .mk-kpi { border-left: 1px solid var(--color-divider); }
.mk-kpi__label { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-subtle); }
.mk-kpi__value { font-family: var(--font-heading); font-weight: 600; font-size: 26px; margin-top: 4px; }
.mk-kpi.is-open { background: var(--color-accent-100); }
.mk-kpi.is-open .mk-kpi__label, .mk-kpi.is-open .mk-kpi__value { color: var(--color-accent-800); }
.mk-table { font-size: 12.5px; overflow: hidden; }
.mk-row {
  display: grid; grid-template-columns: 1.6fr 1.1fr 0.8fr 0.7fr 1.2fr 0.8fr 0.8fr; gap: 12px;
  padding: 9px 10px; align-items: center; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent);
}
.mk-row:last-child { border-bottom: 0; }
.mk-row > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-row--head {
  padding: 8px 10px; border-bottom: 1px solid var(--color-divider); font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-subtle);
}
.mk-num { text-align: right; }
.mk-strong { font-weight: 600; }
.mk-surplus { color: var(--color-accent-700); font-weight: 600; text-align: right; }
.tag-days-warn { background: var(--color-accent-300); color: var(--color-accent-900); }
.tag-days-limit { background: var(--color-accent-900); color: var(--color-bg); }

.float-card { display: none; position: absolute; z-index: 2; background: var(--color-bg); box-shadow: var(--shadow-md); }
.float-card--left { left: -28px; bottom: -36px; width: min(280px, 46%); padding: 16px 18px; }
.float-card--right { right: -24px; top: 64px; width: min(260px, 42%); padding: 14px 16px; gap: 12px; align-items: flex-start; }
.float-card__kicker { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-accent-700); font-weight: 600; }
.float-card__title { font-family: var(--font-heading); font-weight: 600; font-size: 22px; margin-top: 6px; }
.float-card__text { font-size: 13px; margin: 4px 0 0; color: var(--text-muted); }
.float-card--right .icon { margin-top: 2px; }
.float-card--right p { font-size: 13px; line-height: 1.45; margin: 0; }
.float-card--right strong { font-weight: 600; }

/* ── 8 Sektionen ────────────────────────────────────────────────────────── */
/* Problem */
.problem-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 40px; margin: 72px 0 0; padding: 0; list-style: none; }
.problem-card { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.card-no { font-family: var(--font-heading); font-size: 15px; font-weight: 600; color: var(--color-accent-700); letter-spacing: 0.06em; }
.card-title { font-size: 28px; line-height: 1.05; text-transform: uppercase; margin: 0; }
.card-text { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text-muted); }
.card-visual { margin-top: auto; padding-top: 20px; }
.meter { position: relative; height: 8px; border: 1px solid var(--color-divider); }
.meter__fill { position: absolute; inset: 0 6% 0 0; background: var(--color-accent-300); }
.meter__limit { position: absolute; top: -6px; bottom: -6px; right: 0; width: 1px; background: var(--color-text); }
.meter-caption { display: flex; justify-content: space-between; font-size: 12px; margin-top: 8px; color: var(--text-subtle); }
.dot-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: 4px; }
.dot-grid span { height: 18px; background: var(--color-accent-500); }
.dot-grid .is-missing { background: none; border: 1px dashed var(--color-accent-700); }
.ledger { display: flex; flex-direction: column; gap: 6px; font-size: 13px; margin: 0; }
.ledger div { display: flex; justify-content: space-between; border-bottom: 1px solid var(--color-divider); padding-bottom: 6px; }
.ledger dt, .ledger dd { margin: 0; }
.ledger .is-total { font-weight: 600; color: var(--color-accent-700); border-bottom: 0; padding-bottom: 0; }

/* Geldkreislauf */
.loop { list-style: none; padding: 0; margin: 80px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 20px; }
.step {
  padding: 24px 20px; border-color: color-mix(in srgb, var(--color-bg) 24%, transparent);
  display: flex; flex-direction: column; gap: 12px; min-height: 200px;
}
.step > .corner { color: var(--color-accent-400); }
.step__no { font-size: 12px; letter-spacing: 0.08em; color: var(--color-accent-300); font-weight: 600; text-transform: uppercase; }
.step__title { font-family: var(--font-heading); font-weight: 600; font-size: 28px; line-height: 1.12; text-transform: uppercase; hyphens: auto; overflow-wrap: anywhere; }
.step__text { font-size: 14px; line-height: 1.5; color: color-mix(in srgb, var(--color-bg) 85%, transparent); }
.step--result { border-color: var(--color-accent-400); background: color-mix(in srgb, var(--color-accent) 22%, transparent); }
.step--result > .corner { color: var(--color-accent-300); }

/* Funktionen */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 36px; margin: 72px 0 0; padding: 0; list-style: none; }
.feature-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.feature-card__head { display: flex; justify-content: space-between; align-items: center; }
.feature-card__title { font-size: 24px; text-transform: uppercase; margin: 0; }
.feature-card ul { padding-left: 18px; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); display: flex; flex-direction: column; gap: 4px; }

/* Für wen */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); margin: 72px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--color-divider); }
.audience__item { padding: 36px 32px 0; display: flex; flex-direction: column; gap: 14px; }
.audience__item:first-child { padding-left: 0; }
.audience__item:last-child { padding-right: 0; }
.audience__item + .audience__item { border-left: 1px solid var(--color-divider); }
.audience__letter { font-family: var(--font-heading); font-weight: 600; font-size: 64px; line-height: 1; color: var(--color-accent); }
.audience__title { font-size: 26px; text-transform: uppercase; margin: 0; }
.section-title--narrow { max-width: 18ch; }

/* Sicherheit */
.trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: center; }
.trust .section-title { font-size: clamp(34px, 4.6vw, 64px); }
.trust-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 28px 32px; margin: 48px 0 0; padding: 0; list-style: none; }
.trust-list li { display: flex; flex-direction: column; gap: 8px; }
.trust-list strong { font-weight: 600; font-size: 16px; }
.trust-list span { font-size: 14.5px; line-height: 1.55; color: var(--text-muted); }
.history { background: var(--color-bg); box-shadow: var(--shadow-lg); }
.history__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--color-divider); }
.history__title { font-size: 18px; text-transform: uppercase; margin: 0; }
.history__list { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.history__list li { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 16px; padding: 14px 20px; border-bottom: 1px solid color-mix(in srgb, var(--color-text) 8%, transparent); }
.history__list li:last-child { border-bottom: 0; }
.history__list time { color: var(--text-subtle); }
.history__list strong { font-weight: 600; }

/* Preise */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 36px; margin: 72px 0 0; padding: 0; list-style: none; align-items: stretch; }
.price-card { padding: 36px 32px; display: flex; flex-direction: column; gap: 20px; }
.price-card--featured { border-color: var(--color-accent); box-shadow: var(--shadow-lg); background: var(--color-bg); }
.price-card--featured > .corner { color: var(--color-accent); }
.price-card__head { display: flex; justify-content: space-between; align-items: center; }
.price-card__name { font-size: 28px; text-transform: uppercase; margin: 0; }
.price-card__desc { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--text-muted); }
.price { display: flex; align-items: baseline; gap: 8px; }
.price__amount { font-family: var(--font-heading); font-weight: 600; font-size: 64px; line-height: 1; }
.price__unit { font-size: 14px; color: var(--text-subtle); }
.price-card__seats { font-size: 14px; font-weight: 600; }
.price-card__features { list-style: none; padding: 20px 0 0; margin: 0; border-top: 1px solid var(--color-divider); display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.price-card__features li { display: flex; gap: 10px; }
.price-card__features .is-planned { color: var(--text-subtle); }
.price-card__features .is-planned .icon { color: currentColor; }
.price-card .btn { margin-top: auto; }
.price-notes { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 48px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--text-muted); }

/* In Entwicklung */
.roadmap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 20px; margin: 64px 0 0; padding: 0; list-style: none; }
.roadmap-item { border: 1px dashed color-mix(in srgb, var(--color-text) 45%, transparent); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.roadmap-item__tags { display: flex; gap: 8px; flex-wrap: wrap; }
.roadmap-item__title { font-size: 22px; text-transform: uppercase; margin: 0; }
.roadmap-item p { font-size: 14.5px; line-height: 1.55; color: var(--text-muted); margin: 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 80px; }
.faq .section-title { font-size: clamp(34px, 4.6vw, 64px); }
.faq__aside p { font-size: 16px; line-height: 1.6; margin: 20px 0 0; color: var(--text-muted); max-width: 36ch; }
.faq__aside a, .legal a:not(.btn), .consent a { text-decoration: underline; }
.faq__list { display: flex; flex-direction: column; border-top: 1px solid var(--color-divider); }
.faq__item { border-bottom: 1px solid var(--color-divider); }
.faq__item summary {
  cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; font-weight: 600; font-size: 17px;
}
.faq__item summary::after { content: "+"; color: var(--color-accent-700); font-weight: 400; flex: none; }
.faq__item[open] summary::after { content: "–"; }
.faq__item p { margin: 0 0 22px; font-size: 15.5px; line-height: 1.6; color: var(--text-muted); }

/* ── 9 Newsletter ───────────────────────────────────────────────────────── */
.newsletter__inner { max-width: var(--container); margin: 0 auto; padding: 140px var(--gutter) 120px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.newsletter__title { font-size: clamp(36px, 6.4vw, 96px); line-height: 0.98; text-transform: uppercase; margin: 0; max-width: 16ch; text-wrap: balance; }
.newsletter__lead { font-size: 18px; line-height: 1.6; margin: 24px 0 0; max-width: 52ch; color: color-mix(in srgb, var(--color-bg) 85%, transparent); }
.newsletter__form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 40px; width: 100%; max-width: 520px; }
.newsletter__form .input {
  flex: 1; min-width: 220px; min-height: 46px; background: transparent; color: var(--color-bg);
  border-color: color-mix(in srgb, var(--color-bg) 55%, transparent);
}
.newsletter__form .input::placeholder { color: color-mix(in srgb, var(--color-bg) 70%, transparent); }
.newsletter__form .btn { min-height: 46px; padding: 0 22px; background: var(--color-bg); border-color: var(--color-bg); color: var(--color-accent-900); }
.newsletter__form .btn:hover { background: var(--color-accent-100); }
.newsletter__form .btn > .corner { color: var(--color-accent-400); }
.consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; font-size: 13px; text-align: left; max-width: 520px; color: color-mix(in srgb, var(--color-bg) 85%, transparent); }
.consent input { accent-color: var(--color-accent-400); margin: 2px 0 0; flex: none; width: 16px; height: 16px; }
.consent a, .section--dark a { color: var(--color-accent-300); }
.section--dark :focus-visible, .site-footer :focus-visible { outline-color: var(--color-accent-300); }

/* ── 10 Fußbereich ──────────────────────────────────────────────────────── */
.site-footer { background: var(--color-accent-900); color: var(--color-bg); }
.site-footer__inner {
  padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center;
  font-size: 13px; color: color-mix(in srgb, var(--color-bg) 80%, transparent);
}
.site-footer__inner::before { content: ""; flex-basis: 100%; height: 1px; margin-bottom: 4px; background: color-mix(in srgb, var(--color-bg) 20%, transparent); }
.site-footer__brand { font-family: var(--font-heading); font-weight: 700; font-size: 20px; text-transform: uppercase; color: var(--color-bg); letter-spacing: 0.02em; }
.site-footer__copy { flex: 1; min-width: 220px; }
.site-footer__nav { display: flex; gap: 8px 24px; flex-wrap: wrap; }
.site-footer a { color: var(--color-accent-300); }
.site-footer a:hover { color: var(--color-bg); }

/* ── 11 Rechtsseiten ────────────────────────────────────────────────────── */
.legal { padding: calc(var(--header-h) + 56px) var(--gutter) 96px; }
.legal__inner { max-width: 760px; margin: 0 auto; font-size: 16px; line-height: 1.7; }
.legal__title { font-size: clamp(34px, 5vw, 56px); text-transform: uppercase; line-height: 1.02; margin: 0 0 12px; }
.legal__meta { font-size: 13px; color: var(--text-subtle); margin: 0 0 20px; }
.draft-notice {
  background: var(--color-accent-100); color: var(--color-accent-800); border-left: 3px solid var(--color-accent-700);
  padding: 12px 16px; font-size: 14px; line-height: 1.5; margin: 0 0 32px;
}
.toc { border: 1px solid var(--color-divider); padding: 20px 24px; margin: 0 0 40px; }
.legal .toc__title { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 10px; }
.toc ol { padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.legal h2 { font-size: 28px; text-transform: uppercase; margin: 48px 0 12px; scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h3 { font-size: 20px; margin: 28px 0 8px; }
.legal p, .legal li { color: var(--color-text); }
.legal ul, .legal ol { padding-left: 22px; margin-bottom: 16px; }

/* 404-Seite (PROJ-4): nutzt den Rechtsseiten-Rahmen */
.notfound { min-height: 70vh; }
.notfound .kicker { display: block; margin-bottom: 12px; }
.notfound__text { font-size: 18px; margin: 0 0 32px; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ── 12 Breakpoints ─────────────────────────────────────────────────────── */
@media (min-width: 1200px) {
  .loop { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .step { padding-inline: 17px; }
  .step__title { font-size: 21px; }
}

@media (min-width: 1080px) {
  .float-card--left { display: block; }
  .float-card--right { display: flex; }
}

@media (max-width: 1079px) {
  .mk-body { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .mk-side { display: none; }
}

@media (max-width: 999px) {
  .trust, .faq { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 899px) {
  .audience { grid-template-columns: minmax(0, 1fr); }
  .audience__item, .audience__item:first-child, .audience__item:last-child { padding: 28px 0; }
  .audience__item + .audience__item { border-left: 0; border-top: 1px solid var(--color-divider); }
}

/* Burger-Menü: die Desktop-Navigation braucht mindestens 960 px */
@media (max-width: 959px) {
  .nav { gap: 12px; }
  .nav__brand { margin-right: auto; }
  .nav__toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0;
    background: transparent; border: 1px solid var(--color-divider); color: var(--color-text); cursor: pointer;
  }
  .nav__bars { position: relative; width: 18px; height: 14px; }
  .nav__bars i { position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; transition: transform 0.2s, opacity 0.2s; }
  .nav__bars i:nth-child(1) { top: 0; }
  .nav__bars i:nth-child(2) { top: 6px; }
  .nav__bars i:nth-child(3) { top: 12px; }
  .nav__toggle[aria-expanded="true"] .nav__bars i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav__toggle[aria-expanded="true"] .nav__bars i:nth-child(2) { opacity: 0; }
  .nav__toggle[aria-expanded="true"] .nav__bars i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--color-bg); border-bottom: 1px solid var(--color-divider);
    padding: 4px var(--gutter) 16px; max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  }
  .nav:not(.is-open) .nav__menu { display: none; }
  .nav__menu a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--color-divider); font-size: 16px; }
  .nav__login { margin: 12px 0 0; align-self: flex-start; }
}

@media (max-width: 599px) {
  h1, h2, h3 { hyphens: auto; }
  .section__inner { padding-top: 72px; padding-bottom: 72px; }
  .hero__inner { padding-top: 112px; padding-bottom: 72px; }
  .newsletter__inner { padding-top: 96px; padding-bottom: 80px; }
  .mockup-wrap { margin-top: 48px; }
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .nav__cta { padding-inline: 12px; }
  .nav__name { font-size: 20px; }
  .problem-card, .feature-card, .price-card { padding: 24px; }
  .problem-grid, .feature-grid, .price-grid, .loop { margin-top: 48px; gap: 28px; }
  .loop { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .price__amount { font-size: 52px; }

  /* Mockup auf dem Smartphone: Kacheln 2 × 2, Tabelle Modell · Prämie · Offen */
  .mk-url { display: none; }
  .mk-main { padding: 16px; gap: 14px; }
  .mk-search { display: none; }
  .mk-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mk-kpi:nth-child(3) { border-left: 0; }
  .mk-kpi:nth-child(n+3) { border-top: 1px solid var(--color-divider); }
  .mk-kpi__value { font-size: 22px; }
  .mk-row { grid-template-columns: 1.2fr 1.2fr 0.9fr; gap: 8px; }
  .mk-vin, .mk-site, .mk-days, .mk-exp { display: none; }
  .history__list li { grid-template-columns: 1fr; gap: 2px; }
  .newsletter__form .btn { flex: 1; }
}

@media (max-width: 479px) {
  .loop { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 359px) {
  .nav__cta { display: none; }
}

@media (max-width: 374px) {
  .nav__name { font-size: 18px; }
  .nav__cta { font-size: 13px; padding-inline: 10px; }
}

/* ── 13 Scroll-Effekte (PROJ-3) ─────────────────────────────────────────────
   Alle Zustände werden erst von effects.js gesetzt: ohne JavaScript, bei „Bewegung reduzieren“
   oder bei abgeschaltetem Effekt bleibt die Seite flach und vollständig sichtbar. */
.mockup-wrap { perspective: 1600px; }
.fx-tilt { transform-origin: center top; will-change: transform; }

.fx-reveal {
  opacity: 0; transform: translate3d(0, 56px, 0);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.fx-reveal.is-shown { opacity: 1; transform: none; }

/* Stacking (nur ab 1080 px aktiv – die Klasse setzt effects.js) */
.fx-stack [data-stack] {
  position: sticky; top: 0;
  box-shadow: 0 -40px 80px -40px color-mix(in srgb, var(--color-text) 35%, transparent);
}
.fx-stack .section--dark[data-stack] { box-shadow: 0 -40px 80px -40px color-mix(in srgb, var(--color-text) 45%, transparent); }
.fx-stack .hero[data-stack] { box-shadow: none; }
.fx-stack [data-stack-inner] { transform-origin: center top; will-change: transform, opacity; }
[data-stack]:focus { outline: none; } /* Ziel eines Ankersprungs, nur Startpunkt für die Tastatur */
/* Die letzte Sektion füllt das Fenster, damit darunter keine überdeckte Sektion hervorblitzt */
.fx-stack .newsletter { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; }


/* ── 14 Druck ───────────────────────────────────────────────────────────── */
@media print {
  .fx-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  [data-stack] { position: static !important; box-shadow: none !important; }
  [data-stack-inner], .fx-tilt, [data-px] { transform: none !important; opacity: 1 !important; }
  .fx-stack .newsletter { min-height: 0; }
  .site-header, .skip-link, .newsletter, .site-footer__nav, .hero__actions { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .legal { padding: 0; }
  .legal__inner { max-width: none; }
  .section--dark, .site-footer { background: #fff; color: #000; }
  .site-footer { border-top: 1px solid #000; }
  a { color: #000; text-decoration: underline; }
  .legal a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  .draft-notice { border: 1px solid #000; background: none; color: #000; }
}

/* Newsletter: Einwilligung steht im Formular, in voller Breite unter Feld und Button */
.newsletter__form .consent { flex-basis: 100%; margin-top: 6px; }

.icon--inherit { color: inherit; }
