/*! BESSELER – ENTSCHEIDUNGSPUNKT · Gestaltung · V2.1 RC1
 * Farben aus der Originalverpackung (render_lib.py des Spielprojekts):
 * Schwarz #0C0C0C · Gold #B8A050 · Blau #2460A0 · Grün #4A7A2A · Orange #DC7814 · Rot #C83828 */

@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/inter-regular.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/inter-semibold.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/inter-bold.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/inter-extrabold.woff2') format('woff2'); }

:root {
  --schwarz: #0c0c0c;
  --anthrazit: #151515;
  --flaeche: #1c1c1c;
  --flaeche-2: #232323;
  --linie: #333;
  --text: #f3f1ec;
  --leise: #bdbab2;
  --gold: #b8a050;
  --gold-hell: #d2bd72;
  --auf-gold: #130f00;
  --blau: #2460a0;
  --gruen: #4a7a2a;
  --orange: #dc7814;
  --rot: #c83828;
  --gut: #7fb069;
  --warn: #e0896c;
  --radius: 10px;
  --max: 1180px;
  --abstand: clamp(64px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--schwarz); color: var(--text); font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: 1.0625rem; line-height: 1.65; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hell); text-underline-offset: 3px; }
a:hover { color: #fff; }
:focus-visible { outline: 3px solid var(--gold-hell); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 700; }
h4 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.sprung { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--gold); color: var(--auf-gold); padding: 10px 16px; border-radius: 6px; font-weight: 700; }
.sprung:focus { left: 12px; }
.huelle { width: min(100% - 40px, var(--max)); margin-inline: auto; }
.schmal { max-width: 760px; }
.klein { font-size: .9rem; color: var(--leise); }
.leise { color: var(--leise); }
.gold { color: var(--gold); }
.zentriert { text-align: center; }
.augenbraue { text-transform: uppercase; letter-spacing: .22em; font-size: .78rem; font-weight: 700; color: var(--gold); margin-bottom: 1rem; }
.goldlinie { width: 64px; height: 2px; background: var(--gold); border: 0; margin: 1.4rem 0; }
.zentriert .goldlinie { margin-inline: auto; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(12,12,12,.92); backdrop-filter: blur(8px); border-bottom: 1px solid #222; }
.kopf .huelle { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.marke { display: inline-flex; flex-direction: column; gap: 5px; text-decoration: none; color: var(--text); line-height: 1; }
.wortmarke { font-weight: 700; letter-spacing: .42em; font-size: .9rem; padding-bottom: 5px; border-bottom: 2px solid var(--gold); align-self: flex-start; }
.marke-name { font-weight: 800; letter-spacing: .08em; font-size: .72rem; color: var(--gold-hell); }
.marke:hover .wortmarke { color: #fff; }
.menue-knopf { display: none; background: none; border: 1px solid var(--linie); color: var(--text); border-radius: 8px; padding: 8px 12px; font: inherit; font-size: .95rem; cursor: pointer; }
.hauptmenue ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; align-items: center; }
.hauptmenue a { color: var(--text); text-decoration: none; padding: 8px 12px; border-radius: 6px; font-size: .95rem; font-weight: 600; }
.hauptmenue a:hover, .hauptmenue a[aria-current="page"] { color: var(--gold-hell); }
.hauptmenue .nav-cta { border: 1px solid var(--gold); color: var(--gold-hell); margin-left: 8px; }
.hauptmenue .nav-cta:hover { background: var(--gold); color: var(--auf-gold); }
@media (max-width: 920px) {
  .menue-knopf { display: inline-block; }
  .hauptmenue { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--schwarz); border-bottom: 1px solid #222; padding: 8px 20px 20px; }
  .hauptmenue.offen { display: block; }
  .hauptmenue ul { flex-direction: column; align-items: stretch; }
  .hauptmenue a { display: block; padding: 12px 8px; font-size: 1.05rem; }
  .hauptmenue .nav-cta { margin: 8px 0 0; text-align: center; }
}

/* ---------- Brotkrumen ---------- */
.brotkrumen { font-size: .88rem; color: var(--leise); padding-top: 24px; }
.brotkrumen ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.brotkrumen li + li::before { content: '›'; margin-right: 6px; color: var(--gold); }
.brotkrumen a { color: var(--leise); }

/* ---------- Knöpfe ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 26px; border-radius: 8px; font: inherit; font-weight: 700; font-size: 1.02rem; text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background .2s, color .2s, transform .15s, border-color .2s; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--auf-gold); }
.btn-gold:hover { background: var(--gold-hell); color: var(--auf-gold); }
.btn-umriss { background: transparent; color: var(--text); border-color: #5a5a5a; }
.btn-umriss:hover { border-color: var(--gold); color: #fff; }
.btn[disabled], .btn[disabled]:hover { opacity: .45; cursor: not-allowed; transform: none; background: #555; color: #ddd; border-color: transparent; }
.btn-umriss[disabled] { background: transparent; }
.aktionen { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }

/* ---------- Bereiche ---------- */
.bereich { padding: var(--abstand) 0; }
.bereich.dunkel { background: var(--anthrazit); }
.bereich.trenner { border-top: 1px solid #1f1f1f; }
.einleitung { max-width: 720px; margin-bottom: 2.6rem; }
.einleitung p { color: var(--leise); font-size: 1.1rem; }

/* ---------- Held ---------- */
.held { position: relative; overflow: hidden; padding: clamp(48px, 8vw, 110px) 0 clamp(56px, 8vw, 100px); background:
  radial-gradient(1100px 600px at 78% 40%, rgba(184,160,80,.10), transparent 60%),
  radial-gradient(800px 500px at 10% 100%, rgba(36,96,160,.08), transparent 60%), var(--schwarz); }
.held .huelle { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.held h1 { font-size: clamp(2.2rem, 5.6vw, 4.2rem); margin-bottom: .5em; }
.held-text p { font-size: clamp(1.08rem, 1.6vw, 1.25rem); color: var(--leise); max-width: 34em; }
.held-text .frage { color: var(--text); font-weight: 700; font-size: clamp(1.2rem, 2vw, 1.45rem); margin-top: 1.4em; }
.produktname { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid #2a2a2a; }
.produktname .name { font-weight: 800; letter-spacing: .04em; font-size: clamp(1.4rem, 2.6vw, 2rem); color: #fff; margin: 0 0 .3em; }
.produktname .claim { color: var(--gold); font-size: clamp(1rem, 1.6vw, 1.2rem); margin-bottom: .6em; }
.produktname .unter { color: var(--text); font-size: 1.05rem; max-width: 34em; }
.held-bild { position: relative; perspective: 1400px; }
.schachtel { position: relative; transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg); transform-style: preserve-3d; transition: transform .6s ease; filter: drop-shadow(0 40px 50px rgba(0,0,0,.65)) drop-shadow(0 0 1px rgba(255,255,255,.25)); }
.held-bild:hover .schachtel { transform: rotateY(-6deg) rotateX(3deg) rotateZ(0deg); }
.schachtel img { border-radius: 4px; border: 1px solid #2c2c2c; }
.schachtel-legende { margin-top: 18px; text-align: center; font-size: .82rem; color: var(--leise); }
@media (max-width: 900px) {
  .held .huelle { grid-template-columns: 1fr; }
  .held-bild { max-width: 360px; margin: 8px auto 0; order: 2; }
}

/* ---------- Faktenleiste ---------- */
.fakten { border-top: 1px solid #222; border-bottom: 1px solid #222; background: var(--anthrazit); }
.fakten ul { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.fakten li { text-align: center; font-weight: 700; font-size: .98rem; padding: 6px 4px; }
.fakten li span { display: block; font-weight: 400; color: var(--leise); font-size: .85rem; }
@media (max-width: 900px) { .fakten ul { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .fakten ul { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Kacheln ---------- */
.raster { display: grid; gap: 20px; }
.raster-2 { grid-template-columns: repeat(2, 1fr); }
.raster-3 { grid-template-columns: repeat(3, 1fr); }
.raster-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .raster-4 { grid-template-columns: repeat(2, 1fr); } .raster-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .raster-2, .raster-3, .raster-4 { grid-template-columns: 1fr; } }
.kachel { background: var(--flaeche); border: 1px solid #2a2a2a; border-radius: var(--radius); padding: 26px; }
.kachel h3 { margin-bottom: .45em; }
.kachel p:last-child { margin-bottom: 0; }
.kachel .nr { font-weight: 800; color: var(--gold); font-size: .9rem; letter-spacing: .1em; display: block; margin-bottom: .6em; }
a.kachel { display: block; text-decoration: none; color: var(--text); transition: border-color .2s, transform .2s; }
a.kachel:hover { border-color: var(--gold); transform: translateY(-2px); }
a.kachel .mehr { color: var(--gold-hell); font-weight: 600; font-size: .95rem; }
.alltag { counter-reset: alltag; }
.alltag .kachel { border-left: 3px solid var(--gold); }

/* Phasenkarten */
.phase { position: relative; border-radius: var(--radius); padding: 26px 22px 24px; background: var(--flaeche); border: 1px solid #2a2a2a; border-top: 6px solid var(--blau); }
.phase .ph-nr { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 6px; font-weight: 800; font-size: 1.25rem; color: #fff; background: var(--blau); margin-bottom: 14px; }
.phase h3 { text-transform: uppercase; letter-spacing: .06em; font-size: 1.1rem; }
.phase p { color: var(--leise); margin: 0; font-size: .98rem; }
.phase.p2 { border-top-color: var(--gruen); } .phase.p2 .ph-nr { background: var(--gruen); }
.phase.p3 { border-top-color: var(--orange); } .phase.p3 .ph-nr { background: var(--orange); color: var(--auf-gold); }
.phase.p4 { border-top-color: var(--rot); } .phase.p4 .ph-nr { background: var(--rot); }

/* Spielfeld (Deckel) */
.spielfeld { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.spielfeld figure { margin: 0; }
.spielfeld figcaption { font-size: .85rem; color: var(--leise); margin-top: 10px; }
.ecken { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.ecken li { display: flex; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid #262626; }
.ecken b { min-width: 9.5em; }
.punkt { width: 12px; height: 12px; border-radius: 3px; display: inline-block; flex: none; transform: translateY(1px); }
.punkt.p1 { background: var(--blau); } .punkt.p2 { background: var(--gruen); } .punkt.p3 { background: var(--orange); } .punkt.p4 { background: var(--rot); } .punkt.p5 { background: #000; border: 1px solid var(--gold); }
@media (max-width: 860px) { .spielfeld { grid-template-columns: 1fr; } .spielfeld figure { max-width: 420px; } }

/* Innenabstand */
.bereich-innen { margin-top: clamp(48px, 7vw, 88px); }

/* Prinzipien */
.prinzip { border-left: 3px solid var(--gold); padding: 4px 0 4px 20px; margin-bottom: 26px; }
.prinzip h3 { font-size: 1.2rem; margin-bottom: .35em; }
.prinzip p { color: var(--leise); margin: 0; }

/* Lieferumfang */
.liste-haken { list-style: none; padding: 0; margin: 0; }
.liste-haken li { padding: 10px 0 10px 30px; border-bottom: 1px solid #262626; position: relative; }
.liste-haken li::before { content: ''; position: absolute; left: 4px; top: 18px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }

/* Zielgruppen */
.gruppe h3 { display: flex; align-items: center; gap: 10px; }
.gruppe ul { margin: .6em 0 0; color: var(--leise); }

/* Autor */
.autor { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.autor figure { margin: 0 0 18px; }
.autor figcaption { font-size: .85rem; color: var(--leise); margin-top: 8px; }
.autor .bilder { display: grid; grid-template-columns: 1fr; gap: 18px; }
@media (max-width: 860px) { .autor { grid-template-columns: 1fr; } .autor .bilder { grid-template-columns: 1fr 1fr; } }
.zitat { font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 700; color: #fff; border-left: 3px solid var(--gold); padding-left: 20px; margin: 1.6rem 0; }

/* Preis */
.preise { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 1.2rem; }
.preis { background: var(--flaeche); border: 1px solid #2a2a2a; border-radius: var(--radius); padding: 22px; text-align: center; }
.preis .menge { color: var(--leise); font-weight: 600; margin-bottom: .2em; }
.preis .betrag { font-size: clamp(1.8rem, 3.4vw, 2.4rem); font-weight: 800; color: #fff; margin: 0; }
.preis .zusatz { color: var(--gold); font-size: .92rem; margin: .3em 0 0; }
.preis.hervor { border-color: var(--gold); }
@media (max-width: 980px) { .preise { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .preise { grid-template-columns: 1fr; } }

/* Formular */
.anfrage { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); }
@media (max-width: 900px) { .anfrage { grid-template-columns: 1fr; } }
form .feld { margin-bottom: 18px; }
form label, form legend { display: block; font-weight: 600; margin-bottom: 6px; }
form input[type="text"], form input[type="email"], form input[type="number"], form select, form textarea {
  width: 100%; font: inherit; color: var(--text); background: #111; border: 1px solid #4a4a4a; border-radius: 8px; padding: 12px 14px; min-height: 50px; }
form textarea { min-height: 120px; resize: vertical; }
form input:focus, form select:focus, form textarea:focus { border-color: var(--gold); outline: 2px solid var(--gold); outline-offset: 0; }
form [aria-invalid="true"] { border-color: var(--warn); }
form .zweispaltig { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { form .zweispaltig { grid-template-columns: 1fr; } }
form fieldset { border: 0; padding: 0; margin: 0 0 18px; }
.wahl { display: flex; flex-wrap: wrap; gap: 10px; }
.wahl label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; border: 1px solid #4a4a4a; border-radius: 8px; padding: 10px 14px; cursor: pointer; margin: 0; }
.wahl input { accent-color: var(--gold); width: 18px; height: 18px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { accent-color: var(--gold); width: 20px; height: 20px; margin-top: 3px; flex: none; }
.feldfehler { color: var(--warn); font-size: .9rem; margin-top: 4px; min-height: 0; }
.feldfehler:empty { display: none; }
.honig { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.rechner { background: #111; border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px 20px; margin: 6px 0 18px; }
.rechner dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; margin: 0; }
.rechner dt { color: var(--leise); }
.rechner dd { margin: 0; font-weight: 700; text-align: right; }
.rechner .summe { font-size: 1.3rem; color: #fff; }
.rechner p { margin: 10px 0 0; font-size: .9rem; color: var(--gold); }
.status { border-radius: var(--radius); padding: 18px 20px; margin-top: 18px; font-weight: 600; }
.status.ok { background: rgba(127,176,105,.12); border: 1px solid var(--gut); }
.status.fehler { background: rgba(224,137,108,.12); border: 1px solid var(--warn); }
.hinweisbox { border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px 20px; background: var(--flaeche); }

/* FAQ */
.faq details { border-bottom: 1px solid #2a2a2a; padding: 6px 0; }
.faq summary { cursor: pointer; font-weight: 700; padding: 14px 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(--gold); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: '–'; }
.faq details p { color: var(--leise); }

/* Artikel */
.artikel { padding: 32px 0 var(--abstand); }
.artikel header { margin-bottom: 2rem; }
.artikel h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.artikel .vorspann { font-size: 1.2rem; color: var(--text); }
.artikel .meta { color: var(--leise); font-size: .92rem; }
.artikel h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin-top: 2.2em; }
.artikel p, .artikel li { color: #dedbd3; }
.artikel blockquote { margin: 1.6rem 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold); font-weight: 600; color: #fff; }
.merke { background: var(--flaeche); border: 1px solid #2a2a2a; border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 20px 22px; margin: 2rem 0; }
.merke p:last-child { margin-bottom: 0; }
.weiter { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #262626; }
.definition { background: var(--flaeche); border-radius: var(--radius); padding: 22px; border: 1px solid #2a2a2a; }

/* Rechtstexte */
.recht h2 { font-size: 1.45rem; margin-top: 2em; }
.recht h3 { font-size: 1.15rem; margin-top: 1.6em; }
.recht p, .recht li { color: #dedbd3; }
.entwurf { border: 1px dashed var(--orange); padding: 14px 18px; border-radius: 8px; color: #f0c08a; margin-bottom: 2rem; }

/* Fuß */
.fuss { background: #080808; border-top: 1px solid #222; padding: 56px 0 32px; font-size: .95rem; }
.fuss .spalten { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr 1.2fr; gap: 28px; }
@media (max-width: 1100px) { .fuss .spalten { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 860px) { .fuss .spalten { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .fuss .spalten { grid-template-columns: 1fr; } }
.fuss h2 { font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { margin-bottom: 8px; }
.fuss a { color: var(--leise); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss .unten { border-top: 1px solid #1d1d1d; margin-top: 36px; padding-top: 20px; color: #8f8c85; font-size: .85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }

/* ======================================================
   WEB-DEMO · bewusst anders gestaltet als die Originalkarten:
   abgerundet, gestrichelte Rahmen, Kennzeichnung „Web-Demo“
   ====================================================== */
.demo-rahmen { max-width: 920px; margin-inline: auto; }
.demo { background: linear-gradient(180deg, #171717, #121212); border: 1px dashed #4b4b4b; border-radius: 22px; padding: clamp(20px, 4vw, 40px); min-height: 320px; position: relative; }
.demo-marke { display: inline-block; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold); border: 1px dashed var(--gold); border-radius: 999px; padding: 4px 12px; margin-bottom: 14px; }
.demo-titel { font-size: clamp(1.35rem, 2.6vw, 1.8rem); margin-bottom: .2em; }
.demo-thema { color: var(--leise); font-size: .95rem; margin-bottom: 18px; }
.demo-start p { color: var(--leise); max-width: 40em; }
.demo-schritte { list-style: none; padding: 0; margin: 0 0 16px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.schritt { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 999px; background: #1e1e1e; color: #8d8a83; font-size: .85rem; font-weight: 600; border: 1px solid #2c2c2c; }
.schritt-nr { width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #333; color: #ddd; font-weight: 800; font-size: .8rem; flex: none; }
.schritt.aktiv { color: #fff; border-color: currentColor; }
.schritt.p1.aktiv .schritt-nr, .schritt.p1.erledigt .schritt-nr { background: var(--blau); color: #fff; }
.schritt.p2.aktiv .schritt-nr, .schritt.p2.erledigt .schritt-nr { background: var(--gruen); color: #fff; }
.schritt.p3.aktiv .schritt-nr, .schritt.p3.erledigt .schritt-nr { background: var(--orange); color: var(--auf-gold); }
.schritt.p4.aktiv .schritt-nr, .schritt.p4.erledigt .schritt-nr { background: var(--rot); color: #fff; }
.schritt.erledigt { color: #c9c6bf; }
@media (max-width: 560px) { .schritt-name { display: none; } .schritt { justify-content: center; } }
.ressourcen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.res { background: #101010; border: 1px solid #2c2c2c; border-radius: 14px; padding: 10px 12px; transition: border-color .3s, background .3s; }
.res-kopf { display: flex; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; }
.res-name { flex: 1; }
.res-wert { font-weight: 800; font-size: 1.05rem; }
.res-punkte { display: flex; gap: 4px; margin-top: 8px; }
.pkt { flex: 1; height: 6px; border-radius: 3px; background: #2e2e2e; transition: background .3s; }
.pkt.an { background: var(--gold); }
.res.hoch { border-color: var(--gut); background: rgba(127,176,105,.10); }
.res.runter { border-color: var(--warn); background: rgba(224,137,108,.10); }
@media (max-width: 560px) { .ressourcen { grid-template-columns: repeat(2, 1fr); } }
.ico { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.panel { border-radius: 16px; padding: clamp(18px, 3vw, 28px); background: #191919; border: 1px solid #2c2c2c; border-left: 5px solid var(--gold); animation: auf .35s ease; }
@keyframes auf { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel.p1 { border-left-color: var(--blau); } .panel.p2 { border-left-color: var(--gruen); } .panel.p3 { border-left-color: var(--orange); } .panel.p4 { border-left-color: var(--rot); }
.panel-phase { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--leise); margin-bottom: 6px; }
.panel-titel { font-size: clamp(1.2rem, 2.2vw, 1.45rem); outline: none; }
.lage { font-size: 1.1rem; color: #fff; }
.zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
@media (max-width: 640px) { .zwei { grid-template-columns: 1fr; } }
.kasten { background: #121212; border: 1px solid #2c2c2c; border-radius: 12px; padding: 14px 16px; margin: 0 0 14px; }
.kasten ul { margin: 0; padding-left: 1.1em; color: var(--leise); }
.kasten p { margin: 0 0 .5em; }
.kasten-titel { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.hinweis { color: var(--leise); font-size: .95rem; font-style: italic; }
.info-karte { background: #121212; border: 1px dashed #4a4a4a; border-radius: 14px; padding: 16px; display: flex; flex-direction: column; }
.info-karte.offen { border-style: solid; border-color: var(--gruen); }
.info-kennung { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #9cc77d; margin: 0 0 4px; }
.info-titel { font-weight: 700; margin: 0 0 12px; }
.info-inhalt .btn { width: 100%; min-height: 46px; font-size: .95rem; padding: 10px 14px; }
.info-text { color: #fff; outline: none; }
.optionen, .sicherheit { border: 0; padding: 0; margin: 16px 0; }
.optionen legend, .sicherheit legend { font-weight: 700; margin-bottom: 10px; }
.option { display: flex; gap: 12px; align-items: flex-start; border: 1px solid #3a3a3a; border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; transition: border-color .2s, background .2s; }
.option:hover { border-color: #777; }
.option:has(input:checked) { border-color: var(--orange); background: rgba(220,120,20,.08); }
.option input, .chip input { accent-color: var(--orange); width: 20px; height: 20px; margin-top: 2px; flex: none; }
.option-text { display: flex; flex-direction: column; gap: 4px; }
.kennung { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; }
.k-risiko { color: #f09a8c; } .k-sicherung { color: #8fb8e6; } .k-rueckzug { color: #c9c6bf; }
.sicherheit { display: flex; flex-wrap: wrap; gap: 10px; }
.sicherheit legend { width: 100%; }
.chip { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #3a3a3a; border-radius: 999px; padding: 8px 16px; cursor: pointer; }
.chip:has(input:checked) { border-color: var(--orange); background: rgba(220,120,20,.1); }
.gewaehlt { font-weight: 600; }
.ereignis { background: #121212; border: 1px solid #5a2a22; border-radius: 14px; padding: 16px 18px; margin: 0 0 18px; animation: auf .5s ease .15s both; }
.ereignis-kennung { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: #f09a8c; margin: 0 0 4px; }
.ereignis-titel { font-weight: 800; font-size: 1.1rem; margin: 0 0 6px; }
.delta { list-style: none; padding: 0; margin: 10px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.delta li { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: .88rem; font-weight: 700; }
.delta .plus { background: rgba(127,176,105,.16); color: #b8dba6; }
.delta .minus { background: rgba(224,137,108,.16); color: #f3b8a4; }
.delta .neutral { background: #222; color: var(--leise); font-weight: 400; }
.bewertung .urteil { border-radius: 14px; padding: 16px 18px; border: 1px solid #333; background: #121212; }
.urteil.gut { border-color: rgba(127,176,105,.6); }
.urteil.schwach { border-color: rgba(224,137,108,.6); }
.urteil-wert { font-size: 1.35rem; font-weight: 800; margin: 2px 0 6px; }
.kernsatz { font-size: 1.12rem; font-weight: 600; color: #fff; border-left: 3px solid var(--gold); padding-left: 16px; margin: 8px 0 16px; }
.einsichten { color: var(--leise); }
.einsichten li { margin-bottom: 6px; }
.reflexion { border-color: #4a4430; }
.uebergang { margin-top: 26px; border-top: 1px solid #333; padding-top: 24px; }
.uebergang-titel { font-size: clamp(1.25rem, 2.4vw, 1.6rem); font-weight: 800; color: #fff; }
.uebergang .claim { color: var(--gold); font-weight: 600; }
.uebergang .produkt { font-weight: 800; letter-spacing: .05em; margin-top: 1.2em; margin-bottom: .2em; }
.uebergang .preiszeile strong { color: #fff; }
.h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 700; }
.byline { font-size: .9rem; color: var(--leise); border-top: 1px solid #262626; border-bottom: 1px solid #262626; padding: 10px 0; margin: 1.4rem 0 2rem; }

/* V2.3 · Hinweisleiste der geschützten Testumgebung (nur im Testbau vorhanden) */
.testbanner { background: #b8a050; color: #0c0c0c; text-align: center; font-size: .875rem; padding: .5rem 1rem; }

/* V2.4 · Trailer */
.video { margin: 1.5rem 0 0; }
.video video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #0c0c0c; border-radius: 6px; }
.video figcaption { margin-top: .6rem; font-size: .875rem; color: var(--leise, #a8a59c); }
/* 29.11.2026: lange deutsche Wörter in Überschriften auf schmalen Bildschirmen trennen (kein horizontales Scrollen) */
h1,h2,h3{overflow-wrap:break-word}
.augenbraue{overflow-wrap:anywhere}
h1{overflow-wrap:anywhere}
h2,h3{overflow-wrap:anywhere}

/* PEILAN Produkt- und Kaufberater (30.11.2026) – regelbasiert, ohne KI */
.peilan-kopf { display: flex; gap: 1rem; align-items: center; }
.peilan-kopf img { width: 64px; height: 64px; border-radius: 50%; flex: none; }
.peilan-kopf h2 { margin: 0; }
.peilan-einstieg { font-size: 1.15rem; margin: 1rem 0 .3rem; }
.peilan-box { margin-top: 1.4rem; border: 1px solid rgba(184,160,80,.45); border-radius: 12px; padding: 1.2rem; background: rgba(255,255,255,.03); }
.peilan-liste, .peilan-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.peilan-wahl { width: 100%; text-align: left; font: inherit; color: inherit; background: transparent; border: 1px solid rgba(184,160,80,.5); border-radius: 8px; padding: .75rem 1rem; cursor: pointer; min-height: 44px; }
.peilan-wahl:hover, .peilan-wahl:focus-visible { border-color: var(--gold-hell); background: rgba(184,160,80,.12); }
.peilan-hervor { border-color: var(--gold); background: rgba(184,160,80,.16); font-weight: 700; }
.peilan-frage { display: grid; gap: .5rem; }
.peilan-h { margin: 0 0 .6rem; font-size: 1.2rem; }
.peilan-text { margin: 0 0 .9rem; }
.peilan-tipp { border-left: 3px solid var(--gold); padding-left: .8rem; }
.peilan-klein { font-size: .86rem; opacity: .85; margin: .6rem 0; }
.peilan-navi { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1rem; }
.peilan-neben { font: inherit; font-size: .9rem; background: none; border: 0; color: var(--gold-hell); text-decoration: underline; cursor: pointer; padding: .4rem 0; min-height: 44px; }
.peilan-zahl { display: grid; gap: .6rem; max-width: 22rem; }
.peilan-zahl input { font: inherit; padding: .6rem .8rem; border-radius: 6px; border: 1px solid rgba(184,160,80,.6); min-height: 44px; }
.peilan-fehler { color: #f0a0a0; margin: 0; min-height: 1em; }
.peilan-preis { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; margin: 0 0 .6rem; }
.peilan-preis dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.peilan-preis .summe, .peilan-preis dt:last-of-type { font-weight: 700; color: var(--gold-hell); border-top: 1px solid rgba(184,160,80,.4); padding-top: .35rem; }
.peilan-aktionen { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .8rem; }
.rechner dl dd.summe, #preis-ende { font-weight: 700; }
@media (max-width: 480px) { .peilan-preis { grid-template-columns: 1fr; } .peilan-preis dd { text-align: left; margin-bottom: .3rem; } .peilan-aktionen .btn { width: 100%; text-align: center; } }
@media (max-width: 600px) { .peilan-kopf { flex-direction: column; align-items: flex-start; gap: .6rem; } .peilan-kopf h2 { font-size: 1.45rem; line-height: 1.25; } }

/* PEILAN als Spielleiter der Web-Demo (30.11.2026) */
.demo-rahmen.mit-spielleiter { display: grid; grid-template-columns: minmax(0, 290px) minmax(0, 1fr); gap: 22px; align-items: start; }
.spielleiter { position: sticky; top: 84px; background: #141414; border: 1px solid rgba(184,160,80,.55); border-radius: 14px; padding: 16px; }
.sl-kopf { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; }
.sl-kopf img { width: 72px; height: 72px; border-radius: 50%; flex: none; background: #0c0c0c; }
.sl-titel { margin: 0; font-weight: 700; letter-spacing: .18em; color: var(--gold-hell); }
.sl-rolle { margin: 0; font-size: .88rem; color: var(--leise, #bbb); }
.sl-blase { position: relative; background: #f4efe2; color: #16130b; border-radius: 12px; padding: 12px 14px; font-size: .97rem; line-height: 1.5; }
.sl-blase::before { content: ""; position: absolute; top: -8px; left: 28px; border: 8px solid transparent; border-top: 0; border-bottom-color: #f4efe2; }
.sl-blase p { margin: 0 0 .55em; }
.sl-blase p:last-child { margin-bottom: 0; }
.sl-ueber { font-weight: 700; }
.sl-blase.neu { animation: sl-ein .35s ease-out; }
@keyframes sl-ein { from { opacity: .2; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .sl-blase.neu { animation: none; } }
.sl-spur { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 12px 0 0; padding: 0; font-size: .72rem; text-align: center; color: #888; }
.sl-spur li { border-top: 3px solid #333; padding-top: 4px; }
.sl-spur li.aktiv { border-color: var(--gold); color: var(--gold-hell); font-weight: 700; }
.sl-spur li.erledigt { border-color: rgba(184,160,80,.5); color: #bbb; }
.sl-aktionen { display: grid; gap: 8px; margin-top: 12px; }
.sl-aktionen:empty { display: none; }
.sl-aktionen .btn { width: 100%; min-height: 46px; padding: 10px 14px; font-size: .95rem; }
@media (max-width: 860px) {
  .demo-rahmen.mit-spielleiter { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .spielleiter { position: static; padding: 12px; }
  .sl-kopf { margin-bottom: 8px; }
  .sl-kopf img { width: 52px; height: 52px; }
  .sl-blase { font-size: .93rem; }
}
.demo-rahmen.mit-spielleiter { max-width: 1180px; }
@media (max-width: 860px) {
  .spielleiter { position: sticky; top: 62px; z-index: 6; padding: 8px 10px; box-shadow: 0 8px 18px rgba(0,0,0,.45); }
  .sl-kopf { gap: 8px; margin-bottom: 6px; }
  .sl-kopf img { width: 36px; height: 36px; }
  .sl-titel { font-size: .85rem; } .sl-rolle { font-size: .75rem; }
  .sl-blase { max-height: 30vh; overflow-y: auto; padding: 9px 11px; font-size: .9rem; }
  .sl-blase::before { display: none; }
  .sl-spur { display: none; }
  .sl-aktionen { grid-template-columns: 1fr 1fr; }
}

/* PEILAN-Begleiter: beim Seitenaufruf sichtbar, fest angedockt, kein Pop-up (30.11.2026) */
.begleiter { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 320px; background: #141414; border: 1px solid var(--gold); border-radius: 14px; padding: 12px 14px; box-shadow: 0 14px 36px rgba(0,0,0,.55); transition: opacity .25s, transform .25s; }
.begleiter.pause { opacity: 0; transform: translateY(16px); pointer-events: none; }
.bg-kopf { display: flex; align-items: center; gap: 10px; }
.bg-kopf img { width: 56px; height: 56px; border-radius: 50%; flex: none; background: #0c0c0c; }
.bg-name { flex: 1; min-width: 0; }
.bg-titel { margin: 0; font-weight: 700; letter-spacing: .18em; color: var(--gold-hell); }
.bg-rolle { margin: 0; font-size: .8rem; color: #bbb; }
.bg-klein { flex: none; width: 40px; height: 40px; border-radius: 8px; border: 1px solid #444; background: transparent; color: #ddd; font-size: 1.2rem; cursor: pointer; }
.bg-text { margin: 10px 0 0; background: #f4efe2; color: #16130b; border-radius: 10px; padding: 10px 12px; font-size: .95rem; line-height: 1.45; }
.bg-aktionen { display: grid; gap: 6px; margin-top: 10px; }
.bg-aktionen .btn { width: 100%; min-height: 44px; padding: 8px 12px; font-size: .92rem; }
.begleiter.zu .bg-text, .begleiter.zu .bg-aktionen { display: none; }
.begleiter.zu { width: auto; }
.begleiter.zu .bg-rolle { display: none; }
@media (prefers-reduced-motion: reduce) { .begleiter { transition: none; } }
@media (max-width: 700px) {
  .begleiter { left: 8px; right: 8px; bottom: 8px; width: auto; padding: 8px 10px; }
  .bg-kopf img { width: 40px; height: 40px; }
  .bg-rolle { font-size: .72rem; }
  .bg-text { margin-top: 6px; padding: 7px 10px; font-size: .86rem; }
  .bg-aktionen { grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 6px; }
  .bg-aktionen .btn:first-child { grid-column: 1 / -1; }
  .bg-aktionen .btn { min-height: 42px; font-size: .85rem; }
  body.mit-begleiter { padding-bottom: 230px; }
}
@media (max-width: 700px) {
  .bg-rolle { display: none; }
  .bg-kopf img { width: 34px; height: 34px; }
  .bg-klein { width: 36px; height: 36px; }
  .bg-aktionen { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .bg-aktionen .btn:first-child { grid-column: auto; }
  .bg-aktionen .btn { min-height: 44px; padding: 6px 6px; font-size: .78rem; line-height: 1.2; }
  body.mit-begleiter { padding-bottom: 200px; }
}

/* PEILAN – zentraler digitaler Mitarbeiter, dauerhaft unten rechts (30.11.2026) */
.pa { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; pointer-events: none; }
.pa > * { pointer-events: auto; }
.pa-starter { position: relative; width: 72px; height: 72px; border-radius: 50%; border: 2px solid var(--gold); background: #0c0c0c; padding: 3px; cursor: pointer; box-shadow: 0 10px 28px rgba(0,0,0,.55); }
.pa-starter img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.pa-punkt { position: absolute; top: 2px; right: 2px; width: 14px; height: 14px; border-radius: 50%; background: #e2502a; border: 2px solid #0c0c0c; display: none; }
.pa-punkt.an { display: block; }
.pa-teaser { position: relative; max-width: 300px; background: #f4efe2; color: #16130b; border-radius: 14px 14px 4px 14px; padding: 10px 34px 10px 14px; font-size: .93rem; line-height: 1.4; box-shadow: 0 10px 28px rgba(0,0,0,.45); }
.pa-teaser[hidden] { display: none; }
.pa-teaser p { margin: 0; cursor: pointer; }
.pa-teaser-zu { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border: 0; background: transparent; font-size: 1.1rem; cursor: pointer; color: #16130b; }
.pa-fenster { width: 380px; max-height: min(640px, calc(100vh - 130px)); display: flex; flex-direction: column; background: #121212; border: 1px solid var(--gold); border-radius: 16px; box-shadow: 0 18px 48px rgba(0,0,0,.6); overflow: hidden; }
.pa-fenster[hidden] { display: none; }
.pa-kopf { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #0c0c0c; border-bottom: 1px solid #2a2a2a; }
.pa-kopf img { width: 48px; height: 48px; border-radius: 50%; flex: none; }
.pa-name { flex: 1; min-width: 0; }
.pa-name h2 { margin: 0; font-size: 1rem; letter-spacing: .2em; color: var(--gold-hell); }
.pa-rolle { margin: 0; font-size: .8rem; color: #bbb; }
.pa-zu { width: 40px; height: 40px; border-radius: 8px; border: 1px solid #444; background: transparent; color: #ddd; font-size: 1.3rem; cursor: pointer; }
.pa-verlauf { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.pa-msg { max-width: 92%; border-radius: 12px; padding: 9px 12px; font-size: .93rem; line-height: 1.45; }
.pa-msg p { margin: 0 0 .5em; } .pa-msg p:last-child { margin-bottom: 0; }
.pa-p { align-self: flex-start; background: #f4efe2; color: #16130b; border-bottom-left-radius: 4px; }
.pa-art-leiter { border-left: 4px solid var(--gold); }
.pa-art-leiter strong { display: block; margin-bottom: 4px; }
.pa-ich { align-self: flex-end; background: #2b2615; color: #f3e9c8; border-bottom-right-radius: 4px; }
.pa-link { color: #7a5c00; font-weight: 700; }
.pa-preis { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; margin: 6px 0; font-size: .9rem; }
.pa-preis dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.pa-preis .pa-summe { font-weight: 700; border-top: 1px solid rgba(0,0,0,.25); padding-top: 3px; }
.pa-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 12px; border-top: 1px solid #2a2a2a; max-height: 150px; overflow-y: auto; }
.pa-chip { font: inherit; font-size: .84rem; line-height: 1.2; color: #eee; background: transparent; border: 1px solid rgba(184,160,80,.6); border-radius: 999px; padding: 8px 12px; cursor: pointer; text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; }
.pa-chip:hover, .pa-chip:focus-visible { background: rgba(184,160,80,.15); }
.pa-chip.pa-haupt { background: var(--gold); color: #16130b; border-color: var(--gold); font-weight: 700; }
.pa-eingabe { display: flex; gap: 6px; padding: 8px 12px; border-top: 1px solid #2a2a2a; }
.pa-eingabe input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 8px 10px; border-radius: 8px; border: 1px solid #444; background: #1b1b1b; color: #eee; min-height: 42px; }
.pa-senden { font: inherit; font-weight: 700; border: 0; border-radius: 8px; background: var(--gold); color: #16130b; padding: 0 14px; cursor: pointer; min-height: 42px; }
.pa-fuss { margin: 0; padding: 0 12px 8px; font-size: .72rem; color: #888; }
/* 30.11.2026 Abschlussprüfung: Platz für PEILAN ab dem ersten Zeichnen reservieren (Lighthouse CLS 0,167 → 0) */
@media (min-width: 1240px) { body:not(.pa-eingeklappt) { padding-right: 410px; } body:not(.pa-eingeklappt) .kopf { padding-right: 0; } body:not(.pa-eingeklappt) h1 { font-size: clamp(2.2rem, 3.5vw, 3.4rem); } }
@media (max-width: 700px) {
  .pa { right: 10px; bottom: 10px; left: 10px; align-items: flex-end; }
  .pa-starter { width: 60px; height: 60px; }
  .pa-teaser { max-width: calc(100vw - 90px); font-size: .86rem; }
  .pa-fenster { width: 100%; max-height: calc(100vh - 100px); }
  .pa-verlauf { min-height: 0; }
  body.mit-pa { padding-bottom: 90px; }
}


/* 30.11.2026: auf Smartphones tritt PEILAN zurück, solange ein Absende-Button im Bild ist */
.pa.pa-ausweichen .pa-starter, .pa.pa-ausweichen .pa-teaser { opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s, transform .2s; }
.pa .pa-starter { transition: opacity .2s, transform .2s; }
