/* ══════════════════════════════════════════════════════════════════
   vTzR.de — Design "Nachtschicht"
   Leitmotiv: Der Tag gehört den Patienten, die Nacht schreibt die
   Rechnungen. Ein einziges dunkles Panel im Hero zeigt genau diese
   Verwandlung; alles andere bleibt hell, ruhig und großzügig.
   Marke bleibt: Lime #c8db00 als sparsamer Akzent, Oliv #5f6b2e als
   tragende Farbe. Serifen-Display, Sans-Fließtext, Mono für Zahlen.
   Nur System-Schriften, keine Inline-Styles, keine externen
   Ressourcen (CSP: style-src 'self', font-src 'self').
   ══════════════════════════════════════════════════════════════════ */

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

:root {
  --paper:      #f7f6ef;
  --paper-2:    #eef0e2;
  --card:       #fffffa;
  --ink:        #1e2415;
  --body:       #3f4535;
  --muted:      #6c7160;
  --olive:      #5f6b2e;
  --olive-deep: #3f4a1f;
  --lime:       #c8db00;
  --lime-ink:   #6f7a00;
  --lime-soft:  #eef4c6;
  --night:      #1b2113;
  --night-2:    #262e1a;
  --night-line: rgba(255,255,255,.10);
  --line:       rgba(30,36,21,.14);
  --line-soft:  rgba(30,36,21,.07);
  --focus:      #8fa31a;

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", "URW Palladio L", Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono:  ui-monospace, "SF Mono", Menlo, Consolas, "Roboto Mono", "DejaVu Sans Mono", monospace;

  --wrap: 1120px;
  --gutter: clamp(16px, 5vw, 48px);
  --radius: 14px;
  --shadow: 0 18px 50px rgba(30,36,21,.10), 0 2px 6px rgba(30,36,21,.06);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.012em;
  text-wrap: balance;
}
h3, h4 { font-weight: 600; }
p { max-width: 68ch; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, label:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px;
}
ul, ol { list-style: none; }
svg { display: block; }
em { font-style: italic; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff;
  padding: .5rem .9rem; border-radius: 6px; z-index: 100;
}
.skip:focus { left: 8px; }

/* ── Typografische Bausteine ─────────────────────────────────────── */

.eyebrow {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--olive);
  display: flex; align-items: center; gap: .6rem;
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--lime); border-radius: 2px; }

.section__title { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.6rem); max-width: 22ch; }
.section__lead { margin-top: 1rem; font-size: 1.125rem; color: var(--muted); max-width: 58ch; }
.section__head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section__foot { margin-top: 2.25rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  color: var(--olive-deep); font-weight: 600;
  border-bottom: 1.5px solid var(--lime);
  padding-bottom: 1px;
  transition: border-color .15s, color .15s;
}
.link-arrow::after { content: "→"; font-family: var(--sans); transition: transform .15s; }
.link-arrow:hover { color: var(--ink); border-color: var(--olive); }
.link-arrow:hover::after { transform: translateX(3px); }

.badge {
  display: inline-block;
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--olive-deep); background: var(--lime-soft);
  padding: .3rem .65rem; border-radius: 999px;
}
.badge--light { background: var(--lime); color: var(--ink); }

/* ── Buttons ─────────────────────────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: .98rem;
  padding: .72rem 1.25rem; border-radius: 10px; border: 1.5px solid transparent;
  white-space: nowrap; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn--lg { padding: .9rem 1.5rem; font-size: 1.05rem; }
.btn--primary { background: var(--olive); color: #fff; }
.btn--primary:hover { background: var(--olive-deep); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(95,107,46,.28); }
.btn--ghost { background: transparent; color: var(--olive-deep); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--olive); background: var(--card); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: #d8ea18; transform: translateY(-1px); }
.btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn--outline:hover { border-color: #fff; }

/* ── Kopfzeile ───────────────────────────────────────────────────── */

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,246,239,.86);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.site-head__row {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  min-height: 68px; position: relative;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.brand__tld { color: var(--olive); font-weight: 500; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav__list { display: flex; gap: 1.4rem; }
.nav__list a { font-size: .95rem; font-weight: 500; color: var(--body); padding: .35rem 0; border-bottom: 2px solid transparent; transition: color .15s, border-color .15s; }
.nav__list a:hover { color: var(--ink); border-color: var(--lime); }
.nav__actions { display: flex; gap: .6rem; }
.nav__actions .btn { padding: .55rem 1rem; font-size: .92rem; }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; border-radius: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }

@media (max-width: 900px) {
  .nav-burger { display: flex; }
  .nav {
    display: none; position: absolute; top: 100%; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter));
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: .5rem var(--gutter) 1.25rem;
    box-shadow: 0 20px 40px rgba(30,36,21,.10);
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
  .nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .nav__actions { margin-top: 1rem; }
  .nav__actions .btn { flex: 1; }
}

/* ── Hero ────────────────────────────────────────────────────────── */

.hero { padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero__title {
  font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4rem);
  font-weight: 500; line-height: 1.06; max-width: 15ch;
}
.hero__title em { color: var(--olive); }
.hero__lead { margin-top: 1.5rem; font-size: 1.15rem; line-height: 1.6; max-width: 56ch; }
.hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.hero__actions .link-arrow { margin-left: .25rem; }

