/* Stromritter — moderne Heraldik. Navy + Amber auf Pergament.
   Regeln: kein Grün (EmpCo), keine Octopus-Farben, große Schrift für 50+. */

@font-face { font-family: "Young Serif"; src: url("../fonts/young-serif-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible"; src: url("../fonts/atkinson-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --navy-950: #0b1428;
  --navy-900: #0f1b33;
  --navy-800: #16264a;
  --navy-700: #1f3361;
  --navy-500: #36518a;
  --amber-500: #f2a900;
  --amber-400: #ffbe2e;
  --amber-200: #ffe3a1;
  --parchment: #f6f0e2;
  --parchment-deep: #ece2cb;
  --paper: #fffdf8;
  --ink: #18202f;
  --muted: #545d70;
  --line: #ddd0b3;
  --crimson: #b5382a;
  --crimson-soft: #f7e2dc;

  --font-display: "Young Serif", Georgia, "Times New Roman", serif;
  --font-body: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;

  --radius: 14px;
  --shadow-emboss: 0 1px 0 rgba(255,255,255,.6) inset, 0 10px 30px -12px rgba(15,27,51,.35);
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.1875rem; /* 19px */
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--parchment);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.45 0 0 0 0 0.36 0 0 0 0 0.2 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-700); text-underline-offset: 3px; }
a:hover { color: var(--navy-900); }
:focus-visible { outline: 3px solid var(--amber-500); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.12; letter-spacing: -.01em; margin: 0 0 .5em; color: var(--navy-900); }
h1 { font-size: clamp(2.2rem, 6.4vw, 4rem); }
h2 { font-size: clamp(1.75rem, 4.2vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 2.6vw, 1.5rem); }
p { margin: 0 0 1em; }

/* ---------- Anzeige-Leiste ---------- */
.adbar {
  background: var(--navy-950);
  color: #cdd5e6;
  font-size: .875rem;
  line-height: 1.4;
  padding: 8px var(--gutter);
  text-align: center;
}
.adbar strong { color: var(--amber-400); letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; margin-right: .4em; }
.adbar a { color: #fff; }

/* ---------- Header ---------- */
.site-header { background: var(--navy-900); color: #fff; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand svg { width: 34px; height: 40px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .005em; }
.brand-name em { font-style: normal; color: var(--amber-400); }
.nav { display: none; gap: 28px; align-items: center; }
.nav a { color: #dfe5f2; text-decoration: none; font-size: 1rem; }
.nav a:hover { color: #fff; text-decoration: underline; }
.header-cta { font-size: .95rem; padding: 10px 16px; min-height: 44px; white-space: nowrap; }
@media (max-width: 380px) { .brand-name { font-size: 1.35rem; } .brand svg { width: 28px; height: 33px; } }
@media (min-width: 860px) { .nav { display: flex; } }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--amber-500);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 1.125rem; line-height: 1.2;
  color: var(--navy-950); background: var(--b);
  border: 0; border-radius: 12px; padding: 16px 26px; min-height: 56px;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 3px 0 #b97f00, 0 14px 24px -14px rgba(11,20,40,.7);
  transition: transform .12s ease, box-shadow .12s ease, background .2s;
}
.btn:hover { background: var(--amber-400); color: var(--navy-950); transform: translateY(-1px); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 #b97f00, 0 6px 12px -10px rgba(11,20,40,.7); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--navy { --b: var(--navy-800); color: #fff; box-shadow: 0 3px 0 var(--navy-950), 0 14px 24px -14px rgba(11,20,40,.7); }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 30%, rgba(242,169,0,.22), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255,255,255,.025) 0 2px, transparent 2px 22px),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: #e9edf6;
  padding: 40px 0 120px;
  /* Blitz-Schnitt als Abschluss */
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), 64% calc(100% - 64px), 58% calc(100% - 22px), 52% calc(100% - 54px), 0 calc(100% - 8px));
}
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; align-items: end; }
.hero .wrap > * { min-width: 0; }
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero h1 mark { background: none; color: var(--amber-400); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .95rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--amber-400); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lede { font-size: clamp(1.15rem, 2.4vw, 1.35rem); color: #d4dbea; max-width: 34ch; }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 1rem; color: #cbd3e5; }
.ticks li { display: inline-flex; align-items: center; gap: 8px; }
.ticks li::before { content: ""; width: 18px; height: 18px; flex: none; background: var(--amber-500); clip-path: polygon(14% 52%, 0 66%, 38% 100%, 100% 22%, 86% 8%, 38% 72%); }
.hero-actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-figure { position: relative; justify-self: center; width: min(78vw, 360px); margin-top: 18px; }
/* Wappen hinter dem Ritter, damit die dunkle Rüstung sich abhebt */
.hero-figure::before {
  content: ""; position: absolute; left: 8%; right: 8%; top: 4%; bottom: 10%;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.16) 0 3px, transparent 3px 16px),
    linear-gradient(170deg, var(--amber-400), var(--amber-500) 60%, #d68f00);
  clip-path: polygon(0 0, 100% 0, 100% 58%, 50% 100%, 0 58%);
  box-shadow: 0 0 0 6px var(--navy-900);
}
.hero-figure::after {
  content: ""; position: absolute; left: 8%; right: 8%; top: 4%; height: 10px; background: var(--parchment);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); opacity: .55;
}
.hero-figure img { position: relative; filter: drop-shadow(0 24px 30px rgba(0,0,0,.45)); }
@media (min-width: 900px) {
  .hero { padding: 64px 0 150px; }
  .hero .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 40px; }
  .hero-figure { width: 100%; max-width: 400px; margin: 0 0 -30px; }
}

