/* Fensterbau Gräfing
   Leitidee: Fenster, Tür und Tor sind die Öffnungen eines Hauses. Die Bild-
   formate und die Laufweite der drei Produktnamen folgen ihren Proportionen. */

/* Schrift „Archivo“ (SIL Open Font License, siehe assets/fonts/LIZENZ-Archivo.txt). Sie liegt lokal,
   damit beim Aufruf der Seite nichts von fremden Servern geladen wird. */
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-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: "Archivo"; font-style: normal; font-display: swap; font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-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;
}

:root {
  --papier: #F3EFE7;
  --papier-tief: #E7E1D5;
  --weiss: #FBFAF6;
  --tinte: #20252A;
  --stein: #596066;
  --anthrazit: #2E3438;
  --anthrazit-tief: #23282B;
  --linie: rgba(32, 37, 42, .17);
  --linie-hell: rgba(243, 239, 231, .22);

  --akzent: #832A2E;
  --akzent-tief: #5F1C20;
  --akzent-hell: #EBC1B9;
  --logo-dunkel: #3B1314;

  --fehler: #9C2424;
  --marker: #F6E7A6;
  --marker-linie: #9A7B1E;

  --schrift: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --rand: clamp(1.25rem, 5vw, 4.5rem);
  --breite: 84rem;
  --kopf: 5.25rem;
  --weich: cubic-bezier(.2, .7, .2, 1);
  --grund: var(--papier);
}

:root[data-akzent="waldgruen"] {
  --akzent: #2F4A3A;
  --akzent-tief: #1E3227;
  --akzent-hell: #BFD3C5;
  --logo-dunkel: #2E3438;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--kopf) + 1.5rem);
  -webkit-text-size-adjust: 100%;
}
html.menue-offen { overflow: hidden; }

body {
  margin: 0;
  background: var(--papier);
  color: var(--tinte);
  font: 400 1.0625rem/1.6 var(--schrift);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
legend { padding: 0; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }

h1, h2, h3 { font-weight: 500; font-stretch: 90%; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 1.1rem + 5.4vw, 5.6rem); line-height: .98; }
h2 { font-size: clamp(2rem, 1.25rem + 2.9vw, 3.6rem); line-height: 1.04; }
p { text-wrap: pretty; }

a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--akzent); }

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

.rahmen { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }

.sprung {
  position: absolute; left: var(--rand); top: -4rem; z-index: 100;
  padding: .7rem 1rem; background: var(--tinte); color: var(--papier);
}
.sprung:focus { top: .75rem; color: var(--papier); }

