/* Startseite. Eigenes Stylesheet, damit die Unterseiten mit styles.css unverändert bleiben.
   Saira und Geist lokal ausgeliefert (SIL Open Font License 1.1), kein Aufruf an Google. */

@font-face {
  font-family: "Saira";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/saira-600-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: "Saira";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/saira-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/geist-var-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: "Geist";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/geist-var-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* Markenfarben */
  --forest: #123f2c;
  --forest-deep: #0b2f20;
  --green: #237d50;
  --green-light: #9bd37c;
  --sand: #e3d0af;
  --sand-light: #f1e9dc;
  --sage: #e8efe9;
  --paper: #f7f5ef;
  --white: #ffffff;
  --ink: #1d2923;
  --muted: #5c665f;
  --sky: #37aee2; /* nur Fokus */
  --logo-black: #000000; /* Logo, Originaldatei */
  --logo-green: #0e804b; /* Logo, Originaldatei */

  /* Rollen */
  --bg: var(--paper);
  --accent: var(--green);
  --paper-soft: rgba(247, 245, 239, 0.76);

  /* Fünf Schriftgrößen */
  --fs-display: clamp(34px, 6.2vw, 100px);
  --fs-heading: clamp(30px, 3.3vw, 48px);
  --fs-lead: clamp(19px, 1.45vw, 22px);
  --fs-body: 17px;
  --fs-small: 15px;

  --font-text: "Geist", "Segoe UI", Helvetica, Arial, sans-serif;
  --font-display: "Saira", "Geist", "Segoe UI", sans-serif;

  /* Abstände: eine Skala auf 4er-Basis */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 40px;
  --s-8: 48px;
  --s-9: 56px;
  --s-10: 64px;
  --s-11: 72px;
  --s-12: 96px;

  /* Raster. Der Außenrand wächst ab 1760px Inhaltsbreite mit, damit Text und Bilder auf
     sehr breiten Bildschirmen beieinander bleiben; Vollbreiten-Fotos laufen weiter bis zum Rand.
     Im Querformat schützt er Inhalte vor Notch und abgerundeten Ecken. */
  --m: max(clamp(20px, 2.2vw, 32px), env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px), calc((100vw - 1760px) / 2));
  --g: clamp(16px, 1.6vw, 24px);
  --sec: clamp(96px, 9vw, 136px);
  --bar: 76px;

  /* Bewegung: kein Element länger als 750 ms */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1); /* Öffnungen: das Rolltor der Halle */
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 240ms;
}

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

html {
  scrollbar-color: var(--forest) var(--sand-light);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--bar) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

img,
video,
svg {
  display: block;
  max-width: 100%;
}

picture {
  display: block;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

/* Telefonnummern und Kennzahlen mit gleich breiten Ziffern */
a[href^="tel:"],
.facts dd {
  font-variant-numeric: tabular-nums;
}

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

::selection {
  background: var(--green-light);
  color: var(--forest-deep);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: var(--m);
  top: -80px;
  z-index: 100;
  padding: var(--s-3) var(--s-4);
  background: var(--paper);
  color: var(--forest-deep);
  font-weight: 600;
}

.skip-link:focus {
  top: 12px;
}

.display {
  font-size: var(--fs-display);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.heading {
  font-size: var(--fs-heading);
  line-height: 1.04;
  letter-spacing: -0.02em;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
}

/* Text-Links: dicke Unterstreichung, kein Pfeil */
.lead a,
.service-text a,
.work-all,
.about-link,
.faq-route,
.contact-card p a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  text-decoration-color: var(--green);
  transition: text-underline-offset var(--t-hover) ease, color var(--t-hover) ease;
}

.lead a:hover,
.service-text a:hover,
.work-all:hover,
.about-link:hover,
.faq-route:hover,
.contact-card p a:hover {
  color: var(--green);
  text-underline-offset: 8px;
}

/* Buttons: eckig, eine Füllung */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 var(--s-5);
  border: 0;
  background: var(--accent);
  color: var(--white);
  font: 600 var(--fs-body) / 1 var(--font-text);
  text-decoration: none;
  cursor: pointer;
  transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-hover) var(--ease-out);
}

.button:hover {
  background: var(--forest);
}

@media (hover: hover) {
  .button:hover {
    transform: translateY(-1px);
  }
}

.button:active {
  transform: translateY(1px);
  transition-duration: var(--t-press);
}

.button-light {
  background: var(--white);
  color: var(--forest-deep);
}

.button-light:hover {
  background: var(--green-light);
  color: var(--forest-deep);
}

.button-full {
  width: 100%;
}

.button:disabled {
  opacity: 0.6;
  cursor: progress;
}

/* ---------- Kopfleiste ---------- */

/* „Anrufen“ (Link) und „Menü“ (Button) nach demselben Modell: beide inline-flex und vertikal
   zentriert. Ein Button mit display:block verlässt sich auf die Zentrierung des Browsers, und
   die fällt je nach Browser unterschiedlich aus; dann stünde „Menü“ tiefer als „Anrufen“. */
