/* =========================
   BEYOND STEPS — OE Wheel
   styles-oe.css (MASTER)
   =========================

   WICHTIG:
   - Der „zu große Abstand“ kam in deinem aktuellen Master sehr wahrscheinlich
     von (a) doppelten/konkurrierenden Spacing-Regeln und (b) einem kaputten
     CSS-Block (fehlende schließende Klammer), wodurch Browser teils auf
     Default-Margins (h4/ul) zurückfielen.

   Diese Version:
   - ist syntaktisch sauber
   - definiert EINEN Spacing-Mechanismus
   - sorgt dafür, dass Impact & Enables identisch aussehen
*/

:root {
  /* ===== Layout (Grid rechts/links) ===== */
  /* ===== Layout ===== */
  --bs-oe-max-width: var(--bs-sub-layout-max-width, 1400px);
  --bs-oe-padding-x: var(--bs-sub-layout-padding-x, 24px);
  
  --bs-oe-gap: 24px;                                            /* Abstand Wheel ↔ Panel */
  --bs-oe-wheel-max: 720px;                                     /* max. Wheel-Größe */

  /* ===== Panel Look ===== */
  --bs-oe-panel-radius: 22px;
  --bs-oe-panel-border: 1px solid rgba(255,255,255,.0);
  --bs-oe-panel-bg: rgba(8, 28, 38, .55);
  --bs-oe-panel-shadow: 0 12px 40px rgba(0,0,0,.35);

  /* ===== Header-Balken ===== */
  --bs-oe-header-bg: linear-gradient(
    90deg,
    rgba(39, 212, 255, 0.18),
    rgba(39, 212, 255, 0.04)
  );
  --bs-oe-header-border: 2px solid rgba(21, 96, 130, 0);
  --bs-oe-header-radius: 12px;
  --bs-oe-header-pad-y: 16px;
  --bs-oe-header-pad-x: 16px;

  /* ===== Typo ===== */
  --bs-oe-title-size: 13.5px;
  --bs-oe-text-size: 16px;
  --bs-oe-sub-size: 12px;

  /* ===== Abstände (die „Regler“) ===== */
  --bs-oe-space-title-to-text: 20px;                            /* Header → Text */
  --bs-oe-space-text-to-impact: 3px;                            /* Text → Impact-Subheader */
  --bs-oe-space-impact-to-enables: 33px;                        /* Ende Impact-Block → Enables-Subheader */
  --bs-oe-space-enables-to-work: 33px;                          /* Ende Enables-Block → Work-Subheader */


  --bs-oe-space-sub-to-line: 8px;                               /* Subheader → Linie */
  --bs-oe-space-sub-to-list: 10px;                              /* Subheader-Linie → erste Bullet */
  --bs-oe-space-line-to-list: var(--bs-oe-space-sub-to-list);

  --bs-oe-li-gap: 5px;                                          /* Abstand zwischen Bullets */

  --oed-title-to-svg: 14px;                                     /* hier stellst du den Abstand ein Detail Site Header VS Kasten
  */

  /* ===== Stabilität (gegen „Zittern“) ===== */
  --bs-oe-text-min: 108px;                                      /* Min-Höhe Textblock */
  --bs-oe-list-min: 20px;                                       /* Min-Höhe je Liste */

  /* ===== Fade ===== */
  --bs-oe-fade-ms: 120ms;

  /* ===== wheel details desc-box ===== */
  --oed-bam-color: rgba(245, 248, 248, 0.92);         /* Box #1 Textfarbe */
  --oed-body-color: rgba(173, 223, 226, 0.86);        /* Box #2-4 Textfarbe */
  --oed-head-color: rgba(255, 255, 255, 0.92);        /* Headerfarbe */
  --oed-bam-head-color:  rgba(255, 255, 255, 1);      /* Headerfarbe */

  --oed-head-to-list: 3px;                        /* (h) Abstand Header → Bullets (default klein) */
  --oed-li-gap: 5px;                              /* Bullet-Abstand untereinander */

  --oed-head-line-a: rgba(39,212,255,0.70);       /* (d) Gradient-Linie */
  --oed-head-line-b: rgba(39,212,255,0.18);
  --oed-head-line-c: rgba(39,212,255,0.00);

  --oed-bam-font-size: 14px; /* BAM Text Größe (steuerbar) */


  /* ===== Section Divider (WAS → WIE → WOZU) ===== */
  --bs-divider-max-width: var(--bs-oe-max-width, 1200px);
  --bs-divider-padding-x: var(--bs-oe-padding-x, 24px);
  --bs-divider-margin-y: 64px;

  --bs-divider-gap: 18px;               /* Abstand Text ↔ Linien */
  --bs-divider-line-h: 1px;             /* Linienhöhe */
  --bs-divider-line-alpha: 0.55;        /* Sichtbarkeit */
  --bs-divider-text-size: 13px;
  --bs-divider-text-opacity: 0.78;
}

