/* Tischlerei Sascha Sauer – Designsystem. Farben, Schrift und Abstände stehen oben als Variablen. */
@font-face { font-family: "Plus Jakarta Sans"; src: url("../fonts/plus-jakarta-sans-variabel.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  /* Farben: Schwarz, Gelb und Rot stammen aus dem Logo, dazu warme Holztöne */
  --kohle: #1c1917;        /* Text und dunkle Flächen */
  --kohle-weich: #2a2623;
  --gelb: #f6c21c;         /* Logo-Gelb: Buttons mit dunkler Schrift, Akzent auf dunklem Grund */
  --gelb-tief: #e0ac00;
  --rot: #c4161c;          /* Logo-Rot, sparsam */
  --holz: #8b5a2b;         /* Akzent auf hellem Grund, erfüllt WCAG AA auf Papier */
  --holz-hell: #d9b88f;
  --papier: #fbf8f3;
  --weiss: #ffffff;
  --sand: #f1eadf;
  --grau: #5b534c;         /* Fließtext zweite Ebene */
  --linie: #e4dacb;

  --schrift: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rahmen: 1200px;
  --rand: clamp(1.1rem, 4vw, 2.5rem);
  --abschnitt: clamp(4rem, 9vw, 7.5rem);
  --radius: 18px;
  --radius-klein: 12px;
  --schatten: 0 24px 50px -30px rgba(28, 25, 23, 0.5);
  --kopf-hoehe: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-hoehe) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.65; color: var(--kohle); background: var(--papier); -webkit-font-smoothing: antialiased; }
img, svg, picture { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--holz); text-underline-offset: 3px; }
a:hover { color: var(--kohle); }
h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -0.028em; font-weight: 800; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.85rem, 4.2vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--holz); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