.trust { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; font-size: .9rem; color: var(--muted); }
.trust li { display: inline-flex; align-items: center; gap: .45rem; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px var(--lime-soft); }

/* Das Nacht-Panel */
.night {
  position: relative;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 0;
  background: linear-gradient(160deg, var(--night-2), var(--night) 70%);
  color: #e9ecdc;
  border-radius: 20px;
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: var(--shadow);
  font-family: var(--sans);
  overflow: hidden;
}
.night::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 220px at 85% -10%, rgba(200,219,0,.16), transparent 60%);
}
.night__col { min-width: 0; position: relative; }
.night__head { flex-wrap: wrap;
  display: flex; justify-content: space-between; align-items: baseline; gap: .5rem;
  padding-bottom: .7rem; margin-bottom: .6rem; border-bottom: 1px solid var(--night-line);
}
.night__label { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); }
.night__date { font-size: .78rem; color: rgba(233,236,220,.65); font-variant-numeric: tabular-nums; }

.slots { display: flex; flex-direction: column; gap: .35rem; }
.slot {
  display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .7rem;
  padding: .55rem .65rem; border-radius: 9px;
  background: rgba(255,255,255,.05); border-left: 3px solid var(--lime);
}
.slot__time { grid-row: 1 / span 2; align-self: center; font-family: var(--mono); font-size: .8rem; color: var(--lime); font-variant-numeric: tabular-nums; }
.slot__who { font-size: .9rem; font-weight: 600; color: #f4f6ea; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.slot__what { font-size: .74rem; color: rgba(233,236,220,.6); line-height: 1.3; }
.slot--free { background: transparent; border-left-color: rgba(255,255,255,.18); border-style: dashed; }
.slot--free .slot__time, .slot--free .slot__who { color: rgba(233,236,220,.5); font-weight: 500; }

.night__bridge {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem;
  padding: 0 1rem; position: relative; color: var(--lime);
}
.night__bridge::before, .night__bridge::after {
  content: ""; position: absolute; left: 50%; width: 1px; transform: translateX(-50%);
  background: repeating-linear-gradient(to bottom, rgba(200,219,0,.55) 0 4px, transparent 4px 9px);
}
.night__bridge::before { top: 0; bottom: calc(50% + 2.6rem); }
.night__bridge::after { top: calc(50% + 2.6rem); bottom: 0; }
.moon { width: 26px; height: 26px; }
.night__bridge-text { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.night__bridge-time { font-family: var(--mono); font-size: .7rem; color: rgba(233,236,220,.55); }

.docs { display: flex; flex-direction: column; gap: .35rem; }
.doc {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: .6rem; row-gap: .15rem;
  padding: .55rem .65rem .55rem .75rem; border-radius: 9px;
  background: #fffffa; color: var(--ink);
  border-left: 3px solid var(--olive);
}
.doc__name { font-family: var(--mono); font-size: .76rem; font-weight: 600; overflow-wrap: anywhere; line-height: 1.3; }
.doc__sum { font-family: var(--mono); font-size: .78rem; font-variant-numeric: tabular-nums; grid-column: 1; }
.doc__qr { grid-column: 2; grid-row: 1 / span 2; width: 30px; height: 30px; color: var(--ink); background: #fff; padding: 2px; border: 1px solid var(--line); border-radius: 3px; shape-rendering: crispEdges; }
.doc__state { grid-column: 1; font-size: .72rem; color: var(--muted); }
.doc--paid { border-left-color: var(--lime-ink); }
.doc--paid .doc__state { color: var(--lime-ink); font-weight: 700; }

.night__caption {
  grid-column: 1 / -1; margin-top: 1.1rem; padding-top: .8rem; border-top: 1px solid var(--night-line);
  font-size: .78rem; color: rgba(233,236,220,.6); line-height: 1.45;
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__title { max-width: none; }
}
@media (max-width: 560px) {
  .night { grid-template-columns: 1fr; padding: 1.25rem 1rem 1rem; }
  .night__bridge { flex-direction: row; padding: .9rem 0; gap: .6rem; }
  .night__bridge::before, .night__bridge::after { display: none; }
  .moon { width: 20px; height: 20px; }
}

/* ── Sektionen ───────────────────────────────────────────────────── */

.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section--tint { background: var(--paper-2); }

/* Ablauf */
.steps {
  counter-reset: none;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem 2.25rem;
  position: relative;
}
.step { position: relative; padding-top: 1.4rem; }
.step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); }
.step__num {
  position: absolute; top: -13px; left: 0;
  width: 26px; height: 26px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lime); color: var(--ink);
  font-family: var(--mono); font-size: .78rem; font-weight: 700;
}
.step__title { font-size: 1.28rem; margin-bottom: .6rem; }
.step p { font-size: .98rem; color: var(--body); }

.note {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 1.35rem 1.5rem;
  background: var(--card); border: 1px solid var(--line-soft); border-left: 4px solid var(--lime);
  border-radius: var(--radius);
}
.note p { max-width: 90ch; font-size: 1rem; }
.note strong { color: var(--ink); font-family: var(--serif); font-size: 1.1rem; font-weight: 600; }

@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px)  { .steps { grid-template-columns: 1fr; } }

