*, *::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(--akzent); outline-offset: 3px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--font-titel); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.25rem; }
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: 0 var(--gutter); }
.abschnitt { padding: clamp(48px, 8vw, 96px) 0; }
.abschnitt-alt { background: var(--bg-alt); }
.abschnitt-kopf { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.abschnitt-kopf p { margin: 0; max-width: 52ch; }
.vorzeile { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--salbei-dunkel); font-weight: 600; margin-bottom: 10px; display: block; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--akzent); color: #fff; border: 0; border-radius: 999px;
  padding: 14px 26px; font-weight: 500; text-decoration: none; min-height: 48px;
  transition: background .2s var(--ease), transform .15s var(--ease);
}
.btn:hover { background: var(--akzent-hover); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn-voll { width: 100%; }
.btn-hell { background: var(--creme); color: var(--text); }
.btn-hell:hover { background: #fff; }
.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: 999px;
  padding: 12px 24px; font-weight: 500; text-decoration: none; min-height: 48px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.btn-rand:hover { background: var(--text); color: var(--creme); }
.link { color: var(--akzent-hover); text-underline-offset: 3px; }
.link-pfeil { text-decoration: none; font-weight: 500; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

.feld { display: grid; gap: 6px; }
.feld label, .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: 48px; font-size: 16px;
  transition: border-color .2s var(--ease);
}
.eingabe:focus { border-color: var(--salbei); 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: #E4EBDD; color: var(--salbei-dunkel); }
.meldung.fehler { background: #F6DDD6; 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; }
}