.menu-button,
.top-call {
  display: none;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 0 var(--s-1);
  border: 0;
  background: none;
  color: inherit;
  font: 600 var(--fs-body) / 1 var(--font-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  -webkit-appearance: none;
  appearance: none;
}

.menu-button {
  cursor: pointer;
}

@media (prefers-reduced-motion: no-preference) {
  .menu {
    transition: opacity var(--t-ui) ease, translate var(--t-ui) var(--ease-out), display var(--t-ui) allow-discrete;
  }

  .menu[hidden] {
    opacity: 0;
    translate: 0 -12px;
    transition-duration: 160ms;
  }

  @starting-style {
    .menu:not([hidden]) {
      opacity: 0;
      translate: 0 -12px;
    }
  }
}

.menu-close {
  min-height: 44px;
  border: 0;
  background: none;
  color: inherit;
  font: 600 var(--fs-body) / 1 var(--font-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  cursor: pointer;
}

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

.hero {
  position: relative;
  min-height: 560px;
  height: 100svh;
  color: var(--white);
  overflow: hidden;
  background: var(--forest-deep);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--forest-deep);
}

/* Film anhalten / abspielen: Bewegung über fünf Sekunden braucht einen Schalter (WCAG 2.2.2) */
.hero-toggle {
  position: absolute;
  right: var(--m);
  bottom: clamp(28px, 4vh, 48px);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--white);
  cursor: pointer;
  transition: background-color var(--t-hover) ease;
}

.hero-toggle[hidden] {
  display: none;
}

.hero-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
}

.hero-toggle svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-toggle .icon-play,
.hero-toggle.is-paused .icon-pause {
  display: none;
}

.hero-toggle.is-paused .icon-play {
  display: block;
  fill: currentColor;
}

/* neutrale Abdunklung nur hinter der Schrift: oben die Navigation, unten der Name */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  z-index: 1;
  pointer-events: none;
}

.hero::before {
  height: 180px;
  background: linear-gradient(rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0)); /* taste-skill-ignore: neutraler Scrim unter der Navigation */
}

.hero::after {
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.66), rgba(0, 0, 0, 0.3) 52%, rgba(0, 0, 0, 0)); /* taste-skill-ignore: neutraler Scrim unter dem Namen */
}

.hero-text {
  position: absolute;
  inset: auto var(--m) clamp(28px, 4vh, 48px);
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g);
  align-items: end;
}

.hero h1 {
  grid-column: 1 / 8;
}

.hero-side {
  grid-column: 9 / 13;
  display: grid;
  gap: var(--s-5);
  padding-bottom: var(--s-2);
}

.hero-side p {
  max-width: 34ch;
  font-size: var(--fs-lead);
  line-height: 1.4;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-3) var(--s-5);
}

.hero-phone {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
  white-space: nowrap;
}

/* ---------- Die Halle ---------- */

.hall {
  padding-top: var(--sec);
}

.hall-head {
  position: relative;
  padding: 0 var(--m);
}

.hall-head h2 {
  max-width: 14ch;
  color: var(--forest-deep);
}

.hall-captions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 320px));
  gap: var(--s-5) var(--s-8);
  margin-top: var(--s-7);
}

/* das Live-Element: größer als die anderen Bildunterschriften */
.weather {
  color: var(--forest-deep);
  font-size: var(--fs-lead);
  line-height: 1.35;
}

.weather span,
.weather strong {
  display: block;
}

.weather strong {
  color: var(--green);
}

.hall-pano {
  position: relative;
  margin-top: var(--s-9);
  aspect-ratio: 21 / 9;
  overflow: clip;
  background: var(--forest);
}

.hall-pano picture,
.hall-pano img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hall-pano img {
  object-fit: cover;
}

.hall-pano picture {
  opacity: 0;
  transition: opacity 700ms ease;
}

.hall-pano picture.is-active {
  opacity: 1;
}

.hall-pano picture:nth-child(2) img {
  object-position: 50% 30%;
}

/* ---------- Leistungen ---------- */

.services {
  padding: var(--sec) var(--m) 0;
}

.services-head,
.service-row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g);
}

.services-head {
  align-items: end;
  padding-bottom: var(--s-11);
}

.services-head h2 {
  grid-column: 1 / 8;
  color: var(--forest-deep);
}

.services-head .lead {
  grid-column: 9 / 13;
}

.service-rows {
  display: grid;
  gap: clamp(var(--s-9), 5vw, var(--s-11));
}

.service-row {
  grid-template-rows: auto auto;
  align-content: center;
  align-items: end;
  row-gap: var(--s-5);
}

.service-row h3 {
  grid-column: 1 / 6;
  grid-row: 1;
  color: var(--forest-deep);
}

.service-text {
  grid-column: 1 / 6;
  grid-row: 2;
  display: grid;
  gap: var(--s-4);
  max-width: 46ch;
  align-self: start;
}

.service-text a {
  justify-self: start;
}

.service-photo {
  grid-column: 7 / 13;
  grid-row: 1 / 3;
  justify-self: start;
  overflow: clip;
}

.service-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* bewusst ungleich: hoch, breit, quadratisch */
.shape-tall {
  width: min(100%, 560px);
  aspect-ratio: 5 / 4;
}

.shape-wide {
  width: min(100%, 620px);
  aspect-ratio: 3 / 2;
}

.shape-square {
  width: min(100%, 530px);
  aspect-ratio: 4 / 3;
}

.service-row:nth-child(even) h3,
.service-row:nth-child(even) .service-text {
  grid-column: 8 / 13;
}

.service-row:nth-child(even) .service-photo {
  grid-column: 1 / 7;
  justify-self: start;
}

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

.steps {
  padding-top: var(--sec);
}

.steps-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--s-5);
  padding: 0 var(--m);
}

.steps-head h2 {
  color: var(--forest-deep);
}

.steps-hint {
  display: none;
}

.steps-nav {
  display: flex;
  gap: var(--s-2);
}

.steps-count {
  display: none;
}

.square-button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: var(--forest);
  color: var(--white);
  cursor: pointer;
  transition: background-color var(--t-hover) ease, transform var(--t-press) var(--ease-out), opacity var(--t-hover) ease;
}

.square-button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.square-button:hover {
  background: var(--green);
}

.square-button:active {
  transform: scale(0.94);
}