/* Zielgruppen */
.audience { padding-block: 1.75rem; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.audience .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.audience__intro { font-family: var(--serif); font-style: italic; color: var(--muted); font-size: 1.05rem; }
.audience__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.audience__list li { font-size: .9rem; font-weight: 500; color: var(--olive-deep); background: var(--card); border: 1px solid var(--line); padding: .3rem .8rem; border-radius: 999px; }

/* Kennen Sie das */
.pains { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.pain { padding: 1.6rem 1.6rem 1.7rem; background: var(--card); border-radius: var(--radius); border: 1px solid var(--line-soft); }
.pain h3 { font-size: 1.3rem; margin-bottom: .7rem; }
.pain p { font-size: .98rem; }
@media (max-width: 860px) { .pains { grid-template-columns: 1fr; } }

/* Funktionen */
.features {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.feature { position: relative; background: var(--paper); padding: 1.75rem 1.6rem 1.9rem; display: flex; flex-direction: column; gap: .7rem; transition: background .15s; }
.feature:hover { background: var(--card); }
.feature h3 { font-size: 1.22rem; }
.feature p { font-size: .96rem; flex: 1; }
.feature .link-arrow { font-size: .92rem; align-self: flex-start; margin-top: .3rem; }
.feature--new { background: var(--lime-soft); }
.feature--new:hover { background: #f3f8d2; }
.feature .badge { align-self: flex-start; margin-bottom: .2rem; }
@media (max-width: 960px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: 1fr; } }

/* Terminbuchung */
.booking { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.booking__copy > p { margin-top: 1rem; font-size: 1.08rem; }
.checklist { margin-top: 1.5rem; display: flex; flex-direction: column; gap: .6rem; }
.checklist li { position: relative; padding-left: 1.7rem; font-size: 1rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .42em; width: 15px; height: 15px; border-radius: 50%;
  background: var(--lime);
}
.checklist li::after {
  content: ""; position: absolute; left: 4.5px; top: calc(.42em + 3px); width: 5px; height: 8px;
  border: solid var(--ink); border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.booking__demo { display: flex; justify-content: center; }
.phone {
  width: min(100%, 330px); background: var(--card); border-radius: 26px; border: 1px solid var(--line);
  box-shadow: var(--shadow); overflow: hidden; font-family: var(--sans);
}
.phone__bar { background: var(--olive-deep); color: #fff; font-size: .8rem; font-weight: 600; padding: .8rem 1.1rem; letter-spacing: .02em; }
.phone__body { padding: 1.1rem 1.1rem 1.3rem; display: flex; flex-direction: column; gap: .7rem; }
.phone__q { font-size: .82rem; font-weight: 700; color: var(--olive); text-transform: uppercase; letter-spacing: .06em; }
.phone__chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font-size: .8rem; padding: .35rem .7rem; border-radius: 999px; border: 1px solid var(--line); color: var(--body); }
.chip--on { background: var(--ink); color: #fff; border-color: var(--ink); }
.phone__times { display: grid; grid-template-columns: repeat(3, 1fr); gap: .4rem; }
.tslot { text-align: center; font-family: var(--mono); font-size: .85rem; padding: .5rem 0; border-radius: 8px; border: 1px solid var(--line); background: var(--paper); font-variant-numeric: tabular-nums; }
.tslot--on { background: var(--lime); border-color: var(--lime); color: var(--ink); font-weight: 700; }
.tslot--off { color: var(--line); text-decoration: line-through; background: transparent; }
.phone__cta { margin-top: .3rem; text-align: center; background: var(--olive); color: #fff; font-weight: 600; font-size: .9rem; padding: .75rem; border-radius: 10px; }
.phone__fine { font-size: .74rem; color: var(--muted); text-align: center; }
@media (max-width: 900px) { .booking { grid-template-columns: 1fr; } .booking__demo { justify-content: flex-start; } }

/* Vertrauen */
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.25rem 2.5rem; }
.trust-item { padding-top: 1.1rem; border-top: 2px solid var(--olive); display: flex; flex-direction: column; gap: .55rem; }
.trust-item h3 { font-size: 1.18rem; }
.trust-item p { font-size: .96rem; flex: 1; }
.trust-item .link-arrow { font-size: .92rem; align-self: flex-start; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }

/* Preise */
.prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.price {
  background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 1.75rem 1.6rem 1.8rem; display: flex; flex-direction: column; gap: .45rem;
}
.price--main { background: var(--night); color: #e9ecdc; border-color: var(--night); box-shadow: var(--shadow); }
.price--main .price__label, .price--main .price__value, .price--main .price__meta { color: inherit; }
.price--main .price__value { color: #fff; }
.price--main .badge { align-self: flex-start; margin-bottom: .6rem; }
.price--main .btn { margin-top: 1.2rem; align-self: stretch; background: var(--lime); color: var(--ink); }
.price--main .btn:hover { background: #d8ea18; }
.price__label { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); }
.price__value { font-family: var(--serif); font-size: 2.9rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.price__value--sm { font-size: 1.9rem; padding-block: .5rem .1rem; }
.price__unit { font-size: 1rem; font-family: var(--sans); color: var(--muted); margin-left: .2rem; }
.price--main .price__unit { color: rgba(233,236,220,.6); }
.price__meta { font-size: .9rem; color: var(--muted); margin-bottom: .9rem; }
.price__list { display: flex; flex-direction: column; gap: .5rem; font-size: .94rem; flex: 1; }
.price__list li { position: relative; padding-left: 1.3rem; }
.price__list li::before { content: "·"; position: absolute; left: .2rem; top: -.1em; font-size: 1.5em; line-height: 1; color: var(--lime-ink); }
.price--main .price__list li::before { color: var(--lime); }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr; max-width: 520px; } }

/* Zeitleiste 2026 */
.timeline {
  display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 0;
  position: relative; padding-top: 1.4rem;
}
.timeline::before { content: ""; position: absolute; top: 6px; left: 0; right: 0; height: 2px; background: var(--line); }
.tl { position: relative; padding: 0 .9rem 0 0; }
.tl::before {
  content: ""; position: absolute; top: calc(-1.4rem + 1px); left: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--line);
}
.tl--done::before { background: var(--olive); border-color: var(--olive); }
.tl--now::before { background: var(--lime); border-color: var(--lime); box-shadow: 0 0 0 5px var(--lime-soft); }
.tl__month { display: block; font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: .3rem; }
.tl--now .tl__month { color: var(--lime-ink); font-weight: 700; }
.tl__what { display: block; font-size: .92rem; font-weight: 500; color: var(--ink); line-height: 1.35; }
.tl:last-child .tl__what { color: var(--muted); font-style: italic; }
@media (max-width: 1000px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 2.5rem; }
  .timeline::before { display: none; }
  .tl::before { top: -1.2rem; }
  .tl { padding-top: 0; }
}
@media (max-width: 560px) {
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* FAQ */
.faq .section__head { margin-bottom: 1.5rem; }
.faq__list { max-width: 820px; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 1.1rem 3rem 1.1rem 0;
  font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--sans); font-weight: 400; font-size: 1.3rem; color: var(--olive);
  border: 1px solid var(--line); transition: transform .2s, background .2s;
}
.qa[open] summary::after { content: "–"; background: var(--lime); border-color: var(--lime); color: var(--ink); }
.qa p { padding: 0 0 1.3rem; font-size: 1rem; max-width: 70ch; }

/* Abschluss */
.closing { background: var(--night); color: #e9ecdc; padding-block: clamp(3.5rem, 8vw, 6rem); position: relative; overflow: hidden; }
.closing::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 300px at 15% 110%, rgba(200,219,0,.14), transparent 60%);
}
.closing__inner { position: relative; }
.closing__title { color: #fff; font-size: clamp(2rem, 1.3rem + 3vw, 3.4rem); max-width: 18ch; }
.closing__lead { margin-top: 1.25rem; font-size: 1.12rem; color: rgba(233,236,220,.78); max-width: 58ch; }
.closing__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .75rem; }
.closing__contact { margin-top: 1.75rem; font-size: .95rem; color: rgba(233,236,220,.65); }
.closing__contact a { color: var(--lime); border-bottom: 1px solid rgba(200,219,0,.4); }

/* Fußzeile */
.site-foot { padding-block: 3rem 1.5rem; border-top: 1px solid var(--line-soft); font-size: .93rem; }
.site-foot__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.site-foot__brand p { margin-top: .75rem; color: var(--muted); max-width: 34ch; font-size: .93rem; }
.site-foot__col { display: flex; flex-direction: column; gap: .5rem; }
.site-foot__col h4 { font-family: var(--sans); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); margin-bottom: .4rem; }
.site-foot__col a { color: var(--body); }
.site-foot__col a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.site-foot__bottom {
  margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  font-size: .82rem; color: var(--muted);
}
@media (max-width: 860px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } .site-foot__brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .site-foot__grid { grid-template-columns: 1fr; } }

/* ══════════════════════════════════════════════════════════════════
   Unterseiten
   ══════════════════════════════════════════════════════════════════ */

.nav__list a[aria-current="page"] { color: var(--ink); border-color: var(--lime); }

/* Seitenkopf */
.page-head { padding-block: clamp(2.75rem, 6vw, 4.5rem) clamp(1.75rem, 4vw, 2.75rem); }
.page-head__title { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.3rem); max-width: 20ch; line-height: 1.08; }
.page-head__title em { color: var(--olive); }
.page-head__lead { margin-top: 1.1rem; font-size: 1.15rem; color: var(--muted); max-width: 60ch; line-height: 1.55; }
.page-head__meta { margin-top: 1rem; font-family: var(--mono); font-size: .8rem; color: var(--muted); letter-spacing: .02em; }
.page-head__actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; }
.page-head--dark { background: var(--night); color: #e9ecdc; position: relative; overflow: hidden; }
.page-head--dark::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(700px 260px at 90% -20%, rgba(200,219,0,.16), transparent 60%); }
.page-head--dark .wrap { position: relative; }
.page-head--dark .page-head__title { color: #fff; }
.page-head--dark .page-head__lead, .page-head--dark .page-head__meta { color: rgba(233,236,220,.7); }
.page-head--dark .eyebrow { color: var(--lime); }

/* Prosa */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem); margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose h3 { font-size: 1.28rem; margin-top: 2rem; }
.prose h4 { font-size: 1.05rem; margin-top: 1.5rem; font-family: var(--sans); font-weight: 700; }
.prose p, .prose li { max-width: 70ch; }
.prose ul { list-style: none; padding-left: 0; display: flex; flex-direction: column; gap: .5rem; }
.prose ul > li { position: relative; padding-left: 1.4rem; }
.prose ul > li::before { content: ""; position: absolute; left: .1rem; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--lime-soft); }
.prose ol { list-style: none; padding-left: 0; counter-reset: li; display: flex; flex-direction: column; gap: .6rem; }
.prose ol > li { position: relative; padding-left: 2.2rem; counter-increment: li; }
.prose ol > li::before { content: counter(li); position: absolute; left: 0; top: .1em; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--lime); color: var(--ink); font-family: var(--mono); font-size: .78rem; font-weight: 700; display: grid; place-items: center; }
.prose a:not(.btn):not(.link-arrow) { color: var(--olive-deep); border-bottom: 1px solid var(--lime); transition: color .15s, border-color .15s; }
.prose a:not(.btn):not(.link-arrow):hover { color: var(--ink); border-color: var(--olive); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { color: var(--body); }
.prose code, .prose kbd { font-family: var(--mono); font-size: .88em; background: var(--paper-2); padding: .1em .4em; border-radius: 4px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 2rem; }
.prose .lead { font-size: 1.15rem; color: var(--muted); }
.prose table { max-width: none; }
.prose .btn { margin-top: .5rem; }
.prose--wide { max-width: none; }
.prose--wide p, .prose--wide li { max-width: 74ch; }

/* Zweispaltiges Layout mit Seitenleiste */
.layout-side { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.layout-side__aside { position: sticky; top: calc(68px + 1.5rem); max-height: calc(100vh - 68px - 3rem); overflow: auto; padding-right: .5rem; }
@media (max-width: 960px) { .layout-side { grid-template-columns: 1fr; } .layout-side__aside { position: static; max-height: none; overflow: visible; } }

/* Inhaltsverzeichnis */
.toc { font-size: .9rem; }
.toc__title { font-family: var(--sans); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--olive); margin-bottom: .8rem; }
.toc ul { display: flex; flex-direction: column; gap: .2rem; }
.toc li a { display: block; padding: .3rem 0 .3rem .8rem; border-left: 2px solid var(--line-soft); color: var(--body); line-height: 1.35; transition: color .15s, border-color .15s; }
.toc li a:hover { color: var(--ink); border-color: var(--lime); }
.toc__group { margin-bottom: 1.1rem; }
.toc__group-title { font-family: var(--serif); font-weight: 600; color: var(--ink); font-size: 1rem; margin-bottom: .3rem; }
.toc__group-title a { color: inherit; }
.toc--columns { columns: 3; column-gap: 2rem; }
.toc--columns .toc__group { break-inside: avoid; }
@media (max-width: 900px) { .toc--columns { columns: 2; } }
@media (max-width: 560px) { .toc--columns { columns: 1; } }

/* Bildschirmfotos */
.shot { margin-top: 1.5rem; }
.shot img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card); }
.shot figcaption { margin-top: .6rem; font-size: .86rem; color: var(--muted); line-height: 1.45; }
.shot--plain img { border: 0; box-shadow: none; background: transparent; }
.shot--narrow { max-width: 520px; }

