@import url("static/fonts.css");
:root {
  --navy: #16213a; --navy-2: #24304d; --ink: #1b2230; --muted: #5d6673; --line: #e3e6ec; --bg: #f6f7f9; --white: #fff;
  --orange: #ff5a2c; --orange-d: #d9461d; --orange-bg: #fff1ea;
  --g-orange: #c2410c; --g-rot: #b3262b; --g-gruen: #1d7346; --g-violett: #6b3fbf; --g-blau: #1d4f91; --g-petrol: #0d6b67;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif; --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --radius: 16px; --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font: 17px/1.6 var(--body); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--g-blau); }
.wrap { width: min(var(--max), 100% - 40px); margin: 0 auto; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.05; color: var(--navy); margin: 0; letter-spacing: .005em; }
h2 { font-size: clamp(34px, 4.4vw, 50px); }
h3 { font-size: 26px; }
.eyebrow { font: 600 15px var(--body); color: var(--orange-d); }
.lead { font-size: 20px; color: #3a4354; max-width: 62ch; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 12px; font: 700 17px var(--body);
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s; }
.btn.primaer { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(255, 90, 44, .32); }
.btn.primaer:hover { background: var(--orange-d); transform: translateY(-1px); }
.btn.zweit { background: #fff; color: var(--navy); border-color: var(--line); }
.btn.zweit:hover { border-color: var(--navy); }
.btn:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible, .umschalter button:focus-visible { outline: 3px solid var(--g-blau); outline-offset: 2px; }

/* Kopf */
header.kopf { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
header.kopf .wrap { display: flex; align-items: center; gap: 24px; height: 70px; }
header.kopf .marke img { height: 34px; width: auto; }
header.kopf nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
header.kopf nav a { color: var(--ink); text-decoration: none; font-weight: 600; }
header.kopf nav a:hover { color: var(--orange-d); }
header.kopf .btn { padding: 10px 18px; font-size: 15px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 40px; background: radial-gradient(1100px 520px at 85% 0%, #ffe6da 0, rgba(255, 230, 218, 0) 70%), linear-gradient(#fff, var(--bg)); }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(48px, 6.6vw, 84px); margin: 14px 0 18px; text-transform: uppercase; letter-spacing: .01em; }
.hero h1 em { font-style: italic; color: var(--orange); }
.hero .knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 16px; }
.hero .klein { color: var(--muted); font-size: 15px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero .klein span::before { content: "✓ "; color: var(--g-gruen); font-weight: 700; }
.schaufenster { position: relative; }
.browser { border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(22, 33, 58, .22), 0 0 0 1px rgba(22, 33, 58, .08); transform: rotate(-1deg); }
.browser .leiste { height: 28px; background: #eef0f4; display: flex; gap: 6px; align-items: center; padding: 0 12px; }
.browser .leiste i { width: 10px; height: 10px; border-radius: 50%; background: #d4d8e0; }
.handy { position: absolute; width: 34%; right: -3%; bottom: -12%; border-radius: 26px; overflow: hidden; border: 7px solid var(--navy); background: #fff;
  box-shadow: 0 24px 50px rgba(22, 33, 58, .32); transform: rotate(3deg); }

/* Vertrauen */
.vertrauen { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.vertrauen .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 22px 0; }
.vertrauen div { display: flex; gap: 12px; align-items: center; font-weight: 600; color: var(--navy); }
.vertrauen svg { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--orange); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

section.block { padding: 96px 0; }
section.block.grau { background: var(--bg); }
.kopfzeile { max-width: 760px; margin-bottom: 44px; }
.kopfzeile.mitte { margin: 0 auto 44px; text-align: center; }
.kopfzeile.mitte .lead { margin: 14px auto 0; }
.kopfzeile h2 { margin-top: 10px; }

/* Probleme */
.probleme { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.probleme article { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.probleme article b { display: block; font: 700 24px/1.1 var(--display); color: var(--navy); margin: 12px 0 8px; }
.probleme article p { margin: 0; color: #3a4354; }
.probleme .zahl { font: 700 46px/1 var(--display); color: var(--orange); }

/* Rechner */
.rechner { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; background: var(--navy); color: #fff; border-radius: 24px; padding: 40px; }
.rechner h2, .rechner h3 { color: #fff; }
.rechner label { display: grid; gap: 8px; font-weight: 600; margin-bottom: 18px; }
.rechner label span { display: flex; justify-content: space-between; } .rechner label output { color: #ffc4ad; font-weight: 700; }
.rechner input[type=range] { width: 100%; accent-color: var(--orange); }
.rechner select { padding: 10px 12px; border-radius: 10px; border: 0; font: 600 16px var(--body); }
.ergebnis { background: var(--navy-2); border-radius: 18px; padding: 28px; display: grid; gap: 14px; align-content: start; }
.ergebnis .zeile { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid rgba(255, 255, 255, .12); padding-bottom: 10px; }
.ergebnis .zeile b { font: 700 30px var(--display); }
.ergebnis .gross { font: 700 clamp(30px, 3.6vw, 44px)/1.05 var(--display); color: #ffc4ad; }
.ergebnis .balken { height: 12px; background: rgba(255, 255, 255, .14); border-radius: 6px; overflow: hidden; } .ergebnis .balken i { display: block; height: 100%; background: var(--orange); border-radius: 6px; transition: width .2s; }
.ergebnis small { color: #c7cde0; }

/* Funktionen */
.funktion { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding: 46px 0; }
.funktion + .funktion { border-top: 1px solid var(--line); }
.funktion.links .bild { order: -1; }
.funktion .bereich { display: inline-flex; align-items: center; gap: 8px; font: 600 15px var(--body); color: var(--farbe); }
.funktion .bereich::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--farbe); }
.funktion h3 { font-size: clamp(30px, 3.4vw, 42px); margin: 10px 0 16px; }
.funktion ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.funktion li { padding-left: 32px; position: relative; color: #2f3747; }
.funktion li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--farbe);
  -webkit-mask: radial-gradient(circle, #000 0 0) ; opacity: .14; }
.funktion li::after { content: "✓"; position: absolute; left: 5px; top: 0; font-weight: 700; color: var(--farbe); }
.funktion .bild { position: relative; }
.funktion .bild img.gross { border-radius: 14px; box-shadow: 0 22px 50px rgba(22, 33, 58, .16), 0 0 0 1px rgba(22, 33, 58, .06); }
.funktion .bild img.handyklein { position: absolute; width: 30%; right: -2%; bottom: -10%; border-radius: 20px; border: 6px solid var(--navy); box-shadow: 0 18px 40px rgba(22, 33, 58, .3); }

/* Schritte */
.schritte { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.schritte div { background: #fff; border-radius: var(--radius); padding: 28px; border: 1px solid var(--line); position: relative; }
.schritte div::before { counter-increment: s; content: counter(s); font: 700 54px/1 var(--display); color: var(--orange); display: block; margin-bottom: 10px; }
.schritte b { font: 700 24px var(--display); color: var(--navy); display: block; margin-bottom: 6px; }
.schritte p { margin: 0; color: #3a4354; }

/* Preise */
.umschalter { display: inline-flex; background: #e9ecf2; border-radius: 999px; padding: 5px; gap: 4px; margin: 0 auto 32px; }
.umschalter button { border: 0; background: transparent; padding: 10px 20px; border-radius: 999px; font: 700 15px var(--body); color: var(--muted); cursor: pointer; }
.umschalter button[aria-pressed=true] { background: #fff; color: var(--navy); box-shadow: 0 2px 8px rgba(22, 33, 58, .12); }
.umschalter button small { color: var(--g-gruen); font-weight: 700; }
.preise { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.preis { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 30px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.preis.beliebt { border-color: var(--navy); box-shadow: 0 0 0 1px var(--navy), 0 8px 24px rgba(22, 33, 58, .08); }
.preis .marke { position: absolute; top: -14px; left: 30px; background: var(--orange); color: #fff; font: 600 13px var(--body);
  padding: 5px 12px; border-radius: 999px; }
.preis h3 { font-size: 32px; } .preis .unter { color: var(--muted); margin: -8px 0 0; font-weight: 600; }
.preis .betrag { font: 700 56px/1 var(--display); color: var(--navy); } .preis .betrag small { font: 600 16px var(--body); color: var(--muted); }
.preis .jahrhinweis { color: var(--g-gruen); font-weight: 600; font-size: 15px; min-height: 24px; }
.preis ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; flex: 1; }
.preis li { padding-left: 26px; position: relative; } .preis li::before { content: "✓"; position: absolute; left: 0; color: var(--g-gruen); font-weight: 700; }
.preis .btn { width: 100%; }
.gruender { margin: 34px auto 0; max-width: 820px; background: var(--orange-bg); border: 1px dashed var(--orange); border-radius: 16px; padding: 18px 24px; text-align: center; font-weight: 600; color: #7a2a10; }
.extras { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
.extras section { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.extras h3 { font-size: 24px; margin-bottom: 12px; }
.extras table { width: 100%; border-collapse: collapse; } .extras td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.extras td:last-child { text-align: right; white-space: nowrap; font-weight: 700; padding-left: 12px; } .extras small { display: block; color: var(--muted); font-size: 14px; }
.mwst { text-align: center; color: var(--muted); font-size: 14px; margin-top: 20px; }

/* Sicherheit */
.sicher { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.sicher div { background: #fff; border-radius: var(--radius); padding: 24px; border: 1px solid var(--line); }
.sicher b { display: block; font: 700 22px var(--display); color: var(--navy); margin-bottom: 6px; } .sicher p { margin: 0; color: #3a4354; font-size: 16px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font: 700 22px/1.2 var(--display); color: var(--navy); list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; } .faq summary::after { content: "+"; color: var(--orange); font-size: 28px; line-height: .8; }
.faq details[open] summary::after { content: "–"; } .faq p { margin: 10px 0 0; color: #3a4354; }

/* Anfrage */
.anfrage { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.anfrage form { background: #fff; border-radius: 22px; padding: 32px; box-shadow: 0 20px 50px rgba(22, 33, 58, .1); display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.anfrage label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; } .anfrage label.breit, .anfrage .breit { grid-column: 1 / -1; }
.anfrage input, .anfrage select, .anfrage textarea { width: 100%; padding: 12px 14px; border: 1px solid #cfd4dd; border-radius: 10px; font: 16px var(--body); background: #fff; }
.anfrage label.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: 14px; } .anfrage label.check input { width: auto; margin-top: 4px; }
.anfrage .honig { position: absolute; left: -9999px; }
.anfrage .meldung { grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; font-weight: 600; display: none; }
.anfrage .meldung.ok { display: block; background: #e5f4eb; color: #1d7346; } .anfrage .meldung.fehler { display: block; background: #fdecec; color: #a32020; }
.anfrage ul { padding-left: 20px; } .anfrage li { margin: 6px 0; }

footer.fuss { background: var(--navy); color: #c7cde0; padding: 48px 0 36px; }
footer.fuss .wrap { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: center; }
footer.fuss img { height: 34px; width: auto; filter: brightness(0) invert(1); }
footer.fuss .slogan { font: italic 600 15px var(--display); letter-spacing: .08em; text-transform: uppercase; color: #ffb39b; margin-top: 6px; }
footer.fuss nav { display: flex; gap: 20px; flex-wrap: wrap; } footer.fuss a { color: #fff; text-decoration: none; } footer.fuss a:hover { text-decoration: underline; }
footer.fuss small { width: 100%; color: #8d96ad; }

/* Rechtstexte */
.recht { max-width: 820px; margin: 0 auto; padding: 60px 0; } .recht h1 { font-size: 46px; margin-bottom: 20px; } .recht h2 { font-size: 26px; margin: 28px 0 8px; }
.recht .entwurf { background: #fff6d9; border: 1px solid #f2b705; border-radius: 12px; padding: 12px 16px; font-weight: 600; }

/* Tablet */
@media (max-width: 980px) {
  .hero .wrap, .rechner, .funktion, .anfrage { grid-template-columns: 1fr; }
  .funktion.links .bild { order: 0; }
  .probleme, .schritte, .preise { grid-template-columns: 1fr; } .preis.beliebt { transform: none; }
  .vertrauen .wrap, .sicher { grid-template-columns: 1fr 1fr; } .extras { grid-template-columns: 1fr; }
  header.kopf nav a:not(.btn) { display: none; }
  .hero { padding-top: 44px; } .schaufenster { margin: 0 4% 60px; }
}
/* Handy */
@media (max-width: 560px) {
  body { font-size: 16px; } .lead { font-size: 18px; }
  section.block { padding: 64px 0; } .rechner { padding: 24px; border-radius: 18px; }
  .vertrauen .wrap, .sicher { grid-template-columns: 1fr; } .anfrage form { grid-template-columns: 1fr; padding: 22px; }
  .hero .knoepfe .btn { width: 100%; } .preis { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .ergebnis .balken i { transition: none; } }
