/* Leistungs-Unterseiten. Grundwerte wie auf der Startseite (dort inline im <style>). */
@font-face { font-family: "Onest"; src: url("/fonts/onest-latin-wght.woff2?v=052df745") format("woff2"); font-weight: 100 900; font-display: swap;
  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: "Onest"; src: url("/fonts/onest-latin-ext-wght.woff2?v=14e7d307") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0; }

:root {
  --grund: #F6F5F1;
  --flaeche: #ECEAE4;
  --tinte: #1B1E21;
  --text2: #4C5258;
  --linie: #DCD9D1;
  --anthrazit: #2D3439;
  --anthrazit-tief: #24292D;
  --hecke: #2E5B2F;
  --hecke-dunkel: #244A25;
  --logo-gruen: #73B543;
  --r-bild: 20px;
  --r-karte: 24px;
  --breite: 1200px;
  --rand: clamp(16px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body { margin: 0; background: var(--grund); color: var(--tinte); font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: clamp(30px, 3.4vw, 42px); }
h3 { font-size: 19px; letter-spacing: -0.01em; line-height: 1.25; }
p { margin: 0; }
.wrap { width: min(var(--breite), 100% - 2 * var(--rand)); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Noch fehlende Angaben vom Kunden: absichtlich auffällig, vor dem Livegang füllen */
.luecke { padding: 1px 6px; border-radius: 6px; background: #FFF1A8; box-shadow: inset 0 0 0 1px #D9B400; color: #5A4700; font-weight: 600; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 0; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .2s, box-shadow .2s; }
.knopf svg { width: 18px; height: 18px; flex: none; }
.knopf--gruen { background: var(--hecke); color: #fff; }
.knopf--gruen:hover { background: var(--hecke-dunkel); }
.knopf--hell { background: #fff; color: var(--tinte); box-shadow: inset 0 0 0 1px var(--linie); }
.knopf--hell:hover { box-shadow: inset 0 0 0 1px #bdb9af; }
.knopf:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid var(--logo-gruen); outline-offset: 3px; }

/* Kontaktleiste + Kopf (wie Startseite) */
.leiste { background: var(--anthrazit-tief); color: #E7E9EA; font-size: 14px; }
.leiste .wrap { display: flex; gap: 22px; justify-content: flex-end; align-items: center; min-height: 38px; }
.leiste a { text-decoration: none; }
.leiste a:hover { text-decoration: underline; }
.leiste__ort { margin-right: auto; }
.kopf { position: fixed; z-index: 50; left: 0; right: 0; top: 50px; transition: top .25s; pointer-events: none; }
.kopf.is-oben { top: 12px; }
.nav { pointer-events: auto; width: min(var(--breite), 100% - 2 * var(--rand)); margin-inline: auto; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; background: #fff; border-radius: 999px; box-shadow: 0 6px 24px rgba(27,30,33,.10), 0 1px 2px rgba(27,30,33,.06); }
.nav__logo { display: block; flex: none; }
.nav__logo img { height: 34px; width: auto; }
.nav__links { display: flex; gap: 4px; margin: 0 auto; padding: 0; list-style: none; }
.nav__links a { display: block; white-space: nowrap; padding: 10px 14px; border-radius: 999px; font-size: 15px; font-weight: 500; text-decoration: none; color: var(--text2); }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--tinte); background: var(--grund); }
.nav__anruf { margin-left: auto; }
.nav__menue { display: none; margin-left: 4px; width: 48px; height: 48px; border-radius: 999px; border: 0; background: var(--grund); cursor: pointer; }
.nav__menue span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--tinte); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav[data-offen] .nav__menue span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav[data-offen] .nav__menue span:nth-child(2) { opacity: 0; }
.nav[data-offen] .nav__menue span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.menue { display: none; }
/* Aufklappmenüs für Leistungen und Mieten: alle Unterseiten direkt im Kopf */
.nav__gruppe { position: relative; display: flex; align-items: center; }
.nav__auf { display: grid; place-items: center; width: 26px; height: 36px; margin-left: -10px; padding: 0; border: 0; border-radius: 999px; background: none; color: var(--text2); cursor: pointer; }
.nav__auf svg { width: 15px; height: 15px; transition: transform .2s; }
.nav__panel { position: absolute; top: calc(100% + 16px); left: -10px; padding: 8px; background: #fff; border-radius: 20px; box-shadow: 0 18px 44px rgba(27,30,33,.18); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s; }
.nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav__panel ul { margin: 0; padding: 0; list-style: none; }
.nav__links .nav__panel a { padding: 10px 14px; border-radius: 12px; color: var(--tinte); }
.nav__links .nav__panel a:hover, .nav__links .nav__panel a[aria-current] { background: var(--grund); color: var(--hecke); }
.nav__gruppe:hover .nav__panel, .nav__gruppe:focus-within .nav__panel, .nav__gruppe.is-offen .nav__panel { opacity: 1; visibility: visible; transform: none; }
.nav__gruppe:hover .nav__auf svg, .nav__gruppe.is-offen .nav__auf svg { transform: rotate(180deg); }
.menue__unter { margin: -4px 0 4px; }
.menue__zeile { display: flex; align-items: center; }
.menue__zeile > a { flex: 1; }
.menue__auf { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border: 0; border-radius: 14px; background: var(--grund); color: var(--tinte); cursor: pointer; }
.menue__auf svg { width: 18px; height: 18px; transition: transform .2s; }
.menue__auf[aria-expanded="true"] svg { transform: rotate(180deg); }
.menue__unter[hidden] { display: none; }
.menue .menue__unter a { padding: 9px 16px 9px 30px; font-size: 16px; color: var(--text2); }

/* Abschnitte */
.abschnitt { padding: clamp(56px, 8vw, 92px) 0; }
.abschnitt--anschluss { padding-top: clamp(16px, 2vw, 28px); }
.kopfzeile { max-width: 660px; }
.kopfzeile p { margin-top: 14px; color: var(--text2); font-size: 18px; }

/* Einstieg: Text links, großes echtes Foto rechts */
.held { padding: 146px 0 clamp(40px, 5vw, 64px); }
.held__raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 64px); align-items: center; }
.krumen ol { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 0; list-style: none; font-size: 14px; color: var(--text2); }
.krumen li + li::before { content: "/"; margin-right: 8px; color: #A3A7A9; }
.krumen a { text-decoration: none; }
.krumen a:hover { text-decoration: underline; }
.held h1 { margin-top: 16px; font-size: clamp(34px, 4.2vw, 54px); }
.held__lead { margin-top: 18px; max-width: 33em; font-size: 19px; color: var(--text2); }
.held__knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.held__belege { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 30px; }
.beleg { display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px 10px 12px; background: #fff; border-radius: 16px; text-decoration: none; color: var(--tinte); box-shadow: 0 1px 2px rgba(27,30,33,.05); }
a.beleg:hover { box-shadow: 0 10px 26px rgba(27,30,33,.10); }
.beleg strong { font-size: 22px; font-weight: 650; line-height: 1; }
.beleg__text { display: grid; gap: 3px; font-size: 14px; color: var(--text2); line-height: 1.2; }
.beleg__zeile { display: flex; align-items: center; gap: 8px; }
.held__ort { display: flex; align-items: center; gap: 8px; font-size: 15px; color: var(--text2); }
.held__ort svg { width: 20px; height: 20px; color: var(--hecke); flex: none; }
.g-logo { width: 28px; height: 28px; flex: none; }
.sterne { display: inline-flex; gap: 2px; }
.sterne svg { width: 15px; height: 15px; fill: #FBBC04; }
.held__bild { position: relative; margin: 0; aspect-ratio: 4 / 4.6; max-height: calc(100svh - 120px); border-radius: 28px; overflow: hidden; background: var(--flaeche); }
.held__bild--quer { aspect-ratio: 4 / 3.3; }
.held__paar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.held__paar .held__bild { aspect-ratio: 1; }
.held__bild img { width: 100%; height: 100%; object-fit: cover; }
.held__bild figcaption { position: absolute; left: 14px; bottom: 14px; max-width: calc(100% - 28px); padding: 6px 12px; border-radius: 999px; background: rgba(27,30,33,.72); color: #fff; font-size: 13px; font-weight: 600; }

/* Was wir übernehmen */
.was__raster { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: 34px; }
.was__raster--voll { grid-template-columns: 1fr; }
.was__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.was__raster--voll .was__liste { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.was__liste li { padding: 20px 22px 22px; background: #fff; border-radius: var(--r-karte); }
.was__raster:not(.was__raster--voll) .was__liste li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.was__liste h3 { display: flex; gap: 10px; align-items: baseline; }
.was__liste h3::before { content: ""; flex: none; width: 10px; height: 6px; margin-bottom: 3px; border-left: 2px solid var(--hecke); border-bottom: 2px solid var(--hecke); transform: rotate(-45deg); }
.was__liste p { margin-top: 8px; font-size: 16px; color: var(--text2); }
.was__bild { position: sticky; top: 100px; margin: 0; }
.was__bild img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--r-karte); background: var(--flaeche); }
.was__bild figcaption { margin-top: 10px; font-size: 15px; color: var(--text2); }

/* Steckbrief (Vermietung) */
.steckbrief { margin: 34px 0 0; padding: 6px 24px; background: #fff; border-radius: var(--r-karte); }
.steckbrief div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 6px 24px; padding: 15px 0; border-top: 1px solid var(--linie); }
.steckbrief div:first-child { border-top: 0; }
.steckbrief dt { font-weight: 600; }
.steckbrief dd { margin: 0; color: var(--text2); }

/* Arbeiten: echte Fotos, vorher und nachher */
.arbeiten { background: var(--flaeche); }
.arbeiten__raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 28px); margin-top: 34px; align-items: start; }
.arbeit { margin: 0; }
.arbeit--breit { grid-column: 1 / -1; }
.arbeit figcaption { margin-top: 12px; }
.arbeit figcaption strong { display: block; font-size: 18px; font-weight: 600; }
.arbeit figcaption span { display: block; margin-top: 4px; font-size: 16px; color: var(--text2); }
.paar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.paar > div, .foto { position: relative; aspect-ratio: 3 / 4; border-radius: var(--r-bild); overflow: hidden; background: #d9d6ce; }
.arbeit--breit .paar > div { aspect-ratio: 4 / 3.4; }
.foto--quer { aspect-ratio: 4 / 3; }
.paar img, .foto img { width: 100%; height: 100%; object-fit: cover; }
.marke { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(27,30,33,.72); color: #fff; font-size: 13px; font-weight: 600; pointer-events: none; }
.vergleich { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r-bild); overflow: hidden; background: #d9d6ce; touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.vergleich img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.vergleich input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: ew-resize; }
.vergleich__vorher { clip-path: inset(0 calc(100% - var(--pos, 50%)) 0 0); }
.vergleich__griff { position: absolute; top: 0; bottom: 0; left: var(--pos, 50%); width: 0; pointer-events: none; }
.vergleich__griff::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1px; width: 2px; background: #fff; box-shadow: 0 0 6px rgba(0,0,0,.25); }
.vergleich__griff::after { content: ""; position: absolute; top: 50%; left: -24px; width: 48px; height: 48px; margin-top: -24px; border-radius: 999px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1E21' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-6 6 6 6M15 6l6 6-6 6'/%3E%3C/svg%3E") center / 22px no-repeat; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.vergleich .marke--rechts { left: auto; right: 12px; }
.foto-fehlt { display: grid; place-items: center; aspect-ratio: 4 / 3; padding: 24px; border-radius: var(--r-bild); background: repeating-linear-gradient(135deg, #F7F1D2 0 14px, #F2EAC2 14px 28px); box-shadow: inset 0 0 0 2px #D9B400; text-align: center; }

/* Häufige Fragen */
.fragen__liste { display: grid; gap: 10px; max-width: 860px; margin-top: 30px; }
.frage { background: #fff; border-radius: 18px; }
.frage summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--tinte); border-bottom: 2px solid var(--tinte); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
.frage[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.frage__antwort { padding: 0 22px 20px; color: var(--text2); }
.frage__antwort p + p { margin-top: 10px; }

/* Weitere Leistungen */
.weitere__liste { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.weiter { display: block; height: 100%; background: #fff; border-radius: 20px; overflow: hidden; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.weiter:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(27,30,33,.10); }
.weiter img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--flaeche); }
.weiter span { display: block; padding: 14px 16px 16px; font-weight: 600; line-height: 1.3; }

/* Kontakt (wie Startseite) */
.kontakt { background: var(--anthrazit); color: #F1F2F2; }
.kontakt__raster { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.kontakt h2 { color: #fff; }
.kontakt__intro { margin-top: 14px; color: #C9CED1; font-size: 18px; }
.kontakt__nummer { display: inline-block; margin-top: 26px; font-size: clamp(30px, 3.6vw, 44px); font-weight: 650; letter-spacing: -0.02em; color: #fff; text-decoration: none; }
.kontakt__nummer:hover { text-decoration: underline; text-underline-offset: 6px; }
.kontakt__daten { margin: 18px 0 0; padding: 0; list-style: none; color: #C9CED1; font-size: 16px; }
.kontakt__daten li { margin-top: 6px; }
.kontakt__daten a { color: #fff; }
.ablauf { margin: 34px 0 0; padding: 0; list-style: none; border-left: 2px solid rgba(255,255,255,.18); }
.ablauf li { position: relative; padding: 0 0 18px 22px; }
.ablauf li::before { content: ""; position: absolute; left: -7px; top: 6px; width: 12px; height: 12px; border-radius: 999px; background: var(--anthrazit); box-shadow: inset 0 0 0 2px var(--logo-gruen); }
.ablauf strong { display: block; color: #fff; font-weight: 600; }
.ablauf span { color: #C9CED1; font-size: 15px; }
.formular { background: #fff; color: var(--tinte); border-radius: var(--r-karte); padding: clamp(22px, 3vw, 34px); }
.formular h3 { font-size: 22px; }
.feld { margin-top: 16px; }
.feld label { display: block; margin-bottom: 6px; font-size: 15px; font-weight: 600; }
.feld label small { font-weight: 400; color: var(--text2); }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #cfcbc2; border-radius: 12px; background: #fff; color: var(--tinte); font: inherit; font-size: 16px; }
.feld textarea { min-height: 120px; resize: vertical; }
.feld select { -webkit-appearance: none; appearance: none; padding-right: 42px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B1E21' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat; }
.feld input:focus, .feld select:focus, .feld textarea:focus { border-color: var(--hecke); outline: none; box-shadow: 0 0 0 3px rgba(46,91,47,.18); }
.feld--zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.feld--zwei > div { min-width: 0; }
.feld__hinweis { margin-top: 6px; font-size: 14px; color: var(--text2); }
.formular__fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 20px; }
.formular__fuss p { font-size: 14px; color: var(--text2); flex: 1 1 220px; }
.formular__meldung { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 15px; display: none; }
.formular__meldung.is-fehler { display: block; background: #FBEDEA; color: #8A2A1B; }
.formular__meldung.is-ok { display: block; background: #EAF3E6; color: #24472A; }

/* Fuß (wie Startseite) */
.fuss { background: var(--anthrazit-tief); color: #C9CED1; font-size: 15px; padding: 44px 0 calc(36px + env(safe-area-inset-bottom)); }
.fuss__raster { display: flex; flex-wrap: wrap; gap: 28px 56px; justify-content: space-between; }
.fuss strong { display: block; color: #fff; font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.fuss ul { margin: 0; padding: 0; list-style: none; }
.fuss li { margin-top: 4px; }
.fuss a { color: #E7E9EA; text-decoration: none; }
.fuss a:hover { text-decoration: underline; }
.fuss__sozial { display: flex; gap: 16px; margin-top: 12px !important; }
.fuss__sozial a { text-decoration: underline; text-underline-offset: 3px; }
.fuss__unten { margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.schnell { display: none; }

@media (max-width: 1180px) {
  .nav__anruf .lang { display: none; }
  .nav__logo img { height: 28px; }
}
@media (max-width: 1080px) {
  .nav__links a { padding: 10px 10px; }
  .weitere__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .was__raster { grid-template-columns: 1fr; }
  .was__bild { position: static; max-width: 520px; }
  .was__bild img { aspect-ratio: 4 / 3; }
  .was__raster--voll .was__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 880px) {
  .leiste { display: none; }
  .kopf, .kopf.is-oben { top: 10px; }
  .nav { padding: 6px 6px 6px 14px; }
  .nav__logo img { height: 25px; }
  .nav__anruf { width: 48px; padding: 0; justify-content: center; }
  .nav__anruf > span { display: none; }
  .nav__links { display: none; }
  .nav__menue { display: block; }
  .menue { position: fixed; z-index: 49; left: var(--rand); right: var(--rand); top: 76px; max-height: calc(100svh - 96px); overflow-y: auto; overscroll-behavior: contain; pointer-events: auto; padding: 10px; background: #fff; border-radius: 22px; box-shadow: 0 16px 40px rgba(27,30,33,.18); }
  .menue[data-offen] { display: block; }
  .menue a { display: block; padding: 14px 16px; border-radius: 14px; font-size: 18px; font-weight: 500; text-decoration: none; }
  .menue a:hover { background: var(--grund); }
  .held { padding-top: 92px; }
  .held__raster { grid-template-columns: 1fr; gap: 26px; }
  .held__bild, .held__bild--quer { aspect-ratio: 4 / 3; max-height: none; border-radius: 22px; }
  .held__paar { gap: 10px; }
  .held__paar .held__bild { aspect-ratio: 1; border-radius: 18px; }
  .held__paar figcaption { left: 8px; bottom: 8px; padding: 4px 10px; font-size: 12px; }
  .arbeiten__raster { grid-template-columns: 1fr; }
  .kontakt__raster { grid-template-columns: 1fr; }
  .schnell { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); padding: 6px; background: #fff; border-radius: 999px; box-shadow: 0 10px 30px rgba(27,30,33,.2); transform: translateY(140%); transition: transform .3s; }
  .schnell.is-an { transform: none; }
  .schnell .knopf { justify-content: center; }
  .fuss { padding-bottom: calc(100px + env(safe-area-inset-bottom)); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .abschnitt { padding: 52px 0; }
  .abschnitt--anschluss { padding-top: 12px; }
  .held h1 { font-size: 32px; margin-top: 12px; }
  .held__lead { margin-top: 14px; font-size: 17px; }
  .held__knoepfe { margin-top: 22px; }
  .held__knoepfe .knopf { flex: 1 1 0; justify-content: center; padding: 0 14px; }
  .held__belege { margin-top: 22px; gap: 12px; }
  .kopfzeile p { font-size: 17px; }
  .was__liste, .was__raster--voll .was__liste { grid-template-columns: 1fr; gap: 10px; }
  .was__liste li { padding: 16px 18px 18px; }
  .steckbrief { padding: 4px 18px; }
  .steckbrief div { grid-template-columns: 1fr; gap: 2px; padding: 13px 0; }
  .frage summary { padding: 16px 18px; font-size: 17px; }
  .frage__antwort { padding: 0 18px 18px; }
  .weitere__liste { gap: 10px; }
  .weiter span { padding: 10px 12px 12px; font-size: 15px; }
  .feld--zwei { grid-template-columns: 1fr; gap: 0; }
  .feld--zwei > div + div { margin-top: 16px; }
}
@media (max-width: 380px) {
  .nav { gap: 8px; padding-left: 12px; }
  .nav__logo { flex: 0 1 auto; min-width: 0; }
  .nav__logo img { height: auto; max-height: 22px; max-width: 100%; }
  .nav__anruf, .nav__menue { flex: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}

/* Link unter den Fotos jeder Leistungsseite */
.arbeiten__mehr { margin-top: 30px; text-align: center; }

/* Referenzen: alle Arbeitsfotos, Filter nach Bereich, Großansicht */
.held--schmal { padding-bottom: clamp(18px, 2.5vw, 30px); }
.held--schmal .held__lead { max-width: 40em; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.filter__knopf { min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; color: var(--tinte); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; box-shadow: inset 0 0 0 1px var(--linie); transition: background .2s, color .2s; }
.filter__knopf:hover { box-shadow: inset 0 0 0 1px #bdb9af; }
.filter__knopf[aria-pressed="true"] { background: var(--hecke); color: #fff; box-shadow: none; }
.refs { columns: 3; column-gap: 16px; }
.ref { break-inside: avoid; margin: 0 0 22px; }
.ref[hidden] { display: none; }
.ref__knopf { display: block; width: 100%; padding: 0; border: 0; border-radius: var(--r-bild); overflow: hidden; background: #d9d6ce; cursor: zoom-in; }
.ref__knopf > img, .ref__knopf .paar img { width: 100%; height: auto; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.ref__knopf:hover img { transform: scale(1.03); }
.ref__knopf .paar { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; background: #fff; }
.ref__knopf .paar > span { position: relative; overflow: hidden; aspect-ratio: 3 / 4; }
.ref__knopf .paar img { height: 100%; object-fit: cover; }
.ref figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; margin-top: 10px; }
.ref figcaption strong { font-size: 16px; font-weight: 600; }
.ref figcaption a { font-size: 14px; color: var(--hecke); font-weight: 600; text-decoration: none; }
.ref figcaption a:hover { text-decoration: underline; }
.lupe { width: min(1200px, 100vw - 32px); max-height: calc(100svh - 32px); padding: 0; border: 0; border-radius: 22px; background: var(--anthrazit-tief); color: #fff; overflow: hidden; }
.lupe::backdrop { background: rgba(14,18,20,.86); }
.lupe[open] { display: flex; flex-direction: column; }
.lupe__bilder { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; min-height: 0; flex: 1; background: #111; }
.lupe__bilder figure { position: relative; margin: 0; min-height: 0; }
.lupe__bilder img { width: 100%; height: 100%; max-height: calc(100svh - 140px); object-fit: contain; }
.lupe__unten { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 14px 18px; }
.lupe__text { font-size: 16px; }
.lupe__text a { margin-left: 8px; color: #A9D98A; font-weight: 600; font-size: 15px; }
.lupe__knoepfe { display: flex; align-items: center; gap: 10px; }
.lupe__pfeil, .lupe__zu { display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 999px; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; }
.lupe__pfeil:hover, .lupe__zu:hover { background: rgba(255,255,255,.22); }
.lupe__pfeil svg, .lupe__zu svg { width: 22px; height: 22px; }
.lupe__zu { position: absolute; top: 12px; right: 12px; background: rgba(27,30,33,.7); }
.lupe__zahl { min-width: 64px; text-align: center; font-size: 14px; color: #C9CED1; font-variant-numeric: tabular-nums; }
@media (max-width: 1080px) { .refs { columns: 2; } }
@media (max-width: 640px) {
  .refs { column-gap: 10px; }
  .ref { margin-bottom: 16px; }
  .ref figcaption strong { font-size: 14px; line-height: 1.3; }
  .ref figcaption a { font-size: 13px; }
  .ref__knopf .marke { top: 6px; left: 6px; padding: 2px 7px; font-size: 13px; }
  .filter__knopf { min-height: 40px; padding: 0 14px; font-size: 14px; }
  .lupe { width: 100vw; max-width: 100vw; max-height: 100svh; height: 100svh; border-radius: 0; }
  .lupe__bilder { grid-auto-flow: row; grid-auto-rows: 1fr; }
  .lupe__bilder img { max-height: none; }
}

/* Hüpfburg: Modelle mit Preisen nebeneinander */
.modelle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 30px; align-items: start; }
.modell { background: #fff; border-radius: var(--r-karte); overflow: hidden; }
.modell__bild { margin: 0; }
.modell__bild img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.modell__bild.foto-fehlt { border-radius: 0; aspect-ratio: 4 / 3; }
.modell__text { padding: 22px 24px 8px; }
.modell h3 { font-size: 24px; }
.modell__unterzeile { margin-top: 4px; color: var(--text2); }
.steckbrief--modell { margin: 10px 0 0; padding: 0; background: none; border-radius: 0; }
.steckbrief--modell div { grid-template-columns: minmax(0, 1fr) auto; }
.steckbrief--modell dd { color: var(--tinte); font-weight: 600; text-align: right; }
@media (max-width: 880px) { .modelle { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .modell__text { padding: 18px 18px 6px; }
  .steckbrief--modell div { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
}
