/* Webseite des Shops. Keine Fremdschriften, keine Fremdinhalte, keine eingebetteten Stile.
   Farben stammen aus dem Logo: Marine (#0F3B57) und Türkis (#17A0A0). */
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/Poppins-Regular.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("/assets/fonts/Poppins-Medium.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/Poppins-Bold.woff") format("woff"); }
@font-face { font-family: "Lora"; font-weight: 400 700; font-style: normal; font-display: swap; src: url("/assets/fonts/Lora-Variable.woff") format("woff"); }
@font-face { font-family: "Lora"; font-weight: 400 700; font-style: italic; font-display: swap; src: url("/assets/fonts/Lora-Italic-Variable.woff") format("woff"); }

:root {
  --navy: #0f3b57; --navy-deep: #0a2c42; --teal: #17a0a0; --teal-deep: #0b7a7c;
  --desk: #eaf0f4; --paper: #ffffff; --rule: #cbd8e0; --rule-strong: #8ca3b3; --muted: #4a6376;
  --error: #a3262a; --ok: #1d6b3a; --warn-bg: #fff6dd; --warn-line: #d9b44a;
  --sans: "Poppins", "Segoe UI", system-ui, sans-serif; --serif: "Lora", Georgia, "Times New Roman", serif;
  --gutter: clamp(16px, 4vw, 40px); --maxw: 1180px; --margin-col: 220px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--desk); color: var(--navy); font: 400 1.125rem/1.65 var(--serif); font-variant-numeric: lining-nums; }
