/* MassKante · Stil der Webseite, Richtung B „Manufaktur“ (seit 19.10.2026).
   Verbindliche Werte in CI.md. Vorher: Variante „Werkbank“ (Sicherung in recherche/_neu-werkbank-sicherung.css).
   Grundstimmung Kalk, Überschriften in Instrument Serif, Knöpfe Graphit, Mono nur für Maße und Preise. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-wdth.woff2") format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Archivo"; src: url("../fonts/archivo-wdth-ext.woff2") format("woff2-variations"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plex-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-ext.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Instrument Serif"; src: url("../fonts/instrument-serif-italic-ext.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #F6F1E8;      /* Kalk */
  --paper-2: #E9E0D1;    /* Lehm */
  --paper-3: #DFD3BF;
  --line: #D9CEBB;
  --line-soft: #E6DDCC;
  --ink: #1C1B19;        /* Graphit */
  --ink-2: #3B3831;
  --muted: #6E675B;
  --oak: #B98E5E;
  --oak-deep: #8C6A42;
  --messing: #9A7B4F;    /* Akzent: Etiketten, Nummern, ein kursives Wort */
  --stamp: #F2C230;      /* Zollstockgelb: nur noch im Logo-Zeichen */
  --ok: #2F7D4F;
  --error: #B4442A;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 48px);
  --container: 1240px;
  --section: clamp(64px, 8vw, 120px);
  --radius: 3px;
  --radius-lg: 6px;
  --shadow: none;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.6 var(--sans); font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.05; text-wrap: balance; }
