/* ─────────────────────────────────────────────────────────────────────────
   TOUR32 — Designsystem
   Hell, produktzentriert, typografisch ruhig. Eine Schriftfamilie,
   ein Akzent (Atlas-Blau, abgeleitet vom Globus der Reise-App).
   ───────────────────────────────────────────────────────────────────────── */

:root {
  --bg:        #ffffff;
  --surface:   #f2f4f8;   /* kühles Hellgrau für Wechselsektionen */
  --ink:       #10151d;
  --muted:     #5b6675;
  --faint:     #8b94a3;
  --rule:      rgba(16,21,29,0.12);
  --rule-soft: rgba(16,21,29,0.07);

  --blue:      #2e4e80;   /* Atlas-Blau */
  --blue-deep: #1e3355;
  --blue-wash: #e8edf5;

  /* Aliase für Bestandsmarkup */
  --paper:     var(--surface);
  --fg:        var(--ink);
  --accent:    var(--blue);
  --mute2:     var(--faint);

  --font-sans: "Schibsted Grotesk", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;

  --maxw:      1140px;
  --pad-x:     32px;
  --r-window:  16px;
  --r-btn:     999px;
  --shadow-window: 0 1px 2px rgba(16,21,29,0.06), 0 24px 64px -24px rgba(30,51,85,0.28);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { min-height: 100vh; background: var(--bg); }

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img { max-width: 100%; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 2px; }

/* ── Kopfleiste ───────────────────────────────────────────────────────── */
.bar {
  position: sticky; top: 0;
  z-index: 50;
  min-height: 60px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 0 var(--pad-x);
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--rule-soft);
}
.bar__brand { display: flex; align-items: baseline; gap: 10px; }
.bar__brand .mark {
  font-weight: 700; font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: inline-flex; align-items: center;
}
.bar__brand .mark .num { color: var(--blue); }
.bar__brand .mark sup { font-size: 10px; font-weight: 400; color: var(--faint); }
.bar__brand .mark__logo { display: block; height: 38px; width: auto; }
@media (max-width: 980px) { .bar__brand .mark__logo { height: 32px; } }
.bar__brand .by { font-size: 13px; color: var(--muted); }
.bar__nav {
  display: flex; gap: 30px; justify-content: center;
  font-size: 15px; font-weight: 500;
}
.bar__nav a { color: var(--muted); padding: 6px 0; transition: color .15s; }
.bar__nav a:hover { color: var(--ink); }
.bar__nav a.current, .bar__nav a.section,
.bar__nav a[aria-current="page"] { color: var(--ink); }
.bar__item { position: relative; }
.bar__item > a { display: inline-flex; align-items: center; gap: 6px; }
.bar__chev { color: var(--faint); transition: transform .15s, color .15s; }
.bar__item:hover .bar__chev,
.bar__item:focus-within .bar__chev { color: var(--ink); transform: rotate(180deg); }
.bar__drop {
  position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  padding-top: 10px;
  opacity: 0; visibility: hidden;
  transition: opacity .15s, visibility .15s;
}
.bar__item:hover .bar__drop,
.bar__item:focus-within .bar__drop { opacity: 1; visibility: visible; }
.bar__drop-panel {
  min-width: 200px;
  display: flex; flex-direction: column;
  padding: 8px;
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  border-radius: 12px;
  box-shadow: 0 1px 2px rgba(16,21,29,0.06), 0 16px 40px -16px rgba(30,51,85,0.25);
}
.bar__drop-panel a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  white-space: nowrap;
}
.bar__drop-panel a:hover { background: var(--surface); color: var(--ink); }

.bar__right {
  display: flex; justify-content: flex-end; align-items: center;
  gap: 18px;
  font-size: 14px; color: var(--muted);
}
.bar__right .phone { color: var(--ink); font-weight: 500; }
.bar__cta {
  display: inline-flex; align-items: center;
  background: var(--blue); color: #fff;
  padding: 9px 18px;
  border-radius: var(--r-btn);
  font-size: 14px; font-weight: 600;
  transition: background .15s;
}
.bar__cta:hover { background: var(--blue-deep); }

