/* Messeliste – Layout: linke Textspalte + Tabellenfenster im Kopf, darunter ruhige Abschnitte auf Schaltschrankgrau.
   Farben: Lichtgrau (RAL-7035-Anmutung), Graphit, Signalblau; Status-LEDs grün/gelb wie an einer SPS-Baugruppe. */
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Semi Condensed"; src: url("fonts/barlow-semi-condensed-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #e9ecea;
  --panel: #ffffff;
  --ink: #1c272d;
  --muted: #56636a;
  --line: #c7cecb;
  --line-soft: #dde2df;
  --accent: #1d5aa6;
  --accent-ink: #ffffff;
  --accent-soft: #e3ecf7;
  --led-on: #2f9a4f;
  --led-wait: #d19d00;
  --grid-head: #f2f4f3;
  --focus: #1d5aa6;
  --display: "Barlow Semi Condensed", "Arial Narrow", "Roboto Condensed", system-ui, sans-serif;
  --body: "Barlow", "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
  --radius: 6px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #12181b; --panel: #1a2226; --ink: #e3e9e6; --muted: #9aa8ae; --line: #2f3a3f; --line-soft: #253035;
    --accent: #6fa6ea; --accent-ink: #0d1a2a; --accent-soft: #1d2c3d; --led-on: #4cc46e; --led-wait: #f0bd2a;
    --grid-head: #20292d; --focus: #8fbaf0; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #12181b; --panel: #1a2226; --ink: #e3e9e6; --muted: #9aa8ae; --line: #2f3a3f; --line-soft: #253035;
  --accent: #6fa6ea; --accent-ink: #0d1a2a; --accent-soft: #1d2c3d; --led-on: #4cc46e; --led-wait: #f0bd2a;
  --grid-head: #20292d; --focus: #8fbaf0; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.55 var(--body); }
img { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; text-wrap: balance; margin: 0; letter-spacing: -0.005em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.3rem; }
p { margin: 0; }
.num { font-variant-numeric: tabular-nums; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Kopfleiste */
.top { border-bottom: 1px solid var(--line); background: var(--bg); }
.top .wrap { display: flex; align-items: center; gap: 24px; padding-block: 14px; }
.brand { font-family: var(--display); font-weight: 600; font-size: 1.45rem; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 22px; height: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.brand-mark span { background: var(--ink); border-radius: 1px; }
.brand-mark span:nth-child(5) { background: var(--accent); }
.nav { display: flex; align-items: baseline; gap: 20px; margin-left: auto; flex-wrap: wrap; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.98rem; }
.nav a:hover { color: var(--accent); }
.lang { font-weight: 600; font-size: 0.9rem; border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 10px; color: var(--ink); text-decoration: none; }
.lang:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 720px) { .nav { display: none; } .lang { margin-left: auto; } }

/* Kopfbereich */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.25fr); gap: 44px; align-items: center; padding-block: 56px 64px; }
@media (max-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-block: 36px 48px; } }
.led { width: 10px; height: 10px; border-radius: 50%; background: var(--led-on); box-shadow: 0 0 0 3px color-mix(in srgb, var(--led-on) 22%, transparent); flex: none; }
.led.wait { background: var(--led-wait); box-shadow: 0 0 0 3px color-mix(in srgb, var(--led-wait) 22%, transparent); }
.price-line { margin-top: 26px; font-size: 1.05rem; }
.price-line strong { font-family: var(--display); font-size: 1.9rem; font-weight: 600; margin-right: 6px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 600 1rem/1 var(--body); padding: 14px 20px; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer; text-decoration: none; transition: background-color .15s, border-color .15s, color .15s; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; pointer-events: none; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); max-width: 34em; }
.facts dt { font-size: 0.9rem; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 600; }

/* Tabellenfenster */
.sheet { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 1px 0 var(--line-soft), 0 18px 40px -24px rgba(20, 35, 45, .35); overflow: hidden; min-width: 0; }
.sheet-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: var(--grid-head); font-size: 0.9rem; color: var(--muted); }
.sheet-bar .file { font-weight: 600; color: var(--ink); }
.sheet-bar .tag { margin-left: auto; font-size: 0.8rem; border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; }
.formula { display: flex; gap: 0; border-bottom: 1px solid var(--line); font-size: 0.88rem; }
.formula .ref { width: 64px; padding: 6px 10px; border-right: 1px solid var(--line); color: var(--muted); font-variant-numeric: tabular-nums; }
.formula .val { padding: 6px 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.grid-scroll { overflow-x: auto; }
table.grid { border-collapse: collapse; width: 100%; font-size: 0.9rem; font-variant-numeric: tabular-nums; }
.grid th, .grid td { border-right: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 7px 10px; text-align: left; white-space: nowrap; }
.grid thead th { background: var(--grid-head); color: var(--muted); font-weight: 500; font-size: 0.8rem; text-align: center; padding: 4px 10px; }
.grid thead tr.names th { text-align: left; color: var(--ink); font-weight: 600; font-size: 0.86rem; background: var(--panel); border-bottom: 1px solid var(--line); }
.grid .rn { background: var(--grid-head); color: var(--muted); text-align: center; width: 36px; font-size: 0.8rem; }
.grid td.active { outline: 2px solid var(--accent); outline-offset: -2px; }
.sheet-foot { display: flex; justify-content: space-between; gap: 12px; padding: 8px 14px; font-size: 0.82rem; color: var(--muted); border-top: 1px solid var(--line); background: var(--grid-head); flex-wrap: wrap; }

/* Abschnitte */
section.block { padding-block: 64px; border-top: 1px solid var(--line); }
section.block.alt { background: var(--panel); }
.head { max-width: 46em; margin-bottom: 30px; }
.head p { color: var(--muted); margin-top: 12px; font-size: 1.08rem; }

/* Spalten */
.cols { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 900px) { .cols { grid-template-columns: minmax(0, 1fr); } }
table.spec { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec th, .spec td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); text-align: left; vertical-align: top; }
.spec tr:last-child td { border-bottom: 0; }
.spec .c { width: 44px; color: var(--muted); font-variant-numeric: tabular-nums; text-align: center; background: var(--grid-head); }
.spec td strong { display: block; }
.spec td span { color: var(--muted); font-size: 0.95rem; }
.notes { display: grid; gap: 18px; }
.note { padding-left: 16px; border-left: 3px solid var(--line); }
.note strong { display: block; margin-bottom: 4px; }
.note p { color: var(--muted); }
.note.key { border-left-color: var(--led-on); }