h1 { font-size: clamp(2.8rem, 5.8vw, 5.4rem); line-height: .98; }
h2 { font-size: clamp(2rem, 3.4vw, 2.9rem); }
h3, h4 { margin: 0; font-weight: 480; letter-spacing: -.01em; line-height: 1.15; font-variation-settings: "wdth" 104; text-wrap: balance; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.05rem, 1.25vw, 1.2rem); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.mf-acc { font-style: italic; color: var(--messing); }
.eyebrow { display: block; font: 500 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--messing); margin-bottom: 14px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 8px; top: -48px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { top: 8px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section); }
.section-tight { padding-block: calc(var(--section) * .6); }
.section-head { max-width: 66ch; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head h2 { margin-bottom: 12px; }
.section-head p { color: var(--ink-2); margin: 0; }
.bg-2 { background: var(--paper-2); }

/* Knöpfe: Graphit. btn-stamp heißt aus der Werkbank-Zeit so und ist heute ebenfalls Graphit. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 24px; border-radius: var(--radius); font: 500 1rem/1.2 var(--sans); font-variation-settings: "wdth" 104; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s; }
.btn:active { transform: translateY(1px); }
.btn-stamp, .btn-ink { background: var(--ink); color: var(--paper); }
.btn-stamp:hover, .btn-ink:hover { background: #2E2C28; }
.btn-line { background: transparent; border-color: rgba(28,27,25,.45); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: .95rem; }
.link { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--messing); }
.link:hover { text-decoration-color: var(--ink); }
.link-arrow { font-weight: 480; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .15s; }
.link-arrow:hover::after { transform: translateX(3px); }

/* Kopf */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(246,241,232,.94); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(28,27,25,.12); }
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.brand { flex: none; display: block; }
.brand img { width: 158px; height: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; }
.main-nav a { display: block; padding: 8px 6px; text-decoration: none; font-weight: 440; color: var(--ink); }
.main-nav a:hover, .main-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; text-decoration-color: var(--messing); }
.head-actions { display: flex; gap: 8px; align-items: center; }
.head-cart { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.head-cart:hover { background: var(--paper-2); }
.head-cart .cart-n { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--ink); color: var(--paper); font: 500 .7rem/18px var(--mono); text-align: center; }
.head-cart .cart-n:empty, .head-cart .cart-n[data-n="0"] { display: none; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: var(--radius); }
.menu-lines, .menu-lines::before, .menu-lines::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; margin: 0 auto; content: ""; transition: transform .2s, opacity .2s; }
.menu-lines::before { position: absolute; top: -7px; }
.menu-lines::after { position: absolute; top: 7px; }
.menu-btn[aria-expanded="true"] .menu-lines { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-lines::before { transform: translateY(7px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-lines::after { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: none; }
.mobile-nav[hidden] { display: none !important; }
@media (max-width: 1040px) {
  .main-nav { display: none; }
  .head-actions .btn-line { display: none; }
  .menu-btn { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-nav { display: grid; position: sticky; top: 76px; z-index: 49; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .mobile-nav a { padding: 12px 0; text-decoration: none; font-weight: 440; border-bottom: 1px solid var(--line-soft); }
  .mobile-nav a:last-child { border: 0; }
}

/* Einstieg der Unterseiten: Text links, Raumbild rechts, Maß-Zeile am Bild */
.hero { padding-block: clamp(40px, 6vw, 88px) clamp(48px, 6vw, 96px); }
.page-hero { padding-block: clamp(32px, 5vw, 64px) 0; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy h1 { margin-bottom: 22px; font-size: clamp(2.5rem, 4.6vw, 4.2rem); }
.hero-copy h2 { margin-bottom: 18px; }
.hero-copy .lead { margin-bottom: 28px; }
.hero-actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.hero-actions .btn-line { border-color: transparent; padding-inline: 0; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: var(--messing); min-height: 0; }
.hero-actions .btn-line:hover { text-decoration-color: var(--ink); }
.hero-actions .link { font-weight: 440; }
.hero-figure { position: relative; margin: 0; }
.hero-figure img { border-radius: 2px; aspect-ratio: 5 / 4; object-fit: cover; width: 100%; }
.hero-figure.portrait img { aspect-ratio: 4 / 5; }
.breadcrumb { font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.breadcrumb a { color: inherit; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; }
.mf-dim { position: absolute; left: 20px; bottom: 20px; font: 400 .64rem/1.5 var(--mono); font-feature-settings: "tnum"; background: rgba(246,241,232,.92); padding: 6px 10px; color: var(--ink); }
.mf-dim small { display: block; font: 500 .5rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure img, .hero-figure.portrait img { aspect-ratio: 4 / 3; }
}

/* Startseite: Einstieg bis an den Rand */
.mf-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-bottom: 1px solid var(--line); }
.mf-hero .copy { padding: clamp(48px, 7vw, 112px) clamp(24px, 4vw, 64px) clamp(40px, 6vw, 88px) max(var(--gutter), calc((100vw - var(--container)) / 2)); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.mf-hero h1 { max-width: 11ch; margin: 0; }
.mf-hero .lead { margin: 0; max-width: 40ch; font-size: 1.1rem; }
.mf-hero .acts { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.mf-hero figure { margin: 0; position: relative; min-height: 100%; }
.mf-hero img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 5 / 4; display: block; }
.mf-hero .mf-dim { left: 24px; bottom: 24px; }

/* Kennzahlen als ruhige Zeile */
.mf-facts { border-bottom: 1px solid var(--line); }
.mf-facts .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.mf-facts .wrap > div { padding: 24px clamp(16px, 2vw, 28px) 24px 0; border-right: 1px solid var(--line); margin-right: clamp(16px, 2vw, 28px); }
.mf-facts .wrap > div:last-child { border-right: 0; margin-right: 0; }
.mf-facts b { display: block; font: 400 1.9rem/1.1 var(--serif); }
.mf-facts span { display: block; margin-top: 4px; color: var(--muted); font-size: .9rem; }

/* Abschnittskopf mit Link rechts */
.mf-top { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(24px, 3vw, 40px); }
.mf-top h2 { margin: 0; }
.mf-top .link { font-size: .95rem; white-space: nowrap; }

/* Möbel-Kacheln (Startseite) und Möbelkarten (Unterseiten) */
.mf-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.mf-tiles a { text-decoration: none; color: var(--ink); display: block; }
.mf-tiles img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper-2); border-radius: 2px; transition: opacity .2s; }
.mf-tiles a:hover img { opacity: .92; }
.mf-tiles .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; margin-top: 14px; border-top: 1px solid rgba(28,27,25,.18); }
.mf-tiles .row b { font: 400 1.35rem/1.1 var(--serif); }
.mf-tiles .row span { font: 400 .78rem/1.3 var(--mono); color: var(--muted); text-align: right; }
.mf-tiles small { display: block; margin-top: 6px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; background: var(--paper-2); border-radius: 2px; transition: opacity .2s; }
.card:hover img { opacity: .92; }
.card-body { padding: 14px 0 0; display: flex; flex-direction: column; gap: 8px; flex: 1; border-top: 1px solid rgba(28,27,25,.18); margin-top: 14px; }
.card h3 { font: 400 1.35rem/1.1 var(--serif); }
.card p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }
.card .meta { font: 500 .66rem/1 var(--sans); letter-spacing: .14em; color: var(--messing); text-transform: uppercase; }
.card .link-arrow { margin-top: 8px; font-size: .95rem; }
@media (max-width: 1000px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* Schnellstart-Karte */
.mf-plan .wrap { max-width: 820px; }
.mf-plan .section-head { margin-bottom: 28px; }
.quickstart { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); color: var(--ink); }
.quickstart-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.quickstart-head h2, .quickstart-head h3 { font: 500 1.1rem/1.3 var(--sans); letter-spacing: 0; }
.quickstart-head .step { font: 500 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.types { border: 0; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.types label { position: relative; display: block; cursor: pointer; }
.types input { position: absolute; opacity: 0; inset: 0; }
.types span { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: .85rem; font-weight: 480; text-align: center; transition: border-color .15s, background .15s; }
.types svg { width: 32px; height: 32px; stroke: currentColor; fill: none; stroke-width: 1.4; }
.types input:checked + span { border-color: var(--ink); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--ink); }
.types input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.dim label { display: block; font: 500 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.dim-field { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 0 10px; height: 52px; }
.dim-field:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(154,123,79,.25); }
.dim-field input { width: 100%; border: 0; background: transparent; font: 500 1.2rem/1 var(--mono); font-feature-settings: "tnum"; color: var(--ink); min-width: 0; outline: 0; }
.dim-field input[aria-invalid="true"] { color: var(--error); }
.dim-field .unit { color: var(--muted); font: 400 .85rem/1 var(--mono); }
.quickstart .hint { font-size: .9rem; color: var(--muted); margin: 0 0 16px; }
.quickstart .mass-fehler { color: var(--error); font-size: .9rem; margin: -4px 0 12px; min-height: 0; }
.quickstart .mass-fehler:empty { display: none; }
.quickstart-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.price-out { display: flex; flex-direction: column; gap: 2px; }
.price-out .price-label { font: 500 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.price-out .price { font: 500 1.5rem/1.1 var(--mono); font-feature-settings: "tnum"; }
.price-out .price.is-pending { color: var(--muted); font: 400 1rem/1.4 var(--sans); }
.quickstart .btn-stamp { flex: 1 1 220px; }
@media (max-width: 480px) { .types { grid-template-columns: repeat(2, 1fr); } .dims { grid-template-columns: 1fr 1fr; } .dims .dim:last-child { grid-column: span 2; } }

/* Inklusive-Leiste */
.inklusive { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.inklusive li { list-style: none; display: flex; gap: 12px; align-items: flex-start; padding: 20px 0; border-top: 1px solid var(--line); }
.inklusive ul { margin: 0; padding: 0; display: contents; }
.inklusive .ico { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; color: var(--messing); }
.inklusive .ico svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.inklusive b { display: block; font-weight: 500; }
.inklusive span { color: var(--muted); font-size: .92rem; }
@media (max-width: 900px) { .inklusive { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .inklusive { grid-template-columns: 1fr; gap: 0; } }

/* Ausstattung (Unterseiten) */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.feature { padding: 18px 0 0; border-top: 1px solid var(--ink); }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { margin: 0; color: var(--ink-2); font-size: .97rem; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: 1fr; } }
.render-note { font: 500 .6rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding-top: 20px; border-top: 1px solid var(--ink); }
.steps li::before { content: counter(step, decimal-leading-zero); font: 400 1.5rem/1 var(--serif); color: var(--messing); display: block; margin-bottom: 12px; }
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Zweispalter mit Bild */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }
.split figure { margin: 0; position: relative; }
.split img { border-radius: 2px; width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.split figcaption { margin-top: 10px; font: 500 .54rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.split h2 { margin-bottom: 16px; }
.split .actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F6F1E8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.checks b { font-weight: 500; }
.numbered { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 16px; counter-reset: n; }
.numbered li { counter-increment: n; display: grid; grid-template-columns: 40px 1fr; gap: 12px; }
.numbered li::before { content: counter(n); width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(28,27,25,.35); display: grid; place-items: center; font: 400 1.1rem/1 var(--serif); }
.numbered b { display: block; font-weight: 500; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } .split img { aspect-ratio: 16 / 10; } }

/* Material: Bildstrecke, Bauteile, Dekore */
.mf-mat { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); background: var(--paper-2); }
.mf-mat > figure { margin: 0; position: relative; }
.mf-mat > figure > img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; display: block; }
.mf-mat > figure > figcaption { position: absolute; left: 20px; bottom: 20px; font: 500 .54rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--paper); opacity: .85; }
.mf-mat .text { padding: clamp(40px, 6vw, 88px) max(var(--gutter), calc((100vw - var(--container)) / 2)) clamp(40px, 6vw, 88px) clamp(28px, 5vw, 72px); display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.mf-mat h2 { margin: 0; }
.mf-mat p { margin: 0; max-width: 46ch; color: var(--ink-2); }
.mf-mat .acts { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 4px; }
.mf-swatches { display: flex; gap: 16px 18px; flex-wrap: wrap; margin-top: 6px; }
.mf-swatches figure { margin: 0; width: 84px; }
.mf-swatches figure img { width: 72px; height: 72px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; border: 1px solid rgba(28,27,25,.1); }
.mf-swatches figcaption { font-size: .72rem; line-height: 1.3; color: var(--ink-2); margin-top: 7px; }
.mf-swatches figcaption small { display: block; font: 400 .62rem/1.4 var(--mono); color: var(--muted); }
.mf-spec { max-width: 860px; }
.mf-spec h3 { margin-bottom: 16px; }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 500; width: 32%; padding-right: 16px; }
.spec td { color: var(--ink-2); }
.spec tr:first-child th, .spec tr:first-child td { border-top: 1px solid var(--ink); }
.spec .tag { display: inline-block; margin-left: 8px; font: 500 .6rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--messing); border: 1px solid currentColor; border-radius: 3px; padding: 4px 6px; vertical-align: middle; }
.mf-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
.mf-gallery figure { margin: 0; }
.mf-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.mf-gallery figcaption { margin-top: 12px; }
.mf-gallery figcaption b { display: block; font: 400 1.35rem/1.1 var(--serif); margin-bottom: 4px; }
.mf-gallery figcaption span { color: var(--ink-2); font-size: .95rem; }
.mf-gallery figcaption small { display: block; margin-top: 6px; font: 500 .54rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mf-dekore h3 { margin: 40px 0 16px; font: 500 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--messing); }
.mf-dekor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(132px, 1fr)); gap: 20px 16px; }
.mf-dekor-grid figure { margin: 0; }
.mf-dekor-grid img, .mf-dekor-grid i { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 2px; border: 1px solid rgba(28,27,25,.1); }
.mf-dekor-grid figcaption { margin-top: 8px; font-size: .85rem; line-height: 1.35; }
.mf-dekor-grid figcaption small { display: block; font: 400 .66rem/1.5 var(--mono); color: var(--muted); }

