/* Stabwerk – Website. Stil der Verpackung: Weiß, Stabwerk-Blau, Linienraster, Monospace. */
@font-face { font-family: 'Stabwerk Mono'; src: url('fonts/mono-400.woff') format('woff'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Stabwerk Mono'; src: url('fonts/mono-700.woff') format('woff'); font-weight: 700; font-display: swap; }

:root {
  --ink: #28419E;
  --ink-soft: #5466ad;
  --line: #28419E;
  --hair: #c9d0ec;
  --paper: #ffffff;
  --wash: #f4f6fc;
  --todo: #fff1a8;
  --max: 1120px;
  --pad: clamp(16px, 4vw, 40px);
  --font: 'Stabwerk Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  color-scheme: light;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 15px; line-height: 1.6; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
mark.todo { background: var(--todo); color: #5a4300; padding: 0 4px; border-radius: 3px; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; }

/* Raster: senkrechte Linien links/rechts wie auf Verpackung und Feed */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); border-left: 1.5px solid var(--line); border-right: 1.5px solid var(--line); }
@media (max-width: 700px) { .wrap { border-left: 0; border-right: 0; } }

/* Kopf */
.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.94); backdrop-filter: blur(6px); border-bottom: 1.5px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand { display: inline-flex; color: var(--ink); }
.brand svg { width: 132px; height: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; font-size: 13px; }
.nav a { text-decoration: none; }
.nav a:hover { text-decoration: underline; }
@media (max-width: 860px) { .nav { display: none; } .top .btn { margin-left: auto; } }

/* Buttons – pillenförmig wie die Hinweisbox im Pitch */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid var(--ink); font: inherit; font-weight: 700; font-size: 14px; text-decoration: none; cursor: pointer; transition: background .15s, color .15s; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: #1e3383; }
.btn-line { background: #fff; color: var(--ink); }
.btn-line:hover { background: var(--wash); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Typo */
h1 { font-size: clamp(30px, 4.6vw, 52px); line-height: 1.12; letter-spacing: -1.5px; font-weight: 700; }
h2 { font-size: clamp(22px, 2.8vw, 30px); line-height: 1.2; letter-spacing: -.5px; margin-bottom: 22px; }
h3 { font-size: 15px; line-height: 1.35; }
.kicker, .lab { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-soft); }
.lead { font-size: 17px; margin-top: 20px; max-width: 34em; }
.small { font-size: 12.5px; color: var(--ink-soft); }
.intro { margin-bottom: 26px; }

/* Hero */
.hero .wrap { padding-top: clamp(36px, 6vw, 72px); padding-bottom: clamp(36px, 6vw, 72px); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero-text h1 { margin-top: 14px; }
.price { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; }
.price-num { font-size: 34px; font-weight: 700; }
.price-note { font-size: 13px; color: var(--ink-soft); }
.hero-img img { margin: 0 auto; max-height: 560px; width: auto; filter: drop-shadow(0 18px 22px rgba(30,38,80,.14)); }
@media (max-width: 760px) { .hero-in { grid-template-columns: 1fr; } .hero-img { order: -1; } .hero-img img { max-height: 380px; } }

/* Abschnitte */
.band { border-top: 1.5px solid var(--line); }
.band > .wrap { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(40px, 6vw, 72px); }

.cols3 { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--hair); }
.card { padding: 24px 22px 8px; border-right: 1px solid var(--hair); }
.card:first-child { padding-left: 0; }
.card:last-child { border-right: 0; padding-right: 0; }
.card img { height: 150px; width: auto; margin: 6px auto 20px; }
.card h3 span { display: inline-block; min-width: 1.4em; }
.card p { margin-top: 8px; font-size: 14px; }
.solve { margin-top: 30px; padding: 16px 26px; border: 1.5px solid var(--ink); border-radius: 999px; display: inline-block; }
@media (max-width: 760px) {
  .cols3 { grid-template-columns: 1fr; }
  .card, .card:first-child, .card:last-child { padding: 22px 0; border-right: 0; border-bottom: 1px solid var(--hair); }
  .solve { border-radius: 22px; }
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.split-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.split-rev .split-img { order: 2; }
@media (max-width: 760px) { .split { grid-template-columns: 1fr; } .split-rev .split-img { order: 0; } }

.facts dt { font-weight: 700; margin-top: 16px; }
.facts dd { font-size: 14px; }

table.spec { width: 100%; border-collapse: collapse; margin: 26px 0 8px; font-size: 14px; }
table.spec th, table.spec td { text-align: left; padding: 10px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
table.spec th { font-weight: 700; width: 40%; padding-right: 16px; }
table.spec tr:first-child th, table.spec tr:first-child td { border-top: 1.5px solid var(--ink); }
table.staffel th { width: auto; }
table.staffel tr:first-child th { font-weight: 400; font-size: 12px; letter-spacing: 1px; color: var(--ink-soft); }
.r { text-align: right !important; }

.steps { list-style: none; counter-reset: s; display: grid; gap: 18px; max-width: 760px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 10px; }
.steps li::before { content: counter(s); font-size: 28px; font-weight: 700; line-height: 1; }

.pricebox { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0 18px; border: 1.5px solid var(--ink); border-radius: 22px; overflow: hidden; }
.pricebox > div { padding: 20px 24px; border-right: 1px solid var(--hair); }
.pricebox > div:last-child { border-right: 0; }
.pricebox .big { font-size: 22px; font-weight: 700; margin: 4px 0; }
@media (max-width: 760px) { .pricebox { grid-template-columns: 1fr; } .pricebox > div { border-right: 0; border-bottom: 1px solid var(--hair); } .pricebox > div:last-child { border-bottom: 0; } }

details { border-top: 1px solid var(--hair); max-width: 820px; }
details:last-of-type { border-bottom: 1px solid var(--hair); }
summary { cursor: pointer; padding: 16px 32px 16px 0; font-weight: 700; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; top: 14px; font-size: 20px; }
details[open] summary::after { content: '–'; }
details p { padding: 0 0 18px; font-size: 14px; max-width: 46em; }

/* Rechtstexte */
.legal { padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(48px, 6vw, 80px); }
.legal > * { max-width: 760px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 10px; }
.legal h2 { font-size: 17px; margin: 34px 0 10px; letter-spacing: 0; }
.legal p { margin-bottom: 12px; font-size: 14px; }
.formbox { border: 1.5px solid var(--ink); border-radius: 18px; padding: 20px 24px; }
.wform { display: grid; gap: 14px; max-width: 560px; }
.wform label { display: grid; gap: 6px; font-size: 13px; font-weight: 700; }
.wform input { font: inherit; font-weight: 400; color: var(--ink); padding: 11px 14px; border: 1.5px solid var(--ink); border-radius: 12px; background: #fff; }
.wform button { justify-self: start; }

/* Fuß */
.foot { border-top: 1.5px solid var(--line); }
.foot-in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; padding-top: 40px; padding-bottom: 32px; font-size: 13px; }
.foot-in p + p { margin-top: 10px; }
.foot .lab { margin-bottom: 8px; }
.brand-foot svg { width: 150px; margin-bottom: 12px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 24px; border-top: 1px solid var(--hair); font-size: 12px; color: var(--ink-soft); }
@media (max-width: 760px) { .foot-in { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* Online-Bestellung */
.order { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.order-img img { max-height: 460px; width: auto; margin: 0 auto; filter: drop-shadow(0 18px 22px rgba(30,38,80,.12)); }
.order-box { border: 1.5px solid var(--ink); border-radius: 22px; padding: clamp(20px, 3vw, 32px); }
.order-price { font-size: 34px; font-weight: 700; margin: 6px 0 14px; }
.order-price span { font-size: 14px; font-weight: 400; color: var(--ink-soft); }
.order-facts { list-style: none; margin-bottom: 22px; font-size: 14px; }
.order-facts li { padding: 8px 0; border-bottom: 1px solid var(--hair); }
.order-facts li:first-child { border-top: 1px solid var(--hair); }
.btn-buy { width: 100%; min-height: 54px; font-size: 16px; margin-bottom: 14px; }
.btn.is-off { opacity: .45; cursor: not-allowed; }
.order-box .small { margin-top: 8px; }
.alt { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--hair); max-width: 760px; }
.alt h3 { margin-bottom: 8px; }
@media (max-width: 760px) { .order { grid-template-columns: 1fr; } .order-img img { max-height: 300px; } }
.order { grid-template-columns: 1fr 1fr; }
.order-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.tile { aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--wash); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile-cut img { object-fit: contain; padding: 10%; filter: drop-shadow(0 12px 14px rgba(30,38,80,.14)); }
@media (max-width: 760px) { .order { grid-template-columns: 1fr; } }
/* Galerie */
.order { grid-template-columns: .9fr 1.1fr; }
.gal { position: relative; max-width: 460px; width: 100%; margin: 0 auto; }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: 18px; scrollbar-width: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-track .tile { flex: 0 0 100%; scroll-snap-align: start; border-radius: 0; }
.gal-nav { position: absolute; top: calc(50% - 40px); width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ink); background: #fff; color: var(--ink); font: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.gal-prev { left: 10px; } .gal-next { right: 10px; }
.gal-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gal-thumbs button { width: 64px; height: 80px; padding: 0; border: 1.5px solid var(--hair); border-radius: 10px; overflow: hidden; background: var(--wash); cursor: pointer; }
.gal-thumbs button.on { border-color: var(--ink); }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.ship-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.ship-sel { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; }
.ship-sel label { padding: 6px 14px; cursor: pointer; font-size: 13px; }
.ship-sel input { position: absolute; opacity: 0; pointer-events: none; }
.ship-sel label:has(input:checked) { background: var(--ink); color: #fff; }
.ship-sel label:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: -4px; }