/* Preise */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; max-width: 1180px; }
@media (max-width: 1020px) { .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; } }
.plan .soon { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); margin: 0; }
.tt-result { display: grid; gap: 14px; margin: 18px 0; }
.tt-result .hit { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; background: var(--panel); }
.tt-result .hit h3 { margin: 0 0 4px; font-size: 1.1rem; }
.tt-result .hit p { margin: 4px 0 0; }
.plan { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.plan.featured { border: 2px solid var(--accent); padding: 25px; }
.plan .pill { align-self: flex-start; font-size: 0.82rem; font-weight: 600; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 3px 10px; }
.plan .amount { font-family: var(--display); font-size: 2.6rem; font-weight: 600; line-height: 1; }
.plan .vat { font-size: 0.9rem; color: var(--muted); }
.plan ul { margin: 0; padding-left: 1.1em; color: var(--ink); display: grid; gap: 6px; }
.plan .addon { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px dashed var(--line, #c9d3de); border-radius: 10px; font-weight: 600; cursor: pointer; background: var(--panel); }
.plan .addon input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cta, #1a56b0); flex: none; }
.plan .addon:has(input:checked) { border-style: solid; border-color: var(--cta, #1a56b0); }
.plan .buy { display: grid; gap: 10px; margin-top: auto; padding-top: 8px; }
.terms { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 22px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); max-width: 46em; }
.terms input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.assure { margin-top: 18px; color: var(--muted); max-width: 52em; }
.paymethods { margin-top: 8px; color: var(--muted); font-size: 0.92rem; }

/* PayPal-Schritt */
.pp-panel { margin-top: 18px; background: var(--panel); border: 1px solid var(--accent); border-radius: 8px; padding: 22px; max-width: 46em; }
.pp-panel h3 { margin-bottom: 6px; }

/* Formulare */
.form { display: grid; gap: 14px; max-width: 40em; }
.form .row2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 600px) { .form .row2 { grid-template-columns: minmax(0, 1fr); } }
label.f { display: grid; gap: 6px; font-weight: 500; font-size: 0.96rem; }
label.f small { color: var(--muted); font-weight: 400; }
input[type=text], input[type=email], input[type=tel], select, textarea { font: inherit; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 12px; width: 100%; }
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--accent); outline: 2px solid color-mix(in srgb, var(--accent) 25%, transparent); outline-offset: 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.94rem; color: var(--muted); }
.check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.92rem; color: var(--muted); }
.fairpick { display: grid; gap: 8px; }
.fairpick label { display: flex; gap: 10px; align-items: center; padding: 10px 12px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; }
.fairpick input { accent-color: var(--accent); width: 18px; height: 18px; }

/* Drei Treffer */
.match { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 900px) { .match { grid-template-columns: minmax(0, 1fr); gap: 28px; } }
.match .why { display: grid; gap: 16px; }
.sample-link { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }

/* Messen */
.fairs { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fairs th, .fairs td { padding: 14px 16px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.fairs thead th { font-size: 0.86rem; color: var(--muted); font-weight: 500; background: var(--grid-head); }
.fairs tr:last-child td { border-bottom: 0; }
.fairs .st { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; white-space: nowrap; }
.fairs-wrap { overflow-x: auto; }
.preorder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; margin-top: 36px; align-items: start; }
@media (max-width: 900px) { .preorder { grid-template-columns: minmax(0, 1fr); } }
.earlybird { font-family: var(--display); font-size: 1.5rem; font-weight: 600; }

/* Fragen */
.faq { display: grid; gap: 10px; max-width: 52em; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 16px; color: var(--muted); }
.faq details p + p { margin-top: -6px; }

/* Fuß */
footer { border-top: 1px solid var(--line); padding-block: 36px 48px; color: var(--muted); font-size: 0.94rem; }
footer .wrap { display: grid; gap: 14px; }
footer .links { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--ink); }