/* =========================
   Layout Wrapper
   ========================= */

.bs-oe {
  width: 100%;
  max-width: var(--bs-oe-max-width);
  margin-inline: auto;
  padding-inline: var(--bs-oe-padding-x);
}

.bs-oe__layout {
  display: grid;
  /*grid-template-columns: minmax(320px, var(--bs-oe-wheel-max)) 1fr;*/
  grid-template-columns: minmax(0, var(--bs-oe-wheel-max)) 1fr;
  gap: var(--bs-oe-gap);
  align-items: stretch;
}

.bs-oe__layout > * {
  min-height: 0;
}



/* Wheel Wrapper — robust (beide Klassen abfangen) */
.bs-oe__wheel-wrap,
.bs-oe-wheel-wrap {
  width: min(100%, var(--bs-oe-wheel-max));
  justify-self: center;          /* zentriert im Grid */
}

svg.bs-oe-wheel {
  width: 100%;
  height: auto;
  display: block;
}

/* =========================
   Panel
   ========================= */

.bs-oe__panel {
  border-radius: var(--bs-oe-panel-radius);
  border: var(--bs-oe-panel-border);
  background: var(--bs-oe-panel-bg);
  box-shadow: var(--bs-oe-panel-shadow);
  padding: 26px;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
}

/* optional: sanfter „Glow“ */
.bs-oe__panel::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 220px;
  background: radial-gradient(circle at 30% 40%, rgba(21,96,130,.35), transparent 60%);
  pointer-events: none;
  filter: blur(10px);
  opacity: .6;
}

/* ===== Fade-Animation (JS toggelt .is-fading am Panel) ===== */
.bs-oe__panel.is-fading {
  opacity: .65;
  transform: translateY(2px);
  transition: opacity var(--bs-oe-fade-ms) ease, transform var(--bs-oe-fade-ms) ease;
}

/* Meta (ID) optional */
.oe-panel__meta {
  font-size: 12px;
  opacity: .55;
  margin-bottom: 10px;
}

/* Header-Balken */
.oe-panel__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--bs-oe-title-size);
  letter-spacing: .6px;
  text-transform: uppercase;
  background: var(--bs-oe-header-bg);
  border: var(--bs-oe-header-border);
  border-radius: var(--bs-oe-header-radius);
  padding: var(--bs-oe-header-pad-y) var(--bs-oe-header-pad-x);
}

/* Haupttext */
.oe-panel__text {
  margin: var(--bs-oe-space-title-to-text) 0 0 0;
  font-family: var(--font-text);
  font-weight: 400;
  font-size: var(--bs-oe-text-size);
  line-height: 1.55;
  min-height: var(--bs-oe-text-min);
}

/* Subheader (Impact/Enables) */
.oe-panel__sub {
  margin: 0;
  font-family: var(--font-text);
  font-weight: 600;
  font-size: var(--bs-oe-sub-size);
  letter-spacing: .12em;
  text-transform: uppercase;
  opacity: .75;
}