img { max-width: 100%; height: auto; }
a { color: var(--teal-deep); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--teal-deep); outline-offset: 2px; border-radius: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--navy); color: #fff; padding: 10px 16px; font: 500 .95rem var(--sans); z-index: 10; border-radius: 0 0 6px 6px; }
.skip:focus { top: 0; }
.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Kopf ---------- */
.top { background: var(--paper); border-bottom: 1px solid var(--rule); }
.top .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; padding-top: 10px; padding-bottom: 10px; }
.brand { display: block; line-height: 0; margin-right: auto; }
.brand img { height: 54px; width: auto; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font: 500 .95rem var(--sans); }
.nav a { color: var(--navy); text-decoration: none; padding: 8px 12px; border-radius: 6px; }
.nav a:hover { background: var(--desk); }
.nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--teal); border-radius: 6px 6px 0 0; }
.nav .buy { background: var(--navy); color: #fff; margin-left: 8px; }
.nav .buy:hover { background: var(--navy-deep); }
.nav .buy[aria-current="page"] { box-shadow: none; border-radius: 6px; }

/* ---------- Gemeinsame Bausteine ---------- */
h1, h2, h3 { font-family: var(--sans); color: var(--navy); margin: 0; }
h1 { font-weight: 700; font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; letter-spacing: -.022em; text-wrap: balance; }
h2 { font-weight: 700; font-size: 1.45rem; line-height: 1.2; letter-spacing: -.01em; }
h3 { font-weight: 500; font-size: 1.1rem; line-height: 1.3; }
p { margin: 0 0 1em; }
.lead { font-size: 1.28rem; line-height: 1.55; max-width: 34em; }
.small { font-size: .95rem; line-height: 1.55; }
.muted { color: var(--muted); }
.btn { display: inline-block; font: 500 1rem/1.2 var(--sans); padding: 14px 24px; border-radius: 6px; border: 2px solid var(--navy); background: var(--navy); color: #fff; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s; }
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn.ghost { background: transparent; color: var(--navy); }
.btn.ghost:hover { background: var(--navy); color: #fff; }
.btn.teal { background: var(--teal-deep); border-color: var(--teal-deep); }
.btn.teal:hover { background: #086264; border-color: #086264; }
.btn.inverse { background: #fff; color: var(--navy); border-color: #fff; }
.btn.inverse:hover { background: var(--desk); border-color: var(--desk); }
.btn.ghost-inverse { background: transparent; color: #fff; border-color: #fff; }
.btn.ghost-inverse:hover { background: #fff; color: var(--navy); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn.small { padding: 9px 16px; font-size: .9rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 0; }
.band { padding: clamp(40px, 7vw, 84px) 0; }
.band.paper { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band.navy { background: var(--navy); color: #e8f0f5; }
.band.navy h2, .band.navy h3 { color: #fff; }
.band.navy a:not(.btn) { color: #9fe3e3; }
.row { display: grid; grid-template-columns: var(--margin-col) minmax(0, 1fr); gap: 20px 56px; align-items: start; }
.row > .side h2 { position: sticky; top: 20px; }
.side .small { margin-top: 10px; }
.notice { border: 1px solid var(--warn-line); background: var(--warn-bg); padding: 14px 18px; border-radius: 6px; font-size: 1rem; line-height: 1.5; }
.notice strong { font-family: var(--sans); font-weight: 500; }
mark.todo { background: #ffe58a; color: #3a2d00; padding: 0 3px; border-radius: 3px; }

/* ---------- Startseite: Kopfbereich mit Beispielrechnung ---------- */
.hero { padding: clamp(36px, 6vw, 72px) 0 clamp(48px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 40px 64px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero .terms { margin-top: 26px; max-width: 32em; color: var(--muted); font-size: 1rem; line-height: 1.55; }
.sheet-wrap { position: relative; padding: 0 0 24px; justify-self: center; width: 100%; max-width: 440px; }
.sheet { background: #fff; aspect-ratio: 1 / 1.3; padding: 7% 8%; box-shadow: 0 1px 0 var(--rule), 0 18px 40px -18px rgba(15, 59, 87, .45); font: 400 clamp(.62rem, 1.35vw, .74rem)/1.45 var(--sans); color: #1b3445; display: flex; flex-direction: column; }
.sheet .from { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.sheet .firm { font-weight: 700; font-size: 1.28em; letter-spacing: -.01em; color: var(--navy); }
.sheet .firm::before { content: ""; display: inline-block; width: .8em; height: .8em; background: var(--teal); margin-right: .45em; vertical-align: -.05em; }
.sheet .meta { text-align: right; color: var(--muted); }
.sheet .to { margin: 7% 0 6%; }
.sheet .to span { display: block; }
.sheet h2 { font-size: 1.55em; letter-spacing: -.01em; margin: 0 0 .6em; }
.sheet table { width: 100%; border-collapse: collapse; font-size: 1em; }
.sheet th { text-align: left; font-weight: 500; color: var(--muted); border-bottom: 1.5px solid var(--navy); padding: .35em 0; }
.sheet td { padding: .55em 0; border-bottom: 1px solid #dbe5ea; vertical-align: top; }
.sheet th:last-child, .sheet td:last-child { text-align: right; white-space: nowrap; padding-left: .8em; }
.sheet .sum td { border-bottom: 0; font-weight: 700; font-size: 1.12em; padding-top: .8em; color: var(--navy); }
.sheet .pay { margin: 1.1em 0 0; color: var(--muted); }
.sheet .note { margin-top: auto; color: var(--muted); font-size: .92em; line-height: 1.5; }
.sheet .note strong { color: var(--navy); font-weight: 500; }
.tag { position: absolute; left: -6%; bottom: 0; background: var(--teal-deep); color: #fff; font: 500 .85rem/1.25 var(--sans); padding: 9px 14px 9px 12px; border-radius: 4px; box-shadow: 0 8px 18px -8px rgba(10, 44, 66, .55); display: flex; gap: 8px; align-items: center; }
.tag::before { content: ""; width: 9px; height: 9px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(45deg); margin-right: 2px; }
.tag::after { content: ""; width: 9px; height: 9px; border-right: 2px solid #fff; border-top: 2px solid #fff; transform: rotate(45deg); order: 3; }

/* ---------- Funktionen als Liste mit Randspalte ---------- */
.ledger { margin: 0; }
.ledger > div { display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr); gap: 4px 36px; padding: 20px 0; border-top: 1px solid var(--rule); }
.ledger > div:last-child { border-bottom: 1px solid var(--rule); }
.ledger dt { font: 500 1.05rem/1.35 var(--sans); }
.ledger dd { margin: 0; max-width: 38em; }
.ledger dd p:last-child { margin-bottom: 0; }
.more { margin-top: 24px; font: 500 1rem var(--sans); }

/* ---------- Ablauf ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule-strong); }
.steps li { counter-increment: s; padding: 18px 22px 8px 0; position: relative; }
.steps li + li { padding-left: 22px; border-left: 1px solid var(--rule); }
.steps li::before { content: counter(s); display: block; font: 700 2.6rem/1 var(--sans); color: var(--teal); letter-spacing: -.03em; margin-bottom: 12px; }
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 1rem; line-height: 1.55; color: #26485f; }

/* ---------- Demo-Band ---------- */
.demo .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 56px; align-items: center; }
.demo h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
.demo p { max-width: 38em; margin-bottom: 0; }

/* ---------- Preis als Rechnung ---------- */
.price-sheet { background: #fff; border: 1px solid var(--rule); box-shadow: 0 14px 30px -22px rgba(15, 59, 87, .5); padding: clamp(18px, 3vw, 32px); max-width: 44rem; font-family: var(--sans); }
.price-sheet table { width: 100%; border-collapse: collapse; }
.price-sheet caption { text-align: left; font: 700 1.1rem var(--sans); padding-bottom: 14px; }
.price-sheet th { text-align: left; font-weight: 500; font-size: .85rem; color: var(--muted); border-bottom: 2px solid var(--navy); padding: 6px 0; }
.price-sheet td { padding: 14px 0; border-bottom: 1px solid var(--rule); vertical-align: top; font-size: 1rem; line-height: 1.45; }
.price-sheet td small { display: block; font: 400 .92rem/1.5 var(--serif); color: var(--muted); margin-top: 4px; }
.price-sheet th:last-child, .price-sheet td:last-child { text-align: right; white-space: nowrap; padding-left: 16px; }
.price-sheet th:first-child, .price-sheet td:first-child { width: 2.6rem; color: var(--muted); }
.price-sheet .sum td { border-bottom: 0; border-top: 2px solid var(--navy); font-size: 1.35rem; font-weight: 700; padding-top: 16px; color: var(--navy); }
.price-sheet .pnote { margin: 16px 0 0; font: 400 .95rem/1.55 var(--serif); color: var(--muted); }
.price-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }

/* ---------- Häufige Fragen ---------- */
.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 40px 18px 0; font: 500 1.05rem/1.4 var(--sans); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -8px; border-right: 2.5px solid var(--teal); border-top: 2.5px solid var(--teal); transform: rotate(45deg); transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(135deg); margin-top: -12px; }
.faq .answer { padding: 0 0 20px; max-width: 40em; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Unterseiten ---------- */
.pagehead { padding: clamp(32px, 5vw, 60px) 0 clamp(20px, 3vw, 36px); }
.pagehead h1 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); margin-bottom: 14px; }
.pagehead .lead { margin-bottom: 0; }
.prose { max-width: 40rem; }
.prose h2 { margin: 1.8em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.limits li::marker { color: var(--teal-deep); }

/* Rechtstexte: schmale Zeilen, deutliche Gliederung */
.legal { max-width: 44rem; font-size: 1.04rem; line-height: 1.7; }
.legal h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin: 0 0 .8em; }
.legal h2 { font-size: 1.2rem; margin: 2.2em 0 .6em; padding-top: 1.1em; border-top: 1px solid var(--rule); }
.legal h3 { font-size: 1.02rem; margin: 1.5em 0 .4em; }
.legal ol, .legal ul { padding-left: 1.5em; }
.legal li { margin-bottom: .5em; }
.legal li ul { margin-top: .4em; }
.legal hr { border: 0; border-top: 1px solid var(--rule); margin: 2em 0; }
.legal blockquote { margin: 1em 0; padding: .6em 1em; border-left: 4px solid var(--teal); background: #fff; }
.legal code { font: .92em ui-monospace, Menlo, Consolas, monospace; background: #fff; padding: 1px 5px; border-radius: 3px; }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; font: 500 .95rem var(--sans); margin: 0 0 28px; padding: 0; list-style: none; }
.legal-sheet { background: #fff; border: 1px solid var(--rule); padding: clamp(20px, 4vw, 48px); }
.legal-note { max-width: 44rem; margin: 0 0 20px; }

/* ---------- Formulare ---------- */
.buy-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px 56px; align-items: start; }
form .group { border: 0; margin: 0 0 30px; padding: 0; min-width: 0; }
form legend { font: 700 1.15rem var(--sans); padding: 0; margin-bottom: 14px; }
.field { margin: 0 0 16px; }
.field label, .field .label { display: block; font: 500 .92rem/1.3 var(--sans); margin-bottom: 6px; }
.field .hint { display: block; font: 400 .9rem/1.45 var(--serif); color: var(--muted); margin-top: 6px; }
.field input[type="text"], .field input[type="email"], .field input[type="search"], .field select { width: 100%; font: 400 1rem/1.3 var(--sans); padding: 12px 14px; border: 1.5px solid var(--rule-strong); border-radius: 6px; background: #fff; color: var(--navy); }
.field input:hover, .field select:hover { border-color: var(--navy); }
.field.bad input, .field.bad select { border-color: var(--error); }
.field .err { display: none; color: var(--error); font: 500 .9rem/1.4 var(--sans); margin-top: 6px; }
.field.bad .err { display: block; }
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.cols.zip { grid-template-columns: 8rem 1fr; }
.choice { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--rule-strong); background: #fff; border-radius: 6px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; }
.choice:has(input:checked) { border-color: var(--teal-deep); box-shadow: inset 0 0 0 1px var(--teal-deep); }
.choice input { margin-top: .4em; accent-color: var(--teal-deep); width: 1.1rem; height: 1.1rem; flex: none; }
.choice b { display: block; font: 500 1rem/1.35 var(--sans); }
.choice span { display: block; font-size: .95rem; line-height: 1.5; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; font-size: 1rem; line-height: 1.55; }
.check input { margin-top: .35em; accent-color: var(--teal-deep); width: 1.15rem; height: 1.15rem; flex: none; }
.check.bad { color: var(--error); }
.formerr { display: none; border: 1.5px solid var(--error); background: #fdeeee; color: #6e1519; border-radius: 6px; padding: 14px 18px; margin-bottom: 24px; font: 500 .95rem/1.5 var(--sans); }
.formerr.show { display: block; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.summary { position: sticky; top: 20px; }
.summary .price-sheet { padding: 22px; }
.summary .price-sheet td:first-child, .summary .price-sheet th:first-child { width: auto; }
.summary dl { margin: 0; font-family: var(--sans); font-size: .95rem; }
.summary dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 500; }
.summary .total { display: flex; justify-content: space-between; border-top: 2px solid var(--navy); margin-top: 6px; padding-top: 14px; font: 700 1.3rem var(--sans); }
.submit { width: 100%; font-size: 1.05rem; padding: 16px 24px; margin-top: 18px; }
.submit[disabled] { opacity: .6; cursor: progress; }

/* ---------- Bestellseite ---------- */
.status { display: inline-block; font: 500 .9rem/1 var(--sans); padding: 7px 12px; border-radius: 4px; background: #fff; border: 1.5px solid var(--rule-strong); }
.status.done { border-color: var(--ok); color: var(--ok); }
.status.bad { border-color: var(--error); color: var(--error); }
.status.wait { border-color: var(--warn-line); background: var(--warn-bg); color: #5c4400; }
.block { background: #fff; border: 1px solid var(--rule); padding: clamp(18px, 3vw, 30px); margin: 0 0 24px; }
.block h2 { margin-bottom: 14px; }
.kv { margin: 0; font-family: var(--sans); }
.kv > div { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) auto; gap: 4px 16px; padding: 11px 0; border-top: 1px solid var(--rule); align-items: baseline; }
.kv > div:first-child { border-top: 0; }
.kv dt { color: var(--muted); font-size: .92rem; }
.kv dd { margin: 0; font-size: 1rem; word-break: break-word; }
.kv .mono, .keybox { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .92rem; }
.keybox { display: block; background: var(--desk); border: 1px solid var(--rule); border-radius: 6px; padding: 14px 16px; word-break: break-all; line-height: 1.5; user-select: all; margin: 0 0 12px; }
.dl-list { list-style: none; padding: 0; margin: 0; }
.dl-list li { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; padding: 14px 0; border-top: 1px solid var(--rule); }
.dl-list li:first-child { border-top: 0; }
.dl-list .what { font-family: var(--sans); font-weight: 500; }
.dl-list .what small { display: block; font: 400 .9rem/1.45 var(--serif); color: var(--muted); }
.block h3 { margin: 26px 0 6px; font-weight: 700; }
.copy { font: 500 .85rem var(--sans); padding: 6px 12px; border: 1.5px solid var(--navy); border-radius: 5px; background: #fff; color: var(--navy); cursor: pointer; }
.copy:hover { background: var(--navy); color: #fff; }

/* ---------- Fuß ---------- */
.foot { background: var(--paper); border-top: 1px solid var(--rule); padding: 40px 0 34px; font-size: .98rem; line-height: 1.6; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 28px 48px; }
.foot img { height: 84px; width: auto; display: block; margin-bottom: 12px; }
.foot h2 { font: 500 .95rem var(--sans); margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 4px; }
.foot a { color: var(--navy); }
.foot .fine { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding-top: 18px; color: var(--muted); font-size: .92rem; }

/* ---------- Schmale Bildschirme ---------- */
@media (max-width: 960px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .sheet-wrap { max-width: 400px; justify-self: start; margin-left: 12px; }
  .row { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .row > .side h2 { position: static; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 12px; }
  .demo .wrap { grid-template-columns: minmax(0, 1fr); }
  .buy-grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; order: -1; }
  .foot .wrap { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 1.0625rem; }
  .ledger > div { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .steps li, .steps li + li { padding-left: 0; border-left: 0; }
  .steps li + li { border-top: 1px solid var(--rule); margin-top: 12px; }
  .cols, .cols.zip { grid-template-columns: minmax(0, 1fr); }
  .kv > div { grid-template-columns: minmax(0, 1fr); }
  .nav a { padding: 8px 9px; }
  .brand img { height: 46px; }
  .tag { left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
@media print { .top, .foot, .actions, .nav { display: none; } body { background: #fff; } }
