/* Open Sans, lokal (vorher per @import aus fonts.css — das war eine Kette:
   erst style.css, dann fonts.css, dann die Schrift). Bis sie da ist, steht
   Arial mit den Maßen von Open Sans da („Open Sans Ersatz“ unten) — so springt
   der Text beim Wechsel nicht. Vorgeladen wird die Schrift absichtlich nicht:
   Am langsamen Telefon drängte sie sich vor das CSS, der Text kam ~200 ms später. */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/open-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/open-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/open-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/open-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/open-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/open-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/open-sans-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(../fonts/open-sans-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Open Sans Ersatz";
  src: local("Arial"), local("Helvetica"), local("Liberation Sans");
  size-adjust: 105.22%;
  ascent-override: 101.65%;
  descent-override: 27.86%;
  line-gap-override: 0%;
}

/* ------------------------------------------------------------------ */
/* Farben und Maße — vollbild, mit eigenen Fotos                        */
/* ------------------------------------------------------------------ */

:root {
  /* Hausfarbe der bestehenden Website: rgb(104, 20, 15) */
  --haus: #68140f;
  --haus-dunkel: #4e0f0b;
  --haus-hauch: #f8f1f0;

  --weiss: #ffffff;
  --sand: #f6f3ee;
  --tinte: #1d1a18;
  --grau: #5a524e;
  --linie: #e2dcd4;
  --nacht: #24201d;

  --breite: 1200px;
  --breite-text: 720px;
  --rand: 24px;
  --radius: 2px;

  --abstand: 112px;
  --abstand-klein: 64px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--weiss);
  color: var(--tinte);
  font-family: "Open Sans", "Open Sans Ersatz", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.68;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

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

a { color: var(--haus); }
a:hover { color: var(--haus-dunkel); }

:focus-visible { outline: 3px solid var(--haus); outline-offset: 3px; }
.einstieg :focus-visible, .band :focus-visible, .fuss :focus-visible { outline-color: var(--weiss); }

h1, h2, h3, h4 {
  /* Fließtext darf lange Adressen umbrechen, eine Überschrift nie mitten im Wort. */
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.85rem, 3.3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); letter-spacing: -0.01em; }
h4 { font-size: 1.0625rem; letter-spacing: 0; }

p { margin: 0 0 1.15em; max-width: 68ch; }
p:last-child { margin-bottom: 0; }

.sprung {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--weiss); color: var(--haus);
  padding: 14px 20px; font-weight: 700;
}
.sprung:focus { left: 12px; top: 12px; }

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

.bahn { width: 100%; max-width: var(--breite); margin-inline: auto; padding-inline: var(--rand); }
.bahn--text { max-width: calc(var(--breite-text) + 2 * var(--rand)); }

.abschnitt { padding-block: var(--abstand); }
.abschnitt--eng { padding-block: var(--abstand-klein); }
.abschnitt--sand { background: var(--sand); }

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

.kopf {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}
.kopf--ueberbild { background: linear-gradient(to bottom, rgba(29, 26, 24, 0.55), rgba(29, 26, 24, 0)); }
.kopf--hell { background: var(--weiss); border-bottom: 1px solid var(--linie); }
.kopf--fest { background: var(--weiss); box-shadow: 0 2px 14px rgba(29, 26, 24, 0.14); }

.kopf__innen {
  max-width: var(--breite); margin-inline: auto;
  padding: 12px var(--rand);
  display: flex; align-items: center; gap: 20px;
}

.marke { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.marke img { width: 58px; height: 50px; object-fit: contain; }
.marke .name {
  font-size: 1.0625rem; font-weight: 800; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--weiss);
}
.kopf--hell .marke .name, .kopf--fest .marke .name { color: var(--haus); }
/* Das Logo ist schwarz-rot auf durchsichtigem Grund — über dem Foto weiß gezeichnet. */
.kopf--ueberbild .marke img { filter: brightness(0) invert(1); }
/* Beim Scrollen wird der Kopf weiß (main.js setzt kopf--fest) — dann das Logo in seinen eigenen Farben */
.kopf--ueberbild.kopf--fest .marke img { filter: none; }