/* Rechtsseiten und Statusseiten */
.doc { max-width: 46em; padding-block: 48px 72px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 24px; }
.doc h2 { font-size: 1.35rem; margin: 32px 0 10px; }
.doc p, .doc li { color: var(--ink); }
.doc p + p { margin-top: 10px; }
.doc .ph { background: var(--accent-soft); padding: 0 4px; border-radius: 3px; }
.msg { max-width: 40em; padding-block: 72px 96px; display: grid; gap: 18px; }
.msg .led { width: 14px; height: 14px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

/* Rollen */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 860px) { .roles { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
.role { border-top: 3px solid var(--ink); padding-top: 14px; }
.role p { color: var(--muted); hyphens: auto; -webkit-hyphens: auto; }
.svc-line { margin-top: 22px; color: var(--muted); }
.linkbtn { font: inherit; font-weight: 600; color: var(--accent); background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }

/* Bilder */
.hero-photo { display: none; margin: 0; min-width: 0; }
.hero-photo img { width: 100%; height: auto; border-radius: 8px; display: block; box-shadow: 0 18px 40px -24px rgba(20, 35, 45, .35); }
:root[data-hero="foto"] .hero-photo { display: block; }
:root[data-hero="foto"] .sheet { display: none; }
.roles-img { width: 100%; height: clamp(180px, 28vw, 340px); object-fit: cover; border-radius: 8px; display: block; margin-bottom: 32px; }
.hl { background: linear-gradient(transparent 62%, var(--marker, transparent) 62%); padding: 0 .06em; }
.btn-primary { background: var(--cta, var(--accent)); color: var(--cta-ink, var(--accent-ink)); }
.btn-primary:hover { background: color-mix(in srgb, var(--cta, var(--accent)) 86%, #000); }

/* Farbvarianten (immer hell). Gewählt wird über data-palette am html-Element (site.json: "palette") */
:root[data-palette="a"] {
  --bg: #ffffff; --panel: #ffffff; --tint: #f1f5fb; --ink: #14233a; --muted: #586679; --line: #d5dce6; --line-soft: #e7ecf2;
  --accent: #1a56b0; --accent-ink: #ffffff; --accent-soft: #e3ecf9; --grid-head: #f4f7fb; --focus: #1a56b0;
  --led-on: #2f9a4f; --led-wait: #d19d00; --cta: #1a56b0; --cta-ink: #ffffff; --marker: transparent; color-scheme: light;
}
:root[data-palette="b"] {
  --bg: #ffffff; --panel: #ffffff; --tint: #eff7f6; --ink: #13294b; --muted: #556479; --line: #d4dfe0; --line-soft: #e6eeee;
  --accent: #1d4f91; --accent-ink: #ffffff; --accent-soft: #e2eef8; --grid-head: #f3f8f8; --focus: #0b7a76;
  --led-on: #2f9a4f; --led-wait: #d19d00; --cta: #0b7a76; --cta-ink: #ffffff; --marker: #ffe27a; color-scheme: light;
}
:root[data-palette="a"] section.block.alt, :root[data-palette="b"] section.block.alt { background: var(--tint); }
:root[data-palette="a"] .top, :root[data-palette="b"] .top { background: #ffffff; }
:root[data-palette="b"] .plan.featured { border-color: var(--cta); }
:root[data-palette="b"] .plan .pill { color: var(--cta); background: #e0f3f1; }
:root[data-palette="b"] .brand-mark span:nth-child(5) { background: var(--cta); }
:root[data-palette="b"] .grid td.active { outline-color: var(--cta); }

/* Kopf: Tabelle vor einem Foto (data-hero="kombi") */
.hero-visual { min-width: 0; display: grid; }
.hero-visual > * { grid-area: 1 / 1; min-width: 0; }
:root[data-hero="kombi"] .hero-photo { display: block; justify-self: end; align-self: start; width: 74%; }
:root[data-hero="kombi"] .hero-photo img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 60% 40%; }
:root[data-hero="kombi"] .sheet { align-self: end; justify-self: start; width: 88%; margin-top: 34%; position: relative; z-index: 1;
  box-shadow: 0 1px 0 var(--line-soft), 0 24px 48px -20px rgba(20, 35, 45, .45); }

/* Zeilenumbrüche: keine einzelnen Wörter in der letzten Zeile */
p, li, dd, dt, label, summary, small, .lede { text-wrap: pretty; }
.status { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: var(--muted); font-size: 0.98rem; margin-bottom: 18px; text-wrap: balance; }
.fairs td.num, .fairpick .form-note, .vat { white-space: nowrap; }
@media (max-width: 480px) { .vat { white-space: normal; } }

/* Kopfzeile: Spezialisierung */
.claim { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.2vw, 1.5rem); color: var(--accent); margin-top: 14px; text-wrap: balance; }
.claim-sub { font-size: 1.05rem; color: var(--ink); margin-top: 6px; font-weight: 500; text-wrap: pretty; }
.lede { font-size: 1.18rem; color: var(--muted); max-width: 34em; margin-top: 12px; }

/* So funktioniert's */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.steps li { display: flex; gap: 14px; align-items: flex-start; }
.step-n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 600; font-size: 1.1rem; color: var(--accent); background: var(--accent-soft); }
.steps h3 { font-size: 1.15rem; margin-bottom: 4px; }
.steps p { color: var(--muted); hyphens: auto; -webkit-hyphens: auto; }
.basics { margin-top: 34px; padding: 22px 26px; border-radius: var(--radius); background: var(--accent-soft); color: var(--ink); max-width: 52em; display: flex; gap: 22px; align-items: center; }
.basics-ico { flex: none; width: 56px; height: auto; }
.basics p { margin: 0; }
.basics-k { font-family: var(--display); font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.basics-big { font-family: var(--display); font-weight: 700; font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: 1.15; margin: 4px 0 6px !important; text-wrap: balance; }
@media (max-width: 560px) { .basics { flex-direction: column; align-items: flex-start; gap: 14px; } }
.notes h3 { margin-bottom: 4px; }

/* Vertrauenszeile unter den Kauf-Knöpfen, Freigabe-Text */
.plan .trust { margin: 2px 0 0; font-size: .86rem; line-height: 1.45; color: var(--muted); }
.spec tr.plan-cols .c { background: var(--accent-soft); color: var(--accent); font-weight: 600; white-space: nowrap; padding-inline: 6px; }
.approve { margin-top: 20px; max-width: 46em; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.approve summary { cursor: pointer; font-weight: 600; }
.approve[open] summary { margin-bottom: 8px; }
.approve textarea { min-height: 430px; font-size: .92rem; margin-top: 10px; }
.approve .actions { margin-top: 12px; }

/* Weiterleiten-Link unter den Knöpfen */
.share { margin-top: 14px; font-size: .95rem; }
.share a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.share a:hover { color: var(--accent); }

/* Handy-Kopf: heller Grund, Produkt zuerst, ein blauer Knopf.
   Reihenfolge: Überschrift → Kernbotschaft → Beispieltabelle (3 Zeilen) → Preis → Knopf → Links → Status → Kennzahlen.
   Blau steht im Kopf nur am Knopf. */
@media (max-width: 720px) {
  .hero .wrap { padding-block: 22px 30px; gap: 0; text-align: center; }
  .hero .wrap > div:first-child, .hero-visual { display: contents; }
  .hero-visual > * { grid-area: auto; }
  :root[data-hero="kombi"] .hero-photo { display: none; }
  .hero h1 { order: 1; font-size: 2.15rem; line-height: 1.08; margin: 0; text-wrap: balance; }
  .hero .claim { order: 2; color: var(--ink); font-size: 1.12rem; margin-top: 10px; }
  .hero .claim-sub, .hero .lede { display: none; }
  :root[data-hero="kombi"] .hero .sheet, .hero .sheet { order: 3; width: 100%; margin: 20px 0 0; text-align: left; transform: none; }
  .hero .sheet .formula, .hero .grid tbody tr:nth-child(n+4) { display: none; }
  .hero .price-line { order: 4; margin-top: 20px; }
  .hero .price-line strong { font-size: 2.3rem; }
  .hero .actions { order: 5; margin-top: 12px; gap: 6px; }
  .hero .actions .btn { width: 100%; min-height: 52px; }
  .hero .actions .btn-primary { font-size: 1.06rem; }
  .hero .actions .btn-secondary { border-color: transparent; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; min-height: 44px; padding-block: 8px; }
  .hero .share { order: 6; margin-top: 2px; }
  .hero .status { order: 7; display: flex; width: fit-content; max-width: 100%; margin: 22px auto 0; text-align: left; font-size: .9rem; line-height: 1.35; }
  .hero .facts { order: 8; text-align: left; margin-top: 16px; }
}

/* Handy: Vormerk-Formular darf nicht breiter als der Bildschirm werden */
.preorder > * { min-width: 0; }
@media (max-width: 480px) { .fairpick .form-note { white-space: normal; } }

/* Startseite: Hinweis auf die aktuelle Messe, Versprechen, Messen-Leiste; rechts Tabelle vor Messefoto */
.now-badge { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 7px 14px; margin-bottom: 18px; border-radius: 999px;
  background: var(--accent-soft); color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.now-badge:hover { border-color: var(--accent); }
.now-badge-count { color: var(--accent); }
.home-hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.3rem); line-height: 1.05; text-wrap: balance; margin: 0; }
.home-hero .lede { margin-top: 16px; }
.btn-gift { border-color: var(--led-on); color: var(--ink); }
.btn-gift::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--led-on); box-shadow: 0 0 0 3px color-mix(in srgb, var(--led-on) 22%, transparent); }
.btn-gift:hover { border-color: var(--led-on); color: var(--ink); background: color-mix(in srgb, var(--led-on) 8%, transparent); }
.chip-fair { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel);
  color: var(--ink); text-decoration: none; font-size: .9rem; font-weight: 600; }
.chip-fair.is-now { border-color: var(--accent); }
.chip-fair.is-more { color: var(--muted); font-weight: 500; border-style: dashed; }
.chip-fair:hover { border-color: var(--accent); }

/* Jetzt aktuell: ein Band über die volle Breite in drei klaren Spalten */
.now-band { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr) minmax(0, 0.9fr); align-items: center; background: var(--panel);
  border: 1px solid var(--line); border-radius: 10px; }