.square-button:disabled {
  opacity: 0.3;
  cursor: default;
}

.steps-progress {
  height: 6px;
  margin: var(--s-6) var(--m) 0;
  background: var(--sand);
}

.steps-progress span {
  display: block;
  height: 100%;
  background: var(--forest);
  transform-origin: left;
  transform: scaleX(var(--p, 0.34));
}

.steps-row {
  display: flex;
  gap: var(--s-6);
  margin: 0 var(--m);
  padding: var(--s-7) 0 var(--s-2);
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}

.steps-row::-webkit-scrollbar {
  display: none;
}

.steps-row.is-dragging {
  scroll-snap-type: none;
  cursor: grabbing;
}

.step {
  flex: 0 0 clamp(260px, 20.5vw, 320px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
}

.step h3 {
  font-size: var(--fs-lead);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--forest-deep);
}

.step p {
  margin-top: var(--s-3);
}

.step picture {
  margin-top: var(--drop, var(--s-10));
  aspect-ratio: 4 / 5;
  overflow: clip;
}

.step img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  -webkit-user-drag: none;
}

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

.work {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g);
  padding: var(--sec) var(--m) 0;
}

.work-head {
  grid-row: 1;
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-5);
  padding-bottom: var(--s-9);
}

.work-head h2 {
  color: var(--forest-deep);
}

.work-item {
  margin: 0;
}

.work-item picture {
  overflow: clip;
}

.work-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-name {
  margin-bottom: var(--s-3);
  color: var(--muted);
  font-size: var(--fs-small);
  font-weight: 600;
}

.work-desc {
  max-width: 44ch;
  margin-top: var(--s-3);
}

.work-item:nth-of-type(1) {
  grid-row: 2;
}

.work-item:nth-of-type(2) {
  grid-row: 2;
}

.work-remark {
  grid-row: 3;
}

.work-item:nth-of-type(3) {
  grid-row: 3;
}

.work-item:nth-of-type(4) {
  grid-row: 5;
}

.place-left {
  grid-column: 1 / 7;
}

.place-left picture {
  aspect-ratio: 3 / 2;
}

.place-right {
  grid-column: 10 / 13;
  margin-top: var(--s-8);
}

.place-right picture {
  aspect-ratio: 4 / 5;
}

.work-item:nth-of-type(2) picture {
  aspect-ratio: 1200 / 2373;
}

.place-inset {
  grid-column: 6 / 13;
  margin-top: var(--s-9);
}

.place-inset picture {
  aspect-ratio: 16 / 9;
}

.work-remark {
  grid-column: 1 / 5;
  align-self: center;
  max-width: 24ch;
  color: var(--forest-deep);
  font: 600 var(--fs-lead) / 1.3 var(--font-display);
}

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

.about {
  padding: var(--sec) var(--m) 0;
}

.about-head h2 {
  max-width: 18ch;
  color: var(--forest-deep);
}

.about-head .lead {
  max-width: 52ch;
  margin-top: var(--s-5);
}

.about-tiles {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--s-4);
  margin-top: var(--s-11);
  align-items: start;
}

.about-photo {
  position: relative;
  grid-column: 1 / 9;
  aspect-ratio: 16 / 10;
}

.about-photo picture,
.about-photo img {
  width: 100%;
  height: 100%;
}

.about-photo img {
  object-fit: cover;
}

/* unten rechts, auf den Holzstapeln: oben würde der Block Gesichter verdecken */
.about-quote {
  position: absolute;
  bottom: 0;
  right: 0;
  width: min(360px, 52%);
  margin: 0;
  padding: var(--s-5) var(--s-5) var(--s-5);
  background: var(--paper);
}

.about-quote p:first-child {
  color: var(--forest-deep);
  font: 600 var(--fs-lead) / 1.25 var(--font-display);
}

.about-quote-text {
  margin-top: var(--s-3);
}

.about-side {
  grid-column: 9 / 13;
  display: grid;
  min-width: 0;
  gap: var(--s-5);
}

.region {
  position: relative;
  min-width: 0;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--forest-deep);
  color: var(--paper);
}

.region-poster,
.region-map,
.region-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.region-poster {
  object-fit: cover;
  opacity: 0.57;
}

.region::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 27, 19, 0.82), rgba(7, 27, 19, 0.22));
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.region.is-map-ready::after {
  opacity: 0;
}

.region-intro {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: var(--s-4);
  padding: clamp(24px, 6%, 48px);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.region.is-map-ready .region-intro {
  opacity: 0;
  visibility: hidden;
}

/* gleicher Abstand zur Überschrift wie die Eyebrows der Unterseiten (24–32px inklusive Flex-Lücke) */
.region-eyebrow {
  margin-bottom: clamp(14px, 1.2vw, 16px);
  font-size: var(--fs-small);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-light);
}

.region-intro strong {
  font: 600 clamp(24px, 2.7vw, 38px) / 1.12 var(--font-display);
  text-wrap: balance;
}

.region-load {
  border: 0;
  padding: 11px 15px;
  background: var(--green-light);
  color: var(--forest-deep);
  font: 600 var(--fs-small) / 1.2 var(--font-text);
  text-decoration: none;
  cursor: pointer;
}

button.region-load {
  display: none;
}

.js button.region-load {
  display: inline-block;
}

.region-load:hover {
  background: var(--paper);
}

.region-consent {
  max-width: 23em;
  font-size: 12px;
  line-height: 1.4;
}

.region-map {
  z-index: 1;
  opacity: 0;
  transition: opacity 0.6s ease;
}

.region-map iframe {
  border: 0;
  pointer-events: none;
}

.region.is-map-ready .region-map {
  opacity: 1;
}

