/* ==========================================================
   Globale Camino-Farben
   ========================================================== */

body[class^="theme-"],
body[class*=" theme-"] {
    --color-primary-100: #603cc8;
    --color-neutral-90: #603cc8;
}


/* ==========================================================
   Hero
   ========================================================== */

.hero.hero--bg-10 {
    --text-color: #603cc8;
    --headline-color: #603cc8;
    --link-color: #603cc8;
    --link-color-hover: #603cc8;

    color: #603cc8;
    background: #39d9fd;
}


/* ==========================================================
   Quiz: Grundgestaltung
   ========================================================== */

.quiz-raffle {
    --text-color: #603cc8;
    --link-color: #603cc8;
    --link-color-hover: #4d2eaa;

    max-width: 46rem;
    color: #603cc8;
}

.quiz-raffle p,
.quiz-raffle legend,
.quiz-raffle label,
.quiz-raffle strong,
.quiz-raffle h1,
.quiz-raffle h2,
.quiz-raffle h3 {
    color: #603cc8;
}

h2,
h3 {
    font-weight: bold !important;
}

h2 {
    font-size: 1.5rem !important;
}

h3 {
    margin-top: 3rem !important;
    font-size: 1.2rem !important;
    font-family: var(--body-family) !important;
}


.quiz-raffle fieldset {
    margin: 1.5rem 0;
    padding: 0;
    border: 0;
}

.quiz-raffle legend {
    margin-bottom: 1rem;
    font-size: 1.35rem;
    font-weight: 700;
}


/* ==========================================================
   Fortschrittsanzeige
   ========================================================== */

.quiz-raffle__progress {
    height: 0.5rem;
    overflow: hidden;
    background: #e5e7eb;
    border-radius: 1rem;
}

.quiz-raffle__progress span {
    display: block;
    height: 100%;
    background: #39d9fd;
    border-radius: inherit;
}

.quiz-raffle__progress-label {
    font-weight: 600;
}


/* ==========================================================
   Antwortmöglichkeiten
   ========================================================== */

.quiz-raffle__answer {
    position: relative;
    display: block;
    margin: 0.5rem 0;
}

/*
 * Eingabefeld visuell ausblenden, aber für Tastatur und
 * Screenreader funktionsfähig lassen.
 */
.quiz-raffle__answer input[type="radio"],
.quiz-raffle__answer input[type="checkbox"] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}

.quiz-raffle__answer label {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 0.8rem 1rem;

    color: #603cc8;
    background: #ffffff;
    border: 1px solid #d1d5db;
    border-radius: 0.4rem;

    cursor: pointer;
    transition:
            background-color 160ms ease,
            border-color 160ms ease;
}

.quiz-raffle__answer label:hover {
    background: #eefbfe;
    border-color: #39d9fd;
}

/* Ausgewählte Antwort: kompletter Balken hellblau */

.quiz-raffle__answer input:checked + label {
    color: #603cc8;
    background: #39d9fd;
    border-color: #39d9fd;
}

/* Sichtbarer Fokus bei Tastaturbedienung */

.quiz-raffle__answer input:focus-visible + label {
    outline: 3px solid #603cc8;
    outline-offset: 2px;
}


/* ==========================================================
   Buttons
   ========================================================== */

.quiz-raffle .quiz-raffle__button {
    display: inline-block;
    margin: 0.5rem 0.5rem 0.5rem 0;
    padding: 0.7rem 1.1rem;

    color: #603cc8;
    background: #39d9fd;
    border: 2px solid #39d9fd;
    border-radius: 0.35rem;

    font: inherit;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;

    transition:
            color 160ms ease,
            background-color 160ms ease,
            border-color 160ms ease;
}

.quiz-raffle .quiz-raffle__button:hover {
    color: #603cc8;
    background: #75e6ff;
    border-color: #75e6ff;
}

.quiz-raffle .quiz-raffle__button:focus-visible {
    color: #603cc8;
    outline: 3px solid #603cc8;
    outline-offset: 2px;
}


/* Sekundärer Button */

.quiz-raffle .quiz-raffle__button--secondary {
    color: #603cc8;
    background: #e5e7eb;
    border-color: #e5e7eb;
}

.quiz-raffle .quiz-raffle__button--secondary:hover {
    color: #603cc8;
    background: #d1d5db;
    border-color: #d1d5db;
}

/* ==========================================================
   Button-Anordnung
   ========================================================== */

.quiz-raffle__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}


/* ==========================================================
   Teilnahmeformular
   ========================================================== */

.quiz-raffle__entry-form > div {
    margin: 1rem 0;
}

.quiz-raffle__entry-form label {
    display: block;
    font-weight: 600;
}

.quiz-raffle__entry-form input[type="text"],
.quiz-raffle__entry-form input[type="email"] {
    box-sizing: border-box;
    width: 100%;
    max-width: 32rem;
    padding: 0.65rem;

    color: #603cc8;
    background: #ffffff;
    border: 1px solid #9ca3af;
    border-radius: 0.3rem;
}

.quiz-raffle__entry-form input:focus-visible {
    border-color: #603cc8;
    outline: 2px solid #603cc8;
    outline-offset: 1px;
}

.quiz-raffle__consent {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.quiz-raffle__consent label {
    font-weight: 400;
}

.quiz-raffle__score {
    font-size: 1.25rem;
}


/* ==========================================================
   Technisch notwendiges Honeypot-Feld
   ========================================================== */

.quiz-raffle__honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.component__content a {
    text-decoration: underline !important;
}

a.quiz-raffle__button {
    text-decoration: none !important;
}

.header__language-nav {
    display: none;
}

.component__content .footer {
    display: none;
}

.component__content .footer__meta {
    border-top: 0;
}

.component__content .footer__meta a {
    text-decoration: none !important;
}