.now-band > div { padding: 24px 28px; min-width: 0; }
.now-band > div + div { border-left: 1px solid var(--line-soft); }
.nb-fair { display: flex; gap: 16px; align-items: center; }
.now-ico { flex: none; }
.now-kind { margin: 0; color: var(--muted); font-size: .92rem; }
.now-fair { margin: 0; font-family: var(--display); font-weight: 600; font-size: 2.2rem; line-height: 1; }
.now-when { margin: 6px 0 0; color: var(--muted); }
.now-count { margin: 0 0 14px; font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1; }
.nb-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.nb-facts div { display: flex; flex-direction: column; }
.nb-facts dd { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.5rem; line-height: 1.1; }
.nb-facts dt { color: var(--muted); font-size: .88rem; }
.nb-buy { display: flex; flex-direction: column; gap: 8px; }
.nb-buy .price-line { margin: 0; }
.now-status { margin: 0 0 6px; color: var(--muted); font-size: .95rem; }
.nb-buy .btn { width: 100%; min-height: 52px; }
.gift { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; margin-top: 16px; padding: 16px 20px; border-radius: 10px;
  background: color-mix(in srgb, var(--led-on) 9%, var(--panel)); border: 1px dashed color-mix(in srgb, var(--led-on) 55%, transparent); color: var(--ink); text-decoration: none; }
.gift-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--led-on); color: #fff; font-family: var(--display); font-weight: 600; font-size: 1.4rem; }
.gift-text { display: grid; gap: 2px; }
.gift-text span { color: var(--muted); }
.gift-cta { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.gift:hover { border-style: solid; }
@media (max-width: 960px) {
  .now-band { grid-template-columns: minmax(0, 1fr); }
  .now-band > div + div { border-left: 0; border-top: 1px solid var(--line-soft); }
}
@media (max-width: 720px) {
  .home-hero .wrap { text-align: left; }
  .home-hero .now-badge { order: 0; align-self: center; margin: 0 auto 14px; font-size: .88rem; }
  .home-hero .lede { display: block; order: 2; font-size: 1.02rem; margin-top: 12px; }
  .home-hero .actions .btn-gift { border-color: var(--led-on); text-decoration: none; justify-content: center; padding-left: 20px; }
  .now-band > div { padding: 18px; }
  .gift { grid-template-columns: auto minmax(0, 1fr); }
  .gift-cta { grid-column: 1 / -1; }
}

/* Ausklappmenü „Messen“ in der Kopfzeile */
.dd { position: relative; }
.dd-btn { font: inherit; font-weight: 500; font-size: 0.98rem; color: var(--ink); background: none; border: 0; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; padding: 0; }
.dd-btn:hover { color: var(--accent); }
.dd-panel { position: absolute; top: calc(100% + 12px); left: -12px; min-width: 290px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  box-shadow: 0 18px 40px -20px rgba(20, 35, 45, .45); padding: 6px; z-index: 20; }
.dd-panel a { display: grid; gap: 1px; padding: 10px 12px; border-radius: 6px; text-decoration: none; color: var(--ink); }
.dd-panel a span { color: var(--muted); font-size: .88rem; }
.dd-panel a:hover, .dd-panel a:focus-visible { background: var(--grid-head); }
.dd-panel a:first-child strong { color: var(--accent); }

/* Handy-Menü: das Raster-Symbol öffnet es, der Schriftzug führt zur Startseite */
.menu-btn { display: none; background: none; border: 0; padding: 10px; margin: -10px 0 -10px -10px; cursor: pointer; border-radius: var(--radius); }
.menu-btn .brand-mark { width: 24px; height: 24px; }
.menu-btn[aria-expanded="true"] .brand-mark span { background: var(--accent); }
.mnav { border-top: 1px solid var(--line); background: var(--panel); padding: 6px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); }
.mnav a { display: block; padding: 13px 4px; color: var(--ink); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.mnav a:last-child { border-bottom: 0; color: var(--muted); font-weight: 500; }
.mnav-h { margin: 14px 4px 2px; font-size: .85rem; color: var(--muted); }
.mnav a.mnav-fair span { font-weight: 400; color: var(--muted); font-size: .9rem; }
@media (min-width: 1001px) { .mnav { display: none !important; } }
@media (max-width: 720px) {
  .menu-btn { display: inline-flex; }
  .brand.has-menu .brand-mark { display: none; }
  .top .wrap { gap: 12px; }
}
.chip-fair small { font-weight: 400; color: var(--muted); font-size: .82rem; white-space: nowrap; }

/* Ablauf Marketing → Vertrieb → Business Development */
.role h3 { margin-bottom: 8px; text-wrap: balance; }
.role-out { margin-top: 12px; display: inline-block; font-weight: 600; font-size: .92rem; color: var(--accent); background: var(--accent-soft); border-radius: 999px; padding: 4px 12px; }
/* Prozesspfeile: jede Station hat oben einen Balken, der als Pfeil auf die nächste zeigt.
   Farbe wird von Station zu Station kräftiger (Richtung Auftrag). Badges stehen unten auf einer Höhe. */
.roles .role { border-top: 0; padding-top: 0; position: relative; display: flex; flex-direction: column; }
.roles .role::before { content: ""; display: block; height: 10px; margin-bottom: 16px; background: var(--accent); border-radius: 2px; }
.roles .role:nth-child(1)::before { background: color-mix(in srgb, var(--accent) 45%, var(--panel)); }
.roles .role:nth-child(2)::before { background: color-mix(in srgb, var(--accent) 72%, var(--panel)); }
.roles .role p:not(.role-out) { margin-bottom: 14px; }
.roles .role-out { margin-top: auto; align-self: flex-start; }
@media (min-width: 861px) {
  .roles .role::before { border-radius: 0; }
  .roles .role:first-child::before { clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%); border-radius: 2px 0 0 2px; }
  .roles .role:not(:first-child):not(:last-child)::before { clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 0 100%, 12px 50%); }
  .roles .role:last-child::before { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12px 50%); }
  .roles .role h3 { min-height: 2.2em; }
}
/* Beispiel einer Probe */
.tt-example { margin-top: 18px; border: 1px dashed var(--line); border-radius: var(--radius); padding: 14px 16px; background: var(--panel); }
.tt-example p { margin: 4px 0 0; }
.tt-ex-k { font-size: .82rem; color: var(--muted); font-weight: 600; margin: 0 !important; }
.tt-ex-ctx { color: var(--muted); font-size: .92rem; }
.tt-example h3 { margin: 8px 0 0; font-size: 1.05rem; }
.tt-ex-where { color: var(--muted); font-size: .92rem; }
.tt-ex-note { font-size: .8rem; color: var(--muted); margin-top: 8px !important; }

/* Handy-Startseite: Hinweis einzeilig, Knöpfe im ersten Bildschirm, eine linke Kante */
@media (max-width: 720px) {
  .home-hero .now-badge { flex-wrap: nowrap; white-space: nowrap; align-self: flex-start; margin: 0 0 14px; max-width: 100%; }
  .home-hero .now-badge .nb-n { display: none; }
  .home-hero h1 { order: 1; font-size: 2.05rem; text-align: left; }
  .home-hero .actions { order: 3; margin-top: 18px; }
  .home-hero .sheet { order: 4; margin-top: 22px !important; }
}

