/* MeteoDiary · Produktseite
   Nur Seitenspezifisches. Alles Allgemeine kommt aus site.css.
   Akzent: Himmelblau (data-acc="meteo"), Zweitfarbe Befinden/Einträge: #ffd98a. */

:root { --mood: #ffd98a; }

/* ---------- Hero ---------- */
.pd-hero {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(40px, 6vw, 88px) clamp(28px, 4vw, 48px);
  background:
    radial-gradient(60% 85% at 78% 35%, var(--glow), transparent 70%),
    radial-gradient(50% 60% at 0% 100%, color-mix(in srgb, var(--acc) 14%, transparent), transparent 70%),
    var(--ink);
}
/* Isobaren-Anmutung: feine Ringe um das Telefon */
.pd-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: repeating-radial-gradient(circle at 76% 42%, transparent 0 52px, color-mix(in srgb, var(--acc) 11%, transparent) 52px 53px);
  -webkit-mask-image: radial-gradient(60% 75% at 76% 42%, #000, transparent 75%);
  mask-image: radial-gradient(60% 75% at 76% 42%, #000, transparent 75%);
}
.pd-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: center; gap: clamp(24px, 4vw, 64px);
}
.pd-hero-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; min-width: 0; }
.pd-hero h1 { font-size: clamp(2.3rem, 4.8vw, 4.3rem); line-height: .98; letter-spacing: -.035em; overflow-wrap: break-word; }
.pd-hero h1 em { font-style: normal; color: var(--acc); }
.pd-status { margin: 0; }
.pd-status .dot { flex: none; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-visual { display: grid; justify-items: center; gap: 18px; min-width: 0; padding-block: 14px; }
.pd-caption { font-family: var(--f-mono); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
/* Kurven zeichnen, sobald das Telefon eingeblendet ist (.on setzt site.js über .reveal) */
.hero-visual.on .chart path { stroke-dashoffset: 0; }

.pd-tags { list-style: none; margin: clamp(28px, 4vw, 48px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Pflichtsatz ---------- */
.pd-legal { padding-block: 8px clamp(8px, 2vw, 24px); }
.pd-legal .note { max-width: 860px; }

/* ---------- Zweispaltig (Rückschau) ---------- */
.pd-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.pd-split .section-head { margin-bottom: clamp(24px, 3vw, 36px); }
.steps strong { color: var(--text); font-weight: 600; }

.pd-figure { margin: 0; display: grid; gap: 18px; align-content: start; position: sticky; top: calc(var(--header-h) + 24px); }
.pd-figure .tag { justify-self: start; }
.pd-figure figcaption { font-size: .86rem; }

/* Rückschau-Grafik */
.rs-chart { width: 100%; height: auto; overflow: visible; }
.rs-grid line { stroke: rgba(255, 255, 255, .07); }
.rs-base { stroke: rgba(255, 255, 255, .22); }
.rs-drops line { stroke: var(--mood); stroke-opacity: .28; stroke-dasharray: 2 4; }
.rs-line {
  fill: none; stroke: var(--meteo); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1; filter: drop-shadow(0 0 6px var(--meteo));
  transition: stroke-dashoffset 2.2s ease .3s;
}
.rs-dots circle { fill: var(--mood); stroke: var(--ink-2); stroke-width: 2; opacity: 0; transition: opacity .5s ease; }
.rs-label { font-family: var(--f-mono); font-size: 11px; fill: var(--muted); letter-spacing: .04em; }
.rs-drops { opacity: 0; transition: opacity .8s ease 1.6s; }
.pd-figure.on .rs-line { stroke-dashoffset: 0; }
.pd-figure.on .rs-drops { opacity: 1; }
.pd-figure.on .rs-dots circle { opacity: 1; }
.rs-dots circle:nth-child(1) { transition-delay: .6s; }
.rs-dots circle:nth-child(2) { transition-delay: .8s; }
.rs-dots circle:nth-child(3) { transition-delay: .9s; }
.rs-dots circle:nth-child(4) { transition-delay: 1.2s; }
.rs-dots circle:nth-child(5) { transition-delay: 1.4s; }
.rs-dots circle:nth-child(6) { transition-delay: 1.5s; }
.rs-dots circle:nth-child(7) { transition-delay: 1.8s; }
.rs-dots circle:nth-child(8) { transition-delay: 2s; }
.rs-dots circle:nth-child(9) { transition-delay: 2.2s; }
.rs-dots circle:nth-child(10) { transition-delay: 2.4s; }

/* ---------- Wetterdaten ---------- */
.pd-facts { margin-top: 16px; }
.pd-attrib { margin-top: 20px; font-size: .84rem; line-height: 1.6; }

/* ---------- Preis ---------- */
.pd-plan { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: clamp(22px, 3vw, 32px); }
.pd-plan h3 { font-size: 1.6rem; margin: 0; }
.pd-plan-pro { border-color: color-mix(in srgb, var(--acc) 55%, var(--line)); background: linear-gradient(135deg, color-mix(in srgb, var(--acc) 14%, transparent), rgba(255, 255, 255, .025)); }
.pd-price-note { margin-top: auto; padding-top: 6px; color: var(--text); font-weight: 600; }
.pd-restore { margin-top: 16px; max-width: 860px; }

/* ---------- Später ---------- */
.later-item {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 22px;
  border-radius: var(--r); background: var(--ink-2); border: 1px dashed var(--line-strong);
}
.later-item b { font-family: var(--f-display); font-size: 1.08rem; font-weight: 600; letter-spacing: -.01em; }

/* ---------- Abschluss ---------- */
.pd-final { display: grid; justify-items: center; text-align: center; gap: 18px; padding: clamp(32px, 6vw, 72px) clamp(20px, 4vw, 48px);
  background: radial-gradient(70% 100% at 50% 0%, color-mix(in srgb, var(--acc) 20%, transparent), transparent 70%), var(--ink-2); }
.pd-final .eyebrow { justify-content: center; }
.pd-final h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.04; letter-spacing: -.03em; }
.pd-final h2 em { font-style: normal; color: var(--acc); }
.pd-final .cta { justify-content: center; }

/* ---------- Fußzeile: drei Spalten statt vier ---------- */
.site-footer .footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }

/* ---------- Mobil ---------- */
@media (max-width: 960px) {
  .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .pd-hero-grid, .pd-split { grid-template-columns: minmax(0, 1fr); }
  .pd-figure { position: static; }
}
@media (max-width: 480px) {
  .cta .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .rs-line { stroke-dashoffset: 0; }
  .rs-dots circle, .rs-drops { opacity: 1; }
}

/* Preiskarten: Betrag groß, Zeitraum klein */
.pd-plan h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: 10px; }
.pd-plan h3 small { font-size: .45em; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-left: 4px; }
