/* ==========================================================================
   PALEEM GmbH – Stylesheet
   Handgeschrieben, ohne Framework. Aufbau:
   01 Schriften
   02 Design-Variablen
   03 Grundlagen & Typografie
   04 Bausteine (Buttons, Trenner, Raster)
   05 Kopfbereich & Navigation
   06 Seitenmenue (mobil)
   07 Startseite: Buehne
   08 Startseite: Leistungsvorschau
   09 Startseite: Leistungen
   10 Startseite: Partner
   11 Startseite: Kontaktdaten
   12 Textseiten (Impressum, Datenschutz, Liefergebiete)
   13 Formular
   14 Fussbereich & Nach-oben-Knopf
   15 Hilfsklassen & Barrierefreiheit
   ========================================================================== */

/* 01 Schriften ============================================================ */

@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* 02 Design-Variablen ===================================================== */

:root {
  /* Farben */
  --rot: #d62023;
  --rot-dunkel: #b01a1d;
  --schwarz: #101010;
  --tinte: #000000;
  --tinte-weich: #282828;
  --weiss: #ffffff;
  --grau-hell: #eeeeee;
  --grau-linie: rgba(0, 0, 0, 0.15);
  --grau-linie-hell: rgba(255, 255, 255, 0.18);

  /* Schrift */
  --schrift: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --schrift-knopf: "Inter", "Jost", system-ui, sans-serif;

  /* Masse */
  --breite-inhalt: 1440px;
  --breite-text: 780px;
  --rand: 20px;
  --abstand-abschnitt: 100px;
  --kopf-hoehe: 180px;
  /* Abstand von der gemeinsamen Grundlinie zur Unterkante der Leiste.
     Logo-Unterkante, Navigation und Telefonnummer sitzen dadurch exakt
     auf einer Linie. Die beiden Korrekturwerte weiter unten stammen aus
     einer Messung der Schrift Jost: von der Grundlinie bis zur Unterkante
     der Textzeile sind es 7,6 Pixel (Navigation, 15 px) bzw. 6 Pixel
     (Adressblock, 14 px). */
  --grundlinie: 10px;
  --radius: 8px;
  --uebergang: 0.25s ease-in-out;
}

/* 03 Grundlagen & Typografie ============================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  /* Ankerziele nicht unter der klebenden Kopfzeile verstecken */
  scroll-padding-top: var(--kopf-hoehe);
}

body {
  margin: 0;
  background: var(--weiss);
  color: var(--tinte);
  font-family: var(--schrift);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--schrift);
  font-weight: 400;
  color: var(--tinte);
  margin: 0 0 0.6em;
  line-height: 1.2;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.6rem; }
h3 { font-size: 2rem; line-height: 1.3; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; line-height: 1.5; }
h6 { font-size: 1.0625rem; line-height: 1.5; }

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--uebergang);
}

img,
svg,
picture {
  max-width: 100%;
}