/* Handy: Messen als ruhige Liste, Zahlen ohne Umbruch, Messetabelle als Karten */
@media (max-width: 720px) {
  .chip-fair { justify-content: space-between; border-radius: 8px; padding: 10px 12px; }
  .chip-fair small { margin-left: auto; }
  .chip-fair.is-now { justify-content: flex-start; }
  .chip-fair.is-now small { margin-left: auto; }
  .chip-fair.is-more { justify-content: center; }
  .nb-facts { gap: 8px; }
  .nb-facts dt { font-size: .8rem; white-space: nowrap; }
  .nb-facts dd { font-size: 1.35rem; }
  .fairs-wrap { overflow: visible; }
  .fairs, .fairs tbody, .fairs tr, .fairs td { display: block; width: 100%; }
  .fairs thead { display: none; }
  .fairs tr { padding: 12px 14px; border-bottom: 1px solid var(--line-soft); }
  .fairs td { padding: 2px 0; border: 0; }
  .fairs td:first-child strong { font-size: 1.02rem; }
  .fairs td:nth-child(2), .fairs td:nth-child(3) { display: inline; width: auto; color: var(--muted); font-size: .92rem; }
  .fairs td:nth-child(2)::after { content: " · "; }
  .fairs td:last-child { margin-top: 6px; }
}

/* Fußzeile: Pflichthinweis kleiner, damit er nicht wie ein Absatz zum Lesen wirkt */
footer p { font-size: .82rem; line-height: 1.5; max-width: 62em; }

/* Für den Einkauf: Lieferantendaten und Angebot */
.procure-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; margin-top: 16px; align-items: start; }
.procure-grid h3 { font-size: 1.1rem; margin-bottom: 10px; }
.procure-facts { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 14px; margin: 0; font-size: .95rem; }
.procure-facts dt { color: var(--muted); }
.procure-facts dd { margin: 0; overflow-wrap: anywhere; }
.procure .form select { width: 100%; }
@media (max-width: 860px) { .procure-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } }

/* Nutzen in Zahlen unter den Paketen */
.value-lines { margin-top: 24px; padding: 14px 18px; background: var(--panel); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.value-lines p { margin: 4px 0; }
.value-lines .form-note { margin-top: 8px; }
/* Stimmen aus der Praxis */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.quote { margin: 0; padding: 18px 20px; background: var(--panel); border-radius: var(--radius); border: 1px solid var(--line-soft); }
.quote blockquote { margin: 0 0 10px; font-size: 1.05rem; }
.quote figcaption { color: var(--muted); font-size: .9rem; }

/* Badge „Nächste Messe“ auf dem Handy, Preiszusatz, Zeichenzähler */
.price-sub { margin: 4px 0 0; color: var(--muted); font-size: .9rem; }
.min-count { display: block; margin-top: 4px; font-size: .85rem; color: var(--muted); }
.min-count.ok { color: var(--led-on); }
/* Messe als ruhige Zeile über der Überschrift */
.home-hero .now-badge { background: none; border: 0; border-radius: 0; padding: 0; margin: 0 0 14px; gap: 4px 8px;
  color: var(--accent); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.home-hero .now-badge:hover { border: 0; text-decoration: underline; text-underline-offset: 3px; }
.home-hero .now-badge .now-badge-count { color: var(--muted); font-weight: 600; }
.nb-sep { display: none; }
.home-hero .nb-sep { display: inline; color: var(--muted); }
@media (max-width: 720px) { .home-hero .now-badge { font-size: .82rem; white-space: nowrap; } }

/* Messename in der Zeile über der Überschrift */
.home-hero .now-badge .nb-name { font-size: 1.25rem; letter-spacing: .03em; }
.home-hero .now-badge .nb-name .nb-n { font-size: .85rem; letter-spacing: .06em; }
@media (max-width: 720px) { .home-hero .now-badge .nb-name { font-size: 1.1rem; } }
.home-hero .now-badge .nb-n { color: var(--muted); display: none; }
.home-hero .now-badge { white-space: nowrap; }

/* Dunkle Fassung der Palette A: folgt der Geräteeinstellung, umschaltbar über den Knopf im Kopf */
@media (prefers-color-scheme: dark) {
  :root[data-palette="a"]:not([data-theme="light"]) {
    --bg: #11161d; --panel: #18202a; --tint: #151c25; --ink: #e4e9f0; --muted: #9aa7b6; --line: #2c3746; --line-soft: #222b37;
    --accent: #6fa6ea; --accent-ink: #0d1a2a; --accent-soft: #1c2a3c; --grid-head: #1d2633; --focus: #8fbaf0;
    --led-on: #4cc46e; --led-wait: #f0bd2a; --cta: #3d7fdc; --cta-ink: #ffffff; color-scheme: dark;
  }
  :root[data-palette="a"]:not([data-theme="light"]) .top { background: var(--bg); }
}
:root[data-palette="a"][data-theme="dark"] {
  --bg: #11161d; --panel: #18202a; --tint: #151c25; --ink: #e4e9f0; --muted: #9aa7b6; --line: #2c3746; --line-soft: #222b37;
  --accent: #6fa6ea; --accent-ink: #0d1a2a; --accent-soft: #1c2a3c; --grid-head: #1d2633; --focus: #8fbaf0;
  --led-on: #4cc46e; --led-wait: #f0bd2a; --cta: #3d7fdc; --cta-ink: #ffffff; color-scheme: dark;
}
:root[data-palette="a"][data-theme="dark"] .top { background: var(--bg); }
.theme-btn { display: inline-grid; place-items: center; width: 34px; height: 30px; margin-left: 10px; padding: 0; border: 1px solid var(--line);
  border-radius: var(--radius); background: transparent; color: var(--ink); cursor: pointer; }
.theme-btn:hover { border-color: var(--accent); color: var(--accent); }
.theme-btn + .lang { margin-left: 8px; }
.theme-btn .i-sun { display: none; }
:root[data-theme="dark"] .theme-btn .i-sun { display: block; }
:root[data-theme="dark"] .theme-btn .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-btn .i-sun { display: block; }
  :root:not([data-theme="light"]) .theme-btn .i-moon { display: none; }
}
@media (max-width: 720px) { .theme-btn { margin-left: auto; } .theme-btn + .lang { margin-left: 8px; } }

/* Vorschau mit drei Stufen (Standard, Premium, Zielkundenanalyse) */
.grid .tier { display: inline-block; font-size: .74rem; font-weight: 600; letter-spacing: .02em; padding: 2px 8px; border-radius: 999px;
  background: var(--grid-head); color: var(--muted); border: 1px solid var(--line); }
.grid .tier-2 { background: var(--accent-soft); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.grid .tier-3 { background: color-mix(in srgb, var(--led-on) 14%, transparent); color: var(--led-on); border-color: color-mix(in srgb, var(--led-on) 40%, transparent); }
.grid td.locked { color: var(--muted); font-size: .8rem; background: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--line) 35%, transparent) 6px 7px); }
.grid td.locked .lk { vertical-align: -1px; margin-right: 3px; }
.sheet.tiers .grid td, .sheet.tiers .grid thead tr.names th { white-space: normal; vertical-align: top; font-size: .84rem; line-height: 1.35; }
.sheet.tiers .grid td.co { min-width: 150px; }
.sheet.tiers .grid td.locked { min-width: 92px; }
@media (max-width: 720px) {
  .sheet.tiers .grid th:nth-child(3), .sheet.tiers .grid td:nth-child(3),
  .sheet.tiers .grid th:nth-child(5), .sheet.tiers .grid td:nth-child(5) { display: none; }
  .sheet.tiers .grid td.co { min-width: 120px; }
}
.sheet.tiers .grid { table-layout: fixed; width: 100%; }
.sheet.tiers .grid .rn { width: 28px; padding-inline: 4px; }
.sheet.tiers .grid td.co, .sheet.tiers .grid td.locked { min-width: 0; }
.sheet.tiers .grid td.co .adr { display: block; color: var(--muted); font-size: .76rem; line-height: 1.3; margin-top: 2px; }
.sheet.tiers .grid td.co .tier { display: block; width: fit-content; margin-top: 5px; white-space: nowrap; font-size: .7rem; }
.sheet.tiers .grid td, .sheet.tiers .grid th { padding: 6px 7px; hyphens: manual; overflow-wrap: normal; word-break: normal; }
.sheet.tiers .grid tr > :nth-child(2) { width: 31%; }
.sheet.tiers .grid tr > :nth-child(4) { width: 17%; }
@media (max-width: 720px) { .sheet.tiers .grid td, .sheet.tiers .grid th { font-size: .8rem; } }
.sheet.tiers .grid tr > :nth-child(3) { width: 11%; white-space: nowrap; }
.sheet.tiers .grid tr > :nth-child(5) { width: 17%; }
@media (max-width: 720px) { .sheet.tiers .grid tr > :nth-child(2) { width: 34%; } .sheet.tiers .grid tr > :nth-child(4) { width: 28%; } }

