/* ============================================================
   Mun & Partner — viewportorientierte Art Direction, 02.09.2026

   Diese Schicht ersetzt die starre 1600-px-Komposition des bestehenden
   Kandidaten. Die alte Datei bleibt vorerst als robuste Basis fuer die
   Unterseiten erhalten; alle neuen Gestaltungsentscheide stehen hier an
   einer Stelle und koennen nach der visuellen Abnahme konsolidiert werden.
   ============================================================ */

:root {
  --rand: clamp(20px, 4.2vw, 92px);
  --kopf-desktop: 92px;
  --kopf-mobil: 72px;
  --t-display: clamp(50px, 5.5vw, 100px);
  --t-gross: clamp(38px, 4.1vw, 72px);
  --t-mittel: clamp(26px, 2.2vw, 38px);
  --t-text: clamp(16px, .25vw + 15px, 19px);
  --abstand: clamp(88px, 9vw, 168px);
}

html { scroll-padding-top: calc(var(--kopf-desktop) + 20px); }
body { overflow-x: clip; }
h1,
h2,
h3 { font-weight: 500; letter-spacing: -.025em; }

.band,
.inhalt {
  width: 100%;
  max-width: none;
  padding-inline: var(--rand);
}

.augenbraue {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  line-height: 1.3;
  text-transform: uppercase;
}

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

.kopfleiste {
  position: absolute;
  inset: 0 0 auto;
  z-index: 80;
  color: var(--anthrazit);
}

.startseite .kopfleiste:not([data-fest="1"]) {
  background: transparent;
  border-bottom-color: transparent;
  box-shadow: none;
}

body:not(.startseite) .kopfleiste,
.startseite .kopfleiste[data-fest="1"] {
  position: fixed;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(30, 58, 43, .11);
  box-shadow: 0 10px 40px rgba(16, 36, 25, .045);
  backdrop-filter: blur(14px);
}

.kopfleiste .zeile {
  height: var(--kopf-desktop);
  grid-template-columns: auto 1fr auto;
  gap: clamp(26px, 3.5vw, 64px);
}

.wortmarke img { width: clamp(178px, 12.4vw, 238px); }

/* Shared full logo: original outlined glyphs, M and gold divider.
   Previous wordmark asset is retained for a reversible visual comparison. */
.wortmarke-hauptlogo img {
  display: block;
  width: clamp(270px, 22vw, 348px);
  height: auto;
}

.hauptnav {
  justify-self: center;
  gap: clamp(24px, 2.4vw, 46px);
}

.hauptnav a {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .015em;
}

.kopf-cta {
  min-height: 50px;
  padding: 13px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 0;
}

.knopf { border-radius: 0; }
.knopf::after {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  color: inherit;
}
.pfeillink {
  width: max-content;
  min-height: 44px;
  padding: 0;
  justify-content: flex-start;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--gruen);
}
.pfeillink .pfeil {
  display: inline;
  width: auto;
  height: auto;
  margin: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
}
.pfeillink:hover { opacity: 1; }

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

.startseite .held {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100svh;
  height: 100dvh;
  max-height: none;
  padding: 0;
  overflow: hidden;
  color: var(--weiss);
  background: var(--gruen-tief);
}

.startseite .held::before,
.startseite .held::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.startseite .held::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, .45) 0, rgba(255, 255, 255, .16) 10%, transparent 24%);
}

.startseite .held::after {
  background:
    radial-gradient(ellipse 92% 76% at 0 100%, rgba(9, 25, 16, .86) 0, rgba(9, 25, 16, .62) 39%, rgba(9, 25, 16, .18) 64%, transparent 82%),
    linear-gradient(0deg, rgba(7, 20, 13, .64) 0, rgba(7, 20, 13, .14) 40%, transparent 66%);
}

.startseite .held-bild,
.startseite .held-bild picture,
.startseite .held-bild img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
}

.startseite .held-bild { z-index: 0; }
.startseite .held-bild img {
  object-fit: cover;
  object-position: 52% 56%;
}

