/* beev.manual — mobil zuerst. Farben/Abstaende als Tokens; Bilder (freigestellte
   CAD-Renderings) liegen immer auf einer hellen Buehne, auch im Dunkelmodus. */

:root {
  --bg: #f6f6f2;
  --bg-2: #eeeee7;
  --surface: #ffffff;
  --surface-2: #fafaf7;
  --ink: #1b1d1b;
  --ink-2: #3a3e3a;
  --muted: #6b706b;
  --line: #e3e4dc;
  --stage: #eef0eb;
  --stage-2: #e4e7e1;
  --brand: #00a369;
  --brand-ink: #007a4f;
  --brand-soft: #e3f5ec;
  --accent: var(--brand);
  --warn: #b86e00;
  --warn-bg: #fff4df;
  --warn-line: #f3d396;
  --info: #3466c9;
  --info-bg: #edf2fd;
  --info-line: #c7d6f6;
  --tip: #00865a;
  --tip-bg: #e6f6ee;
  --tip-line: #b9e6cf;
  --line-2: #d6d8ce;
  --star: #f2a900;
  --l-sl: #00a369;
  --l-ml: #5b6ee1;
  --l-mc: #e2831e;
  --l-bl: #2b8a9e;
  --l-cr: #7c8794;
  --radius: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(22, 26, 22, .05), 0 10px 30px -16px rgba(22, 26, 22, .22);
  --shadow-lg: 0 30px 70px -30px rgba(22, 26, 22, .45);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Poppins', 'Inter', system-ui, sans-serif;
  --top: 64px;
  --wrap: 1200px;
  --gutter: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #101210;
    --bg-2: #151815;
    --surface: #1a1d1a;
    --surface-2: #1f231f;
    --ink: #eff1ec;
    --ink-2: #cfd3cd;
    --muted: #979e97;
    --line: #2a2f2a;
    --line-2: #363c36;
    --stage: #e8ebe5;
    --stage-2: #dde1da;
    --brand-soft: #0f2d21;
    --warn: #f0b04a;
    --warn-bg: #2b2213;
    --warn-line: #5a4419;
    --info: #8fb0f5;
    --info-bg: #161f33;
    --info-line: #2c3d63;
    --tip: #4fd49a;
    --tip-bg: #10261c;
    --tip-line: #1f4a36;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -18px rgba(0, 0, 0, .8);
    --shadow-lg: 0 30px 70px -30px rgba(0, 0, 0, .9);
    color-scheme: dark;
  }
}

@media (min-width: 768px) { :root { --gutter: 24px; --top: 68px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--top) + 64px); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.02em; line-height: 1.15; margin: 0; overflow-wrap: break-word; hyphens: auto; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--muted); }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 60%, transparent); outline-offset: 2px; border-radius: 8px; }
[hidden] { display: none !important; }

/* ── Kopfzeile ─────────────────────────────────────────────── */
.preview-ribbon {
  position: sticky; top: 0; z-index: 60; background: repeating-linear-gradient(-45deg, #ffcf4d 0 14px, #ffc21a 14px 28px);
  color: #3b2a00; font-weight: 600; font-size: 13px; text-align: center; padding: 6px 12px;
}
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--top);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
[data-preview="1"] .topbar { top: 31px; }
.topbar__inner { height: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.brand__logo { width: 34px; height: 34px; color: var(--ink); flex: none; display: inline-flex; }
.brand__logo svg { width: 100%; height: 100%; stroke: none; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -.03em; white-space: nowrap; }
.brand__name span { color: var(--brand-ink); }
@media (prefers-color-scheme: dark) { .brand__name span { color: var(--tip); } }
.mainnav { display: none; margin-left: 28px; gap: 4px; }
.mainnav a { text-decoration: none; font-size: 15px; font-weight: 550; color: var(--ink-2); padding: 8px 12px; border-radius: 999px; transition: background .2s var(--ease), color .2s; }
.mainnav a:hover, .mainnav a[aria-current="page"] { background: var(--bg-2); color: var(--ink); }
@media (min-width: 900px) { .mainnav { display: flex; } .topbar__faq, .topbar__shop { display: none !important; } }
.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.iconbtn {
  display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px;
  border-radius: 999px; border: 0; background: transparent; cursor: pointer; font-size: 20px; text-decoration: none;
  transition: background .2s var(--ease);
}
.iconbtn:hover { background: var(--bg-2); }
.iconbtn--text { font-size: 14px; font-weight: 600; }
.langswitch { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--bg-2); }
.langswitch a {
  font-size: 12px; font-weight: 700; letter-spacing: .04em; text-decoration: none; color: var(--muted);
  padding: 6px 9px; border-radius: 999px; line-height: 1; transition: all .2s var(--ease);
}
.langswitch a.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.readbar { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; }
.readbar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 0 3px 3px 0; transition: width .1s linear; }
@media (max-width: 420px) {
  .brand__name { font-size: 16px; }
  .iconbtn--text { display: none; }
  .langswitch a { padding: 6px 7px; }
}