.region.is-map-interactive .region-map iframe {
  pointer-events: auto;
}

.region.is-map-ready .region-map iframe {
  animation: region-map-arrive 1.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

@media (max-width: 700px) {
  .region {
    aspect-ratio: auto;
    height: clamp(280px, 70vw, 380px);
  }

  .region-intro {
    gap: 10px;
    padding: 20px;
  }
}

@keyframes region-map-arrive {
  from { transform: scale(1.15) translate(2%, -2%); }
  to { transform: scale(1) translate(0, 0); }
}

.facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4) var(--s-4);
  margin: 0;
  padding: var(--s-5);
  background: var(--sage);
}

.facts dt {
  color: var(--muted);
  font-size: var(--fs-small);
}

.facts dd {
  margin: 2px 0 0;
  color: var(--forest-deep);
  font: 600 var(--fs-lead) / 1.2 var(--font-display);
}

.about-link {
  justify-self: start;
}

/* ---------- Kundenstimmen ---------- */

.voices {
  margin-top: var(--sec);
  padding: var(--sec) var(--m) 0;
  background: var(--forest);
  color: var(--paper);
  overflow: hidden;
}

.voices h2 {
  max-width: 16ch;
}

.slips {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 520px;
  padding-top: var(--s-10);
  padding-bottom: var(--s-11);
}

/* Halter: angeheftet an der Oberkante. Schräglage, Wackeln (--sway aus home.js) und der weiche
   Schatten sitzen hier; drop-shadow folgt der Reißkante des Papiers, box-shadow würde abgeschnitten. */
.slip-pin {
  position: relative;
  display: flex;
  flex: 0 0 clamp(280px, 25vw, 360px);
  margin: 0 0 0 -40px;
  transform-origin: 50% 0;
  rotate: calc(var(--rot) + var(--sway, 0deg));
  translate: var(--sway-x, 0px) 0;
  perspective: 1100px;
  touch-action: manipulation;
  filter: drop-shadow(0 14px 16px rgba(3, 20, 12, 0.34)) drop-shadow(0 2px 3px rgba(3, 20, 12, 0.22));
  transition: filter 420ms ease;
}

/* Papier */
.slip {
  --slip-edge: polygon(0% 0, 3.571% 9px, 7.143% 0, 10.714% 9px, 14.286% 0, 17.857% 9px, 21.429% 0, 25% 9px, 28.571% 0, 32.143% 9px, 35.714% 0, 39.286% 9px, 42.857% 0, 46.429% 9px, 50% 0, 53.571% 9px, 57.143% 0, 60.714% 9px, 64.286% 0, 67.857% 9px, 71.429% 0, 75% 9px, 78.571% 0, 82.143% 9px, 85.714% 0, 89.286% 9px, 92.857% 0, 96.429% 9px, 100% 0, 100% 100%, 96.429% calc(100% - 9px), 92.857% 100%, 89.286% calc(100% - 9px), 85.714% 100%, 82.143% calc(100% - 9px), 78.571% 100%, 75% calc(100% - 9px), 71.429% 100%, 67.857% calc(100% - 9px), 64.286% 100%, 60.714% calc(100% - 9px), 57.143% 100%, 53.571% calc(100% - 9px), 50% 100%, 46.429% calc(100% - 9px), 42.857% 100%, 39.286% calc(100% - 9px), 35.714% 100%, 32.143% calc(100% - 9px), 28.571% 100%, 25% calc(100% - 9px), 21.429% 100%, 17.857% calc(100% - 9px), 14.286% 100%, 10.714% calc(100% - 9px), 7.143% 100%, 3.571% calc(100% - 9px), 0% 100%);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  margin: 0;
  padding: var(--s-8) var(--s-6) var(--s-7);
  background: var(--paper);
  color: var(--ink);
  clip-path: var(--slip-edge);
}

/* Für die Dauer des Einblendens: Streifen, die sich wie Papier wölben (home.js) */
.slip-rig {
  position: absolute;
  inset: 0 0 auto;
  transform-style: preserve-3d;
  pointer-events: none;
}

.slip-rig-joint {
  position: absolute;
  left: 0;
  width: 100%;
  transform-origin: 50% 0;
  transform-style: preserve-3d;
}

.slip-rig-face {
  position: absolute;
  inset: 0 0 auto;
  overflow: hidden;
  backface-visibility: hidden;
}

.slip-rig-back {
  position: absolute;
  inset: 0 0 auto;
  background: var(--sand-light);
  transform: rotateX(180deg);
  backface-visibility: hidden;
}

.slips-hint {
  margin-top: var(--s-4);
  color: var(--paper-soft);
  font-size: var(--fs-small);
}

.slips-shake {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--paper);
  font: 600 var(--fs-small) / 1.3 var(--font-text);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
  cursor: pointer;
}

.slip-pin:first-child {
  margin-left: 0;
}

.slip-a {
  --rot: -4deg;
  min-height: 340px;
  margin-top: var(--s-5);
}

.slip-b {
  --rot: 2deg;
  min-height: 370px;
  z-index: 1;
}

.slip-c {
  --rot: 5deg;
  min-height: 350px;
  margin-top: var(--s-7);
}

.slip blockquote {
  margin: 0;
  font-size: var(--fs-lead);
  line-height: 1.4;
}

.slip figcaption {
  color: var(--forest);
  font-weight: 700;
}

/* ---------- Jobs ---------- */

.jobs-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 40svh;
  min-height: 300px;
}