.menueknopf {
  margin-left: auto; display: none; align-items: center; gap: 9px;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: var(--radius); color: var(--weiss);
  font: inherit; font-weight: 600; padding: 11px 15px; min-height: 44px; cursor: pointer;
}
.menueknopf .balken { display: block; width: 20px; height: 2px; background: currentColor; position: relative; }
.menueknopf .balken::before, .menueknopf .balken::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: currentColor;
}
.menueknopf .balken::before { top: -6px; }
.menueknopf .balken::after { top: 6px; }
.kopf--hell .menueknopf, .kopf--fest .menueknopf, .kopf--offen .menueknopf {
  color: var(--tinte); border-color: var(--linie);
}

.menue { margin-left: auto; display: flex; align-items: center; gap: 28px; }
.menue ul { list-style: none; display: flex; align-items: center; gap: 26px; margin: 0; padding: 0; }
.menue a {
  color: var(--weiss); text-decoration: none; font-weight: 600; font-size: 1rem;
  white-space: nowrap; display: inline-flex; align-items: center; min-height: 44px;
}
.menue a:hover { color: var(--haus-hauch); }
.menue a[aria-current="page"] { box-shadow: inset 0 -2px 0 currentColor; }
.kopf--hell .menue a, .kopf--fest .menue a { color: var(--tinte); }
.kopf--hell .menue a:hover, .kopf--fest .menue a:hover { color: var(--haus); }
.kopf--hell :focus-visible, .kopf--fest :focus-visible { outline-color: var(--haus); }

/* Der Kontaktknopf: weiße Schrift auf der Hausfarbe, über dem Foto umgekehrt. */
.menue .knopf, .menue .knopf:hover, .menue .knopf[aria-current="page"] { color: var(--weiss); box-shadow: none; }
.kopf--hell .menue .knopf, .kopf--fest .menue .knopf,
.kopf--hell .menue .knopf:hover, .kopf--fest .menue .knopf:hover { color: var(--weiss); }
.kopf--ueberbild .menue .knopf { background: var(--weiss); border-color: var(--weiss); color: var(--haus); }
.kopf--ueberbild .menue .knopf:hover { background: var(--haus-hauch); border-color: var(--haus-hauch); color: var(--haus-dunkel); }
/* Weißer Kopf beim Scrollen: wieder Hausfarbe wie auf den Unterseiten */
.kopf--ueberbild.kopf--fest .menue .knopf { background: var(--haus); border-color: var(--haus); color: var(--weiss); }
.kopf--ueberbild.kopf--fest .menue .knopf:hover { background: var(--haus-dunkel); border-color: var(--haus-dunkel); color: var(--weiss); }

/* ------------------------------------------------------------------ */
/* Knöpfe                                                               */
/* ------------------------------------------------------------------ */

.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 13px 26px;
  border: 2px solid var(--haus); border-radius: var(--radius);
  background: var(--haus); color: var(--weiss);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.knopf:hover { background: var(--haus-dunkel); border-color: var(--haus-dunkel); color: var(--weiss); }
.knopf--klein { min-height: 44px; padding: 10px 20px; font-size: 0.95rem; }
.knopf--hell { background: var(--weiss); border-color: var(--weiss); color: var(--haus); }
.knopf--hell:hover { background: var(--haus-hauch); border-color: var(--haus-hauch); color: var(--haus-dunkel); }
.knopf--rand { background: transparent; border-color: rgba(255, 255, 255, 0.8); color: var(--weiss); }
.knopf--rand:hover { background: rgba(255, 255, 255, 0.16); border-color: var(--weiss); color: var(--weiss); }
/* Derselbe Umrissknopf auf hellem Grund. */
.knopf--dunkel { border-color: var(--haus); color: var(--haus); }
.knopf--dunkel:hover { background: var(--haus-hauch); border-color: var(--haus-dunkel); color: var(--haus-dunkel); }

