/* ==========================================================================
   fpe-beratung — Stile fuer die Beratungs-Landingpage
   - Alle Klassen mit "fpeb-" praefixiert und unter ".fpe-beratung" gekapselt,
     damit nichts mit GeneratePress/GenerateBlocks oder anderen fpe-Plugins kollidiert.
   - Farben identisch zu fpe-site (Rot #CB1422 / Teal #0E6E78).
   - Bewusst KEIN Dunkelmodus (die Gesamtseite hat keinen funktionierenden Dark-Mode).
   ========================================================================== */

.fpe-beratung{
  --rot:#CB1422; --rot-dark:#A50F1B; --rot-link:#A50F1B;
  --akzent:#0E6E78; --akzent-link:#0B5A63;
  --tinte:#1a1a1a; --grau:#5b5b5b; --linie:#e6e6e6;
  --bg:#fff; --bg2:#faf7f7; --karte:#fff; --maxw:1120px;
  color:var(--tinte); line-height:1.55;
}
.fpe-beratung *{box-sizing:border-box}
.fpe-beratung .fpeb-wrap{max-width:var(--maxw);margin:0 auto;padding:0 20px}
.fpe-beratung a{color:var(--rot-link)}
.fpe-beratung img{max-width:100%;height:auto}

/* Buttons */
.fpe-beratung .fpeb-cta-row{display:flex;gap:12px;flex-wrap:wrap}
.fpe-beratung .fpeb-btn{display:inline-block;font-weight:700;padding:13px 22px;border-radius:999px;text-decoration:none;min-height:46px;line-height:1.4}
.fpe-beratung .fpeb-btn--pri{background:var(--rot);color:#fff}
.fpe-beratung .fpeb-btn--pri:hover,.fpe-beratung .fpeb-btn--pri:focus{background:var(--rot-dark);color:#fff}
.fpe-beratung .fpeb-btn--ghost{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.6)}
.fpe-beratung .fpeb-btn--ghost:hover,.fpe-beratung .fpeb-btn--ghost:focus{background:rgba(255,255,255,.22);color:#fff}

/* Hero */
.fpe-beratung .fpeb-hero{position:relative;isolation:isolate;color:#fff;overflow:hidden;border-radius:18px;margin:0 auto 8px;max-width:var(--maxw)}
.fpe-beratung .fpeb-hero__bg{position:absolute;inset:0;z-index:-2;background:#222 center/cover no-repeat}
.fpe-beratung .fpeb-hero__bg::after{content:"";position:absolute;inset:0;background:linear-gradient(100deg,rgba(0,0,0,.72),rgba(0,0,0,.5))}
.fpe-beratung .fpeb-hero__in{padding:64px 0 56px}
.fpe-beratung .fpeb-hero__in .fpeb-wrap{max-width:820px}
.fpe-beratung .fpeb-eyebrow{display:inline-block;background:rgba(0,0,0,.4);border:1px solid rgba(255,255,255,.55);color:#fff;padding:6px 14px;border-radius:999px;font-weight:600;font-size:.85rem;margin-bottom:14px}
.fpe-beratung .fpeb-hero h1{font-size:clamp(1.8rem,4.2vw,2.9rem);line-height:1.1;margin:.1em 0 .35em;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.85)}
.fpe-beratung .fpeb-hero .fpeb-lead{font-size:1.15rem;max-width:620px;margin:0 0 22px;color:#fff;text-shadow:0 1px 3px rgba(0,0,0,.85)}

/* Siegel */
.fpe-beratung .fpeb-siegel{background:var(--bg2);border:1px solid var(--linie);border-radius:16px;margin:8px auto 0;max-width:var(--maxw)}
.fpe-beratung .fpeb-siegel .fpeb-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,240px));justify-content:center;gap:32px;padding:28px 20px}
.fpe-beratung .fpeb-sg{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px}
.fpe-beratung .fpeb-em--logo{width:120px;height:96px;flex:0 0 auto;background:#fff;border:1px solid var(--linie);border-radius:16px;padding:12px;display:grid;place-items:center}
.fpe-beratung .fpeb-em--logo img{width:100%;height:100%;object-fit:contain;display:block}
.fpe-beratung .fpeb-sg h3{margin:0;font-size:1.12rem;color:var(--tinte)}
.fpe-beratung .fpeb-sg p{margin:2px 0 0;color:var(--grau);font-size:.92rem}

/* Sektionen */
.fpe-beratung .fpeb-section{padding:44px 0}
.fpe-beratung .fpeb-sh{text-align:center;max-width:680px;margin:0 auto 26px}
.fpe-beratung .fpeb-kick{color:var(--rot-link);font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:.8rem;margin:0 0 6px}
.fpe-beratung .fpeb-sh h2{font-size:clamp(1.4rem,3vw,2rem);margin:0 0 8px;color:var(--tinte)}
.fpe-beratung .fpeb-sh p{color:var(--grau);margin:0}

/* Leistungen / Methode */
.fpe-beratung .fpeb-lgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.fpe-beratung .fpeb-lcard{border:1px solid var(--linie);border-radius:16px;padding:30px 22px 24px;background:var(--karte);display:flex;flex-direction:column;align-items:center;text-align:center}
.fpe-beratung .fpeb-lico{color:var(--akzent-link);margin:0 0 16px}
.fpe-beratung .fpeb-lico svg{width:46px;height:46px;display:block}
.fpe-beratung .fpeb-lcard h3{margin:.1em 0 .3em;font-size:1.15rem;color:var(--tinte)}
.fpe-beratung .fpeb-lcard p{margin:0 0 14px;color:var(--grau)}
.fpe-beratung .fpeb-llink{margin-top:auto;font-weight:700;color:var(--rot-link);text-decoration:none}
.fpe-beratung .fpeb-llink:hover{text-decoration:underline}

/* Experten-Strip */
.fpe-beratung .fpeb-expert{display:grid;grid-template-columns:1.1fr 1fr;gap:28px;align-items:center;background:var(--bg2);border:1px solid var(--linie);border-radius:20px;padding:26px;overflow:hidden}
.fpe-beratung .fpeb-expert img{width:100%;border-radius:14px;display:block}
.fpe-beratung .fpeb-expert h2{margin:0 0 10px;font-size:1.5rem;color:var(--tinte)}
.fpe-beratung .fpeb-expert p{color:var(--grau);margin:0 0 10px}
.fpe-beratung .fpeb-role{margin:-4px 0 16px;color:var(--grau);font-weight:600}

/* Referenzen */
.fpe-beratung .fpeb-rtrack{list-style:none;margin:0 auto;padding:0;max-width:860px;display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
.fpe-beratung .fpeb-ref{flex:0 0 clamp(140px,21%,185px);min-height:104px;display:grid;place-items:center;background:#fff;border:1px solid var(--linie);border-radius:14px;padding:18px;transition:transform .15s ease,box-shadow .15s ease}
.fpe-beratung .fpeb-ref:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.08)}
.fpe-beratung .fpeb-ref img{max-width:100%;max-height:54px;object-fit:contain;display:block}
.fpe-beratung .fpeb-small{text-align:center;color:var(--grau);font-size:.9rem;margin-top:14px}

/* Fuer wen */
.fpe-beratung .fpeb-fwgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;align-items:stretch}
.fpe-beratung .fpeb-fw{border:1px solid var(--linie);border-radius:14px;padding:22px 20px;background:var(--karte);display:flex;flex-direction:column;height:100%}
.fpe-beratung .fpeb-fw h3{margin:0;font-size:1.05rem;line-height:1.3;color:var(--tinte)}
.fpe-beratung .fpeb-fw p{margin:14px 0 0;color:var(--grau);font-size:.92rem}

/* Pakete */
.fpe-beratung .fpeb-pkgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:stretch}
.fpe-beratung .fpeb-pk{position:relative;border:1px solid var(--linie);border-radius:18px;padding:24px;background:var(--karte);display:flex;flex-direction:column;height:100%}
.fpe-beratung .fpeb-pk--pop{border:2px solid var(--rot);box-shadow:0 12px 30px rgba(203,20,34,.10)}
.fpe-beratung .fpeb-pk-badge{position:absolute;top:-12px;left:24px;background:var(--rot);color:#fff;font-size:.72rem;font-weight:700;padding:4px 10px;border-radius:999px}
.fpe-beratung .fpeb-pk h3{margin:.2em 0 .1em;font-size:1.2rem;color:var(--tinte)}
.fpe-beratung .fpeb-pk-price{font-size:1.5rem;font-weight:800;margin:0 0 2px;color:var(--tinte)}
.fpe-beratung .fpeb-pk-claim{color:var(--grau);margin:0 0 14px}
.fpe-beratung .fpeb-pk ul{list-style:none;margin:0 0 18px;padding:0;flex:1 0 auto}
.fpe-beratung .fpeb-pk li{padding:6px 0 6px 26px;position:relative;color:var(--tinte)}
.fpe-beratung .fpeb-pk li::before{content:"\2714";position:absolute;left:0;color:#1c7a3f;font-weight:700}
.fpe-beratung .fpeb-pk-cta{display:block;text-align:center;background:var(--tinte);color:#fff;font-weight:700;padding:12px;border-radius:999px;text-decoration:none;margin-top:auto}
.fpe-beratung .fpeb-pk-cta:hover{background:#000;color:#fff}
.fpe-beratung .fpeb-pk--pop .fpeb-pk-cta{background:var(--rot);color:#fff}
.fpe-beratung .fpeb-pk--pop .fpeb-pk-cta:hover{background:var(--rot-dark)}

/* ABC-Tags */
.fpe-beratung .fpeb-tagbig{display:inline-block;background:var(--bg2);border:1px solid var(--linie);color:var(--tinte);border-radius:999px;padding:8px 14px;margin:4px;text-decoration:none;font-weight:600}
.fpe-beratung .fpeb-tagbig:hover{border-color:var(--rot);color:var(--rot-link)}

/* Kontakt */
.fpe-beratung .fpeb-kontakt{background:linear-gradient(120deg,var(--rot-dark),var(--rot));color:#fff;border-radius:22px;padding:38px;text-align:left;display:flex;align-items:center;gap:38px;max-width:var(--maxw);margin:0 auto}
.fpe-beratung .fpeb-kontakt-text{flex:1;min-width:0}
.fpe-beratung .fpeb-kontakt .fpeb-kick{color:#fff;opacity:.9}
.fpe-beratung .fpeb-kontakt h2{margin:.1em 0 .3em;font-size:clamp(1.4rem,3vw,2rem);color:#fff}
.fpe-beratung .fpeb-kontakt p{margin:0 0 18px;max-width:620px;opacity:.95;color:#fff}
.fpe-beratung .fpeb-kontakt .fpeb-btn--pri{background:#fff;color:var(--rot-dark)}
.fpe-beratung .fpeb-kontakt .fpeb-btn--pri:hover{background:#f2f2f2;color:var(--rot-dark)}
.fpe-beratung .fpeb-kontakt .fpeb-btn--ghost{border-color:#fff;color:#fff}
.fpe-beratung .fpeb-kontakt .fpeb-cta-row{justify-content:flex-start;flex-wrap:wrap}
.fpe-beratung .fpeb-kontakt small{display:block;margin-top:14px;opacity:.9;color:#fff}
.fpe-beratung .fpeb-kontakt-avatar{width:230px;height:230px;flex:0 0 auto;border-radius:50%;object-fit:cover;object-position:50% 28%;border:5px solid rgba(255,255,255,.92);box-shadow:0 12px 30px rgba(0,0,0,.24);display:block}

/* Responsive */
@media (max-width:860px){
  .fpe-beratung .fpeb-siegel .fpeb-wrap{grid-template-columns:1fr}
  .fpe-beratung .fpeb-lgrid{grid-template-columns:1fr 1fr}
  .fpe-beratung .fpeb-fwgrid{grid-template-columns:1fr 1fr}
  .fpe-beratung .fpeb-pkgrid{grid-template-columns:1fr}
  .fpe-beratung .fpeb-expert{grid-template-columns:1fr}
}
@media (max-width:720px){
  .fpe-beratung .fpeb-kontakt{flex-direction:column-reverse;text-align:center}
  .fpe-beratung .fpeb-kontakt-text{width:100%}
  .fpe-beratung .fpeb-kontakt .fpeb-cta-row{justify-content:center}
  .fpe-beratung .fpeb-kontakt p{margin-left:auto;margin-right:auto}
  .fpe-beratung .fpeb-kontakt-avatar{width:150px;height:150px}
}
@media (max-width:560px){
  .fpe-beratung .fpeb-lgrid{grid-template-columns:1fr}
  .fpe-beratung .fpeb-fwgrid{grid-template-columns:1fr}
}

/* ==========================================================================
   Leistungs-Unterseiten  [fpe_beratung_leistung]  (v1.1.0)
   ========================================================================== */
.fpe-beratung .fpeb-hero--plain{background:linear-gradient(120deg,var(--rot-dark),var(--rot))}
.fpe-beratung .fpeb-hero--plain .fpeb-hero__in{padding:52px 0 46px}
.fpe-beratung .fpeb-back{display:inline-block;margin:0 0 6px;color:#fff;text-decoration:none;font-weight:600;opacity:.92}
.fpe-beratung .fpeb-back:hover{opacity:1;text-decoration:underline;color:#fff}
.fpe-beratung .fpeb-lead-dark{max-width:720px}

.fpe-beratung .fpeb-l2{display:grid;grid-template-columns:1.4fr 1fr;gap:28px;align-items:start}
.fpe-beratung .fpeb-panel{border:1px solid var(--linie);border-radius:16px;padding:26px 24px;background:var(--karte)}
.fpe-beratung .fpeb-panel h2{margin:.1em 0 .5em;font-size:1.3rem;color:var(--tinte)}
.fpe-beratung .fpeb-checklist{list-style:none;margin:0;padding:0}
.fpe-beratung .fpeb-checklist li{padding:8px 0 8px 30px;position:relative;color:var(--tinte);border-bottom:1px solid var(--linie)}
.fpe-beratung .fpeb-checklist li:last-child{border-bottom:0}
.fpe-beratung .fpeb-checklist li::before{content:"\2714";position:absolute;left:0;top:8px;color:#1c7a3f;font-weight:700}
.fpe-beratung .fpeb-aside{border:1px solid var(--linie);border-radius:16px;padding:24px;background:var(--bg2)}
.fpe-beratung .fpeb-aside h2{margin:.1em 0 .4em;font-size:1.12rem;color:var(--tinte)}
.fpe-beratung .fpeb-aside p{margin:0 0 14px;color:var(--grau)}
.fpe-beratung .fpeb-aside .fpeb-btn{width:100%;text-align:center}
.fpe-beratung .fpeb-aside .fpeb-btn--pri{margin-bottom:8px}
.fpe-beratung .fpeb-aside small{display:block;margin-top:12px;color:var(--grau)}
@media (max-width:860px){ .fpe-beratung .fpeb-l2{grid-template-columns:1fr} }
