/* ═══════════════════════════════════════════════════
   SMO Beratung — /beratung/ (Test-Hauptseite)
   Baut auf Design-Tokens von smo-cases/home2 auf.
   Hero + Foto-Sections (creator_cta/final_cta) bleiben BEWUSST
   immer dunkel (Video/Foto-Scrim-Optik, wie auf allen anderen
   Fancy-Seiten) -- der Light/Dark-Umschalter wirkt auf die
   Content-Sections (Prose/Cards/Timeline/FAQ/Capgrid).
   ═══════════════════════════════════════════════════ */

/* ─── Hell/Dunkel-Switch -- gleiche minimale Pill-Optik wie der sitweite
   Easy/Pro-Menue-Switch im Header (weiss, 1.5px schwarzer Rand, schwarze Schrift,
   inaktiv nur per Opacity gedimmt statt Farbwechsel) -- Konsistenz-Wunsch
   Stephan 17.09.2026, unabhaengig vom aktuellen Hell/Dunkel-Zustand der Seite
   IMMER gleich, damit der Switch selbst auf jedem Hintergrund lesbar bleibt. */
.sh2-theme-switch {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 0;
    background: #fff;
    border: 1.5px solid #000;
    border-radius: 999px;
    padding: 3px;
    height: 34px;
    box-sizing: border-box;
}
.sh2-theme-switch__opt {
    border: 0;
    background: transparent;
    border-radius: 999px;
    padding: 0 0.8rem;
    height: 26px;
    line-height: 26px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #000;
    opacity: 0.45;
    cursor: pointer;
    transition: opacity 0.15s ease;
}
.sh2-theme-switch__opt[aria-current="true"] { opacity: 1; font-weight: 800; }
.sh2-theme-switch__opt:not([aria-current="true"]):hover { opacity: 0.7; }

/* ─── Timeline (NEU, gibt es sonst nirgends im Bausystem) ─── */
.sh2-timeline { position: relative; max-width: 760px; margin: 0 auto; }
.sh2-timeline::before {
    content: '';
    position: absolute;
    left: 23px; top: 6px; bottom: 6px;
    width: 2px;
    background: rgba(255,255,255,0.12);
}
.sh2-timeline__step { position: relative; padding-left: 72px; margin-bottom: 2.8rem; }
.sh2-timeline__step:last-child { margin-bottom: 0; }
.sh2-timeline__num {
    position: absolute; left: 0; top: 0;
    width: 48px; height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.035);
    border: 1px solid var(--smo-accent-25);
    color: var(--smo-accent);
    font-weight: 700;
    font-family: 'Clash Display', -apple-system, sans-serif;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.02rem;
}
.sh2-timeline__meta { display: block; font-size: 0.8rem; color: var(--smo-accent); font-weight: 600; margin-bottom: 0.4rem; }
.sh2-timeline__step h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.sh2-timeline__step p { color: var(--smo-text-muted); margin: 0; }

/* Leads-Karten als echte Links (Beratungsklassen -> Unterseiten) */
a.sh2-card--link { display: block; text-decoration: none; }
a.sh2-card--link:hover .sh2-card--lead__more { color: var(--smo-white); }
.sh2-card--lead__more { display: inline-block; margin-top: 1rem; }

/* ─── Leads-Grid: Tag-Chips (leihen sich .sh2-taglist Optik aus dem Bestand) ─── */
.sh2-taglist { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 1rem 0 0; padding: 0; }
.sh2-taglist li {
    font-size: 0.76rem;
    color: var(--smo-text-muted);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 0.25rem 0.7rem;
}

/* Logos-Section bleibt IMMER auf dunklem Streifen (Logos sind fuer Dark-BG optimiert) */
.smob-clients-fixed-dark { background: #0a0a0a; }

/* Breadcrumb-Leiste (Unterseiten -> zurueck zur Beratungs-Hauptseite) */
.sh2-crumb { padding: 1.1rem 0; }
.sh2-crumb a { color: var(--smo-text-muted); font-size: 0.85rem; font-weight: 600; }
.sh2-crumb a:hover { color: var(--smo-accent); }

/* Hero bleibt IMMER dunkel/cinematic (Video-Scrim-Optik), unabhaengig vom
   Hell/Dunkel-Switch -- die globale "#smo-home2-wrap h1"-Regel (nutzt
   --smo-white) und der Ghost-Button-Light-Override wuerden sonst faelschlich
   auch den Hero-Titel/-Button einfaerben. Bughunt 17.09.2026: Hero-Titel war in
   Hell/Easy fast unlesbar dunkel auf dunklem Video. */
#smo-home2-wrap .sh2-hero .sh2-hero__title,
#smo-home2-wrap .sh2-hero h1 { color: #fff !important; }
#smo-home2-wrap .sh2-hero .sh2-btn--ghost {
    color: #fff !important;
    border-color: rgba(255,255,255,0.25) !important;
}
#smo-home2-wrap .sh2-hero .sh2-btn--ghost:hover {
    background: rgba(255,255,255,0.08) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,0.5) !important;
}