.startseite .held-inhalt {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  display: flex;
  min-height: 0;
  padding: 0 var(--rand) clamp(68px, 8.5vh, 118px);
  flex-direction: column;
  justify-content: flex-end;
  color: var(--weiss);
}

.startseite .held-oberzeile {
  margin: 0 0 clamp(16px, 2vh, 26px);
  color: rgba(255, 255, 255, .88);
  font-size: clamp(11px, .7vw, 13px);
  font-weight: 600;
  letter-spacing: .2em;
}

.startseite .held h1,
.startseite .hero-title {
  width: min(12.6em, 88vw);
  max-width: none;
  margin: 0;
  color: var(--weiss);
  font-size: var(--t-display);
  font-weight: 600;
  letter-spacing: -.045em;
  line-height: .98;
  text-shadow: 0 2px 24px rgba(8, 19, 13, .1);
}

.hero-line {
  display: block;
  overflow: hidden;
  padding-bottom: .08em;
}

.startseite .held-satz {
  max-width: 610px;
  margin-top: clamp(20px, 2.4vh, 30px);
  color: rgba(255, 255, 255, .92);
  font-size: clamp(17px, 1.2vw, 22px);
  line-height: 1.5;
}

.startseite .held-aktionen {
  margin-top: clamp(24px, 3vh, 38px);
  gap: 12px;
}

.startseite .held-aktionen .knopf {
  min-height: 54px;
  padding: 15px 25px;
  border: 1px solid var(--weiss);
  background: var(--weiss);
  color: var(--gruen-tief);
  font-weight: 500;
}

.startseite .held-aktionen .knopf.still {
  background: rgba(14, 34, 23, .1);
  color: var(--weiss);
  backdrop-filter: blur(5px);
}

.startseite .held-aktionen .knopf:hover { background: #f4f2eb; }
.startseite .held-aktionen .knopf.still:hover { background: rgba(255, 255, 255, .14); }

.held-scroll {
  position: absolute;
  right: var(--rand);
  bottom: clamp(34px, 5.5vh, 72px);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, .9);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-decoration: none;
  text-transform: uppercase;
}

.held-scroll i {
  position: relative;
  display: block;
  width: 1px;
  height: 48px;
  overflow: hidden;
  background: rgba(255, 255, 255, .4);
}

.held-scroll i::after {
  position: absolute;
  inset: 0;
  background: var(--weiss);
  content: "";
  transform: translateY(-100%);
  animation: scroll-linie 2.2s 1.4s cubic-bezier(.65, 0, .35, 1) infinite;
}