/* Handwerk: drei Leistungen */
.mf-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(32px, 4vw, 48px); }
.mf-three > div { border-top: 1px solid var(--ink); padding-top: 18px; }
.mf-three .num { display: block; font: 400 1.5rem/1 var(--serif); color: var(--messing); margin-bottom: 12px; }
.mf-three h3 { font-size: 1.15rem; margin-bottom: 8px; }
.mf-three p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.mf-three .price { display: block; margin-top: 12px; font: 400 .85rem/1.4 var(--mono); color: var(--ink); }
.mf-hand .split { margin-top: clamp(48px, 6vw, 88px); }

/* Haltung: ein Satz, keine Rabatte, dazu Beispiel-Konfigurationen */
.mf-stand { text-align: center; }
.mf-stand p.big { font: 400 clamp(1.6rem, 2.8vw, 2.4rem)/1.25 var(--serif); max-width: 30ch; margin: 0 auto 14px; text-wrap: balance; }
.mf-stand .sub { color: var(--muted); max-width: 60ch; margin: 0 auto; font-size: .97rem; }
.mf-examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(32px, 4vw, 48px); text-align: left; }
.mf-examples a { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; text-decoration: none; color: var(--ink); transition: border-color .15s; }
.mf-examples a:hover { border-color: var(--ink); }
.mf-examples .meta { font: 500 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--messing); }
.mf-examples b { font-weight: 480; }
.mf-examples .dims { display: block; font: 400 .85rem/1.4 var(--mono); color: var(--muted); margin: 0; }
.mf-examples .go { margin-top: 8px; font-size: .92rem; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--messing); }