/* Zwei Einstiege mit Zielgruppenzeile; Vertrauenszeile mit Häkchen; Stimmen 3 + weitere, auf dem Handy zum Wischen */
.two-ways .btn > span { display: flex; flex-direction: column; gap: 3px; }
.btn-sub { font-weight: 500; font-size: .78rem; opacity: .85; letter-spacing: 0; }
@media (max-width: 720px) { .home-hero .two-ways .btn, .hero .two-ways .btn { align-items: center; text-align: center; } .two-ways .btn > span { align-items: center; } }
p.trust { line-height: 1.7; }
.quote.more { display: none; }
.quotes.show-all .quote.more { display: block; }
.quotes-more { margin-top: 14px; }
@media (max-width: 720px) {
  .quotes { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; -webkit-overflow-scrolling: touch; }
  .quotes .quote, .quotes .quote.more { display: block; flex: 0 0 85%; scroll-snap-align: start; margin: 0 !important; }
  .quotes-more { display: none; }
}
.trust-list li::before { content: "✓ "; color: var(--led-on); font-weight: 700; }
.two-ways .btn { text-align: left; line-height: 1.25; padding-top: 10px; padding-bottom: 10px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 10px; }
.two-ways .btn-gift::before { flex: 0 0 auto; }
.trust-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; font-size: .84rem; color: var(--muted); gap: 0 12px; line-height: 1.6; }
@media (max-width: 720px) { .two-ways .btn { justify-content: center; } }
.tt-line { margin: 14px 0 0; font-size: 1rem; }
.tt-line a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--led-on); text-decoration-thickness: 2px; text-underline-offset: 4px; font-weight: 600; }
.tt-line a:hover { color: var(--accent); }
@media (max-width: 720px) { .home-hero .tt-line { order: 3; text-align: center; } .home-hero .actions.slim { order: 3; } .home-hero .actions.slim .btn { width: 100%; } }

/* Zielkundenanalyse */
.zka-price { margin: 18px 0 4px; font-family: var(--display); }
.zka-price .amount { font-size: 2.2rem; font-weight: 600; color: var(--ink); }
.zka-price .amount small { font-size: 1rem; font-weight: 400; color: var(--muted); }
.zka-price .vat { color: var(--muted); font-size: .95rem; }
.zka-expert { margin-top: 18px; color: var(--muted); max-width: 62ch; font-size: .95rem; }
.zka-two { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.zka-two p { hyphens: auto; -webkit-hyphens: auto; }
.zka-calc { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px; }
.zka-calc h3 { margin-bottom: 8px; }
.zka-calc p { color: var(--muted); }
.zka-calc .zka-vs { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-soft); color: var(--ink); font-weight: 600; }
.zka-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.zka-card { background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px; }
.zka-card h3 { margin-bottom: 6px; }
.zka-card p { color: var(--muted); hyphens: auto; -webkit-hyphens: auto; }
.zka-result li { position: relative; padding: 6px 0 6px 28px; border-bottom: 1px solid var(--line-soft); }
.zka-result li::before { content: "✓"; position: absolute; left: 4px; color: var(--led-on); font-weight: 700; }
.zka-form { max-width: 760px; }
.zka-teaser-band { padding-top: 8px; padding-bottom: 8px; }
.zka-teaser { margin: 0; padding: 14px 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.zka-teaser a { font-weight: 600; white-space: nowrap; }
@media (max-width: 820px) {
  .zka-two, .zka-cards { grid-template-columns: 1fr; gap: 20px; }
  .zka-price .amount { font-size: 1.8rem; }
}
.zka-hero { padding-top: 56px; padding-bottom: 48px; }
.zka-hero .kicker { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; margin-bottom: 10px; }
.zka-hero h1 { max-width: 20ch; font-size: clamp(2rem, 4.2vw, 3rem); line-height: 1.1; margin-bottom: 16px; }
.zka-hero .lede { font-size: 1.15rem; max-width: 60ch; color: var(--muted); }
.zka-hero .actions { margin-top: 20px; }
.zka-two h2 { margin-bottom: 12px; }
.zka-form textarea { min-height: 84px; }
.zka-hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.zka-result { list-style: none; margin: 12px 0 0; padding: 0; max-width: 640px; }
@media (max-width: 820px) { .zka-hero-grid { grid-template-columns: 1fr; gap: 28px; } }

/* Ratgeber */
.rat-wrap { max-width: 760px; }
.rat-hero { padding-top: 56px; padding-bottom: 32px; }
.rat-hero .kicker { color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; margin-bottom: 10px; }
.rat-hero h1 { font-size: clamp(2rem, 4.2vw, 2.9rem); line-height: 1.1; margin-bottom: 16px; }
.rat-hero .lede { font-size: 1.15rem; color: var(--muted); }
.rat-body { padding-top: 8px; }
.rat-sec { margin-bottom: 40px; }
.rat-sec h2 { font-size: 1.6rem; margin-bottom: 12px; }
.rat-sec p { margin-bottom: 12px; line-height: 1.65; hyphens: auto; -webkit-hyphens: auto; }
.rat-sec ul, .rat-sec ol { margin: 0 0 14px; padding-left: 22px; }
.rat-sec li { margin-bottom: 10px; line-height: 1.6; }
.rat-sec blockquote { margin: 20px 0; padding: 16px 20px; border-left: 4px solid var(--accent); background: var(--accent-soft); border-radius: 0 8px 8px 0; }
.rat-sec blockquote p { margin: 0; font-size: 1.08rem; }
.rat-sec blockquote .who { margin-top: 8px; font-size: .9rem; color: var(--muted); }
.rat-tip { margin: 18px 0 0; padding: 14px 16px; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 7%, transparent); border-radius: 0 6px 6px 0; }
.rat-check { list-style: none; padding-left: 0 !important; }
.rat-check li { position: relative; padding-left: 28px; }
.rat-check li::before { content: "✓"; position: absolute; left: 4px; color: var(--led-on); font-weight: 700; }
.rat-cards { display: grid; gap: 14px; }
.rat-card { display: block; padding: 18px 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); text-decoration: none; color: var(--ink); }
.rat-card:hover { border-color: var(--accent); }
.rat-card strong { display: block; color: var(--accent); margin-bottom: 4px; }
.rat-card span { color: var(--muted); }
@media (min-width: 1001px) { .nav { flex-wrap: nowrap; white-space: nowrap; } }
.theme-btn, .lang { flex-shrink: 0; }
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .brand.has-menu .brand-mark { display: none; }
  .theme-btn { margin-left: auto; }
  .theme-btn + .lang { margin-left: 8px; }
}
.zka-home { display: block; line-height: 1.6; }
.zka-home strong { display: block; font-family: var(--display); font-size: 1.2rem; margin-bottom: 4px; }
.market-entry { margin-top: 24px; }
/* Datenartikel (SPS 2026 in Zahlen) */
.zfacts { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 12px; margin: 26px 0 0; }
.zfacts div { border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px; background: var(--panel); }
.zfacts dt { font-size: .85rem; color: var(--muted); }
.zfacts dd { margin: 2px 0 0; font-family: var(--display); font-weight: 700; font-size: 1.6rem; line-height: 1.2; }
.ztab-wrap { overflow-x: auto; margin: 6px 0 14px; }
.ztab td.num, .ztab th:nth-child(2), .ztab th:nth-child(3) { text-align: right; white-space: nowrap; }
.ztab .zbar-cell { width: 34%; }
.zbar { display: block; height: 8px; width: var(--w); min-width: 2px; background: var(--accent); border-radius: 4px; }
.rat-sec h3 { font-size: 1.15rem; margin: 22px 0 8px; }
.zall { margin-top: 6px; }
.zall summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.zall p { margin-top: 8px; color: var(--muted); }
@media (max-width: 560px) { .ztab .zbar-cell { display: none; } .ztab th, .ztab td { padding: 9px 10px; } }