@keyframes scroll-linie {
  0% { transform: translateY(-100%); }
  45%, 60% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* Hero-Choreografie: Bildruhe + Maskenauftritt, keine globalen Fade-ups. */
.js .startseite .held-bild { opacity: 1; transform: scale(1.035); }
.js.startklar .startseite .held-bild {
  animation: viewport-hero 1.35s cubic-bezier(.2, .72, .2, 1) forwards;
}

.js .hero-line.geteilt .zeichen {
  display: inline-block;
  opacity: 0;
  transform: translateY(108%);
}

.js.startklar .hero-line.geteilt .zeichen {
  animation: zeichen-hoch .72s cubic-bezier(.2, .74, .18, 1) forwards;
  animation-delay: calc(280ms + var(--i) * 18ms);
}

.js .startseite .held-oberzeile,
.js .startseite .held-satz,
.js .startseite .held-aktionen,
.js .held-scroll { opacity: 0; transform: translateY(12px); }

.js.startklar .startseite .held-oberzeile,
.js.startklar .startseite .held-satz,
.js.startklar .startseite .held-aktionen,
.js.startklar .held-scroll {
  animation: viewport-text .65s cubic-bezier(.2, .72, .2, 1) forwards;
}

.js.startklar .startseite .held-oberzeile { animation-delay: .25s; }
.js.startklar .startseite .held-satz { animation-delay: 1.05s; }
.js.startklar .startseite .held-aktionen { animation-delay: 1.2s; }
.js.startklar .held-scroll { animation-delay: 1.35s; }

@keyframes viewport-hero { to { transform: scale(1); } }
@keyframes zeichen-hoch { to { opacity: 1; transform: translateY(0); } }
@keyframes viewport-text { to { opacity: 1; transform: translateY(0); } }

/* ------------------- Aktuelle Angebote ------------------- */

.angebote-neu {
  width: 100%;
  padding-block: var(--abstand);
  overflow: hidden;
  background: var(--weiss);
}

.angebote-kopf {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: clamp(34px, 7vw, 132px);
  align-items: end;
  margin-bottom: clamp(42px, 5vw, 76px);
}

.angebote-kopf h2 {
  max-width: 12ch;
  margin-top: 14px;
  color: var(--gruen-tief);
  font-size: var(--t-gross);
  line-height: 1.02;
}

.angebote-kopf > p {
  max-width: 520px;
  color: var(--sekundaer);
  font-size: clamp(17px, 1.1vw, 21px);
  line-height: 1.55;
}

.angebote-viewport {
  width: 100%;
  padding-inline: var(--rand);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: var(--rand);
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.angebote-viewport::-webkit-scrollbar { display: none; }

.angebote-spur {
  display: flex;
  width: max-content;
  gap: clamp(18px, 2vw, 34px);
}

.angebote-spur > .o-leer {
  width: min(760px, calc(100vw - 2 * var(--rand)));
  margin-block: clamp(24px, 4vw, 56px);
}

.angebote-neu:not(:has([data-carousel-card])) .rail-steuerung {
  display: none;
}

.angebot-karte {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--sand);
  border-radius: 0;
  background: var(--weiss);
  opacity: 1;
  text-decoration: none;
  transition: none;
}
.angebot-karte:hover { opacity: 1; }

.angebote-spur .angebot-karte {
  display: grid;
  width: clamp(820px, 64vw, 1500px);
  min-height: clamp(430px, 33vw, 620px);
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, .98fr);
  scroll-snap-align: start;
}

.angebot-bild {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 100%;
  overflow: hidden;
  background: var(--nebel);
}

.angebot-bild img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform .8s cubic-bezier(.2, .72, .2, 1);
}

.angebot-karte:hover .angebot-bild img { transform: scale(1.025); }

.angebot-info {
  display: flex;
  min-width: 0;
  padding: clamp(30px, 4vw, 72px);
  flex-direction: column;
}