img {
  height: auto;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Der Inhaltsrahmen */
.rahmen {
  width: 100%;
  max-width: var(--breite-inhalt);
  margin-inline: auto;
  padding-inline: var(--rand);
}

.rahmen--text {
  max-width: calc(var(--breite-text) + 2 * var(--rand));
}

/* Abschnitte */
.abschnitt {
  padding-block: var(--abstand-abschnitt);
}

.abschnitt--dunkel {
  background: var(--schwarz);
  color: var(--weiss);
}

.abschnitt--dunkel h1,
.abschnitt--dunkel h2,
.abschnitt--dunkel h3,
.abschnitt--dunkel h4,
.abschnitt--dunkel h5,
.abschnitt--dunkel h6,
.abschnitt--dunkel p {
  color: var(--weiss);
}

.abschnitt__kopf {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 3.5rem;
}

.abschnitt__einleitung {
  font-size: 1.125rem;
  line-height: 1.65;
}

/* 04 Bausteine ============================================================ */

/* Roter Trennstrich zwischen den Abschnitten */
.trenner {
  height: 2px;
  background: var(--rot);
  border: 0;
  margin: 0;
}

/* Die rote Raute als Signet */
.raute {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.5rem 1.25rem;
  font-family: var(--schrift-knopf);
  font-size: 0.9375rem;
  line-height: 1.2;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  text-align: center;
  transition: color var(--uebergang), background-color var(--uebergang),
    border-color var(--uebergang);
}

/* Heller Knopf auf hellem Grund (Leistungskarten) */
.knopf--umriss {
  background: var(--weiss);
  color: var(--tinte);
  border-color: var(--tinte);
  width: 100%;
}

.knopf--umriss:hover,
.knopf--umriss:focus-visible {
  color: var(--rot);
  border-color: var(--rot);
}

/* Knopf auf dunklem Grund (Kontaktkacheln) */
.knopf--dunkel {
  background: var(--schwarz);
  color: var(--weiss);
  border-color: var(--weiss);
  min-width: 180px;
}

.knopf--dunkel:hover,
.knopf--dunkel:focus-visible {
  color: var(--rot);
  border-color: var(--rot);
}

/* Kraeftiger Knopf (Formular) */
.knopf--voll {
  background: var(--schwarz);
  color: var(--weiss);
  border-color: var(--weiss);
  padding-inline: 2.5rem;
  min-height: 48px;
  font-size: 1rem;
}

.knopf--voll:hover,
.knopf--voll:focus-visible {
  background: var(--rot);
  border-color: var(--rot);
}

.knopf svg {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
  flex: 0 0 auto;
}

/* 05 Kopfbereich & Navigation ============================================= */

/* Duenne rote Linie ueber der Kopfzeile (nur auf kleinen Geraeten) */
.kopf-linie {
  display: none;
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  background: var(--rot);
  z-index: 1100;
}

.kopfzeile {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--weiss);
  transition: transform 0.3s ease-in-out, box-shadow var(--uebergang);
  will-change: transform;
}

.kopfzeile.ist-geklebt {
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}

/* Beim Scrollen nach unten faehrt die Leiste weg, beim Scrollen
   nach oben kommt sie sofort zurueck. */
.kopfzeile.ist-versteckt {
  transform: translateY(-100%);
}

.kopfzeile__inhalt {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  padding-block: 10px;
}

.marke {
  display: block;
  flex: 0 1 auto;
  margin-right: auto;
  /* Der Wert wird unten ausgemessen, damit Bildunterkante und
     Schriftgrundlinien exakt auf einer Linie liegen. */
  padding-bottom: var(--grundlinie);
}

.marke img {
  width: 313px;
  max-width: 100%;
}

.hauptnavigation {
  /* Abstand zum Adressblock */
  margin-right: 100px;
  padding-bottom: calc(var(--grundlinie) - 7.6px);
}

.hauptnavigation ul {
  display: flex;
  align-items: center;
  gap: 30px;
}

.hauptnavigation a {
  display: inline-block;
  padding: 0;
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--tinte);
}

.hauptnavigation a:hover,
.hauptnavigation a:focus-visible,
.hauptnavigation a[aria-current="page"] {
  color: var(--rot);
}

.kopfzeile__kontakt {
  font-size: 0.875rem;
  line-height: 1.5;
  text-align: right;
  color: var(--tinte);
  margin: 0;
  padding-bottom: calc(var(--grundlinie) - 6px);
}

.kopfzeile__kontakt a:hover {
  color: var(--rot);
}

/* Feste Schnellzugriffe am rechten Rand */
.schnellzugriff {
  position: fixed;
  top: 200px;
  right: 0;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.schnellzugriff a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 110px;
  min-height: 40px;
  padding: 0.4rem 0.6rem;
  background: rgba(0, 0, 0, 0.72);
  color: var(--weiss);
  font-family: var(--schrift-knopf);
  font-size: 0.9375rem;
  transition: background-color var(--uebergang);
}

.schnellzugriff a:hover,
.schnellzugriff a:focus-visible {
  background: var(--rot);
}

.schnellzugriff svg {
  width: 20px;
  height: 20px;
  fill: var(--rot);
  flex: 0 0 auto;
  transition: fill var(--uebergang);
}

.schnellzugriff a:hover svg,
.schnellzugriff a:focus-visible svg {
  fill: var(--weiss);
}

/* Menue-Schalter (Hamburger) */
.menue-schalter {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  margin-left: auto;
  background: transparent;
  border: 0;
  color: var(--rot);
  cursor: pointer;
}

.menue-schalter svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
}

.menue-schalter:hover {
  color: var(--tinte-weich);
}

/* 06 Seitenmenue (mobil) ================================================== */

.menue-schleier {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--uebergang), visibility var(--uebergang);
  z-index: 1400;
}