/* Nur für Tastaturnutzer sichtbar, sobald der Link den Fokus hat. */
.nur-fokus { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.nur-fokus:focus { position: static; display: inline-block; width: auto; height: auto; margin-bottom: 1rem; overflow: visible; clip-path: none; }

/* Noch fehlende Angaben: wie mit dem Textmarker angestrichen. */
.platzhalter {
  padding: .05em .4em; background: var(--marker); color: #3A2F05;
  border-bottom: 1px dashed var(--marker-linie); font-weight: 500; white-space: nowrap;
}

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

.knopf {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 3.1rem; padding: .7rem 1.4rem;
  border: 1px solid var(--tinte); border-radius: 2px;
  background: transparent; color: var(--tinte);
  font: inherit; font-weight: 550; line-height: 1.2; text-decoration: none; cursor: pointer;
  /* Beim Überfahren legt sich ein zweiter Rahmen um den Knopf. */
  box-shadow: 0 0 0 0 var(--grund), 0 0 0 0 currentColor;
  transition: background-color .25s, color .25s, border-color .25s, box-shadow .3s var(--weich);
}
.knopf--voll { background: var(--akzent); border-color: var(--akzent); color: #fff; }
.knopf--voll:hover { background: var(--akzent-tief); border-color: var(--akzent-tief); color: #fff; box-shadow: 0 0 0 4px var(--grund), 0 0 0 5px var(--akzent-tief); }
.knopf--linie:hover { background: var(--tinte); color: var(--papier); box-shadow: 0 0 0 4px var(--grund), 0 0 0 5px var(--tinte); }

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

.kopf {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--papier) 90%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.kopf--fest { border-bottom-color: var(--linie); }
.kopf__innen {
  display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem);
  min-height: var(--kopf); padding-inline: var(--rand);
}
.kopf__logo { flex: none; margin-right: auto; padding-block: .4rem; }
.logo { height: 3.1rem; width: auto; }
.logo__rot { fill: var(--akzent); }
.logo__dunkel { fill: var(--logo-dunkel); }

.kopf__nav ul { display: flex; gap: clamp(1rem, 1.8vw, 2rem); }
.kopf__nav a { display: block; padding-block: .5rem; font-size: .98rem; font-weight: 500; text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .35s var(--weich), color .2s; }
.kopf__nav a:hover { background-size: 100% 1px; }
.kopf__aktion { min-height: 2.75rem; padding-block: .5rem; }

.kopf__menue {
  display: none; align-items: center; gap: .7rem; min-height: 2.75rem; padding: 0 .2rem 0 .6rem;
  border: 0; background: none; color: inherit; font: inherit; font-weight: 550; cursor: pointer;
}
.kopf__menue-zeichen { position: relative; width: 1.6rem; height: .7rem; }
.kopf__menue-zeichen::before, .kopf__menue-zeichen::after {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
  transition: transform .3s var(--weich), top .3s var(--weich);
}
.kopf__menue-zeichen::before { top: 0; }
.kopf__menue-zeichen::after { top: calc(100% - 2px); }
[aria-expanded="true"] > .kopf__menue-zeichen::before { top: calc(50% - 1px); transform: rotate(45deg); }
[aria-expanded="true"] > .kopf__menue-zeichen::after { top: calc(50% - 1px); transform: rotate(-45deg); }

.menue {
  position: fixed; inset: var(--kopf) 0 0; z-index: 40; overflow-y: auto;
  display: flex; flex-direction: column; gap: 2rem;
  padding: 1.5rem var(--rand) 2.5rem; background: var(--papier);
  animation: menue-auf .3s var(--weich);
}
.menue li { border-bottom: 1px solid var(--linie); }
.menue li a { display: block; padding-block: 1.05rem; font-size: 1.7rem; font-weight: 500; font-stretch: 90%; letter-spacing: -.015em; text-decoration: none; }
.menue .knopf { margin-top: auto; }
@keyframes menue-auf { from { opacity: 0; transform: translateY(-.5rem); } }

/* ---------- Hero ---------- */

.hero {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-areas: "text bild" "bereiche bereiche";
}
.hero__text {
  grid-area: text; align-self: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 4vw, 4rem) clamp(1.5rem, 3vw, 2.5rem) var(--rand);
}
.hero h1 { font-size: clamp(2.6rem, 1rem + 4.6vw, 4.9rem); }
.hero__einleitung { margin-bottom: 1.4rem; color: var(--akzent); font-weight: 550; letter-spacing: .01em; }
.hero h1 span { display: block; }
.hero__absatz { max-width: 30em; margin-top: 1.6rem; font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); line-height: 1.55; color: var(--stein); }
.hero__aktionen { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.hero__bild { grid-area: bild; position: relative; overflow: hidden; min-height: clamp(24rem, 100svh - var(--kopf) - 9rem, 46rem); }
/* Ein feiner zweiter Rahmen im Bild – wie die Laibung eines Fensters. */
.buehne__bilder::after { content: ""; position: absolute; inset: .9rem; z-index: 3; border: 1px solid rgba(255, 255, 255, .6); pointer-events: none; }

.bild { position: relative; overflow: hidden; background: var(--papier-tief); }
.bild img { width: 100%; height: 100%; object-fit: cover; }
.bild figcaption {
  position: absolute; left: 0; bottom: 0; z-index: 1;
  padding: .3rem .75rem; background: var(--papier); color: var(--stein); font-size: .8rem; line-height: 1.4;
}
/* Ersatzfläche, falls ein Bild nicht geladen werden kann. */
.bild--ersatz { display: grid; place-items: center; background:
  linear-gradient(var(--linie), var(--linie)) 50% 0 / 1px 100% no-repeat,
  linear-gradient(var(--linie), var(--linie)) 0 50% / 100% 1px no-repeat, var(--papier-tief); }
.bild--ersatz::before { content: "Bild folgt"; padding: .3rem .8rem; background: var(--papier-tief); color: var(--stein); font-size: .9rem; }

/* Bildfolge im Hero: Das aktive Foto liegt oben und öffnet sich über dem vorherigen. */
.buehne__bilder { position: absolute; inset: 0; }
.buehne__feld { position: absolute; inset: 0; visibility: hidden; }
.buehne__feld img { position: absolute; inset: 0; }
.buehne__feld.ist-aktiv, .buehne__feld.ist-alt { visibility: visible; }
.buehne__feld.ist-aktiv { z-index: 2; }
.buehne__feld.ist-alt { z-index: 1; }

.buehne__fuss { position: absolute; inset: auto 0 0; z-index: 4; display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; pointer-events: none; }
.buehne__titel, .buehne__leiste { background: var(--papier); pointer-events: auto; }
.buehne__titel { padding: .35rem .8rem; color: var(--stein); font-size: .85rem; line-height: 1.4; }
.buehne__leiste { flex: none; display: flex; align-items: center; padding: 0 .5rem 0 .15rem; }
.buehne__pause, .buehne__punkt { position: relative; height: 2.4rem; padding: 0; border: 0; background: none; color: var(--tinte); cursor: pointer; }
.buehne__pause { display: grid; place-items: center; width: 2.2rem; }
.buehne__pause svg { width: .7rem; height: .7rem; fill: currentColor; }
.buehne__zeichen-weiter, [data-angehalten] > .buehne__zeichen-pause { display: none; }
[data-angehalten] > .buehne__zeichen-weiter { display: block; }
.buehne__punkt { width: 2.1rem; }
.buehne__punkt::before, .buehne__punkt span { content: ""; position: absolute; left: .25rem; right: .25rem; top: 50%; height: 2px; margin-top: -1px; }
.buehne__punkt::before { background: rgba(32, 37, 42, .25); transition: background-color .25s; }
.buehne__punkt:hover::before, .buehne__punkt[aria-current="true"]::before { background: rgba(32, 37, 42, .6); }
.buehne__punkt span { background: var(--akzent); transform: scaleX(0); transform-origin: 0 50%; }
.buehne__punkt[aria-current="true"] span { transform: scaleX(1); }
/* Der Balken ist zugleich die Uhr: Ist er durchgelaufen, wechselt site.js das Foto. */
.buehne--auto .buehne__punkt[aria-current="true"] span { animation: fuellen var(--dauer) linear both; }
.buehne--halt .buehne__punkt[aria-current="true"] span { animation-play-state: paused; }
@keyframes fuellen { from { transform: scaleX(0); } }
@keyframes schweben { from { transform: scale(1.07); } to { transform: scale(1); } }

.bereiche { grid-area: bereiche; display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid var(--linie); }
.bereich {
  display: grid; grid-template-columns: auto 1fr; column-gap: 1.25rem; align-items: center;
  padding: 1.5rem clamp(1.25rem, 3vw, 2.5rem); text-decoration: none; transition: background-color .3s;
}
.bereich:first-child { padding-left: var(--rand); }
.bereich + .bereich { border-left: 1px solid var(--linie); }
.bereich:hover { background: var(--weiss); color: inherit; }
.pikto { grid-row: span 2; width: 3.5rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.pikto__flaeche { transition: fill .35s, stroke .35s; }
.bereich:hover .pikto__flaeche { fill: var(--akzent); stroke: var(--akzent); }
.bereich__name { align-self: end; font-size: 1.3rem; font-weight: 550; line-height: 1.2; }
.bereich__text { align-self: start; color: var(--stein); font-size: .95rem; line-height: 1.4; }

/* Der eine inszenierte Moment: Das Bild öffnet sich wie zwei Flügel. */
@media (prefers-reduced-motion: no-preference) {
  .hero__bild { animation: oeffnen 1.3s var(--weich) .1s both; }
  /* Das Markenband läuft langsam durch und hält an, solange der Mauszeiger darauf steht. */
  .marken__lauf { animation: laufen 48s linear infinite; }
  .marken__band:hover .marken__lauf { animation-play-state: paused; }
  /* Jedes weitere Foto öffnet sich genauso; währenddessen zieht das Bild langsam auf. */
  .buehne--laeuft .buehne__feld.ist-aktiv { animation: oeffnen 1.4s var(--weich) both; }
  .buehne__feld.ist-aktiv img, .buehne__feld.ist-alt img { animation: schweben 10s linear both; }
  .hero__text > * { animation: ankommen .9s var(--weich) both; }
  .hero__text > :nth-child(2) { animation-delay: .08s; }
  .hero__text > :nth-child(3) { animation-delay: .16s; }
  .hero__text > :nth-child(4) { animation-delay: .24s; }
  .produkt__bild img, .projekt .bild img { transition: transform 1.6s var(--weich); }
  .produkt:hover .produkt__bild img, .projekt a:hover .bild img { transform: scale(1.03); }
}
@keyframes oeffnen { from { clip-path: inset(0 50%); } to { clip-path: inset(0); } }
@keyframes ankommen { from { opacity: 0; transform: translateY(.8rem); } }

/* ---------- Abschnitte ---------- */

.abschnitt { padding-block: clamp(4.5rem, 10vw, 9rem); }
/* Sprung über das Menü: Die Überschrift soll knapp unter dem Kopf stehen, nicht der leere Innenabstand darüber. */
.abschnitt[id]:not(.projekte) { scroll-margin-top: calc(-1 * clamp(4.5rem, 10vw, 9rem)); }
.abschnitt__kopf {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.25rem clamp(1rem, 2.5vw, 2.5rem);
  align-items: end; margin-bottom: clamp(2.5rem, 6vw, 5rem);
}
.abschnitt__kopf h2 { grid-column: 1 / 8; }
.abschnitt__kopf p { grid-column: 9 / 13; color: var(--stein); }

/* ---------- Produkte ---------- */

.produkt {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(1rem, 2.5vw, 2.5rem); row-gap: 2rem; align-items: center;
}
.produkt + .produkt { margin-top: clamp(5rem, 11vw, 10rem); }

.produkt h3 { font-size: clamp(2.5rem, 1.4rem + 4.4vw, 5rem); line-height: 1; }
/* Die Laufweite folgt der Öffnung: Tür schmal und hoch, Tor breit. */
.produkt--eingangstueren h3 { font-stretch: 66%; letter-spacing: -.005em; }
.produkt--garagentore h3 { font-stretch: 125%; letter-spacing: -.03em; font-size: clamp(2.2rem, 4.5vw, 4.3rem); }

.produkt__zeile { margin-top: 1rem; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); line-height: 1.3; font-weight: 500; color: var(--akzent); }
.produkt__inhalt { margin-top: 1.5rem; }
.produkt__inhalt > p { color: var(--stein); max-width: 34em; }
.produkt__inhalt .knopf { margin-top: 2rem; }

.merkmale { margin-top: 1.75rem; border-top: 1px solid var(--linie); }
.merkmale > div { display: grid; grid-template-columns: 8.5em 1fr; gap: 1rem; padding-block: .75rem; border-bottom: 1px solid var(--linie); font-size: .98rem; line-height: 1.45; }
.merkmale dt { font-weight: 600; }
.merkmale dd { color: var(--stein); }

.produkt--fenster .produkt__bild { grid-column: 1 / 8; aspect-ratio: 4 / 3; }
.produkt--fenster .produkt__text { grid-column: 9 / 13; }

.produkt--eingangstueren .produkt__bild { grid-column: 8 / 13; grid-row: 1; aspect-ratio: 2 / 3; }
.produkt--eingangstueren .produkt__text { grid-column: 1 / 6; grid-row: 1; }

.produkt--garagentore .produkt__bild { grid-column: 1 / 8; aspect-ratio: 3 / 2; }
.produkt--garagentore .produkt__text { grid-column: 8 / 13; }

/* ---------- Projekte ---------- */

.projekte { padding-top: 0; }
.projekte__raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.75rem, 1.5vw, 1.25rem); }
/* Die Hochformate geben die Zeilenhöhe vor, das Querformat füllt sie aus. */
.projekt, .projekt a { display: grid; }
.projekt--breit { grid-column: span 2; }
.projekt a { text-decoration: none; cursor: zoom-in; }
.projekt a:hover { color: inherit; }
.projekt .bild { aspect-ratio: 3 / 4; }
.projekt--breit .bild { aspect-ratio: auto; min-height: 0; }
.projekt--breit .bild img { position: absolute; inset: 0; }
.projekt .bild::after { content: ""; position: absolute; inset: .7rem; border: 1px solid rgba(255, 255, 255, .8); opacity: 0; transition: opacity .35s; pointer-events: none; }
.projekt a:hover .bild::after, .projekt a:focus-visible .bild::after { opacity: 1; }