.jobs-strip picture,
.jobs-strip img {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.jobs-strip img {
  object-fit: cover;
}

.jobs-strip picture:first-child img {
  object-position: 50% 22%;
}

.jobs-band {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g);
  row-gap: var(--s-9);
  align-items: start;
  min-height: 420px;
  margin-top: -56px;
  margin-left: clamp(20px, 6vw, 104px);
  padding: clamp(40px, 6vw, 88px) var(--m) clamp(40px, 5vw, 72px) clamp(28px, 5vw, 80px);
  background: var(--forest-deep);
  color: var(--paper);
}

.jobs-copy {
  grid-column: 1 / 7;
  display: grid;
  gap: var(--s-6);
}

.jobs-copy .heading {
  max-width: 11ch;
  color: var(--green-light);
  font-size: clamp(40px, 4.5vw, 72px);
  line-height: 0.98;
}

.jobs-copy p {
  max-width: 42ch;
  color: var(--paper-soft);
}

.jobs-link {
  grid-column: 1 / 7;
  justify-self: start;
  align-self: end;
  display: inline-flex;
  align-items: center;
  padding: 16px 20px;
  background: var(--green-light);
  color: var(--forest-deep);
  font: 600 var(--fs-body) / 1.2 var(--font-text);
  text-decoration: none;
  transition: background var(--t-hover) ease;
}

.jobs-link:hover {
  background: var(--paper);
}

.jobs-list {
  grid-column: 8 / 13;
  grid-row: 1 / 3;
  display: grid;
  align-self: stretch;
  align-content: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.jobs-list li {
  display: grid;
  grid-template-columns: minmax(100px, 0.35fr) minmax(0, 1fr);
  gap: var(--s-4);
  align-items: baseline;
  padding: var(--s-5) 0;
  border-top: 1px solid rgba(247, 245, 239, 0.3);
}

.jobs-list li:last-child {
  border-bottom: 1px solid rgba(247, 245, 239, 0.3);
}

.jobs-list span {
  color: var(--green-light);
  font-size: var(--fs-small);
}

.jobs-list strong {
  font: 600 var(--fs-lead) / 1.25 var(--font-display);
}

@media (max-width: 900px) {
  .jobs-band {
    display: flex;
    flex-direction: column;
    gap: var(--s-5);
    min-height: 0;
    margin-top: -40px;
    margin-left: var(--m);
    padding: var(--s-8) var(--m) var(--s-9) var(--s-6);
  }

  .jobs-copy {
    gap: var(--s-5);
  }

  .jobs-copy .heading {
    font-size: clamp(38px, 6vw, 56px);
  }

  .jobs-list {
    width: 100%;
  }

  .jobs-link {
    align-self: stretch;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .jobs-band {
    padding: var(--s-8) var(--m) var(--s-8) var(--s-5);
  }

  .jobs-list li {
    grid-template-columns: minmax(86px, 0.45fr) minmax(0, 1fr);
    gap: var(--s-3);
    padding: var(--s-4) 0;
  }

  .jobs-list strong {
    font-size: 18px;
  }
}

@media (max-width: 360px) {
  .jobs-copy .heading {
    font-size: 32px;
  }
}

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--g);
  margin-top: var(--sec);
  padding: var(--sec) var(--m);
  background: var(--sage);
}

.faq-copy {
  grid-column: 1 / 7;
  display: grid;
  align-content: start;
  gap: var(--s-6);
}

.faq-copy h2 {
  max-width: 16ch;
  color: var(--forest-deep);
}

.faq-facts {
  display: grid;
  gap: var(--s-1);
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: var(--fs-lead);
}

.faq-facts a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
}

.faq-facts a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.faq-list {
  display: grid;
  gap: 0;
}

.faq-list details {
  border-bottom: 1px solid rgba(11, 47, 32, 0.24);
}

.faq-list details:first-child {
  border-top: 1px solid rgba(11, 47, 32, 0.24);
}

.faq-list summary {
  position: relative;
  display: block;
  padding: var(--s-5) var(--s-8) var(--s-5) 0;
  color: var(--forest-deep);
  font-size: var(--fs-lead);
  font-weight: 600;
  line-height: 1.35;
  list-style: none;
  cursor: pointer;
  transition: color var(--t-hover) ease;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

/* Hover auf Sand: Grün trägt dort nur 4.2:1, deshalb Unterstreichung statt Farbwechsel */
.faq-list summary:hover {
  text-decoration: underline;
  text-decoration-color: var(--green);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

/* Chevron aus zwei 2px-Strichen */
.faq-list summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--t-ui) var(--ease-out);
}

.faq-list details[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
}

.faq-list details p {
  max-width: 56ch;
  padding: 0 0 var(--s-4);
}

.faq-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4) var(--s-6);
}

.faq-media {
  position: relative;
  grid-column: 8 / 13;
  align-self: start;
  margin-top: calc(-1 * var(--sec) - var(--s-10));
}

.faq-image {
  display: block;
  width: min(100%, 440px);
  aspect-ratio: 4 / 5;
  margin-left: auto;
  overflow: clip;
  background: var(--forest);
}

.faq-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}

.faq-square {
  position: absolute;
  left: 0;
  bottom: -40px;
  width: 42%;
  aspect-ratio: 1;
  overflow: clip;
}

.faq-square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Anfrage ---------- */

.contact {
  position: relative;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  min-height: 100svh;
  padding: var(--s-10) var(--m);
  background: var(--forest);
}

.contact-photo,
.contact-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.contact-photo img {
  object-fit: cover;
  object-position: 50% 60%;
}

.contact-card {
  position: relative;
  width: min(560px, 100%);
  padding: var(--s-7) var(--s-6) var(--s-6);
  background: var(--paper);
}

.contact-card h2 {
  color: var(--forest-deep);
}