.menue-schleier.ist-offen {
  opacity: 1;
  visibility: visible;
}

.seitenmenue {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 280px;
  max-width: 85vw;
  background: var(--weiss);
  background-image: url("../../img/textur-diagonal.png");
  background-size: 10px 10px;
  transform: translateX(100%);
  transition: transform 0.28s ease-in-out;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  padding: 1rem 1.5rem 2rem;
  overflow-y: auto;
}

.seitenmenue.ist-offen {
  transform: translateX(0);
}

.seitenmenue__kopf {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 1.5rem;
}

.seitenmenue__schliessen {
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--tinte);
  cursor: pointer;
}

.seitenmenue__schliessen svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.seitenmenue__schliessen:hover {
  color: var(--rot);
}

.seitenmenue a {
  display: block;
  padding: 0.6rem 0;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--schwarz);
}

.seitenmenue a:hover,
.seitenmenue a:focus-visible {
  color: var(--rot);
}

.seitenmenue__untermenue {
  padding-left: 1.75rem;
}

.seitenmenue__untermenue a {
  font-size: 0.9375rem;
  text-transform: none;
  color: var(--tinte-weich);
}

.seitenmenue__aufklapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.6rem 0;
  background: none;
  border: 0;
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--schwarz);
  cursor: pointer;
}

.seitenmenue__aufklapper:hover {
  color: var(--rot);
}

.seitenmenue__aufklapper svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform var(--uebergang);
}

.seitenmenue__aufklapper[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.seitenmenue__untermenue[hidden] {
  display: none;
}

.seitenmenue__fuss {
  margin-top: auto;
  padding-top: 2rem;
  display: grid;
  gap: 12px;
}

.seitenmenue__fuss a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem;
  background: var(--schwarz);
  color: var(--weiss);
  text-transform: none;
  letter-spacing: 0;
}

.seitenmenue__fuss a:hover {
  background: var(--rot);
  color: var(--weiss);
}

.seitenmenue__fuss svg {
  width: 18px;
  height: 18px;
  fill: var(--rot);
}

.seitenmenue__fuss a:hover svg {
  fill: var(--weiss);
}

/* 07 Startseite: Buehne =================================================== */

.buehne {
  position: relative;
  min-height: calc(100vh - var(--kopf-hoehe));
  display: flex;
  align-items: center;
  background-color: var(--schwarz);
  background-image: url("../../img/hero-trockenbau-holzwickede.jpg");
  /* Moderne Browser laden stattdessen das kleinere WebP */
  background-image: image-set(
    url("../../img/hero-trockenbau-holzwickede.webp") type("image/webp"),
    url("../../img/hero-trockenbau-holzwickede.jpg") type("image/jpeg")
  );
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  overflow: hidden;
}

.buehne::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.45) 0%,
    rgba(0, 0, 0, 0.15) 60%,
    rgba(0, 0, 0, 0) 100%
  );
}

.buehne__inhalt {
  position: relative;
  z-index: 1;
  width: 100%;
}

@media (min-width: 992px) {
  .buehne__inhalt {
    padding-left: 100px;
  }
}

.buehne__titel {
  color: var(--weiss);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
  max-width: 16ch;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.buehne__unterzeile {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 1.6vw, 1.375rem);
  max-width: 46ch;
  margin-top: 1.25rem;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

/* Auf kleinen Geraeten laeuft das Bild im Textfluss mit */
.buehne__bild {
  display: none;
}

/* Ruhiges Parallaxband zwischen den Abschnitten */
.band {
  min-height: 60vh;
  background-color: var(--schwarz);
  background-image: url("../../img/hero-trockenbau-holzwickede.jpg");
  background-image: image-set(
    url("../../img/hero-trockenbau-holzwickede.webp") type("image/webp"),
    url("../../img/hero-trockenbau-holzwickede.jpg") type("image/jpeg")
  );
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

/* 08 Startseite: Leistungsvorschau ======================================== */

.vorschau {
  position: relative;
  z-index: 2;
  margin-top: -110px;
  padding-bottom: 80px;
}

.vorschau__raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.vorschau-karte {
  background: var(--weiss);
  border-top: 2px solid var(--rot);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.22);
  overflow: hidden;
}

.vorschau-karte__kopf {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
}

.vorschau-karte__titel {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 500;
}

.vorschau-karte__bild {
  display: block;
  overflow: hidden;
}

.vorschau-karte__bild img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.4s ease-in-out, transform 0.4s ease-in-out;
}