html:has(.lupe[open]) { overflow: hidden; }
.lupe { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: clamp(1rem, 4vw, 3rem); border: 0; background: rgba(23, 27, 29, .95); color: var(--papier); }
.lupe[open] { display: grid; place-items: center; }
.lupe::backdrop { background: rgba(23, 27, 29, .95); }
.lupe figure { display: grid; justify-items: center; gap: .9rem; }
.lupe img { width: auto; height: auto; max-width: 100%; max-height: calc(100dvh - 9rem); }
.lupe :focus-visible { outline-color: var(--papier); }
.lupe__knopf { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid rgba(243, 239, 231, .55); border-radius: 2px; background: rgba(23, 27, 29, .7); color: var(--papier); cursor: pointer; transition: background-color .25s, color .25s; }
.lupe__knopf:hover { background: var(--papier); color: var(--tinte); }
.lupe__knopf svg { width: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lupe__zu { top: 1rem; right: 1rem; }
.lupe__vor { left: 1rem; top: 50%; translate: 0 -50%; }
.lupe__weiter { right: 1rem; top: 50%; translate: 0 -50%; }

/* ---------- Gesamtbild ---------- */

.gesamt { --grund: var(--anthrazit); background: var(--anthrazit); color: var(--papier); }
.gesamt :focus-visible { outline-color: var(--papier); }
.gesamt__raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.5vw, 2.5rem); row-gap: 3rem; align-items: center; }
.gesamt__text { grid-column: 1 / 6; }
.gesamt__text > p { margin-top: 1.5rem; color: rgba(243, 239, 231, .78); }
.gesamt__bild { grid-column: 7 / 13; }

