*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --gruen: #55c951;
    --gruen-dunkel: #3da93a;
    --gruen-text: #2b8228;
    --gruen-hell: #eef8ed;
    --tinte: #1d2a1f;
    --grau-text: #5b675c;
    --linie: #dfe7df;
    --papier: #f3f6f3;
    --weiss: #ffffff;
    --radius: 13.5px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--papier);
    color: var(--tinte);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

.page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 16px;
}

.container {
    width: 100%;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 36px;
}

.header-section {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.header-section > img { width: 64px; }

h1 {
    font-size: clamp(30px, 5vw, 44px);
    line-height: 1.12;
    letter-spacing: -0.5px;
}

.subtitle {
    max-width: 46ch;
    color: var(--grau-text);
    font-size: 16px;
    line-height: 1.6;
}

.card {
    width: 100%;
    display: flex;
    gap: 40px;
    padding: 40px;
    background: var(--weiss);
    border-radius: 22px;
    box-shadow: 0 18px 50px rgba(29, 42, 31, 0.08);
}

.divider {
    width: 1px;
    align-self: stretch;
    flex-shrink: 0;
    background: var(--linie);
}

/* Linke Seite: Schulgröße wählen, Preis der gewählten Stufe */

.stufen {
    flex: 0 0 340px;
    display: flex;
    flex-direction: column;
}

.stufen__radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.stufen__frage {
    font-weight: bold;
    margin-bottom: 12px;
}

.stufen__auswahl {
    display: flex;
    gap: 4px;
    padding: 4px;
    margin-bottom: 26px;
    background: var(--papier);
    border-radius: var(--radius);
}

.stufen__option {
    flex: 1;
    padding: 10px 6px;
    border-radius: calc(var(--radius) - 3px);
    text-align: center;
    font-size: 14px;
    color: var(--grau-text);
    cursor: pointer;
    white-space: nowrap;
}

.stufen__option:hover { color: var(--tinte); }

.stufen__preis { display: none; }

/* Je Stufe: Option hervorheben, Preis einblenden, Tastaturfokus zeigen */

#stufe-klein:checked ~ .stufen__auswahl .stufen__option--klein,
#stufe-mittel:checked ~ .stufen__auswahl .stufen__option--mittel,
#stufe-gross:checked ~ .stufen__auswahl .stufen__option--gross {
    background: var(--weiss);
    color: var(--tinte);
    font-weight: bold;
    box-shadow: 0 1px 6px rgba(29, 42, 31, 0.1);
}

#stufe-klein:focus-visible ~ .stufen__auswahl .stufen__option--klein,
#stufe-mittel:focus-visible ~ .stufen__auswahl .stufen__option--mittel,
#stufe-gross:focus-visible ~ .stufen__auswahl .stufen__option--gross {
    outline: 3px solid var(--gruen);
    outline-offset: 1px;
}

#stufe-klein:checked ~ .stufen__preis--klein,
#stufe-mittel:checked ~ .stufen__preis--mittel,
#stufe-gross:checked ~ .stufen__preis--gross {
    display: block;
}

.preis {
    line-height: 1;
    margin-bottom: 8px;
}

.preis__betrag {
    font-size: 76px;
    font-weight: bold;
    letter-spacing: -2px;
}

.preis__waehrung {
    font-size: 30px;
    color: var(--grau-text);
}

.preis__hinweis {
    color: var(--grau-text);
    font-size: 14px;
    margin-bottom: 22px;
}

.knopf {
    display: block;
    padding: 14px;
    border-radius: var(--radius);
    background: var(--gruen);
    color: var(--weiss);
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background 0.15s;
}

.knopf:hover { background: var(--gruen-dunkel); }

.knopf:focus-visible {
    outline: 3px solid var(--gruen);
    outline-offset: 3px;
}

.stufen__klein {
    margin-top: 12px;
    font-size: 13px;
    color: var(--grau-text);
}

.stufen__klein + .stufen__klein { margin-top: 4px; }

.stufen__klein a { color: var(--gruen-text); }

/* Rechte Seite: Funktionen */

.card-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.features-title { font-weight: bold; }

.features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
}

.check {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gruen-hell);
    color: var(--gruen-text);
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}

@media (max-width: 760px) {
    .card {
        flex-direction: column;
        padding: 28px 22px;
        gap: 28px;
    }

    .stufen { flex-basis: auto; }

    .divider {
        width: 100%;
        height: 1px;
    }
}