/* Abstand vor dem jeweiligen Subheader */
#oePanelImpactTitle.oe-panel__sub {
  margin-top: var(--bs-oe-space-text-to-impact);
}

#oePanelEnablesTitle.oe-panel__sub {
  margin-top: var(--bs-oe-space-impact-to-enables);
}

#oePanelWorkTitle.oe-panel__sub {
  margin-top: var(--bs-oe-space-enables-to-work);
}

/* Linie unter Subheader */
.oe-panel__sub::after {
  content: "";
  display: block;
  height: 1px;
    background: linear-gradient(
    to right,
    rgba(255,255,255,0.22),
    rgba(255,255,255,0)
  );
  margin-top: var(--bs-oe-space-sub-to-line);
}

/* Lists */
.oe-panel__list {
  /* WICHTIG: hier entsteht der Abstand „Linie → Bullets“ */
  margin: 0;
  padding: var(--bs-oe-space-line-to-list) 0 0 18px;

  min-height: var(--bs-oe-list-min);

  display: grid;
  gap: var(--bs-oe-li-gap);

  list-style: disc;
  list-style-position: outside;

  font-family: var(--font-text);
  font-weight: 400;
}

/* reset: keine versteckten UA-margins bei li */
.oe-panel__list li {
  margin: 0;
}

/* =========================
   Hit-Flächen Cursor
   ========================= */

.bs-oe-hit {
  cursor: pointer;
}


/* ===== Section Divider (WAS → WIE → WOZU) ===== */
.bs-divider{
  width: 100%;
  max-width: var(--bs-divider-max-width);
  margin: var(--bs-divider-margin-y) auto;
  padding-inline: var(--bs-divider-padding-x);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--bs-divider-gap);
}

.bs-divider::before,
.bs-divider::after{
  content: "";
  flex: 1;
  height: var(--bs-divider-line-h);
  opacity: var(--bs-divider-line-alpha);
}

.bs-divider::before{
  background: linear-gradient(
    to right,
    rgba(255,255,255,0),
    rgba(255,255,255,1)
  );
}

.bs-divider::after{
  background: linear-gradient(
    to left,
    rgba(255,255,255,0),
    rgba(255,255,255,1)
  );
}

.bs-divider__text{
  font-family: var(--font-text);
  font-size: clamp(12px, 1.0vw, var(--bs-divider-text-size));
  line-height: 1.5;

  letter-spacing: 0.04em;          /* weniger “Label”, mehr Fluss */
  opacity: var(--bs-divider-text-opacity);

  white-space: nowrap;
  text-align: center;

  font-style: italic;              /* poetischer Ton */

}


/* =================================
   SEHEN - GEHEN - SPÜREN - Chapter
   ================================= */

/* ===== Kapitelmarker: Sehen → Gehen → Spüren ===== */

.oe-chapter {
  margin: 48px 0 16px 0;
  text-align: left;
}

.oe-chapter__key {
  font-size: 12px;
  letter-spacing: 0.22em;
  opacity: 0.55;
  margin-bottom: 6px;
}

.oe-chapter__sub {
  font-size: 14px;
  opacity: 0.65;
  max-width: 520px;
}


/* =========================
   OE Wheel Details — Content Block
   ========================= */

.oed-details{
  width: 100%;
  max-width: var(--bs-oe-max-width, 1200px);
  margin-inline: auto;
  padding-inline: var(--bs-oe-padding-x, 24px);
  padding-block: 24px 64px;
}

.oed-grid-2x3{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
  margin-top: 18px;
  margin-bottom: 22px;
}

.oed-grid-2x3__head{
  font-weight: 700;
  letter-spacing: .2px;
  opacity: .95;
}


/* =========================
   OE Wheel Details — SVG full width like other pages
   ========================= */

.oed-svg-wrap{
  width: 100%;
  max-width: var(--bs-sub-layout-max-width, 1400px);  /* nutzt Standardbreite */
  margin-inline: auto;                                /* zentriert */
  padding-inline: var(--bs-oe-padding-x, 24px);
}