/* Menue-Umschalter (Checkbox-Technik, ohne JS) — auf dem Desktop unsichtbar */
.bar__toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.bar__burger { display: none; }

@media (max-width: 980px) {
  .bar { grid-template-columns: 1fr auto; padding: 12px var(--pad-x); align-items: center; }
  .bar__brand .by { display: none; }
  .bar__right .phone { display: none; }

  /* Burger-Icon rechts */
  .bar__burger {
    display: inline-flex; flex-direction: column; justify-content: center;
    gap: 5px; width: 44px; height: 44px; margin-right: -10px;
    cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .bar__burger span {
    display: block; height: 2px; width: 24px; margin: 0 auto;
    background: var(--ink); border-radius: 2px;
    transition: transform .2s ease, opacity .2s ease;
  }
  /* Burger -> X, wenn geoeffnet */
  #nav-toggle:checked ~ .bar__right .bar__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  #nav-toggle:checked ~ .bar__right .bar__burger span:nth-child(2) { opacity: 0; }
  #nav-toggle:checked ~ .bar__right .bar__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Navigation als aufklappbares Panel unter der Kopfzeile */
  .bar__nav {
    grid-row: 2; grid-column: 1 / -1;
    flex-direction: column; align-items: stretch; gap: 0;
    overflow: hidden; max-height: 0;
    transition: max-height .28s ease;
  }
  #nav-toggle:checked ~ .bar__nav { max-height: 85vh; overflow-y: auto; margin-top: 8px; }

  .bar__nav > a,
  .bar__item > a {
    display: block; padding: 14px 4px; font-size: 17px;
    border-top: 1px solid var(--rule-soft);
  }
  .bar__chev { display: none; }

  /* Unterseiten eingerueckt und immer sichtbar im offenen Panel */
  .bar__item { position: static; display: block; }
  .bar__drop { position: static; opacity: 1; visibility: visible; transform: none; padding: 0; }
  .bar__drop-panel {
    min-width: 0; display: block; padding: 0 0 8px 16px;
    background: transparent; border: 0; box-shadow: none;
  }
  .bar__drop-panel a { display: block; padding: 10px 4px; font-size: 15px; color: var(--muted); }
}

/* ── Sektionen ────────────────────────────────────────────────────────── */
.section { position: relative; }
.section__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 104px var(--pad-x);
}
.section--tight .section__inner { padding: 56px var(--pad-x); }
.section--lg    .section__inner { padding: 128px var(--pad-x); }