.angebot-status {
  color: var(--gruen);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.angebot-info h2,
.angebot-info h3 {
  max-width: 16ch;
  margin-top: clamp(20px, 2.5vw, 40px);
  color: var(--gruen-tief);
  font-size: clamp(28px, 2.45vw, 46px);
  line-height: 1.08;
}

.angebot-adresse {
  margin-top: 18px;
  color: var(--sekundaer);
  font-size: clamp(15px, .9vw, 18px);
}

.angebot-daten {
  display: grid;
  margin-top: auto;
  padding-top: clamp(32px, 4vw, 58px);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.angebot-daten div {
  padding-top: 14px;
  border-top: 1px solid var(--sand);
}

.angebot-daten dt {
  color: var(--sekundaer);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.angebot-daten dd {
  margin: 6px 0 0;
  color: var(--anthrazit);
  font-size: clamp(15px, 1vw, 19px);
  font-weight: 500;
}

.angebot-link {
  display: inline-flex;
  width: max-content;
  min-height: 44px;
  margin-top: clamp(26px, 3vw, 42px);
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--gruen);
  color: var(--gruen);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}

.angebot-link span { transition: transform .25s ease; }
.angebot-link:hover span { transform: translate(3px, -3px); }

.angebote-nav {
  display: grid;
  margin-top: clamp(32px, 4vw, 58px);
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.angebote-nav .rail-steuerung { justify-self: end; }
.angebote-nav > .pfeillink { justify-self: start; }
.angebote-position {
  display: flex;
  min-width: 160px;
  align-items: center;
  gap: 12px;
  color: var(--sekundaer);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  letter-spacing: .1em;
}

.angebote-position i {
  width: 86px;
  height: 1px;
  background: var(--sand);
}

.angebote-position [data-carousel-index] { color: var(--gruen); font-weight: 600; }
.rail-knopf { transition: border-color .2s ease, color .2s ease, background-color .2s ease; }

/* ---------------------- Verkaufen ----------------------- */

.startseite .leistungen {
  padding: 0;
  background: var(--nebel);
}

.startseite .leistungen-raster {
  display: grid;
  width: 100%;
  height: auto;
  min-height: clamp(680px, 82svh, 900px);
  padding: 0;
  grid-template-columns: minmax(390px, .74fr) minmax(0, 1.26fr);
  gap: 0;
  align-items: stretch;
}

.startseite .leistungen-text {
  display: flex;
  max-width: 720px;
  padding: clamp(72px, 8vw, 150px) var(--rand);
  flex-direction: column;
  justify-content: center;
}

.startseite .leistungen-text h2 {
  max-width: 11ch;
  margin-top: 18px;
  color: var(--gruen-tief);
  font-size: clamp(38px, 4vw, 70px);
  line-height: 1.04;
}

.startseite .leistungen-text > p:not(.augenbraue) {
  max-width: 52ch;
  margin-top: 28px;
  color: var(--sekundaer);
  font-size: clamp(17px, 1vw, 20px);
}

.startseite .leistungen-liste { margin-top: 40px; }
.startseite .leistungen-liste li { padding-block: 17px; }
.startseite .leistungen-liste span { font-variant-numeric: tabular-nums; }
.startseite .leistungen-text .pfeillink { margin-top: 38px; }

.startseite .leistungen-bilder,
.startseite .leistungen-bilder figure { height: 100%; min-height: 0; }
.startseite .leistungen-bilder { display: block; }
.startseite .leistungen-bilder figure { position: relative; }
.startseite .leistungen-bilder img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  object-fit: cover;
  border-radius: 0;
}

.startseite .leistungen-bilder figcaption {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: rgba(255, 255, 255, .9);
  font-size: 12px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .45);
}

/* Die Textmenge bestimmt bei Bedarf die gemeinsame Höhe. Das Foto füllt
   diese Höhe, ohne seinerseits durch die intrinsische Bildhöhe die Zeile
   aufzuziehen. Originaldatei und object-fit bleiben unverändert. */
@media (min-width: 980px) {
  .startseite .leistungen-bilder { position: relative; }
  .startseite .leistungen-bilder figure { position: absolute; inset: 0; }
}

.bewegung-bereit [data-reveal] { opacity: 1; transform: none; }
.bewegung-bereit .leistungen-bilder[data-reveal] > figure,
.bewegung-bereit .region-raster-neu > figure[data-reveal] > img {
  clip-path: inset(0 0 0 100%);
  transition: clip-path 1.05s cubic-bezier(.2, .72, .2, 1);
}
.bewegung-bereit .leistungen-bilder[data-reveal].sichtbar > figure,
.bewegung-bereit .region-raster-neu > figure[data-reveal].sichtbar > img { clip-path: inset(0); }

/* ------------------------ Team -------------------------- */

.team-vorschau {
  padding-block: var(--abstand);
  overflow: hidden;
  background: var(--weiss);
}

.team-raster { display: block; }
.team-kopf {
  position: static;
  top: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .55fr);
  gap: clamp(34px, 7vw, 132px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}

.team-kopf h2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 13ch;
  margin-top: 16px;
  color: var(--gruen-tief);
  font-size: clamp(38px, 4.3vw, 76px);
  line-height: 1.03;
}

.team-kopf > .augenbraue { grid-column: 1; grid-row: 1; }
.team-kopf > p:not(.augenbraue),
.team-kopf > .pfeillink { grid-column: 2; grid-row: 2; }
.team-kopf > p:not(.augenbraue) {
  align-self: start;
  margin: 8px 0 0;
  color: var(--sekundaer);
  font-size: clamp(17px, 1vw, 20px);
}
.team-kopf > .pfeillink { align-self: end; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 34px);
  align-items: start;
}