.oed-svg{
  width: 100%;
  height: auto;              /* proportional skalieren */
  display: block;
}





/* foreignObject Container */
.oed-cell{
  font-family: var(--font-text);   /* InterLocal */
  font-weight: 400;
  font-size: 13px;
  color: var(--oed-body-color);
  line-height: 1.45;
  padding: 10px 12px;
  box-sizing: border-box;
}

/* Box #1: BAM (f,g,i) */
.oed-cell--bam{
  color: var(--oed-bam-color);
}
.oed-bam{
  margin: 0;
  margin-bottom: 25px;
  font-size: var(--oed-bam-font-size);
  line-height: 1.55;
}

/* Header in Box #2-4 + Gradient-Linie (d) */
.oed-cell__head{
  margin: 0;
  color: var(--oed-head-color);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 8px;
}

.oed-cell__head::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:1px;
  background: linear-gradient(
    90deg,
    var(--oed-head-line-a) 0%,
    var(--oed-head-line-b) 55%,
    var(--oed-head-line-c) 100%
  );
  opacity: 0.9;
}

/* Bullets (h) */
.oed-list{
  margin: 0;
  padding-left: 18px;
  padding-top: var(--oed-head-to-list);
  display: grid;
  gap: var(--oed-li-gap);
  list-style: disc;
}
.oed-list li{
  margin: 0;
}

.oed-bam-head{
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.65;
  margin-bottom: 6px;
  color: var(--oed-bam-head-color);
}


/* =========================
   Wheel-Details: shared container (Header + SVG gleiche Kante)
   ========================= */

.oed-container{
  width: 100%;
  max-width: var(--bs-oe-max-width);     /* = 1400px */
  margin-inline: auto;
  padding-inline: var(--bs-oe-padding-x);
}

/* SVG-Wrapper: keine eigene Max-Width mehr, Container macht das */
.oed-svg-wrap{
  max-width: none;
  padding-inline: 0;
}



.oed-list--details{
  margin-top: 6px;
}


/* =========================
   OE Prozess-Headline
   ========================= */

.oe-prozess-headline {
  margin: 0 0 var(--oed-title-to-svg);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: 0.08em;
  font-weight: 400;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
}

/* =========================
   OE Wheel — Hover / Active Highlight
   ========================= */

/* kein Browser-Outline bei focus (SVG) */
.bs-oe-hit:focus{
  outline: none;
}

/* Hover = Preview (leicht) */
.bs-oe-hit:hover{
  fill: rgba(39,212,255,0.18) !important;
  fill-opacity: 1 !important;
  stroke: rgba(39,212,255,0.55);
  stroke-width: 0.2;
  filter: drop-shadow(0 0 8px rgba(39,212,255,0.22));
}

/* Active = Freeze (markanter) */
.bs-oe-hit.is-active{
  fill: rgba(39,212,255,0.26) !important;
  fill-opacity: 1 !important;
  stroke: rgba(39,212,255,0.85);
  stroke-width: 0.2;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(39,212,255,0.35));
}

/* =========================
   OE Wheel — "Weiter" Button im Panel
   ========================= */

.bs-oe__panel.has-more-btn{
  position: relative;
  padding-bottom: 62px;
}

.bs-oe-more{
  position: absolute;
  right: 18px;
  bottom: 16px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  padding: 10px 14px;
  border-radius: 12px;

  font-family: var(--font-text);
  font-size: 13px;
  letter-spacing: 0.04em;

  color: rgba(245,248,248,0.92);
  background: linear-gradient(90deg, rgba(39,212,255,0.16), rgba(39,212,255,0.06));
  border: 1px solid rgba(255,255,255,0.10);

  cursor: pointer;
  user-select: none;

  transition: transform 120ms ease, opacity 120ms ease, background 120ms ease, border-color 120ms ease;
}