/* Hinweiskästen */
.callout { padding: 1.25rem 1.4rem; background: var(--card); border: 1px solid var(--line-soft); border-left: 4px solid var(--lime); border-radius: var(--radius); margin-top: 1.5rem; }
.callout > * + * { margin-top: .6rem; }
.callout__title { font-family: var(--serif); font-size: 1.12rem; font-weight: 600; color: var(--ink); }
.callout p { font-size: .98rem; }
.callout--dark { background: var(--night); color: #e9ecdc; border-color: var(--night); }
.callout--dark .callout__title { color: #fff; }
.callout--dark a:not(.btn) { color: var(--lime); border-bottom-color: rgba(200,219,0,.4); }
.callout--tint { background: var(--lime-soft); border-color: var(--lime-soft); }
.callout .btn { margin-top: .8rem; }

/* Kennzahlen */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--card); padding: 1.25rem 1.3rem 1.35rem; display: flex; flex-direction: column; gap: .3rem; }
.stat__value { font-family: var(--serif); font-size: 2.2rem; line-height: 1; color: var(--ink); font-variant-numeric: tabular-nums; }
.stat__value--good { color: var(--lime-ink); }
.stat__value--sm { font-size: 1.25rem; font-family: var(--mono); padding-block: .35rem; }
.stat__label { font-size: .86rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .stats { grid-template-columns: 1fr; } }

