/* ==========================================================================
   KÜSTENWERK Racing-Elemente (gemeinsames Stylesheet)
   Race-HUD, Race-Control-Ticker, Sektor-Tafeln, Scroll-Reveals,
   Startaufstellungs-Grid, Pit-Karten, Renntag-Timeline, Timing-Tower,
   Onboard-Cams, DRS-Zone, Podium, Zielflagge.
   Alle Klassen mit fe-Präfix, damit nichts ins restliche Theme funkt.
   Eingebunden auf den Racing-Seiten via:
     <link rel="stylesheet" href="/assets/css/fe-racing.css">
     <script src="/assets/js/fe-racing.js" defer></script>
   ========================================================================== */

:root{
  --fe-yellow: #ffc300;
  --fe-red: #ff2d2d;
  --fe-green: #28d862;
  --fe-purple: #b14cff;
  --fe-dark: #101114;
}

/* ---------- 1) Race-HUD (fixe Anzeige: Sektoren + Speed/Gang) ---------- */
#fe-hud{
  position: fixed; right: 14px; top: 50%; transform: translateY(-50%);
  z-index: 940; width: 120px;
  display: flex; flex-direction: column; gap: 9px; align-items: stretch;
  pointer-events: none; user-select: none;
  opacity: 0; transition: opacity .5s ease .2s;
}
body.fe-hud-on #fe-hud{ opacity: 1; }
.fe-hud-box{
  background: rgba(13,14,17,.88); border: 1px solid rgba(255,195,0,.35);
  border-radius: 13px; padding: 9px; backdrop-filter: blur(4px);
}
.fe-hud-sectors{ display: flex; gap: 5px; }
.fe-sec{flex: 1; text-align: center;
  font-family: Poppins, sans-serif;
  transition: all .25s ease;}
/* Zustandsfarben kommen aus kw-pills.css (kwp--gold / kwp--gruen);
   die alten Vollflächen-Regeln hätten die Glas-Optik übersteuert. */

.fe-hud-leds{ display: flex; gap: 4px; justify-content: center; margin-bottom: 7px; }
.fe-hud-leds i{
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  transition: background .1s linear, box-shadow .1s linear;
}
.fe-hud-leds i.lit-g{ background: var(--fe-green); box-shadow: 0 0 7px rgba(40,216,98,.8); }
.fe-hud-leds i.lit-y{ background: var(--fe-yellow); box-shadow: 0 0 7px rgba(255,195,0,.8); }
.fe-hud-leds i.lit-r{ background: var(--fe-red); box-shadow: 0 0 7px rgba(255,45,45,.8); }

.fe-hud-speedrow{ display: flex; align-items: flex-end; justify-content: space-between; }
.fe-hud-speed{
  font-family: var(--tt-alter-font, "Big Shoulders Display", sans-serif);
  font-size: 25px; line-height: .9; color: #fff; font-weight: 600; min-width: 44px;
}
.fe-hud-unit{ display: block; font-size: 8px; letter-spacing: .2em; color: rgba(255,255,255,.5);
              font-family: Poppins, sans-serif; margin-top: 4px; }
.fe-hud-gear{
  width: 29px; height: 29px; display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--fe-yellow); border-radius: 8px;
  font-family: var(--tt-alter-font, "Big Shoulders Display", sans-serif);
  font-size: 17px; color: var(--fe-yellow); font-weight: 600;
}