/* ── Knoepfe/Chips ─────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 650; font-size: 16px; cursor: pointer;
  text-decoration: none; transition: transform .15s var(--ease), background .2s, box-shadow .2s; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(.97); }
.btn svg { font-size: 20px; }
.btn--primary { background: var(--ink); color: var(--bg); box-shadow: var(--shadow); }
.btn--primary svg { fill: currentColor; stroke: none; }
.btn--primary:hover { background: color-mix(in srgb, var(--ink) 88%, var(--accent)); }
.btn--ghost { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: color-mix(in srgb, var(--ink) 30%, var(--line)); }
.btn--icon { padding: 0; width: 50px; }
.linkbtn { border: 0; background: none; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; }
.lchip {
  --accent: var(--brand);
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 650; line-height: 1;
  padding: 6px 10px 6px 8px; border-radius: 999px; white-space: nowrap;
  background: color-mix(in srgb, var(--accent) 13%, var(--surface)); color: color-mix(in srgb, var(--accent) 70%, var(--ink));
}
.lchip::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.lchip--lg { font-size: 14px; padding: 8px 14px 8px 11px; }
.lchip--link { text-decoration: none; border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.lchip--link:hover { background: color-mix(in srgb, var(--accent) 22%, var(--surface)); }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--brand-ink); }
.eyebrow::before { content: ''; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--tip); } }
.link-more { font-weight: 600; text-decoration: none; color: var(--brand-ink); white-space: nowrap; }
@media (prefers-color-scheme: dark) { .link-more { color: var(--tip); } }

/* ── Start ─────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 48px 0 40px; }
.hero__glow {
  position: absolute; inset: -40% -20% auto; height: 520px; pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent 70%),
              radial-gradient(closest-side at 80% 30%, color-mix(in srgb, #5b6ee1 16%, transparent), transparent 70%);
  filter: blur(10px); opacity: .9;
}
.hero__inner { position: relative; display: flex; flex-direction: column; gap: 16px; }
.hero__art { display: none; }
@media (min-width: 1200px) {
  .hero { padding: 72px 0 64px; }
  .hero__art { display: block; position: absolute; top: 40px; right: max(24px, calc((100vw - var(--wrap)) / 2 + 8px)); width: 380px; height: 380px; }
  .hero__card {
    position: absolute; width: 214px; padding: 9px 9px 13px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line);
    box-shadow: var(--shadow-lg); text-decoration: none; display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
    transition: transform .5s var(--ease); animation: float 7s ease-in-out infinite;
  }
  .hero__card img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 16px; background: radial-gradient(circle at 50% 42%, #fff, var(--stage)); }
  .hero__card .lchip { margin-left: 4px; }
  .hero__card--1 { left: 0; top: 60px; transform: rotate(-7deg); z-index: 1; }
  .hero__card--2 { left: 160px; top: 0; transform: rotate(5deg); z-index: 2; animation-delay: -2.5s; }
  .hero__card--3 { left: 90px; top: 150px; transform: rotate(-1deg); z-index: 3; animation-delay: -5s; }
  .hero__card:hover { transform: rotate(0) scale(1.04); z-index: 4; }
}
@keyframes float { 50% { translate: 0 -8px; } }
.hero__title { font-size: clamp(30px, 7.8vw, 68px); line-height: 1.04; max-width: 11em; }
.hero__text { font-size: clamp(17px, 2.4vw, 20px); color: var(--ink-2); max-width: 46ch; }
.hero__search {
  display: flex; align-items: center; gap: 12px; width: 100%; max-width: 560px; margin-top: 8px; padding: 0 20px; height: 58px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 16px;
  box-shadow: var(--shadow); cursor: text; text-align: left;
}
.hero__search svg { font-size: 22px; color: var(--ink); flex: none; }
.hero__search span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hero__brands { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.brandpill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 15px;
}
.brandpill small { color: var(--muted); font-weight: 600; }
.brandpill__mono {
  width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-display);
  background: var(--ink); color: var(--bg); font-size: 14px;
}
.section { padding: 36px var(--gutter); }
.wrap.section { padding-left: var(--gutter); padding-right: var(--gutter); }
.section--tight { padding-top: 12px; }
.section--tint { background: var(--bg-2); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section__head h2 { font-size: clamp(24px, 4vw, 32px); }
.section__head .muted { margin-top: 6px; }
.brandblock + .brandblock { margin-top: 30px; }
.brandblock__title { font-size: 20px; margin-bottom: 4px; }
.brandblock__title a { text-decoration: none; }
.family { font-size: 13px; font-weight: 600; color: var(--muted); margin: 14px 0 10px; letter-spacing: .01em; }

.vgrid { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 560px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
.vcard {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name arrow" "years arrow" "lines lines";
  gap: 0 12px; padding: 14px 14px 14px 18px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line);
  text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s;
}
.vcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--ink) 18%, var(--line)); }
.vcard__name { grid-area: name; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -.02em; line-height: 1.2; }
.vcard__years { grid-area: years; font-size: 14px; color: var(--muted); }
.vcard__lines { grid-area: lines; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.vcard__lines .lchip { font-size: 12px; padding: 5px 9px 5px 7px; }
.vcard__soon { font-size: 13px; color: var(--muted); font-style: italic; }
.vcard__arrow { grid-area: arrow; align-self: center; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-size: 18px; }
.vcard.is-empty { opacity: .72; }

.lgrid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .lgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lcard { position: relative; overflow: hidden; padding: 18px 16px 16px; border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); }
.lcard__bar { position: absolute; inset: 0 0 auto; height: 4px; background: var(--accent); }
.lcard h3 { font-size: clamp(15px, 4.1vw, 18px); margin: 4px 0 6px; }
.lcard p { font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.lcard small { display: block; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--muted); }

.contact {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: center; padding: 22px; border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface), color-mix(in srgb, var(--brand) 7%, var(--surface))); border: 1px solid var(--line);
}
.contact__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-ink); font-size: 24px; }
.contact h2 { font-size: 20px; }
.contact p { color: var(--ink-2); font-size: 15px; margin-top: 2px; }
.contact .btn { grid-column: 1 / -1; }
@media (min-width: 700px) { .contact { grid-template-columns: auto minmax(0, 1fr) auto; } .contact .btn { grid-column: auto; } }

/* ── Seitenkopf ────────────────────────────────────────────── */
.pagehead { padding: 22px 0 18px; }
.pagehead h1 { font-size: clamp(30px, 6.5vw, 48px); margin-top: 10px; }
.pagehead__lead { color: var(--ink-2); font-size: 18px; margin-top: 8px; }
.pagehead__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); margin-top: 8px; font-size: 15px; }
.pagehead--center { text-align: center; padding: 70px 0; }
.pagehead--center .hero__search { margin: 22px auto 18px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; }

