/* =========================================================
   Erinnerungskristall.com – Zusätzliche Klassen für die
   neuen Content-Landingpages. Ergänzt style.css.
   Wird nach style.css eingebunden, damit es Vorrang hat.
   ========================================================= */

/* --------- Section-Untertitel (unterhalb section-title) --------- */
.section-sub {
  font-size: 1.1rem;
  color: var(--c-text-mute);
  line-height: 1.65;
  max-width: 720px;
  margin: 1.5rem 0 0;
}

/* =========================================================
   BUTTON-FIX INNERHALB .prose
   .prose a { color: gold; border-bottom: gold; } aus style.css
   überschreibt sonst die Button-Textfarbe. Buttons müssen
   ihre eigenen Regeln behalten.
   ========================================================= */
.prose a.btn,
.prose a.btn-primary,
.prose a.btn-ghost {
  border-bottom: none;
}
.prose a.btn-primary {
  color: #1a1612;
}
.prose a.btn-primary:hover {
  color: #100d0a;
  border-bottom: none;
}
.prose a.btn-ghost {
  color: var(--c-gold-2);
}
.prose a.btn-ghost:hover {
  color: var(--c-gold-2);
  border-bottom: none;
}

/* =========================================================
   VERGLEICHSTABELLE (Kristall vs. Diamant)
   ========================================================= */
.compare-wrap {
  overflow-x: auto;
  margin: 2.5rem 0 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-bg-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  font-size: 0.98rem;
  min-width: 620px;
}

.compare-table thead {
  background: var(--c-bg-3);
}

.compare-table th,
.compare-table td {
  padding: 1.1rem 1.4rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-line);
}

.compare-table thead th {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--c-text);
  letter-spacing: 0.005em;
  border-bottom: 1px solid var(--c-line-2);
}

.compare-table tbody tr:last-child th,
.compare-table tbody tr:last-child td {
  border-bottom: none;
}

.compare-table tbody th {
  font-weight: 500;
  color: var(--c-text-mute);
  width: 22%;
  background: rgba(255, 255, 255, 0.015);
}

.compare-table tbody td {
  color: var(--c-text);
  line-height: 1.6;
}

/* Highlight-Spalte (Kristall) — deutlicher hervorgehoben */
.compare-table thead th.col-highlight {
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.22) 0%, rgba(201, 169, 97, 0.15) 100%);
  color: var(--c-gold-2);
  border-top: 2px solid var(--c-gold-3);
  border-left: 1px solid var(--c-gold-3);
  border-right: 1px solid var(--c-gold-3);
}
.compare-table tbody td.col-highlight {
  background: linear-gradient(180deg, rgba(201, 169, 97, 0.10), rgba(201, 169, 97, 0.06));
  border-left: 1px solid var(--c-gold-3);
  border-right: 1px solid var(--c-gold-3);
}
.compare-table tbody tr:last-child td.col-highlight {
  border-bottom: 2px solid var(--c-gold-3);
}
.compare-table tbody td.col-highlight strong {
  color: var(--c-gold-2);
  font-weight: 600;
}

.compare-fazit {
  background: var(--c-bg-2);
  border-left: 3px solid var(--c-gold-3);
  padding: 1.5rem 2rem;
  border-radius: var(--radius);
  margin: 2rem auto 0;
  max-width: 900px;
  color: var(--c-text);
  font-size: 1rem;
  line-height: 1.7;
}
.compare-fazit p { margin: 0; }
.compare-fazit strong { color: var(--c-gold-2); }

@media (max-width: 640px) {
  .compare-table { font-size: 0.9rem; }
  .compare-table th,
  .compare-table td { padding: 0.9rem 1rem; }
  .compare-fazit { padding: 1.2rem 1.4rem; }
}

/* =========================================================
   PREIS-CARD (Basispreis + Veredelungen)
   ========================================================= */