.vorschau-karte__bild:hover img,
.vorschau-karte__bild:focus-visible img {
  filter: grayscale(25%);
  transform: scale(1.03);
}

/* 09 Startseite: Leistungen =============================================== */

/* Das Logo liegt als ruhiges Wasserzeichen hinter dem Abschnitt */
.leistungen {
  background-color: var(--schwarz);
  background-image: url("../../img/paleem-logo-wasserzeichen.svg");
  background-position: center 8%;
  background-repeat: no-repeat;
  background-size: min(900px, 70%) auto;
}

.leistungen__raster {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.leistungs-karte {
  display: flex;
  flex-direction: column;
  background: var(--weiss);
  border-top: 2px solid var(--rot);
  padding: 1.75rem 1.5rem 1.25rem;
}

.leistungs-karte h3 {
  font-family: var(--schrift);
  font-weight: 500;
  font-size: 1.375rem;
  text-transform: uppercase;
  color: var(--tinte-weich);
  margin: 0.75rem 0 1rem;
}

.leistungs-karte p {
  color: var(--tinte);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.leistungs-karte .raute {
  width: 26px;
  height: 26px;
  margin-inline: auto;
}

.leistungs-karte__text {
  flex: 1 1 auto;
  margin-bottom: 1.5rem;
}

/* 10 Startseite: Partner ================================================== */

.partner-galerie {
  position: relative;
  /* Steuergroessen an einer Stelle */
  --partner-abstand: 20px;
  --partner-logo-hoehe: 90px;
  --partner-innen: 1.25rem;
  /* Wie viele Karten nebeneinander zu sehen sind. Die halbe Karte am Rand
     zeigt, dass es rechts weitergeht. */
  --partner-sichtbar: 4.5;
}

.partner-spur {
  display: flex;
  gap: var(--partner-abstand);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  /* Platz fuer den Schatten der Karten */
  padding: 4px 0 8px;
}

.partner-spur::-webkit-scrollbar {
  display: none;
}

.partner-karte {
  position: relative;
  cursor: pointer;
  flex: 0 0 calc(
    (100% - (var(--partner-sichtbar) - 0.5) * var(--partner-abstand)) /
    var(--partner-sichtbar)
  );
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  padding: var(--partner-innen);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color var(--uebergang), background-color var(--uebergang);
}

.partner-karte:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

/* Der Link zieht sich unsichtbar ueber die ganze Karte, damit jeder
   Klick – auf Logo, Ueberschrift oder Text – zum Partner fuehrt. */
.partner-karte > a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
}

/* Fokusrahmen um die ganze Karte statt nur um das Logo */
.partner-karte:has(> a:focus-visible) {
  outline: 2px solid var(--rot);
  outline-offset: 3px;
}

.partner-karte img {
  width: 100%;
  height: var(--partner-logo-hoehe);
  object-fit: contain;
  object-position: left center;
  transition: filter var(--uebergang);
}

.partner-karte a:hover img {
  filter: brightness(0.8);
}

.partner-karte h3 {
  font-size: 1.125rem;
  font-weight: 500;
  margin: 1rem 0 0.5rem;
}

.partner-karte p {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 0;
}

/* Die beiden Pfeile bleiben dauerhaft sichtbar, damit erkennbar ist,
   dass die Reihe weitergeht. */
.partner-steuerung {
  position: absolute;
  top: calc(var(--partner-innen) + var(--partner-logo-hoehe) / 2 + 5px);
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(16, 16, 16, 0.85);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: var(--weiss);
  cursor: pointer;
  transition: background-color var(--uebergang), border-color var(--uebergang),
    opacity var(--uebergang);
  z-index: 2;
}

.partner-steuerung:hover {
  background: var(--rot);
  border-color: var(--rot);
}

/* Am Anfang beziehungsweise Ende bleibt der Pfeil stehen, wird aber blass. */
.partner-steuerung[disabled] {
  opacity: 0.3;
  pointer-events: none;
}

.partner-steuerung svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

.partner-steuerung--zurueck { left: -10px; }
.partner-steuerung--vor { right: -10px; }

/* 11 Startseite: Kontaktdaten ============================================= */

.kontakt-raster {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px 24px;
}

.kontakt-kachel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.35rem;
}