.knopfreihe { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

/* ------------------------------------------------------------------ */
/* Einstieg — Foto über die ganze Breite                                */
/* ------------------------------------------------------------------ */

.einstieg {
  position: relative;
  min-height: 84vh;
  display: flex; align-items: flex-end;
  padding-block: 180px 76px;
  color: var(--weiss);
  overflow: hidden;
}
.einstieg__bild {
  position: absolute; inset: 0; margin: 0;
}
.einstieg__bild picture { display: block; height: 100%; }
.einstieg__bild img, .einstieg__video { display: block; width: 100%; height: 100%; object-fit: cover; }
/* Das Video liegt über dem Standbild und wird erst sichtbar, wenn es läuft (main.js) */
.einstieg__video { position: absolute; inset: 0; opacity: 0; transition: opacity 0.8s ease; }
.einstieg__video.laeuft { opacity: 1; }
.einstieg__bild::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(29, 26, 24, 0.28) 0%, rgba(29, 26, 24, 0.22) 38%, rgba(29, 26, 24, 0.86) 100%);
}
.einstieg__innen { position: relative; z-index: 1; }
.einstieg h1 {
  font-size: clamp(2.75rem, 6vw, 4.3rem);
  max-width: 16ch;
  margin-bottom: 0.32em;
  text-shadow: 0 2px 18px rgba(29, 26, 24, 0.5);
}
.einstieg__satz {
  font-size: clamp(1.125rem, 1.7vw, 1.35rem); line-height: 1.5;
  max-width: 46ch; color: var(--weiss);
  text-shadow: 0 1px 12px rgba(29, 26, 24, 0.6);
}

.kopfzeile {
  background: var(--sand);
  padding-block: 156px var(--abstand-klein);
  border-bottom: 1px solid var(--linie);
}
.kopfzeile h1 { font-size: clamp(1.8rem, 4.2vw, 3.1rem); max-width: 22ch; }
.kopfzeile p { font-size: 1.1875rem; color: var(--grau); max-width: 58ch; margin-bottom: 0; }

.brotkrumen {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 20px; padding: 0; font-size: 0.9375rem; color: var(--grau);
}
.brotkrumen li + li::before { content: "›"; margin-right: 8px; }
.brotkrumen a { color: var(--grau); text-decoration: none; }
.brotkrumen a:hover { color: var(--haus); text-decoration: underline; }

/* Bildband über die ganze Breite, in der Mitte der Startseite */
.bildband { position: relative; }
.bildband img { width: 100%; height: clamp(320px, 46vw, 560px); object-fit: cover; }

/* ------------------------------------------------------------------ */
/* Inhalt                                                               */
/* ------------------------------------------------------------------ */

.zweispalt {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 52px 72px; align-items: start;
}
.zweispalt--mitte { align-items: center; }
.zweispalt--luft { margin-top: var(--abstand-klein); }
.nach-liste { margin-top: 1.5em; }
.zweispalt--dreh .zweispalt__bild { order: -1; }

.zweispalt__bild { margin: 0; }
.zweispalt__bild img { width: 100%; border-radius: var(--radius); }
.zweispalt__bild figcaption { margin-top: 10px; font-size: 0.9375rem; color: var(--grau); }

.vorsatz {
  font-size: clamp(1.25rem, 2.1vw, 1.55rem); line-height: 1.45;
  font-weight: 700; letter-spacing: -0.015em; max-width: 26ch;
}

.fliess > * + * { margin-top: 1.15em; }
.fliess h3 { margin-top: 2em; }

/* Leistungen in zwei Spalten */
.leistungen {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px; margin-top: 52px; list-style: none; padding: 0;
}
.leistung { background: var(--sand); padding: 40px 36px; border-radius: var(--radius); }
.leistung h3 { margin-bottom: 0.5em; }
.leistung p { color: var(--grau); margin-bottom: 0; }

.anlage {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px; margin-top: 52px; list-style: none; padding: 0;
}
.anlage figure { margin: 0; }
.anlage img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.anlage h3 { margin: 18px 0 0.4em; }
.anlage p { color: var(--grau); font-size: 1rem; margin-bottom: 0; }

.zahlen { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 48px; list-style: none; padding: 0; }
.zahlen li { flex: 1 1 210px; background: var(--sand); padding: 30px 28px; border-radius: var(--radius); }
.zahlen b { display: block; font-size: 1.75rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 4px; }
.zahlen span { color: var(--grau); font-size: 1rem; }