.aspekte { margin-top: 2.25rem; border-top: 1px solid var(--linie-hell); }
.aspekt {
  display: grid; grid-template-columns: 8.5em 1fr; gap: 1rem; width: 100%; padding: 1rem 0 1rem 1rem;
  border: 0; border-bottom: 1px solid var(--linie-hell); border-left: 2px solid transparent;
  background: none; color: inherit; font: inherit; font-size: .98rem; line-height: 1.45; text-align: left; cursor: pointer;
  opacity: .62; transition: opacity .3s, border-color .3s;
}
.aspekt:hover { opacity: 1; }
.aspekt[aria-pressed="true"] { opacity: 1; border-left-color: var(--akzent-hell); }
.aspekt__name { font-weight: 600; }

.ansicht { width: 100%; height: auto; }
.gesamt__bild { --a-wand: #EDE7DB; --a-fenster: #3A4045; --a-tuer: #3A4045; --a-tor: #3A4045; --a-fuge: rgba(255, 255, 255, .26); --a-griff: #D9D2C4; }
.gesamt__bild[data-ton="hell"] { --a-wand: #D5CCBB; --a-fenster: #FAF8F2; --a-tuer: #FAF8F2; --a-tor: #FAF8F2; --a-fuge: rgba(32, 37, 42, .28); --a-griff: #3A4045; }
.gesamt__bild[data-ton="akzent"] { --a-tuer: var(--akzent); }
.a-wand { fill: var(--a-wand); transition: fill .5s; }
.a-dach { fill: #171B1D; }
.a-first { fill: none; stroke: #171B1D; stroke-width: 11; stroke-linejoin: miter; }
.a-boden { fill: none; stroke: rgba(243, 239, 231, .5); stroke-width: 1; }
.a-teil { transition: fill .5s; }
.a-fenster .a-teil { fill: var(--a-fenster); }
.a-tuer .a-teil { fill: var(--a-tuer); }
.a-tor .a-teil { fill: var(--a-tor); }
.a-glas { fill: #BECBD0; }
.a-fuge { fill: none; stroke: var(--a-fuge); stroke-width: 1.5; transition: stroke .5s; }
.a-griff { fill: var(--a-griff); transition: fill .5s; }
/* Hilfslinien kehren die Farbe ihres Untergrunds um und bleiben so auf heller Wand wie auf dunklem Tor lesbar. */
.a-hilfe { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 5 5; mix-blend-mode: difference; opacity: 0; transition: opacity .4s; }
[data-aspekt="formen"] .a-hilfe--formen, [data-aspekt="proportionen"] .a-hilfe--proportionen { opacity: 1; }

.toene { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem; margin-top: 1.5rem; font-size: .95rem; }
.toene legend { float: left; margin-right: .4rem; color: rgba(243, 239, 231, .7); }
.ton { display: inline-flex; align-items: center; gap: .55rem; min-height: 2.75rem; cursor: pointer; }
.ton input { position: absolute; opacity: 0; }
.ton__feld { width: 1.35rem; height: 1.35rem; border: 1px solid rgba(243, 239, 231, .6); box-shadow: 0 0 0 0 var(--papier); transition: box-shadow .25s; }
.ton--einheitlich .ton__feld { background: #3A4045; }
.ton--hell .ton__feld { background: #FAF8F2; }
.ton--akzent .ton__feld { background: linear-gradient(90deg, #3A4045 50%, var(--akzent) 50%); }
.ton input:checked + .ton__feld { box-shadow: 0 0 0 3px var(--anthrazit), 0 0 0 4px var(--papier); }
.ton input:focus-visible + .ton__feld { outline: 2px solid var(--papier); outline-offset: 6px; }
.gesamt__bild figcaption { margin-top: 1rem; color: rgba(243, 239, 231, .7); font-size: .85rem; }

/* ---------- Inspiration ---------- */

.inspiration { padding-bottom: clamp(3rem, 7vw, 6rem); }
.inspiration .abschnitt__kopf { margin-bottom: 2.25rem; }
.strecke__leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.filter { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter__knopf {
  min-height: 2.75rem; padding: .4rem 1rem; border: 1px solid var(--linie); border-radius: 2px;
  background: none; color: inherit; font: inherit; font-size: .95rem; font-weight: 500; cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s;
}
.filter__knopf:hover { border-color: var(--tinte); }
.filter__zahl { margin-left: .3rem; font-size: .82em; font-weight: 400; opacity: .65; }
.filter__knopf[aria-pressed="true"] { background: var(--tinte); border-color: var(--tinte); color: var(--papier); }
.strecke__pfeile { display: flex; gap: .5rem; }
.pfeil { display: grid; place-items: center; width: 2.9rem; height: 2.9rem; border: 1px solid var(--tinte); border-radius: 2px; background: none; color: inherit; cursor: pointer; transition: background-color .25s, color .25s, opacity .25s; }
.pfeil svg { width: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.6; }
.pfeil:hover:not(:disabled) { background: var(--tinte); color: var(--papier); }
.pfeil:disabled { opacity: .3; cursor: default; }

.strecke {
  --hoehe: clamp(17rem, 52svh, 30rem);
  display: flex; gap: clamp(.75rem, 1.5vw, 1.25rem); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x proximity; scroll-padding-inline: max(var(--rand), (100% - var(--breite)) / 2);
  padding: 0 max(var(--rand), (100% - var(--breite)) / 2) 1.25rem; scrollbar-width: thin; scrollbar-color: var(--linie) transparent;
}
.strecke li { flex: none; scroll-snap-align: start; }
.strecke a { display: block; cursor: zoom-in; }
.strecke a .bild::after { content: ""; position: absolute; inset: .7rem; border: 1px solid rgba(255, 255, 255, .8); opacity: 0; transition: opacity .35s; pointer-events: none; }
.strecke a:hover .bild::after, .strecke a:focus-visible .bild::after { opacity: 1; }
.strecke .bild { height: var(--hoehe); }
/* width 0 + min-width 100 %: Die Bildunterschrift richtet sich nach der Bildbreite und macht das Feld nicht breiter. */
.strecke figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0 1rem; width: 0; min-width: 100%; margin-top: .7rem; font-size: .92rem; line-height: 1.4; }
.strecke__titel { font-weight: 550; }
.strecke__art { flex: none; color: var(--stein); }

/* ---------- Über uns ---------- */

.ueber { --grund: var(--weiss); background: var(--weiss); }
.ueber__raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.5vw, 2.5rem); row-gap: 3rem; align-items: start; }
.ueber__text { grid-column: 1 / 7; }
.ueber__text > p { max-width: 36em; margin-top: 1.1rem; color: var(--stein); }
.ueber__text > h2 + p { margin-top: 1.75rem; font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); line-height: 1.55; }
.ueber__text > .ueber__spruch { max-width: 20em; margin-top: 2.5rem; padding-left: 1.25rem; border-left: 2px solid var(--akzent); color: var(--tinte); font-size: clamp(1.3rem, 1.1rem + .9vw, 1.8rem); font-weight: 500; font-stretch: 90%; line-height: 1.25; letter-spacing: -.01em; }
.ueber__seite { grid-column: 8 / 13; }
.ueber__seite .bild { aspect-ratio: 3 / 2; }
.ueber__seite h3 { margin-top: 2rem; font-size: 1.4rem; font-weight: 550; font-stretch: 96%; letter-spacing: -.01em; line-height: 1.2; }
.leistungen { margin-top: 1rem; border-top: 1px solid var(--tinte); }
.leistungen a { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--linie); font-weight: 550; text-decoration: none; transition: padding-left .3s var(--weich), color .2s; }
.leistungen a:hover { padding-left: .5rem; }
.leistungen span { color: var(--stein); font-size: .9rem; font-weight: 400; }

/* ---------- Marken-Laufband ---------- */

/* Reinweißer Grund, damit die Logos so stehen, wie die Hersteller sie liefern. */
.marken { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 4rem); padding: 1.6rem 0 1.6rem var(--rand); border-block: 1px solid var(--linie); background: #fff; }
.marken__titel { color: var(--stein); font-size: .95rem; white-space: nowrap; }
/* Die Ränder blenden aus, damit die Namen nicht hart abgeschnitten werden. */
.marken__band { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marken__lauf { display: flex; width: max-content; }
.marken__lauf li { display: flex; align-items: center; padding-left: clamp(2.5rem, 5vw, 5rem); font-size: clamp(1.35rem, 1rem + 1.3vw, 2rem); font-weight: 600; font-stretch: 100%; letter-spacing: .01em; line-height: 1; white-space: nowrap; }
.marken__lauf img { width: auto; height: calc(clamp(2.3rem, 1.9rem + 1.1vw, 3.1rem) * var(--g, 1)); }
@keyframes laufen { to { transform: translateX(-50%); } }

/* ---------- Ablauf ---------- */

.ablauf { background: var(--papier-tief); --grund: var(--papier-tief); }
.schritte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem clamp(1rem, 2.5vw, 2.5rem); }
.schritt { padding-top: 1.5rem; border-top: 1px solid var(--tinte); }
.schritt__nr { display: block; font-size: clamp(3.5rem, 2rem + 4vw, 5.5rem); font-weight: 300; font-stretch: 70%; line-height: 1; color: var(--akzent); }
.schritt h3 { margin-top: 1.25rem; font-size: 1.4rem; font-weight: 550; font-stretch: 96%; letter-spacing: -.01em; line-height: 1.2; }
.schritt > p { margin-top: .6rem; color: var(--stein); max-width: 26em; }
.schritt__wahl { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.25rem; }
.schritt__wahl a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .35rem .95rem; border: 1px solid var(--tinte); border-radius: 2px; font-size: .95rem; font-weight: 500; text-decoration: none; transition: background-color .25s, color .25s; }
.schritt__wahl a:hover { background: var(--tinte); color: var(--papier); }

/* ---------- Kontakt ---------- */

/* Anfrage: links die Angaben, rechts die fertige Nachricht, darunter das Absenden. */
.anfrage {
  --grund: var(--weiss);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "felder vorschau" "senden vorschau";
  border: 1px solid var(--linie); background: var(--weiss);
}
.anfrage__felder { grid-area: felder; display: grid; gap: 1.1rem; padding: clamp(1.25rem, 2.4vw, 2rem) clamp(1.25rem, 2.4vw, 2rem) 0; }
.anfrage__zeile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 1rem; align-items: start; }

.feld > label, .feld legend { display: block; margin-bottom: .35rem; font-size: .88rem; font-weight: 600; }
.feld__optional { margin-left: .35rem; color: var(--stein); font-weight: 400; }
.feld > input, .feld textarea {
  display: block; width: 100%; padding: .55rem .7rem; border: 1px solid rgba(32, 37, 42, .42); border-radius: 2px;
  background: var(--papier); color: var(--tinte); font: inherit; font-size: .95rem; line-height: 1.45; transition: border-color .2s, background-color .2s;
}
.feld textarea { min-height: 4.9rem; resize: vertical; }
.feld > input:focus, .feld textarea:focus { border-color: var(--tinte); background: #fff; }
.feld ::placeholder { color: #747A80; opacity: 1; }

.wahlreihe { display: flex; flex-wrap: wrap; gap: .4rem; }
.wahl { position: relative; cursor: pointer; }
.wahl input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.wahl span { display: inline-flex; align-items: center; min-height: 2.4rem; padding: .2rem .8rem; border: 1px solid rgba(32, 37, 42, .42); border-radius: 2px; background: var(--papier); font-size: .92rem; font-weight: 500; transition: background-color .2s, color .2s, border-color .2s; }
.wahl:hover span { border-color: var(--tinte); }
.wahl input:checked + span { background: var(--tinte); border-color: var(--tinte); color: var(--papier); }
.wahl input:focus-visible + span { outline: 2px solid var(--tinte); outline-offset: 3px; }

.zeichen { flex: none; width: 1.3rem; height: 1.3rem; fill: currentColor; }
.anfrage__senden { grid-area: senden; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem .9rem; padding: 1.4rem clamp(1.25rem, 2.4vw, 2rem) clamp(1.25rem, 2.4vw, 2rem); }
.anfrage__senden .knopf { gap: .55rem; min-height: 2.75rem; padding: .45rem 1.1rem; font-size: .95rem; }
.anfrage__anruf { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; font-size: .95rem; font-weight: 500; }
.anfrage__hinweis { flex-basis: 100%; color: var(--stein); font-size: .84rem; line-height: 1.5; }

/* Vorschau: die Nachricht so, wie sie beim Betrieb ankommt. */
.anfrage__vorschau { --grund: var(--anthrazit); grid-area: vorschau; display: flex; flex-direction: column; background: var(--anthrazit); color: var(--papier); }
.anfrage__vorschau :focus-visible { outline-color: var(--papier); }
.vorschau__kopf { display: flex; align-items: center; gap: .8rem; padding: .85rem clamp(1.1rem, 2vw, 1.6rem); border-bottom: 1px solid var(--linie-hell); font-size: .95rem; }
.vorschau__marke { flex: none; display: grid; place-items: center; width: 2.3rem; height: 2.3rem; background: var(--papier); }
.vorschau__marke svg { width: 1.65rem; }
.vorschau__kopf strong { display: block; font-weight: 600; line-height: 1.3; }
.vorschau__kopf p span { color: rgba(243, 239, 231, .7); font-size: .84rem; }
.vorschau__rumpf { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-end; gap: .75rem; min-height: 11rem; padding: 1.25rem clamp(1.1rem, 2vw, 1.6rem) 1rem; }
.vorschau__blase { position: relative; max-width: 100%; margin-left: 1.5rem; padding: .75rem .95rem; border-radius: 2px 2px 0; background: var(--papier); color: var(--tinte); font-size: .92rem; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.vorschau__blase::after { content: ""; position: absolute; right: -.5rem; bottom: 0; border-left: .5rem solid var(--papier); border-top: .6rem solid transparent; }
.vorschau__fehlt { color: rgba(243, 239, 231, .72); font-size: .84rem; line-height: 1.55; text-align: right; }
.vorschau__fehlt button { padding: 0; border: 0; background: none; color: var(--papier); font: inherit; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; }
.vorschau__fuss { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 2.75rem; padding: .25rem clamp(1.1rem, 2vw, 1.6rem); border-top: 1px solid var(--linie-hell); color: rgba(243, 239, 231, .7); font-size: .84rem; }
.vorschau__kopieren { display: inline-flex; align-items: center; gap: .45rem; min-height: 2.5rem; padding: 0; border: 0; background: none; color: var(--papier); font: inherit; font-weight: 500; cursor: pointer; }
.vorschau__kopieren .zeichen { width: 1.1rem; height: 1.1rem; }
.vorschau__kopieren:hover span { text-decoration: underline; text-underline-offset: .2em; }

.kontakt .abschnitt__kopf { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.kontakt__daten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem clamp(1rem, 2.5vw, 2.5rem); margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.kontakt__daten > div { padding-top: 1rem; border-top: 1px solid var(--tinte); }
.kontakt__daten dt { color: var(--stein); font-size: .9rem; }
.kontakt__daten dd { margin-top: .25rem; font-weight: 500; }
/* Nur wenn der Platz wirklich nicht reicht, darf eine lange E-Mail-Adresse umbrechen. */
.kontakt__daten dd, .fuss__spalte li, .rechtstext p { overflow-wrap: break-word; }

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

.fuss { --grund: var(--anthrazit-tief); padding-top: clamp(3.5rem, 7vw, 6rem); background: var(--anthrazit-tief); color: var(--papier); }
.fuss :focus-visible { outline-color: var(--papier); }
.fuss a { text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
/* Die Spalten richten sich nach ihrem Inhalt, damit die E-Mail-Adresse in eine Zeile passt. */
.fuss__raster { display: grid; grid-template-columns: minmax(11rem, 1fr) repeat(4, auto); gap: 2.5rem clamp(1.5rem, 4vw, 4rem); }
.fuss__marke img { width: min(100%, 17rem); height: auto; }
.fuss__marke p { max-width: 17rem; margin-top: 1.25rem; color: rgba(243, 239, 231, .78); font-size: .95rem; text-align: center; }
.fuss__spalte h2 { margin-bottom: 1rem; font-size: .95rem; font-weight: 500; font-stretch: 100%; letter-spacing: 0; color: rgba(243, 239, 231, .62); }
.fuss__spalte li + li { margin-top: .55rem; }
.fuss__ende { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; margin-top: clamp(3rem, 6vw, 5rem); padding-block: 1.5rem; border-top: 1px solid var(--linie-hell); color: rgba(243, 239, 231, .66); font-size: .88rem; }

/* ---------- Erscheinen beim Scrollen ---------- */

/* Gilt nur mit der Klasse „bewegt“ am <html>. Die setzt die Seite selbst, wenn der Browser es kann und
   keine reduzierte Bewegung gewünscht ist – ohne sie ist alles sofort sichtbar. site.js vergibt „ist-da“,
   sobald ein Baustein ins Bild kommt, und nimmt die Angaben danach wieder weg. */
.bewegt [data-zeigen="heben"],
.bewegt [data-zeigen="haus"],
.bewegt [data-zeigen="reihe"] > *,
.bewegt [data-zeigen="kopf"] > p {
  opacity: 0; transform: translateY(1.25rem);
  transition: opacity 1s var(--weich), transform 1s var(--weich);
  transition-delay: calc(var(--i, 0) * 110ms + var(--k, 0) * 90ms);
}
.bewegt [data-zeigen="kopf"] > p { transition-delay: calc(var(--i, 0) * 110ms + 200ms); }
.bewegt [data-zeigen="heben"].ist-da,
.bewegt [data-zeigen="haus"].ist-da,
.bewegt [data-zeigen="reihe"].ist-da > *,
.bewegt [data-zeigen="kopf"].ist-da > p { opacity: 1; transform: none; }

/* Überschriften werden von oben nach unten aufgedeckt. */
.bewegt [data-zeigen="kopf"] > :is(h2, h3) { clip-path: inset(0 0 100%); transform: translateY(.35em); transition: clip-path 1.2s var(--weich), transform 1.2s var(--weich); transition-delay: calc(var(--i, 0) * 110ms); }
.bewegt [data-zeigen="kopf"].ist-da > :is(h2, h3) { clip-path: inset(-.2em -.1em -.3em); transform: none; }

/* Große Fotos öffnen sich von der Mitte her, wie die Bilder im Kopf der Seite. */
.bewegt [data-zeigen="oeffnen"] { clip-path: inset(0 50%); transition: clip-path 1.4s var(--weich); transition-delay: calc(var(--i, 0) * 110ms); }
.bewegt [data-zeigen="oeffnen"] img { scale: 1.1; transition: scale 2s var(--weich), transform 1.6s var(--weich); }
.bewegt [data-zeigen="oeffnen"].ist-da { clip-path: inset(0); }
.bewegt [data-zeigen="oeffnen"].ist-da img { scale: 1; }

/* Hausansicht: Fenster, Tür und Tor erscheinen nacheinander. */
.bewegt [data-zeigen="haus"] :is(.a-fenster, .a-tuer, .a-tor) { opacity: 0; transition: opacity .9s var(--weich); }
.bewegt [data-zeigen="haus"].ist-da .a-fenster { opacity: 1; transition-delay: .55s; }
.bewegt [data-zeigen="haus"].ist-da .a-tuer { opacity: 1; transition-delay: .8s; }
.bewegt [data-zeigen="haus"].ist-da .a-tor { opacity: 1; transition-delay: 1.05s; }

/* Ablauf: Die Linie über jedem Schritt zieht sich von links auf. */
.bewegt [data-zeigen="reihe"] > .schritt { position: relative; border-top-color: transparent; }
.bewegt [data-zeigen="reihe"] > .schritt::before { content: ""; position: absolute; inset: -1px 0 auto; height: 1px; background: var(--tinte); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.3s var(--weich); transition-delay: calc(var(--k, 0) * 160ms + .15s); }
.bewegt [data-zeigen="reihe"].ist-da > .schritt::before { transform: scaleX(1); }

@media print {
  .bewegt [data-zeigen], .bewegt [data-zeigen] > *, .bewegt [data-zeigen] img, .bewegt [data-zeigen] g { opacity: 1 !important; transform: none !important; clip-path: none !important; scale: 1 !important; }
}

/* ---------- Impressum ---------- */

.rechtstext { padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 9vw, 8rem); }
.rechtstext .rahmen > * { max-width: 42rem; }
.rechtstext h1 { font-size: clamp(2.4rem, 1.5rem + 3.5vw, 4rem); line-height: 1; }
.rechtstext h2 { margin-top: 2.5rem; font-size: 1.3rem; font-weight: 550; font-stretch: 96%; letter-spacing: -.01em; line-height: 1.25; }
.rechtstext h3 { margin-top: 1.6rem; font-size: 1.05rem; font-weight: 600; font-stretch: 100%; letter-spacing: 0; line-height: 1.3; }
.rechtstext p, .rechtstext address { margin-top: .75rem; font-style: normal; }
.rechtstext ul { margin-top: .75rem; padding-left: 1.2rem; list-style: disc; }
.rechtstext li + li { margin-top: .35rem; }
.rechtstext .rechtstext__kasten { margin-top: 2.5rem; padding: 1.25rem 1.4rem 1.4rem; background: var(--weiss); border: 1px solid var(--linie); border-left: 3px solid var(--akzent); scroll-margin-top: calc(var(--kopf) + 1.5rem); }
.rechtstext__kasten h2 { margin-top: 0; }
.rechtstext .rechtstext__stand { margin-top: 2.5rem; color: var(--stein); font-size: .95rem; }
.rechtstext .rechtstext__offen { margin-top: 2.5rem; padding: .9rem 1.1rem; background: var(--marker); color: #3A2F05; border-left: 3px solid var(--marker-linie); font-size: .95rem; }
.rechtstext .rechtstext__zurueck { margin-top: 3rem; }

/* ---------- Schmale Bildschirme ---------- */

/* Die Navigation braucht mehr Platz als das übrige Raster und klappt deshalb früher ein. */
@media (max-width: 77.99em) {
  :root { --kopf: 4.25rem; }
  .kopf__nav, .kopf__aktion { display: none; }
  .kopf__menue { display: inline-flex; }
  .logo { height: min(2.5rem, 9.5vw); }
}

@media (max-width: 59.99em) {
  .hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "bild" "bereiche"; }
  .hero__text { padding: 2.25rem var(--rand) 2.5rem; }
  .hero__bild { min-height: 0; }
  .buehne__bilder { position: relative; aspect-ratio: 4 / 3; }
  /* Titel und Bedienung stehen hier unter dem Foto statt darauf. */
  .buehne__fuss { position: static; align-items: center; min-height: 2.75rem; padding: 0 calc(var(--rand) - .5rem) 0 var(--rand); border-bottom: 1px solid var(--linie); }
  .buehne__titel { flex: 1 1 auto; min-width: 0; padding: .35rem 0; background: none; }
  .buehne__leiste { padding: 0; background: none; }
  .buehne__pause, .buehne__punkt { height: 2.75rem; }
  .buehne__punkt { width: 1.6rem; }
  .hero__aktionen .knopf { flex: 1 1 12rem; }

  .bereiche { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .bereich, .bereich:first-child { padding: 1.1rem var(--rand); }
  .bereich + .bereich { border-left: 0; border-top: 1px solid var(--linie); }
  .pikto { width: 3rem; }

  .abschnitt__kopf h2, .abschnitt__kopf p { grid-column: 1 / -1; }

  .produkt .produkt__bild, .produkt .produkt__text { grid-column: 1 / -1; grid-row: auto; }
  .produkt--garagentore h3 { font-size: clamp(2.1rem, 9.6vw, 5rem); }

  .projekte__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projekt--breit .bild { aspect-ratio: 3 / 2; }
  .projekt--breit .bild img { position: static; }

  .gesamt__text, .gesamt__bild, .ueber__text, .ueber__seite { grid-column: 1 / -1; }
  /* Schmal steht die Vorschau zwischen den Angaben und dem Absenden. */
  .anfrage { grid-template-columns: minmax(0, 1fr); grid-template-areas: "felder" "vorschau" "senden"; }
  .anfrage__felder { padding-bottom: 1.5rem; }
  .wahl span { min-height: 2.75rem; }
  .vorschau__rumpf { min-height: 0; }
  .kontakt__daten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss__marke p { text-align: left; }
  .schritte { grid-template-columns: minmax(0, 1fr); }
  .marken { grid-template-columns: minmax(0, 1fr); gap: 1rem; padding-left: 0; }
  .marken__titel { padding-left: var(--rand); }
  .fuss__raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fuss__marke, .fuss__spalte--kontakt { grid-column: 1 / -1; }
}

@media (max-width: 34em) {
  .merkmale > div, .aspekt { grid-template-columns: minmax(0, 1fr); gap: .15rem; }
  .anfrage__zeile, .kontakt__daten { grid-template-columns: minmax(0, 1fr); }
  .anfrage__senden .knopf { width: 100%; }
  .strecke figcaption { flex-direction: column; gap: 0; }
  .toene legend { float: none; margin: 0 0 .25rem; }
  .kopf__menue-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Ohne Bewegung stehen die Marken einmal nebeneinander. */
  .marken__lauf { width: auto; flex-wrap: wrap; row-gap: 1rem; }
  .marken__lauf [aria-hidden="true"] { display: none; }
  .marken__band { -webkit-mask-image: none; mask-image: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