/* Muster */
.sample { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.sample .actions { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.swatch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.swatch-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
@media (max-width: 860px) { .sample { grid-template-columns: 1fr; } }

/* Fragen */
.faq { max-width: 820px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px 0; font-weight: 480; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--serif); color: var(--muted); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 0 20px; color: var(--ink-2); max-width: 68ch; }
.faq .answer p { margin: 0; }

/* Themen-Links */
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topics a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 3px; text-decoration: none; font-size: .95rem; color: var(--ink); }
.topics a:hover { border-color: var(--ink); }
.topics a small { font: 400 .7rem/1 var(--mono); color: var(--muted); }

/* Abschluss */
.finale { text-align: center; }
.finale h2 { margin: 0 auto 24px; max-width: 16ch; }
.finale .actions { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; align-items: center; }

/* Fuß */
.site-foot { background: var(--paper); border-top: 1px solid var(--line); padding: 56px 0 32px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid img { width: 140px; height: auto; margin-bottom: 16px; }
.foot-grid p { color: var(--muted); margin: 0; max-width: 32ch; }
.foot-grid nav { display: grid; gap: 8px; align-content: start; }
.foot-grid nav a { text-decoration: none; color: var(--ink-2); }
.foot-grid nav a:hover { color: var(--ink); text-decoration: underline; }
.foot-grid h4 { font: 500 .66rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.foot-grid address { font-style: normal; color: var(--ink-2); }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Formulare (Kontakt, Muster) */
.form-page { padding-block: clamp(40px, 6vw, 80px) var(--section); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.form-grid h1 { margin-bottom: 12px; font-size: clamp(2.4rem, 4.4vw, 3.8rem); }
.form-grid .lead { margin-bottom: 32px; }
.form-grid form { display: grid; gap: 20px; }
.field label, .field legend { display: block; font-weight: 500; font-size: .95rem; margin-bottom: 6px; }
.field input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font: inherit; color: var(--ink); }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(154,123,79,.25); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--error); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-note { font-size: .85rem; color: var(--muted); margin: 6px 0 0; }
.field-error { font-size: .85rem; color: var(--error); margin: 6px 0 0; display: none; }
.field-error.is-visible, [aria-invalid="true"] ~ .field-error { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--ink); }
.hp { position: absolute; left: -9999px; }
.choice { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.choice legend { margin-bottom: 8px; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span { display: block; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.choice b { display: block; font-weight: 500; }
.choice small { color: var(--muted); font-size: .85rem; }
.choice input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); background: var(--paper-2); }
.choice input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.form-status { font-size: .95rem; color: var(--ink-2); margin: 0; }
.form-status:empty { display: none; }
.aside-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; margin-bottom: 16px; }
.aside-box h2 { font: 500 1.1rem/1.3 var(--sans); letter-spacing: 0; margin-bottom: 8px; }
.aside-box address { font-style: normal; color: var(--ink-2); }
.aside-box p { color: var(--ink-2); }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { font: 400 .75rem/1 var(--mono); padding: 6px 10px; border: 1px solid var(--line); border-radius: 3px; }
#form-success h2 { margin-bottom: 8px; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0 0 8px; }
.swatch { position: relative; cursor: pointer; display: block; }
.swatch input { position: absolute; opacity: 0; inset: 0; }
.swatch img { aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); border: 2px solid transparent; }
.swatch input:checked + img, .swatch input:checked ~ img { border-color: var(--ink); }
.swatch span, .swatch small { display: block; font-size: .85rem; margin-top: 6px; }
.swatch span { display: block; }
.swatch i { display: block; aspect-ratio: 1; border-radius: var(--radius); border: 2px solid var(--line); transition: border-color .15s, transform .15s; }
.swatch b { display: block; font-size: .85rem; font-weight: 480; margin-top: 6px; }
.swatch input:checked + span i { border-color: var(--ink); box-shadow: inset 0 0 0 2px #fff; }
.swatch input:focus-visible + span i { outline: 2px solid var(--ink); outline-offset: 2px; }
.counter { font-family: var(--mono); font-size: .9rem; color: var(--muted); }
.form-grid .counter { margin: 0 0 12px; }
.bullets { padding-left: 20px; color: var(--ink-2); }
@media (max-width: 860px) { .form-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .field-row, .choice { grid-template-columns: 1fr; } .swatches { grid-template-columns: repeat(3, 1fr); } }
.legal .prose { max-width: 72ch; color: var(--ink-2); }
.legal h1 { margin-bottom: 24px; font-size: clamp(2.4rem, 4.4vw, 3.8rem); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; } }