.mgrid { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .mgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .mgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.mcard {
  position: relative; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.mcard:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.mcard__stage { aspect-ratio: 4 / 3; background: radial-gradient(circle at 50% 40%, #fff, var(--stage)); display: grid; place-items: center; overflow: hidden; }
.mcard__stage img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.mcard:hover .mcard__stage img { transform: scale(1.04); }
.mcard__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px 20px; border-top: 4px solid var(--accent); }
.mcard__body .lchip { align-self: flex-start; font-size: 15px; }
.mcard__tag { font-size: 14.5px; color: var(--ink-2); line-height: 1.45; }
.mcard__meta { font-size: 13px; font-weight: 600; color: var(--muted); }
.mcard__go { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; font-size: 18px; }
.empty { padding: 30px; border-radius: var(--radius); border: 1px dashed var(--line); text-align: center; color: var(--muted); }

/* ── Anleitung ─────────────────────────────────────────────── */
.mhero { padding: 20px 0 26px; background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 9%, var(--bg)), var(--bg)); }
.mhero__grid { display: grid; gap: 22px; margin-top: 14px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .mhero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: 40px; } }
.mhero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.mhero h1 { font-size: clamp(32px, 7vw, 54px); }
.mhero__meta { display: flex; flex-wrap: wrap; gap: 6px; }
.mhero__meta span { font-size: 13.5px; font-weight: 600; color: var(--ink-2); padding: 5px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.mhero__intro { color: var(--ink-2); font-size: 16.5px; max-width: 60ch; }
.mhero__actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; width: 100%; }
.mhero__actions .btn--primary { flex: 1 1 0; min-width: 0; padding: 0 16px; }
.mhero__actions .btn--primary span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mhero__actions .btn--icon { width: 48px; flex: none; }
@media (min-width: 560px) { .mhero__actions .btn--primary { flex: 0 0 auto; } }
.mhero__stage {
  aspect-ratio: 1; max-width: 460px; margin: 0 auto; border-radius: 28px; overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #fff, var(--stage)); box-shadow: var(--shadow-lg);
}
.mhero__stage img { width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 899px) { .mhero__media { order: -1; } .mhero__stage { max-width: 320px; aspect-ratio: 5 / 4; border-radius: 22px; } }
.siblings { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.progress { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.progress__ring { width: 28px; height: 28px; transform: rotate(-90deg); }
.progress__ring circle { fill: none; stroke: var(--line); stroke-width: 4; }
.progress__ring .progress__val { stroke: var(--accent); stroke-dasharray: 97.4; stroke-dashoffset: 97.4; transition: stroke-dashoffset .4s var(--ease); }
.notice { margin-top: 14px; padding: 12px 16px; border-radius: var(--radius-sm); background: var(--info-bg); border: 1px solid var(--info-line); color: var(--info); font-size: 14px; }

.chapnav {
  position: sticky; top: var(--top); z-index: 40; background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line);
}
[data-preview="1"] .chapnav { top: calc(var(--top) + 31px); }
.chapnav__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 10px var(--gutter); display: flex; gap: 8px; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.chapnav__inner::-webkit-scrollbar { display: none; }
.chapnav a {
  flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 7px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: all .2s var(--ease);
}
.chapnav a b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--bg-2); font-size: 12.5px; }
.chapnav a.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chapnav a.is-active b { background: var(--accent); color: #fff; }

.manual { padding-top: 10px; padding-bottom: 24px; }
.chapter { padding-top: 26px; }
.chapter__head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.chapter__no {
  flex: none; width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 21px; color: #fff; background: var(--accent);
  box-shadow: 0 10px 20px -10px var(--accent);
}
.chapter__head h2 { font-size: clamp(23px, 4.4vw, 32px); }
.chapter__sub { color: var(--muted); font-size: 15px; margin-top: 2px; }
.chapter__intro { color: var(--ink-2); margin: -2px 0 16px; max-width: 70ch; }

.steps { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); counter-reset: none; }
@media (min-width: 680px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1060px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; } }
.step {
  display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  overflow: hidden; transition: border-color .3s, box-shadow .3s, opacity .3s;
}
.step__stage { position: relative; aspect-ratio: 5 / 4; background: radial-gradient(circle at 50% 42%, #fff 0%, var(--stage) 78%); }
.step__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.step__zoom img { width: 100%; height: 100%; object-fit: contain; transition: transform .5s var(--ease); }
.step__zoom:hover img { transform: scale(1.03); }
.step__noimg { width: 100%; height: 100%; display: grid; place-items: center; color: #b6bcb5; font-size: 42px; }
.step__no {
  position: absolute; left: 12px; top: 12px; min-width: 40px; height: 40px; padding: 0 10px; border-radius: 13px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 18px; background: rgba(255, 255, 255, .92); color: #1b1d1b;
  box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35); pointer-events: none;
}
.step__check {
  position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 2px solid rgba(27, 29, 27, .18); background: rgba(255, 255, 255, .92); color: transparent; cursor: pointer; font-size: 20px;
  transition: all .25s var(--ease); -webkit-tap-highlight-color: transparent;
}
.step__check svg { stroke-width: 3; }
.step__check:hover { color: #9aa29a; }
.step.is-done .step__check { background: var(--accent); border-color: var(--accent); color: #fff; transform: scale(1.05); }
.step.is-done { border-color: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.step.is-done .step__zoom img { opacity: .78; }
.step__thumbs { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; }
.step__thumbs button { width: 44px; height: 44px; padding: 2px; border-radius: 10px; border: 2px solid transparent; background: rgba(255, 255, 255, .9); cursor: pointer; }
.step__thumbs button.is-active { border-color: var(--accent); }
.step__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.step__body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 6px; }
.step__kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: color-mix(in srgb, var(--accent) 75%, var(--ink)); }
.step__body h3 { font-size: 19px; }
.step--warning { border-color: var(--warn-line); }
.step--warning .step__body { background: var(--warn-bg); }

.prose { font-size: 16px; line-height: 1.62; color: var(--ink-2); }
.prose p + p, .prose p + ul, .prose ul + p, .prose ol + p { margin-top: .6em; }
.prose ul, .prose ol { margin: 0; padding-left: 1.2em; }
.prose li + li { margin-top: .3em; }
.prose a { color: var(--brand-ink); font-weight: 600; text-underline-offset: 3px; }
@media (prefers-color-scheme: dark) { .prose a { color: var(--tip); } }
.prose strong { color: var(--ink); }

.variants { margin-top: 4px; }
.seg { display: flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 16px; background: var(--bg-2); margin-bottom: 16px; }
.seg button {
  flex: 1 1 200px; min-width: 0; min-height: 44px; line-height: 1.3; padding: 8px 14px; border: 0; border-radius: 12px; background: transparent; cursor: pointer;
  font-weight: 600; font-size: 14.5px; color: var(--muted); text-align: center; transition: all .2s var(--ease);
}
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }

.note {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; margin-top: 26px; padding: 18px 20px; border-radius: var(--radius);
  background: var(--info-bg); border: 1px solid var(--info-line);
}
.note h2 { font-size: 18px; margin-bottom: 4px; color: var(--info); }
.note__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 21px; color: var(--info); background: color-mix(in srgb, var(--info) 14%, transparent); }
.note--warning { background: var(--warn-bg); border-color: var(--warn-line); }
.note--warning h2, .note--warning .note__icon { color: var(--warn); }
.note--warning .note__icon { background: color-mix(in srgb, var(--warn) 16%, transparent); }
.note--tip { background: var(--tip-bg); border-color: var(--tip-line); }
.note--tip h2, .note--tip .note__icon { color: var(--tip); }
.note--tip .note__icon { background: color-mix(in srgb, var(--tip) 16%, transparent); }
.outro { margin-top: 30px; padding: 18px 20px; border-left: 4px solid var(--accent); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }

.feedback { margin-top: 30px; padding: 24px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; }
.feedback h2 { font-size: 21px; }
.feedback__btns { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.feedback__btns .btn { min-width: 120px; }
.feedback__btns .btn.is-picked { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.feedback__form { display: grid; gap: 10px; max-width: 520px; margin: 16px auto 0; }
.feedback__form textarea {
  width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface-2); color: var(--ink);
  padding: 12px 14px; font: inherit; resize: vertical; min-height: 92px;
}
.feedback__thanks { margin-top: 12px; font-weight: 600; color: var(--brand-ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ── FAQ ───────────────────────────────────────────────────── */
.faq { display: grid; gap: 10px; }
.faq__item { border-radius: var(--radius-md); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.faq__item summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 14px; cursor: pointer;
  padding: 16px 18px; font-weight: 650; font-size: 16.5px; line-height: 1.4;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary svg { flex: none; font-size: 20px; color: var(--muted); transition: transform .25s var(--ease); }
.faq__item[open] summary svg { transform: rotate(180deg); }
.faq__answer { padding: 0 18px 18px; }
.faqsearch { position: relative; max-width: 560px; margin-top: 16px; }
.faqsearch svg { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); font-size: 20px; color: var(--muted); }
.faqsearch input {
  width: 100%; height: 54px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  padding: 0 20px 0 50px; font: inherit; font-size: 16px; box-shadow: var(--shadow);
}

/* ── Suche ─────────────────────────────────────────────────── */
.search { position: fixed; inset: 0; z-index: 90; background: rgba(12, 14, 12, .5); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; justify-content: center; align-items: flex-start; padding: 10px; animation: fade .2s var(--ease); }
.search__panel { width: 100%; max-width: 640px; max-height: calc(100dvh - 20px); display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; animation: drop .25s var(--ease); }
@media (min-width: 700px) { .search { padding-top: 12vh; } }
.search__bar { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-bottom: 1px solid var(--line); }
.search__bar > svg { font-size: 22px; flex: none; color: var(--muted); }
.search__bar input { flex: 1; min-width: 0; height: 52px; border: 0; background: transparent; color: var(--ink); font: inherit; font-size: 17px; outline: none; }
.search__bar input::-webkit-search-cancel-button { display: none; }
.search__results { list-style: none; margin: 0; padding: 6px; overflow-y: auto; }
.search__results a { display: flex; align-items: center; gap: 12px; padding: 12px 12px; border-radius: 14px; text-decoration: none; }
.search__results a:hover, .search__results a.is-active { background: var(--bg-2); }
.search__results .r-ic { width: 38px; height: 38px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--bg-2); font-family: var(--font-display); font-weight: 700; }
.search__results .r-t { font-weight: 650; }
.search__results .r-s { font-size: 13px; color: var(--muted); }
.search__results .r-l { display: flex; gap: 4px; margin-left: auto; }
.search__results .r-l i { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.search__empty { padding: 18px; color: var(--muted); text-align: center; }

/* ── Schritt-fuer-Schritt ──────────────────────────────────── */
.stepper {
  position: fixed; inset: 0; z-index: 95; display: flex; flex-direction: column; background: var(--bg);
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  animation: rise .3s var(--ease);
}
.stepper__top { display: flex; align-items: center; gap: 10px; padding: 8px 12px; }
.stepper__title { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.stepper__title span { font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stepper__title b { font-size: 16px; }
.stepper__awake { color: var(--accent); font-size: 20px; padding: 0 8px; }
.stepper__bar { height: 4px; margin: 0 16px; background: var(--line); border-radius: 4px; overflow: hidden; }
.stepper__bar span { display: block; height: 100%; width: 0; background: var(--accent); transition: width .35s var(--ease); }
.stepper__track { position: relative; flex: 1; min-height: 0; overflow: hidden; touch-action: pan-y; }
.stepper__slide { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 12px 16px 6px; gap: 12px; transition: transform .35s var(--ease), opacity .35s var(--ease); }
.stepper__slide.is-left { transform: translateX(-30%); opacity: 0; pointer-events: none; }
.stepper__slide.is-right { transform: translateX(30%); opacity: 0; pointer-events: none; }
.stepper__img { flex: 1; min-height: 0; border-radius: var(--radius); background: radial-gradient(circle at 50% 42%, #fff, var(--stage)); display: grid; place-items: center; overflow: hidden; border: 0; padding: 0; cursor: zoom-in; }
.stepper__img img { width: 100%; height: 100%; object-fit: contain; }
.stepper__text { flex: none; max-height: 42%; overflow-y: auto; padding: 4px 4px 0; }
.stepper__text .step__kicker { margin-bottom: 4px; }
.stepper__text h2 { font-size: clamp(22px, 5.6vw, 30px); margin-bottom: 6px; }
.stepper__text .prose { font-size: 17px; }
.stepper__nav { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 10px; padding: 10px 16px 14px; }
.stepper__nav .btn { min-height: 58px; font-size: 17px; }
.stepper__nav .btn[disabled] { opacity: .4; pointer-events: none; }
.stepper__done { align-items: center; justify-content: center; text-align: center; gap: 14px; }
.stepper__done h2 { font-size: 34px; }
.stepper__done p { color: var(--ink-2); font-size: 18px; }
.done__badge { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: 50px; box-shadow: 0 20px 40px -18px var(--accent); animation: pop .5s var(--ease); }
.done__badge svg { stroke-width: 3; }
.done__actions { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 360px; margin-top: 10px; }
@media (min-width: 900px) {
  .stepper__slide { flex-direction: row; padding: 16px 28px; gap: 28px; }
  .stepper__img { flex: 1.4; }
  .stepper__text { flex: 1; max-height: none; align-self: center; }
  .stepper__nav { max-width: 640px; margin: 0 auto; width: 100%; }
  .stepper__done { flex-direction: column; }
}

/* ── Lightbox ──────────────────────────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 99; background: rgba(8, 10, 8, .92); display: flex; animation: fade .2s var(--ease); }
.lightbox__close { position: absolute; right: 12px; top: calc(12px + env(safe-area-inset-top)); z-index: 2; color: #fff; background: rgba(255, 255, 255, .12); font-size: 22px; }
.lightbox__stage { flex: 1; overflow: hidden; display: grid; place-items: center; touch-action: none; }
.lightbox__stage img { max-width: 100%; max-height: 100%; background: radial-gradient(circle at 50% 45%, #fff, #e8ebe5); border-radius: 12px; transform-origin: 0 0; will-change: transform; user-select: none; -webkit-user-drag: none; }

/* ── Kleinkram ─────────────────────────────────────────────── */
.toast {
  position: fixed; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); z-index: 120; transform: translate(-50%, 30px); opacity: 0;
  padding: 12px 18px; border-radius: 999px; background: var(--ink); color: var(--bg); font-weight: 600; font-size: 14px;
  pointer-events: none; transition: all .3s var(--ease); white-space: nowrap;
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }
.footer { margin-top: 30px; padding: 48px 0 calc(24px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--surface); font-size: 14.5px; }
.footer__grid { display: grid; gap: 32px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__brand { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; max-width: 38ch; color: var(--ink-2); }
.footer__brand p { font-size: 14px; color: var(--muted); }
.footer__col { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.footer__col h2 { font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.footer__col a { color: var(--ink-2); text-decoration: none; overflow-wrap: anywhere; }
.footer__col a:hover { color: var(--ink); text-decoration: underline; }
.footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .footer__brand { grid-column: auto; } }

/* ── Querverweis Shop ──────────────────────────────────────── */
.shopcard {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: center; margin-top: 30px; padding: 20px;
  border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
}
.shopcard__img img { width: 96px; height: 96px; border-radius: 16px; object-fit: cover; background: var(--stage); }
.shopcard h2 { font-size: 20px; }
.shopcard p { color: var(--ink-2); font-size: 15px; margin-top: 4px; max-width: 60ch; }
.shopcard__lines { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.shopcard__lines .lchip { font-size: 13px; }
.shopcard__lines .is-current { box-shadow: 0 0 0 2px var(--accent); }
.shopcard__cta { justify-self: start; }
.btn svg.stroke { fill: none; stroke: currentColor; }
@media (min-width: 760px) { .shopcard { grid-template-columns: auto minmax(0, 1fr) auto; padding: 22px 26px; } .shopcard__cta { justify-self: end; } }
.shopstrip { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 16px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--ink); color: var(--bg); }
.shopstrip__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: color-mix(in srgb, var(--bg) 14%, transparent); }
.shopstrip h2 { font-size: 20px; }
.shopstrip p { opacity: .8; font-size: 15px; margin-top: 2px; }
.shopstrip .btn { grid-column: 1 / -1; background: var(--bg); color: var(--ink); }
@media (min-width: 760px) { .shopstrip { grid-template-columns: auto minmax(0, 1fr) auto; } .shopstrip .btn { grid-column: auto; } }

/* nur was beim Laden unterhalb des Sichtbereichs liegt, blendet beim Scrollen ein (kein Flackern) */
.reveal-wait { opacity: 0; transform: translateY(14px); }
.reveal-wait.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
@keyframes fade { from { opacity: 0; } }
@keyframes drop { from { opacity: 0; transform: translateY(-10px) scale(.98); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes pop { 0% { transform: scale(.4); } 70% { transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-wait { opacity: 1; transform: none; }
}
body.is-locked { overflow: hidden; }

/* ── Druck ─────────────────────────────────────────────────── */
@media print {
  :root { --bg: #fff; --surface: #fff; --ink: #000; --ink-2: #222; --line: #ccc; }
  .topbar, .chapnav, .footer, .mhero__actions, .progress, .siblings, .feedback, .contact, .search, .stepper, .lightbox,
  .step__check, .preview-ribbon, .section .link-more, .step__thumbs, .shopcard, .shopstrip { display: none !important; }
  body { font-size: 11pt; }
  .mhero { background: none; padding: 0; }
  .mhero__stage { box-shadow: none; max-width: 60mm; }
  .steps { grid-template-columns: repeat(2, 1fr) !important; gap: 6mm; }
  .step { break-inside: avoid; border: 1px solid #bbb; }
  .chapter { break-before: auto; }
  .reveal-wait { opacity: 1 !important; transform: none !important; }
  a { text-decoration: none; }
}