/* Tabellen */
.table-wrap { overflow-x: auto; margin-top: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); -webkit-overflow-scrolling: touch; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 560px; }
.table-wrap th, .table-wrap td { padding: .7rem .9rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line-soft); }
.table-wrap thead th { font-family: var(--sans); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--olive); background: var(--paper-2); white-space: nowrap; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.table-wrap tbody tr:hover td { background: var(--paper); }
.table-wrap td.num, .table-wrap th.num { text-align: right; font-variant-numeric: tabular-nums; font-family: var(--mono); font-size: .86rem; }
.table-hint { font-size: .8rem; color: var(--muted); margin-top: .5rem; }

/* Schwere-Kennzeichnungen (Sicherheitsaudits) */
.sev { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: .22rem .55rem; border-radius: 999px; white-space: nowrap; }
.sev--mittel { background: #f7e4c2; color: #7a4d00; }
.sev--niedrig { background: var(--lime-soft); color: var(--olive-deep); }
.sev--info { background: var(--paper-2); color: var(--muted); }
.st-ok { color: var(--lime-ink); font-weight: 600; white-space: nowrap; }
.st-acc { color: var(--muted); font-weight: 600; white-space: nowrap; }
.td-id { font-family: var(--mono); font-size: .84rem; white-space: nowrap; color: var(--muted); }

/* Audit-Runde */
.audit { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.audit:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.audit__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; margin-bottom: 1rem; }
.audit__head h2 { font-size: 1.7rem; }
.audit__date { font-family: var(--mono); font-size: .82rem; color: var(--muted); }
.audit__verdict { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; padding: .55rem .9rem; border-radius: 999px; background: var(--lime-soft); color: var(--olive-deep); font-weight: 600; font-size: .92rem; }
.audit__verdict::before { content: "✓"; font-weight: 700; }
.audit__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 2.5rem; margin-top: 1.5rem; }
.audit__cols h3 { font-size: 1.1rem; margin-bottom: .6rem; }
.audit__cols ul { display: flex; flex-direction: column; gap: .4rem; font-size: .95rem; }
.audit__cols li { position: relative; padding-left: 1.4rem; }
.audit__cols li::before { content: ""; position: absolute; left: .1rem; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.audit__cols .checks li::before { content: "✓"; background: none; width: auto; height: auto; top: 0; left: 0; color: var(--lime-ink); font-weight: 700; font-size: .9rem; }
.audit details { margin-top: 1.5rem; }
.audit details summary { cursor: pointer; list-style: none; font-family: var(--serif); font-weight: 600; font-size: 1.15rem; color: var(--ink); padding: .8rem 0; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.audit details summary::-webkit-details-marker { display: none; }
.audit details summary::after { content: "+"; font-family: var(--sans); color: var(--olive); font-size: 1.3rem; line-height: 1; }
.audit details[open] summary::after { content: "–"; }
.audit details summary small { font-family: var(--mono); font-size: .78rem; color: var(--muted); font-weight: 400; }
@media (max-width: 760px) { .audit__cols { grid-template-columns: 1fr; } }

/* Beiträge (Neuigkeiten, Anleitung) */
.posts { display: flex; flex-direction: column; }
.news-item { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 1rem 2.5rem; padding-block: 2.5rem; border-top: 1px solid var(--line); }
.news-item:first-child { border-top: 0; padding-top: 0; }
.news-item__meta { display: flex; flex-direction: column; gap: .3rem; font-size: .82rem; color: var(--muted); }
.news-item__date { font-family: var(--mono); color: var(--ink); font-variant-numeric: tabular-nums; }
.news-item__cat { display: inline-block; align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--olive-deep); background: var(--lime-soft); padding: .22rem .55rem; border-radius: 999px; }
.news-item__title { grid-column: 2; font-size: 1.55rem; }
.news-item__teaser { grid-column: 2; font-size: 1.08rem; color: var(--muted); max-width: 66ch; margin-top: -.3rem; }
.news-item__body { grid-column: 2; max-width: 70ch; }
.news-item__body > * + * { margin-top: .9rem; }
.news-item__body a:not(.btn) { color: var(--olive-deep); border-bottom: 1px solid var(--lime); }
.news-item__body strong { color: var(--ink); font-weight: 600; }
.news-item__body ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: .4rem; }
.news-item__body ul > li { position: relative; padding-left: 1.3rem; }
.news-item__body ul > li::before { content: ""; position: absolute; left: .1rem; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.news-item__body h3 { font-size: 1.15rem; margin-top: 1.4rem; }
.news-item__figure { grid-column: 2; margin-top: 1.25rem; max-width: 70ch; }
.news-item__body .news-item__figure { margin-block: 1.25rem; }
.news-item__img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); box-shadow: var(--shadow); background: var(--card); }
.news-item__img:not(.news-item__img--screenshot) { border: 0; box-shadow: none; background: transparent; max-width: 420px; }
.news-item__caption { margin-top: .6rem; font-size: .84rem; color: var(--muted); line-height: 1.45; }
@media (max-width: 760px) {
  .news-item { grid-template-columns: 1fr; gap: .6rem; padding-block: 2rem; }
  .news-item__meta { flex-direction: row; align-items: center; gap: .8rem; }
  .news-item__title, .news-item__teaser, .news-item__body, .news-item__figure { grid-column: 1; }
}