/* Kleinere Bildschirme */
@media (max-width: 1040px) {
  .mf-hero { grid-template-columns: 1fr; }
  .mf-hero .copy { padding: clamp(40px, 6vw, 72px) var(--gutter) 40px; }
  .mf-hero img { aspect-ratio: 4 / 3; }
  .mf-mat { grid-template-columns: 1fr; }
  .mf-mat .text { padding: 40px var(--gutter); }
}
@media (max-width: 900px) {
  .mf-tiles { grid-template-columns: 1fr 1fr; }
  .mf-facts .wrap { grid-template-columns: 1fr 1fr; }
  .mf-facts .wrap > div:nth-child(2) { border-right: 0; }
  .mf-facts .wrap > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .mf-three, .mf-examples { grid-template-columns: 1fr; }
  .mf-top { flex-direction: column; align-items: flex-start; gap: 8px; }
  .mf-gallery { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .mf-tiles { grid-template-columns: 1fr; }
  .mf-hero .acts, .hero-actions { gap: 14px; }
}
/* Kopf auf schmalen Handys: Logo auf CI-Mindestbreite, Knöpfe kompakt, damit nichts über den Rand läuft */
@media (max-width: 480px) {
  .site-head .wrap { gap: 12px; }
  .brand img { width: 120px; }
  .head-actions { gap: 4px; }
  .head-actions .btn-stamp { padding-inline: 14px; }
}
@media (max-width: 400px) {
  .head-actions .btn-stamp { display: none; }
}

/* ===== Film: Clips über dem Standbild, Scroll-Sequenz (film.js, 27.10.2026) ===== */
.film { position: relative; }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 2px; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.film video.an { opacity: 1; }
.mf-hero .film video { border-radius: 0; }
.mf-seq { background: var(--paper-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mf-seq .stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: stretch; }
.mf-seq .copy { padding: clamp(48px, 7vw, 112px) clamp(24px, 4vw, 64px) clamp(40px, 6vw, 88px) max(var(--gutter), calc((100vw - var(--container)) / 2)); display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.mf-seq .copy h2 { margin: 0; max-width: 14ch; }
.mf-seq .beats { display: flex; flex-direction: column; gap: 2px; font: 400 clamp(1.6rem, 2.6vw, 2.3rem)/1.15 var(--serif); }
.mf-seq .beat { opacity: .24; transform: translateX(0); transition: opacity .5s ease, transform .5s ease; }
.mf-seq .beat.is-on { opacity: 1; }
.mf-seq .copy p { margin: 0; max-width: 40ch; color: var(--ink-2); }
.mf-seq .bild { position: relative; min-height: 100%; }
.mf-seq canvas, .mf-seq .bild img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.mf-seq canvas { display: none; }
.mf-seq.an canvas { display: block; }
.mf-seq.an .bild img { display: none; }
.mf-seq .mf-dim { left: 24px; bottom: 24px; }
.mf-seq.scrub { height: 300vh; }
.mf-seq.scrub .stage { position: sticky; top: 0; height: 100vh; }
.mf-seq.scrub .bild { height: 100vh; }
.mf-seq.scrub canvas, .mf-seq.scrub .bild img { height: 100vh; aspect-ratio: auto; }
@media (max-width: 860px) {
  .mf-seq .stage { grid-template-columns: 1fr; }
  .mf-seq .copy { padding: clamp(40px, 6vw, 72px) var(--gutter) 32px; }
  .mf-seq .beat { opacity: 1; }
}

/* ===== Materialseite: Dekor-Kacheln anklickbar, Großansicht als Dialog (dekore.js, 28.10.2026) ===== */
.mf-dekor-grid button.dk { all: unset; display: block; width: 100%; cursor: pointer; border-radius: 2px; transition: transform .25s ease, box-shadow .25s ease; }
.mf-dekor-grid button.dk:hover, .mf-dekor-grid button.dk:focus-visible { transform: translateY(-3px) scale(1.035); box-shadow: 0 12px 28px rgba(28,27,25,.2); }
.mf-dekor-grid button.dk:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.dk-dialog { border: 0; padding: 0; margin: auto; background: var(--paper); color: var(--ink); width: min(960px, calc(100vw - 32px)); max-height: calc(100vh - 32px); border-radius: 2px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.dk-dialog::backdrop { background: rgba(28,27,25,.6); }
.dk-dialog .dk-inhalt { display: grid; grid-template-columns: minmax(0, 1fr) 320px; height: min(640px, calc(100vh - 32px)); }
.dk-bild { background: var(--paper-2); min-height: 0; }
.dk-bild img, .dk-bild i { display: block; width: 100%; height: 100%; object-fit: cover; }
.dk-bild [hidden] { display: none !important; }
.dk-meta { padding: 36px 32px 28px; display: flex; flex-direction: column; gap: 10px; min-height: 0; overflow: auto; }
.dk-meta h3 { margin: 6px 0 0; font: 400 1.9rem/1.1 var(--serif); }
.dk-meta code { font: 400 .78rem/1.5 var(--mono); color: var(--muted); }
.dk-meta p { margin: 8px 0 0; color: var(--ink-2); font-size: .95rem; line-height: 1.5; }
.dk-meta .acts { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.dk-nav { margin-top: auto; padding-top: 22px; display: flex; align-items: center; justify-content: space-between; font: 400 .78rem/1 var(--mono); color: var(--muted); }
.dk-nav button, .dk-close { all: unset; cursor: pointer; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 50%; font-size: 1.1rem; color: var(--ink); }
.dk-nav button:hover, .dk-close:hover { background: var(--paper-2); }
.dk-close { position: absolute; top: 12px; right: 12px; background: rgba(246,241,232,.9); }
@media (max-width: 760px) {
  .dk-dialog { overflow: auto; }
  .dk-dialog .dk-inhalt { grid-template-columns: 1fr; height: auto; }
  .dk-bild img, .dk-bild i { height: auto; aspect-ratio: 4 / 3; }
  .dk-meta { overflow: visible; }
  .dk-meta { padding: 24px 20px 20px; }
}

/* ===== Musterseite: alle Dekore des Konfigurators als Auswahl (28.10.2026) ===== */
#muster-auswahl .swatch-h { margin: 22px 0 10px; font: 500 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--messing); }
#muster-auswahl .swatches { grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 12px 10px; }
#muster-auswahl .swatch i { background-size: cover; background-position: center; }
#muster-auswahl .swatch b { font-size: .78rem; line-height: 1.25; }
#muster-auswahl .swatch small { font: 400 .62rem/1.4 var(--mono); color: var(--muted); margin-top: 2px; }
#muster-auswahl .swatch input:checked ~ span i { border-color: var(--ink); transform: scale(.96); }
#muster-auswahl .swatch input:disabled ~ span { opacity: .45; }
#muster-auswahl .swatch input:focus-visible ~ span i { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ===== Handwerk: der Weg des Möbels in vier Stationen (28.10.2026) ===== */
.mf-weg .mf-station { margin-top: clamp(40px, 6vw, 80px); }
.mf-weg .mf-station .num { display: block; font: 400 1.5rem/1 var(--serif); color: var(--messing); margin-bottom: 14px; }
.mf-weg .mf-station h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 8px 0 14px; }
.mf-weg .mf-station .lead { margin: 0; }
.mf-weg .mf-station .price { display: block; margin-top: 16px; font: 400 .85rem/1.4 var(--mono); color: var(--ink); }
.mf-stand .actions { display: flex; justify-content: center; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 28px; }

/* Elemente mit hidden bleiben unsichtbar, auch wenn eine Klasse display setzt (28.10.2026) */
[hidden] { display: none !important; }

/* ===== „Was im Preis steckt“: sechs Punkte, Möbelseiten und Startseite (28.10.2026) ===== */
.mf-impreis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; margin-top: clamp(28px, 4vw, 44px); }
.mf-impreis > div { border-top: 1px solid var(--ink); padding-top: 18px; }
.mf-impreis .num { display: block; font: 400 1.5rem/1 var(--serif); color: var(--messing); margin-bottom: 12px; }
.mf-impreis h3 { font-size: 1.15rem; margin: 0 0 8px; }
.mf-impreis p { margin: 0; color: var(--ink-2); font-size: .97rem; line-height: 1.55; }
.mf-stand .mf-impreis { text-align: left; margin-top: clamp(40px, 6vw, 64px); }
.mf-stand .mf-impreis-h { margin: clamp(40px, 6vw, 64px) 0 0; font: 500 .7rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--messing); }
@media (max-width: 860px) { .mf-impreis { grid-template-columns: 1fr; gap: 22px; } }

/* ===== Dankeseite nach der Bestellung (28.10.2026) ===== */
.danke-wrap { max-width: 720px; }
.danke h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.08; margin: 0 0 16px; }
.danke h1:focus { outline: none; }
.danke .danke-nr { font-family: var(--mono, monospace); font-size: .78em; color: var(--messing); white-space: nowrap; }
.danke .lead { font-size: 1.1rem; color: var(--ink-2); }
.danke-schritte { margin: 28px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.danke-schritte li { counter-increment: s; position: relative; padding: 16px 0 0 52px; border-top: 1px solid var(--ink); line-height: 1.5; }
.danke-schritte li::before { content: "0" counter(s); position: absolute; left: 0; top: 16px; font: 400 1.3rem/1 var(--serif); color: var(--messing); }
.danke .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.danke-fuss { margin-top: 40px; font-size: .92rem; }

/* Matomo-Widerspruch in der Datenschutzerklärung */
.matomo-opt-out { margin: 0 0 1.2rem; padding: 1rem 1.2rem; border: 1px solid var(--line, #d9d2c5); border-radius: 8px; font-size: 0.95rem; }
.matomo-opt-out input { margin-right: 0.5rem; }
