﻿/* =========================================================
   EVENT – universeller Hero und Icon-Leisten
   Für _Start.cshtml und _Icons.cshtml
   ========================================================= */

/* HERO */
.event-hero,
.event-hero *,
.event-icons,
.event-icons * {
    box-sizing: border-box;
}

.event-hero {
    --event-red: var(--color-primary, #d60926);
    --event-gutter: clamp(24px, 7vw, 140px);
    --event-diagonal: 85px;
    display: grid;
    grid-template-columns: minmax(0, 43%) minmax(0, 57%);
    width: 100%;
    height: 500px;
    min-height: 0;
    overflow: hidden;
    background: var(--event-red);
}

.event-hero__content {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    /* Rote Fläche ragt ins Bild, ohne die Spaltenbreite zu verändern. */
    width: calc(100% + var(--event-diagonal));
    min-width: 0;
    background: linear-gradient(135deg, #e20c25 0%, #ba0019 100%);
    color: #fff;
    clip-path: polygon(
        0 0,
        100% 0,
        calc(100% - var(--event-diagonal)) 100%,
        0 100%
    );
}

.event-hero__inner {
    position: relative;
    width: 100%;
    min-width: 0;
    padding: 36px calc(var(--event-diagonal) + 24px) 36px var(--event-gutter);
}

.event-hero h1 {
    width: 100%;
    max-width: 520px;
    min-width: 0;
    margin: 0 0 24px;
    padding: 0;
    color: #fff;
    font-size: clamp(34px, 3.8vw, 60px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
}

.event-hero__details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.event-hero__detail {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 17px;
    font-weight: 500;
    line-height: 1.5;
}

.event-hero__detail i {
    flex: 0 0 auto;
    font-size: 22px;
}

.event-hero__subtitle {
    max-width: 490px;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.event-hero__subtitle p { margin: 0 0 12px; }
.event-hero__subtitle p:last-child { margin-bottom: 0; }

.event-hero__visual {
    position: relative;
    min-width: 0;
    min-height: 0;
    height: 100%;
    overflow: hidden;
}

.event-hero__image {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 42%;
}

/* Kein zusätzlicher roter Streifen: die Diagonale ist Teil der Fläche. */
.event-hero__content::after { content: none; }

/* ICON-LEISTEN */
.event-icons {
    width: 100%;
    padding: 22px 0;
    background: #fff;
}

.event-icons__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

.event-icons__item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 0 24px;
}

.event-icons__item:not(:last-child) { border-right: 1px solid #ddd; }

.event-icons__image {
    display: block;
    width: 100px;
    height: 100px;
    flex: 0 0 100px;
    object-fit: contain;
}

.event-icons__content { min-width: 0; }

.event-icons__content h3 {
    margin: 0 0 6px;
    color: #111827;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

.event-icons__content p {
    margin: 0;
    color: #626875;
    font-size: 15px;
    line-height: 1.5;
}

/* TABLET */
@media (max-width: 900px) {
    .event-hero {
        --event-diagonal: 55px;
        grid-template-columns: minmax(0, 48%) minmax(0, 52%);
        height: 420px;
    }

    .event-hero__inner {
        padding: 30px calc(var(--event-diagonal) + 18px) 30px 24px;
    }

    .event-hero h1 { font-size: clamp(28px, 4vw, 40px); }
    .event-hero__detail { font-size: 15px; }

    .event-icons__grid { grid-template-columns: 1fr; }
    .event-icons__item { padding: 16px 20px; }
    .event-icons__item:not(:last-child) {
        border-right: 0;
        border-bottom: 1px solid #eee;
    }
}

/* SMARTPHONE */
@media (max-width: 650px) {
    .event-hero {
        display: flex;
        flex-direction: column-reverse;
        height: auto;
    }

    .event-hero__visual {
        flex: 0 0 250px;
        height: 250px;
        min-height: 250px;
    }

    .event-hero__content {
        width: 100%;
        clip-path: none;
    }

    .event-hero__inner { padding: 32px 24px; }
    .event-hero h1 {
        font-size: clamp(30px, 8vw, 42px);
        margin-bottom: 20px;
    }
    .event-hero__details { margin-bottom: 18px; }
    .event-hero__detail,
    .event-hero__subtitle { font-size: 16px; }
}




/* Hero-Text mittig im roten Bereich */

@media (min-width: 901px) {

    .event-hero__content {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .event-hero__inner {
        flex: 0 1 440px;
        width: 100%;
        max-width: 440px;
        min-width: 0;
        padding: 30px 20px;
        margin: 0 auto;
        text-align: left;
    }

    .event-hero h1 {
        width: 100%;
        max-width: none;
        margin: 0 0 24px;
        font-size: clamp(36px, 3.5vw, 54px);
        line-height: 1.08;
    }

    .event-hero__details,
    .event-hero__subtitle {
        width: 100%;
        margin-left: 0;
        text-align: left;
    }
}


/* ==========================================
   EVENT HERO – gemeinsame linke Textkante
   ========================================== */

@media (min-width: 901px) {

    .event-hero__content {
        justify-content: flex-start;
    }

    .event-hero__inner {
        box-sizing: border-box;
        flex: 0 1 auto;
        width: 100%;
        max-width: none;

        /* An der Inhaltsbreite der Icons orientiert */
        padding-left: max(
            24px,
            calc((100vw - 1440px) / 2 + 24px)
        );

        padding-right: 90px;
        margin: 0;
        text-align: left;
    }

    /* Gleicher Startpunkt für alle Texte */
    .event-hero h1,
    .event-hero__details,
    .event-hero__subtitle {
        margin-left: 0 !important;
        padding-left: 0 !important;
        text-indent: 0 !important;
        text-align: left;
    }

    .event-hero__detail {
        margin-left: 0;
        padding-left: 0;
        justify-content: flex-start;
    }

    .event-hero__detail span {
        margin-left: 0;
        padding-left: 0;
    }
}


/* Exakte gemeinsame linke Textkante */

.event-hero__inner {
    text-align: left;
}

.event-hero h1,
.event-hero__details,
.event-hero__subtitle {
    margin-left: 0;
    padding-left: 0;
    text-indent: 0;
}

.event-hero__detail {
    display: block;
    margin: 0;
    padding: 0;
}

.event-hero__detail span {
    display: block;
    margin: 0;
    padding: 0;
}

/* Keine Einrückung durch leere Icons */
.event-hero__detail i:empty {
    display: none;
}





/* ==========================================
   ANMELDUNG – modernes, ruhiges Design
   ========================================== */

.event-registration {
    width: 100%;
    padding: 55px 24px;
    background: #f7f7f3;
}

.event-registration__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
    align-items: center;
    gap: 80px;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
}

/* Text links */

.event-registration__content {
    min-width: 0;
    text-align: left;
}

.event-registration__content h2 {
    margin: 0 0 20px;
    padding: 0;
    color: #111827;
    font-size: clamp(28px, 2.5vw, 36px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.7px;
}

.event-registration__text {
    max-width: 600px;
    color: #4b5563;
    font-size: 16px;
    line-height: 1.75;
}

.event-registration__text p {
    margin: 0 0 14px;
}

.event-registration__text p:last-child {
    margin-bottom: 0;
}

.event-registration__text strong,
.event-registration__text b {
    color: #c90020;
    font-weight: 700;
}

/* Button rechts */

.event-registration__action {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 0;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.event-registration__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-height: 58px;
    padding: 17px 38px;
    border: 0;
    border-radius: 999px;
    background: #d50920;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(213, 9, 32, 0.16);
    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.event-registration__button:hover {
    background: #b9001b;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(213, 9, 32, 0.24);
}

.event-registration__button:focus-visible {
    outline: 3px solid #111827;
    outline-offset: 4px;
}

/* Tablet */

@media (max-width: 900px) {
    .event-registration {
        padding: 42px 24px;
    }

    .event-registration__grid {
        gap: 35px;
    }
}

/* Smartphone */

@media (max-width: 650px) {
    .event-registration {
        padding: 36px 20px;
    }

    .event-registration__grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .event-registration__content h2 {
        font-size: 28px;
    }

    .event-registration__text {
        font-size: 15px;
    }

    .event-registration__action {
        justify-content: flex-start;
    }

    .event-registration__button {
        width: 100%;
        max-width: 340px;
    }
}



/* Teilnahmebedingungen */

.event-registration__terms {
    width: 100%;
    margin-top: 1.5rem;
}

.event-registration__terms-details {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.event-registration__terms-toggle {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    cursor: pointer;
    font-weight: 700;
    color: #111827;
    list-style: none;
}

.event-registration__terms-toggle::-webkit-details-marker {
    display: none;
}

.event-registration__terms-toggle::marker {
    content: "";
}

.event-registration__terms-toggle .bi-file-earmark-pdf {
    color: #e11d2e;
    font-size: 1.25rem;
}

.event-registration__terms-chevron {
    margin-left: auto;
    color: #e11d2e;
    transition: transform 0.2s ease;
}

.event-registration__terms-details[open]
.event-registration__terms-chevron {
    transform: rotate(180deg);
}

.event-registration__terms-content {
    padding: 1.25rem;
    border-top: 1px solid #e5e7eb;
    line-height: 1.7;
}

.event-registration__terms-content p {
    margin: 0 0 1rem;
}

.event-registration__terms-content p:last-child {
    margin-bottom: 0;
}

.event-registration__terms-toggle:focus-visible {
    outline: 2px solid #e11d2e;
    outline-offset: -2px;
}



/* ==========================================
   Stadtlauf – Teilnahmebedingungen
   Darstellung wie Trainingslauf-Archiv
   ========================================== */

.race-terms {
    width: 100%;
    padding: 32px var(--site-gutter, 24px);
    background: #f7f7f3;
}

.race-terms__inner {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
}

/* Weiße Archivkarte */

.race-terms__details {
    margin: 0;
    overflow: hidden;
    border: 1px solid #e7e7e3;
    border-radius: 12px;
    background: #fff;
}

/* Kopfbereich */

.race-terms__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    padding: 22px 26px;
    list-style: none;
    cursor: pointer;
}

.race-terms__summary::-webkit-details-marker {
    display: none;
}

.race-terms__summary::marker {
    content: "";
}

.race-terms__heading {
    display: block;
    min-width: 0;
}

.race-terms__heading strong {
    display: block;
    color: var(--color-text, #25272b);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.race-terms__subtitle {
    display: block;
    margin-top: 4px;
    color: #62666c;
    font-size: 14px;
    line-height: 1.4;
}

/* Rotes Plus / Minus */

.race-terms__toggle {
    position: relative;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    color: var(--color-primary, #d60926);
}

.race-terms__toggle::before,
.race-terms__toggle::after {
    content: "";
    position: absolute;
    top: 10px;
    left: 3px;
    width: 16px;
    height: 2px;
    background: currentColor;
}

.race-terms__toggle::after {
    transform: rotate(90deg);
}

.race-terms__details[open]
.race-terms__toggle::after {
    display: none;
}

/* Aufgeklappter Inhalt */

.race-terms__content {
    margin: 0 26px;
    padding: 22px 0 26px;
    border-top: 1px solid #e7e7e3;

    color: var(--color-text, #25272b);
    font-family: "Manrope", sans-serif;
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.race-terms__content > :first-child {
    margin-top: 0;
}

.race-terms__content > :last-child {
    margin-bottom: 0;
}

.race-terms__content p {
    margin: 0 0 16px;
}

.race-terms__content a {
    color: var(--color-primary, #d60926);
    text-underline-offset: 4px;
}

/* Tastaturbedienung */

.race-terms__summary:focus-visible {
    outline: 3px solid var(--color-primary, #d60926);
    outline-offset: -4px;
}

/* Smartphone */

@media (max-width: 767px) {

    .race-terms {
        padding: 24px var(--site-gutter, 20px);
    }

    .race-terms__summary {
        gap: 16px;
        padding: 18px 20px;
    }

    .race-terms__heading strong {
        font-size: 18px;
    }

    .race-terms__content {
        margin-inline: 20px;
        padding: 20px 0;
        font-size: 14px;
    }
}


/* ==========================================
   Teilnahmebedingungen wie Trainingsarchiv
   ========================================== */

.race-terms {
    width: 100%;
    box-sizing: border-box;
    padding: 36px var(--site-gutter);
    background: #f7f7f3;
}

.race-terms__inner {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
}

/* Gleiche Breite wie das Trainingsmodul */

.race-terms__details {
    width: 100%;
    box-sizing: border-box;
}

/* Mobile Ansicht */

@media (max-width: 767px) {
    .race-terms {
        padding: 28px var(--site-gutter);
    }
}




/* ==========================================
   STADTLAUF – PROGRAMM / ZEITACHSE
   ========================================== */

.race-programme {
    width: 100%;
    padding: 64px 24px 72px;
    background: #fff;
    box-sizing: border-box;
}

.race-programme__inner {
    width: 100%;
    max-width: 1440px;
    margin-inline: auto;
}

/* Überschrift */

.race-programme__title {
    margin: 0 0 40px;
    color: #171b24;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.035em;
}

/* Zeitachse */

.race-programme__timeline {
    display: flex;
    width: 100%;
    align-items: flex-start;
}

/* Einzelner Programmpunkt */

.race-programme__item {
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

/* Uhrzeit */

.race-programme__time {
    margin-bottom: 14px;
    color: #d60926;
    font-size: 23px;
    font-weight: 800;
    line-height: 1.3;
}

/* Icon und Verbindungslinien */

.race-programme__icon-row {
    display: flex;
    align-items: center;
    width: 100%;
    height: 72px;
}

.race-programme__line {
    flex: 1;
    height: 3px;
    background: #df1832;
}

.race-programme__item:first-child
.race-programme__line--left {
    background: transparent;
}

.race-programme__item:last-child
.race-programme__line--right {
    background: transparent;
}

/* Große, scharfe Icons */

.race-programme__icon {
    display: flex;
    flex: 0 0 76px;
    width: 76px;
    height: 72px;
    align-items: center;
    justify-content: center;
}

.race-programme__icon img {
    display: block;
    width: 64px;
    height: 64px;
    object-fit: contain;
}

/* Beschriftung */

.race-programme__info {
    padding: 18px 10px 0;
}

.race-programme__name {
    margin: 0 0 8px;
    color: #171b24;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
}

.race-programme__description {
    margin: 0;
    color: #626872;
    font-size: 16px;
    line-height: 1.5;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1024px) {

    .race-programme {
        padding: 48px 20px;
    }

    .race-programme__time {
        font-size: 19px;
    }

    .race-programme__icon {
        flex-basis: 60px;
        width: 60px;
        height: 60px;
    }

    .race-programme__icon img {
        width: 52px;
        height: 52px;
    }

    .race-programme__name {
        font-size: 15px;
    }

    .race-programme__description {
        font-size: 14px;
    }
}

/* ==========================================
   SMARTPHONE – VERTIKALE ZEITACHSE
   ========================================== */

@media (max-width: 767px) {

    .race-programme {
        padding: 40px 20px;
    }

    .race-programme__title {
        margin-bottom: 30px;
    }

    .race-programme__timeline {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .race-programme__item {
        position: relative;
        display: grid;
        grid-template-columns: 64px minmax(0, 1fr);
        grid-template-rows: auto auto;
        column-gap: 18px;
        width: 100%;
        text-align: left;
        padding-bottom: 32px;
    }

    .race-programme__time {
        grid-column: 2;
        grid-row: 1;
        margin: 0 0 6px;
        font-size: 20px;
    }

    .race-programme__icon-row {
        grid-column: 1;
        grid-row: 1 / 3;
        position: relative;
        width: 64px;
        height: 64px;
        align-self: start;
    }

    .race-programme__icon {
        flex: 0 0 64px;
        width: 64px;
        height: 64px;
    }

    .race-programme__icon img {
        width: 52px;
        height: 52px;
    }

    .race-programme__line {
        display: none;
    }

    .race-programme__item:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 31px;
        top: 70px;
        bottom: 6px;
        width: 2px;
        background: #df1832;
    }

    .race-programme__info {
        grid-column: 2;
        grid-row: 2;
        padding: 0;
    }

    .race-programme__name {
        font-size: 17px;
    }

    .race-programme__description {
        font-size: 15px;
    }

    .race-programme__item:last-child {
        padding-bottom: 0;
    }
}



/* ==========================================
   PROGRAMM – FEINANPASSUNGEN
   ========================================== */

/* Hellgrauer Hintergrund wie beim Läuferarchiv */
.race-programme {
    background-color: #f7f7f5;
}

/* Beschriftung näher zum Icon */
.race-programme__info {
    padding: 12px 8px 0;
}

/* Abstand zwischen Caption und PlainText */
.race-programme__name {
    margin: 0 0 4px;
    line-height: 1.3;
}

/* PlainText direkt unter Caption */
.race-programme__description {
    margin: 0;
    line-height: 1.4;
    color: #626872;
}

/* Smartphone */
@media (max-width: 767px) {
    .race-programme__info {
        padding: 0;
    }

    .race-programme__name {
        margin-bottom: 4px;
    }
}


/* Caption und PlainText direkt untereinander */
.race-programme__info {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    height: auto;
    margin: 0;
    padding: 8px 0 0;
}

.race-programme__name {
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

.race-programme__description {
    margin: 0;
    padding: 0;
    line-height: 1.4;
}

/* Keine automatische Verschiebung nach unten */
.race-programme__description {
    margin-top: 0;
}




/* ==========================================
   STADTLAUF – KATEGORIEN
   ========================================== */

.race-categories {
    background: #f7f7f5;
    padding: 65px 24px 75px;
}

.race-categories__inner {
    max-width: 1440px;
    margin: 0 auto;
}

/* Überschrift */
.race-categories__title {
    margin: 0 0 30px;
    color: #171b25;
    font-size: 36px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

/* Zwei Spalten */
.race-categories__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

/* Einzelne Karte */
.race-categories__card {
    display: grid;
    grid-template-columns: 175px minmax(0, 1fr);
    gap: 22px;

    background: #fff;
    border: 1px solid #e1e3e5;
    border-radius: 12px;

    padding: 25px 28px;
    min-height: 165px;

    box-sizing: border-box;
}

/* Große rote Distanz */
.race-categories__distance {
    color: #df0024;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    white-space: nowrap;
}

/* Rechte Textspalte */
.race-categories__content {
    min-width: 0;
}

/* Name des Bewerbs */
.race-categories__name {
    margin: 0 0 8px;
    padding: 0;

    font-size: 20px;
    font-weight: 800;
    line-height: 1.3;
    color: #171b25;
}

/* Beschreibung aus MainText */
.race-categories__description {
    margin: 0;
    padding: 0;

    font-size: 16px;
    line-height: 1.5;
    color: #30343b;
}

/* Textformatierung aus der Datenbank */
.race-categories__description p {
    margin: 0;
    padding: 0;
}

.race-categories__description strong {
    font-weight: 700;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1000px) {

    .race-categories__card {
        grid-template-columns: 130px minmax(0, 1fr);
        gap: 16px;
        padding: 22px;
    }

    .race-categories__distance {
        font-size: 40px;
    }

    .race-categories__name {
        font-size: 18px;
    }
}

/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 767px) {

    .race-categories {
        padding: 45px 20px 55px;
    }

    .race-categories__title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .race-categories__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .race-categories__card {
        grid-template-columns: 110px minmax(0, 1fr);
        gap: 14px;
        padding: 20px 16px;
        min-height: 0;
    }

    .race-categories__distance {
        font-size: 34px;
        letter-spacing: -1px;
    }

    .race-categories__name {
        font-size: 17px;
        margin-bottom: 6px;
    }

    .race-categories__description {
        font-size: 14px;
        line-height: 1.45;
    }
}

@media (max-width: 420px) {

    .race-categories__card {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .race-categories__distance {
        font-size: 38px;
    }
}




/* ==========================================
   STADTLAUF – FAQ
   ========================================== */

.race-faq {
    background: #fff;
    padding: 70px 24px 80px;
}

.race-faq__inner {
    max-width: 1440px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: 36% minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}

/* ==========================================
   LINKE SPALTE
   ========================================== */

.race-faq__title {
    margin: 0 0 28px;
    color: #171b25;
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.8px;
}

.race-faq__contact h3 {
    margin: 0 0 4px;
    color: #171b25;
    font-size: 21px;
    font-weight: 800;
}

.race-faq__contact p {
    margin: 0 0 18px;
    color: #626872;
    font-size: 17px;
    line-height: 1.5;
}

.race-faq__email {
    display: inline-flex;
    align-items: center;
    gap: 12px;

    color: #df0024;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none;

    overflow-wrap: anywhere;
}

.race-faq__email:hover {
    color: #ad001b;
}

.race-faq__email svg {
    flex: 0 0 30px;
}

/* ==========================================
   RECHTE SPALTE – AKKORDEON
   ========================================== */

.race-faq__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.race-faq__item {
    background: #fff;
    border: 1px solid #e0e3e6;
    border-radius: 9px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.race-faq__item[open] {
    border-color: #d8dce0;
}

/* Frage */
.race-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 15px 20px;
    cursor: pointer;
    list-style: none;

    color: #171b25;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}

/* Standard-Pfeil entfernen */
.race-faq__question::-webkit-details-marker {
    display: none;
}

.race-faq__question::marker {
    content: "";
}

.race-faq__question:hover {
    color: #df0024;
}

/* Geöffnete Frage rot */
.race-faq__item[open] .race-faq__question {
    color: #df0024;
    padding-bottom: 6px;
}

/* Plus / Minus */
.race-faq__toggle {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
}

.race-faq__toggle::before,
.race-faq__toggle::after {
    content: "";
    position: absolute;
    background: #df0024;
    border-radius: 2px;
}

.race-faq__toggle::before {
    width: 14px;
    height: 2.5px;
    top: 8px;
    left: 2px;
}

.race-faq__toggle::after {
    width: 2.5px;
    height: 14px;
    top: 2px;
    left: 8px;
}

/* Bei geöffneter Frage nur Minus */
.race-faq__item[open] .race-faq__toggle::after {
    display: none;
}

/* Antwort */
.race-faq__answer {
    padding: 0 52px 17px 20px;

    color: #626872;
    font-size: 15px;
    line-height: 1.6;
}

.race-faq__answer p {
    margin: 0;
}

.race-faq__answer p + p {
    margin-top: 10px;
}

.race-faq__answer a {
    color: #df0024;
    text-decoration: underline;
}

/* Tastaturbedienung */
.race-faq__question:focus-visible {
    outline: 2px solid #df0024;
    outline-offset: -3px;
}

/* ==========================================
   TABLET
   ========================================== */

@media (max-width: 1000px) {

    .race-faq__inner {
        grid-template-columns: 32% minmax(0, 1fr);
        gap: 32px;
    }

    .race-faq__title {
        font-size: 32px;
    }
}

/* ==========================================
   SMARTPHONE
   ========================================== */

@media (max-width: 767px) {

    .race-faq {
        padding: 48px 20px 55px;
    }

    .race-faq__inner {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .race-faq__title {
        font-size: 29px;
        margin-bottom: 20px;
    }

    .race-faq__contact h3 {
        font-size: 19px;
    }

    .race-faq__contact p {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .race-faq__email {
        font-size: 16px;
    }

    .race-faq__question {
        padding: 14px 15px;
        font-size: 15px;
    }

    .race-faq__answer {
        padding: 0 42px 16px 15px;
        font-size: 14px;
    }
}