.team-grid figure { min-width: 0; }
.team-grid figure:nth-child(even) { margin-top: clamp(34px, 4vw, 74px); }
.team-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 0;
}
.team-grid figcaption { padding-top: 18px; }
.team-grid h3 { font-size: clamp(18px, 1.25vw, 24px); font-weight: 500; }
.team-grid .p-rolle { display: block; margin-top: 5px; color: var(--sekundaer); font-size: 14px; }
.team-grid a { margin-top: 5px; color: var(--gruen); font-size: 14px; }

/* ----------------------- Region ------------------------- */

.region-band {
  position: relative;
  min-height: min(78svh, 880px);
  padding: 0;
  overflow: hidden;
  background: var(--gruen-tief);
}

.region-raster-neu {
  position: relative;
  display: block;
  min-height: inherit;
  padding: 0;
}

.region-raster-neu::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(8, 27, 17, .72) 0, rgba(8, 27, 17, .38) 38%, transparent 72%), linear-gradient(0deg, rgba(7, 22, 14, .38), transparent 52%);
  content: "";
}

.region-raster-neu > figure,
.region-raster-neu > figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.region-raster-neu > figure img { object-fit: cover; object-position: center 58%; border-radius: 0; }

.region-raster-neu > div {
  position: absolute;
  left: var(--rand);
  bottom: clamp(62px, 8vw, 124px);
  z-index: 2;
  max-width: 720px;
  color: var(--weiss);
}

.region-raster-neu .augenbraue { color: rgba(255, 255, 255, .82); }
.region-raster-neu h2 {
  max-width: 9ch;
  color: var(--weiss);
  font-size: clamp(46px, 5.2vw, 92px);
  line-height: .98;
}
.region-raster-neu > div > p:last-child {
  max-width: 56ch;
  margin-top: 26px;
  color: rgba(255, 255, 255, .9);
  font-size: clamp(17px, 1.1vw, 21px);
}

/* --------------------- Kontaktband ---------------------- */

.cta-band { padding-block: clamp(72px, 8vw, 138px); }
.cta-band .innenzeile {
  width: 100%;
  max-width: none;
  padding-inline: var(--rand);
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .55fr);
  gap: clamp(48px, 9vw, 180px);
}
.cta-band h2 { max-width: 12ch; font-size: clamp(40px, 4.5vw, 80px); line-height: 1.02; }
.kontakt-panel { border-radius: 0; }

.fuss-zeile {
  width: 100%;
  max-width: none;
  padding-inline: var(--rand);
  grid-template-columns: clamp(240px, 20vw, 300px) minmax(0, 1fr) auto;
}
.fuss-zeile > img {
  display: block;
  width: 100%;
  max-width: 300px;
  height: auto;
}
.menue-kopf img {
  width: clamp(220px, 58vw, 280px);
  max-width: calc(100% - 56px);
  height: auto;
}
.fuss-adresse { display: inline; font-style: normal; }
.fuss-adresszeile + .fuss-adresszeile::before,
.fuss-kontakt::before,
.fuss-kontakt a + a::before { content: " · "; white-space: pre; }
.fuss-kontakt { display: inline; }

/* ------------------- Kaufen-Unterseite ------------------ */

.kopfband {
  width: 100%;
  height: min(64svh, 760px);
  padding-top: var(--kopf-desktop);
}
.kopfband img { width: 100%; height: 100%; max-height: none; object-fit: cover; }

.kaufen-angebote { padding-block: var(--abstand); }
.kaufen-angebote .o-kopf {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .55fr);
  gap: clamp(34px, 7vw, 132px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 88px);
}
.kaufen-angebote .o-kopf .augenbraue,
.kaufen-angebote .o-kopf h1 { grid-column: 1; }
.kaufen-angebote .o-kopf h1 {
  margin-top: 14px;
  color: var(--gruen-tief);
  font-size: var(--t-gross);
  line-height: 1.02;
}
.kaufen-angebote .o-kopf > p:last-child {
  grid-column: 2;
  grid-row: 1 / span 2;
  max-width: 520px;
  color: var(--sekundaer);
  font-size: clamp(17px, 1vw, 20px);
}

