:root {
  --paper: #f7f2ea;
  --paper-deep: #efe7d9;
  --card: #fffdf8;
  --ink: #14262b;
  --ink-soft: #3f5258;
  --teal: #0e5a63;
  --teal-dark: #0a424a;
  --coral: #d9482b;
  --coral-dark: #b93a20;
  --sun: #f3c969;
  --line: #d9cfbd;
  --radius: 14px;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 17px/1.65 var(--sans);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }

.wrap { width: min(1120px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(740px, 100% - 40px); }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

h1, h2, h3 { font-family: var(--serif); line-height: 1.2; color: var(--ink); margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

/* Anzeige-Streifen */
.ad-strip {
  background: var(--ink);
  color: #fff;
  font-size: .85rem;
  line-height: 1.4;
  padding: 8px 20px;
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; align-items: baseline;
}
.ad-strip strong {
  background: var(--sun); color: var(--ink);
  padding: 1px 9px; border-radius: 4px; font-weight: 700; letter-spacing: .02em;
}

/* Kopf */
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.masthead-row { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 16px; }
.wordmark {
  font-family: var(--serif); font-weight: 700; font-size: 1.35rem; color: var(--ink);
  text-decoration: none; display: inline-flex; align-items: center; gap: 8px;
}
.wordmark-dot { width: 14px; height: 14px; background: var(--coral); border-radius: 50% 50% 50% 0; display: inline-block; }
.topnav { display: flex; gap: 20px; font-size: .95rem; }
.topnav a { color: var(--ink-soft); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.topnav a:hover { color: var(--ink); border-bottom-color: var(--coral); }

/* Einstieg */
.opener { padding: 44px 0 56px; background: linear-gradient(180deg, var(--paper) 0%, var(--paper-deep) 100%); }
.opener-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.kicker {
  font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 700;
  color: var(--coral-dark); margin-bottom: 14px;
}
.lede { font-size: 1.12rem; color: var(--ink-soft); }
.fact-chips { list-style: none; margin: 22px 0 28px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.fact-chips li {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: .92rem;
}
.fact-chips b { color: var(--teal); }
.cta-note { font-size: .85rem; color: var(--ink-soft); margin: 12px 0 0; max-width: 52ch; }

.opener-visual { margin: 0; position: relative; }
.opener-visual svg { border-radius: 22px; box-shadow: 0 18px 40px -22px rgba(20, 38, 43, .55); }
.price-tag {
  position: relative; margin: -46px 18px 0 auto; max-width: 320px;
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 14px 18px; display: grid; gap: 2px; box-shadow: 6px 6px 0 var(--sun);
}
.price-tag-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); font-weight: 700; }
.price-tag-now { font-family: var(--serif); font-size: 2rem; font-weight: 700; line-height: 1.1; color: var(--teal); }
.price-tag-now small { font-family: var(--sans); font-size: .8rem; font-weight: 400; color: var(--ink-soft); }
.price-tag-then { font-size: .85rem; color: var(--ink-soft); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  padding: 15px 28px; border-radius: 10px; border: 2px solid transparent; transition: transform .12s, background .12s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: var(--coral-dark); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--sun); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); padding: 11px 18px; font-weight: 600; }
.btn-ghost:hover { background: var(--paper-deep); }
.cta-inline { margin-top: 30px; text-align: center; }

/* Blöcke */
.block { padding: 64px 0; }
.block-tint { background: var(--paper-deep); }
.section-lead { color: var(--ink-soft); max-width: 70ch; font-size: 1.05rem; margin-bottom: 28px; }
.fine { font-size: .85rem; color: var(--ink-soft); margin-top: 14px; }

/* Leistung */
.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-grid li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.feature-num { display: block; font-family: var(--serif); font-size: 2.1rem; font-weight: 700; color: var(--coral); line-height: 1; margin-bottom: 10px; }
.feature-grid h3 { font-size: 1.05rem; margin-bottom: .35em; }
.feature-grid p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* Tabellen */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
thead th { background: var(--ink); color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }
tbody tr:last-child > * { border-bottom: 0; }
tbody th { font-weight: 600; }
.rates td:nth-child(2) b { font-family: var(--serif); font-size: 1.25rem; color: var(--teal); }
.rates td:nth-child(2) s { color: var(--ink-soft); font-size: .85rem; margin-left: 4px; }
.rates-pick > * { background: #fff6e0; }
.calc { margin-top: 44px; }
.calc td b { font-family: var(--serif); font-size: 1.15rem; color: var(--teal); }

/* Geräte */
.device-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 26px; }
.device-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.device-card svg { width: 160px; margin-bottom: 8px; }
.device-price { font-weight: 600; color: var(--teal); font-size: .95rem; }
.device-card ul { margin: 0; padding-left: 1.15em; color: var(--ink-soft); font-size: .95rem; }
.spec-table tbody th { width: 22%; }