.section--surface { background: var(--surface); }
.section--deep    { background: var(--blue-deep); color: #fff; }
.section--deep .lede, .section--deep .body--muted { color: rgba(255,255,255,0.72); }
.section--deep .h-section { color: #fff; }
.section--deep .kicker, .section--deep .eyebrow { color: rgba(255,255,255,0.65); }

/* Aliase: altes Markup */
.section--paper  { background: var(--surface); }
.section--ink,
.section--accent { background: var(--blue-deep); color: #fff; }
.section--ink .lede, .section--accent .lede { color: rgba(255,255,255,0.72); }

.section__head { margin-bottom: 48px; max-width: 640px; }
.section__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section__num { display: none; }
.section__kicker {
  font-size: 16px; font-weight: 600;
  color: var(--blue);
  margin-bottom: 12px;
}
.section--deep .section__kicker,
.section--ink .section__kicker,
.section--accent .section__kicker { color: rgba(255,255,255,0.65); }

/* ── Typografie ───────────────────────────────────────────────────────── */
.kicker { font-size: 16px; font-weight: 600; color: var(--blue); }
.eyebrow { font-size: 16px; font-weight: 600; color: var(--blue); }

h1, h2, h3, h4 { margin: 0; font-weight: 650; }

.h-display {
  font-size: clamp(38px, 4.6vw, 62px);
  line-height: 1.06;
  letter-spacing: -0.028em;
  font-weight: 700;
  text-wrap: balance;
  overflow-wrap: break-word;
  hyphens: auto;
  color: var(--ink);
}
.h-display .cont { color: #71809c; font-weight: 600; }
.h-display em, .h-section em, .h-sub em, .card__title em {
  font-style: normal; font-weight: inherit; color: inherit;
}

.h-section {
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h-sub {
  font-size: clamp(21px, 2vw, 26px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.lede {
  font-size: 19px; line-height: 1.55;
  color: var(--muted);
  max-width: 58ch;
  letter-spacing: -0.002em;
}
.lede strong { color: var(--ink); font-weight: 600; }

.body { font-size: 16px; line-height: 1.6; color: var(--ink); }
.body p { margin: 0 0 1em; }
.body--muted { color: var(--muted); }

/* ── Buttons & Links ──────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px;
  font-size: 16px; font-weight: 600;
  border: 0;
  border-radius: var(--r-btn);
  background: var(--blue);
  color: #fff;
  transition: background .15s;
  cursor: pointer;
}
.btn:hover { background: var(--blue-deep); }
.btn .arrow { display: none; }

.btn--ghost {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--rule);
}
.btn--ghost:hover { background: var(--surface); }

.section--deep .btn, .section--ink .btn, .section--accent .btn { background: #fff; color: var(--blue-deep); }
.section--deep .btn:hover, .section--ink .btn:hover, .section--accent .btn:hover { background: var(--blue-wash); }

.linkrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 16px; font-weight: 600;
  color: var(--blue);
  padding: 4px 0;
  border-bottom: 0;
  transition: color .15s;
}
.linkrow:hover { color: var(--blue-deep); text-decoration: underline; text-underline-offset: 4px; }
.linkrow .arrow { display: none; }
.section--deep .linkrow, .section--ink .linkrow, .section--accent .linkrow { color: #fff; }

/* ── Raster ───────────────────────────────────────────────────────────── */
.rule { height: 1px; background: var(--rule); }
.grid { display: grid; gap: 28px; }
.g-12 { grid-template-columns: repeat(12, 1fr); }
.g-2  { grid-template-columns: repeat(2, 1fr); }
.g-3  { grid-template-columns: repeat(3, 1fr); }
.g-4  { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .g-12 { grid-template-columns: 1fr; }
  .g-12 > * { grid-column: auto !important; }
  .g-4 { grid-template-columns: repeat(2, 1fr); }
  .g-3, .g-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .g-4 { grid-template-columns: 1fr; }
}

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 88px var(--pad-x) 88px;
}
.hero--center { text-align: center; }
.hero--center .hero__claim, .hero--center .hero__sub { margin-left: auto; margin-right: auto; }
.hero--center .hero__ctas { justify-content: center; }
.hero__origin { font-size: 15px; font-weight: 500; color: var(--muted); margin-bottom: 22px; }
.hero__origin strong { color: var(--blue); font-weight: 650; }
.hero__claim { max-width: 24ch; }
.hero__sub { margin-top: 24px; max-width: 54ch; }
.hero__ctas { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero__note { margin-top: 20px; font-size: 14px; color: var(--faint); }
.hero__sidemark, .hero__footer, .meta { display: none; }

/* ── Beweisband (Kundennamen) ─────────────────────────────────────────── */
.proof { border-top: 1px solid var(--rule-soft); }
.proof__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 36px var(--pad-x);
  display: flex; align-items: center; gap: 28px 40px; flex-wrap: wrap;
}
.proof__lead { font-size: 14px; color: var(--muted); flex: 0 0 auto; }
.proof__names {
  display: flex; align-items: baseline; gap: 32px; flex-wrap: wrap;
  color: var(--faint);
}
.proof__names span { font-size: 16px; white-space: nowrap; }

/* ── TOUR32-Programm-Mock (Hero-Fenster) ──────────────────────────────── */
.t32 {
  display: grid; grid-template-columns: 190px 1fr;
  font-size: 13px; line-height: 1.4;
  min-height: 420px;
  text-align: left;
  color: var(--ink);
  background: var(--bg);
}
.t32__side {
  background: var(--surface);
  border-right: 1px solid var(--rule-soft);
  padding: 14px 0;
  display: flex; flex-direction: column; gap: 2px;
}
.t32__side a {
  padding: 7px 18px;
  color: var(--muted);
  font-weight: 500;
}
.t32__side a.active {
  color: var(--blue-deep);
  background: var(--blue-wash);
  border-right: 2px solid var(--blue);
  font-weight: 650;
}
.t32__side .sep { margin: 10px 18px 4px; font-size: 11px; color: var(--faint); }
.t32__main { padding: 18px 22px; min-width: 0; }
.t32__head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.t32__head h5 { margin: 0; font-size: 16px; font-weight: 650; letter-spacing: -0.01em; }
.t32__chip {
  font-size: 11px; font-weight: 600;
  padding: 2px 9px; border-radius: 999px;
  background: #e3f2e6; color: #1e6b34;
}
.t32__meta { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.t32 table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.t32 th {
  text-align: left; font-weight: 600; color: var(--faint);
  font-size: 11.5px;
  padding: 6px 10px; border-bottom: 1px solid var(--rule);
}
.t32 td { padding: 7px 10px; border-bottom: 1px solid var(--rule-soft); }
.t32 td.num, .t32 th.num { text-align: right; font-variant-numeric: tabular-nums; }
.t32 tr.sum td { font-weight: 650; border-bottom: 0; border-top: 1px solid var(--rule); }
.t32 .pos { color: var(--muted); }
.t32 .marge { color: #1e6b34; font-weight: 600; }

@media (max-width: 800px) {
  .t32 { grid-template-columns: 1fr; min-height: 0; }
  .t32__side { flex-direction: row; overflow-x: auto; padding: 8px 10px; border-right: 0; border-bottom: 1px solid var(--rule-soft); }
  .t32__side .sep { display: none; }
  .t32__side a.active { border-right: 0; border-radius: 6px; }
  .t32 .hide-m { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__inner > * { animation: heroIn .6s cubic-bezier(.2,.7,.2,1) both; }
  .hero__inner > *:nth-child(2) { animation-delay: .07s; }
  .hero__inner > *:nth-child(3) { animation-delay: .14s; }
  .hero__inner > *:nth-child(4) { animation-delay: .21s; }
  .hero__inner > *:nth-child(5) { animation-delay: .28s; }
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* ── Programmfenster (Screenshot-Bühne) ───────────────────────────────── */
.window {
  border-radius: var(--r-window);
  background: var(--bg);
  box-shadow: var(--shadow-window), inset 0 0 0 1px var(--rule-soft);
  overflow: hidden;
  text-align: left;
}
.window__title {
  display: flex; align-items: center;
  padding: 10px 16px;
  font-size: 13px; font-weight: 500;
  color: var(--muted);
  background: var(--surface);
  border-bottom: 1px solid var(--rule-soft);
}
.window__body { background: var(--bg); }
.window--hero { max-width: 980px; margin: 64px auto 0; }
.section--deep .window { box-shadow: 0 24px 64px -24px rgba(0,0,0,0.5); }

/* ── Kennzahlen ───────────────────────────────────────────────────────── */
.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 28px;
  background: none; border-radius: 0; box-shadow: none; overflow: visible;
}
.stat { display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0 !important; background: none !important; color: inherit !important; }
.stat__num {
  font-size: 44px; font-weight: 650; line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.stat__num sup { font-size: 22px; font-weight: 650; color: var(--blue); vertical-align: 8px; }
.stat__num .unit { font-size: 20px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.stat__lbl { font-size: 15px; font-weight: 600; color: var(--ink) !important; order: -1; }
.stat__desc { font-size: 14px; color: var(--muted) !important; line-height: 1.5; }

@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* ── Karten (Schnittstellen u. ä.) ────────────────────────────────────── */
.card {
  border-radius: 12px;
  background: var(--bg);
  border: 1px solid var(--rule-soft);
  box-shadow: none;
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
}
.card:hover { transform: none; box-shadow: none; }
.card:nth-child(n) { background: var(--bg); }
.section--surface .card, .section--paper .card { border-color: transparent; }
.card__num { font-size: 13px; font-weight: 600; color: var(--faint); letter-spacing: 0; text-transform: none; }
.card__title {
  font-weight: 650;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: var(--ink);
}
.card__desc { color: var(--muted); font-size: 15px; line-height: 1.55; }
.card__diagram {
  margin-top: 6px;
  aspect-ratio: 16/10;
  border-radius: 10px;
  background: var(--surface);
  overflow: hidden;
  box-shadow: none;
  display: flex; align-items: center; justify-content: center;
}

.card__features {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 15px;
  color: var(--ink);
}
.card__features li {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px;
  align-items: baseline;
  line-height: 1.5;
}
.card__features li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  align-self: center;
  justify-self: center;
}

/* ── Diagnose-Liste ───────────────────────────────────────────────────── */
.bullets {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 40px 48px;
  grid-template-columns: repeat(2, 1fr);
}
.bullets li {
  padding: 24px 0 0;
  border-top: 1px solid var(--rule);
  border-radius: 0;
  background: none;
  box-shadow: none;
  display: flex; flex-direction: column; gap: 10px;
}
.bullets__num { display: none; }
.bullets__title { font-size: 21px; font-weight: 650; letter-spacing: -0.015em; line-height: 1.2; }
.bullets__desc { font-size: 15px; color: var(--muted); line-height: 1.55; }

@media (max-width: 800px) { .bullets { grid-template-columns: 1fr; gap: 28px; } }

/* ── Zitat ────────────────────────────────────────────────────────────── */
.quote {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 550;
  line-height: 1.25;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.quote em { font-style: normal; color: inherit; }
.quote__author {
  margin-top: 24px;
  font-size: 15px; font-weight: 500;
  color: var(--muted);
  text-transform: none;
}
.section--deep .quote__author, .section--ink .quote__author, .section--accent .quote__author { color: rgba(255,255,255,0.65); }

/* ── Ansprechpartner-Box ──────────────────────────────────────────────── */
.ansprech {
  display: flex; align-items: center; gap: 48px;
  padding: 40px 48px;
  background: var(--surface);
  border-radius: var(--r-window);
}
.ansprech__foto {
  flex: 0 0 auto;
  width: 120px; height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--blue-wash);
  display: flex; align-items: center; justify-content: center;
}
.ansprech__foto img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ansprech__initialen {
  font-size: 36px; font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.02em;
}
.ansprech__body .h-sub { margin-bottom: 8px; }
.ansprech__name { margin-top: 14px; font-weight: 600; color: var(--ink); }
.ansprech__rolle { font-weight: 400; color: var(--muted); margin-left: 8px; }
.ansprech__ctas { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
@media (max-width: 700px) {
  .ansprech { flex-direction: column; align-items: flex-start; gap: 24px; padding: 28px; }
}

/* ── Changelog ────────────────────────────────────────────────────────── */
.log__search { margin-top: 32px; }
.log__search input {
  width: 100%; max-width: 380px;
  padding: 11px 16px;
  font: inherit; font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: 10px;
}
.log__search input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.log__item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--rule-soft);
}
.log__date {
  font-size: 15px; font-weight: 500;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: 4px;
}
.log__title {
  margin: 0;
  font-size: 22px; font-weight: 650;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.log__tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.log__tag {
  font-size: 13px; font-weight: 550;
  color: var(--blue);
  background: var(--blue-wash);
  padding: 3px 10px;
  border-radius: 999px;
}
.log__content { margin-top: 14px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.log__content img { max-width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--rule-soft); margin: 12px 0; }
.log__content p { margin: 0 0 12px; }
.log__content ul { margin: 0 0 12px; padding-left: 20px; }
.log__pages { display: flex; gap: 8px; align-items: center; margin-top: 40px; flex-wrap: wrap; }
.log__page {
  min-width: 38px; text-align: center;
  padding: 8px 12px;
  font-size: 14px; font-weight: 550;
  color: var(--muted);
  border: 1px solid var(--rule-soft);
  border-radius: 10px;
  transition: color .15s, border-color .15s;
}
a.log__page:hover { color: var(--ink); border-color: var(--rule); }
.log__page--aktiv { color: #fff; background: var(--blue); border-color: var(--blue); }
a.log__page--aktiv:hover { color: #fff; }
@media (max-width: 700px) {
  .log__item { grid-template-columns: 1fr; gap: 8px; padding: 28px 0; }
}

/* ── Ablauf (echte Sequenz, daher Nummern) ────────────────────────────── */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 40px 32px;
}
.flow__step {
  padding: 20px 0 0;
  border-top: 1px solid var(--rule);
  border-radius: 0; background: none !important; box-shadow: none;
  min-height: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.flow__num {
  font-size: 15px; font-weight: 650;
  color: var(--blue);
  letter-spacing: 0; text-transform: none;
}
.flow__title { font-size: 18px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.2; }
.flow__desc { font-size: 14px; color: var(--muted); line-height: 1.55; }
.flow__svg { display: none; }

@media (max-width: 980px) {
  .flow { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .flow { grid-template-columns: 1fr; }
}

/* ── Produktbühne (alternierender Zweispalter) ────────────────────────── */
.stage {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: center;
}
.stage--flip .stage__text { order: 2; }
.stage--flip .stage__media { order: 1; }
.stage__text { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.stage__media { min-width: 0; }
.stage__ctas { display: flex; gap: 18px; align-items: center; margin-top: 10px; flex-wrap: wrap; }

@media (max-width: 980px) {
  .stage { grid-template-columns: 1fr; gap: 32px; }
  .stage--flip .stage__text { order: 1; }
  .stage--flip .stage__media { order: 2; }
}

/* Feature-Liste aus dem CMS-Editor (HTML-Liste) */
.stage__features ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 12px;
  font-size: 15px;
  color: var(--ink);
}
.stage__features li {
  display: grid; grid-template-columns: 20px 1fr; gap: 10px;
  align-items: baseline;
  line-height: 1.5;
}
.stage__features li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  align-self: center;
  justify-self: center;
}
.section--deep .stage__features ul { color: rgba(255,255,255,0.85); }
.section--deep .stage__text .body { color: rgba(255,255,255,0.72); }
.section--deep .h-sub { color: #fff; }

/* ── Referenz-/Anbieterkacheln ────────────────────────────────────────── */
.ref-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.ref-tile {
  aspect-ratio: 1.7 / 1;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  padding: 14px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: center;
  background: var(--surface);
  box-shadow: none;
  transition: none;
}
.ref-tile:nth-child(n) { background: var(--surface); color: var(--ink); }
.ref-tile:hover { transform: none; box-shadow: none; }
.ref-tile small {
  display: block;
  font-size: 12px; font-weight: 400;
  color: var(--muted) !important;
  margin-top: 4px;
}
.section--surface .ref-tile, .section--paper .ref-tile { background: var(--bg); }

@media (max-width: 980px) { .ref-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .ref-grid { grid-template-columns: repeat(2, 1fr); } }

/* ── Formular ─────────────────────────────────────────────────────────── */
.form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
.form__field { display: flex; flex-direction: column; padding: 0; background: none; border-radius: 0; }
.form__field--wide { grid-column: span 2; }
.form__label {
  font-size: 14px; font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
}
.form__label .req { color: var(--blue); }
.form__input, .form__select, .form__textarea {
  appearance: none;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: var(--bg);
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  padding: 12px 14px;
  transition: border-color .15s, box-shadow .15s;
}
.form__input:focus, .form__select:focus, .form__textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--blue) 18%, transparent);
}
.form__field:focus-within { box-shadow: none; }
.form__textarea { min-height: 130px; resize: vertical; }
.form__input::placeholder, .form__textarea::placeholder { color: var(--faint); }
.form__check {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 14px; color: var(--muted); line-height: 1.5;
}
.form__check a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; border: 0 !important; }
.form__check input { margin-top: 3px; accent-color: var(--blue); }

@media (max-width: 700px) {
  .form { grid-template-columns: 1fr; }
  .form__field--wide { grid-column: auto; }
}

/* ── Abschluss-CTA ────────────────────────────────────────────────────── */
.minutes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0;
  align-items: stretch;
  border-radius: 20px;
  overflow: hidden;
  background: var(--blue-deep);
  color: #fff;
  box-shadow: none;
}
.minutes__art {
  padding: 56px;
  display: flex; align-items: center; justify-content: center;
  background: var(--blue);
  color: #fff;
}
.minutes__num {
  font-size: clamp(120px, 14vw, 200px);
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #fff;
}
.minutes__num .unit { display: block; font-size: 20px; font-weight: 500; letter-spacing: 0; color: rgba(255,255,255,0.75); margin-top: 8px; text-align: center; }
.minutes__body {
  padding: 56px;
  background: var(--blue-deep);
  display: flex; flex-direction: column; gap: 20px;
  justify-content: center;
  align-items: flex-start;
}
.minutes__body .kicker { color: rgba(255,255,255,0.65); }
.minutes__body .h-section { color: #fff; }
.minutes__body .body--muted { color: rgba(255,255,255,0.72); }
.minutes__body .btn { background: #fff; color: var(--blue-deep); }
.minutes__body .btn:hover { background: var(--blue-wash); }
.minutes__body .linkrow { color: #fff; }

@media (max-width: 900px) {
  .minutes { grid-template-columns: 1fr; }
  .minutes__art { padding: 40px; }
  .minutes__body { padding: 36px; }
}

/* ── Etiketten ────────────────────────────────────────────────────────── */
.tag {
  display: inline-flex; align-items: center;
  padding: 7px 14px;
  background: var(--surface);
  border-radius: 999px;
  font-size: 14px; font-weight: 500;
  color: var(--ink);
}
.tag--accent { background: var(--blue-wash); color: var(--blue-deep); }

/* ── Seiten-Navigation (Produkte) ─────────────────────────────────────── */
.toc {
  display: flex; gap: 2px; flex-wrap: wrap; align-items: center;
  padding: 0;
  background: none;
  border-radius: 0;
  font-size: 15px;
  width: fit-content;
}
.toc > span { color: var(--faint); font-size: 14px; margin-right: 10px; }
.toc a {
  color: var(--muted);
  padding: 7px 14px;
  border-radius: 999px;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.toc a:hover { color: var(--ink); background: var(--surface); }

/* ── Bild-Platzhalter (CMS-Slots) ─────────────────────────────────────── */
.diagram-ph {
  width: 100%; min-height: 200px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; border-radius: 0; text-align: center; padding: 24px;
  color: var(--faint);
  background: var(--surface);
  box-shadow: none;
}
.section--deep .diagram-ph, .section--ink .diagram-ph { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.5); }
.diagram-ph__label { font-weight: 600; font-size: 15px; }
.diagram-ph__hint { font-size: 12px; opacity: 0.7; }
.card__diagram .diagram-ph { height: 100%; min-height: 0; }

/* ── Fußzeile ─────────────────────────────────────────────────────────── */
.foot {
  background: var(--surface); color: var(--ink);
  padding: 72px var(--pad-x) 32px;
  border-top: 1px solid var(--rule-soft);
}
.foot__inner {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}
.foot__brand .mark { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.foot__brand .mark .num { color: var(--blue); }
.foot__brand p { margin-top: 14px; max-width: 36ch; color: var(--muted); font-size: 14px; line-height: 1.6; }
.foot h4 {
  font-size: 14px; font-weight: 650;
  letter-spacing: 0; text-transform: none;
  color: var(--ink); margin: 0 0 14px;
}
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.foot li { font-size: 14px; color: var(--muted); }
.foot a { color: var(--muted); opacity: 1; font-size: 14px; }
.foot a:hover { color: var(--ink); }
.foot__bottom {
  max-width: var(--maxw); margin: 56px auto 0;
  padding-top: 20px; border-top: 1px solid var(--rule-soft);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px; color: var(--faint);
}
.foot__bottom a { color: var(--muted); }
.foot__bottom a:hover { color: var(--ink); }

@media (max-width: 800px) { .foot__inner { grid-template-columns: 1fr 1fr; } }

/* ── Hilfsklassen ─────────────────────────────────────────────────────── */
.muted { color: var(--muted); }
.accent { color: var(--blue); }
.serif-i { font-style: normal; }
.mono { font-family: inherit; }
.center { text-align: center; }
