/* ==========================================================================
   Digitale Kollegen für Apotheken · Cayas
   Ruhig, papierhell, Cayas-Grün. Ein deutliches Element: Pixel (Grafik,
   Symbole, harte Schatten). Der Rezept-Check sieht aus wie ein Rezeptblatt.
   Mobil zuerst.
   ========================================================================== */

@font-face {
    font-family: "Ubuntu";
    font-style: normal;
    font-weight: 400;
    src: local("Ubuntu Regular"), url("../fonts/ubuntu-v20-latin-regular.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "Ubuntu";
    font-style: normal;
    font-weight: 700;
    src: local("Ubuntu Bold"), url("../fonts/ubuntu-v20-latin-700.woff2") format("woff2");
    font-display: swap;
}

:root {
    /* Cayas: --secondary #226b46, --primary #b0d236 */
    --gruen-dunkel: #1d5c3c;
    --gruen: #226b46;
    --limette: #b0d236;
    --limette-hell: #eef5d6;
    --papier: #faf8f3;
    --weiss: #ffffff;
    --text: #1f2421;
    --text-leise: #4a524d;
    --linie: #ddd7c9;

    /* Rezeptblatt */
    --rezept: #fbedf0;
    --rezept-linie: #e7bcc5;
    --rezept-rot: #9e2339;

    --fokus: #1d5c3c;
    --breite: 70rem;
    --schmal: 44rem;
    --rand: 1rem;
    --kopf-hoehe: 3.5rem;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Weich scrollen erst nach dem Laden (Klasse setzt rezept-check.js). Wer über den Direktlink
   #rezept-check kommt, landet sofort am Ziel, statt durch die ganze Seite zu gleiten. */
@media (prefers-reduced-motion: no-preference) {
    html.weich-scrollen {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    background: var(--papier);
    color: var(--text);
    font-family: "Ubuntu", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

@media (min-width: 60rem) {
    body {
        font-size: 1.125rem;
    }
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4 {
    line-height: 1.2;
    margin: 0 0 0.75rem;
    font-weight: 700;
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.1rem, 8vw, 4.1rem);
    line-height: 1.08;
    letter-spacing: -0.015em;
}

h2 {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.15rem;
}

p {
    margin: 0 0 1rem;
}

a {
    color: var(--gruen-dunkel);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
}

a:hover {
    text-decoration-thickness: 2px;
}

:focus-visible {
    outline: 3px solid var(--fokus);
    outline-offset: 3px;
}

[hidden] {
    display: none !important;
}

/* Sprungziele nicht unter dem festen Kopf verstecken (wichtig für den Direktlink #rezept-check) */
[id] {
    scroll-margin-top: calc(var(--kopf-hoehe) + 0.75rem);
}

.sprunglink {
    position: absolute;
    left: 0.5rem;
    top: -10rem;
    z-index: 100;
    background: var(--gruen-dunkel);
    color: var(--weiss);
    padding: 0.6rem 1rem;
    font-weight: 700;
}

.sprunglink:focus {
    top: 0.5rem;
}

main:focus {
    outline: none;
}

.leise {
    color: var(--text-leise);
    font-size: 0.92em;
}

.abstand-oben {
    margin-top: 2rem;
}

/* ---------- Raster ---------- */

.rahmen {
    max-width: var(--breite);
    margin: 0 auto;
    padding: 0 var(--rand);
}

.rahmen--schmal {
    max-width: var(--schmal);
}

@media (min-width: 40rem) {
    :root {
        --rand: 1.5rem;
    }
}

.abschnitt {
    padding: 3.5rem 0;
}

@media (min-width: 60rem) {
    .abschnitt {
        padding: 5.5rem 0;
    }
}

.abschnitt--ruhig {
    background: var(--weiss);
    border-top: 1px solid var(--linie);
    border-bottom: 1px solid var(--linie);
}

.einleitung {
    font-size: 1.12em;
    color: var(--text-leise);
    max-width: 40rem;
    margin-bottom: 2rem;
}

.textblock {
    max-width: 40rem;
}

.hinweis {
    margin-top: 2rem;
    padding: 0.9rem 1rem;
    border-left: 4px solid var(--limette);
    background: var(--limette-hell);
    max-width: 40rem;
}

/* ---------- Knöpfe: harter Pixel-Schatten in Limette ---------- */

.knopf {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.8rem 1.4rem;
    border: 2px solid var(--gruen-dunkel);
    border-radius: 0;
    background: var(--gruen-dunkel);
    color: var(--weiss);
    font: inherit;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 4px 4px 0 var(--limette);
}

.knopf:hover {
    background: #154a30;
    color: var(--weiss);
}

.knopf:active {
    box-shadow: 2px 2px 0 var(--limette);
    transform: translate(2px, 2px);
}

.knopf:disabled {
    opacity: 0.7;
    cursor: progress;
}

.knopf--zweitrangig {
    background: var(--weiss);
    color: var(--gruen-dunkel);
}

.knopf--zweitrangig:hover {
    background: var(--limette-hell);
    color: var(--gruen-dunkel);
}

.knopf--klein {
    min-height: 2.5rem;
    padding: 0.45rem 0.9rem;
    font-size: 0.95rem;
    box-shadow: 3px 3px 0 var(--limette);
}

/* ---------- Kopf ---------- */

.kopf {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(250, 248, 243, 0.97);
    border-bottom: 1px solid var(--linie);
}

.kopf__innen {
    max-width: var(--breite);
    margin: 0 auto;
    padding: 0 var(--rand);
    min-height: var(--kopf-hoehe);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.kopf__marke {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text);
    text-decoration: none;
    min-width: 0;
}

.kopf__marke img {
    width: 4.4rem;
    flex: none;
}

.kopf__zusatz {
    display: none;
    font-size: 0.9rem;
    color: var(--text-leise);
    padding-left: 0.75rem;
    border-left: 1px solid var(--linie);
    white-space: nowrap;
}

@media (min-width: 36rem) {
    .kopf__zusatz {
        display: inline;
    }
}

/* ---------- 1. Hero ---------- */

.held {
    padding: 3rem 0 2.5rem;
}

@media (min-width: 60rem) {
    .held {
        padding: 5.5rem 0 4rem;
    }
}

.dachzeile {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gruen);
    margin-bottom: 1rem;
}

.held h1 {
    max-width: 16ch;
}

.held__antwort {
    color: var(--gruen-dunkel);
    background: linear-gradient(transparent 68%, var(--limette) 68%, var(--limette) 92%, transparent 92%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

.held__unterzeile {
    font-size: clamp(1.15rem, 3.4vw, 1.45rem);
    max-width: 34rem;
    margin: 1.25rem 0 1.75rem;
}

.held__aktion {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.held__hinweis {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-leise);
}

.kurzablauf {
    list-style: none;
    margin: 2.75rem 0 0;
    padding: 1.25rem 0 0;
    border-top: 1px solid var(--linie);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.5rem;
}

.kurzablauf li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.3;
    color: var(--text-leise);
}

.kurzablauf .pixel {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Pixel-Punkte zwischen den Schritten */
.kurzablauf li + li::before {
    content: "";
    position: absolute;
    top: 1.1rem;
    left: calc(-50% + 1.6rem);
    width: calc(100% - 3.2rem);
    height: 4px;
    background: repeating-linear-gradient(90deg, var(--limette) 0 4px, transparent 4px 8px);
}

@media (min-width: 40rem) {
    .kurzablauf li {
        font-size: 0.9rem;
    }

    .kurzablauf .pixel {
        width: 3rem;
        height: 3rem;
    }

    .kurzablauf li + li::before {
        top: 1.4rem;
    }
}

.stand {
    margin: 1.75rem 0 0;
    font-size: 0.95rem;
    color: var(--text-leise);
}

.stand strong {
    color: var(--text);
}

/* ---------- Pixel-Symbole ---------- */

.pixel {
    width: 3rem;
    height: 3rem;
    flex: none;
}

.pixel .p1 {
    fill: var(--gruen-dunkel);
}

.pixel .p2 {
    fill: var(--limette);
}

.pixelbild {
    image-rendering: pixelated;
    width: 100%;
}

.prozessgrafik {
    margin: 0 0 2.5rem;
}

/* ---------- 2. Ablauf ---------- */

.ablauf {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.ablauf__schritt {
    position: relative;
    display: grid;
    grid-template-columns: 3rem 1fr;
    column-gap: 1rem;
    padding: 0 0 1.75rem;
}

.ablauf__schritt .pixel {
    grid-row: span 2;
    background: var(--papier);
    position: relative;
    z-index: 1;
}

/* Gepunktete Linie zwischen den Symbolen */
.ablauf__schritt:not(:last-child)::before {
    content: "";
    position: absolute;
    left: calc(1.5rem - 2px);
    top: 3.25rem;
    bottom: 0.25rem;
    width: 4px;
    background: repeating-linear-gradient(180deg, var(--limette) 0 4px, transparent 4px 8px);
}

.ablauf__schritt h3 {
    margin: 0.2rem 0 0.3rem;
}

.ablauf__schritt p {
    margin: 0;
    color: var(--text-leise);
}

.ablauf__nr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.6rem;
    height: 1.6rem;
    margin-right: 0.35rem;
    background: var(--gruen-dunkel);
    color: var(--weiss);
    font-size: 0.85rem;
    vertical-align: 0.1em;
}

@media (min-width: 60rem) {
    .ablauf {
        grid-template-columns: repeat(5, 1fr);
        gap: 1.5rem;
    }

    .ablauf__schritt {
        display: block;
        padding: 0;
    }

    .ablauf__schritt .pixel {
        width: 3.5rem;
        height: 3.5rem;
        margin-bottom: 1rem;
    }

    .ablauf__schritt:not(:last-child)::before {
        left: 4.5rem;
        right: -0.75rem;
        top: calc(1.75rem - 2px);
        bottom: auto;
        width: auto;
        height: 4px;
        background: repeating-linear-gradient(90deg, var(--limette) 0 4px, transparent 4px 8px);
    }

    .ablauf__schritt h3 {
        font-size: 1.05rem;
    }

    .ablauf__schritt p {
        font-size: 0.95rem;
    }
}

/* ---------- 3. Warum bisher nicht ---------- */

.einwaende {
    margin: 0 0 2rem;
    border-top: 1px solid var(--linie);
}

.einwand {
    padding: 1.25rem 0;
    border-bottom: 1px solid var(--linie);
}

.einwand dt {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-leise);
    margin-bottom: 0.4rem;
}

.einwand dd {
    margin: 0;
}

@media (min-width: 48rem) {
    .einwand {
        display: grid;
        grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
        gap: 2rem;
        align-items: baseline;
    }

    .einwand dt {
        margin: 0;
    }
}

/* ---------- 4. Rezept-Check ---------- */

.rezept-check {
    background: var(--papier);
}

.rezept {
    max-width: 46rem;
    background: var(--rezept);
    border: 1px solid var(--rezept-linie);
    box-shadow: 6px 6px 0 var(--rezept-linie);
    padding: 1rem;
}

@media (min-width: 40rem) {
    .rezept {
        padding: 1.5rem 1.75rem 1.75rem;
    }
}

.rezept__kopf {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--rezept-rot);
    color: var(--rezept-rot);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.rezept__kopf span {
    white-space: nowrap;
}

.nur-breit {
    display: none;
}

@media (min-width: 30rem) {
    .nur-breit {
        display: inline;
    }
}

.rezept__fragen {
    margin: 0;
}

.frage {
    margin: 0 0 -1px;
    padding: 1rem;
    border: 1px solid var(--rezept-linie);
    background: rgba(255, 255, 255, 0.6);
    min-width: 0;
}

.frage--fehlt {
    border-color: var(--rezept-rot);
    box-shadow: inset 4px 0 0 var(--rezept-rot);
}

.frage__titel {
    display: block;
    float: left; /* legend im fieldset wie ein normales Label behandeln */
    width: 100%;
    padding: 0;
    margin-bottom: 0.75rem;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.35;
}

.frage__titel + * {
    clear: both;
}

.frage__nr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.35rem;
    border: 2px solid var(--rezept-rot);
    color: var(--rezept-rot);
    font-size: 0.8rem;
    vertical-align: 0.1em;
}

.frage__zusatz {
    margin: -0.5rem 0 0.5rem;
    font-size: 0.92rem;
    color: var(--text-leise);
}

.frage__fehler {
    margin: 0.6rem 0 0;
    color: var(--rezept-rot);
    font-weight: 700;
    font-size: 0.95rem;
}

/* Auswahl als Kacheln */
.wahl {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.wahl__option {
    position: relative;
    flex: 1 1 auto;
}

.wahl__option input {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}

.wahl__option span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    padding: 0.55rem 1rem;
    background: var(--weiss);
    border: 2px solid var(--rezept-linie);
    text-align: center;
    cursor: pointer;
    line-height: 1.25;
}

.wahl__option:hover span {
    border-color: var(--gruen-dunkel);
}

.wahl__option input:checked + span {
    background: var(--gruen-dunkel);
    border-color: var(--gruen-dunkel);
    color: var(--weiss);
    font-weight: 700;
    box-shadow: 3px 3px 0 var(--limette);
}

.wahl__option input:focus-visible + span {
    outline: 3px solid var(--fokus);
    outline-offset: 3px;
}

/* Schieberegler */
.regler__wert {
    display: inline-block;
    margin-bottom: 0.25rem;
    padding: 0.2rem 0.6rem;
    background: var(--weiss);
    border: 2px solid var(--gruen-dunkel);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--gruen-dunkel);
}

.regler {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    height: 2.75rem;
    margin: 0;
    background: transparent;
    cursor: pointer;
}

.regler:focus-visible {
    outline: 3px solid var(--fokus);
    outline-offset: 2px;
}

.regler::-webkit-slider-runnable-track {
    height: 6px;
    background: var(--rezept-rot);
}

.regler::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.75rem;
    height: 1.75rem;
    margin-top: calc(3px - 0.875rem);
    background: var(--gruen-dunkel);
    border: 3px solid var(--weiss);
    border-radius: 0;
    box-shadow: 0 0 0 2px var(--gruen-dunkel), 3px 3px 0 2px var(--limette);
}

.regler::-moz-range-track {
    height: 6px;
    background: var(--rezept-rot);
    border: 0;
}

.regler::-moz-range-thumb {
    width: 1.75rem;
    height: 1.75rem;
    background: var(--gruen-dunkel);
    border: 3px solid var(--weiss);
    border-radius: 0;
    box-shadow: 0 0 0 2px var(--gruen-dunkel), 3px 3px 0 2px var(--limette);
}

.regler__skala {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-leise);
}