.pricing-card {
  background: linear-gradient(160deg, var(--c-bg-2) 0%, var(--c-bg-3) 100%);
  border: 1px solid var(--c-line-2);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3rem);
  position: relative;
  overflow: hidden;
}
.pricing-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-gold-3), transparent);
}

.pricing-head {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--c-line);
}
.pricing-head .kicker { padding-left: 0; }
.pricing-head .kicker::before { display: none; }

.pricing-title {
  font-family: var(--f-display);
  font-weight: 300;
  margin: 0;
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  line-height: 1;
}
.pricing-from {
  font-size: 1.15rem;
  color: var(--c-text-mute);
  font-style: italic;
}
.pricing-amount {
  font-size: clamp(3rem, 8vw, 4.5rem);
  color: var(--c-gold-2);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.pricing-body {
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--c-text);
}
.pricing-body p { margin: 0 0 1.2em; }
.pricing-body h3 {
  font-family: var(--f-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--c-text);
  margin: 1.8em 0 0.6em;
}
.pricing-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5em;
}
.pricing-body li {
  position: relative;
  padding: 0.6em 0 0.6em 2rem;
  border-bottom: 1px solid var(--c-line);
  color: var(--c-text-mute);
}
.pricing-body li:last-child { border-bottom: none; }
.pricing-body li::before {
  content: "✦";
  position: absolute;
  left: 0.4rem;
  top: 0.6em;
  color: var(--c-gold);
  font-size: 0.9em;
}
.pricing-body li strong { color: var(--c-text); font-weight: 500; }

/* =========================================================
   BUNDESLÄNDER-ÜBERSICHT (Index-Grid + Detail-Blöcke)
   ========================================================= */
.state-index {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.6rem;
}
.state-index li { margin: 0; }
.state-index a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  background: var(--c-bg-2);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  color: var(--c-text);
  transition: all 0.25s var(--ease);
  font-family: var(--f-display);
  font-size: 1.08rem;
  font-weight: 500;
  border-bottom: 1px solid var(--c-line);
}
.state-index a:hover {
  border-color: var(--c-gold-3);
  background: var(--c-bg-3);
  color: var(--c-gold-2);
  transform: translateX(3px);
}

.state-status {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Status-Farben */
.status-ok    { background: rgba(141, 179, 139, 0.15); color: #a8c9a6; border: 1px solid rgba(141, 179, 139, 0.3); }
.status-plus  { background: rgba(201, 169, 97, 0.15);  color: var(--c-gold-2); border: 1px solid var(--c-gold-3); }
.status-limit { background: rgba(224, 180, 100, 0.12); color: #d4b478; border: 1px solid rgba(224, 180, 100, 0.3); }
.status-no    { background: rgba(224, 122, 95, 0.15);  color: #e07a5f; border: 1px solid rgba(224, 122, 95, 0.3); }

/* Detail-Blöcke pro Bundesland */
.state-details { background: var(--c-bg-2); }

.state-block {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--c-line);
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}
.state-block:last-child { border-bottom: none; }
.state-block h2 {
  font-size: 1.9rem;
  margin: 0.4rem 0 1rem;
  padding-top: 0;
}
.state-block h2::before { display: none; }
.state-block p {
  color: var(--c-text);
  line-height: 1.75;
  margin: 0 0 1em;
}
.state-block p:last-child { margin-bottom: 0; }

.state-badge {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
}

/* =========================================================
   Kleiner Tweak für die neuen Landingpages: page-hero enger
   ========================================================= */
.page-hero .kicker { margin-bottom: 1rem; }

/* Print-tauglich: Bundesland-Übersicht als PDF speichern */
@media print {
  .page-hero,
  .section-cta-band,
  .state-index { display: none; }
  .state-block { break-inside: avoid; page-break-inside: avoid; }
}

/* =========================================================
   FIX: Zwei aufeinanderfolgende CTA-Bänder gehören zusammen —
   der Border-Top-Trenner aus ".section + .section" darf hier
   nicht die zweite CTA-Box "berühren".
   ========================================================= */
.section-cta-band + .section-cta-band {
  border-top: none;
}
