/* Fussmarke – Website. Schrift Archivo (selbst gehostet, OFL), keine Cookies, keine externen Dienste.
   Gestaltung: Sportmarken-Look – breite Archivo-Überschriften, Marineblau, Signalrot, viel Weiß. */
@font-face { font-family: "Archivo"; src: url("fonts/archivo-latin-ext.woff2") format("woff2"); 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+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: "Archivo"; src: url("fonts/archivo-latin.woff2") format("woff2"); 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; }

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f2f4f7;
  --ink: #0d1526;
  --muted: #59647a;
  --line: #dde2ea;
  --navy: #14284b;
  --logo: #14284b;
  --accent: #1d3b6e;
  --accent-soft: #e8eef8;
  --cta: #d02a20;
  --cta-hover: #b3221a;
  --on-dark: #ffffff;
  --sock-a: #1d3b6e;
  --stripe: #d02a20;
  --gratis: #0b6b3a;
  --gratis-soft: #e7f4ec;
  --on-gratis: #ffffff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(13, 21, 38, .06), 0 14px 40px rgba(13, 21, 38, .08);
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1120; --surface: #121a2c; --surface-2: #0f1729; --ink: #eef2f8; --muted: #a3adbf; --line: #26314a;
    --navy: #0a1426; --logo: #eef2f8; --accent: #9dbaf0; --accent-soft: #18243d; --cta: #e3382d; --cta-hover: #f04b40; --sock-a: #6f93d6; --stripe: #f05a4f;
    --gratis: #7fdba5; --gratis-soft: #10291c; --on-gratis: #0b1120;
    --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 14px 40px rgba(0, 0, 0, .35); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b1120; --surface: #121a2c; --surface-2: #0f1729; --ink: #eef2f8; --muted: #a3adbf; --line: #26314a;
  --navy: #0a1426; --logo: #eef2f8; --accent: #9dbaf0; --accent-soft: #18243d; --cta: #e3382d; --cta-hover: #f04b40; --sock-a: #6f93d6; --stripe: #f05a4f;
    --gratis: #7fdba5; --gratis-soft: #10291c; --on-gratis: #0b1120;
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 14px 40px rgba(0, 0, 0, .35); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--font); overflow-x: hidden; }
img, svg, video { max-width: 100%; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--cta); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0 0 .45em; font-weight: 800; font-stretch: 115%; line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5.6vw, 4.4rem); }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); } }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }
.lead { font-size: 1.14rem; color: var(--muted); max-width: 42em; }
.kicker, .eyebrow { font-size: .8rem; font-weight: 700; font-stretch: 112%; letter-spacing: .1em; text-transform: uppercase; color: var(--cta); margin-bottom: .9em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; background: var(--surface); padding: 8px 12px; z-index: 20; }
section { padding-block: 84px; }
@media (max-width: 759px) { section { padding-block: 56px; } }
.band { background: var(--surface-2); }
.sec-head { margin-bottom: 36px; }
.sec-head .lead { margin-bottom: 0; }

