/* ===== Design-Variablen ===== */
:root {
  --ink: #10222b;
  --ink-soft: #3c505a;
  --paper: #f5f8f7;
  --white: #ffffff;
  --line: #d9e3e0;
  --strom: #ffc400;
  --strom-dark: #6b5200;
  --gas: #1f6feb;
  --gas-dark: #0f3f94;
  --spar: #0e8a4b;
  --radius: 14px;
  --font:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
:focus-visible {
  outline: 3px solid var(--gas);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}
.section {
  padding-block: clamp(3.5rem, 8vw, 6rem);
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  max-width: 22ch;
}
.section-lead {
  margin-top: 1rem;
  color: var(--ink-soft);
  max-width: 60ch;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background-color 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-strom {
  background: var(--strom);
  color: var(--ink);
}
.btn-strom:hover {
  box-shadow: 0 8px 20px rgba(255, 196, 0, 0.35);
}
.btn-gas {
  background: var(--gas);
  color: #fff;
}
.btn-gas:hover {
  box-shadow: 0 8px 20px rgba(31, 111, 235, 0.35);
}
.btn-ghost {
  border-color: rgba(255, 255, 255, 0.4);
  color: #fff;
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ===== Header ===== */
.site-header {
  background: var(--ink);
  color: #fff;
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
  gap: 1rem;
}
.logo {
  font-weight: 800;
  font-size: 1.2rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span:first-child {
  color: var(--strom);
}
.logo span:last-child {
  color: #7fb0ff;
}
.nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  opacity: 0.85;
}
.nav a:hover {
  opacity: 1;
}
@media (max-width: 720px) {
  .nav a:not(.btn) {
    display: none;
  }
}

/* ===== Hero ===== */
.hero {
  background: var(--ink);
  color: #fff;
  /* padding-block: clamp(3rem, 7vw, 5.5rem) 0; */
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5.5rem);
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  max-width: 18ch;
}
.hero p.lead {
  margin-top: 1.25rem;
  font-size: 1.2rem;
  color: #c5d3d8;
  max-width: 56ch;
}

.choice {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* border-radius: var(--radius) var(--radius) 0 0; */
  border-radius: var(--radius) var(--radius) var(--radius) var(--radius);
  overflow: hidden;
}
.choice-card {
  padding: clamp(1.5rem, 4vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.choice-card h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
}
.choice-card p {
  max-width: 38ch;
}
.choice-card .btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}
.choice-strom {
  background: var(--strom);
  color: var(--ink);
}
.choice-gas {
  background: var(--gas);
  color: #fff;
}
.choice-gas .btn {
  background: #fff;
  color: var(--gas-dark);
}
.choice-strom .btn {
  background: var(--ink);
  color: #fff;
}
@media (max-width: 720px) {
  .choice {
    grid-template-columns: 1fr;
  }
}

/* ===== Vertrauensleiste ===== */
.facts {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.facts ul {
  list-style: none;
  margin: 0;
  padding: 1.25rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2.5rem;
  justify-content: center;
  font-weight: 600;
  /* font-size: 0.98rem; */
}
.facts li::before {
  content: "✓";
  color: var(--spar);
  font-weight: 900;
  margin-right: 0.5rem;
}

/* ===== Preisdruck + Beispielrechnung ===== */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}
.why-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.9rem;
}
.why-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--ink-soft);
}
.why-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--strom);
}
.why-list strong {
  color: var(--ink);
}

.example {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.example h3 {
  font-size: 1.25rem;
}
.example .sub {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-top: 0.35rem;
}
.bars {
  margin-top: 1.5rem;
  display: grid;
  gap: 1rem;
}
.bar-label {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.bar {
  height: 14px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  border-radius: 999px;
}
.bar-old i {
  width: 100%;
  background: var(--ink-soft);
}
.bar-new i {
  width: 72%;
  background: var(--spar);
}
.saving {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: #e7f5ec;
  color: #0a5c32;
  border-radius: 10px;
  font-weight: 700;
}
.disclaimer {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

/* ===== Vorteile ===== */
.benefits {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.benefit-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem 2.5rem;
}
.benefit {
  border-top: 3px solid var(--ink);
  padding-top: 1.1rem;
}
.benefit:nth-child(odd) {
  border-color: var(--strom);
}
.benefit:nth-child(even) {
  border-color: var(--gas);
}
.benefit h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.benefit p {
  color: var(--ink-soft);
}

/* ===== Ablauf (echte Reihenfolge) ===== */
.steps {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  counter-reset: step;
}
.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: relative;
}
.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 800;
  margin-bottom: 1rem;
}
.steps h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4rem;
}
.steps p {
  color: var(--ink-soft);
  font-size: 1rem;
}

/* ===== FAQ ===== */
.faq {
  max-width: 780px;
  margin-top: 2rem;
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding-block: 1.1rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  margin-top: 0.75rem;
  color: var(--ink-soft);
}

/* ===== Abschluss-CTA ===== */
.final {
  background: var(--ink);
  color: #fff;
  text-align: center;
}
.final h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  margin-inline: auto;
  max-width: 20ch;
}
.final p {
  margin: 1rem auto 0;
  color: #c5d3d8;
  max-width: 52ch;
}
.final .cta-row {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ===== Footer ===== */
.site-footer {
  background: #0a171d;
  color: #9fb2b9;
  font-size: 0.88rem;
  padding-block: 2.5rem;
}
.site-footer .wrap {
  display: grid;
  gap: 1.25rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}
.footer-links a {
  color: #fff;
  text-decoration: none;
}
.footer-links a:hover {
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .faq summary::after {
    transition: none;
  }
  .btn:hover {
    transform: none;
  }
}
