/* =========================================================
   FPE Protagonisten – gekapselt unter .fpe-protagonisten
   Klassen fpep-präfixiert. Nutzt die globalen fpe-site-Tokens
   (--fpe-*) mit Fallback, damit das Plugin auch allein steht.
   ========================================================= */
.fpe-protagonisten{
  --fpep-rot:        var(--fpe-rot, #CB1422);
  --fpep-rot-dunkel: var(--fpe-rot-dunkel, #a5101c);
  --fpep-teal:       var(--fpe-teal, #0E6E78);
  --fpep-teal-dunkel:var(--fpe-teal-dunkel, #0a545c);
  --fpep-tint:       #f4f7f8;
  --fpep-tint-rot:   #fdf2f3;
  --fpep-text:       var(--fpe-text, #1b2224);
  --fpep-leise:      #4c585b;
  --fpep-linie:      #e2e8ea;
  --fpep-radius:     14px;
  --fpep-radius-s:   10px;
  --fpep-schatten:   0 6px 24px rgba(14,110,120,.10);
  --fpep-maxw:       1120px;

  color: var(--fpep-text);
  line-height: 1.6;
}
.fpe-protagonisten *{box-sizing:border-box}
.fpe-protagonisten h1,
.fpe-protagonisten h2,
.fpe-protagonisten h3{line-height:1.2;margin:0 0 .5em;color:var(--fpep-text)}
.fpe-protagonisten h1{font-size:2.3rem;font-weight:800;letter-spacing:-.5px}
.fpe-protagonisten h2{font-size:1.7rem;font-weight:800}
.fpe-protagonisten h3{font-size:1.2rem;font-weight:700}
.fpe-protagonisten p{margin:0 0 1em}
.fpe-protagonisten img{max-width:100%;height:auto;display:block}

.fpep-wrap{max-width:var(--fpep-maxw);margin:0 auto;padding:0 20px}

/* Fokus immer klar sichtbar (WCAG 2.4.7) */
.fpe-protagonisten a:focus-visible,
.fpe-protagonisten button:focus-visible,
.fpe-protagonisten input:focus-visible,
.fpe-protagonisten textarea:focus-visible,
.fpe-protagonisten select:focus-visible{
  outline:3px solid var(--fpep-teal);
  outline-offset:2px;border-radius:4px;
}

/* Buttons */
.fpep-btn{
  display:inline-flex;align-items:center;gap:.5em;
  font-weight:700;font-size:1.02rem;line-height:1;
  padding:15px 26px;border-radius:999px;border:2px solid transparent;
  text-decoration:none;cursor:pointer;transition:background .15s,border-color .15s;
}
.fpep-btn--rot{background:var(--fpep-rot);color:#fff}
.fpep-btn--rot:hover{background:var(--fpep-rot-dunkel)}
.fpep-btn--ghost{background:transparent;color:#fff;border-color:rgba(255,255,255,.75)}
.fpep-btn--ghost:hover{background:rgba(255,255,255,.14)}
.fpep-btn--ghost-teal{background:#fff;color:var(--fpep-teal-dunkel);border-color:var(--fpep-teal)}
.fpep-btn--ghost-teal:hover{background:var(--fpep-tint)}
.fpep-btn--weiss{background:#fff;color:var(--fpep-rot)}
.fpep-btn--weiss:hover{background:#f4dede}

/* Buttonfarben mit höherer Spezifität + !important, damit globale Theme-/Link-
   Styles die Farbe (auch im Hover) nicht überschreiben (Kontrast/Lesbarkeit). */
.fpe-protagonisten .fpep-btn--rot{background:var(--fpep-rot)!important;color:#fff!important}
.fpe-protagonisten .fpep-btn--rot:hover{background:var(--fpep-rot-dunkel)!important;color:#fff!important}
.fpe-protagonisten .fpep-btn--ghost{background:transparent!important;color:#fff!important}
.fpe-protagonisten .fpep-btn--ghost:hover{background:rgba(255,255,255,.14)!important;color:#fff!important}
.fpe-protagonisten .fpep-btn--ghost-teal{background:#fff!important;color:var(--fpep-teal-dunkel)!important}
.fpe-protagonisten .fpep-btn--ghost-teal:hover{background:var(--fpep-tint)!important;color:var(--fpep-teal-dunkel)!important}
.fpe-protagonisten .fpep-btn--weiss{background:#fff!important;color:var(--fpep-rot)!important}
.fpe-protagonisten .fpep-btn--weiss:hover{background:#f4dede!important;color:var(--fpep-rot)!important}

/* Überschriften auf farbigem Grund IMMER weiß.
   Höhere Spezifität + !important, damit der globale Überschriften-Standard
   aus fpe-site (.entry-content h1/h2 …) sie nicht rot einfärbt. */
.fpe-protagonisten .fpep-hero h1,
.fpe-protagonisten .fpep-comm h2,
.fpe-protagonisten .fpep-b2b h2{color:#fff !important}

/* HERO */
.fpep-hero{
  background:
    radial-gradient(1200px 400px at 85% -10%, rgba(14,110,120,.18), transparent 60%),
    linear-gradient(180deg,#0f7883 0%, #0E6E78 55%, #0b5a63 100%);
  color:#fff;padding:64px 0 72px;
}
.fpep-hero h1{color:#fff;max-width:16ch}
.fpep-hero p{font-size:1.2rem;max-width:56ch;color:#eaf6f7}
.fpep-hero-cta{display:flex;gap:14px;flex-wrap:wrap;margin-top:26px}
.fpep-badge{
  display:inline-flex;align-items:center;gap:.5em;
  background:rgba(255,255,255,.16);border:1px solid rgba(255,255,255,.35);
  padding:7px 14px;border-radius:999px;font-weight:700;font-size:.9rem;margin-bottom:18px;color:#fff;
}
.fpep-badge--rot{background:var(--fpep-rot);border-color:transparent;letter-spacing:.5px}

/* Abschnitte */
.fpep-sec{padding:64px 0}
.fpep-sec--tint{background:var(--fpep-tint)}
.fpep-lead{max-width:62ch;color:var(--fpep-leise);font-size:1.1rem}
.fpep-eyebrow{color:var(--fpep-rot);font-weight:800;text-transform:uppercase;letter-spacing:1px;font-size:.85rem;margin:0 0 8px}
.fpep-eyebrow--hell{color:#ffd7da}

/* 3 Kacheln */
.fpep-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:34px}
.fpep-card{background:#fff;border:1px solid var(--fpep-linie);border-radius:var(--fpep-radius);padding:26px;box-shadow:var(--fpep-schatten)}
.fpep-ic{width:46px;height:46px;border-radius:12px;background:var(--fpep-tint-rot);color:var(--fpep-rot);display:flex;align-items:center;justify-content:center;font-size:1.5rem;margin-bottom:14px}
.fpep-card p{margin:0;color:var(--fpep-leise)}

/* Community-Highlight */
.fpep-comm{
  background:linear-gradient(135deg,#0E6E78 0%, #0b5a63 100%);
  color:#fff;border-radius:22px;overflow:hidden;
  display:grid;grid-template-columns:1.3fr .9fr;box-shadow:var(--fpep-schatten);
}
.fpep-comm__text{padding:44px}
.fpep-comm__aside{background:rgba(0,0,0,.16);padding:44px;display:flex;flex-direction:column;justify-content:center;gap:14px}
.fpep-comm h2{color:#fff;max-width:22ch}
.fpep-comm p{color:#e6f4f5;max-width:54ch}
.fpep-comm__date{font-size:1.35rem;font-weight:800;color:#fff}
.fpep-comm__meta{color:#cfe9eb;font-weight:600}
.fpep-checklist{list-style:none;margin:8px 0 22px;padding:0}
.fpep-checklist li{padding-left:28px;position:relative;margin-bottom:9px;color:#eaf6f7}
.fpep-checklist li::before{content:"✓";position:absolute;left:0;color:#fff;font-weight:900}

/* Ablauf */
.fpep-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin-top:34px;counter-reset:s}
.fpep-step{background:#fff;border:1px solid var(--fpep-linie);border-radius:var(--fpep-radius);padding:24px}
.fpep-step::before{
  counter-increment:s;content:counter(s);
  display:flex;align-items:center;justify-content:center;
  width:38px;height:38px;border-radius:50%;background:var(--fpep-rot);color:#fff;font-weight:800;margin-bottom:14px;
}
.fpep-step h3{margin-bottom:.35em}
.fpep-step p{margin:0;color:var(--fpep-leise);font-size:.98rem}

/* Formular */
.fpep-formcard{background:#fff;border:1px solid var(--fpep-linie);border-radius:18px;padding:34px;box-shadow:var(--fpep-schatten);margin-top:24px}
.fpep-form-hinweis{color:var(--fpep-leise);font-size:.92rem;margin:0 0 20px}
.fpep-formgrid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.fpep-field{display:flex;flex-direction:column;gap:6px;margin-bottom:4px}
.fpep-field.fpep-full{grid-column:1 / -1}
.fpep-field label,.fpep-grouplabel{font-weight:700;font-size:.98rem}
.fpep-hint{font-weight:500;color:var(--fpep-leise);font-size:.88rem}
.fpep-field input,.fpep-field textarea,.fpep-field select{
  border:1.5px solid var(--fpep-linie);border-radius:var(--fpep-radius-s);
  padding:12px 14px;font:inherit;font-size:1rem;background:#fff;color:var(--fpep-text);width:100%;
}
.fpep-field textarea{min-height:120px;resize:vertical}
.fpep-req{color:var(--fpep-rot)}
.fpep-checks{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:2px}
.fpep-check{display:flex;align-items:center;gap:9px;border:1.5px solid var(--fpep-linie);border-radius:var(--fpep-radius-s);padding:11px 13px;font-weight:600}
.fpep-check input{width:20px;height:20px;accent-color:var(--fpep-teal)}
.fpep-consent{display:flex;gap:11px;align-items:flex-start;margin:8px 0;font-size:.96rem;color:var(--fpep-leise)}
.fpep-consent input{width:22px;height:22px;margin-top:2px;accent-color:var(--fpep-teal);flex:none}
.fpep-form-actions{margin-top:18px}

/* Hauptvideo direkt unter dem Hero */
.fpep-sec--video{padding:36px 0}
.fpep-wrap--schmal{max-width:880px}

/* Video-Embeds (responsiv 16:9) */
.fpep-videoembed{position:relative;aspect-ratio:16/9;border-radius:var(--fpep-radius);overflow:hidden;background:#0b5a63;box-shadow:var(--fpep-schatten)}
.fpep-videoembed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.fpep-videos{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;margin-top:30px}

/* Foto-Galerie */
.fpep-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:26px}
.fpep-gitem{margin:0}
.fpep-gitem img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px;display:block}

/* B2B-Brücke */
.fpep-b2b{background:linear-gradient(135deg,#a5101c 0%, #CB1422 100%);color:#fff;padding:52px 0}
.fpep-b2b__inner{display:grid;grid-template-columns:1.6fr auto;gap:28px;align-items:center}
.fpep-b2b h2{color:#fff;max-width:22ch}
.fpep-b2b p{color:#ffe7e9;max-width:60ch;margin:0}

/* Danke-/Bestätigungsseite */
.fpep-danke{padding:72px 0;background:var(--fpep-tint)}
.fpep-danke-card{background:#fff;border:1px solid var(--fpep-linie);border-radius:18px;padding:48px 40px;box-shadow:var(--fpep-schatten);text-align:center;max-width:680px;margin:0 auto}
.fpep-danke-ic{width:74px;height:74px;border-radius:50%;background:#e6f2ef;color:var(--fpep-teal-dunkel);font-size:2.3rem;font-weight:900;display:flex;align-items:center;justify-content:center;margin:0 auto 20px}
.fpep-danke-card h1{font-size:2rem}
.fpep-danke-card p{color:var(--fpep-leise);max-width:52ch;margin-left:auto;margin-right:auto}
.fpep-danke-card p strong{color:var(--fpep-text)}
.fpep-danke-cta{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:26px}

/* Responsiv */
@media(max-width:820px){
  .fpep-cards{grid-template-columns:1fr}
  .fpep-comm{grid-template-columns:1fr}
  .fpep-steps{grid-template-columns:1fr 1fr}
  .fpep-videos{grid-template-columns:1fr}
  .fpep-gallery{grid-template-columns:repeat(3,1fr)}
  .fpep-b2b__inner{grid-template-columns:1fr}
}
@media(max-width:640px){
  .fpep-formgrid{grid-template-columns:1fr}
  .fpep-checks{grid-template-columns:1fr 1fr}
  .fpep-gallery{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:520px){
  .fpep-steps{grid-template-columns:1fr}
  .fpe-protagonisten h1{font-size:1.9rem}
}