.kontakt-kachel svg {
  width: 44px;
  height: 44px;
  fill: var(--rot);
  margin-bottom: 0.5rem;
}

.kontakt-kachel h3 {
  font-size: 1.25rem;
  margin: 0;
}

.kontakt-kachel p {
  margin: 0 0 1rem;
}

.kontakt-kachel .knopf {
  margin-top: auto;
}

/* 12 Textseiten =========================================================== */

.textseite {
  padding-block: 80px;
}

.textseite h1 {
  font-size: 2.6rem;
  margin-bottom: 2rem;
}

.textseite h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.textseite p,
.textseite li {
  font-size: 1rem;
  line-height: 1.7;
}

.textseite ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.textseite li {
  margin-bottom: 0.35rem;
}

.textseite a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.textseite a:hover {
  color: var(--rot);
}

.textseite address {
  font-style: normal;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.brotkrumen {
  font-size: 0.875rem;
  padding-block: 1rem 0;
  color: var(--tinte-weich);
}

.brotkrumen ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.brotkrumen li + li::before {
  content: "›";
  margin-right: 0.4rem;
  color: var(--rot);
}

.brotkrumen a:hover {
  color: var(--rot);
}

/* Liefergebiete */
.gebiete {
  text-align: center;
}

.gebiete .raute {
  width: 30px;
  height: 30px;
  margin: 0 auto 1.5rem;
}

.gebiete__liste {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 2.5rem;
}

.gebiete__liste li {
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--grau-linie-hell);
  font-size: 0.9375rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* 13 Formular ============================================================= */

.formular {
  max-width: 720px;
  margin-inline: auto;
}

.formular__reihe {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.feld {
  margin-bottom: 1.25rem;
}

.feld label,
.formular__zustimmung label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9375rem;
  color: var(--weiss);
}

.feld input,
.feld select,
.feld textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: var(--schrift);
  font-size: 1rem;
  color: var(--tinte);
  background: var(--weiss);
  border: 1px solid var(--grau-linie);
  border-radius: 10px;
}

.feld textarea {
  min-height: 140px;
  resize: vertical;
}

.feld input:focus,
.feld select:focus,
.feld textarea:focus {
  outline: 2px solid var(--rot);
  outline-offset: 1px;
}

.feld input[aria-invalid="true"],
.feld select[aria-invalid="true"],
.feld textarea[aria-invalid="true"] {
  border-color: var(--rot);
}

.feld__fehler {
  display: block;
  min-height: 1.2em;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: #ff8a8c;
}

.formular__zustimmung {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.formular__zustimmung input {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--rot);
  flex: 0 0 auto;
}

.formular__zustimmung label {
  margin: 0;
  line-height: 1.5;
}

.formular__zustimmung a {
  text-decoration: underline;
}

.formular__zustimmung a:hover {
  color: var(--rot);
}

/* Honigtopf – fuer Menschen unsichtbar, fuer Spam-Roboter verlockend */
.honigtopf {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.formular__meldung {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--rot);
  background: rgba(255, 255, 255, 0.06);
  font-size: 1rem;
}

.formular__meldung[hidden] {
  display: none;
}

.formular__meldung--erfolg {
  border-left-color: #4caf50;
}

/* 14 Fussbereich & Nach-oben-Knopf ======================================== */

.fusszeile {
  background: var(--schwarz);
  color: var(--weiss);
  padding-block: 24px;
}

.fusszeile__inhalt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.fusszeile p {
  margin: 0;
  font-size: 0.9375rem;
}

.fusszeile ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.fusszeile a {
  font-size: 0.9375rem;
  color: var(--weiss);
}

.fusszeile a:hover,
.fusszeile a:focus-visible {
  color: var(--rot);
}

.nach-oben {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.55);
  color: var(--weiss);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--uebergang), background-color var(--uebergang);
  z-index: 900;
}

.nach-oben.ist-sichtbar {
  opacity: 1;
  pointer-events: auto;
}

.nach-oben:hover {
  background: var(--rot);
}

.nach-oben svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
}

/* 15 Hilfsklassen & Barrierefreiheit ====================================== */

/* Sammlung aller Symbole – wird nie selbst angezeigt */
.symbol-vorrat {
  display: none;
}

.text-mitte {
  text-align: center;
}

.abstand-oben {
  margin-top: 2.5rem;
}