/* Hinweisleiste Gratis-Liste (31.10.2026) */
.promo { background: var(--accent-soft); border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.promo .wrap { display: flex; align-items: center; justify-content: center; gap: 12px; padding-block: 8px; }
.promo p { margin: 0; text-align: center; }
.promo a { color: var(--accent); text-decoration: none; white-space: nowrap; }
.promo a:hover strong { text-decoration: underline; }
.promo-x { background: none; border: 0; color: var(--muted); font-size: 1.25rem; line-height: 1; cursor: pointer; padding: 2px 6px; }
.promo-x:hover { color: var(--ink); }
.promo[hidden] { display: none; }
@media (max-width: 600px) { .promo { font-size: 0.88rem; } .promo .wrap { justify-content: space-between; } .promo p { text-align: left; } .promo a { white-space: normal; } }

/* Paketkarten: Ausstellerzahl groß, Paketname klein, Preis je Aussteller (01.11.2026) */
.plan .plan-head { font-family: var(--display); font-size: 1.45rem; font-weight: 600; line-height: 1.15; margin: 0; color: var(--ink); }
.plan .plan-name { font-size: .95rem; font-weight: 600; color: var(--muted); margin: -6px 0 0; }
.plan .per { font-size: .88rem; color: var(--muted); margin: 6px 0 0; }
.plan .per:empty { display: none; }
/* Paketvergleich (aufklappbar) */
.compare .cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin-top: 12px; }
.compare table.cmp { border-collapse: collapse; width: 100%; min-width: 640px; font-size: .9rem; }
.compare .cmp th, .compare .cmp td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: center; vertical-align: middle; }
.compare .cmp th[scope=row], .compare .cmp thead th:first-child { text-align: left; font-weight: 500; }
.compare .cmp thead th { font-weight: 600; background: var(--panel); position: sticky; top: 0; }
.compare .cmp td.y { color: var(--accent); font-weight: 700; }
.compare .cmp td.n { color: var(--muted); opacity: .6; }
.compare .cmp tr.price th, .compare .cmp tr.price td { font-weight: 700; border-bottom: 0; }
.compare .cmp th[scope=row] { position: sticky; left: 0; background: var(--panel); }
.spec tr.cols-note span { font-size: .88rem; color: var(--muted); }
@media (max-width: 640px) {
  .compare table.cmp { min-width: 520px; font-size: .78rem; }
  .compare .cmp th, .compare .cmp td { padding: 6px 6px; }
  .compare .cmp th[scope=row], .compare .cmp thead th:first-child { width: 128px; min-width: 128px; max-width: 128px; white-space: normal; box-shadow: 1px 0 0 var(--line); }
}
.compare .cmp thead th:first-child { position: sticky; left: 0; z-index: 2; background: var(--panel); }