.rahmen { width: 100%; max-width: calc(var(--rahmen) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.abschnitt { padding-block: var(--abschnitt); }
.abschnitt--sand { background: var(--sand); }
.abschnitt--dunkel { background: var(--kohle); color: #f3ede4; }
.sprung { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 16px; background: var(--kohle); color: #fff; border-radius: 8px; }
.sprung:focus { left: 8px; }

.dach { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--holz); }
.dach::before { content: ""; width: 28px; height: 3px; border-radius: 3px; background: var(--gelb); }
.abschnitt--dunkel .dach, .start .dach { color: var(--gelb); }
.abschnitt-kopf { max-width: 720px; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.abschnitt-kopf p { margin-top: 1rem; font-size: 1.125rem; color: var(--grau); }
.abschnitt--dunkel .abschnitt-kopf p { color: #cfc6ba; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 50px; padding: 0.7rem 1.4rem; border: 2px solid transparent; border-radius: 999px; font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease; }
.knopf svg { width: 18px; height: 18px; flex: none; }
.knopf:hover { transform: translateY(-2px); }
.knopf--gelb { background: var(--gelb); color: var(--kohle); box-shadow: 0 14px 28px -16px rgba(246, 194, 28, 0.9); }
.knopf--gelb:hover { background: #ffd23a; color: var(--kohle); }
.knopf--dunkel { background: var(--kohle); color: #fff; }
.knopf--dunkel:hover { background: #000; color: #fff; }
.knopf--linie { border-color: currentColor; color: var(--kohle); background: transparent; }
.knopf--linie:hover { background: var(--kohle); border-color: var(--kohle); color: #fff; }
.knopf--hell { border-color: rgba(255, 255, 255, 0.55); color: #fff; background: rgba(255, 255, 255, 0.06); }
.knopf--hell:hover { background: #fff; border-color: #fff; color: var(--kohle); }

/* Kopfleiste */
.kopf { position: sticky; top: 0; z-index: 50; background: rgba(251, 248, 243, 0.94); border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease; }
@supports (backdrop-filter: blur(8px)) { .kopf { background: rgba(251, 248, 243, 0.82); backdrop-filter: blur(12px); } }
.kopf.ist-gescrollt { border-color: var(--linie); box-shadow: 0 10px 30px -24px rgba(28, 25, 23, 0.6); }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--kopf-hoehe); }
.marke { display: inline-flex; align-items: center; flex: none; }
.marke img { height: 40px; width: auto; }
.kopf-nav { display: none; align-items: center; gap: 0.25rem; }
.kopf-nav a { padding: 0.5rem 0.85rem; border-radius: 999px; color: var(--kohle); font-weight: 600; font-size: 0.97rem; text-decoration: none; transition: background-color .2s ease; }
.kopf-nav a:hover { background: var(--sand); }
.kopf-rechts { display: flex; align-items: center; gap: 0.5rem; }
.kopf-tel { min-height: 44px; padding: 0.5rem 1.1rem; font-size: 0.95rem; }
.kopf-tel span { display: none; }
.kopf-tel { width: 44px; padding: 0; }
.menue-knopf { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 999px; background: var(--sand); cursor: pointer; }
.menue-knopf span, .menue-knopf span::before, .menue-knopf span::after { content: ""; display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--kohle); transition: transform .25s ease, opacity .2s ease; }
.menue-knopf span { position: relative; }
.menue-knopf span::before { position: absolute; top: -6px; }
.menue-knopf span::after { position: absolute; top: 6px; }
.menue-knopf[aria-expanded="true"] span { background: transparent; }
.menue-knopf[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menue-knopf[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
/* Die Leiste hat backdrop-filter, deshalb hängt das Menü per absolute an der Leiste (fixed bezöge sich auf die Leiste). */
.mobilmenue { position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--kopf-hoehe)); height: calc(100dvh - var(--kopf-hoehe)); overflow-y: auto; padding: 1.5rem var(--rand) 2.5rem; background: var(--papier); border-top: 1px solid var(--linie); }
.mobilmenue ul { display: grid; }
.mobilmenue li a:not(.knopf) { display: block; padding: 1rem 0; border-bottom: 1px solid var(--linie); color: var(--kohle); font-size: 1.35rem; font-weight: 700; letter-spacing: -0.02em; text-decoration: none; }
.mobilmenue-knoepfe { display: grid; gap: 0.75rem; margin-top: 1.75rem; }
@media (min-width: 960px) {
  :root { --kopf-hoehe: 76px; }
  .marke img { height: 48px; }
  .kopf-nav { display: flex; }
  .menue-knopf, .mobilmenue { display: none !important; }
  .kopf-tel { width: auto; padding: 0.5rem 1.2rem; }
  .kopf-tel span { display: inline; }
}

/* Start */
.start { position: relative; isolation: isolate; display: grid; align-items: end; min-height: min(86vh, 780px); color: #fff; background: var(--kohle); overflow: hidden; }
.start-bild { position: absolute; inset: 0; z-index: -2; }
.start-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.start::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(28, 25, 23, 0.55) 0%, rgba(28, 25, 23, 0.35) 30%, rgba(28, 25, 23, 0.93) 100%); }
.start-innen { padding-block: clamp(6rem, 16vh, 9rem) clamp(2.5rem, 6vw, 4.5rem); }
.start h1 { max-width: 15ch; }
.start h1 em { font-style: normal; color: var(--gelb); }
.start-text { max-width: 560px; margin: 1.4rem 0 2rem; font-size: clamp(1.08rem, 2vw, 1.25rem); color: #ece5da; }
.start-knoepfe { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.start-punkte { display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 0.95rem; font-weight: 600; color: #f3ede4; }
.start-punkte li { display: inline-flex; align-items: center; gap: 0.55rem; }
.start-punkte li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gelb); }
@media (min-width: 960px) {
  .start::after { background: linear-gradient(90deg, rgba(28, 25, 23, 0.94) 0%, rgba(28, 25, 23, 0.78) 42%, rgba(28, 25, 23, 0.2) 100%), linear-gradient(180deg, transparent 55%, rgba(28, 25, 23, 0.7) 100%); }
}
/* Hobelspäne: dezente Bewegung im Kopfbereich */
.spaene { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.spaene i { position: absolute; top: -40px; width: 26px; height: 14px; border: 3px solid var(--holz-hell); border-bottom-color: transparent; border-left-color: transparent; border-radius: 50%; opacity: 0; }

/* Laufband Materialien */
.band { overflow: hidden; padding-block: 1.1rem; background: var(--gelb); color: var(--kohle); font-weight: 800; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.band-lauf { display: inline-flex; }
.band-spur { display: inline-flex; gap: 2.5rem; padding-right: 2.5rem; }
.band-spur span { display: inline-flex; align-items: center; gap: 2.5rem; }
.band-spur span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--kohle); }

/* Leistungen */
.leistungen { display: grid; gap: 1rem; }
.leistung { position: relative; display: flex; flex-direction: column; padding: 1.75rem 1.5rem 1.5rem; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--weiss); overflow: hidden; transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; }
.leistung::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--gelb); transform: scaleX(0); transform-origin: left; transition: transform .4s ease; }
.leistung:hover { transform: translateY(-4px); box-shadow: var(--schatten); border-color: transparent; }
.leistung:hover::before { transform: scaleX(1); }
.leistung-bild { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 1.25rem; border-radius: 14px; background: var(--sand); color: var(--kohle); }
.leistung-bild svg { width: 30px; height: 30px; }
.leistung p { margin: 0.6rem 0 1.25rem; color: var(--grau); font-size: 1rem; }
.leistung-link { margin-top: auto; display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; color: var(--kohle); text-decoration: none; }
.leistung-link::after { content: "→"; transition: transform .2s ease; }
.leistung-link:hover::after { transform: translateX(4px); }
.leistung-link::before { content: ""; position: absolute; inset: 0; }
@media (min-width: 640px) { .leistungen { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .leistungen { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }

/* Ausstellung */
.ausstellung { display: grid; gap: 2rem; align-items: center; }
.ausstellung-bild { border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); aspect-ratio: 16 / 10; }
.ausstellung-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transition: transform 1.2s ease; }
.ausstellung-bild:hover img { transform: scale(1.04); }
.ausstellung-text p { color: #cfc6ba; font-size: 1.1rem; }
.haken { display: grid; gap: 0.7rem; margin: 1.5rem 0 2rem; }
.haken li { display: grid; grid-template-columns: 24px 1fr; gap: 0.75rem; align-items: start; font-weight: 600; }
.haken li::before { content: ""; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: var(--gelb) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c1917' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6.5 12.5l3.5 3.5 7.500-8'/%3E%3C/svg%3E") center / 16px no-repeat; }
.adresskarte { display: inline-grid; gap: 0.15rem; margin-bottom: 1.75rem; padding: 1rem 1.25rem; border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius-klein); font-style: normal; }
.adresskarte strong { color: var(--gelb); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
@media (min-width: 900px) { .ausstellung-bild { aspect-ratio: 4 / 3; } .ausstellung { grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); } }

/* Portfolio */
.filter { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.filter button { min-height: 44px; padding: 0.45rem 1.1rem; border: 1px solid var(--linie); border-radius: 999px; background: var(--weiss); font-weight: 700; font-size: 0.95rem; cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; }
.filter button:hover { border-color: var(--kohle); }
.filter button[aria-pressed="true"] { background: var(--kohle); border-color: var(--kohle); color: #fff; }
.galerie { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
.galerie figure { position: relative; margin: 0; border-radius: var(--radius-klein); overflow: hidden; background: var(--sand); aspect-ratio: 1; }
.galerie button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.galerie img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.galerie figure:hover img { transform: scale(1.06); }
.galerie figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2.2rem 0.9rem 0.8rem; background: linear-gradient(transparent, rgba(28, 25, 23, 0.85)); color: #fff; font-weight: 700; font-size: 0.95rem; line-height: 1.25; pointer-events: none; }
.galerie figcaption small { display: block; font-weight: 600; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gelb); }
@media (min-width: 760px) { .galerie { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 1100px) { .galerie { grid-template-columns: repeat(4, 1fr); } }
.galerie-hinweis { margin-top: 1.5rem; color: var(--grau); }

.grossbild { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 1rem; background: rgba(20, 17, 15, 0.92); }
.grossbild img { max-width: min(100%, 860px); max-height: 82vh; border-radius: var(--radius-klein); }
.grossbild p { margin: 0.9rem 0 0; color: #fff; font-weight: 700; text-align: center; }
.grossbild-zu { position: absolute; top: 1rem; right: 1rem; width: 48px; height: 48px; border: 0; border-radius: 50%; background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; }

/* Ablauf */
.ablauf { display: grid; gap: 1rem; counter-reset: schritt; }
.ablauf li { position: relative; padding: 1.5rem; border-radius: var(--radius); background: var(--weiss); border: 1px solid var(--linie); counter-increment: schritt; }
.ablauf li::before { content: counter(schritt); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem; border-radius: 50%; background: var(--kohle); color: var(--gelb); font-weight: 800; font-size: 1.1rem; }
.ablauf p { margin: 0.5rem 0 0; color: var(--grau); font-size: 1rem; }
@media (min-width: 700px) { .ablauf { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .ablauf { grid-template-columns: repeat(4, 1fr); } }

/* Team */
.team { display: grid; gap: 2rem; align-items: center; }
.team-bild { border-radius: var(--radius); overflow: hidden; box-shadow: var(--schatten); }
.team-bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.team-text p { color: var(--grau); font-size: 1.1rem; }
.team .haken li::before { background-color: var(--gelb); }
@media (min-width: 900px) { .team { grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); } .team-text { order: -1; } }

/* Anfrage-Assistent */
.anfrage { display: grid; gap: 2.5rem; }
.anfrage-seite p { color: #cfc6ba; font-size: 1.1rem; }
.anfrage-kontakt { display: grid; gap: 0.9rem; margin-top: 2rem; }
.anfrage-kontakt a { display: inline-flex; align-items: center; gap: 0.75rem; color: #fff; font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.anfrage-kontakt a:hover { color: var(--gelb); }
.anfrage-kontakt svg { width: 22px; height: 22px; color: var(--gelb); flex: none; }
.assistent { padding: clamp(1.25rem, 4vw, 2.25rem); border-radius: var(--radius); background: var(--papier); color: var(--kohle); box-shadow: var(--schatten); }
.fortschritt { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; font-size: 0.85rem; font-weight: 700; color: var(--grau); }
.fortschritt-balken { flex: 1; height: 6px; border-radius: 6px; background: var(--linie); overflow: hidden; }
.fortschritt-balken i { display: block; height: 100%; width: 33%; border-radius: 6px; background: var(--gelb-tief); transition: width .4s ease; }
.assistent fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.assistent legend { padding: 0; margin-bottom: 1.1rem; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }
.kacheln { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.6rem; }
.kachel { position: relative; }
.kachel input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.kachel span { display: flex; align-items: center; min-height: 64px; padding: 0.75rem 1rem; border: 2px solid var(--linie); border-radius: var(--radius-klein); background: var(--weiss); font-weight: 700; line-height: 1.25; transition: border-color .2s ease, background-color .2s ease; }
.kachel input:hover + span { border-color: var(--holz-hell); }
.kachel input:checked + span { border-color: var(--kohle); background: #fff6d6; }
.kachel input:focus-visible + span { outline: 3px solid var(--holz); outline-offset: 2px; }
.feld { display: grid; gap: 0.35rem; margin-bottom: 0.9rem; }
.feld label { font-weight: 700; font-size: 0.95rem; }
.feld input, .feld textarea { width: 100%; padding: 0.8rem 0.95rem; border: 2px solid var(--linie); border-radius: var(--radius-klein); background: var(--weiss); font: inherit; color: inherit; }
.feld input:focus, .feld textarea:focus { outline: none; border-color: var(--kohle); }
.feld textarea { min-height: 120px; resize: vertical; }
.feld-reihe { display: grid; gap: 0 0.75rem; }
@media (min-width: 560px) { .feld-reihe { grid-template-columns: 1fr 1fr; } }
.einwilligung { display: grid; grid-template-columns: 22px 1fr; gap: 0.7rem; align-items: start; margin: 0.4rem 0 0; font-size: 0.9rem; color: var(--grau); }
.einwilligung input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--kohle); }
.falle { position: absolute; left: -9999px; }
.assistent-fuss { display: flex; justify-content: space-between; gap: 0.75rem; margin-top: 1.5rem; }
.assistent-fuss .knopf { min-height: 48px; }
.fehler { margin: 0.9rem 0 0; color: var(--rot); font-weight: 700; font-size: 0.95rem; }
.danke { text-align: center; padding: 1.5rem 0; }
.danke svg { width: 64px; height: 64px; margin: 0 auto 1rem; }
.danke h3 { font-size: 1.6rem; margin-bottom: 0.6rem; }
.danke p { color: var(--grau); }
.entwurf-hinweis { margin: 1rem 0 0; font-size: 0.85rem; color: var(--grau); }
@media (min-width: 960px) { .anfrage { grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; } }

/* Kontakt */
.kontakt { display: grid; gap: 1rem; }
.kontakt-karte { padding: 1.75rem 1.5rem; border-radius: var(--radius); background: var(--weiss); border: 1px solid var(--linie); }
.kontakt-karte h3 { margin-bottom: 0.75rem; }
.kontakt-karte address, .kontakt-karte p { margin: 0; font-style: normal; color: var(--grau); }
.kontakt-karte a { font-weight: 700; color: var(--kohle); }
.kontakt-karte .gross { display: block; margin-bottom: 0.3rem; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
@media (min-width: 800px) { .kontakt { grid-template-columns: repeat(3, 1fr); } }

/* Fußzeile */
.fuss { padding-block: 3.5rem 6.5rem; background: #141210; color: #cfc6ba; font-size: 0.97rem; }
.fuss a { color: #f3ede4; text-decoration: none; }
.fuss a:hover { color: var(--gelb); }
.fuss-raster { display: grid; gap: 2.25rem; }
.fuss h2 { margin-bottom: 0.9rem; font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gelb); }
.fuss li { margin-bottom: 0.35rem; }
.fuss-logo { display: inline-block; padding: 0.7rem 1rem; border-radius: var(--radius-klein); background: #fff; }
.fuss-logo img { height: 46px; width: auto; }
.fuss-text { max-width: 34ch; margin: 1.1rem 0 0; }
.fuss-unten { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 1.5rem; margin-top: 2.75rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 0.9rem; }
.fuss-recht { display: flex; flex-wrap: wrap; gap: 0.4rem 1.25rem; }
@media (min-width: 800px) { .fuss-raster { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 960px) { .fuss { padding-bottom: 3rem; } }

/* Feste Leiste unten auf dem Handy */
.schnellleiste { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1.4fr; gap: 0.5rem; padding: 0.6rem var(--rand) calc(0.6rem + env(safe-area-inset-bottom)); background: rgba(251, 248, 243, 0.96); border-top: 1px solid var(--linie); transform: translateY(110%); transition: transform .35s ease; }
.schnellleiste.ist-da { transform: none; }
.schnellleiste .knopf { min-height: 46px; padding: 0.5rem 0.75rem; }
@media (min-width: 960px) { .schnellleiste { display: none; } }

/* Textseiten (Impressum, Datenschutz, 404) */
.textseite { padding-block: clamp(2.5rem, 7vw, 5rem) var(--abschnitt); }
.textseite .rahmen { max-width: calc(820px + 2 * var(--rand)); }
.textseite h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1.5rem; }
.textseite h2 { font-size: 1.4rem; margin: 2.2rem 0 0.7rem; }
.textseite p, .textseite address { color: var(--grau); font-style: normal; }
.hinweis { padding: 1rem 1.25rem; border-left: 4px solid var(--gelb); border-radius: 0 var(--radius-klein) var(--radius-klein) 0; background: var(--sand); color: var(--kohle) !important; font-weight: 600; }

/* Bewegung */
.fortschrittsleiste { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 3px; background: var(--gelb); transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) {
  .js .einblenden { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--warte, 0s); }
  .js .einblenden.ist-da { opacity: 1; transform: none; }
  .start-bild img { animation: schwenk 26s ease-in-out infinite alternate; }
  .js .start-innen > * { opacity: 0; transform: translateY(22px); animation: auf .8s cubic-bezier(.2, .7, .2, 1) forwards; }
  .js .start-innen > *:nth-child(2) { animation-delay: .1s; }
  .js .start-innen > *:nth-child(3) { animation-delay: .2s; }
  .js .start-innen > *:nth-child(4) { animation-delay: .3s; }
  .js .start-innen > *:nth-child(5) { animation-delay: .45s; }
  .spaene i { animation: span linear infinite; }
  .band-lauf { animation: band 38s linear infinite; }
  .assistent fieldset:not([hidden]) { animation: auf .45s ease both; }
  .danke svg path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: zeichnen .6s .25s ease forwards; }
}
@keyframes schwenk { from { transform: scale(1.04); } to { transform: scale(1.14) translateX(-2%); } }
@keyframes auf { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes span { 0% { transform: translateY(0) rotate(0); opacity: 0; } 12% { opacity: .5; } 85% { opacity: .35; } 100% { transform: translateY(820px) rotate(540deg); opacity: 0; } }
@keyframes band { to { transform: translateX(-50%); } }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .spaene { display: none; } }

@media (max-width: 480px) { .start .dach { font-size: 0.7rem; letter-spacing: 0.1em; } }