/* Anleitung */
.guide-part { margin-top: clamp(3rem, 6vw, 4.5rem); }
.guide-part__title { font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.3rem); padding-bottom: .9rem; border-bottom: 2px solid var(--olive); }
.guide-part__intro { margin-top: 1.25rem; max-width: 70ch; color: var(--body); }
.guide-area { margin-top: 2.5rem; }
.guide-area__title { font-size: 1.5rem; }
.guide-area__sub { margin-top: .3rem; color: var(--muted); font-size: 1rem; }
.guide .news-item { grid-template-columns: 1fr; gap: .5rem; padding-block: 2rem; }
.guide .news-item__title, .guide .news-item__teaser, .guide .news-item__body, .guide .news-item__figure { grid-column: 1; }
.guide .news-item__meta { flex-direction: row; align-items: center; margin-bottom: .1rem; }
.guide .news-item__title { font-size: 1.35rem; }
.guide .news-item__teaser { font-size: 1rem; }
.guide-up { display: inline-block; margin-top: 1.5rem; font-size: .85rem; color: var(--muted); }
.guide-up:hover { color: var(--ink); }
.phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 2rem; }
.phase { padding: 1.2rem 1.3rem; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); display: flex; flex-direction: column; gap: .4rem; }
.phase__num { font-family: var(--mono); font-size: .78rem; font-weight: 700; color: var(--ink); background: var(--lime); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; }
.phase__title { font-size: 1.15rem; }
.phase p { font-size: .94rem; }
@media (max-width: 760px) { .phases { grid-template-columns: 1fr; } }

