*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font-text); color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--font-titel); font-weight: 800; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 6vw, 4.6rem); text-transform: uppercase; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.6rem); text-transform: uppercase; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0 0 1em; }
.leise { color: var(--text-leise); }
.klein { font-size: .875rem; }
.zahl { font-variant-numeric: tabular-nums; }

.huelle { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.abschnitt { padding-block: clamp(56px, 8vw, 112px); }
.abschnitt-alt { background: var(--bg-alt); }
.abschnitt-kopf { display: flex; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 32px; flex-wrap: wrap; }
.abschnitt-kopf h2 { margin: 0; }
.abschnitt-kopf p { margin: 0; max-width: 52ch; }
.vorzeile { display: inline-block; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; color: var(--text); margin-bottom: 14px; padding-left: 14px; position: relative; }
.vorzeile::before { content: ''; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; background: var(--akzent); transform: translateY(-50%); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--akzent); color: #fff; border: 0; border-radius: var(--radius-s); padding: 14px 26px; font-weight: 600; text-decoration: none; min-height: 50px; transition: background .2s var(--ease), transform .15s var(--ease); }
.btn:hover { background: var(--akzent-hover); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.btn-voll { width: 100%; }
.btn-dunkel { background: var(--text); }
.btn-dunkel:hover { background: #000; }
.btn-rand { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: transparent; color: var(--text); border: 1.5px solid var(--text); border-radius: var(--radius-s); padding: 12px 24px; font-weight: 600; text-decoration: none; min-height: 50px; transition: background .2s var(--ease), color .2s var(--ease); }
.btn-rand:hover { background: var(--text); color: #fff; }
.link { color: var(--text); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--akzent); text-decoration-thickness: 2px; }
.link-pfeil { text-decoration: none; font-weight: 600; border-bottom: 2px solid var(--akzent); padding-bottom: 2px; }
.knopf-reihe { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }

.feld { display: grid; gap: 6px; }
.feld label { font-weight: 500; font-size: .95rem; }
.eingabe { width: 100%; padding: 12px 14px; border: 1.5px solid var(--linie); border-radius: var(--radius-s); background: #fff; min-height: 50px; font-size: 16px; transition: border-color .2s var(--ease); }
.eingabe:focus { border-color: var(--text); outline: none; }
textarea.eingabe { min-height: 140px; resize: vertical; }
.honig { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meldung { padding: 12px 14px; border-radius: var(--radius-s); font-size: .95rem; }
.meldung.ok { background: #E7F4EC; color: var(--ok); }
.meldung.fehler { background: #FDECEA; color: var(--fehler); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--text); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 8px; }


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