/* =========================================================
   Deutsche Privatenergie · Overrides & neue Module
   (auf styles.css aufgesetzt — gleiche Tokens, neue Komponenten)
   ========================================================= */

/* Smooth-Scroll + Offset für sticky Header bei Anker-Links */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Logo-Höhe anheben (SVG-Wortmarke ist kompakter im Hochformat) */
.brand-logo { height: 48px; width: auto; }
@media (max-width: 960px) { .brand-logo { height: 40px; } }

/* =========================================================
   Marken-Text-Chips (Lichtblick, E.ON … als Platzhalter)
   ========================================================= */
.kundenlogo-card-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 56px;
  padding: 0 18px;
  background: var(--white);
  border: 1px solid var(--cool-line);
  border-radius: var(--r-12);
}
.kundenlogo-card-text .logo-text {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.brand-strip-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 16px;
  margin-top: 22px;
}
.brand-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 144px;
  height: 60px;
  padding: 0 22px;
  background: var(--white);
  border: 1px solid var(--cool-line);
  border-radius: var(--r-12);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}
.brand-chip:hover { transform: translateY(-2px); border-color: var(--gold); }
.brand-chip .logo-text {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.strip-note {
  margin: 22px auto 0;
  max-width: 560px;
  text-align: center;
  font-size: 13px;
  color: var(--ink-2);
  line-height: 1.6;
}

/* =========================================================
   Hero · Preis-Vergleichs-Chart (statt Photo + Stat-Card)
   ========================================================= */
.price-compare {
  position: relative;
  background: var(--white);
  border: 1px solid var(--cool-line);
  border-radius: var(--r-24);
  padding: 28px 28px 24px;
  box-shadow: var(--sh-glass);
}
.pc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.pc-legend {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-2);
}
.lg-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: -1px;
}
.lg-dot-bad  { background: #C75A4A; }
.lg-dot-good { background: var(--gold-dark); }
.pc-chart { width: 100%; height: auto; display: block; }
.pc-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--cool-line);
  font-size: 13px;
  color: var(--ink-2);
}
.pc-delta strong { color: var(--gold-dark); font-weight: 600; }

/* Hero-Mini-Card Variante (kein Chart, nur Text) */
.hero-mini-card-privat .row {
  margin-bottom: 8px;
}
.hero-mini-card-privat .v {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
}
.hero-mini-card-privat .mini-body {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

/* =========================================================
   Klausel-Falle · zwei Vergleichs-Karten
   ========================================================= */
.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 1024px) { .problem-grid { grid-template-columns: 1fr; gap: 40px; } }

.problem-visual {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 720px) { .problem-visual { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) and (max-width: 1279px) { .problem-visual { grid-template-columns: 1fr; } }

.trap-card {
  background: var(--white);
  border: 1px solid var(--cool-line);
  border-radius: var(--r-16);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.trap-bad  { border-color: rgba(199, 90, 74, 0.35); background: linear-gradient(180deg, #FDF6F4 0%, var(--white) 60%); }
.trap-good { border-color: rgba(200, 170, 34, 0.45); background: linear-gradient(180deg, var(--gold-wash) 0%, var(--white) 60%); }

.trap-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.trap-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
}
.trap-tag-bad  { background: #FBE5E0; color: #8E2F1F; }
.trap-tag-good { background: var(--gold-soft); color: var(--gold-dark); }
.trap-arrow {
  font-size: 18px;
  line-height: 1;
}
.trap-arrow-up   { color: #C75A4A; }
.trap-arrow-flat { color: var(--gold-dark); }

.trap-steps {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.trap-steps li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.trap-steps li:last-child { border-bottom: none; padding-bottom: 0; }
.trap-step-num {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 2px;
}
.trap-steps p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
}
.trap-steps p strong { color: var(--ink); font-weight: 600; }

.trap-foot {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid rgba(0,0,0,0.08);
  font-size: 14px;
  color: var(--ink-2);
}
.trap-foot strong { color: #C75A4A; font-weight: 600; }
.trap-foot-good strong { color: var(--gold-dark); }

/* =========================================================
   Tarif-Karten (Strom / Gas)
   ========================================================= */
.tariff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 860px) { .tariff-grid { grid-template-columns: 1fr; } }

.tariff-card {
  background: var(--white);
  border: 1px solid var(--cool-line);
  border-radius: var(--r-24);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 240ms var(--ease), box-shadow 240ms var(--ease), border-color 240ms var(--ease);
}
.tariff-card:hover { transform: translateY(-4px); box-shadow: var(--sh-hover); border-color: var(--gold); }

.tariff-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.tariff-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: var(--r-12);
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold-dark);
}
.tariff-icon-gas { background: #EDF1F5; color: #2B5A6B; }
.tariff-icon svg { width: 26px; height: 26px; }

.tariff-body {
  font-size: 15.5px;
  line-height: 1.6;
}
.tariff-feat {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tariff-feat li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
}
.bullet-dot {
  display: inline-block;
  width: 8px; height: 8px;
  margin-top: 8px;
  border-radius: 50%;
  background: var(--gold-bright);
}

/* =========================================================
   Prozess · 4-Spalten-Variante
   ========================================================= */
.process-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 48px;
}
@media (max-width: 1100px) { .process-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px)  { .process-4 { grid-template-columns: 1fr; } }

/* =========================================================
   FAQ
   ========================================================= */
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 1024px) { .faq-grid { grid-template-columns: 1fr; gap: 40px; } }

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--cool-line);
}
.faq-item {
  border-bottom: 1px solid var(--cool-line);
  background: transparent;
}
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.4;
  user-select: none;
  transition: color 200ms var(--ease);
}
.faq-item > summary:hover { color: var(--gold-dark); }
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary::marker { display: none; }