/* Bedingungen */
.terms { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: term; display: grid; gap: 14px; }
.terms li {
  counter-increment: term; position: relative; padding: 18px 20px 18px 64px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
}
.terms li::before {
  content: counter(term); position: absolute; left: 18px; top: 18px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 700; display: grid; place-items: center; font-size: .9rem;
}
.terms h3 { font-size: 1.05rem; margin-bottom: .25em; }
.terms p { margin: 0; color: var(--ink-soft); font-size: .97rem; }

/* Passt es */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.fit-col { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.fit-yes { border-top: 5px solid var(--teal); }
.fit-no { border-top: 5px solid var(--coral); }
.fit-col ul { margin: 0; padding-left: 1.1em; color: var(--ink-soft); }
.fit-col li { margin-bottom: .55em; }

/* Ablauf */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 22px; }
.steps li { display: grid; grid-template-columns: 46px 1fr; gap: 18px; align-items: start; }
.step-n {
  width: 46px; height: 46px; border-radius: 12px; background: var(--sun); color: var(--ink);
  font: 700 1.3rem var(--serif); display: grid; place-items: center;
}
.steps h3 { margin-bottom: .2em; }
.steps p { margin: 0; color: var(--ink-soft); }

/* FAQ */
details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
summary { cursor: pointer; padding: 16px 48px 16px 20px; font-weight: 600; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--coral); }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 18px; margin: 0; color: var(--ink-soft); }

/* Abschluss */
.closer { background: var(--teal); color: #fff; padding: 52px 0; }
.closer h2 { color: #fff; margin-bottom: .3em; }
.closer p { margin: 0; color: #d6e9ea; max-width: 60ch; }
.closer-row { display: flex; gap: 32px; align-items: center; justify-content: space-between; flex-wrap: wrap; }

code { background: var(--paper-deep); padding: 1px 6px; border-radius: 4px; font-size: .9em; }

/* Fuß */
.site-foot { background: var(--ink); color: #dbe5e7; padding: 48px 0 28px; font-size: .95rem; }
.site-foot a { color: #fff; }
.foot-grid { display: flex; gap: 40px; justify-content: space-between; flex-wrap: wrap; }
.legal-block h2 { font-size: 1.25rem; color: #fff; }
.legal-block h3 { font-size: 1rem; color: #fff; margin-top: 1em; }
.legal-block p { margin-bottom: .8em; }
.foot-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: #fff; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.foot-small { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.18); font-size: .82rem; color: #9fb3b7; }

/* Fixierte Leiste (mobil) */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  background: var(--paper); border-top: 1px solid var(--line); padding: 10px 14px;
  display: none; align-items: center; gap: 12px; box-shadow: 0 -8px 24px -14px rgba(20,38,43,.4);
}
.sticky-cta .btn { flex: 1; padding: 13px 14px; }
.sticky-cta-label { font-size: .75rem; font-weight: 700; background: var(--sun); padding: 2px 8px; border-radius: 4px; }

/* Cookie-Dialog */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 640px;
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 8px 8px 0 rgba(20,38,43,.2); padding: 20px 22px;
}
.consent h2 { font-size: 1.15rem; margin-bottom: .4em; }
.consent p { font-size: .92rem; color: var(--ink-soft); margin-bottom: .8em; }
.consent-details { display: grid; gap: 8px; margin-bottom: 14px; }
.consent-row { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; }
.consent-row input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--teal); }
.consent-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.consent-actions .btn { padding: 11px 18px; font-size: .92rem; }

/* Rechtstexte */
.legal-page { padding: 48px 0 72px; }
.legal-page h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); }
.legal-page h2 { font-size: 1.35rem; margin-top: 1.8em; }
.legal-page ul { padding-left: 1.2em; }
.legal-page address { font-style: normal; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 1em; }
.legal-page .updated { color: var(--ink-soft); font-size: .9rem; }

@media (max-width: 900px) {
  .opener-grid { grid-template-columns: 1fr; gap: 32px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .topnav { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .block { padding: 48px 0; }
  .feature-grid, .device-pair, .fit-grid { grid-template-columns: 1fr; }
  .price-tag { margin-right: 10px; }
  .btn-primary, .cta-block .btn { width: 100%; }
  .closer-row .btn { width: 100%; }
  .sticky-cta { display: flex; }
  .sticky-cta[hidden] { display: none !important; }
  body { padding-bottom: 0; }
  .consent { left: 8px; right: 8px; bottom: 8px; max-height: 88vh; overflow-y: auto; }
  .consent-actions .btn { flex: 1 1 45%; }
  th, td { padding: 11px 12px; }
  .table-scroll table { min-width: 620px; }
  .rates td:nth-child(2), .rates td:nth-child(3), .calc-table td:nth-child(3) { white-space: nowrap; }
  .table-scroll { position: relative; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