.bs-oe-more:hover{
  transform: translateY(-1px);
  background: linear-gradient(90deg, rgba(39,212,255,0.22), rgba(39,212,255,0.08));
  border-color: rgba(255,255,255,0.16);
}

.bs-oe-more:active{
  transform: translateY(0);
}

.bs-oe-more.is-hidden{
  opacity: 0;
  pointer-events: none;
}


/* Mobile: untereinander */
@media (max-width: 820px){
  .oed-grid-2x3{
    grid-template-columns: 1fr;
  }
}




/* =========================
   Responsive
   ========================= */

@media (max-width: 1100px) {
  .bs-oe__layout {
    grid-template-columns: 1fr;
  }

  .bs-oe__wheel-wrap,
  .bs-oe-wheel-wrap {
    margin: 0 auto;
  }
}



/* ================================
   OE WOZU – Mobile Reihenfolge fix
   (SVG zuerst, dann Textbox)
================================ */
@media (max-width: 900px) {
  .bs-oe-wozu .oew-layout{
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .bs-oe-wozu .oew-svg-wrapper{
    order: 1;
    width: 100%;
  }

  .bs-oe-wozu .oew-panel{
    order: 2;
    width: 100%;
  }
}


/* =========================================
   Beyond Steps – OE WOZU (V2) ✅
   - NEW: Markierung per :root Variablen (sichtbarer)
   - NEW: "Weiter"-Button unten rechts im Panel (nur wenn href != "")
   - FIX: kein Focus-/Klick-Rahmen (outline) auf SVG-Hits
   - NO-FLASH: Default transparent, nur Fill/Stroke wechseln
========================================= */

:root {
  /* Layout */
  --bs-oew-gap: 18px;
  --bs-oew-panel-col: 0.92fr;
  --bs-oew-svg-col: 1.08fr;

  /* Title */
  --bs-oew-gap-title-to-bam: 20px;

  /* Spacing */
  --bs-oew-section-pad-y: 28px;
  --bs-oew-intro-gap: 14px;

  --bs-oew-gap-intro-to-first-header: 25px;
  --bs-oew-gap-list-to-header: 25px;
  --bs-oew-gap-subline-to-list: 0px;

  --bs-oew-bam-min-height: 190px;

  --bs-oew-content-top-gap: 6px;
  --bs-oew-list-line-height: 17px;

  /* SVG */
  --bs-oew-svg-radius: 0px;

  /* ===== Markierung (sichtbarer, einstellbar) =====
     Hinweis: Das ist ein Overlay -> Text im SVG wird leicht gedimmt (wie beim Prozess).
     Du kannst hier die Stärke feinjustieren. */
  --bs-oew-mark: rgba(39, 212, 255, 0.22);         /* Hover Fill */
  --bs-oew-mark-strong: rgba(39, 212, 255, 0.32);  /* Active Fill */
  --bs-oew-stroke: rgba(39, 212, 255, 0.70);       /* Hover Stroke */
  --bs-oew-stroke-strong: rgba(39, 212, 255, 0.92);/* Active Stroke */
  --bs-oew-glow: rgba(39, 212, 255, 0.18);         /* Active Glow */

  /* ===== Weiter Button ===== */
  --bs-oew-weiter-h: 38px;
  --bs-oew-weiter-radius: 12px;
}

/* ---------- Section Wrapper ---------- */

.bs-oe-wozu {
  width: 100%;
  max-width: var(--bs-oe-max-width, 1200px);
  margin-inline: auto;
  padding-inline: var(--bs-oe-padding-x, 24px);
  padding-block: var(--bs-oew-section-pad-y);
}

/* ---------- Intro ---------- */

#oewTitle {
  margin-bottom: var(--bs-oew-gap-title-to-bam);
}

.oew-intro {
  margin-bottom: var(--bs-oew-intro-gap);
}

.oew-headline {
  margin: 0 0 10px 0;
  font-size: 1.6rem;
  font-family: "Bebas Neue", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.25;
  letter-spacing: 0.08em;
  font-weight: 400;
  text-transform: uppercase;
}