.faq-chev {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--gold-soft);
  position: relative;
  transition: background 200ms var(--ease), transform 240ms var(--ease);
}
.faq-chev::before,
.faq-chev::after {
  content: "";
  position: absolute;
  background: var(--gold-dark);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  transition: transform 240ms var(--ease);
}
.faq-chev::before { width: 12px; height: 2px; }
.faq-chev::after  { width: 2px; height: 12px; }
.faq-item[open] > summary .faq-chev { background: var(--gold-dark); }
.faq-item[open] > summary .faq-chev::before { background: var(--white); }
.faq-item[open] > summary .faq-chev::after  { background: var(--white); transform: translate(-50%, -50%) scaleY(0); }

.faq-body {
  padding: 0 0 22px 0;
  max-width: 64ch;
}
.faq-body p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
}
.faq-body p a { color: var(--gold-dark); border-bottom: 1px solid var(--gold-bright); }

/* =========================================================
   Kontakt-Formular
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 64px;
  align-items: start;
}
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; gap: 40px; } }

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 32px;
  border-top: 1px solid var(--cool-line);
  padding-top: 24px;
}
.contact-info-line {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--cool-line);
  color: var(--ink);
  transition: color 200ms var(--ease);
}
.contact-info-line:last-child { border-bottom: none; }
.contact-info-line:hover { color: var(--gold-dark); }
.ci-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
}
.ci-icon svg { width: 18px; height: 18px; }
.contact-info-line span:nth-child(2) {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.contact-info-line strong {
  font-size: 14.5px;
  font-weight: 600;
  color: inherit;
  letter-spacing: 0.005em;
  word-break: break-word;
}
.contact-info-line small {
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.01em;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--cool-line);
  border-radius: var(--r-24);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: var(--sh-card);
}
@media (max-width: 600px) { .contact-form { padding: 24px; border-radius: var(--r-16); } }

.form-row { display: flex; flex-direction: column; gap: 18px; }
.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field-label {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.field-label em {
  font-style: normal;
  color: var(--gold-dark);
  font-weight: 600;
  margin-left: 2px;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field textarea {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.4;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--cool-line);
  border-radius: var(--r-8);
  color: var(--ink);
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
  width: 100%;
  resize: vertical;
}
.field textarea { min-height: 110px; }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(200, 170, 34, 0.18);
}
.field input::placeholder,
.field textarea::placeholder { color: var(--ink-3); }

.form-fieldset {
  border: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-fieldset legend { padding: 0; }

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.radio-chip {
  display: inline-flex;
  position: relative;
  cursor: pointer;
}
.radio-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.radio-chip span {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: var(--white);
  border: 1px solid var(--cool-line);
  border-radius: 999px;
  transition: all 180ms var(--ease);
}
.radio-chip:hover span { border-color: var(--ink); color: var(--ink); }
.radio-chip input:checked + span {
  background: var(--gold-soft);
  border-color: var(--gold-dark);
  color: var(--gold-dark);
  font-weight: 600;
}
.radio-chip input:focus-visible + span {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}

.form-check {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-items: flex-start;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink-2);
  padding: 12px 0 4px;
  cursor: pointer;
}
.form-check input[type="checkbox"] {
  width: 18px; height: 18px;
  margin-top: 2px;
  accent-color: var(--gold-dark);
}
.form-check a { color: var(--gold-dark); border-bottom: 1px solid var(--gold-bright); }

.form-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.form-meta {
  margin: 0;
  font-size: 12.5px;
  color: var(--ink-3);
  letter-spacing: 0.005em;
}

/* Honeypot · vor Menschen versteckt, von Bots ausgefüllt */
.hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none;
}

.form-success {
  background: var(--gold-wash);
  border: 1px solid var(--gold);
  border-radius: var(--r-12);
  padding: 18px 20px;
  color: var(--gold-dark);
}
.form-success strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}
.form-success p { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }

/* =========================================================
   Beispielwerte-Disclaimer · sitewide kleine Footnote-Lines
   ========================================================= */
.disclaimer,
.hero-disclaimer,
.pc-note,
.trust-note {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-3);
  font-style: italic;
  letter-spacing: 0.005em;
}
.hero-disclaimer {
  margin-top: 16px;
  max-width: 60ch;
}
.pc-note {
  margin-top: 6px;
  font-size: 11.5px;
}
.disclaimer-wide {
  margin-top: 24px;
  max-width: 80ch;
  padding-top: 16px;
  border-top: 1px dashed var(--cool-line);
}
.trust-note {
  display: block;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.55);
  font-size: 11.5px;
  text-align: center;
  max-width: 80ch;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   Sektion-Padding für One-Pager (etwas knapper als Multi-Page)
   ========================================================= */
@media (min-width: 1024px) {
  #problem.section, #faq.section, #kontakt.section {
    padding-top: 120px;
    padding-bottom: 120px;
  }
}