/* Auf dem Handy nur erste und letzte Stufe als Beschriftung, die aktuelle steht groß darüber */
.regler__skala span:not(:first-child):not(:last-child) {
    display: none;
}

.regler__skala span:last-child {
    text-align: right;
}

@media (min-width: 40rem) {
    .regler__skala span:not(:first-child):not(:last-child) {
        display: block;
        text-align: center;
    }
}

.rezept__abschluss {
    margin-top: 1.25rem;
}

.rezept__fussnote {
    margin: 0.85rem 0 0;
    font-size: 0.9rem;
    color: var(--text-leise);
}

.rezept__ohne-js {
    margin: 1rem 0 0;
    padding: 1rem;
    background: var(--weiss);
    border: 1px solid var(--rezept-linie);
}

/* Auf breiten Bildschirmen steht das Ergebnis neben dem Rezeptblatt,
   damit man beim Schieben sieht, wie sich die Zahlen ändern. */
@media (min-width: 72rem) {
    .rc-raster {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 2.5rem;
        align-items: start;
    }

    .rc-raster .ergebnis {
        margin-top: 0;
    }

    .rc-raster .ergebnis__zahlen {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Ergebnis */
.ergebnis {
    max-width: 46rem;
    margin-top: 2rem;
    padding: 1.25rem 1rem 1.5rem;
    background: var(--weiss);
    border: 1px solid var(--linie);
    border-top: 6px solid var(--gruen-dunkel);
}

@media (min-width: 40rem) {
    .ergebnis {
        padding: 1.75rem 1.75rem 2rem;
    }
}

.ergebnis:focus {
    outline: none;
}

.ergebnis:focus-visible {
    outline: 3px solid var(--fokus);
    outline-offset: 3px;
}

.ergebnis__titel {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-leise);
}

.ergebnis__zahlen {
    display: grid;
    gap: 1rem;
    margin: 1rem 0 1.5rem;
}

@media (min-width: 40rem) {
    .ergebnis__zahlen {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

.kennzahl {
    margin: 0;
}

.kennzahl__wert {
    display: block;
    white-space: nowrap;
    font-size: clamp(2rem, 8vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--gruen-dunkel);
    font-variant-numeric: tabular-nums;
}

.kennzahl__einheit {
    display: block;
    color: var(--text-leise);
}

.einschaetzung {
    padding: 1.25rem 0 0.25rem;
    border-top: 1px solid var(--linie);
}

.einschaetzung__titel {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

/* Stempel wie auf Papier */
.stempel {
    display: inline-block;
    margin: 0 0 0.75rem;
    padding: 0.3rem 0.75rem;
    border: 3px solid currentColor;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.95rem;
    transform: rotate(-2.5deg);
}

.einschaetzung--lohnt-sich-sehr .stempel {
    color: var(--gruen-dunkel);
    background: var(--limette-hell);
}

.einschaetzung--lohnt-sich .stempel {
    color: var(--gruen);
}

.einschaetzung--lohnt-sich-noch-nicht .stempel {
    color: var(--text-leise);
}

@media (prefers-reduced-motion: no-preference) {
    .einschaetzung--neu .stempel {
        animation: stempeln 0.28s ease-out;
    }
}

@keyframes stempeln {
    from {
        opacity: 0;
        transform: rotate(-2.5deg) scale(1.35);
    }
    to {
        opacity: 1;
        transform: rotate(-2.5deg) scale(1);
    }
}

.ergebnis__preis {
    padding: 0.75rem 1rem;
    background: var(--limette-hell);
}

.rechenweg,
.aufklapper {
    margin: 1.25rem 0;
    border: 1px solid var(--linie);
    background: var(--papier);
}

.rechenweg summary,
.aufklapper summary {
    padding: 0.85rem 1rem;
    font-weight: 700;
    cursor: pointer;
    min-height: 3rem;
}

.rechenweg > :not(summary),
.aufklapper > :not(summary) {
    margin: 0 1rem 1rem;
}

.rechenweg__zeilen {
    font-family: ui-monospace, Menlo, Consolas, monospace;
    font-size: 0.9rem;
    line-height: 1.8;
    overflow-wrap: anywhere;
}

.ergebnis__mehr {
    margin: 1.5rem 0;
}

.ergebnis__mehr-titel,
.naechster-schritt__titel,
.kontakt__titel {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.liste-pixel {
    list-style: none;
    margin: 0;
    padding: 0;
}

.liste-pixel li {
    display: flex;
    gap: 0.5rem;
    align-items: flex-start;
    margin-bottom: 0.4rem;
}

.liste-pixel .pixel {
    width: 1.5rem;
    height: 1.5rem;
    margin-top: 0.05rem;
}

.naechster-schritt {
    border-top: 1px solid var(--linie);
    padding-top: 1.5rem;
    display: grid;
    gap: 1.75rem;
}

.rueckruf {
    padding: 1rem;
    background: var(--limette-hell);
    border-left: 4px solid var(--limette);
}

.rueckruf p:last-child {
    margin-bottom: 0;
}

/* Formular */
.anfrage {
    margin: 0;
}

.feld {
    margin-bottom: 1rem;
}

.feld label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.3rem;
}

.feld__freiwillig {
    font-weight: 400;
    color: var(--text-leise);
}

.feld input {
    width: 100%;
    min-height: 3rem;
    padding: 0.6rem 0.75rem;
    font: inherit;
    color: var(--text);
    background: var(--weiss);
    border: 2px solid #8f978f;
    border-radius: 0;
}

.feld input:focus-visible {
    outline: 3px solid var(--fokus);
    outline-offset: 1px;
    border-color: var(--gruen-dunkel);
}

.feld input[aria-invalid="true"] {
    border-color: var(--rezept-rot);
}

.feld__fehler {
    margin: 0.35rem 0 0;
    color: var(--rezept-rot);
    font-weight: 700;
    font-size: 0.95rem;
}

/* Honigtopf: für Menschen unsichtbar */
.feld--honig {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.einwilligung {
    display: grid;
    grid-template-columns: 1.5rem 1fr;
    gap: 0.25rem 0.75rem;
    margin: 1.25rem 0;
    font-size: 0.95rem;
}

.einwilligung input {
    width: 1.35rem;
    height: 1.35rem;
    margin: 0.15rem 0 0;
    accent-color: var(--gruen-dunkel);
}

.einwilligung .feld__fehler {
    grid-column: 2;
}

.anfrage .leise {
    margin-top: 0.85rem;
}

.anfrage__meldung {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-left: 4px solid var(--rezept-rot);
    background: var(--rezept);
}

.danke {
    padding: 1.25rem;
    border: 2px solid var(--gruen-dunkel);
    box-shadow: 4px 4px 0 var(--limette);
}

.danke:focus {
    outline: none;
}

.danke p:last-child {
    margin-bottom: 0;
}

/* ---------- 5. Kontrolle ---------- */

.sicherungen,
.enthalten {
    list-style: none;
    margin: 0 0 2rem;
    padding: 0;
    max-width: 46rem;
}

.sicherungen li,
.enthalten li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 0;
    border-bottom: 1px solid var(--linie);
}

.sicherungen li:first-child,
.enthalten li:first-child {
    border-top: 1px solid var(--linie);
}

.sicherungen h3,
.enthalten h3 {
    margin-bottom: 0.25rem;
}

.sicherungen p,
.enthalten p {
    margin: 0;
    color: var(--text-leise);
}

.enthalten .pixel {
    width: 2rem;
    height: 2rem;
}

.offene-fragen {
    max-width: 46rem;
    padding: 1.1rem 1.25rem 0.25rem;
    background: var(--papier);
    border-left: 4px solid var(--linie);
}

.aufklapper {
    max-width: 46rem;
    background: var(--weiss);
}

.fragen-it dt {
    font-weight: 700;
    margin-top: 1rem;
}

.fragen-it dt:first-child {
    margin-top: 0;
}

.fragen-it dd {
    margin: 0.2rem 0 0;
    color: var(--text-leise);
}

/* ---------- 7. Preis ---------- */

.preis {
    font-size: 1.1rem;
}

.preis__betrag {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gruen-dunkel);
    margin-right: 0.35rem;
}

/* ---------- 8. Wer dahintersteht ---------- */

.personen {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (min-width: 40rem) {
    .personen {
        grid-template-columns: 1fr 1fr;
        max-width: 52rem;
    }
}

.person {
    margin: 0;
}

.person img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    margin-bottom: 0.75rem;
    border: 1px solid var(--linie);
}

.person figcaption {
    color: var(--text-leise);
}

.person strong {
    color: var(--text);
}

.kontakt {
    padding: 1.25rem;
    background: var(--weiss);
    border: 2px solid var(--gruen-dunkel);
    box-shadow: 4px 4px 0 var(--limette);
    max-width: 26rem;
}

.kontakt p:last-child {
    margin: 0;
}

/* ---------- Belege (später) ---------- */

.beleg {
    margin-bottom: 2rem;
    max-width: 46rem;
}

.beleg blockquote {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
}

/* ---------- Fuß ---------- */

.fuss {
    border-top: 1px solid var(--linie);
    padding: 2rem 0 2.5rem;
    font-size: 0.92rem;
    color: var(--text-leise);
}

.fuss__innen {
    max-width: var(--breite);
    margin: 0 auto;
    padding: 0 var(--rand);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem 2rem;
}

.fuss__firma img {
    width: 4.5rem;
    margin-bottom: 0.5rem;
}

.fuss__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem 1.25rem;
}

.fuss__links a {
    color: var(--text-leise);
    display: inline-block;
    padding: 0.4rem 0;
}

/* ---------- Unterseiten: Rechtliches, Bestätigung, Statistik ---------- */

.seite {
    padding: 3rem 0 4rem;
}

.seite h1 {
    font-size: clamp(1.9rem, 6vw, 2.8rem);
    max-width: 22ch;
}

.seite h2 {
    font-size: 1.35rem;
    margin-top: 2.25rem;
}

.seite h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
}

.seite ul {
    padding-left: 1.25rem;
}

.seite li {
    margin-bottom: 0.4rem;
}

.statistik {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    font-variant-numeric: tabular-nums;
}

.statistik-huelle {
    overflow-x: auto;
    margin: 1rem 0 2rem;
}

.statistik th,
.statistik td {
    padding: 0.5rem 0.6rem;
    border-bottom: 1px solid var(--linie);
    text-align: right;
    white-space: nowrap;
}

.statistik th:first-child,
.statistik td:first-child {
    text-align: left;
}

.statistik thead th {
    font-size: 0.8rem;
    color: var(--text-leise);
    vertical-align: bottom;
    white-space: normal;
}

.statistik tfoot td {
    font-weight: 700;
    border-top: 2px solid var(--text);
}

/* ---------- Infoblatt fürs Team (A4, druckbar) ---------- */

.infoblatt-seite {
    background: #e9e6de;
}

.infoblatt-leiste {
    max-width: 210mm;
    margin: 0 auto;
    padding: 1rem var(--rand);
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
    align-items: center;
    justify-content: space-between;
}

.infoblatt {
    max-width: 210mm;
    min-height: 297mm;
    margin: 0 auto 2rem;
    padding: 14mm 15mm;
    background: var(--weiss);
    font-size: 11pt;
    line-height: 1.5;
}

@media (max-width: 40rem) {
    .infoblatt {
        min-height: 0;
        padding: 1.5rem 1rem;
    }
}

.infoblatt__kopf {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--gruen-dunkel);
    padding-bottom: 0.6rem;
    margin-bottom: 1.25rem;
    font-size: 9pt;
    color: var(--text-leise);
}