/* Die Idee aus dem Betrieb: Katharinas Turnierjahre */
.jahre { list-style: none; margin: 40px 0 0; padding: 0; }
.jahre li {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--linie);
}
.jahre li:first-child { border-top: 1px solid var(--linie); }
.jahre .jahr { font-weight: 800; font-size: 1.25rem; color: var(--haus); letter-spacing: -0.01em; }
.jahre .was { margin: 0; }

.liste { list-style: none; padding: 0; margin: 0; }
.liste li { position: relative; padding: 15px 0 15px 32px; border-bottom: 1px solid var(--linie); }
.liste li::before {
  content: ""; position: absolute; left: 0; top: 25px;
  width: 12px; height: 12px; border-radius: 50%; background: var(--haus);
}

.galerie {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px; margin-top: 44px; padding: 0; list-style: none;
}
/* Vier Bilder (Turnier) in einer Reihe statt 3 + 1; Telefon/Tablet wie unten in den Media Queries */
.galerie--vier { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.galerie figure { margin: 0; }
.galerie img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.galerie figcaption { margin-top: 8px; font-size: 0.9375rem; color: var(--grau); }

/* Häufige Fragen auf „Reitstall in Ernstbrunn“ (dazu FAQPage im Kopf der Seite) */
.fragen { margin-top: 28px; }
.fragen h3 { margin: 32px 0 0.4em; }
.fragen h3:first-child { margin-top: 0; }
.fragen p { margin: 0; }

/* Wer in „Meine Geschichte“ spricht — auf der alten Seite stand der Name davor */
.wer { margin-top: -0.4em; color: var(--haus); font-weight: 700; }

/* Partnerlogos auf „Über uns“, wie auf der alten Startseite */
.partner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 28px 48px;
  margin: 36px 0 0; padding: 0; list-style: none;
}
.partner a { display: block; }
.partner img { display: block; height: 120px; width: auto; border-radius: var(--radius); }

/* Band in der Hausfarbe vor dem Fuß */
.band { background: var(--haus); color: var(--weiss); padding-block: var(--abstand-klein); }
.band h2 { max-width: 20ch; }
.band p { color: rgba(255, 255, 255, 0.95); max-width: 52ch; }
.band__gitter {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px 72px; align-items: center;
}
.band__kontakt { line-height: 1.85; }
.band__kontakt a {
  color: var(--weiss); font-weight: 700; text-decoration: none;
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
}
.band__kontakt a:hover { border-bottom-color: var(--weiss); }

/* ------------------------------------------------------------------ */
/* Formular                                                             */
/* ------------------------------------------------------------------ */