/* ---------- Spar-Check ---------- */
.spar-check-section { margin-top: -96px; position: relative; z-index: 2; padding-bottom: 72px; }
.shield-card {
  background: var(--paper);
  border: 2px solid var(--navy-900);
  border-radius: var(--radius) var(--radius) 28px 28px;
  box-shadow: var(--shadow-emboss), 0 30px 60px -30px rgba(11,20,40,.45);
  max-width: 760px; margin: 0 auto; overflow: hidden;
}
.shield-card__chief {
  background: var(--navy-900); color: #fff;
  padding: 18px 24px 16px; display: flex; align-items: center; gap: 14px;
  border-bottom: 4px solid var(--amber-500);
}
.shield-card__chief h2 { color: #fff; font-size: clamp(1.4rem, 3.4vw, 1.9rem); margin: 0; }
.shield-card__chief p { margin: 2px 0 0; color: #c9d1e3; font-size: 1rem; }
.shield-card__chief svg { width: 40px; height: 46px; flex: none; }
.shield-card__body { padding: 26px 24px 28px; }
@media (min-width: 700px) { .shield-card__body { padding: 32px 40px 36px; } .shield-card__chief { padding: 22px 40px 18px; } }

.field { margin-bottom: 22px; }
.field > label, .field > legend { display: block; font-weight: 700; margin-bottom: 8px; color: var(--navy-900); font-size: 1.05rem; padding: 0; }
fieldset.field { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.input {
  width: 100%; font: inherit; font-size: 1.35rem; letter-spacing: .06em;
  padding: 14px 16px; min-height: 58px; border-radius: 10px;
  border: 2px solid var(--line); background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.input:focus { outline: none; border-color: var(--navy-700); box-shadow: 0 0 0 4px rgba(242,169,0,.35); }
.input--plz { max-width: 220px; }
.hint { font-size: .92rem; color: var(--muted); margin-top: 6px; }
.error { color: var(--crimson); font-weight: 700; font-size: .98rem; margin-top: 8px; }

.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 640px) { .choices { grid-template-columns: repeat(4, 1fr); } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice span {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 74px; padding: 10px 8px; border: 2px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; text-align: center; transition: border-color .15s, background .15s, transform .12s;
}
.choice b { font-size: 1.05rem; color: var(--navy-900); }
.choice small { font-size: .88rem; color: var(--muted); }
.choice input:checked + span { border-color: var(--navy-900); background: var(--amber-200); box-shadow: inset 0 0 0 1px var(--navy-900); }
.choice input:focus-visible + span { outline: 3px solid var(--amber-500); outline-offset: 2px; }
.choice span:hover { transform: translateY(-1px); }
.toggle-kwh { background: none; border: 0; padding: 0; font: inherit; font-size: 1rem; color: var(--navy-700); text-decoration: underline; cursor: pointer; margin-top: 10px; }
.kwh-row { display: none; margin-top: 12px; align-items: center; gap: 10px; }
.kwh-row.is-open { display: flex; }
.kwh-row .input { max-width: 200px; letter-spacing: .02em; }

/* Ergebnis */
.result { display: none; margin-top: 28px; border-top: 2px dashed var(--line); padding-top: 26px; }
.result.is-visible { display: block; animation: rise .5s cubic-bezier(.2,.8,.2,1) both; }
.result h3 { margin-bottom: 14px; }
.compare { display: grid; gap: 10px; margin: 0 0 20px; }
.compare-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 14px 16px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.compare-row dt { font-weight: 700; }
.compare-row dt small { display: block; font-weight: 400; color: var(--muted); font-size: .9rem; }
.compare-row dd { margin: 0; font-family: var(--font-display); font-size: 1.5rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.compare-row--gv { background: var(--crimson-soft); border-color: #ecc3b9; }
.compare-row--gv dd { color: var(--crimson); }
.savings {
  position: relative; text-align: center; color: var(--navy-950);
  background: linear-gradient(180deg, var(--amber-400), var(--amber-500));
  padding: 26px 20px 44px; margin: 6px auto 22px; max-width: 420px;
  clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%);
}
.savings span { display: block; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .9rem; }
.savings strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 9vw, 3.6rem); line-height: 1.05; font-variant-numeric: tabular-nums; }
.savings em { font-style: normal; font-size: 1rem; }
.result-note { font-size: .88rem; color: var(--muted); margin-top: 14px; }
.demo-banner { background: var(--crimson); color: #fff; font-weight: 700; text-align: center; padding: 8px 12px; border-radius: 8px; margin-bottom: 16px; font-size: .95rem; }

/* ---------- Inhaltssektionen ---------- */
.section { padding: 72px 0; }
.section--deep { background: var(--parchment-deep); }
.section--navy { background: var(--navy-900); color: #dfe5f2; }
.section--navy h2, .section--navy h3 { color: #fff; }
.kicker { font-family: var(--font-display); color: var(--amber-500); font-size: 1.1rem; letter-spacing: .12em; display: block; margin-bottom: 8px; }
.section-intro { max-width: 60ch; }

.checklist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; max-width: 720px; }
.checklist li { position: relative; padding: 16px 18px 16px 58px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; }
.checklist li::before {
  content: ""; position: absolute; left: 18px; top: 18px; width: 24px; height: 28px;
  background: var(--navy-900);
  clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%);
}
.checklist li::after { content: ""; position: absolute; left: 25px; top: 23px; width: 10px; height: 14px; background: var(--amber-500); clip-path: polygon(60% 0, 0 58%, 42% 58%, 30% 100%, 100% 38%, 56% 38%); }

.cards { display: grid; gap: 18px; margin-top: 28px; }
@media (min-width: 820px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-emboss); }
.card .numeral { font-family: var(--font-display); font-size: 2.4rem; color: var(--amber-500); line-height: 1; display: block; margin-bottom: 10px; }
.card h3 { margin-bottom: .4em; }
.card p { margin: 0; color: #3a4357; }
.section--navy .card { background: var(--navy-800); border-color: var(--navy-700); box-shadow: none; }
.section--navy .card p { color: #cdd5e6; }

.recommend { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .recommend { grid-template-columns: .8fr 1.2fr; } }
.recommend-figure { max-width: 300px; justify-self: center; }
.claim { font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 1.7rem); color: #fff; border-left: 4px solid var(--amber-500); padding-left: 18px; margin: 18px 0; }

/* FAQ */
.faq { max-width: 800px; margin-top: 24px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 54px 18px 20px; font-weight: 700; color: var(--navy-900); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-family: var(--font-display); font-size: 1.8rem; color: var(--amber-500); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 20px 18px; color: #3a4357; }

/* Transparenz */
.transparency { background: var(--paper); border: 2px solid var(--navy-900); border-radius: var(--radius); padding: 22px 24px; max-width: 800px; }
.transparency h2 { font-size: 1.4rem; }
.transparency p:last-child { margin-bottom: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); color: #aeb8cd; padding: 44px 0 36px; font-size: .95rem; }
.site-footer .wrap { display: grid; gap: 18px; }
.site-footer a { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-display); font-size: 1.3rem; }
.footer-brand svg { width: 26px; height: 30px; }

/* ---------- Textseiten (Impressum, Datenschutz, Offenlegung, Ratgeber) ---------- */
.page-head { background: var(--navy-900); color: #fff; padding: 48px 0 56px; }
.page-head h1 { color: #fff; font-size: clamp(2rem, 5vw, 3rem); margin: 0; }
.prose { max-width: 72ch; padding: 48px 0 72px; }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.8rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose address { font-style: normal; }

/* Advertorial */
.article-label { display: inline-block; background: var(--amber-500); color: var(--navy-950); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; margin-bottom: 18px; }
.byline { color: #c3cbe0; font-size: 1rem; margin-top: 14px; }
.dek { font-size: clamp(1.15rem, 2.4vw, 1.35rem); color: #d4dbea; max-width: 60ch; margin-top: 12px; }
.article { max-width: 70ch; padding: 44px 0 24px; }
.article p { font-size: 1.15rem; }
.article h2 { margin-top: 1.5em; font-size: clamp(1.5rem, 3.4vw, 2rem); }
.dropcap::first-letter { font-family: var(--font-display); float: left; font-size: 3.6em; line-height: .9; padding: 6px 10px 0 0; color: var(--navy-900); }
.pull { font-family: var(--font-display); font-size: clamp(1.4rem, 3.2vw, 1.85rem); line-height: 1.3; color: var(--navy-900); border-top: 3px solid var(--amber-500); border-bottom: 1px solid var(--line); padding: 18px 0; margin: 30px 0; }
.inline-figure { float: right; width: 42%; max-width: 240px; margin: 0 0 12px 20px; }
@media (max-width: 560px) { .inline-figure { float: none; width: 60%; margin: 0 auto 16px; } }
.cta-box { background: var(--navy-900); color: #dfe5f2; border-radius: var(--radius); padding: 26px 24px; margin: 34px 0; border-bottom: 5px solid var(--amber-500); }
.cta-box h3 { color: #fff; }
.cta-box p { margin-bottom: 18px; }

/* ---------- Teaser ---------- */
.teaser { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); background: radial-gradient(60% 50% at 50% 35%, rgba(242,169,0,.18), transparent 70%), linear-gradient(180deg, var(--navy-900), var(--navy-950)); color: #dfe5f2; }
.teaser img { width: min(56vw, 240px); margin: 0 auto 18px; filter: drop-shadow(0 20px 26px rgba(0,0,0,.45)); }
.teaser h1 { color: #fff; font-size: clamp(2rem, 6vw, 3.2rem); }
.teaser p { max-width: 40ch; margin: 0 auto 1em; color: #cbd3e5; }
.teaser .footer-links { justify-content: center; margin-top: 28px; font-size: .95rem; }
.teaser .footer-links a { color: #fff; }

/* ---------- Bewegung ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes bolt { 0%, 92%, 100% { opacity: 1; } 94% { opacity: .35; } 96% { opacity: 1; } 97% { opacity: .5; } }
.reveal { animation: rise .7s cubic-bezier(.2,.8,.2,1) both; }
.reveal-2 { animation-delay: .08s; } .reveal-3 { animation-delay: .16s; } .reveal-4 { animation-delay: .24s; } .reveal-5 { animation-delay: .34s; }
.brand .bolt, .shield-card__chief .bolt { animation: bolt 6s infinite; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