.infoblatt__kopf img {
    width: 22mm;
}

.infoblatt h1 {
    font-size: 22pt;
    max-width: none;
    margin-bottom: 0.4rem;
}

.infoblatt h2 {
    font-size: 12.5pt;
    margin: 1.1rem 0 0.4rem;
    color: var(--gruen-dunkel);
}

.infoblatt__lead {
    font-size: 12.5pt;
}

.infoblatt__spalten {
    display: grid;
    gap: 0 1.5rem;
}

@media (min-width: 40rem), print {
    .infoblatt__spalten {
        grid-template-columns: 1fr 1fr;
    }
}

.infoblatt ul {
    margin: 0;
    padding-left: 1.1rem;
}

.infoblatt__ablauf {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.75rem 0 0.25rem;
    padding: 0;
    list-style: none;
    font-size: 9.5pt;
}

.infoblatt__ablauf li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.5rem;
    border: 1px solid var(--linie);
}

.infoblatt__ablauf .pixel {
    width: 1.4rem;
    height: 1.4rem;
}

.infoblatt__fuss {
    margin-top: 1.5rem;
    padding-top: 0.6rem;
    border-top: 1px solid var(--linie);
    font-size: 9pt;
    color: var(--text-leise);
}

@media print {
    @page {
        size: A4;
        margin: 0;
    }

    body,
    .infoblatt-seite {
        background: var(--weiss);
    }

    .kopf,
    .fuss,
    .infoblatt-leiste,
    .sprunglink {
        display: none !important;
    }

    .infoblatt {
        margin: 0;
        max-width: none;
        min-height: 0;
    }

    a {
        color: inherit;
        text-decoration: none;
    }
}

/* ---------- Bewegung reduzieren ---------- */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .knopf:active {
        transform: none;
    }
}

.beleg video {
    width: 100%;
    height: auto;
}