.oew-lead {
  margin: 0;
  max-width: 78ch;
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.9;
}

/* ---------- Main Layout ---------- */

.oew-layout {
  display: grid;
  grid-template-columns: var(--bs-oew-panel-col) var(--bs-oew-svg-col);
  gap: var(--bs-oew-gap);
  align-items: start;
}

/* ---------- Panel ---------- */

.oew-panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--bs-oew-content-top-gap);
}

/* Kleine, kontrollierte Vertikalabstände innerhalb der Content-Box */
.oew-content > * + * {
  margin-top: var(--bs-oew-content-top-gap);
}

/* Abstand von Liste -> nächster Subheader */
.oe-panel__list + .oe-panel__sub {
  margin-top: var(--bs-oew-gap-list-to-header);
}

/* Abstand Linie -> Liste steuerbar */
.oe-panel__sub::after {
  margin-bottom: var(--bs-oew-gap-subline-to-list);
}

/* ---- FIX: BAM reserviert Höhe ---- */
#oewBam {
  white-space: pre-line;
  display: block;
  min-height: var(--bs-oew-bam-min-height);
  margin: 0;
}

/* Abstand BAM -> erster Subheader */
#oewBam + .oe-panel__sub {
  margin-top: var(--bs-oew-gap-intro-to-first-header);
}

/* Bullet-Zeilenabstand parametrierbar */
#oewList1 li,
#oewList2 li,
#oewList3 li {
  line-height: var(--bs-oew-list-line-height);
}

/* Kill default UL margins */
#oewList1,
#oewList2,
#oewList3 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-left: var(--bs-oe-list-indent, 18px);
}

/* ---------- NEW: Weiter Button (im Panel) ---------- */
/* wir hängen ihn in .bs-oe__panel -> braucht position:relative */
.bs-oe__panel {
  position: relative;
  padding-bottom: 62px; /* Platz für Button */
}