/* Rechner (Preise) */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2rem; }
.calc__inputs { padding: 1.75rem 1.6rem; display: flex; flex-direction: column; gap: 1.25rem; }
.calc__field label { display: block; font-weight: 600; color: var(--ink); font-size: .98rem; }
.calc__hint { display: block; font-weight: 400; font-size: .84rem; color: var(--muted); margin-top: .1rem; }
.calc__row { display: flex; align-items: center; gap: .6rem; margin-top: .5rem; }
.calc__row input { width: 7rem; font: inherit; font-family: var(--mono); font-size: 1.05rem; padding: .55rem .7rem; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); }
.calc__row input:focus { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--olive); }
.calc__unit { font-size: .92rem; color: var(--muted); }
.calc__result { background: var(--night); color: #e9ecdc; padding: 1.75rem 1.6rem; display: flex; flex-direction: column; gap: 1rem; }
.calc__out { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-bottom: .8rem; border-bottom: 1px solid var(--night-line); }
.calc__out-label { font-size: .92rem; color: rgba(233,236,220,.7); }
.calc__out-value { font-family: var(--mono); font-size: 1.25rem; color: #fff; font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__out--big { border-bottom: 0; }
.calc__out--big .calc__out-value { font-family: var(--serif); font-size: 2.4rem; color: var(--lime); }
.calc__note { font-size: .84rem; color: rgba(233,236,220,.6); line-height: 1.5; }
@media (max-width: 760px) { .calc { grid-template-columns: 1fr; } }

/* Allgemeine Kartenraster */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.75rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; margin-top: 1.75rem; }
.card { padding: 1.5rem 1.5rem 1.6rem; background: var(--card); border: 1px solid var(--line-soft); border-radius: var(--radius); display: flex; flex-direction: column; gap: .55rem; }
.card h3 { font-size: 1.2rem; }
.card p { font-size: .96rem; }
.card .link-arrow { margin-top: auto; padding-top: .5rem; align-self: flex-start; font-size: .92rem; }
.card--line { background: transparent; border: 0; border-top: 2px solid var(--olive); border-radius: 0; padding: 1rem 0 0; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

/* Banken */
.banks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 1.75rem; }
.bank { background: var(--card); padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .25rem; }
.bank dt { font-weight: 600; color: var(--ink); }
.bank dd { font-size: .88rem; color: var(--muted); font-family: var(--mono); line-height: 1.45; }
@media (max-width: 720px) { .banks { grid-template-columns: 1fr; } }

/* Zugangsdaten (Live-Test) */
.creds { display: flex; flex-wrap: wrap; gap: .75rem 2rem; margin-top: 1rem; }
.creds div { display: flex; flex-direction: column; gap: .15rem; }
.creds dt { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--olive); }
.creds dd { font-family: var(--mono); font-size: 1.25rem; color: var(--ink); }
/* Auf dunklem Callout (live-test.html) wären Oliv und Ink auf --night unlesbar. */
.callout--dark .creds dt { color: var(--lime); }
.callout--dark .creds dd { color: #fff; }

/* Code-Zeile */
.codeline { display: block; margin-top: .9rem; padding: .8rem 1rem; background: var(--night); color: #e9ecdc; font-family: var(--mono); font-size: .82rem; border-radius: 8px; overflow-x: auto; white-space: pre; }

/* Widget-Einbettung: der Demo-Knopf des Buchungswidgets */
.widget-slot { margin-top: 1rem; min-height: 44px; }

/* Rechtliches */
.legal .page-head__title { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); }
.legal address { font-style: normal; line-height: 1.6; }

/* Druck (Anleitung) */
@media print {
  .site-head, .site-foot, .nav-burger, .toc, .guide-up, .noprint, .closing { display: none !important; }
  body { background: #fff; color: #000; font-size: 10.5pt; }
  .layout-side { display: block; }
  .news-item { break-inside: avoid; padding-block: 1rem; }
  .news-item__img { box-shadow: none; }
  a { color: inherit; border: 0 !important; }
}

/* Beleg-Rangliste (Tabellenkörper wird serverseitig erzeugt, Klassen bleiben stabil) */
.ranking { min-width: 860px; }
.ranking td, .ranking th { text-align: center; }
.ranking td.haendler, .ranking th.th-haendler { text-align: left; }
.ranking .th-rang, .ranking td.rang { color: var(--muted); font-family: var(--mono); font-size: .84rem; }
.ranking .zelle--gruppenstart { border-left: 1px solid var(--line); }
.ranking .th-gruppe { text-align: center; }
.ranking td.haendler { display: flex; align-items: center; gap: .7rem; white-space: nowrap; }
.ranking .logo-img { width: 34px; height: 24px; object-fit: contain; flex: none; }
.ranking .avatar { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 700; color: #fff; background: var(--olive); flex: none; }
.ranking .avatar--1 { background: #6f7a00; } .ranking .avatar--2 { background: #3f4a1f; } .ranking .avatar--3 { background: #7a4d00; }
.ranking .avatar--4 { background: #4b5d73; } .ranking .avatar--5 { background: #7a3e5c; } .ranking .avatar--6 { background: #2f6b5a; }
.ranking .avatar--7 { background: #8a5a2b; } .ranking .avatar--8 { background: #52406e; } .ranking .avatar--9 { background: #5f6b2e; }
.ranking td.anzahl, .ranking td.rate { font-family: var(--mono); font-size: .86rem; font-variant-numeric: tabular-nums; }
.ranking .rate--gesamt { font-weight: 700; }
.ranking .rate--gut { color: #2e7d32; }
.ranking .rate--mittel { color: #a06a00; }
.ranking .rate--schlecht { color: #b3261e; }
.ranking .rate--leer { color: var(--muted); }
.legende { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-top: 1rem; font-size: .84rem; color: var(--muted); }
.legende li { display: inline-flex; align-items: center; gap: .45rem; }
.legende__punkt { width: .65rem; height: .65rem; border-radius: 50%; }
.legende__punkt--gut { background: #2e7d32; }
.legende__punkt--mittel { background: #a06a00; }
.legende__punkt--schlecht { background: #b3261e; }
.legende__strich { font-weight: 700; }

/* Anleitung: Inhaltsverzeichnis in Spalten, Druckzeile */
.toc__groups { column-count: 3; column-gap: 2.5rem; }
.toc__groups .toc__group { break-inside: avoid; }
@media (max-width: 900px) { .toc__groups { column-count: 2; } }
@media (max-width: 560px) { .toc__groups { column-count: 1; } }
.toc--columns { columns: auto; }
.guide-print-row { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.guide .posts { margin-top: 1rem; }

/* Feinabstände */
.stats + * { margin-top: 2.75rem; }
.stat__value--sm { font-size: 1.05rem; }
.page-head + .section { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

/* ── Terminbuchung im Dialog (index.html, „Persönliches Gespräch vereinbaren“) ──
   <dialog> + iframe auf die eigene Terminvergabe; geöffnet von flow-modal.js
   (CSP: kein Inline-JS, frame-src 'self'). Ohne JS führt der Link direkt hin. */
.termin-modal {
  width: min(94vw, 640px); max-width: 640px; height: min(92vh, 780px);
  padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); background: var(--card); overflow: hidden;
}
.termin-modal::backdrop { background: rgba(27, 33, 19, .6); }
.termin-modal__form { position: absolute; top: .7rem; right: .7rem; z-index: 1; margin: 0; }
.termin-modal__close {
  width: 2.2rem; height: 2.2rem; display: grid; place-items: center;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 50%;
  color: var(--ink); font-size: .9rem; cursor: pointer;
}
.termin-modal__close:hover { background: var(--lime-soft); }
.termin-modal__close:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.termin-modal__frame { width: 100%; height: 100%; border: 0; display: block; }

/* ── Funktionswunsch (index.html#funktionswunsch) ─────────────────── */
.wunsch {
  margin-top: 2.5rem; max-width: 720px; padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); scroll-margin-top: 5rem;
}
.wunsch__titel { font-size: 1.35rem; color: var(--ink); margin-bottom: .35rem; }
.wunsch__lead { color: var(--muted); margin-bottom: 1.25rem; }
.wunsch__punkte { border: 0; display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.25rem; }
.wunsch__punkte legend { margin-bottom: .5rem; }
.wunsch__punkt {
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer;
  padding: .5rem .95rem; border: 1px solid var(--line); border-radius: 999px;
  background: var(--paper); color: var(--ink); font-size: .95rem; transition: border-color .15s, background .15s;
}
.wunsch__punkt:hover { border-color: var(--olive); }
.wunsch__punkt:has(input:checked) { background: var(--lime-soft); border-color: var(--olive); }
.wunsch__punkt input { accent-color: var(--olive); width: 1.05rem; height: 1.05rem; }
.wunsch__punkt:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.wunsch__label { display: block; font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: .35rem; }
.wunsch__optional { font-weight: 400; color: var(--muted); }
.wunsch__feld {
  display: block; width: 100%; margin-bottom: 1rem; padding: .65rem .8rem;
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1px solid var(--line); border-radius: 10px;
}
.wunsch__feld:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--olive); }
textarea.wunsch__feld { resize: vertical; min-height: 6.5rem; }
.wunsch__hinweis { font-size: .85rem; color: var(--muted); margin: -.5rem 0 1.25rem; }
.wunsch__hinweis a { color: var(--olive); }
.wunsch__honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