@media (max-width: 1450px){ #fe-hud{ width: 102px; right: 8px; } .fe-hud-speed{ font-size: 22px; } }
@media (max-width: 1199px){
  /* Mobil/Tablet: HUD komplett ausblenden – Desktop-only-Gimmick */
  #fe-hud{ display: none; }
}

/* KÜSTENWERK 26.10.2026: Platz fürs HUD. Zwischen 1200 und 1535 px reichte der Text bis unter das HUD.
   Textkante = (100vw + Wrap-Breite)/2 − 15 px, HUD-Kante = 100vw − 110 px (ab 1450: − 134 px), dazu 8 px Luft.
   :has statt body.fe-hud-on, weil die Klasse erst per JS kommt und die Seite sonst nach dem Laden springt. */
@media (prefers-reduced-motion: no-preference) and (min-width: 1200px) and (max-width: 1449.98px){
  body:has(#fe-hud) .tt-wrap{ max-width: calc(100vw - 206px); }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 1450px) and (max-width: 1535.98px){
  body:has(#fe-hud) .tt-wrap{ max-width: calc(100vw - 254px); }
}

/* ---------- 2) Race-Control-Ticker unter dem Hero ---------- */
.fe-ticker{
  overflow: hidden; white-space: nowrap;
  background: var(--fe-dark); border-top: 2px solid var(--fe-yellow); border-bottom: 2px solid var(--fe-yellow);
  padding: 11px 0;
}
.fe-ticker-inner{
  display: inline-block; white-space: nowrap;
  animation: feTicker 28s linear infinite;
  font-family: "Sakana", "Big Shoulders Display", sans-serif;
  letter-spacing: .04em; text-transform: uppercase; font-size: 16px; color: #fff;
}
.fe-ticker-inner b{ color: var(--fe-yellow); font-weight: 600; }
.fe-ticker-inner .sep{ color: var(--fe-red); padding: 0 18px; }
@keyframes feTicker{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }

/* ---------- 3) Sektor-Tafeln ---------- */
.fe-board-wrap{ display: flex; justify-content: center; margin: 14px 0 34px; }
.fe-board{
  display: inline-flex; align-items: center; gap: 14px; padding: 10px 20px 10px 10px;
  background: var(--fe-dark); border: 2px solid var(--fe-yellow); border-radius: 12px;
  transform: rotate(-1.4deg);
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.fe-board .num{
  font-family: var(--tt-alter-font, "Big Shoulders Display", sans-serif);
  color: #111; background: var(--fe-yellow); padding: 4px 14px; border-radius: 7px;
  font-size: 24px; font-weight: 600; line-height: 1;
}
.fe-board .lbl{
  color: #fff; letter-spacing: .24em; text-transform: uppercase; font-size: 13px;
  font-family: Poppins, sans-serif; font-weight: 600;
}

/* ---------- 4) Scroll-Reveals ---------- */
.fe-reveal{ opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s ease; }
.fe-reveal.from-left{ transform: translateX(-60px); }
.fe-reveal.is-in{ opacity: 1; transform: none; }

/* ---------- 5) Feature-Chips & CTA-Platzierung ---------- */
.fe-times{ display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.fe-times span{
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  color: #fff; font-size: 13.5px; line-height: 1.3;
}
.fe-times span::before{
  content: ""; width: 9px; height: 9px; border-radius: 2px; background: var(--fe-purple);
  box-shadow: 0 0 6px rgba(177,76,255,.7); flex: 0 0 auto;
}
.fe-times span:nth-child(2)::before{ background: var(--fe-green); box-shadow: 0 0 6px rgba(40,216,98,.7); }
.fe-times span:nth-child(3)::before{ background: var(--fe-yellow); box-shadow: 0 0 6px rgba(255,195,0,.7); }
.fe-row-cta{ margin-top: 26px; }
/* Text in CTA-Boxen über die ganze Breite (Theme begrenzt auf 760px) */
.event-promo-card--cta .event-promo-text{ max-width: none; }
@media (max-width: 767px){
  .fe-times span{ width: 100%; justify-content: flex-start; }
  .fe-row-cta{ margin-top: 20px; }
}

/* ---------- 6) Startaufstellung: Leistungen als Grid-Slots ---------- */
.fe-grid{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 24px;
  margin: 36px 0 10px;
}
.fe-slot{
  position: relative; padding: 24px 22px 18px 70px;
  background: rgba(255,255,255,.03);
  border-radius: 6px;
}
/* Grid-Box-Markierung wie auf dem Startfeld: oben + Seiten, hinten offen */
.fe-slot::after{
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 30px;
  border: 2px solid var(--fe-yellow); border-bottom: none;
  border-radius: 4px 4px 0 0;
  opacity: .8; pointer-events: none;
}
.fe-slot-num{
  position: absolute; left: 18px; top: 18px;
  font-family: var(--tt-alter-font, "Big Shoulders Display", sans-serif);
  font-size: 32px; line-height: 1; color: var(--fe-yellow);
}
.fe-slot b{
  display: block;
  font-family: var(--tt-alter-font, "Big Shoulders Display", sans-serif);
  font-size: 22px; letter-spacing: .03em; text-transform: uppercase;
  color: #fff; font-weight: 600;
}
.fe-slot small{
  display: block; margin-top: 5px;
  color: rgba(255,255,255,.6); font-size: 13.5px; line-height: 1.55;
}
/* Versetzte Startaufstellung: rechte Spalte etwas zurück */
@media (min-width: 768px){
  .fe-grid .fe-slot:nth-child(even){ margin-top: 28px; }
  .fe-grid .fe-slot:nth-child(even).is-in{ transition-delay: .12s; }
}
@media (max-width: 767px){
  .fe-grid{ grid-template-columns: 1fr; gap: 16px; }
  .fe-slot{ padding: 22px 18px 16px 62px; }
}

/* ---------- 7) Boxengassen-Service: Pit-Karten ---------- */
.fe-pit-grid{
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px;
  margin: 30px 0 40px;
}
.fe-pitcard{
  position: relative; overflow: hidden;
  padding: 30px 28px 24px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,195,0,.28); border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255,195,0,.06) inset;
}
.fe-pitcard--full{ grid-column: 1 / -1; }
.fe-pitcard-stripe{
  position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(45deg, var(--fe-yellow) 0 14px, #15161a 14px 28px);
}
.fe-pitcard-head{ display: flex; align-items: center; gap: 16px; margin: 6px 0 12px; }
.fe-pitcard-icon{
  width: 46px; height: 46px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--fe-yellow); color: #111; border-radius: 11px; font-size: 19px;
}
.fe-pitcard-tag{display: block; margin-bottom: 3px;
  font-family: Poppins, sans-serif;}
/* Tag auch ohne Kopfzeile nutzbar (Karte nur mit Liste) */
.fe-pitcard > .fe-pitcard-tag{margin: 6px 0 12px;}
.fe-pitcard h4{
  margin: 0;
  font-family: var(--tt-alter-font, "Big Shoulders Display", sans-serif);
  font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .03em; text-transform: uppercase;
  color: #fff; font-weight: 600;
}
.fe-pitcard > p{ margin: 6px 0 14px; color: rgba(255,255,255,.7); line-height: 1.65; }
.fe-pitcard ul{ list-style: none; margin: 0; padding: 0; }
.fe-pitcard li{
  position: relative; padding: 8px 0 8px 28px;
  color: rgba(255,255,255,.82); line-height: 1.6;
  border-top: 1px dashed rgba(255,255,255,.1);
}
.fe-pitcard li:first-child{ border-top: 0; }
.fe-pitcard li::before{
  content: "\f0ad"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; left: 2px; top: 10px;
  color: var(--fe-yellow); font-size: 12px;
}
.fe-pitcard li strong{ color: #fff; }
.fe-pitcard a{ color: var(--fe-yellow); }
@media (max-width: 991px){
  .fe-pit-grid{ grid-template-columns: 1fr; }
  .fe-pitcard{ padding: 26px 20px 20px; }
}

/* ---------- 8) Renntag-Timeline (nummerierte Stationen mit Icons) ---------- */
.fe-schedule-label{
  margin: 42px 0 16px; text-align: center;
  font-family: Poppins, sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: .26em; text-transform: uppercase; color: var(--fe-yellow);
}
.fe-schedule{
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
  margin: 36px 0 14px; counter-reset: fe-stage;
}
.fe-schedule--4{ grid-template-columns: repeat(4, 1fr); }
.fe-schedule--6{ grid-template-columns: repeat(3, 1fr); }
.fe-stage{
  position: relative; text-align: center; padding: 22px 12px 16px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,195,0,.25); border-radius: 14px;
}
/* Stations-Zähler: Kreis kommt jetzt als <span class="kwp kwp--kreis kwp--klein kwp--gold fe-stage-num"> aus dem Markup */
.fe-stage .fe-stage-num{
  counter-increment: fe-stage;
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%); z-index: 2;
  width: 34px; height: 34px; font-size: 12.5px; font-weight: 700;
  background: linear-gradient(180deg, rgba(255,195,0,.34), rgba(255,195,0,.14));
  border-color: rgba(255,195,0,.85);
}
.fe-stage .fe-stage-num::before{ content: counter(fe-stage, decimal-leading-zero); }
.fe-stage::after{
  content: "\f054"; font-family: "Font Awesome 6 Free"; font-weight: 900;
  position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  color: var(--fe-yellow); font-size: 12px; z-index: 2;
}
.fe-stage:last-child::after{ content: none; }
.fe-schedule--6 .fe-stage:nth-child(3n)::after{ content: none; }
/* margin-inline:auto ist Pflicht: Das Icon ist seit der Umstellung auf .kwi ein
   1em breiter Block (vorher ein Font-Glyph, den text-align:center der Spalte
   zentriert hat) – ohne auto klebt es am linken Rand. */
.fe-stage > i{ display: block; font-size: 22px; color: var(--fe-yellow);
  margin: 8px auto 10px; }   /* Abstand zum Nummern-Kreis */
.fe-stage b{
  display: block; font-family: var(--tt-alter-font, "Big Shoulders Display", sans-serif);
  font-size: 19px; letter-spacing: .04em; text-transform: uppercase;
  color: #fff; font-weight: 600;
}
.fe-stage small{ display: block; margin-top: 5px; color: rgba(255,255,255,.55); font-size: 12px; line-height: 1.5; }
@media (max-width: 991px){
  .fe-schedule, .fe-schedule--4, .fe-schedule--6{ grid-template-columns: repeat(2, 1fr); gap: 18px 14px; }
  .fe-stage::after{ content: none !important; }
}
@media (max-width: 575px){
  .fe-schedule, .fe-schedule--4, .fe-schedule--6{ grid-template-columns: 1fr; }
}

/* ---------- 9) Timing-Tower (Pakete/Formate als P1/P2/P3-Zeilen) ---------- */
.fe-grid-rows{ display: flex; flex-direction: column; gap: 22px; margin: 34px 0 46px; }
.fe-row{
  position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 0;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,195,0,.28); border-radius: 18px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(255,195,0,.06) inset;
}
.fe-row:nth-child(2).is-in{ transition-delay: .12s; }
.fe-row:nth-child(3).is-in{ transition-delay: .24s; }
.fe-pos{
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  padding: 18px 8px;
  font-family: var(--tt-alter-font, "Big Shoulders Display", sans-serif);
}
.fe-pos strong{ font-size: 42px; line-height: 1; font-weight: 600; color: #111; }
.fe-pos--1{ background: linear-gradient(180deg, #ffd54a, var(--fe-yellow)); }
.fe-pos--2{ background: linear-gradient(180deg, #e8e8e8, #c4c4c4); }
.fe-pos--3{ background: linear-gradient(180deg, #e0995a, #c97f3d); }
.fe-pos small{
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-family: Poppins, sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: rgba(17,17,17,.72);
}
/* inline-flex, nicht inline-block: sonst fällt die Flex-Zentrierung der Pille
   weg und der Text sitzt rund 5px zu hoch in der Plakette. */
.fe-row-badge{display: inline-flex; margin-bottom: 12px;}
.fe-row-main{ padding: 28px 30px 26px; }
.fe-row-main h4{
  margin: 0 0 4px;
  font-family: var(--tt-alter-font, "Big Shoulders Display", sans-serif);
  font-size: clamp(26px, 3vw, 36px); text-transform: uppercase; letter-spacing: .03em;
  color: #fff; font-weight: 600;
}
.fe-row-main p{ margin: 12px 0 0; color: rgba(255,255,255,.78); line-height: 1.75; }
@media (max-width: 991px){
  .fe-row{ grid-template-columns: 64px 1fr; }
  .fe-pos strong{ font-size: 30px; }
  .fe-pos small{ display: none; }
  .fe-row-main{ padding: 24px 22px 22px; }
}

/* ---------- 10) Onboard-Cam-Rahmen für Bilder ---------- */
.fe-cam{ position: relative; }
/* Kräftiges Rot statt der halbtransparenten kwp--rot-Fläche (auf hellen Fotos
   ging die Plakette unter), aber mit 10 % Durchlass und hellem Verlauf plus
   Innenglanz – damit sie zu den übrigen Glas-Pillen passt. Weniger Deckung
   geht nicht: darunter fällt die weiße Schrift unter 4,5:1 Kontrast. */
.fe-cam .fe-cam-tag{position: absolute; top: 14px; left: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: Poppins, sans-serif;
  color: #fff;
  background: linear-gradient(180deg, rgba(255,255,255,.18), rgba(255,255,255,.02)), rgba(216,31,38,.90);
  border-color: rgba(255,255,255,.20);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.22), 0 2px 10px rgba(0,0,0,.35);
  pointer-events: none;}
.fe-cam .fe-cam-tag::before{
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff;
  animation: feRec 1.2s ease-in-out infinite;
}
@keyframes feRec{ 0%,100%{ opacity: 1; } 50%{ opacity: .25; } }

/* ---------- 11) DRS-Zone + Podium + Zielflagge ---------- */
.fe-drs{
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin: 0 0 26px; padding: 14px 20px;
  border: 2px dashed rgba(40,216,98,.65); border-radius: 14px;
  background: rgba(40,216,98,.07);
}
.fe-drs .fe-drs-flag{
  font-family: var(--tt-alter-font, "Big Shoulders Display", sans-serif);
  background: var(--fe-green); color: #0c2414; border-radius: 8px; padding: 6px 14px;
  font-size: 20px; font-weight: 700; letter-spacing: .08em;
}
.fe-drs p{ margin: 0; color: rgba(255,255,255,.85); font-size: 15px; }

.fe-podium{
  display: flex; align-items: flex-end; justify-content: center; gap: 10px;
  margin: 10px auto 40px; max-width: 460px; height: 150px;
}
.fe-step{
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.18); border-bottom: 3px solid var(--fe-yellow);
  font-family: var(--tt-alter-font, "Big Shoulders Display", sans-serif);
  color: #fff; font-size: 26px; font-weight: 600; padding-bottom: 10px;
  transform-origin: bottom; transform: scaleY(0); transition: transform .65s cubic-bezier(.2,.9,.3,1.1);
}
.fe-step .kwi--trophy{ color: var(--fe-yellow); font-size: 22px; margin-bottom: 6px; }
.fe-step--2{ height: 72%; }
.fe-step--1{ height: 100%; }
.fe-step--3{ height: 55%; }
.fe-podium.is-in .fe-step--2{ transform: scaleY(1); transition-delay: .15s; }
.fe-podium.is-in .fe-step--1{ transform: scaleY(1); transition-delay: .35s; }
.fe-podium.is-in .fe-step--3{ transform: scaleY(1); transition-delay: 0s; }
.fe-podium-caption{
  text-align: center; color: rgba(255,255,255,.55); font-size: 13px; letter-spacing: .12em;
  text-transform: uppercase; margin: -26px 0 30px;
}

.fe-checker{
  height: 18px; margin: 10px 0 40px; border-radius: 4px; opacity: .85;
  background: repeating-conic-gradient(#f2f2f2 0 25%, #141414 0 50%) 0 0/18px 18px;
}

/* ---------- 12) Reduced Motion: alles Wesentliche bleibt lesbar ---------- */
@media (prefers-reduced-motion: reduce){
  .fe-reveal{ opacity: 1 !important; transform: none !important; transition: none !important; }
  .fe-ticker-inner{ animation: none; }
  .fe-step{ transform: scaleY(1) !important; transition: none !important; }
  .fe-cam .fe-cam-tag::before{ animation: none; }
  #fe-hud{ display: none; }
}

/* ---------- 13) Aktuelle Kombination: Fahrzeug (links) + Strecke (rechts) ---------- */
.fe-combo{ display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 30px 0 26px; }
.fe-combo-card{
  position: relative; overflow: hidden; display: flex; flex-direction: column;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,195,0,.28); border-radius: 18px; padding-bottom: 22px;
  box-shadow: 0 0 0 1px rgba(255,195,0,.06) inset;
}
.fe-combo-tag{position: absolute; top: 14px; left: 14px; z-index: 3;
  font-family: Poppins, sans-serif;}
.fe-combo-media{
  position: relative; aspect-ratio: 16 / 9; background: #0c0d10;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  border-bottom: 2px solid var(--fe-yellow);
}
.fe-combo-media img{ width: 100%; height: 100%; object-fit: cover; }
/* Strecken-Box: stilisierte Streckenkarte (Inline-SVG) auf dunklem Asphalt */
.fe-combo-track{ background: radial-gradient(120% 120% at 50% 0%, #16181d 0%, #0c0d10 70%); }
.fe-combo-track svg{ width: 84%; height: 84%; }
.fe-combo-track .trk-line{ fill: none; stroke: var(--fe-yellow); stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(255,195,0,.45)); }
.fe-combo-track .trk-sf{ stroke: #fff; stroke-width: 5; }
.fe-combo-name{
  margin: 18px 22px 10px;
  font-family: var(--tt-alter-font, "Big Shoulders Display", sans-serif);
  font-size: clamp(22px, 2.4vw, 30px); letter-spacing: .03em; text-transform: uppercase;
  color: #fff; font-weight: 600; line-height: 1.05;
}
.fe-combo-spec{ list-style: none; margin: 0; padding: 0 22px; display: flex; flex-wrap: wrap; gap: 8px 10px; }
.fe-combo-spec li{
  font-size: 12.5px; color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.09);
  border-radius: 999px; padding: 6px 12px;
}
.fe-combo-spec li b{ color: #fff; font-weight: 600; }
/* Datums-Feld zur aktuellen Kombination */
.fe-combo-date{display: inline-flex; align-items: center; gap: 9px;
  margin: 2px 0 20px;}
.fe-combo-date i{ color: var(--fe-yellow); font-size: 14px; }
.fe-combo-date b{ color: var(--fe-yellow); font-weight: 600; letter-spacing: .03em; }
@media (max-width: 767px){ .fe-combo{ grid-template-columns: 1fr; gap: 16px; } }

/* ---------- 14) Leaderboard / Anzeigetafel (digitale Timing-Schrift) ---------- */
.fe-lb{
  background: linear-gradient(180deg, #0e0f12, #141519);
  border: 1px solid rgba(255,195,0,.3); border-radius: 16px; overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.45), 0 0 0 1px rgba(255,195,0,.06) inset;
}
.fe-lb-bar{
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 14px 20px; background: var(--fe-dark); border-bottom: 2px solid var(--fe-yellow);
}
.fe-lb-title{
  font-family: var(--tt-alter-font, "Big Shoulders Display", sans-serif);
  text-transform: uppercase; letter-spacing: .08em; font-size: 22px; color: #fff; font-weight: 600;
}
.fe-lb-live{display: inline-flex; align-items: center; gap: 8px;
  font-family: Poppins, sans-serif;}
.fe-lb-dot{ width: 9px; height: 9px; border-radius: 50%; background: var(--fe-green); box-shadow: 0 0 8px rgba(40,216,98,.9); animation: feRec 1.4s ease-in-out infinite; }
.fe-lb-head{
  display: grid; grid-template-columns: 64px 1fr auto 96px; gap: 14px; padding: 11px 20px;
  font-family: Poppins, sans-serif; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: rgba(255,255,255,.45); border-bottom: 1px solid rgba(255,255,255,.08);
}
.fe-lb-head span:last-child{ text-align: right; }
.fe-lb-row{
  display: grid; grid-template-columns: 64px 1fr auto 96px; gap: 14px; align-items: center;
  padding: 13px 20px; border-bottom: 1px solid rgba(255,255,255,.06);
}
.fe-lb-row:last-child{ border-bottom: 0; }
.fe-lb-pos{
  font-family: var(--tt-alter-font, "Big Shoulders Display", sans-serif);
  font-size: 26px; font-weight: 600; color: rgba(255,255,255,.7); text-align: center; line-height: 1;
}
.fe-lb-name{ color: #fff; font-size: 15px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fe-lb-time{
  font-family: var(--tt-alter-font, "Big Shoulders Display", monospace);
  font-variant-numeric: tabular-nums; font-size: 24px; letter-spacing: .05em;
  color: var(--fe-yellow); text-shadow: 0 0 10px rgba(255,195,0,.35);
}
.fe-lb-gap{ text-align: right; font-variant-numeric: tabular-nums; font-size: 13px; color: rgba(255,255,255,.5); }
.fe-lb-p1{ background: linear-gradient(90deg, rgba(255,195,0,.16), transparent 62%); }
.fe-lb-p1 .fe-lb-pos{ color: var(--fe-yellow); }
.fe-lb-p2{ background: linear-gradient(90deg, rgba(220,220,220,.12), transparent 62%); }
.fe-lb-p2 .fe-lb-pos{ color: #e3e3e3; }
.fe-lb-p3{ background: linear-gradient(90deg, rgba(224,153,90,.13), transparent 62%); }
.fe-lb-p3 .fe-lb-pos{ color: #e0995a; }
.fe-lb-note{ margin: 14px 2px 0; color: rgba(255,255,255,.5); font-size: 12.5px; line-height: 1.5; }
@media (max-width: 600px){
  .fe-lb-head{ grid-template-columns: 40px 1fr auto; }
  .fe-lb-row{ grid-template-columns: 40px 1fr auto; }
  .fe-lb-head span:nth-child(4), .fe-lb-row .fe-lb-gap{ display: none; }
  .fe-lb-pos{ font-size: 22px; }
  .fe-lb-time{ font-size: 20px; }
}
@media (prefers-reduced-motion: reduce){ .fe-lb-dot{ animation: none; } }

/* ---------- 14) Treueprogramm-Karte (Startseite, unter den Stints) ----------
   Hebt sich bewusst von den gleichförmigen Slot-Karten ab: Warnstreifen wie bei
   den Pit-Karten (business-grand-prix) + sichtbare Stempelkarte, damit die
   Mechanik "6 Stempel = 1 Sprint gratis" auf einen Blick verständlich ist. */
.fe-loyalty{
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.15fr .85fr; gap: 34px; align-items: center;
  padding: 34px 32px 30px;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(255,195,0,.10) 0%, rgba(255,195,0,0) 55%),
    rgba(255,255,255,.035);
  border: 1px solid rgba(255,195,0,.34); border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255,195,0,.07) inset, 0 18px 44px rgba(0,0,0,.34);
}
.fe-loyalty-stripe{
  position: absolute; top: 0; left: 0; right: 0; height: 8px;
  background: repeating-linear-gradient(45deg, var(--fe-yellow) 0 14px, #15161a 14px 28px);
}
.fe-loyalty-head{ display: flex; align-items: center; gap: 16px; margin: 6px 0 12px; }
.fe-loyalty-icon{
  width: 46px; height: 46px; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--fe-yellow); color: #111; border-radius: 11px; font-size: 19px;
}
.fe-loyalty h3, .fe-loyalty h4{
  margin: 0;
  line-height: 1.2; /* wie frueheres h4-Default, Optik unveraendert */
  font-family: var(--tt-alter-font, "Big Shoulders Display", sans-serif);
  font-size: clamp(24px, 2.6vw, 34px); letter-spacing: .03em; text-transform: uppercase;
  color: #fff; font-weight: 600;
}
.fe-loyalty p{ margin: 0; color: rgba(255,255,255,.74); line-height: 1.7; }
.fe-loyalty p b, .fe-loyalty p strong{ color: #fff; }
.fe-loyalty a{ color: var(--fe-yellow); }

/* Stempelkarte: 5 Felder + Prämienfeld */
.fe-stamps{
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px;
  padding: 18px 16px 14px;
  background: rgba(0,0,0,.30);
  border: 1px dashed rgba(255,255,255,.16); border-radius: 14px;
}
.fe-stamp{
  position: relative; aspect-ratio: 1 / 1;
  display: flex; align-items: center; justify-content: center;
  border: 1px dashed rgba(255,255,255,.24); border-radius: 50%;
  font-family: Poppins, sans-serif; font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,.42);
}
.fe-stamp--prize{
  border: 2px solid var(--fe-yellow); border-style: solid;
  background: radial-gradient(circle at 50% 40%, rgba(255,195,0,.22), rgba(255,195,0,.06));
  color: var(--fe-yellow); font-size: 17px;
  box-shadow: 0 0 16px rgba(255,195,0,.28);
}
.fe-stamps-label{
  grid-column: 1 / -1; margin-top: 4px; text-align: center;
  font-family: Poppins, sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.5);
}
.fe-stamps-label b{ color: var(--fe-yellow); }

@media (max-width: 991px){
  .fe-loyalty{ grid-template-columns: 1fr; gap: 24px; padding: 28px 20px 24px; }
  .fe-stamps{ padding: 16px 12px 12px; gap: 8px; }
  .fe-stamp{ font-size: 12px; }
}