.nur-fuer-screenreader {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.zum-inhalt {
  position: absolute;
  left: 0;
  top: -60px;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: var(--rot);
  color: var(--weiss);
  transition: top var(--uebergang);
}

.zum-inhalt:focus {
  top: 0;
}

:focus-visible {
  outline: 2px solid var(--rot);
  outline-offset: 2px;
}

/* ==========================================================================
   Anpassungen fuer kleinere Bildschirme
   ========================================================================== */

@media (max-width: 1199.98px) {
  .marke img { width: 258px; }
  .partner-galerie { --partner-sichtbar: 3.5; }
}

@media (max-width: 991.98px) {
  :root {
    --abstand-abschnitt: 70px;
    --kopf-hoehe: 130px;
  }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2.1rem; }
  h3 { font-size: 1.7rem; }

  .kopf-linie { display: block; }

  .kopfzeile__inhalt {
    align-items: center;
    padding-block: 8px;
  }

  .marke { padding-bottom: 8px; }

  .marke img { width: 220px; }

  .hauptnavigation,
  .kopfzeile__kontakt {
    display: none;
  }

  .menue-schalter { display: flex; }

  .schnellzugriff { top: 120px; }
  .schnellzugriff a { width: 92px; font-size: 0.8125rem; }

  /* Buehne: Bild im Fluss, kein fester Hintergrund, dunkle Schrift */
  .buehne {
    display: block;
    min-height: 0;
    background-image: none;
    background-color: var(--weiss);
  }

  .buehne::after { display: none; }

  .buehne__bild { display: block; }

  .buehne__bild img { width: 100%; }

  .buehne__inhalt {
    padding-top: 1.5rem;
    padding-bottom: 2rem;
  }

  .buehne__titel {
    color: var(--tinte);
    text-shadow: none;
    max-width: none;
  }

  .buehne__unterzeile {
    color: var(--tinte);
    text-shadow: none;
    max-width: none;
  }

  .band {
    min-height: 40vh;
    background-attachment: scroll;
  }

  .vorschau {
    margin-top: 0;
    padding-block: 40px 60px;
  }

  .vorschau__raster,
  .leistungen__raster {
    grid-template-columns: repeat(2, 1fr);
  }

  .kontakt-raster { grid-template-columns: repeat(2, 1fr); }

  .partner-galerie { --partner-sichtbar: 2.5; }
}

@media (max-width: 767.98px) {
  :root { --abstand-abschnitt: 56px; }

  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }

  .abschnitt__kopf { margin-bottom: 2.5rem; }
  .abschnitt__einleitung { font-size: 1rem; }

  .partner-galerie { --partner-sichtbar: 1.5; }

  .formular__reihe { grid-template-columns: 1fr; gap: 0; }
}

@media (max-width: 575.98px) {
  :root {
    --rand: 16px;
    --kopf-hoehe: 112px;
  }

  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }

  .marke { padding-bottom: 6px; }

  .marke img { width: 180px; }

  .schnellzugriff { top: 100px; }
  .schnellzugriff a { width: 76px; font-size: 0.75rem; padding: 0.4rem; }
  .schnellzugriff svg { width: 16px; height: 16px; }

  .vorschau__raster,
  .leistungen__raster,
  .kontakt-raster {
    grid-template-columns: 1fr;
  }

  .partner-galerie {
    --partner-sichtbar: 1.5;
    --partner-logo-hoehe: 70px;
    --partner-abstand: 14px;
    --partner-innen: 1rem;
  }

  .partner-steuerung {
    width: 36px;
    height: 36px;
  }

  .partner-steuerung svg {
    width: 17px;
    height: 17px;
  }

  .partner-steuerung--zurueck { left: -6px; }
  .partner-steuerung--vor { right: -6px; }

  .leistungs-karte { padding: 1.5rem 1.25rem 1rem; }
}

/* Bewegungsarme Darstellung respektieren */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .buehne,
  .band {
    background-attachment: scroll;
  }
}

/* Druckausgabe */
@media print {
  .kopf-linie,
  .schnellzugriff,
  .menue-schalter,
  .seitenmenue,
  .menue-schleier,
  .nach-oben,
  .band {
    display: none !important;
  }

  body { color: #000; background: #fff; }

  .abschnitt--dunkel,
  .leistungen,
  .fusszeile {
    background: #fff !important;
    color: #000 !important;
  }
}