.contact-card > p {
  margin-top: var(--s-4);
}

.form {
  display: grid;
  gap: var(--s-4);
  margin-top: var(--s-5);
}

.form label {
  display: grid;
  gap: var(--s-2);
  font-size: var(--fs-small);
  font-weight: 600;
}

.form input:not([type="checkbox"]),
.form select,
.form textarea {
  width: 100%;
  min-height: 50px;
  padding: var(--s-3) var(--s-4);
  border: 1px solid #6f7873;
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 var(--fs-body) / 1.4 var(--font-text);
  transition: border-color var(--t-hover) ease;
}

.form input:not([type="checkbox"]):hover,
.form select:hover,
.form textarea:hover {
  border-color: var(--forest);
}

.form textarea {
  resize: vertical;
}

.form-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-4);
}

.form-hint {
  margin-top: -6px;
  color: var(--muted);
  font-size: var(--fs-small);
}

.form .consent {
  grid-template-columns: 22px 1fr;
  gap: var(--s-3);
  align-items: start;
  font-weight: 400;
  line-height: 1.45;
}

.consent input {
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--green);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px; /* taste-skill-ignore: unsichtbares Spamfeld, keine Linie */
  opacity: 0;
}

.form-status:empty {
  display: none;
}

.form-status {
  font-weight: 600;
  color: var(--forest);
}

/* ---------- Holzspan ---------- */

.wood {
  position: absolute;
  z-index: 3;
  width: clamp(150px, 20vw, 300px);
  padding: 0;
  border: 0;
  background: none;
  cursor: grab;
  opacity: 0.8;
  touch-action: none;
  transform: translate(var(--offset-x, 0px), var(--offset-y, 0px)) rotate(var(--rot, 3deg));
  transition: transform 720ms var(--ease-out);
}

.wood.is-dragging {
  cursor: grabbing;
  transition: none;
}

.wood img {
  width: 100%;
  height: auto;
  pointer-events: none;
}

.wood-hall {
  right: var(--m);
  top: -48px;
  --rot: -3deg;
}

.wood-work {
  grid-row: 5;
  grid-column: 2 / 5;
  position: relative;
  align-self: center;
  justify-self: start;
  --rot: 4deg;
}

/* ---------- Bewegung ---------- */

@media (prefers-reduced-motion: no-preference) {
  /* Das eine Material der Seite: Bilder öffnen sich von unten wie das Rolltor der Halle.
     Nie ganz zu, damit nichts leer bleibt, falls ein Abschnitt übersprungen wird.
     Text erscheint an Ort und Stelle; nur echte Listen (Ablauf, Kundenstimmen) setzen sich nacheinander. */
  html.js .hall-pano {
    clip-path: inset(0 0 38% 0);
  }

  html.js .hall-pano.is-open {
    clip-path: inset(0);
    transition: clip-path 750ms var(--ease-expo);
  }

  html.js [data-group] picture[data-r],
  html.js [data-group] video[data-r],
  html.js .about-photo[data-r] {
    clip-path: inset(0 0 16% 0);
  }

  html.js .step[data-r] {
    translate: 0 24px;
  }

  /* Kundenstimmen: home.js wölbt die Zettel beim Einblenden wie Papier (.slip-rig).
     Vorbereitet wird erst kurz vor dem Bild (.is-armed), damit nie ein leerer Abschnitt bleibt.
     Während der Wölbung kein Filter am Halter, sonst würde der 3D-Raum flachgedrückt;
     der Schatten blendet ein, wenn das Papier aufliegt. */
  .slips.is-armed .slip-pin:not(.is-landed) > .slip {
    opacity: 0;
  }

  .slips.is-armed .slip-pin:not(.is-landed),
  .slip-pin.is-curling {
    filter: none;
  }

  html.js [data-group].is-in [data-r] {
    clip-path: inset(0);
    translate: 0 0;
    transition: clip-path 720ms var(--ease-expo), translate 600ms var(--ease-out);
    transition-delay: calc(min(var(--i, 0), 5) * 70ms);
  }

  /* FAQ: die Antwort klappt auf, statt zu springen */
  :root {
    interpolate-size: allow-keywords;
  }

  .faq-list details::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size var(--t-ui) var(--ease-out), content-visibility var(--t-ui) allow-discrete;
  }

  .faq-list details[open]::details-content {
    block-size: auto;
  }

  /* Live-Daten kommen an: die Wetterzeile blendet weich auf */
  .weather.is-live > * {
    animation: settle 300ms ease both;
  }

  .weather.is-live > strong {
    animation-delay: 90ms;
  }

  .form-status:not(:empty) {
    animation: settle 200ms ease both;
  }

  .wood.is-idle img {
    animation-play-state: paused;
  }

  .hero-video {
    animation: hero-settle 720ms var(--ease-out) both;
  }

  .hero [data-load] {
    animation: rise 720ms var(--ease-out) both;
  }

  .hero .hero-side[data-load] {
    animation-delay: 120ms;
  }

  .wood img {
    animation: wood-float 9s ease-in-out infinite alternate;
  }

  .step img,
  .service-photo img,
  .work-item img,
  .jobs-strip img {
    transition: transform 650ms var(--ease-out);
  }

}

@media (prefers-reduced-motion: no-preference) and (hover: hover) {
  .step:hover img,
  .service-row:hover .service-photo img,
  .work-item:hover img,
  .jobs-strip picture:hover img {
    transform: scale(1.03);
  }
}