.formular { display: grid; gap: 22px; max-width: 620px; }
.feld { display: grid; gap: 7px; }
.feld label { font-weight: 700; }
.feld input, .feld select, .feld textarea {
  font: inherit; font-size: 1.0625rem; color: var(--tinte); background: var(--weiss);
  border: 1px solid #8a817b; border-radius: var(--radius);
  padding: 13px 14px; min-height: 48px; width: 100%;
}
.feld textarea { min-height: 170px; resize: vertical; }
.feld input:focus, .feld select:focus, .feld textarea:focus {
  border-color: var(--haus); outline: 2px solid var(--haus); outline-offset: 1px;
}
.feld input::placeholder, .feld textarea::placeholder { color: #6a625d; }
.feld--wahl { display: flex; align-items: flex-start; gap: 12px; }
.feld--wahl input {
  width: 22px; height: 22px; min-height: 22px; margin-top: 3px; flex: 0 0 auto; accent-color: var(--haus);
}
.feld--wahl label { font-weight: 400; }

.field-hint { font-size: 0.9375rem; color: #8d1610; font-weight: 600; }
/* Felder, die beim Absenden nicht stimmen, sichtbar markieren (kontaktformular.js setzt aria-invalid) */
.feld [aria-invalid="true"] { border-color: #8d1610; outline: 2px solid #8d1610; outline-offset: 1px; }
.field-hint:empty { display: none; }

.form-status { border-radius: var(--radius); padding: 16px 18px; font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-status="ok"] { background: #eef4e9; color: #2b401f; border-left: 4px solid #4e7a34; }
.form-status[data-status="fehler"] { background: var(--haus-hauch); color: var(--haus-dunkel); border-left: 4px solid var(--haus); }

.pflichtnote { font-size: 0.9375rem; color: var(--grau); }

.kontaktblock { background: var(--sand); border-radius: var(--radius); padding: 36px 32px; line-height: 1.8; }
.kontaktblock h3 { margin-bottom: 0.4em; }
.kontaktblock dl { margin: 0; }
.kontaktblock dt { font-weight: 700; margin-top: 1.2em; }
.kontaktblock dd { margin: 0; color: var(--grau); }
.kontaktblock a { font-weight: 700; }

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

.fuss { background: var(--nacht); color: rgba(255, 255, 255, 0.82); padding-block: var(--abstand-klein) 34px; }
.fuss__gitter { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.fuss h2 {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--weiss); margin-bottom: 1.2em;
}
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fuss a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.fuss a:hover { color: var(--weiss); text-decoration: underline; }
.fuss__marke { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.fuss__marke img { width: 58px; height: 50px; object-fit: contain; filter: brightness(0) invert(1); }
.fuss__marke .name { font-size: 1.0625rem; font-weight: 800; line-height: 1.2; color: var(--weiss); }
.fuss__unten {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.2);
  display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 0.9375rem; color: rgba(255, 255, 255, 0.68);
}

/* ------------------------------------------------------------------ */
/* Fehlerseite                                                          */
/* ------------------------------------------------------------------ */

.fehler { min-height: 66vh; display: flex; align-items: center; padding-block: 170px var(--abstand-klein); }
.fehler .zahl {
  font-size: clamp(3.5rem, 9vw, 6.5rem); font-weight: 800; letter-spacing: -0.04em;
  color: var(--haus); line-height: 1; margin-bottom: 0.2em;
}

/* ------------------------------------------------------------------ */
/* Kleinere Bildschirme                                                 */
/* ------------------------------------------------------------------ */

@media (max-width: 1050px) {
  :root { --abstand: 88px; --abstand-klein: 56px; }

  .menueknopf { display: inline-flex; }
  .menue {
    display: none; position: absolute; top: 100%; left: var(--rand); right: var(--rand);
    background: var(--weiss); border-radius: var(--radius);
    box-shadow: 0 14px 34px rgba(29, 26, 24, 0.24);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px;
  }
  .kopf--offen .menue { display: flex; }
  .kopf--offen { background: var(--weiss); }
  .kopf--offen .marke .name { color: var(--haus); }
  .kopf--offen .marke img { filter: none; }
  .menue ul { flex-direction: column; align-items: stretch; gap: 0; }
  .menue li + li { border-top: 1px solid var(--linie); }
  .menue a { color: var(--tinte); padding: 6px 12px; min-height: 50px; }
  .menue a:hover { color: var(--haus); }
  .menue .knopf { margin: 10px 12px 6px; justify-content: center; }
  .kopf--ueberbild.kopf--offen .menue .knopf {
    background: var(--haus); border-color: var(--haus); color: var(--weiss);
  }

  .zweispalt { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .zweispalt--dreh .zweispalt__bild { order: 0; }
  .anlage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band__gitter { grid-template-columns: minmax(0, 1fr); }
  .fuss__gitter { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 700px) {
  :root { --abstand: 72px; --abstand-klein: 48px; --rand: 20px; }
  body { font-size: 1rem; }
  .einstieg { min-height: 72vh; padding-block: 140px 48px; }
  .kopfzeile { padding-top: 128px; }
  .leistungen { grid-template-columns: minmax(0, 1fr); }
  .anlage { grid-template-columns: minmax(0, 1fr); }
  .galerie { grid-template-columns: minmax(0, 1fr); }
  .fuss__gitter { grid-template-columns: minmax(0, 1fr); }
  .knopfreihe .knopf { width: 100%; }
  .leistung { padding: 32px 26px; }
  .kontaktblock { padding: 28px 24px; }
  .jahre li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .feld input, .feld select, .feld textarea { font-size: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
