:root {
    color-scheme: dark;
    --hintergrund: #0b1020;
    --flaeche: #131a33;
    --linie: #26325c;
    --text: #e8ecf8;
    --gedaempft: #9aa6cc;
    --akzent: #5b8cff;
    --akzent-text: #07102a;
    --fehler: #ff8a8a;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    line-height: 1.5;
    background: var(--hintergrund);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; width: 100%; max-width: 64rem; margin: 0 auto; padding: 1rem; }

a { color: var(--akzent); }

.kopf, .fuss {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem 1rem;
    padding: .75rem 1rem;
    border-bottom: 1px solid var(--linie);
}
.fuss { border-bottom: 0; border-top: 1px solid var(--linie); justify-content: center; color: var(--gedaempft); }
.fuss a { color: var(--gedaempft); }
.marke { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; letter-spacing: .04em; }
.kopf nav { display: flex; gap: 1rem; align-items: center; }
.kopf nav a { text-decoration: none; color: var(--text); }
.inline { display: inline; margin: 0; }

.knopf, button.knopf {
    display: inline-block;
    min-height: 2.75rem;
    padding: .65rem 1.4rem;
    border: 0;
    border-radius: .5rem;
    background: var(--akzent);
    color: var(--akzent-text);
    font: inherit;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}
.knopf:hover { filter: brightness(1.1); }
.textknopf { background: none; border: 0; padding: 0; font: inherit; color: var(--text); cursor: pointer; }

.karte {
    background: var(--flaeche);
    border: 1px solid var(--linie);
    border-radius: .75rem;
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.karte h1, .karte h2 { margin-top: 0; }
.schmal { max-width: 28rem; margin-left: auto; margin-right: auto; }

.raster { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 40rem) { .raster { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); } }

.held {
    background-size: cover;
    background-position: center;
    border-radius: .75rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
}
.held-text {
    padding: 3rem 1.25rem;
    background: linear-gradient(180deg, rgba(11, 16, 32, .35), rgba(11, 16, 32, .9));
}
.held h1 { font-size: clamp(2rem, 7vw, 3.5rem); margin: 0; letter-spacing: .02em; }
.held .untertitel { margin: 0 0 .25rem; font-size: clamp(1rem, 3vw, 1.35rem); letter-spacing: .18em; text-transform: uppercase; opacity: .85; }
.held .slogan { margin: 0 0 1rem; font-weight: 600; letter-spacing: .04em; }
.held p { max-width: 38rem; font-size: 1.1rem; }

label { display: block; margin: .9rem 0 .3rem; color: var(--gedaempft); }
label.zeile { display: flex; gap: .5rem; align-items: center; }
input:not([type=checkbox]) {
    width: 100%;
    min-height: 2.75rem;
    padding: .5rem .75rem;
    border: 1px solid var(--linie);
    border-radius: .5rem;
    background: var(--hintergrund);
    color: var(--text);
    font: inherit;
}
input:focus-visible, .knopf:focus-visible, a:focus-visible { outline: 2px solid var(--akzent); outline-offset: 2px; }
form .knopf { margin-top: 1.25rem; width: 100%; }

.fehler { color: var(--fehler); font-size: .9rem; }
.hinweis { background: #14224a; border-radius: .5rem; padding: .6rem .8rem; }
.klein { color: var(--gedaempft); font-size: .9rem; }
dt { color: var(--gedaempft); margin-top: .75rem; }
dd { margin: 0; }
pre { white-space: pre-wrap; word-break: break-word; }
