/* =====================================================================
   CCM Fahrsicherheit — Kundenbereich (2026-11-10). Baut auf den Motorsport-Bausteinen (rennen/rn.css) auf:
   gleiche Sprache (schwarz, feine Linien, Serif-Titel, eckige Flächen), Akzent Sicherheits-Blau statt Rot.
   ===================================================================== */
.fs-kopf, .fs { --blau: #2563EB; --blau2: #60A5FA; --blau3: #93C5FD; }
.fs-kopf::after { background: linear-gradient(90deg, rgba(5, 5, 6, .95) 0%, rgba(5, 5, 6, .7) 46%, rgba(5, 10, 24, .3) 100%), linear-gradient(180deg, rgba(5, 5, 6, .55) 0%, transparent 28%, transparent 58%, #050506 100%), radial-gradient(60% 60% at 85% 30%, rgba(37, 99, 235, .25), transparent 70%); }
.fs-eyebrow, .fs-kicker { color: var(--blau2); }
.fs-kicker--hell { color: var(--blau3); }
body.ccm-public-body .fs-knopf, body.ccm-public-body a.fs-knopf { background: var(--blau) !important; border-color: var(--blau) !important; color: #fff !important; }
body.ccm-public-body .fs-knopf:hover, body.ccm-public-body a.fs-knopf:hover { background: #fff !important; border-color: #fff !important; color: #0b0b0d !important; }
.fs-kopf .rn-zahlen dd { font-size: 1.15rem; }
body.ccm-public-body a.fs-next:hover { border-color: var(--blau2); }
.fs-next__kicker { color: var(--blau2); }
.fs-next__platz { display: inline-flex; align-items: center; gap: .5rem; color: rgba(255, 255, 255, .85); font-size: .86rem; font-weight: 600; }
.fs-next__platz i, .fs-platz b::before { width: .55rem; height: .55rem; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.fs-next__platz.is-knapp i { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.fs-next__platz.is-voll i { background: var(--rot2); box-shadow: 0 0 10px var(--rot2); }

/* ---------- Inhalte ---------- */
.fs-module { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: .8rem; margin: 0; padding: 0; list-style: none; }
.fs-modul { position: relative; display: grid; align-content: start; gap: .5rem; padding: 1.25rem 1.25rem 1.2rem; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(37, 99, 235, .09), transparent 55%), #0a0a0b; transition: border-color .25s, transform .25s; }
.fs-modul:hover { border-color: rgba(96, 165, 250, .5); transform: translateY(-2px); }
.fs-modul__icon { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; margin-bottom: .3rem; border: 1px solid rgba(96, 165, 250, .5); background: rgba(37, 99, 235, .12); color: #fff; }
.fs-modul__icon svg, .fs-leer__icon svg { width: 1.45rem; height: 1.45rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fs-modul b { color: #fff; font: 400 1.3rem/1.15 var(--lx-serif, Georgia, serif); }
.fs-modul > span:not(.fs-modul__icon) { color: rgba(255, 255, 255, .72); font-size: .9rem; line-height: 1.55; }
.fs-modul em { justify-self: start; margin-top: .2rem; padding: .22rem .5rem; border: 1px solid rgba(147, 197, 253, .45); color: var(--blau3); font-size: .6rem; font-style: normal; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.fs-modul.is-behoerde { background: linear-gradient(160deg, rgba(37, 99, 235, .2), transparent 60%), #0a0b10; border-color: rgba(96, 165, 250, .3); }

/* ---------- Fahrzeug ---------- */
.fs-wagen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.fs-wagen__karte { display: grid; align-content: start; gap: .6rem; padding: 1rem 1.1rem 1.2rem; border: 1px solid var(--line2); background: #0a0a0b; }
.fs-wagen__karte > p { margin: 0; color: rgba(255, 255, 255, .72); font-size: .9rem; line-height: 1.55; }
.fs-wagen__bild { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 8; margin: -.2rem -.3rem .2rem; background: radial-gradient(60% 55% at 50% 88%, rgba(96, 165, 250, .22), transparent 72%); }
.fs-wagen__bild img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 16px rgba(0, 0, 0, .65)); }
.fs-wagen__bild svg { width: 76%; overflow: visible; }
.fs-wagen__bild svg path { fill: #3b3f4a; }
.fs-wagen__bild svg .is-glas { fill: rgba(10, 10, 12, .8); }
.fs-wagen__bild svg circle { fill: #050506; stroke: rgba(255, 255, 255, .35); stroke-width: 3; }
.fs-wagen__bild--dienst svg path { fill: #e8eaf0; }
.fs-wagen__bild--dienst svg .is-streifen { fill: var(--blau); }
.fs-wagen__bild--dienst svg .is-blau { fill: #3B82F6; animation: fsBlau 1s steps(1) infinite; }
.fs-wagen__bild--dienst svg .is-rot { fill: #EF4444; animation: fsBlau 1s steps(1) infinite reverse; }
@keyframes fsBlau { 0% { opacity: 1; } 50% { opacity: .25; } }
.fs-wagen__kopf { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem .8rem; }
.fs-wagen__kopf b { color: #fff; font: 400 1.35rem/1.15 var(--lx-serif, Georgia, serif); }
.fs-wagen__kopf em { padding: .22rem .5rem; background: rgba(255, 255, 255, .08); color: rgba(255, 255, 255, .8); font-size: .6rem; font-style: normal; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.fs-wagen__karte.is-dienst { border-color: rgba(96, 165, 250, .4); background: linear-gradient(160deg, rgba(37, 99, 235, .14), transparent 60%), #0a0b10; }
.fs-wagen__karte.is-dienst .fs-wagen__kopf em { background: var(--blau); color: #fff; }
@media (max-width: 860px) { .fs-wagen { grid-template-columns: 1fr; } .fs-wagen__bild { aspect-ratio: 16 / 6; } }

/* ---------- Behörden ---------- */
.fs-behoerden { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border: 1px solid rgba(96, 165, 250, .35); background: radial-gradient(80% 120% at 0% 0%, rgba(37, 99, 235, .28), transparent 60%), linear-gradient(180deg, #0b1020, #07080d); overflow: hidden; scroll-margin-top: 6rem; }
.fs-behoerden::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: repeating-linear-gradient(90deg, #3B82F6 0 40px, #EF4444 40px 80px); opacity: .85; }
.fs-behoerden__text p:not(.rn-kicker) { max-width: 34rem; margin: .9rem 0 0; color: rgba(255, 255, 255, .78); line-height: 1.65; }
.fs-behoerden__text b { color: #fff; }
.fs-behoerden__liste { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.fs-behoerden__liste li { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "h b" "h s"; gap: .1rem .8rem; padding: .8rem .95rem; border: 1px solid rgba(147, 197, 253, .2); background: rgba(5, 8, 20, .55); }
.fs-behoerden__liste li::before { content: ""; grid-area: h; align-self: center; width: 1.3rem; height: 1.3rem; background: var(--blau) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7'/%3E%3C/svg%3E") center / 70% no-repeat; }
.fs-behoerden__liste b { grid-area: b; color: #fff; font-size: .92rem; }
.fs-behoerden__liste span { grid-area: s; color: rgba(255, 255, 255, .6); font-size: .82rem; }
@media (max-width: 860px) { .fs-behoerden { grid-template-columns: 1fr; } }

/* ---------- Termine ---------- */
.fs-leer { display: flex; align-items: center; gap: 1.1rem; padding: 1.4rem 1.5rem; border: 1px dashed var(--line2); background: #0a0a0b; }
.fs-leer__icon { display: grid; place-items: center; flex: none; width: 3rem; height: 3rem; border: 1px solid rgba(96, 165, 250, .5); color: var(--blau3); }
.fs-leer b { color: #fff; font-size: 1.02rem; }
.fs-leer p { margin: .3rem 0 0; color: var(--muted); font-size: .9rem; }
.fs-termine { display: grid; gap: .9rem; }
.fs-termin { display: grid; grid-template-columns: 6rem minmax(0, 1fr) minmax(0, 17rem); gap: 1.2rem 1.6rem; align-items: start; padding: 1.3rem; border: 1px solid var(--line2); background: linear-gradient(120deg, rgba(37, 99, 235, .07), transparent 45%), #0a0a0b; scroll-margin-top: 6rem; }
.fs-termin.is-mein { border-color: rgba(52, 210, 123, .55); box-shadow: inset 3px 0 0 var(--ok); }
.fs-termin.is-voll { opacity: .7; }
.fs-termin__datum { display: grid; justify-items: center; align-content: start; padding: .8rem .4rem .7rem; border: 1px solid var(--line2); background: #060607; }
.fs-termin__datum b { color: #fff; font: 300 2.6rem/1 var(--lx-serif, Georgia, serif); font-variant-numeric: lining-nums; }
.fs-termin__datum span { margin-top: .2rem; color: var(--blau2); font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.fs-termin__datum small { color: var(--muted); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; }
.fs-termin__haupt { display: grid; gap: .55rem; min-width: 0; }
.fs-termin__kicker { margin: 0; color: rgba(255, 255, 255, .62); font-size: .8rem; font-weight: 600; letter-spacing: .04em; }
.fs-termin h3 { margin: 0; color: #fff; font: 400 1.6rem/1.15 var(--lx-serif, Georgia, serif); }
.fs-termin__text { margin: 0; color: rgba(255, 255, 255, .72); font-size: .9rem; line-height: 1.6; }
.fs-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin: .1rem 0 0; padding: 0; list-style: none; }
.fs-chips li { display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .55rem; border: 1px solid var(--line2); color: rgba(255, 255, 255, .82); font-size: .74rem; font-weight: 600; }
.fs-chips li.is-behoerde { border-color: rgba(96, 165, 250, .45); color: var(--blau3); }
.fs-chips svg { width: .9rem; height: .9rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fs-termin__fakten { display: flex; flex-wrap: wrap; gap: .7rem 1.6rem; margin: .35rem 0 0; }
.fs-termin__fakten dt { color: rgba(255, 255, 255, .45); font-size: .56rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.fs-termin__fakten dd { margin: .25rem 0 0; color: #fff; font-size: .9rem; font-weight: 600; }
.fs-termin__seite { display: grid; gap: .7rem; justify-items: stretch; }
.fs-termin__seite form { display: flex; justify-content: center; }
body.ccm-public-body .fs-termin__seite .rn-knopf { width: 100%; }
.fs-platz { display: grid; gap: .4rem; margin: 0; }
.fs-platz b { display: inline-flex; align-items: center; gap: .5rem; color: #fff; font-size: .95rem; }
.fs-platz b::before { content: ""; }
.fs-platz.is-knapp b::before { background: var(--warn); box-shadow: 0 0 10px var(--warn); }
.fs-platz.is-voll b::before { background: var(--rot2); box-shadow: 0 0 10px var(--rot2); }
.fs-platz__balken { height: 5px; background: rgba(255, 255, 255, .08); }
.fs-platz__balken i { display: block; height: 100%; background: linear-gradient(90deg, var(--blau), var(--blau2)); }
.fs-platz.is-knapp .fs-platz__balken i { background: linear-gradient(90deg, #d97706, var(--warn)); }
.fs-platz.is-voll .fs-platz__balken i { background: var(--rot2); }
.fs-platz small { color: var(--muted); font-size: .76rem; }
.fs-mein { display: flex; align-items: center; gap: .7rem; margin: 0; padding: .65rem .75rem; border: 1px solid rgba(52, 210, 123, .4); background: rgba(52, 210, 123, .08); }
.fs-mein__haken { display: grid; place-items: center; flex: none; width: 1.8rem; height: 1.8rem; background: var(--ok); color: #03140a; }
.fs-mein__haken svg { width: 1.1rem; height: 1.1rem; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.fs-mein b { display: block; color: #fff; font-size: .9rem; }
.fs-mein small { color: rgba(255, 255, 255, .7); font-size: .78rem; }
.fs-hinweis { margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.fs-form { grid-column: 1 / -1; display: grid; gap: .9rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.fs-form__teil { display: grid; gap: .8rem; margin: 0; padding: 1.1rem 1.1rem 1.2rem; border: 1px solid var(--line); background: #070708; min-width: 0; }
.fs-form__teil legend { display: flex; align-items: center; gap: .7rem; float: left; width: 100%; margin: 0 0 .2rem; padding: 0; color: #fff; font-size: .68rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.fs-form__teil legend + * { clear: both; }
.fs-form__teil legend b { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; background: var(--blau); color: #fff; font-size: .72rem; letter-spacing: 0; }
.fs-form__teil legend em { color: var(--muted); font-style: normal; letter-spacing: .12em; }
.fs-form__zwei { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.fs-form .rn-feld > span em { color: rgba(255, 255, 255, .4); font-style: normal; letter-spacing: .06em; text-transform: none; }
body.ccm-public-body .fs-form .rn-feld input { width: 100%; height: 3rem; padding: 0 .9rem !important; font-size: .95rem !important; color: #fff !important; }
.fs-fzwahl { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .5rem; }
.fs-fzwahl__karte { position: relative; display: flex; cursor: pointer; letter-spacing: 0 !important; }
.fs-fzwahl__karte input { position: absolute; opacity: 0; pointer-events: none; }
.fs-fzwahl__karte span { display: grid; gap: .2rem; width: 100%; padding: .8rem .95rem; border: 1px solid var(--line2); background: #0a0a0b; transition: border-color .15s, background .15s; }
.fs-fzwahl__karte b { color: #fff; font-size: .92rem; }
.fs-fzwahl__karte small { color: var(--muted); font-size: .78rem; }
.fs-fzwahl__karte:hover span { border-color: rgba(255, 255, 255, .45); }
.fs-fzwahl__karte input:checked + span { border-color: var(--blau2); background: linear-gradient(135deg, rgba(37, 99, 235, .2), transparent 70%), #0b0d14; box-shadow: inset 0 0 0 1px var(--blau2); }
.fs-fzwahl__karte input:focus-visible + span { outline: 2px solid var(--blau2); outline-offset: 2px; }
.fs-fzwahl__karte input:disabled + span { opacity: .4; cursor: not-allowed; }
.fs-form__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.fs-form__fuss .rn-klein { flex: 1 1 18rem; }
.fs-form__fuss .rn-klein b { color: #fff; }
.fs .rn-seg input:disabled + span { opacity: .4; cursor: not-allowed; }
@media (max-width: 960px) { .fs-termin { grid-template-columns: 5rem minmax(0, 1fr); } .fs-termin__seite { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .fs-termin { grid-template-columns: 1fr; padding: 1rem; }
  .fs-termin__datum { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: .5rem; padding: .5rem .8rem; }
  .fs-termin__datum b { font-size: 1.8rem; }
  .fs-form__zwei { grid-template-columns: 1fr; }
}

/* ---------- Meine Trainings ---------- */
.fs-meine { display: grid; gap: .5rem; margin: 0; padding: 0; list-style: none; }
.fs-meine__zeile { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr) auto auto; gap: 1rem; align-items: center; padding: .9rem 1.1rem; border: 1px solid var(--line2); border-left: 3px solid var(--line2); background: #0a0a0b; }
.fs-meine__zeile.is-ok { border-left-color: var(--ok); }
.fs-meine__zeile.is-fehler { border-left-color: var(--rot2); }
.fs-meine__zeile.is-offen { border-left-color: var(--blau2); }
.fs-meine__datum b { display: block; color: #fff; font-variant-numeric: tabular-nums; }
.fs-meine__datum small, .fs-meine__was small { color: var(--muted); font-size: .78rem; }
.fs-meine__was { display: grid; gap: .15rem; min-width: 0; }
.fs-meine__was b { color: #fff; }
.fs-meine__status { color: rgba(255, 255, 255, .8); font-size: .84rem; font-weight: 600; }
.fs-meine__zeile.is-ok .fs-meine__status { color: var(--ok); }
@media (max-width: 640px) { .fs-meine__zeile { grid-template-columns: 1fr; gap: .35rem; } }

/* ---------- Ablauf & Fragen ---------- */
.fs-ablauf { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin: 0; padding: 0; list-style: none; counter-reset: fs; }
.fs-ablauf li { position: relative; display: grid; align-content: start; gap: .45rem; padding: 1.2rem 1.2rem 1.25rem; border: 1px solid var(--line); background: #0a0a0b; }
.fs-ablauf li b { display: grid; place-items: center; width: 2rem; height: 2rem; background: var(--blau); color: #fff; font-size: .9rem; }
.fs-ablauf li strong { color: #fff; font: 400 1.3rem/1.15 var(--lx-serif, Georgia, serif); }
.fs-ablauf li span { color: rgba(255, 255, 255, .72); font-size: .88rem; line-height: 1.55; }
.fs-ablauf li:not(:last-child)::after { content: ""; position: absolute; top: 2.2rem; right: -.8rem; width: .8rem; height: 1px; background: rgba(96, 165, 250, .5); }
@media (max-width: 900px) { .fs-ablauf { grid-template-columns: 1fr 1fr; } .fs-ablauf li::after { display: none; } }
@media (max-width: 520px) { .fs-ablauf { grid-template-columns: 1fr; } }
.fs-faq { display: grid; gap: .5rem; }
.fs-faq details { border: 1px solid var(--line); background: #0a0a0b; }
.fs-faq summary { position: relative; padding: 1rem 3rem 1rem 1.1rem; color: #fff; font-size: .98rem; font-weight: 600; cursor: pointer; list-style: none; }
.fs-faq summary::-webkit-details-marker { display: none; }
.fs-faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; translate: 0 -50%; color: var(--blau2); font-size: 1.3rem; font-weight: 300; transition: rotate .2s; }
.fs-faq details[open] summary::after { rotate: 45deg; }
.fs-faq details p { margin: 0; padding: 0 1.1rem 1.1rem; color: rgba(255, 255, 255, .74); font-size: .92rem; line-height: 1.65; }
.fs-faq a { color: #fff; text-decoration: underline !important; text-underline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .fs-modul, .fs-modul:hover { transition: none; transform: none; } .fs-wagen__bild--dienst svg .is-blau, .fs-wagen__bild--dienst svg .is-rot { animation: none; } }

/* ---------- Feinschliff ---------- */
.fs .rn-kicker.fs-kicker, .fs-kopf .rn-next__kicker.fs-next__kicker { color: var(--blau2); }
.fs .rn-kicker.fs-kicker--hell { color: var(--blau3); }
.fs p.fs-termin__kicker { margin: 0; color: rgba(255, 255, 255, .62); font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: none; }
.fs-wagen__karte { min-width: 0; }
.fs-wagen__bild { overflow: hidden; }
.fs-wagen__bild img { position: absolute; inset: 0; }
body.ccm-public-body .fs-form .rn-feld input { max-width: none !important; }
.fs-faq summary::after, .fs-faq summary::before { all: unset; }
.fs-faq summary::after { content: "+"; position: absolute; right: 1.1rem; top: 50%; translate: 0 -50%; color: var(--blau2); font-size: 1.4rem; font-weight: 300; line-height: 1; transition: rotate .2s; }
.fs-faq details[open] summary::after { rotate: 45deg; }
/* Der Kundenbereich färbt alle „…-kicker“ global rot (!important) — hier gilt das Fahrsicherheits-Blau */
body.ccm-public-body .ccm-page--public .fs .fs-kicker, body.ccm-public-body .ccm-page--public .fs-kopf .fs-next__kicker, body.ccm-public-body .ccm-page--public .fs-kopf .fs-eyebrow { color: var(--blau2) !important; }
body.ccm-public-body .ccm-page--public .fs .fs-kicker--hell { color: var(--blau3) !important; }
body.ccm-public-body .ccm-page--public .fs p.fs-termin__kicker { color: rgba(255, 255, 255, .62) !important; letter-spacing: .04em !important; text-transform: none !important; font-size: .8rem !important; }
@media (max-width: 560px) {
  .fs-module { grid-template-columns: 1fr 1fr; gap: .5rem; }
  .fs-modul { gap: .35rem; padding: .85rem .8rem .9rem; }
  .fs-modul__icon { width: 2.2rem; height: 2.2rem; }
  .fs-modul b { font-size: 1.05rem; }
  .fs-modul > span:not(.fs-modul__icon) { font-size: .78rem; line-height: 1.45; }
  .fs-modul em { font-size: .52rem; letter-spacing: .1em; }
}

/* ---------- Logo-Kombination: Graffiti-Logo + CCM Motorsport ---------- */
.fs-logos { display: flex; align-items: center; gap: clamp(.9rem, 2vw, 1.4rem); margin: 0 0 1.6rem; }
.fs-logos__graffiti { display: block; width: clamp(120px, 12vw, 170px); height: auto; filter: drop-shadow(0 10px 22px rgba(224, 35, 63, .35)); }
.fs-logos i { align-self: stretch; width: 1px; margin: .4rem 0; background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .4), transparent); }
.fs-logos__motorsport { display: block; width: clamp(150px, 16vw, 220px); height: auto; }