/* Leiste ganz oben und Kopfzeile */
.topbar { background: var(--navy); color: var(--on-dark); font-size: .82rem; font-weight: 600; font-stretch: 110%; letter-spacing: .03em; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; padding-block: 8px; }
.topbar span + span::before { content: "·"; margin-right: 22px; opacity: .6; }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10; background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 1.35rem; font-weight: 800; font-stretch: 118%; letter-spacing: -.02em; }
.logo svg { width: 30px; height: 30px; }
.logo .s1 { fill: var(--sock-a); }
.logo .s2 { fill: var(--stripe); }
.nav { display: flex; align-items: center; gap: 26px; font-size: .95rem; font-weight: 600; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; }
.nav a:not(.btn):hover { color: var(--cta); }
.nav .hide-s { display: none; }
@media (min-width: 960px) { .nav .hide-s { display: inline; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 10px; border: 0; background: var(--cta); color: #fff; font: 700 1rem/1.2 var(--font); font-stretch: 108%; text-decoration: none; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--cta-hover); color: #fff; }
.btn:active { transform: translateY(1px); }
.btn-s { padding: 10px 16px; font-size: .92rem; }
.btn-lg { padding: 17px 28px; font-size: 1.08rem; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.btn-ghost:hover { background: var(--accent-soft); color: var(--accent); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Hero mit Konfigurator */
.hero { padding-block: 44px 72px; background: linear-gradient(180deg, var(--surface-2), var(--bg) 70%); }
.hero-head { display: grid; gap: 14px; margin-bottom: 34px; }
.hero-head .lead { margin-bottom: 0; }
.hero h1 { margin-bottom: 0; font-size: clamp(2.2rem, 4.7vw, 3.9rem); }
.hl { color: var(--cta); }
.config-grid { display: grid; gap: 28px; align-items: start; }
.config-grid > * { min-width: 0; }
@media (min-width: 1000px) { .config-grid { grid-template-columns: 1.08fr .92fr; gap: 40px; } .viewer-col { position: sticky; top: 90px; } }

.viewer { position: relative; height: clamp(360px, 64vh, 640px); border-radius: 24px; overflow: hidden; background: radial-gradient(120% 90% at 50% 30%, #ffffff 0%, #eef1f6 55%, #dfe5ee 100%); box-shadow: inset 0 0 0 1px var(--line); }
:root[data-theme="dark"] .viewer { background: radial-gradient(120% 90% at 50% 30%, #2a3550 0%, #1a2338 60%, #121a2c 100%); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .viewer { background: radial-gradient(120% 90% at 50% 30%, #2a3550 0%, #1a2338 60%, #121a2c 100%); } }
.viewer canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: grab; }
.viewer.is-dragging canvas { cursor: grabbing; }
.viewer-badge { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 12px; border-radius: 999px; background: rgba(13, 21, 38, .82); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .03em; pointer-events: none; }
.viewer-ctrl { position: absolute; top: 12px; right: 12px; z-index: 2; display: flex; gap: 8px; }
.viewer-ctrl button { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.1rem; cursor: pointer; box-shadow: var(--shadow); }
.viewer-drop { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2; display: flex; align-items: center; gap: 10px; width: max-content; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 999px; background: var(--surface); border: 2px dashed var(--accent); color: var(--ink); font-size: .9rem; cursor: pointer; box-shadow: var(--shadow); }
.viewer-drop.is-over, .dropzone.is-over { border-color: var(--cta); background: var(--accent-soft); }
.drop-icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--cta); color: #fff; font-weight: 800; flex: none; }
.viewer-fallback { display: none; position: absolute; inset: 0; place-items: center; text-align: center; padding: 24px; color: var(--muted); }
.viewer.is-empty .viewer-fallback { display: grid; }
.viewer.is-empty .viewer-ctrl, .viewer.is-empty .viewer-badge { display: none; }
.viewer-note { margin: 10px 4px 0; font-size: .85rem; color: var(--muted); }

/* Konfigurator-Schritte */
form.steps { display: grid; gap: 14px; }
.step { margin: 0; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); display: grid; gap: 14px; }
.step legend { float: left; width: 100%; display: flex; align-items: center; gap: 10px; padding: 0; font-weight: 800; font-stretch: 112%; font-size: 1.08rem; margin-bottom: 2px; }
.step legend + * { clear: both; }
.no { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .9rem; }
:root[data-theme="dark"] .no { background: var(--accent); color: var(--bg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .no { background: var(--accent); color: var(--bg); } }
.row-label { display: block; font-size: .85rem; font-weight: 700; color: var(--muted); margin: 0 0 8px; }
.opts { display: grid; gap: 10px; }
.opts-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.opts-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; height: 100%; padding: 12px 8px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); transition: border-color .15s, background .15s; }
.opt-card b { font-weight: 800; font-stretch: 108%; font-size: .98rem; }
.opt-card small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.opt:hover .opt-card { border-color: var(--accent); }
.opt input:checked + .opt-card { border: 2px solid var(--accent); background: var(--accent-soft); padding: 11.5px 7.5px; }
.opt input:focus-visible + .opt-card { outline: 3px solid var(--cta); outline-offset: 2px; }
.sil { width: 52px; height: 52px; margin-bottom: 4px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linejoin: round; }
.pack-card { align-items: stretch; text-align: left; padding: 10px; }
.opt input:checked + .pack-card { padding: 9.5px; }
.pack-card b, .pack-card small { padding-inline: 2px; }
.incl { color: var(--cta) !important; font-weight: 700; }
.pack-media { height: 74px; border-radius: 8px; margin-bottom: 8px; }
.pack-media svg { position: absolute; inset: 0; margin: auto; width: 56px; height: 36px; fill: none; stroke: #ffffff; stroke-width: 2; opacity: .9; z-index: 1; }
.pack-media.has-media svg { display: none; }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 600; font-size: .95rem; }
.switch small { color: var(--muted); font-weight: 500; }
.switch input { position: absolute; opacity: 0; }
.switch-ui { flex: none; width: 44px; height: 26px; border-radius: 999px; background: var(--line); position: relative; transition: background .15s; }
.switch-ui::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .15s; }
.switch input:checked + .switch-ui { background: var(--cta); }
.switch input:checked + .switch-ui::after { transform: translateX(18px); }
.switch input:focus-visible + .switch-ui { outline: 3px solid var(--cta); outline-offset: 2px; }
.seg { display: inline-flex; padding: 4px; gap: 4px; border-radius: 12px; background: var(--surface-2); width: max-content; max-width: 100%; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 8px 16px; border-radius: 9px; font-weight: 700; font-size: .92rem; }
.seg input:checked + span { background: var(--surface); box-shadow: var(--shadow); color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--cta); }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.swatches button { width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid rgba(13, 21, 38, .18); background: var(--c); cursor: pointer; }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--accent); }
.swatch-custom { position: relative; width: 32px; height: 32px; border-radius: 50%; background: conic-gradient(#e74c3c, #f1c40f, #2ecc71, #3498db, #9b59b6, #e74c3c); cursor: pointer; }
.swatch-custom input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; border: 0; padding: 0; }
.logo-row { display: grid; gap: 10px; }
.dropzone { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 2px dashed var(--line); border-radius: 12px; cursor: pointer; background: var(--surface-2); }
.dropzone:hover { border-color: var(--accent); }
.dropzone b { display: block; }
.dropzone small { color: var(--muted); font-size: .82rem; }
.logo-row:has(#k-logo:focus-visible) .dropzone { outline: 3px solid var(--cta); outline-offset: 2px; }
.logo-chip { display: none; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 12px; border-radius: 10px; background: var(--accent-soft); font-size: .9rem; font-weight: 600; }
.has-logo .logo-chip { display: flex; }
.logo-chip button { border: 0; background: none; color: var(--cta); font: inherit; cursor: pointer; }
.qty-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips button { padding: 8px 12px; border-radius: 9px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 700 .92rem var(--font); cursor: pointer; font-variant-numeric: tabular-nums; }
.chips button[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
#k-menge { width: 110px; flex: none; }
.staffel { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-variant-numeric: tabular-nums; }
.staffel li { display: grid; padding: 6px 10px; border-radius: 9px; background: var(--surface-2); font-size: .78rem; color: var(--muted); line-height: 1.3; }
.staffel li strong { color: var(--ink); font-size: .9rem; }
.staffel li.aktiv { background: var(--navy); color: rgba(255, 255, 255, .8); }
.staffel li.aktiv strong { color: #fff; }
.date-row input { max-width: 240px; }

/* Zusammenfassung: dunkle Preiskarte */

/* Fakten-Leiste */
.trustbar { padding-block: 34px; border-block: 1px solid var(--line); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts div { display: grid; gap: 2px; }
.facts dt { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; font-stretch: 115%; color: var(--accent); line-height: 1.05; }
.facts dd { margin: 0; color: var(--muted); font-size: .92rem; }

/* Platzhalter nur in Vorschau und lokal */
.nur-vorschau { display: none; }
.show-ph .nur-vorschau { display: block; }
.ph-note { font-size: .82rem; color: var(--muted); border-left: 3px solid var(--cta); padding-left: 10px; }
.logos { padding-block: 28px; }
.logo-row-ph { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 12px; }
.logo-row-ph span { display: grid; place-items: center; height: 56px; border-radius: 10px; border: 1.5px dashed var(--line); color: var(--muted); font-size: .85rem; }

/* Argumente auf Marine */
.why { background: var(--navy); color: #fff; }
.why h2 { max-width: 18em; }
.why-grid { display: grid; gap: 28px; margin-top: 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.why h3 { font-size: clamp(1.4rem, 2.1vw, 1.75rem); color: #fff; overflow-wrap: anywhere; hyphens: auto; }
.why-grid > div { border-top: 3px solid var(--cta); padding-top: 16px; }
.why p { color: rgba(255, 255, 255, .78); margin: 0; }

/* Medien: Bild/Video oder gestalteter Platzhalter */
.media { position: relative; display: block; margin: 0; overflow: hidden; border-radius: 14px; background-color: #1d3b6e;
  background-image: repeating-linear-gradient(135deg, rgba(255, 255, 255, .06) 0 6px, transparent 6px 12px), linear-gradient(160deg, #1d3b6e, #0f1f3d); }
.media > img, .media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.show-ph .media.is-empty::after { content: "Platzhalter · " attr(data-label); position: absolute; left: 10px; bottom: 10px; right: 10px; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .45); color: #fff; font-size: .78rem; line-height: 1.35; }
.show-ph .pack-media.is-empty::after { content: attr(data-label); font-size: .64rem; left: 6px; right: 6px; bottom: 6px; padding: 2px 6px; }

.slider { position: relative; }
.slides { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: 18px; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; aspect-ratio: 16 / 9; scroll-snap-align: start; }
@media (min-width: 900px) { .slide { flex-basis: 78%; } }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
.slider-nav > button { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font-size: 1.4rem; cursor: pointer; }
.dots { display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; }
.dots button[aria-current="true"] { background: var(--cta); width: 26px; border-radius: 999px; }

/* Anlässe */
.occasions { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.occ { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: var(--surface); color: var(--ink); text-decoration: none; box-shadow: var(--shadow); transition: transform .2s; }
.occ:hover { transform: translateY(-3px); color: var(--ink); }
.occ .media { aspect-ratio: 4 / 3; border-radius: 0; }
.occ-body { display: grid; gap: 6px; padding: 18px 18px 22px; }
.occ-body b { font-size: 1.15rem; font-weight: 800; font-stretch: 110%; }
.occ-body span { color: var(--muted); font-size: .95rem; }

/* Ablauf */
.split { display: grid; gap: 40px; align-items: center; }
.split > * { min-width: 0; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; } }
.steps-list { counter-reset: s; list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.steps-list li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; }
.steps-list li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-size: 1.9rem; font-weight: 800; font-stretch: 120%; color: var(--cta); line-height: 1; }
.steps-list b { font-size: 1.1rem; }
.steps-list span { color: var(--muted); }
.video-box { aspect-ratio: 16 / 10; }

/* Zusagen, Stimmen, Steuer */
.promise-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.promise { padding: 24px; border-radius: var(--radius); background: var(--surface); border-top: 4px solid var(--cta); box-shadow: var(--shadow); }
.promise b { display: block; font-size: 1.15rem; font-weight: 800; font-stretch: 110%; margin-bottom: 8px; }
.promise p { margin: 0; color: var(--muted); }
.quote-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.quote-grid blockquote { margin: 0; padding: 24px; border-radius: var(--radius); border: 1.5px dashed var(--line); }
.quote-grid footer { color: var(--muted); font-size: .9rem; }

/* FAQ */
/* Fragen: Überschrift und Kontakt links (mitlaufend), Antworten rechts */
.faq-layout { display: grid; gap: 24px 64px; }
@media (min-width: 900px) { .faq-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); align-items: start; } .faq-intro { position: sticky; top: 104px; } }
.faq-intro h2 { margin: 0 0 12px; }
.faq-intro p { margin: 0 0 18px; color: var(--muted); max-width: 30em; }
.faq-intro .faq-kontakt { margin: 0; padding: 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); font-size: .92rem; line-height: 1.5; }
.faq-kontakt b { display: block; margin-bottom: 2px; }
.faq-kontakt a { font-weight: 700; overflow-wrap: anywhere; }
.faq { max-width: 860px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.02rem; padding: 16px 36px 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); line-height: 1; font-size: 1.6rem; color: var(--cta); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

/* Anfrage */
.cta-section { background: linear-gradient(180deg, var(--bg), var(--surface-2)); }
.cta-section .split { align-items: start; }
.contact { display: flex; gap: 14px; align-items: center; margin: 24px 0 14px; }
.avatar { flex: none; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-weight: 800; font-stretch: 115%; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); }
@media (min-width: 760px) { .form-card { padding: 34px; } }
.fields { display: grid; gap: 16px; }
.fields > * { min-width: 0; }
@media (min-width: 640px) { .fields { grid-template-columns: 1fr 1fr; } .fields .full { grid-column: 1 / -1; } }
label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 6px; }
label .opt { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 13px; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
input[type="file"] { padding: 9px; border-style: dashed; background: var(--surface-2); color: var(--muted); font-size: .9rem; cursor: pointer; }
input[type="file"]::file-selector-button { margin-right: 12px; padding: 8px 14px; border: 0; border-radius: 8px; background: var(--accent); color: var(--bg); font: 700 .88rem var(--font); cursor: pointer; }
/* Auswahl als Chips im Formular (Anlass, Menge) und zweiter Formularabschnitt */
.chip-feld { margin: 0; padding: 0; border: 0; min-width: 0; }
.chip-feld legend { padding: 0; margin-bottom: 8px; font-weight: 700; font-size: .92rem; }
.form-titel.form-titel-folge { margin-top: 30px; padding-top: 24px; border-top: 1px solid var(--line); }
legend .opt { font-weight: 400; color: var(--muted); }
textarea { min-height: 110px; resize: vertical; }
select { min-height: calc(1.6em + 25px); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; margin-top: 22px; }
.form-foot p { margin: 0; max-width: 30em; }
.status { margin: 16px 0 0; border-radius: 10px; font-weight: 700; }
.status:not(:empty) { padding: 12px 16px; }
.status[data-type="info"] { background: var(--accent-soft); }
.status[data-type="error"] { background: color-mix(in srgb, var(--cta) 16%, transparent); }
.ph { background: color-mix(in srgb, var(--cta) 22%, transparent); color: inherit; padding: 0 .25em; border-radius: 4px; }
.note { border-left: 4px solid var(--cta); background: var(--surface); padding: 14px 18px; border-radius: 0 10px 10px 0; }

/* Unterseiten (Marketing, HR) */
.hero .eyebrow + h1 { margin-bottom: .4em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 8px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 28px; }
.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--cta); font-weight: 800; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.grid > * { min-width: 0; }
.tile { border-top: 3px solid var(--cta); padding-top: 16px; }
.tile .ico { width: 30px; height: 30px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 12px; }
.tile p { margin: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.pack { display: flex; flex-direction: column; }
.pack.featured { border: 2px solid var(--accent); position: relative; }
.badge { position: absolute; top: -13px; left: 24px; background: var(--cta); color: #fff; font-size: .78rem; font-weight: 700; padding: 4px 12px; border-radius: 6px; }
.price { font-size: 2.1rem; font-weight: 800; font-stretch: 110%; margin: .2em 0 0; font-variant-numeric: tabular-nums; }
.price small { font-size: .9rem; font-weight: 400; color: var(--muted); }
.tiers { list-style: none; padding: 0; margin: 14px 0 4px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.tiers li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.tiers li span:last-child { font-weight: 700; }
.pack ul.incl { padding-left: 1.1em; margin: 14px 0 20px; color: var(--ink) !important; font-weight: 400; }
.pack .btn { margin-top: auto; }
ol.steps { counter-reset: step; display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); list-style: none; padding: 0; margin: 32px 0 0; }
ol.steps li { counter-increment: step; display: grid; gap: 4px; align-content: start; }
ol.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; margin-bottom: 8px; }
.legal { max-width: 760px; padding-block: 48px 64px; }
.legal h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.legal h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal address { font-style: normal; }

/* Fußzeile und fester Button auf dem Handy */
.site-footer { border-top: 1px solid var(--line); padding-block: 36px 44px; font-size: .92rem; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.site-footer a { color: var(--muted); }
.mobile-cta { display: none; }
@media (max-width: 759px) {
  .mobile-cta { display: flex; position: fixed; z-index: 15; left: max(12px, env(safe-area-inset-left, 0px)); right: max(12px, env(safe-area-inset-right, 0px)); bottom: calc(12px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 10px 30px rgba(208, 42, 32, .35); }
  .mobile-cta.away { display: none; }
  body { padding-bottom: 84px; }
  .opts-3 { gap: 8px; }
  .opt-card { padding: 10px 4px; }
  .sil { width: 42px; height: 42px; }
  .viewer { height: 58vh; min-height: 340px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .occ, .btn, .switch-ui::after { transition: none; } }

/* Viewer: Socke und Verpackung als Ebenen, Umschalter oben links */
.viewer > .layer { position: absolute; inset: 0; }
.viewer:has(#socke-3d.is-empty) .viewer-fallback { display: grid; }
.viewer-tabs { position: absolute; top: 14px; left: 14px; z-index: 3; display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(13, 21, 38, .82); }
.viewer-tabs button { border: 0; background: transparent; color: rgba(255, 255, 255, .82); font: 700 .85rem var(--font); padding: 7px 14px; border-radius: 9px; cursor: pointer; }
.viewer-tabs button[aria-pressed="true"] { background: #fff; color: #0d1526; }
.viewer-ctrl .btn { width: auto; height: auto; border: 0; border-radius: 10px; background: var(--cta); color: #fff; font-size: .88rem; padding: 10px 14px; }

/* Verpackung als Symbolkarten */
.pack-card { align-items: center; text-align: center; padding: 14px 10px; }
.opt input:checked + .pack-card { padding: 13.5px 9.5px; }
.pack-ico { width: 64px; height: 44px; margin: 2px auto 8px; fill: none; stroke: var(--accent); stroke-width: 2; stroke-linejoin: round; }
.opt input:checked + .pack-card .pack-ico { stroke: var(--cta); }

/* Mengenleiste */
.leiste { padding-top: 4px; }
#k-leiste { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; margin: 10px 0 0; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: linear-gradient(90deg, var(--cta) 0 var(--fill, 50%), var(--line) var(--fill, 50%) 100%); }
#k-leiste:focus { box-shadow: none; }
#k-leiste:focus-visible { outline: 3px solid var(--cta); outline-offset: 6px; }
#k-leiste::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--cta); box-shadow: 0 2px 8px rgba(13, 21, 38, .25); cursor: grab; }
#k-leiste::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--cta); box-shadow: 0 2px 8px rgba(13, 21, 38, .25); cursor: grab; }
.ticks { display: flex; justify-content: space-between; padding: 0 13px; margin-top: 10px; font-size: .74rem; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }
.ticks span { width: 0; display: flex; justify-content: center; white-space: nowrap; }
@media (max-width: 480px) { .ticks span:nth-child(even) { visibility: hidden; } }
.qty-row .row-label { margin: 0; }

/* Handy: nichts darf breiter als der Bildschirm werden */
fieldset, .step { min-width: 0; }
.seg { display: flex; flex-wrap: wrap; width: auto; }
.opt-card b, .opt-card small { overflow-wrap: anywhere; hyphens: auto; }
@media (max-width: 480px) {
  .seg span { padding: 8px 11px; font-size: .88rem; }
  .opt-card b { font-size: .9rem; }
  .step { padding: 16px; }
}
@media (max-width: 759px) { .viewer { max-height: 520px; } }
/* versteckte Auswahlfelder dürfen keine Breite erzeugen */
.opt input, .seg input, .switch input { width: 1px; height: 1px; margin: 0; padding: 0; border: 0; }
.seg label, .switch { position: relative; }

/* Obere Leiste auf dem Handy: ohne Trennpunkte am Zeilenanfang */
@media (max-width: 600px) { .topbar .wrap { gap: 2px 14px; } .topbar span + span::before { display: none; } }

/* Designauswahl als Vorschau-Kacheln in den Kundenfarben (--g Grund, --a Akzent) */
.muster-grid { --g: #ffffff; --a: #1d3b6e; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.mtile { position: relative; cursor: pointer; display: grid; gap: 4px; justify-items: center; margin: 0; }
.mtile input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.m-vorschau { width: 100%; height: 46px; border-radius: 10px; border: 1px solid var(--line); background: var(--g); }
.m-name { font-size: .78rem; font-weight: 600; color: var(--muted); text-align: center; }
.mtile input:checked + .m-vorschau { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--cta); }
.mtile input:checked ~ .m-name { color: var(--ink); }
.mtile input:focus-visible + .m-vorschau { outline: 3px solid var(--cta); outline-offset: 3px; }
.m-streifen { background: linear-gradient(var(--g) 0 26%, var(--a) 26% 38%, var(--g) 38% 50%, var(--a) 50% 62%, var(--g) 62%); }
.m-ringel { background: repeating-linear-gradient(var(--a) 0 6px, var(--g) 6px 12px); }
.m-punkte { background: radial-gradient(circle, var(--a) 0 3px, transparent 3.5px) 0 0 / 12px 12px, radial-gradient(circle, var(--a) 0 3px, transparent 3.5px) 6px 6px / 12px 12px, var(--g); }
.m-karo { background: linear-gradient(45deg, var(--a) 25%, transparent 25% 75%, var(--a) 75%) 0 0 / 18px 24px, linear-gradient(-45deg, var(--a) 25%, transparent 25% 75%, var(--a) 75%) 0 0 / 18px 24px, var(--g); }
.m-diagonal { background: repeating-linear-gradient(45deg, var(--a) 0 4px, var(--g) 4px 12px); }
.m-block { background: linear-gradient(var(--g) 0 50%, var(--a) 50%); }
.m-logos { position: relative; overflow: hidden; }
.m-logos::before { content: "LOGO LOGO LOGO LOGO LOGO LOGO"; position: absolute; inset: 4px 6px; color: var(--a); font: 800 .6rem/1.5 var(--font); letter-spacing: .04em; word-spacing: 6px; }
@media (max-width: 420px) { .muster-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; } .m-name { font-size: .7rem; } }
.logo-opts { display: flex; flex-wrap: wrap; gap: 12px 20px; }
.logo-hinweis { margin: 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--cta) 12%, transparent); font-size: .86rem; }

/* Vorteilsband: auffällig auf Marine, mit Symbolen */
.proof { position: relative; background: var(--navy); color: #fff; padding-block: 46px; overflow: hidden; }
.proof::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 8px, transparent 8px 16px); pointer-events: none; }
.proof-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-item { display: grid; gap: 6px; align-content: start; padding: 6px 26px; border-left: 1px solid rgba(255, 255, 255, .16); }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--cta); margin-bottom: 6px; }
.proof-ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.proof-item strong { font-size: clamp(1.55rem, 2.6vw, 2.15rem); font-weight: 800; font-stretch: 115%; line-height: 1.05; }
.proof-item > span:last-child { color: rgba(255, 255, 255, .76); font-size: .95rem; }
@media (max-width: 900px) {
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .proof-item:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 480px) { .proof-item { padding: 4px 14px; } .proof-item:nth-child(odd) { padding-left: 0; } }
/* Argumente danach hell, damit sich die beiden Bänder nicht vermischen */
.why { background: var(--surface-2); color: var(--ink); }
.why h3 { color: var(--ink); }
.why p { color: var(--muted); }

/* Startseite: kompakter Kopfbereich mit zwei Wegen und gerenderter Socke */
.hero-home { padding-block: 52px 64px; }
.hero-grid2 { display: grid; gap: 34px; align-items: center; }
.hero-grid2 > * { min-width: 0; }
@media (min-width: 960px) { .hero-grid2 { grid-template-columns: 1.12fr .88fr; } }
.hero-home h1 { font-size: clamp(2.2rem, 4.8vw, 4rem); }
.hero-home .cta-row { margin-top: 26px; }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: .92rem; }
.hero-visual { position: relative; display: block; width: 100%; max-width: 540px; justify-self: center; aspect-ratio: 1; border-radius: 28px; overflow: hidden;
  background: radial-gradient(70% 70% at 50% 42%, #ffffff 0%, #eaeef4 68%, #dfe5ee 100%); box-shadow: inset 0 0 0 1px var(--line); }
.hero-visual img { position: absolute; left: 6%; top: 5%; width: 88%; height: auto; transition: transform .4s ease; }
.hero-visual:hover img { transform: rotate(-2deg) scale(1.03); }
.hero-chip { position: absolute; z-index: 1; padding: 9px 15px; border-radius: 999px; font-size: .9rem; font-weight: 700; box-shadow: 0 6px 20px rgba(13, 21, 38, .14); }
.hero-chip-preis { top: 18px; left: 18px; background: #fff; color: #0d1526; }
.hero-chip-3d { right: 18px; bottom: 18px; background: var(--cta); color: #fff; }
@media (prefers-reduced-motion: reduce) { .hero-visual img { transition: none; } }

/* Designgalerie */
.design-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 760px) { .design-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.design-card { display: grid; gap: 10px; color: var(--ink); text-decoration: none; text-align: center; font-weight: 700; font-stretch: 108%; }
.design-card img { width: 100%; height: auto; border-radius: 18px; background: #f2f4f7; box-shadow: inset 0 0 0 1px var(--line); transition: transform .2s ease, box-shadow .2s ease; }
.design-card:hover img { transform: translateY(-4px); box-shadow: var(--shadow); }
.design-card:hover { color: var(--cta); }
.design-cta { margin-top: 32px; }
.hero-konfig { padding-top: 34px; }
.hero-home h1 { font-size: clamp(2.1rem, 3.9vw, 3.25rem); }

/* Konfigurator: Hinweis unter dem Button */

/* Abschluss des Konfigurators: Zusammenfassung links, nur noch Kontaktdaten rechts */
.abschluss { background: var(--surface-2); border-top: 1px solid var(--line); }
.abschluss-head { max-width: 46em; margin-bottom: 28px; }
.abschluss-head h2 { margin-top: 0; }
.abschluss-grid { display: grid; gap: 24px; align-items: start; }
.abschluss-grid > * { min-width: 0; }
@media (min-width: 960px) { .abschluss-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 36px; } .recap { position: sticky; top: 90px; } }
.recap { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.recap-bild { aspect-ratio: 4 / 3; display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 30%, #ffffff 0%, #eef1f6 55%, #dfe5ee 100%); }
.recap-bild img { width: 100%; height: 100%; object-fit: contain; }
.recap-ph { color: #8a94a6; font-weight: 700; font-size: .9rem; }
.recap-body { padding: 20px 22px 22px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.recap-body h3 { margin: 0; font-size: 1.1rem; font-weight: 800; font-stretch: 112%; }
.recap-liste { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 18px; font-size: .92rem; line-height: 1.4; }
.recap-liste dt { color: var(--muted); }
.recap-liste dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.recap-liste .warn { color: var(--cta); font-weight: 700; font-size: .85rem; }
.farbpunkt { display: inline-block; width: 13px; height: 13px; margin-left: 4px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(13, 21, 38, .22); vertical-align: -2px; }
.recap-aendern { justify-self: start; font-weight: 700; font-size: .92rem; }
.form-titel { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-weight: 800; font-stretch: 112%; font-size: 1.08rem; letter-spacing: 0; line-height: 1.3; }
.anlass-wahl { margin: 0; padding: 0; border: 0; min-width: 0; }
.anlass-wahl legend { padding: 0; font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.chip-wahl { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-wahl label { position: relative; margin: 0; font-weight: 600; cursor: pointer; }
.chip-wahl input { position: absolute; opacity: 0; width: 1px; height: 1px; padding: 0; }
.chip-wahl span { display: block; padding: 8px 13px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font-size: .9rem; transition: border-color .15s, background .15s; }
.chip-wahl label:hover span { border-color: var(--accent); }
.chip-wahl input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
:root[data-theme="dark"] .chip-wahl input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--bg); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .chip-wahl input:checked + span { border-color: var(--accent); background: var(--accent); color: var(--bg); } }
.chip-wahl input:focus-visible + span { outline: 3px solid var(--cta); outline-offset: 2px; }
.mehr summary { cursor: pointer; font-weight: 700; font-size: .92rem; color: var(--accent); }
.mehr[open] summary { margin-bottom: 14px; }
.mehr-inhalt { display: grid; gap: 16px; }
.datei-hinweis { margin: 8px 0 0; font-size: .85rem; color: var(--muted); }
.datei-hinweis.warn { color: var(--cta); font-weight: 700; }
.form-foot-abschluss { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 10px; }
.form-foot-abschluss p { max-width: none; text-align: center; }
.ansprechpartner { display: flex; gap: 12px; align-items: center; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.ansprechpartner .avatar { width: 46px; height: 46px; font-size: .85rem; }
.ansprechpartner p { margin: 0; }
@media (max-width: 959px) { .recap-bild { aspect-ratio: 16 / 9; } }
.feld-hinweis { display: block; margin-top: 6px; font-size: .82rem; color: var(--muted); }

/* Logo in Großbuchstaben (per werkzeuge/name_setzen.py --versal) */
.logo.logo-versal { text-transform: uppercase; font-stretch: 125%; letter-spacing: .01em; font-size: 1.24rem; }

/* Konfigurator: Einstiegspreis als Anker unter dem Stückpreis */

/* Abschluss: Bestellübersicht wie ein Warenkorb */
.posten { list-style: none; margin: 0; padding: 0; display: grid; }
.posten li { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid var(--line); }
.posten li:first-child { padding-top: 2px; }
.posten-ico { width: 40px; height: 40px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; color: var(--accent); }
.posten-ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round; }
.posten-ico svg[viewBox="0 0 64 64"], .posten-ico svg[viewBox="0 0 64 44"] { stroke-width: 4; }
.posten-text { display: grid; min-width: 0; line-height: 1.35; }
.posten-text b { font-size: .95rem; font-weight: 700; }
.posten-text > * { min-width: 0; }
.posten-text small { color: var(--muted); font-size: .82rem; overflow-wrap: break-word; hyphens: auto; }
.posten-text s { color: var(--muted); margin-left: 2px; }
.posten-betrag { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.posten-betrag.anfrage { color: var(--muted); font-weight: 700; font-size: .88rem; }
/* Gratis-Posten als eigener Block: grünes Etikett, bei Einführungsangeboten der reguläre Betrag durchgestrichen */
.posten-betrag.gratis { display: grid; justify-items: end; gap: 3px; }
.posten-betrag.gratis s { font-size: .78rem; font-weight: 600; color: var(--muted); }
.gratis-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--gratis); color: var(--on-gratis); font-size: .74rem; font-weight: 800; font-stretch: 108%; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2; }
.gratis-block { margin-top: 6px; padding: 4px 14px 2px; border-radius: 14px; background: var(--gratis-soft); border: 1px solid color-mix(in srgb, var(--gratis) 24%, transparent); }
.gratis-titel { margin: 10px 0 0; display: flex; align-items: center; gap: 8px; font-size: .76rem; font-weight: 800; font-stretch: 112%; letter-spacing: .09em; text-transform: uppercase; color: var(--gratis); }
.gratis-titel svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.gratis-block .posten li { border-bottom-color: color-mix(in srgb, var(--gratis) 16%, transparent); }
.gratis-block .posten li:first-child { padding-top: 11px; }
.gratis-block .posten li:last-child { border-bottom: 0; }
.gratis-block .posten-ico { background: var(--surface); color: var(--gratis); }
/* Sehr schmale Handys: Etikett unter den Text statt daneben */
@media (max-width: 400px) {
  .gratis-block .posten li { grid-template-columns: 40px minmax(0, 1fr); }
  .gratis-block .posten-betrag { grid-column: 2; display: flex; align-items: center; gap: 8px; }
}
.recap-summe { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px 14px; flex-wrap: wrap; padding: 14px 16px; border-radius: 12px; background: var(--navy); color: #fff; }
.recap-summe > div > span { display: block; font-size: .8rem; font-weight: 700; color: rgba(255, 255, 255, .8); }
.recap-summe small { font-size: .78rem; color: rgba(255, 255, 255, .7); }
.recap-summe strong { font-size: 1.7rem; font-weight: 800; font-stretch: 105%; font-variant-numeric: tabular-nums; white-space: normal; }
.recap-spar { margin: 0; padding: 10px 14px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-size: .9rem; }

/* Abschluss: Vertrauenspunkte direkt am Button */
.vertrauen { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 12px 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); text-align: left; }
.vertrauen li { display: flex; gap: 10px; align-items: flex-start; font-size: .84rem; color: var(--muted); line-height: 1.35; }
.vertrauen svg { flex: none; width: 30px; height: 30px; padding: 6px; border-radius: 50%; background: var(--cta); fill: none; stroke: #fff; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.vertrauen b { display: block; color: var(--ink); font-size: .9rem; }

/* Konfigurator: vier Sockenarten, Gratis-Hinweise, Wahl der Gestaltung */
.opts-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 559px) { .opts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.incl s, .posten-text s { color: var(--muted); font-weight: 500; margin-left: 3px; }
.gestaltung-wahl { margin: 0; padding: 0; border: 0; min-width: 0; display: grid; gap: 10px; }
.gestaltung-wahl legend { padding: 0; font-weight: 700; font-size: .92rem; margin-bottom: 8px; }
.gestaltung-opts { grid-template-columns: 1fr; }
@media (min-width: 640px) { .gestaltung-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.gestaltung-opts .opt-card { align-items: flex-start; text-align: left; padding: 12px 14px; }
.gestaltung-opts .opt input:checked + .opt-card { padding: 11.5px 13.5px; }
.vorlage-hinweis { margin: 6px 0 0; font-size: .86rem; color: var(--muted); }
.vorlage-hinweis a { font-weight: 700; }

/* Steuergrenzen als ruhige Tabelle: Anlass, Steuerregel, unser Preis bei der kleinsten Menge mit Haken */
.steuer-kopf { max-width: 46em; margin-bottom: 32px; }
.steuer-kopf h2 { margin: 0 0 12px; }
.steuer-kopf .lead { margin: 0; }
.steuer-tabelle { border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.steuer-zeile { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.25fr) minmax(0, .9fr); gap: 12px 32px; align-items: center; padding: 20px 28px; border-top: 1px solid var(--line); }
.steuer-th { padding-block: 13px; border-top: 0; background: var(--surface-2); color: var(--muted); font-size: .74rem; font-weight: 800; font-stretch: 112%; letter-spacing: .09em; text-transform: uppercase; }
.steuer-zeile > span { min-width: 0; }
.steuer-zeile b { display: block; font-size: 1.04rem; font-weight: 800; line-height: 1.3; }
.steuer-zeile small { display: block; margin-top: 2px; color: var(--muted); font-size: .86rem; line-height: 1.4; }
.steuer-anlass, .steuer-preis { display: flex; align-items: center; gap: 14px; }
.steuer-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); }
.steuer-ico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.steuer-haken { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gratis); color: var(--on-gratis); }
.steuer-haken svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.steuer-preis b { font-size: 1.2rem; font-variant-numeric: tabular-nums; }
.steuer-fuss { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin-top: 22px; }
.steuer-hinweis { margin: 0; max-width: 52em; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.steuer-fuss .btn { flex: none; }

/* Tablet und Handy: je Anlass ein kompakter Block, der Preis als grünes Feld */
@media (max-width: 759px) {
  .steuer-th { display: none; }
  .steuer-zeile { grid-template-columns: minmax(0, 1fr); gap: 10px; padding: 18px; }
  .steuer-zeile:nth-child(2) { border-top: 0; }
  .steuer-anlass { gap: 12px; }
  .steuer-ico { width: 40px; height: 40px; border-radius: 11px; }
  .steuer-regel, .steuer-preis { margin-left: 52px; }
  .steuer-preis { justify-self: start; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--gratis-soft); }
  .steuer-preis > span:last-child { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; }
  .steuer-preis b { font-size: 1rem; }
  .steuer-preis small { margin: 0; color: var(--ink); }
  .steuer-haken { width: 22px; height: 22px; }
  .steuer-haken svg { width: 12px; height: 12px; }
  .steuer-zeile small { font-size: .82rem; }
  .steuer-fuss .btn { width: 100%; }
}

/* Neue Muster: Vorschaukacheln im Konfigurator */
/* Vorschaukacheln für die neuen Sockenmuster im Konfigurator.
   Einfügen in public/styles.css direkt nach .m-logos::before (gleiche Spezifität wie .m-vorschau, muss danach stehen).
   Nur CSS-Verläufe mit var(--g) (Grundfarbe) und var(--a) (Akzentfarbe), wie .m-streifen, .m-karo usw. */

/* Nadelstreifen: feine senkrechte Linien */
.m-nadel { background: repeating-linear-gradient(90deg, var(--a) 0 2px, var(--g) 2px 9px); }

/* Hahnentritt (Rapport 24px): Karo oben links, Zähne als 45°-Bänder oben rechts und unten links */
.m-hahnentritt { background:
  conic-gradient(transparent 0 25%, var(--g) 0 50%, transparent 0) 0 0 / 24px 24px,
  conic-gradient(transparent 0 75%, var(--a) 0) 0 0 / 24px 24px,
  linear-gradient(135deg, var(--a) 0 12.5%, var(--g) 0 25%, var(--a) 0 37.5%, var(--g) 0 50%, transparent 0) 0 12px / 24px 24px,
  linear-gradient(135deg, transparent 0 37.5%, var(--a) 0 50%, transparent 0 62.5%, var(--a) 0 75%, transparent 0) 0 0 / 24px 24px,
  var(--g); }

/* Zickzack: waagerechte Zackenbänder, 4px dick, alle 14px */
.m-zickzack { background:
  conic-gradient(from 122deg at 50% 4px, var(--g) 0 116deg, transparent 0) 0 5px / 16px 14px,
  conic-gradient(from 122deg at 50% 0, var(--a) 0 116deg, transparent 0) 0 5px / 16px 14px,
  var(--g); }

/* Wellen: weiche Wellenlinien aus Kreisbögen (Tal und Kamm), alle 12px.
   Jeder Bogen zusätzlich um 24px versetzt, damit er über die senkrechte Kachelkante weiterläuft (sonst Stufe an jeder Kante);
   0,5px weiche Kante gegen Treppenstufen wie bei .m-punkte. */
.m-wellen { background:
  radial-gradient(circle at 6px -6.7px, transparent 7.55px, var(--a) 8.05px 9.95px, transparent 10.45px) 0 4px / 24px 12px,
  radial-gradient(circle at 30px -6.7px, transparent 7.55px, var(--a) 8.05px 9.95px, transparent 10.45px) 0 4px / 24px 12px,
  radial-gradient(circle at 18px 18.7px, transparent 7.55px, var(--a) 8.05px 9.95px, transparent 10.45px) 0 4px / 24px 12px,
  radial-gradient(circle at -6px 18.7px, transparent 7.55px, var(--a) 8.05px 9.95px, transparent 10.45px) 0 4px / 24px 12px,
  var(--g); }

/* Kopfleiste: Button nicht umbrechen */
.nav .btn { white-space: nowrap; }
@media (max-width: 380px) { .logo { font-size: 1.1rem; } .nav .btn { padding-inline: 12px; } }

/* Konfigurator: Größen */
.groessen { display: grid; gap: 8px; }
.groessen .row-label { margin-bottom: 0; }
.groessen-hinweis { margin: 0; font-size: .86rem; color: var(--muted); }
.groessen-felder { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.groessen-felder label { display: grid; gap: 4px; margin: 0; font-size: .82rem; font-weight: 700; color: var(--muted); }
.groessen-felder input { padding: 9px 10px; font-variant-numeric: tabular-nums; }
.groessen-summe { grid-column: 1 / -1; margin: 0; font-size: .85rem; font-weight: 700; color: var(--accent); }
.groessen-summe.offen { color: var(--cta); }
.groessen-neu { grid-column: 1 / -1; justify-self: start; padding: 0; border: 0; background: none; color: var(--accent); font: 700 .85rem var(--font); text-decoration: underline; cursor: pointer; }

/* Preisbox „preis-marine“ – ersetzt in styles.css: .summary, .sum-auswahl, .sum-price (alle), .sum-label, .upsell,
   .upsell:empty/.frist:empty, .frist, .frist.knapp, .sum-incl (beide), .cta-hinweis, .sum-anker, .sum-anker s.
   Rangfolge: Gesamtpreis > Preis pro Paar mit Ersparnis > Button > leise Lieferzeit. */
.summary {
  --sum-bg: var(--navy);
  container-type: inline-size;
  display: grid; gap: 0; justify-items: start;
  padding: 26px 28px 22px;
  border-radius: var(--radius);
  background: var(--sum-bg);
  color: #fff;
  box-shadow: var(--shadow);
  font-variant-numeric: tabular-nums;
}
/* Im Dunkelmodus ist --navy fast Seitenhintergrund: Box behält ihr Marine und bekommt eine feine Kante */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .summary { --sum-bg: #14284b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), var(--shadow); }
}
:root[data-theme="dark"] .summary { --sum-bg: #14284b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09), var(--shadow); }

.sum-label {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .74rem; font-weight: 700; font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255, 255, 255, .64);
}
.sum-label::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--cta); }

.sum-gesamt {
  margin-top: 12px;
  font-size: clamp(2.3rem, 14cqi, 3.5rem); font-weight: 800; font-stretch: 108%;
  line-height: .95; letter-spacing: -.03em; white-space: nowrap;
}
.sum-brutto { margin-top: 8px; font-size: .82rem; line-height: 1.45; color: rgba(255, 255, 255, .6); }
.sum-brutto:empty { display: none; }
.sum-zzgl { display: block; } /* optional: Box-Hinweis als eigene Zeile, siehe Einbau */

.sum-stueck {
  justify-self: stretch;
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px;
  margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14);
}
.sum-paar { font-size: .95rem; color: rgba(255, 255, 255, .72); }
.sum-paar b { margin-right: 2px; font-size: 1.35rem; font-weight: 800; font-stretch: 108%; letter-spacing: -.01em; color: #fff; }
.sum-anker {
  padding: 4px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  font-size: .76rem; font-weight: 600; line-height: 1.4; white-space: nowrap; color: rgba(255, 255, 255, .88);
}
.sum-anker s { color: rgba(255, 255, 255, .55); text-decoration-thickness: 1px; }
.sum-anker:empty { display: none; }

.summary .sum-cta { margin-top: 22px; }
.sum-cta span { transition: transform .15s; }
.sum-cta:hover span { transform: translateX(3px); }

.summary .frist { justify-self: stretch; margin: 12px 0 0; text-align: center; font-size: .8rem; line-height: 1.45; color: rgba(255, 255, 255, .6); }
.summary .frist:empty { display: none; }
.summary .frist.knapp { color: #ffd2cc; font-weight: 600; }

@media (max-width: 759px) { .summary { padding: 22px 20px 18px; } }
@media (prefers-reduced-motion: reduce) { .sum-cta span { transition: none; } }

/* #k-upsell in Schritt 4 unter der Preisstaffel: ruhig, auf heller Fläche */
.upsell-hinweis { margin: 0; padding-left: 12px; border-left: 3px solid var(--cta); font-size: .88rem; line-height: 1.45; color: var(--ink); }
.upsell-hinweis:empty { display: none; }

/* Auswahlkacheln mit gerenderten Produktbildern (Sockenart, Verpackung)
   Ans Ende von styles.css anhängen. Ersetzt die Strichzeichnungen (.sil, .pack-ico). */
:root { --stage-a: #f6f8fb; --stage-b: #dfe5ee; --stage-sel-a: #f1f5fc; --stage-sel-b: #d3def0; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --stage-a: #26314d; --stage-b: #161e33; --stage-sel-a: #2c3c62; --stage-sel-b: #18233d; }
}
:root[data-theme="dark"] { --stage-a: #26314d; --stage-b: #161e33; --stage-sel-a: #2c3c62; --stage-sel-b: #18233d; }

.opts-bild .opt-card { position: relative; align-items: stretch; text-align: center; gap: 2px; padding: 0 0 12px; overflow: hidden; border: 1.5px solid var(--line); background: var(--surface); transition: border-color .15s, box-shadow .15s; }
.opts-bild .opt-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; margin: 0 0 8px; background: radial-gradient(120% 95% at 50% 30%, var(--stage-a), var(--stage-b)); transition: transform .25s ease, background .15s; }
.opts-bild .opt-card b, .opts-bild .opt-card small { padding-inline: 8px; }
.opts-bild .opt-card b { line-height: 1.2; }
.opts-bild .opt-card b, .opts-bild .opt-card small { hyphens: manual; }

/* Verpackung: breite Objekte, flachere Bühne (Bild hat oben/unten Luft, wird nur dort beschnitten) */
.opts-bild-pack .opt-img { aspect-ratio: 16 / 10; }
.opts-bild-pack .opt-card { text-align: left; }
.opts-bild-pack .opt-card b, .opts-bild-pack .opt-card small { padding-inline: 12px; }

/* Hover */
.opts-bild .opt:hover .opt-card { border-color: var(--accent); }

/* Ausgewählt: kräftiger Marine-Rahmen ohne Layoutsprung, getönte Bühne, rote Kennmarke oben */
.opts-bild .opt input:checked + .opt-card { padding: 0 0 12px; border: 1.5px solid var(--accent); box-shadow: 0 0 0 1.5px var(--accent); background: var(--surface); }
.opts-bild .opt input:checked + .opt-card .opt-img { background: radial-gradient(120% 95% at 50% 30%, var(--stage-sel-a), var(--stage-sel-b)); }
.opts-bild .opt input:checked + .opt-card::before { content: ""; position: absolute; z-index: 1; top: 0; left: 0; right: 0; height: 4px; background: var(--cta); }
.opts-bild .opt input:focus-visible + .opt-card { outline: 3px solid var(--cta); outline-offset: 3px; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .opts-bild .opt:hover .opt-img { transform: scale(1.04); }
}

/* Sockenart in einer Reihe (4 Spalten): quadratischer Ausschnitt, damit die Socke groß bleibt; Titel ohne Silbentrennung */
.opts-bild.opts-4 .opt-img { aspect-ratio: 1 / 1; }
.opts-bild.opts-4 .opt-card b { font-size: .9rem; hyphens: manual; overflow-wrap: normal; }
.opts-bild.opts-4 .opt-card small { font-size: .76rem; hyphens: manual; }
.opts-bild.opts-4 .opt-card b, .opts-bild.opts-4 .opt-card small { padding-inline: 4px; }

/* Zwei Spalten: Handy und schmale Konfigurator-Spalte (1000–1199 px, Kachelspalte ca. 420 px) */
@media (max-width: 559px), (min-width: 1000px) and (max-width: 1199px) {
  .opts-bild, .opts-bild.opts-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .opts-bild.opts-4 .opt-img { aspect-ratio: 4 / 3; }
  .opts-bild.opts-4 .opt-card b { font-size: .98rem; }
  .opts-bild.opts-4 .opt-card small { font-size: .8rem; }
  .opts-bild .opt-card b, .opts-bild .opt-card small, .opts-bild.opts-4 .opt-card b, .opts-bild.opts-4 .opt-card small { padding-inline: 8px; }
}
@media (max-width: 559px) {
  .opts-bild, .opts-bild.opts-4 { gap: 8px; }
  .opts-bild .opt-card, .opts-bild .opt input:checked + .opt-card { padding-bottom: 10px; }
  .opts-bild.opts-4 .opt-card b { font-size: .92rem; }
}

/* Jury-Verbesserungen Preisbox: Ersparnis leise, Menge im Label, Box-Hinweis eigene Zeile */
.summary .sum-anker { background: none; border: 0; padding: 0; color: rgba(255, 255, 255, .7); font-weight: 600; }
.summary .sum-anker s { color: rgba(255, 255, 255, .55); }
#k-sum-menge:not(:empty)::before { content: " · "; }
.sum-zzgl { display: block; }

/* Logo (Wortmarke mit Tennissocke, Schrift Anybody in Pfaden) */
.logo { line-height: 0; }
.logo .logo-svg { display: block; height: 28px; width: auto; aspect-ratio: 717.31 / 84; color: var(--logo); }
@media (max-width: 480px) { .logo .logo-svg { height: 20px; } }
@media (max-width: 360px) { .logo .logo-svg { height: 17px; } }

/* Kopfleiste auf dem Handy einzeilig: langen Punkt ausblenden */
@media (max-width: 520px) { .topbar span:nth-child(2) { display: none; } }

/* „Unser Tipp“ in Preisstaffeln */
.staffel li.tipp, .lp-tiers li.tipp { position: relative; }
.tipp-badge { position: absolute; top: -9px; left: 50%; transform: translateX(-50%); padding: 2px 8px; border-radius: 999px; background: var(--cta); color: #fff; font-size: .62rem; font-style: normal; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; line-height: 1.4; }
.staffel { padding-top: 8px; }
.lp-tiers li.tipp { border-color: var(--cta); }