@media (max-width: 700px) {
    .sh2-timeline__step { padding-left: 60px; }
    .sh2-timeline__num { width: 40px; height: 40px; font-size: 0.9rem; }
    .sh2-timeline::before { left: 19px; }
}

/* ═══════════════════════════════════════════════════
   LIGHT MODE — nur Content-Sections, Hero/Foto-CTAs bleiben dunkel
   ═══════════════════════════════════════════════════ */
html[data-theme="light"] body.smo-ber-active #smo-home2-wrap {
    --smo-bg: #ffffff;
    --smo-bg-alt: #f3f4f6;
    --smo-text: rgba(10,10,10,0.75);
    --smo-text-muted: rgba(10,10,10,0.55);
    --smo-white: #0a0a0a;
    --smo-accent: #0072c6;
    --smo-accent-15: rgba(0,114,198,0.12);
    --smo-accent-25: rgba(0,114,198,0.28);
}

html[data-theme="light"] body.smo-ber-active #smo-home2-wrap .sh2-card {
    background: rgba(10,10,10,0.03);
    border-color: rgba(10,10,10,0.08);
}
html[data-theme="light"] body.smo-ber-active #smo-home2-wrap .sh2-card:hover {
    background: rgba(10,10,10,0.05);
    border-color: var(--smo-accent-25);
}

html[data-theme="light"] body.smo-ber-active #smo-home2-wrap .sh2-btn--ghost {
    color: #0a0a0a;
    border-color: rgba(10,10,10,0.25);
}
html[data-theme="light"] body.smo-ber-active #smo-home2-wrap .sh2-btn--ghost:hover {
    background: rgba(10,10,10,0.06);
    color: #0a0a0a;
    border-color: rgba(10,10,10,0.5);
}
html[data-theme="light"] body.smo-ber-active #smo-home2-wrap .sh2-btn--primary:hover {
    background: #0a0a0a;
    color: #fff;
}

/* home2.css erzwingt #smo-home2-wrap .sh2-cap a/h4-Farben mit !important (fuer die
   dunkle Startseite gedacht) -- muss hier ebenfalls mit !important uebersteuert werden,
   sonst gewinnt die dunkle Farbe auch im Light Mode (nahezu unlesbar auf hellem Grund). */
html[data-theme="light"] body.smo-ber-active #smo-home2-wrap .sh2-cap a { color: rgba(10,10,10,0.65) !important; }
html[data-theme="light"] body.smo-ber-active #smo-home2-wrap .sh2-cap a:hover { color: #0a0a0a !important; }
html[data-theme="light"] body.smo-ber-active #smo-home2-wrap .sh2-cap h4 { color: var(--smo-accent) !important; }

html[data-theme="light"] body.smo-ber-active #smo-home2-wrap .sh2-faq__item { border-top-color: rgba(10,10,10,0.14); }
html[data-theme="light"] body.smo-ber-active #smo-home2-wrap .sh2-faq__list .sh2-faq__item:last-child { border-bottom-color: rgba(10,10,10,0.14); }
html[data-theme="light"] body.smo-ber-active #smo-home2-wrap .sh2-faq__item summary { color: #0a0a0a; }

html[data-theme="light"] body.smo-ber-active #smo-home2-wrap .sh2a-prose__h3 { color: #0a0a0a; }
html[data-theme="light"] body.smo-ber-active #smo-home2-wrap .sh2a-prose__bullets strong { color: #0a0a0a; }

html[data-theme="light"] body.smo-ber-active #smo-home2-wrap .sh2-timeline::before { background: rgba(10,10,10,0.14); }
html[data-theme="light"] body.smo-ber-active #smo-home2-wrap .sh2-timeline__num { background: rgba(10,10,10,0.03); }

html[data-theme="light"] body.smo-ber-active #smo-home2-wrap .sh2-taglist li {
    background: rgba(10,10,10,0.05);
    border-color: rgba(10,10,10,0.1);
    color: rgba(10,10,10,0.6);
}

/* Switch bleibt bewusst IMMER weiss/schwarz (siehe Definition oben) -- kein
   Light/Dark-Override noetig, das ist gerade der Konsistenz-Punkt. */
