/* Layout: Marketing-Seite im Dommen-Look. Weiße Kopfzeile mit Logo, dunkelblauer Hero mit Vorher/Nachher-Zeichnung (Foto links, DWG rechts), danach zentrierte Abschnitte mit Großbuchstaben-Überschriften. */
:root {
  --bg: #FFFFFF;
  --surface: #F3F7FB;
  --ink: #333333;
  --muted: #5F6B77;
  --line: #D5DFE9;
  --blue: #3472B3;
  --sky: #4CA9E7;
  --btn: #56B2F9;
  --btn-ink: #FFFFFF;
  --link: #2B66A6;
  --hero-1: #123A5E;
  --hero-2: #0B2742;
  --head-bg: #FFFFFF;
  --head-ink: #333333;
  --foot-bg: #123A5E;
  --th-ink: #FFFFFF;
  --font-display: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Open Sans", system-ui, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #101C28; --surface: #162636; --ink: #E4ECF3; --muted: #9FB1C0; --line: #29404F;
    --blue: #7DB6EA; --sky: #6DBBF2; --link: #8CC3F2; --foot-bg: #0A1722; --th-ink: #0A1722;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #101C28; --surface: #162636; --ink: #E4ECF3; --muted: #9FB1C0; --line: #29404F;
  --blue: #7DB6EA; --sky: #6DBBF2; --link: #8CC3F2; --foot-bg: #0A1722; --th-ink: #0A1722;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.75;
  padding-block: 0;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.band { margin-inline: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); padding-inline: max(16px, env(safe-area-inset-left, 0px)); }
.wrap { max-width: 1080px; margin: 0 auto; }
p { margin: 0; }
a { color: var(--link); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); text-transform: uppercase; margin: 0; line-height: 1.15; text-wrap: balance; }
h1 { font-weight: 800; font-size: clamp(1.9rem, 6.6vw, 3.5rem); letter-spacing: 0.03em; }
h2 { font-weight: 700; font-size: clamp(1.6rem, 4.8vw, 2.4rem); letter-spacing: 0.08em; }
h3 { font-weight: 700; font-size: 1.02rem; letter-spacing: 0.06em; }
.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; }

/* Kopfzeile */
.head { background: var(--head-bg); color: var(--head-ink); border-bottom: 1px solid #DCE4EC; position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); background: #FFFFFF; z-index: 30; }
.head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-block: 10px; }
.logo { display: block; line-height: 0; }
.logo img { display: block; width: min(270px, 62vw); height: auto; }
.menu-btn { display: none; background: none; border: 0; padding: 10px; cursor: pointer; color: var(--head-ink); }
.menu-btn span { display: block; width: 28px; height: 3px; background: currentColor; margin: 6px 0; }
nav { display: flex; align-items: center; gap: 6px 26px; }
nav a { font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--head-ink); text-decoration: none; padding: 8px 0; border-bottom: 3px solid transparent; }
nav a:hover { border-bottom-color: var(--sky); }
nav a.cta { background: var(--btn); color: #fff; padding: 10px 18px; border-bottom: 0; }
@media (max-width: 900px) {
  .menu-btn { display: block; }
  nav { display: none; flex-direction: column; align-items: stretch; width: 100%; padding-bottom: 10px; }
  nav.open { display: flex; }
  nav a.cta { text-align: center; }
}

/* Hero */
.hero { color: #fff; text-align: center; background:
  linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px) 0 0 / 28px 28px,
  linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px) 0 0 / 28px 28px,
  linear-gradient(160deg, var(--hero-1), var(--hero-2)); }
