/* =====================================================
   Whitepaper-Landingpage — reif & möller
   Nur auf Template whitepaper / whitepaper-danke geladen.
   Ergänzt die Site-Klassen (container, btn, bg-*, accordion,
   wrapper-uspBar, wrapper-customQuote) um das Seitenlayout.
   ===================================================== */

.whitepaper-seite {
  --wp-blue:        #054783;
  --wp-blue-deep:   #01284b;
  --wp-yellow:      #f9d500;
  --wp-yellow-soft: #fff8d4;
  --wp-gray:        #6F7072;
  --wp-border:      #e3e8ef;
  --wp-radius:      10px;
  --wp-shadow:      0 6px 24px rgba(5, 71, 131, 0.10);
}

.wp-section h2 { margin-bottom: 1.5rem; }

/* ---------- Block 1 · Hero ---------- */
.wp-hero {
  background: linear-gradient(180deg, var(--wp-yellow) 0, var(--wp-yellow) 8px, #eef4fa 8px, #eef4fa 100%);
  padding: 3rem 0 3.5rem;
}
.wp-hero h1 { margin-bottom: .75rem; font-size: clamp(2rem, 7.5vw, 3.25rem); line-height: 1.15; hyphens: auto; overflow-wrap: break-word; }
.wp-hero__subline { font-size: 1.35rem; line-height: 1.35; margin-bottom: 1.25rem; }
.wp-hero__text { max-width: 40em; }
.wp-hero__media { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; margin-top: 1.5rem; }
.wp-hero__cover { flex: 0 0 180px; max-width: 180px; }
.wp-hero__cover img { width: 100%; height: auto; aspect-ratio: 210 / 297; object-fit: cover; box-shadow: var(--wp-shadow); border-radius: 4px; }
.wp-hero__actions { flex: 1 1 260px; }
.wp-hero__trust { margin-top: 1rem; font-size: .9rem; color: var(--wp-blue); font-weight: 700; }

.wp-form-card {
  background: #fff;
  border-radius: var(--wp-radius);
  box-shadow: var(--wp-shadow);
  padding: 1.75rem;
  margin-top: 2rem;
  scroll-margin-top: 110px;
}
@media (min-width: 992px) { .wp-form-card { margin-top: 0; } }

.wp-form .form-group { margin-bottom: 1rem; }
.wp-form label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: .25rem; }
.wp-form .form-check label { font-weight: 400; }
.wp-form .form-control.error,
.wp-form .form-check-input.error { border-color: #c0392b; }
.wp-form__row { display: grid; grid-template-columns: 1fr; gap: 0 1rem; }
@media (min-width: 576px) { .wp-form__row { grid-template-columns: 1fr 1fr; } }
.wp-form__note { font-size: .85rem; color: var(--wp-gray); margin-top: .75rem; }
.wp-error { color: #c0392b; font-size: .85rem; margin: .25rem 0 0; }
.wp-honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wp-form .formNotice { background: var(--wp-yellow-soft); padding: 12px 14px; border-radius: 8px; margin: 1rem 0; font-size: .9rem; }

/* ---------- Block 2 · Inhalte ---------- */
.wp-contents { counter-reset: wp; list-style: none; padding: 0; display: grid; gap: 1.25rem 2rem; }
@media (min-width: 768px) { .wp-contents { grid-template-columns: 1fr 1fr; } }
.wp-contents li { counter-increment: wp; position: relative; padding-left: 3rem; }
.wp-contents li::before {
  content: counter(wp);
  position: absolute; left: 0; top: 0;
  width: 2.1rem; height: 2.1rem; border-radius: 50%;
  background: var(--wp-yellow); color: var(--wp-blue);
  font-weight: 700; display: flex; align-items: center; justify-content: center;
}
.wp-contents p { margin: .25rem 0 0; }

/* Leseprobe */
.wp-preview { margin-top: 2.5rem; }
.wp-preview h3 { font-size: 1.15rem; margin-bottom: 1rem; }
.wp-preview__pages { display: flex; gap: 1rem; overflow-x: auto; padding-bottom: .5rem; scroll-snap-type: x mandatory; }
.wp-preview__page { flex: 0 0 auto; width: 200px; margin: 0; scroll-snap-align: start; }
.wp-preview__page img { display: block; width: 100%; height: auto; background: #fff; box-shadow: var(--wp-shadow); border-radius: 3px; user-select: none; -webkit-user-drag: none; }
@media (min-width: 768px) { .wp-preview__page { width: 220px; } }

/* ---------- Block 3 · Kriterien ---------- */
.wp-lead { max-width: 48em; font-size: 1.1rem; }
.wp-criteria { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 992px) { .wp-criteria { grid-template-columns: 1fr 1fr; } }
.wp-criterion { border-left: 4px solid var(--wp-yellow); padding: .25rem 0 .25rem 1.25rem; }
.wp-criterion h3 { font-size: 1.15rem; margin-bottom: .5rem; }
.wp-criterion__num { color: var(--wp-blue); }
.wp-criterion p { margin: 0; }
.wp-outro { margin-top: 2rem; font-weight: 700; }

/* ---------- Block 4 · Autor ---------- */
.wp-author { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: flex-start; }
.wp-author__portrait { flex: 0 0 160px; max-width: 160px; }
.wp-author__portrait img { width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; }
.wp-author__body { flex: 1 1 320px; }
.wp-author__name { font-size: 1.25rem; margin-bottom: .25rem; }
.wp-author__role { color: var(--wp-gray); font-size: .95rem; }
.wp-section .wrapper-customQuote { margin-top: 2rem; }

/* ---------- Block 5a · Kennzahlen (statCard-Modul, kompaktere Zahl) ---------- */
.wp-stats { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
@media (min-width: 576px) { .wp-stats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 992px) { .wp-stats { grid-template-columns: repeat(3, 1fr); } }
.wp-stats .statCard { padding: 1.75rem 1.5rem 1.5rem; }
.wp-stats .statCard__number { font-size: clamp(2rem, 3.4vw, 2.75rem); margin-bottom: .6rem; }
.wp-stats .statCard__label { margin: 0; }
.wp-stats__badge { align-items: center; justify-content: center; }
.wp-stats__badge img { width: 100%; max-width: 220px; height: auto; }

/* ---------- Block 5b · Kundenstimmen ---------- */
.wp-testimonials__headline { color: #fff; }
.wp-testimonials { display: grid; gap: 1.5rem; margin-top: 2rem; }
@media (min-width: 768px) { .wp-testimonials { grid-template-columns: 1fr 1fr; } }
.wp-testimonial { background: #fff; color: var(--wp-blue); border-radius: var(--wp-radius); padding: 1.5rem; margin: 0; }
.wp-testimonial__image { width: 72px; margin-bottom: 1rem; }
.wp-testimonial__image img { width: 100%; height: auto; border-radius: 50%; }
.wp-testimonial blockquote { margin: 0 0 1rem; }
/* Weiße Karte auf dunkelblauer Sektion: Textfarbe der Sektion überschreiben */
.bg-dark-blue .wp-testimonial,
.bg-dark-blue .wp-testimonial p,
.bg-dark-blue .wp-testimonial blockquote,
.bg-dark-blue .wp-testimonial strong { color: var(--wp-blue); }
.bg-dark-blue .wp-testimonial figcaption span { color: var(--wp-gray); }
.wp-testimonial figcaption span { display: block; font-size: .9rem; color: var(--wp-gray); }

/* ---------- Block 7 · Kacheln ---------- */
.wp-tiles { display: grid; gap: 1.25rem; }
@media (min-width: 768px) { .wp-tiles { grid-template-columns: repeat(3, 1fr); } }
.wp-tile {
  display: flex; flex-direction: column;
  background: #fff; border-radius: var(--wp-radius); padding: 1.5rem;
  color: var(--wp-blue); text-decoration: none; box-shadow: 0 2px 8px rgba(5, 71, 131, 0.06);
  transition: box-shadow .2s ease, transform .2s ease;
}
.wp-tile:hover, .wp-tile:focus-visible { box-shadow: var(--wp-shadow); transform: translateY(-2px); }
.wp-tile h3 { font-size: 1.1rem; }
.wp-tile p { flex: 1; }
.wp-tile__arrow { font-weight: 700; font-size: 1.25rem; }

/* ---------- Block 8 · CTA / Danke ---------- */
.wp-cta { max-width: 46em; }
.wp-cta__question a { font-weight: 700; }
.wp-thanks { max-width: 46em; padding: 1rem 0; }
.wp-thanks .btn { margin-top: 1rem; }