/* Kopf der Anzeigenseite (Entwurf 02.11.): zwei Wege, Vertrauenszeile, Vorschau statt Foto */
.hero-ads .wrap { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; padding-block: 40px 48px; }
.hero-ads h1 { font-size: clamp(2.1rem, 3.2vw, 3.1rem); line-height: 1.08; }
.hero-ads .lede { margin-top: 14px; }
.hero-ads .cover { margin-top: 8px; font-size: .92rem; color: var(--muted); }
.hero-ads .price-line { margin-top: 18px; }
.hero-ads .actions { margin-top: 12px; }
.hero-ads .btn-free { border-width: 2px; }
.hero-ads .trust-line { margin-top: 14px; font-size: .86rem; color: var(--muted); line-height: 1.5; }
.hero-ads .trust-line a { color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.ads-sheet .grid td.co .adr { display: block; font-size: .85em; color: var(--muted); }
.ads-sheet .grid th .ctag { display: inline-block; font-size: .68rem; font-weight: 600; border-radius: 999px; padding: 0 6px; margin-left: 2px; border: 1px solid var(--line); color: var(--muted); vertical-align: 1px; }
.ads-sheet .grid th .ctag.paid { border-color: var(--accent); color: var(--accent); }
.ads-sheet .grid td.tel { white-space: nowrap; }
.ads-sheet .grid td.co { white-space: normal; min-width: 170px; }
.ads-sheet .grid th, .ads-sheet .grid td { padding-inline: 8px; }
@media (max-width: 960px) { .hero-ads .wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 760px) {
  .hero.hero-ads .wrap { display: flex; flex-direction: column; align-items: stretch; gap: 0; text-align: left; }
  .hero.hero-ads .wrap > *, .hero-ads .hero-visual > * { margin-inline: 0; }
  .hero-ads h1 { order: 1; }
  .hero-ads h1 { font-size: 2rem; }
  .hero.hero-ads .lede { display: block; order: 2; font-size: 1rem; margin-top: 10px; }
  .hero-ads .cover { order: 3; }
  .hero-ads .status { display: none; }
  .hero.hero-ads .price-line { order: 4; margin-top: 14px; }
  .hero.hero-ads .actions { order: 5; }
  .hero.hero-ads .actions .btn-secondary { border: 2px solid var(--line); text-decoration: none; min-height: 52px; }
  .hero-ads .trust-line { order: 6; font-size: .82rem; }
  :root .hero.hero-ads .sheet, :root[data-hero] .hero.hero-ads .sheet { order: 7; width: 100%; margin: 22px 0 0; }
  .ads-sheet .grid th:nth-child(3), .ads-sheet .grid td:nth-child(3) { display: none; }
}

/* Live-Vorschau (#vorschau) */
.vs-filter { border: 1px solid var(--line); border-radius: 8px; background: var(--panel); padding: 10px 14px; }
.vs-filter > summary { cursor: pointer; font-weight: 600; }
.vs-grid { display: grid; grid-template-columns: 2fr repeat(5, minmax(0, 1fr)); gap: 10px 12px; margin-top: 10px; }
.vs-grid label { display: grid; gap: 4px; font-size: .85rem; color: var(--muted); min-width: 0; }
.vs-grid input, .vs-grid select { font: inherit; font-size: .95rem; color: var(--ink); background: var(--bg, #fff); border: 1px solid var(--line); border-radius: 6px; padding: 8px 10px; min-width: 0; width: 100%; }
.vs-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin: 18px 0 10px; }
.vs-hit { font-weight: 600; font-size: 1.1rem; margin: 0; margin-right: auto; }
.vs-free { color: var(--accent); font-weight: 600; }
.vs-table th { text-align: left; }
.vs-table td { white-space: normal; vertical-align: top; }
.vs-table tr.vs-bsp td { background: #FFF4D6; }
:root[data-theme="dark"] .vs-table tr.vs-bsp td { background: rgba(255, 210, 90, .14); }
.vs-tag { display: inline-block; font-size: .7rem; font-weight: 600; padding: 0 6px; border-radius: 999px; border: 1px solid #d9b44a; color: #7a5a00; margin-left: 4px; vertical-align: 1px; }
.vs-lock { color: var(--muted); font-size: .82rem; filter: blur(.2px); border-bottom: 1px dashed var(--line); }
.vs-sub { display: none; }
.vs-none { text-align: center; color: var(--muted); padding: 18px; }
.vs-more { font-size: .85rem; color: var(--muted); margin-top: 8px; }
@media (max-width: 1100px) { .vs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .vs-grid .vs-q { grid-column: 1 / -1; } }
@media (max-width: 760px) {
  .vs-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .vs-table .c1, .vs-table .c2, .vs-table .c4, .vs-table .c5, .vs-table .c6 { display: none; }
  .vs-sub { display: block; font-size: .82rem; color: var(--muted); margin-top: 2px; }
  .vs-bar .btn { width: 100%; }
  .vs-table tbody tr:nth-child(n+9) { display: none; }
}

/* Kopf je Phase der Messe (vor/läuft/nach/ende); Umschaltung per Skript im Kopf nach Tagesdatum */
.ph { display: none; }
html[data-phase="vor"] .ph[data-ph="vor"], html[data-phase="laeuft"] .ph[data-ph="laeuft"],
html[data-phase="nach"] .ph[data-ph="nach"], html[data-phase="ende"] .ph[data-ph="ende"] { display: contents; }

/* Produktleiter und Premium-Beispiel (Gutachten, 06.11.2026) */
.ladder { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 1180px; counter-reset: lad; }
.ladder li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.ladder .lad-tier { font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); }
.ladder strong { font-size: 1rem; line-height: 1.35; }
.ladder .lad-what { font-size: .9rem; color: var(--muted, #555); line-height: 1.45; }
@media (max-width: 860px) { .ladder { grid-template-columns: minmax(0, 1fr); } }
.prem-example { margin: 4px 0 14px; border: 1px dashed var(--line); border-radius: var(--radius); padding: 8px 12px; font-size: .9rem; }
.prem-example summary { cursor: pointer; font-weight: 600; }
.prem-example .pe-firm { margin: 8px 0 6px; }
.prem-example dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 12px; margin: 0; }
.prem-example dt { font-weight: 600; }
.prem-example dd { margin: 0; }
@media (max-width: 520px) { .prem-example dl { grid-template-columns: 1fr; } .prem-example dd { margin-bottom: 6px; } }
.znote { font-size: .9rem; color: var(--muted, #555); margin-top: 8px; }
.terms.terms-note { display: block; }
.quotes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) and (min-width: 721px) { .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Start-Angebot, Geld-zurück-Zusage, Rechnungs-Knopf (11.11.2026) */
[hidden] { display: none !important; }
.start-band { border: 2px solid var(--led-wait); background: color-mix(in srgb, var(--led-wait) 12%, var(--panel)); border-radius: var(--radius); padding: 14px 18px; margin: 0 0 18px; }
.start-band p { margin: 0; line-height: 1.5; }
.start-band .start-small { margin-top: 6px; font-size: .86rem; color: var(--muted); }
.plan .start-pill { color: #6b4e00; background: color-mix(in srgb, var(--led-wait) 22%, var(--panel)); margin-top: 6px; }
.start-note { font-size: .9rem; line-height: 1.45; border-left: 3px solid var(--led-wait); padding: 6px 10px; margin: 6px 0 0; background: color-mix(in srgb, var(--led-wait) 8%, transparent); }
.start-line { margin: 4px 0 10px; font-weight: 600; }
.start-line a { color: inherit; text-decoration: none; border-bottom: 2px solid var(--led-wait); }
.inv-line { display: grid; gap: 3px; margin: 2px 0 0; }
.inv-line .btn-inv { width: 100%; justify-content: center; }
.inv-line .inv-sub { font-size: .8rem; color: var(--muted); text-align: center; }
.mbg-line { margin: 0; font-size: .86rem; text-align: center; }
.mbg-line a { color: var(--led-on); text-decoration: none; font-weight: 600; }
.mbg-line a:hover { text-decoration: underline; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .plan .start-pill { color: #f0bd2a; } }
:root[data-theme="dark"] .plan .start-pill { color: #f0bd2a; }

/* Angebotsblock Zahlen-Seite (14.11.2026) */
.zoffer { border: 1px solid var(--line); border-left: 4px solid var(--accent); background: var(--panel); border-radius: var(--radius); padding: 16px 18px; margin: 22px 0; }
.zoffer h2 { margin: 0 0 6px; font-size: 1.25rem; }
.zoffer p { margin: 0 0 8px; }
.zoffer .actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 10px 0 6px; }
.zoffer .form-note { margin: 0; }