.oew-weiter {
  position: absolute;
  right: 16px;
  bottom: 16px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: var(--bs-oew-weiter-h);
  padding: 0 16px;
  border-radius: var(--bs-oew-weiter-radius);

  text-decoration: none;
  font-size: 14px;
  font-weight: 600;

  color: rgba(255,255,255,0.92);
  background: rgba(9, 28, 39, 0.35);
  border: 1px solid rgba(255,255,255,0.12);

  opacity: 0;
  pointer-events: none;
  transform: translateY(2px);

  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.oew-weiter.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.oew-weiter:hover {
  background: rgba(39, 212, 255, 0.12);
  border-color: rgba(39, 212, 255, 0.38);
  box-shadow: 0 0 12px rgba(39, 212, 255, 0.18);
}

/* ---------- SVG Wrapper ---------- */

.oew-svg-wrapper {
  border-radius: var(--bs-oew-svg-radius);
  overflow: hidden;
}

.oew-svg-wrapper svg {
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================
   SVG Hit Areas (NO-FLASH + sichtbarer)
========================================= */

.oew-hit {
  cursor: pointer;
  pointer-events: all;

  /* FIX: kein Browser-Focusrahmen */
  outline: none !important;

  /* NO-FLASH: niemals opacity animieren */
  opacity: 1;

  /* Default: komplett transparent */
  fill: rgba(0,0,0,0) !important;
  stroke: rgba(0,0,0,0);
  stroke-width: 0;

  filter: none;
  transition: fill 140ms ease, stroke 140ms ease, filter 160ms ease;
}

.oew-hit:focus,
.oew-hit:focus-visible {
  outline: none !important;
}

/* Hover */
.oew-hit.is-hover {
  fill: var(--bs-oew-mark) !important;
  stroke: var(--bs-oew-stroke);
  stroke-width: 1.6;
  filter: none; /* ruhig */
}

/* Active */
.oew-hit.is-active {
  fill: var(--bs-oew-mark-strong) !important;
  stroke: var(--bs-oew-stroke-strong);
  stroke-width: 2.4;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px var(--bs-oew-glow));
}

/* Active bleibt stärker */
.oew-hit.is-active.is-hover {
  fill: var(--bs-oew-mark-strong) !important;
  stroke: var(--bs-oew-stroke-strong);
  stroke-width: 2.4;
}

/* ---------- Responsive ---------- */

@media (max-width: 980px) {
  .oew-layout {
    grid-template-columns: 1fr;
  }

  .oew-svg-wrapper {
    order: 2;
  }

  .oew-panel {
    order: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .oew-hit,
  .oew-weiter {
    transition: none;
  }
}


/* =========================================================
   OE V1 Widgets integrated into Beyond Steps V9
   ========================================================= */
.oe-page {
  --bs-sub-layout-max-width: var(--page-width);
  --bs-sub-layout-padding-x: 0px;
  --bs-oe-max-width: 100%;
  --bs-oe-padding-x: 0px;
  --bs-oe-wheel-max: 650px;
  --bs-oe-gap: clamp(34px, 4vw, 68px);
  --bs-oe-panel-radius: var(--panel-radius);
  --bs-oe-panel-border: 1px solid rgba(220, 194, 136, 0.18);
  --bs-oe-panel-bg: linear-gradient(180deg, rgba(8, 38, 50, 0.78), rgba(3, 12, 18, 0.80));
  --bs-oe-panel-shadow: 0 26px 72px rgba(0, 0, 0, 0.30), inset 0 1px 0 rgba(255,255,255,0.035);
  --bs-oe-header-bg: linear-gradient(90deg, rgba(12, 72, 88, 0.82), rgba(8, 38, 50, 0.52));
  --bs-oe-title-size: clamp(0.63rem, 0.70vw, 0.75rem);
  --bs-oe-text-size: clamp(0.98rem, 1.05vw, 1.12rem);
  --bs-oe-sub-size: 0.68rem;
  --bs-oe-space-title-to-text: 22px;
  --bs-oe-space-text-to-impact: 22px;
  --bs-oe-space-impact-to-enables: 26px;
  --bs-oe-space-enables-to-work: 26px;
}

.oe-page .oe-wheel-section .bs-oe,
.oe-page .oe-wirkbild-section .bs-oe,
.oe-page .oe-wirkbild-section .bs-oe-wozu {
  width: 100%;
  max-width: 100%;
  margin: 42px 0 0;
  padding: 0;
}

.oe-page .bs-oe__layout {
  grid-template-columns: minmax(360px, 0.95fr) minmax(360px, 0.78fr);
  gap: var(--bs-oe-gap);
  align-items: center;
}

.oe-page .bs-oe-wheel-wrap {
  width: min(100%, var(--bs-oe-wheel-max));
  margin-inline: auto;
  filter: drop-shadow(0 28px 58px rgba(0,0,0,0.35));
}

.oe-page svg.bs-oe-wheel {
  width: 100%;
  height: auto;
}

.oe-page .bs-oe__panel {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  padding: clamp(26px, 2.6vw, 38px);
  border: var(--bs-oe-panel-border);
  border-radius: var(--panel-radius);
  background: var(--bs-oe-panel-bg);
  box-shadow: var(--bs-oe-panel-shadow);
}

.oe-page .bs-oe__panel::before {
  background: radial-gradient(circle at 18% 0%, rgba(94, 218, 234, 0.12), rgba(94, 218, 234, 0) 48%);
}

.oe-page .oe-panel__header {
  border-radius: 10px;
  border: 1px solid rgba(94, 218, 234, 0.08);
  background: linear-gradient(90deg, rgba(20, 82, 98, 0.82), rgba(8, 38, 50, 0.46));
}

.oe-page .oe-panel__title {
  color: rgba(230, 248, 251, 0.96);
  font-family: var(--font-brand-sub);
  font-size: var(--bs-oe-title-size);
  font-weight: 400;
  letter-spacing: 0.052em;
  text-transform: uppercase;
}

.oe-page .oe-panel__text {
  color: rgba(232, 246, 249, 0.90);
  font-family: var(--font-body);
  font-size: var(--bs-oe-text-size);
  line-height: 1.55;
}

.oe-page .oe-panel__sub {
  color: rgba(232, 194, 116, 0.82);
  font-family: var(--font-ui);
  font-size: var(--bs-oe-sub-size);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.oe-page .oe-panel__sub::after {
  background: linear-gradient(90deg, rgba(220, 194, 136, 0.50), rgba(220, 194, 136, 0.05));
}

.oe-page .oe-panel__list {
  color: rgba(230, 246, 249, 0.92);
  font-family: var(--font-body);
  font-size: clamp(0.96rem, 1.02vw, 1.1rem);
  line-height: 1.45;
}

.oe-page .oe-panel__list li::marker {
  color: rgba(232, 194, 116, 0.92);
}

.oe-page .bs-oe-more,
.oe-page .oew-weiter {
  display: none !important;
}

/* Wirkbild / Blümchen */
.oe-page .bs-oe-wozu {
  --bs-oew-panel-col: 0.86fr;
  --bs-oew-svg-col: 1.14fr;
  --bs-oew-gap: clamp(34px, 4vw, 68px);
  --bs-oew-section-pad-y: 0px;
  --bs-oew-mark: rgba(232, 194, 116, 0.20);
  --bs-oew-mark-strong: rgba(232, 194, 116, 0.30);
  --bs-oew-stroke: rgba(232, 194, 116, 0.72);
  --bs-oew-stroke-strong: rgba(232, 194, 116, 0.95);
  --bs-oew-glow: rgba(232, 194, 116, 0.20);
}

.oe-page .bs-oe-wozu .oew-intro {
  display: none;
}

.oe-page .oew-layout {
  margin-top: 42px;
  align-items: center;
}

.oe-page .oew-panel.bs-oe__panel {
  min-height: 520px;
}

.oe-page .oew-svg-wrapper {
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.32));
}

.oe-page .oew-svg-wrapper svg {
  max-height: 690px;
}

.oe-page .oew-hit {
  transition: fill 180ms ease, stroke 180ms ease, filter 180ms ease;
}

.oe-page .oew-hit:hover,
.oe-page .oew-hit.is-hover {
  fill: var(--bs-oew-mark) !important;
  stroke: var(--bs-oew-stroke);
  stroke-width: 2.2;
  filter: drop-shadow(0 0 14px var(--bs-oew-glow));
}

.oe-page .oew-hit.is-active {
  fill: var(--bs-oew-mark-strong) !important;
  stroke: var(--bs-oew-stroke-strong);
  stroke-width: 2.8;
  filter: drop-shadow(0 0 18px var(--bs-oew-glow));
}

@media (max-width: 1080px) {
  .oe-page .bs-oe__layout,
  .oe-page .oew-layout {
    grid-template-columns: 1fr;
  }

  .oe-page .bs-oe-wheel-wrap,
  .oe-page .oew-svg-wrapper {
    width: min(100%, 720px);
    margin-inline: auto;
  }

  .oe-page .bs-oe__panel,
  .oe-page .oew-panel.bs-oe__panel {
    min-height: auto;
  }
}

@media (max-width: 760px) {
  .oe-page .bs-oe__panel {
    padding: 22px;
  }

  .oe-page .oe-panel__text,
  .oe-page .oe-panel__list {
    font-size: 0.98rem;
  }
}


/* OE Wozu: Header-Rahmen beruhigen – nur der eigentliche Titelrahmen bleibt */
.oe-page .bs-oe-wozu .oe-panel__header {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
}


/* Feinjustierung: Wozu-Panel Intro-Text kleiner, Subheader/Listen bleiben unverändert */
.bs-oe-wozu #oewBam {
  font-size: 15px;
  line-height: 1.48;
  opacity: 0.86;
}