.hero .wrap { display: grid; gap: 20px; justify-items: center; padding-block: 56px 64px; }
.hero .eyebrow { color: #8CC9F5; }
.hero h1 { text-shadow: 0 2px 10px rgba(0,0,0,0.35); max-width: 20ch; }
.hero p.sub { font-style: italic; font-weight: 300; font-size: 1.12rem; max-width: 54ch; }
.btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 4px; }
.btn { font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; padding: 15px 28px; background: var(--btn); color: var(--btn-ink); border: 2px solid var(--btn); }
.btn.ghost { background: transparent; color: #fff; border-color: #fff; }
.btn:hover { filter: brightness(1.08); }
.btn.ghost:hover { background: rgba(255,255,255,0.14); }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; font-size: 0.92rem; color: #C9DDEE; margin-top: 2px; }
.trust span::before { content: "✓ "; color: #8CC9F5; font-weight: 700; }

figure.sheet { margin: 18px 0 0; width: 100%; max-width: 820px; background: #fff; border: 1px solid #C9D6E2; box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35); text-align: left; color: #333; }
figure.sheet svg { display: block; width: 100%; height: auto; }
figure.sheet figcaption { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #C9D6E2; font-size: 0.8rem; padding: 8px 14px; color: #4A5A68; }
.w { fill: none; stroke: var(--wc); stroke-width: var(--wx); stroke-linejoin: miter; }
.wi { fill: none; stroke: var(--wc); stroke-width: var(--wi); }
.t { fill: none; stroke: var(--tc); stroke-width: var(--tw); }
.f { fill: none; stroke: var(--fc); stroke-width: var(--fw); }
.lbl { font-family: var(--font-display); font-weight: 600; font-size: 10.5px; letter-spacing: 0.09em; text-anchor: middle; }
.cad .lbl { fill: #1D4B7C; }
.ph .lbl { fill: #5A5F66; font-family: var(--font-body); font-style: italic; font-weight: 400; letter-spacing: 0.02em; font-size: 12px; }
.dtx { font-family: var(--font-body); font-size: 11px; text-anchor: middle; }
.cad .dtx { fill: #2B66A6; }
.ph .dtx { fill: #5A5F66; font-style: italic; }
.tagtxt { fill: #fff; font-family: var(--font-display); font-weight: 700; font-size: 12px; letter-spacing: 0.1em; }
.tb1 { fill: #1D4B7C; font-family: var(--font-display); font-weight: 700; font-size: 11px; letter-spacing: 0.06em; }
.tb2 { fill: #2B66A6; font-family: var(--font-body); font-size: 12px; }

/* Abschnitte */
section.sec { padding-block: 72px; scroll-margin-top: 70px; }
section.sec.alt { background: var(--surface); }
.stack { display: grid; gap: 26px; justify-items: center; text-align: center; width: 100%; }
.stack .lead { max-width: 62ch; color: var(--muted); }
.rule { width: 64px; height: 4px; background: var(--sky); border: 0; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 22px; width: 100%; text-align: left; }
.card { background: var(--bg); border: 1px solid var(--line); border-top: 4px solid var(--sky); padding: 26px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card p { color: var(--muted); font-size: 0.98rem; line-height: 1.65; }
.card .num { font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; width: 42px; height: 42px; display: grid; place-items: center; background: var(--sky); color: #fff; border-radius: 50%; }

.price { display: grid; gap: 6px; justify-items: center; padding: 30px 36px; background: var(--surface); border: 2px solid var(--sky); width: 100%; }
.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; width: 100%; max-width: 720px; }
.price .unit { color: var(--muted); font-size: 0.95rem; }
.price .eyebrow { color: var(--blue); }
.price .amt { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 11vw, 4.6rem); line-height: 1.1; color: var(--blue); }
.price p { color: var(--muted); font-size: 0.98rem; line-height: 1.6; }

/* Tipps */
ul.tips { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; width: 100%; text-align: left; }
ul.tips li { background: var(--bg); border: 1px solid var(--line); padding: 16px 18px 16px 54px; position: relative; line-height: 1.55; min-width: 0; }
ul.tips li::before { content: "✓"; position: absolute; left: 16px; top: 14px; width: 26px; height: 26px; display: grid; place-items: center; background: var(--sky); color: #fff; font-weight: 700; border-radius: 50%; line-height: 1; }
ul.tips b { font-weight: 600; }

/* Tabelle */
.table-scroll { overflow-x: auto; width: 100%; max-width: 820px; border: 1px solid var(--line); background: var(--bg); text-align: left; }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.97rem; line-height: 1.5; }
th, td { padding: 13px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--blue); color: var(--th-ink); font-family: var(--font-display); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; text-align: left; }
tr:last-child td { border-bottom: 0; }
td.fmt { font-weight: 600; white-space: nowrap; }

/* FAQ */
.faq { width: 100%; max-width: 780px; display: grid; gap: 12px; text-align: left; }
details { background: var(--bg); border: 1px solid var(--line); }
summary { cursor: pointer; padding: 16px 52px 16px 20px; font-weight: 600; list-style: none; position: relative; line-height: 1.5; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-family: var(--font-display); font-size: 1.4rem; color: var(--blue); }
details[open] summary::after { content: "–"; }
details p { padding: 0 20px 18px; color: var(--muted); }

/* Kontakt */
.contact { background: linear-gradient(160deg, var(--hero-1), var(--hero-2)); color: #fff; text-align: center; scroll-margin-top: 70px; }
.contact .wrap { display: grid; gap: 20px; justify-items: center; padding-block: 72px; }
.contact p { max-width: 56ch; font-weight: 300; font-size: 1.08rem; }
.contact .mail { font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em; border: 2px solid var(--sky); padding: 12px 22px; max-width: 100%; overflow-wrap: anywhere; color: #fff; text-decoration: none; }
.contact .mail:hover { background: rgba(255,255,255,0.14); }

footer { background: var(--foot-bg); color: #B9CCDC; font-size: 0.9rem; }
/* Rechtstexte (widerruf.html) */
.legal .wrap { max-width: 780px; display: grid; gap: 14px; text-align: left; }
.legal h1 { font-size: clamp(1.6rem, 4.8vw, 2.2rem); letter-spacing: 0.06em; color: var(--blue); }
.legal h2 { font-size: 1.15rem; letter-spacing: 0.06em; margin-top: 18px; }
.legal .hinweis { background: var(--surface); border-left: 4px solid var(--sky); padding: 14px 18px; color: var(--muted); }
.legal .ende { font-style: italic; color: var(--muted); }
.legal .formular { border: 1px solid var(--line); padding: 18px 22px; display: grid; gap: 8px; }
.legal-nav { display: flex; }
.legal-nav a { font-family: var(--font-display); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--head-ink); text-decoration: none; padding: 8px 0; }
@media (max-width: 900px) { .legal-nav { display: flex; width: auto; padding-bottom: 0; } }

footer a { color: inherit; }
footer a:hover { color: #fff; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 24px; }