@keyframes hero-settle {
  from {
    transform: scale(1.07);
  }
  to {
    transform: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes settle {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes wood-float {
  from {
    transform: translateY(-8px) rotate(-2deg);
  }
  to {
    transform: translateY(8px) rotate(3deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

/* ---------- Tablet ---------- */

@media (max-width: 1080px) {
  .hero h1 {
    grid-column: 1 / -1;
  }

  .hero-side {
    grid-column: 1 / 9;
    margin-top: var(--s-5);
  }

  .hall-captions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-head h2 {
    grid-column: 1 / -1;
  }

  .services-head .lead {
    grid-column: 1 / 10;
    margin-top: var(--s-5);
  }

  .about-photo {
    grid-column: 1 / -1;
  }

  .about-side {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    margin-top: var(--s-4);
  }

  .about-link {
    grid-column: 1 / -1;
  }

  .faq-copy {
    grid-column: 1 / 8;
  }

  .faq-media {
    grid-column: 8 / 13;
  }

}

/* ---------- Telefon ---------- */

@media (max-width: 860px) {
  :root {
    --bar: 64px;
    --fs-display: clamp(28px, 9vw, 64px);
  }

  .menu-button {
    display: inline-flex;
    grid-column: 3;
  }

  /* auf dem Telefon füllt die Handlungszeile die Breite: Schalter oben rechts unter die Kopfleiste */
  .hero-toggle {
    top: calc(var(--bar) + var(--s-2));
    bottom: auto;
  }

.hero::after {
    height: 70%;
  }

  .hero-side {
    grid-column: 1 / -1;
  }

  .hall-head h2 {
    max-width: none;
  }

  .hall-captions {
    grid-template-columns: 1fr;
    gap: var(--s-4);
    max-width: 44ch;
  }

  .hall-pano {
    aspect-ratio: 4 / 5;
    margin-top: var(--s-7);
  }

  .wood-hall {
    display: none;
  }

  .services-head .lead {
    grid-column: 1 / -1;
  }

  .service-text {
    grid-column: 1 / -1;
    grid-row: auto;
    max-width: none;
  }

  .service-row,
  .service-row:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    row-gap: var(--s-4);
  }

  .service-row h3,
  .service-row:nth-child(even) h3,
  .service-row:nth-child(even) .service-text {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  .service-photo,
  .service-row:nth-child(even) .service-photo,
  .shape-wide {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: var(--s-3);
  }

  .service-photo,
  .shape-tall,
  .shape-wide,
  .shape-square {
    width: 100%;
    max-width: none;
    aspect-ratio: 4 / 3;
    justify-self: stretch;
  }

  .service-rows {
    gap: var(--s-7);
  }

  .steps-nav {
    display: none;
  }

  .steps-head {
    display: block;
  }

  .steps-hint {
    display: block;
    margin-top: var(--s-3);
    color: var(--muted);
    font-size: var(--fs-small);
  }

  .step {
    flex-basis: min(72vw, 320px);
  }

  .step picture {
    margin-top: calc(var(--drop, var(--s-10)) * 0.4);
  }

  .steps-row {
    gap: var(--s-4);
  }

  .work {
    display: block;
  }

  .work-head {
    flex-direction: column;
    gap: var(--s-4);
  }

  .work-item,
  .place-inset,
  .work-item:nth-of-type(4) {
    margin-top: var(--s-11);
  }

  .place-left {
    width: 100%;
  }

  .place-right {
    width: 68%;
    margin-left: auto;
  }

  .place-inset {
    width: 82%;
  }

  .work-remark {
    max-width: none;
    margin-top: var(--s-11);
  }

  .work-head + .work-item {
    margin-top: 0;
  }

  .wood-work {
    display: none;
  }

  .about-quote {
    position: static;
    width: auto;
    padding: var(--s-5) 0 0;
    background: none;
  }

  .about-photo {
    aspect-ratio: auto;
  }

  .about-photo picture {
    aspect-ratio: 4 / 3;
  }

  .about-side {
    grid-template-columns: minmax(0, 1fr);
    margin-top: var(--s-6);
  }

  .slips {
    flex-direction: column;
    align-items: stretch;
    height: auto;
    min-height: 0;
    padding: var(--s-7) 0 var(--s-9);
  }

  .slip-pin {
    flex: none;
    width: 82%;
    min-height: 0;
    margin: -24px 0 0;
  }

  .slip-a {
    --rot: -2deg;
    margin-top: 0;
  }

  .slip-b {
    --rot: 2.5deg;
    align-self: flex-end;
  }

  .slip-c {
    --rot: -2deg;
    min-height: 0;
    margin-bottom: 0;
  }

  .jobs-strip {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    height: auto;
  }

  .jobs-strip picture:first-child {
    grid-column: 1 / -1;
    aspect-ratio: 4 / 3;
  }

  .jobs-strip picture:not(:first-child) {
    aspect-ratio: 1;
  }

  .faq {
    display: flex;
    flex-direction: column;
    padding-top: var(--s-11);
  }

  .faq-media {
    margin: var(--s-9) 0 var(--s-7);
  }

  .faq-image {
    width: 100%;
    max-height: 80svh;
    aspect-ratio: 4 / 5;
  }

  .faq-square {
    left: auto;
    right: 0;
    width: 38%;
  }

  .faq-actions .button {
    width: 100%;
  }

  .contact {
    display: block;
    min-height: 0;
    padding: 0;
  }

  .contact-photo {
    position: relative;
    height: clamp(300px, 48svh, 500px);
  }

  .contact-photo img {
    position: absolute;
  }

  .contact-card {
    width: auto;
    margin: -80px var(--m) 0;
    padding: var(--s-6) var(--s-5) var(--s-5);
  }

  .form-pair {
    grid-template-columns: 1fr;
  }

}

@media (min-width: 601px) and (max-width: 860px) {
  .service-row,
  .service-row:nth-child(even) {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto;
  }

  .service-row h3,
  .service-row:nth-child(even) h3 {
    grid-column: 1 / 6;
    grid-row: 1;
  }

  .service-text,
  .service-row:nth-child(even) .service-text {
    grid-column: 1 / 6;
    grid-row: 2;
  }

  .service-photo,
  .service-row:nth-child(even) .service-photo,
  .shape-wide {
    grid-column: 7 / 13;
    grid-row: 1 / 3;
    width: min(100%, 400px);
    aspect-ratio: 4 / 3;
    margin-top: 0;
  }

  .service-row:nth-child(even) h3,
  .service-row:nth-child(even) .service-text {
    grid-column: 8 / 13;
  }

  .service-row:nth-child(even) .service-photo {
    grid-column: 1 / 7;
  }
}

@media (min-width: 701px) and (max-width: 860px) {
  .hall-pano {
    aspect-ratio: 16 / 9;
  }

  .work {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-9) var(--g);
  }

  .work-head {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: baseline;
    padding-bottom: 0;
  }

  .work-item,
  .work-item:nth-of-type(1),
  .work-item:nth-of-type(2),
  .work-item:nth-of-type(3),
  .work-item:nth-of-type(4),
  .place-inset {
    grid-column: auto;
    grid-row: auto;
    width: 100%;
    margin: 0;
  }

  .work-remark {
    grid-column: 1 / -1;
    grid-row: auto;
    max-width: 50ch;
    margin: 0;
  }

  .about-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .jobs-strip {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: none;
    height: 40svh;
    min-height: 300px;
  }

  .jobs-strip picture:first-child,
  .jobs-strip picture:not(:first-child) {
    grid-column: auto;
    aspect-ratio: auto;
  }

  .faq {
    display: grid;
    grid-template-columns: repeat(12, minmax(0, 1fr));
    padding-top: var(--sec);
  }

  .faq-media {
    grid-column: 8 / 13;
    margin-top: 0;
  }

  .faq-image {
    width: 100%;
    max-height: none;
    aspect-ratio: 4 / 5;
  }

  .faq-square {
    left: -24px;
    right: auto;
    width: 50%;
  }

  .faq-actions .button {
    width: auto;
  }
}

@media (max-width: 600px) {
  .steps-head {
    display: grid;
    gap: var(--s-5);
  }

  .steps-nav {
    display: flex;
    align-items: center;
    width: 100%;
  }

  .steps-count {
    display: block;
    margin-right: auto;
    color: var(--forest-deep);
    font-size: var(--fs-small);
    font-weight: 700;
  }

  .steps-hint {
    display: none;
  }

  .steps-progress {
    margin-top: var(--s-4);
  }

  .steps-row {
    counter-reset: step;
    padding-top: var(--s-5);
  }

  .step {
    flex-basis: 100%;
    min-width: 0;
    counter-increment: step;
  }

  .step::before {
    content: counter(step, decimal-leading-zero) " / 06";
    margin-bottom: var(--s-2);
    color: var(--green);
    font-size: var(--fs-small);
    font-weight: 700;
  }

  .step picture {
    order: -1;
    margin: 0 0 var(--s-5);
    aspect-ratio: 16 / 10;
  }

  .services-head {
    padding-bottom: var(--s-8);
  }

  .service-photo,
  .shape-tall,
  .shape-wide,
  .shape-square {
    aspect-ratio: 16 / 10;
  }
}

@media (max-width: 480px) {
  .hall-head h2 .br-wide {
    display: none;
  }
}

/* ---------- Kleine Telefone (320–360px) ---------- */

@media (max-width: 360px) {
  :root {
    --fs-heading: 26px;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }
}

/* ---------- Telefon im Querformat: Name und Handlung neben- statt untereinander ---------- */

@media (orientation: landscape) and (max-height: 520px) {
  .hero {
    min-height: 0;
  }

  .hero h1 {
    grid-column: 1 / 7;
    font-size: clamp(28px, 11vh, 56px);
  }

  .hero-side {
    grid-column: 7 / 13;
    gap: var(--s-4);
    margin-top: 0;
  }

  .hero-side p {
    font-size: var(--fs-body);
  }

  .hero::after {
    height: 80%;
  }

  .hall-pano {
    aspect-ratio: 21 / 9;
  }

  .faq-image {
    aspect-ratio: 16 / 9;
  }
}

/* ---------- Touch: Ziele mindestens 44px hoch, ohne das Layout zu verschieben ---------- */

@media (pointer: coarse) {
  .lead a,
  .service-text a,
  .work-all,
  .about-link,
  .faq-route,
  .jobs-link,
  .hero-phone,
  .contact-card p a,
  .faq-facts a,
  .consent a {
    padding-block: var(--s-3);
  }

}

/* ---------- Druck: Inhalt und Kontakt, ohne Bedienelemente ---------- */

@media print {
  .top,
  .menu,
  .wood,
  .steps-nav,
  .steps-progress,
  .faq-media,
  .hall-pano picture:not(.is-active),
  .form,
  .skip-link {
    display: none !important;
  }

  .hero {
    height: auto;
    min-height: 0;
    color: var(--ink);
    background: none;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  .hero-video {
    position: static;
    height: auto;
  }

  .hero-text {
    position: static;
    margin-top: var(--s-5);
  }

  .steps-row {
    flex-wrap: wrap;
    overflow: visible;
  }

  .voices,
  .jobs-band,
  .faq,
  .footer {
    background: none;
    color: var(--ink);
  }

  .slip {
    clip-path: none;
  }

  .slip-pin {
    rotate: none;
    filter: none;
  }

  section,
  figure {
    break-inside: avoid;
  }
}