.angebot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.2vw, 56px);
}
.angebot-grid > .o-leer { grid-column: 1 / -1; }
.angebot-grid .angebot-karte { display: flex; width: 100%; min-width: 0; min-height: 0; flex-direction: column; }
.angebot-grid .angebot-bild { min-height: 0; aspect-ratio: 4 / 3; }
.angebot-grid .angebot-bild img { min-height: 0; aspect-ratio: auto; }
.angebot-grid .angebot-info { min-height: 420px; padding: clamp(26px, 3vw, 50px); }
.angebot-grid .angebot-info h2 { font-size: clamp(27px, 2vw, 40px); }
.kaufen-kontakt {
  display: flex;
  margin-top: clamp(54px, 7vw, 100px);
  padding-top: 32px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--sand);
}

/* ---------------------- Responsive ---------------------- */

@media (max-width: 1100px) {
  .hauptnav { justify-self: end; }
  .kopf-cta { display: none; }
  .startseite .leistungen-raster { grid-template-columns: minmax(330px, .88fr) minmax(0, 1.12fr); }
  .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .team-grid figure:nth-child(even) { margin-top: 0; }
  .team-grid figure:nth-child(3n + 2) { margin-top: 44px; }
}

@media (max-width: 979px) {
  html { scroll-padding-top: calc(var(--kopf-mobil) + 14px); }
  .kopfleiste {
    height: var(--kopf-mobil);
    pointer-events: auto;
  }
  .kopfleiste .band { padding-inline: var(--rand); }
  .kopfleiste .zeile {
    position: static;
    height: var(--kopf-mobil);
    min-height: var(--kopf-mobil);
    margin-top: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .wortmarke img { width: clamp(158px, 45vw, 190px); }
  .wortmarke-hauptlogo {
    order: 0;
    flex: 0 0 auto;
    margin-inline: 0;
    min-height: 44px;
    align-items: center;
  }
  .wortmarke-hauptlogo img {
    width: clamp(220px, 58vw, 280px);
  }
  .kopfleiste .zeile { gap: 12px; }
  .kopfleiste .menue-knopf {
    order: 2;
    margin-inline-start: auto;
  }
  body:not(.startseite) .kopfleiste,
  .startseite .kopfleiste[data-fest="1"] {
    position: fixed;
    background: rgba(255, 255, 255, .96) !important;
    border-bottom: 1px solid rgba(30, 58, 43, .11) !important;
  }

  .fuss-zeile { grid-template-columns: minmax(0, 1fr); }
  .fuss-zeile > img { width: min(100%, 270px); }
  .fuss-daten { font-size: 15px; line-height: 1.65; }
  .fuss-adresse { display: grid; gap: 2px; }
  .fuss-firma { color: var(--gruen); font-weight: 500; }
  .fuss-adresszeile + .fuss-adresszeile::before,
  .fuss-kontakt::before,
  .fuss-kontakt a + a::before { content: none; }
  .fuss-kontakt { display: grid; margin-top: 14px; }
  .fuss-kontakt a { justify-self: start; }

  .startseite .held { min-height: 100svh; height: 100dvh; padding: 0; }
  .startseite .held-inhalt {
    min-height: 0;
    padding: 0 var(--rand) max(42px, calc(env(safe-area-inset-bottom) + 30px));
  }
  .startseite .held-bild img { height: 100%; max-height: none; object-position: center center; }
  .startseite .held::before { height: auto; }
  .startseite .held::after {
    height: auto;
    background: linear-gradient(0deg, rgba(7, 20, 13, .8) 0, rgba(7, 20, 13, .42) 37%, rgba(7, 20, 13, .05) 68%, transparent 80%);
  }
  .startseite .held h1,
  .startseite .hero-title { width: 100%; max-width: 680px; font-size: clamp(45px, 9vw, 72px); }
  .startseite .held-satz { max-width: 560px; }
  .held-scroll { display: none; }

  .angebote-kopf,
  .team-kopf,
  .kaufen-angebote .o-kopf { grid-template-columns: 1fr; gap: 24px; }
  .angebote-kopf > p,
  .team-kopf > p:not(.augenbraue),
  .team-kopf > .pfeillink,
  .kaufen-angebote .o-kopf > p:last-child {
    grid-column: 1;
    grid-row: auto;
    margin: 0;
  }

  .angebote-spur .angebot-karte {
    width: min(760px, calc(100vw - (var(--rand) * 2)));
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .angebote-spur .angebot-bild { min-height: 0; aspect-ratio: 16 / 10; }
  .angebote-spur .angebot-info { min-height: 390px; }
  .angebote-nav .rail-steuerung { display: flex; }

  .startseite .leistungen-raster { grid-template-columns: 1fr; }
  .startseite .leistungen-raster { height: auto; min-height: 0; }
  .startseite .leistungen-text { max-width: 760px; }
  .startseite .leistungen-bilder,
  .startseite .leistungen-bilder figure { height: 70svh; }
  .startseite .leistungen-bilder img { min-height: 0; }

  .region-band { min-height: 72svh; }
  .cta-band .innenzeile { grid-template-columns: 1fr; }
  .angebot-grid { grid-template-columns: 1fr; }
  .kopfband { height: min(58svh, 620px); padding-top: var(--kopf-mobil); }
}

@media (max-width: 660px) {
  :root { --rand: clamp(18px, 5.2vw, 28px); --abstand: clamp(76px, 21vw, 112px); }

  .startseite .held::before { background: linear-gradient(180deg, rgba(255, 255, 255, .35), transparent 18%); }
  .startseite .held-oberzeile { max-width: 280px; }
  .startseite .held h1,
  .startseite .hero-title { font-size: clamp(42px, 12.4vw, 57px); letter-spacing: -.05em; }
  .startseite .held-satz { max-width: 335px; font-size: 16px; line-height: 1.45; }
  .startseite .held-aktionen { display: grid; width: min(100%, 335px); grid-template-columns: 1fr; }
  .startseite .held-aktionen .knopf { width: 100%; justify-content: center; }

  .angebote-kopf { margin-bottom: 38px; }
  .angebote-kopf h2 { font-size: clamp(42px, 12vw, 58px); }
  .angebote-viewport { scroll-snap-type: x mandatory; }
  .angebote-spur .angebot-karte { width: calc(100vw - var(--rand) - 28px); }
  .angebote-spur .angebot-info { min-height: 370px; padding: 28px 24px; }
  .angebot-info h2,
  .angebot-info h3 { font-size: 29px; }
  .angebot-daten { gap: 12px; }
  .angebot-daten dd { font-size: 14px; }
  .angebote-nav { grid-template-columns: 1fr auto; }
  .angebote-position { display: none; }
  .angebote-nav .rail-steuerung { display: flex; grid-column: 2; }

  .startseite .leistungen-text { padding-block: 74px; }
  .startseite .leistungen-text h2 { font-size: clamp(40px, 11.5vw, 58px); }
  .startseite .leistungen-bilder,
  .startseite .leistungen-bilder figure { height: 66svh; }

  .team-raster { padding-inline: 0; }
  .team-kopf { padding-inline: var(--rand); }
  .team-kopf h2 { font-size: clamp(40px, 11.5vw, 58px); }
  .team-grid {
    display: grid;
    padding-inline: var(--rand);
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(78vw, 360px);
    gap: 18px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-left: var(--rand);
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .team-grid::-webkit-scrollbar { display: none; }
  .team-grid figure,
  .team-grid figure:nth-child(even),
  .team-grid figure:nth-child(3n + 2) { margin-top: 0; scroll-snap-align: start; }

  .region-raster-neu::after { background: linear-gradient(0deg, rgba(7, 22, 14, .76) 0, rgba(7, 22, 14, .34) 54%, transparent 82%); }
  .region-raster-neu > div { right: var(--rand); bottom: 54px; }
  .region-raster-neu h2 { font-size: clamp(44px, 13vw, 62px); }
  .region-raster-neu > div > p:last-child { font-size: 16px; }

  .angebot-grid { gap: 22px; }
  .angebot-grid .angebot-info { min-height: 365px; padding: 27px 23px; }
  .kaufen-kontakt { align-items: stretch; flex-direction: column; }
  .kaufen-kontakt .knopf { width: 100%; justify-content: center; }
  .kopfband { height: 52svh; }
}

@media (max-height: 720px) and (min-width: 700px) {
  .startseite .held-inhalt { padding-bottom: 38px; }
  .startseite .held h1,
  .startseite .hero-title { font-size: clamp(48px, 5vw, 74px); }
  .startseite .held-satz { margin-top: 16px; font-size: 17px; }
  .startseite .held-aktionen { margin-top: 20px; }
  .held-scroll { bottom: 28px; }
}

@media (min-width: 2200px) {
  :root { --rand: clamp(92px, 5vw, 190px); }
  .startseite .held h1,
  .startseite .hero-title { font-size: clamp(96px, 4.8vw, 136px); }
  .startseite .held-satz { max-width: 760px; font-size: 24px; }
  .angebote-spur .angebot-karte { width: min(62vw, 1900px); min-height: 680px; }
  .angebot-info h2,
  .angebot-info h3 { font-size: 54px; }
  .team-grid h3 { font-size: 26px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .startseite .held-bild,
  .js .hero-line.geteilt .zeichen,
  .js .startseite .held-oberzeile,
  .js .startseite .held-satz,
  .js .startseite .held-aktionen,
  .js .held-scroll {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .held-scroll i::after { animation: none; }
  .angebot-bild img,
  .angebot-link span,
  .bewegung-bereit .leistungen-bilder[data-reveal] > figure,
  .bewegung-bereit .region-raster-neu > figure[data-reveal] > img { transition: none; clip-path: inset(0); }
}

/* Kontakt-Ergänzung: passende Angaben innerhalb des bestehenden Weissraums.
   Jost und die Markenfarben bleiben unverändert; keine zusätzliche Kartenoptik. */
@media (min-width: 980px) {
  /* Gemeinsame Textzeilen: auch der mehrzeilige Vor-Ort-Absatz richtet sich
     an Telefon/E-Mail aus; keine geschätzte feste Absatzhöhe. */
  .kontakt-seite .wege {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    row-gap: 0;
  }
  .kontakt-seite .wege > .weg {
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 3;
    align-content: start;
  }
  .kontakt-seite .wege > .weg > * { align-self: start; }
  .kontakt-seite .wege .kontaktzeilen a { align-items: flex-start; }
}
.formular-gruppe {
  display: grid;
  min-width: 0;
  gap: 26px;
  margin: 0;
  padding: 26px 0 0;
  border: 0;
  border-top: 1px solid var(--sand);
}
.formular-gruppe legend {
  padding: 0 16px 0 0;
  color: var(--gruen);
  font: inherit;
  font-size: 19px;
  font-weight: 500;
}
.formular-gruppe[data-such-gruppe] { border-top: 0; }
.formular-gruppenhinweis {
  max-width: 65ch;
  margin: 0;
  color: var(--sekundaer);
  font-size: 15px;
  line-height: 1.6;
}
.anfrageformular select { max-width: 100%; text-overflow: ellipsis; }
.anfrageformular option { white-space: normal; }
.anfrageformular #nachricht { min-height: 265px; }
.nachricht-werkzeuge { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 5px 18px; }
.nachricht-werkzeuge .feld-hinweis { flex: 1 1 230px; }
.textvorschlag-knopf {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--gruen);
  font: inherit;
  font-size: 13px;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.textvorschlag-knopf:disabled { color: var(--sekundaer); cursor: default; text-decoration: none; }
.textvorschlag-knopf:focus-visible { outline: 2px solid var(--gruen); outline-offset: 4px; }
.formular-status p { overflow-wrap: anywhere; }
@media (max-width: 620px) {
  .formular-gruppe { gap: 24px; }
  .anfrageformular #nachricht { min-height: 335px; }
}
