/* =========================================================================
   pv-ratgeber.css
   ERGÄNZUNG zu styles.css und home.css (nicht deren Ersatz!).
   Reihenfolge im <head>: styles.css, home.css, dann diese Datei.
   Header/Navigation kommen komplett aus styles.css (nicht hier angefasst),
   damit das Aufklapp-Menü wie auf der Startseite funktioniert.
   ========================================================================= */

.pvr-page { background: var(--soft); }

.pvr-container {
  width: min(100%, var(--inner));
  margin: 0 auto;
  padding-left: var(--page);
  padding-right: var(--page);
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: 0 0 12px 0; z-index: 999;
}
.skip-link:focus { left: 0; }

/* ---------- Hero mit Formular ---------- */
/* Abgedunkeltes Hintergrundbild (black-panels-background.jpg). Der dunkle
   Verlauf darüber sorgt dafür, dass weiße Schrift und Formularkarte gut
   lesbar bleiben. Weniger Innenabstand oben -> Inhalt sitzt kompakter und
   näher am Header, der Bereich wirkt dadurch weniger "fett". */
.pvr-hero {
  position: relative; overflow: hidden; color: #fff;
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 4.5rem);
}
.pvr-hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(120deg, rgba(4, 12, 20, 0.9) 0%, rgba(6, 18, 30, 0.82) 48%, rgba(7, 24, 39, 0.72) 100%),
    url("/assets/black-panels-background.jpg");
  background-size: cover; background-position: center;
}
.pvr-hero > * { position: relative; z-index: 1; }

/* Formularspalte breiter, Text-Spalte etwas schmaler -> Formular wirkt großzügiger */
.pvr-hero__grid {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.pvr-audience-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--yellow); color: var(--ink);
  font-weight: 900; font-size: 0.82rem;
  padding: 0.5rem 1rem; border-radius: 999px; margin-bottom: 1.3rem;
}
.pvr-hero h1 { color: #fff; margin: 0 0 1rem; max-width: 660px; }
.pvr-hero__lead {
  max-width: 560px; color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.3vw, 1.15rem); line-height: 1.7; margin: 0 0 1.6rem;
}
.pvr-hero__lead strong { color: #fff; }

.pvr-notice {
  display: flex; gap: 0.7rem; align-items: flex-start;
  background: rgba(27, 145, 208, 0.16);
  border: 1px solid rgba(91, 195, 234, 0.4);
  border-radius: 12px; padding: 0.9rem 1.1rem; max-width: 560px;
  color: rgba(255, 255, 255, 0.92); font-size: 0.92rem; line-height: 1.5;
}
.pvr-notice svg { flex: none; width: 22px; height: 22px; color: var(--yellow); margin-top: 1px; }

/* ---------- Formularkarte ---------- */
/* Etwas mehr Abstand nach oben, damit die Karte nicht am Header klebt. */
.pvr-form-card {
  background: #fff; color: var(--text);
  border-radius: 22px; padding: clamp(1.7rem, 3vw, 2.6rem);
  box-shadow: var(--shadow);
  margin-top: clamp(0.5rem, 3vw, 2rem);
}
.pvr-form-card h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin: 0 0 0.4rem; }
.pvr-form-card__sub { color: var(--muted); line-height: 1.6; margin: 0 0 1.4rem; font-size: 0.96rem; }

/* Deutlicher "Kein Newsletter"-Hinweis */
.pvr-no-newsletter {
  display: flex; gap: 0.6rem; align-items: flex-start;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.5);
  border-radius: 10px; padding: 0.7rem 0.9rem; margin: 0 0 1.3rem;
  font-size: 0.88rem; line-height: 1.45; color: #0f7a3d; font-weight: 600;
}
.pvr-no-newsletter svg { flex: none; width: 18px; height: 18px; margin-top: 1px; color: #17a34a; }

.pvr-field { margin-bottom: 1rem; }
.pvr-field label { display: block; font-weight: 780; color: var(--ink); margin-bottom: 0.4rem; font-size: 0.92rem; }
.pvr-field input[type="text"],
.pvr-field input[type="email"] {
  width: 100%; border: 1px solid var(--line); border-radius: 10px;
  padding: 0.85rem 0.9rem; font-family: var(--font); font-size: 1rem;
  color: var(--text); background: var(--soft);
}
.pvr-consent {
  display: flex; gap: 0.65rem; align-items: flex-start;
  margin: 0 0 1.3rem; font-size: 0.9rem; color: var(--muted); line-height: 1.5;
}
.pvr-consent input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.pvr-consent a { color: var(--blue-dark); }
.pvr-form-card .btn { width: 100%; }
.pvr-microcopy { margin: 0.9rem 0 0; font-size: 0.8rem; color: var(--muted); text-align: center; line-height: 1.5; }
.pvr-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.pvr-message { margin-top: 1rem; padding: 0.9rem 1rem; border-radius: 10px; font-size: 0.92rem; display: none; }
.pvr-message.is-success { display: block; background: rgba(37, 211, 102, 0.12); border: 1px solid #25d366; color: #0f7a3d; }
.pvr-message.is-error { display: block; background: var(--blue-soft); border: 1px solid var(--blue); color: var(--blue-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pvr-hero__grid { grid-template-columns: 1fr; }
  .pvr-form-card { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }