@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --grund: #141414;
  --flaeche: #202020;
  --flaeche-2: #2b2b2b;
  --hell: #f5f5f5;
  --text: #ffffff;
  --text-2: #bdbdbd;
  --rot: #d70006;
  --rot-dunkel: #ad0005;
  --wa: #25d366;
  --gelb: #fbbc04;
  --rand: clamp(16px, 4vw, 64px);
  --abstand: clamp(72px, 10vw, 150px);
  --schrift: "Barlow", system-ui, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --raus: cubic-bezier(0.23, 1, 0.32, 1);
  --beide: cubic-bezier(0.77, 0, 0.175, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--text); font: 400 18px/1.55 var(--schrift); hyphens: auto; overflow-x: clip; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
p { margin: 0; }
[id] { scroll-margin-top: 88px; }
::selection { background: var(--rot); color: #fff; }
:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.hell :focus-visible { outline-color: var(--grund); }
input, textarea { caret-color: var(--rot); }

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.95; hyphens: manual; text-wrap: balance; }
h1 { font-size: clamp(50px, 7.6vw, 124px); }
h2 { font-size: clamp(44px, 6.2vw, 100px); }
h3 { font-size: clamp(30px, 3vw, 44px); line-height: 1; }
.gross { font-size: clamp(20px, 1.8vw, 26px); line-height: 1.4; }
.nur-handy { display: none; }
.sym { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

.sprung { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 12px 16px; z-index: 40; }
.sprung:focus { left: 8px; top: 8px; }
.fortschritt { position: fixed; left: 0; right: 0; top: 0; height: 3px; background: var(--rot); transform: scaleX(0); transform-origin: left; z-index: 35; }

/* Buttons */
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 12px 26px; font: 700 21px/1.1 var(--display); letter-spacing: 0.01em; text-transform: uppercase; text-decoration: none; background: var(--rot); color: #fff; border: 0; cursor: pointer; transition: background-color .16s ease-out, transform .14s var(--raus); }
.knopf:hover { background: var(--rot-dunkel); }
.knopf:active { transform: scale(.97); }
.knopf.wa { background: var(--flaeche-2); color: #fff; }
.knopf.wa .sym { color: var(--wa); }
.knopf.wa:hover { background: #3a3a3a; }
.knopf.zwei { background: var(--flaeche-2); }
.knopf.zwei:hover { background: #3a3a3a; }
.knopf.hellknopf { background: #fff; color: var(--grund); }
.knopf.hellknopf:hover { background: #e6e6e6; }
.knopf.hellknopf-dunkel { background: var(--grund); color: #fff; }
.knopf.hellknopf-dunkel:hover { background: #333; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; }

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; padding: 12px var(--rand); background: var(--grund); }
.marke { display: block; width: clamp(224px, 19vw, 300px); flex: none; margin-right: auto; }
.marke img { height: auto; }
.haupt { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 36px); }
.haupt a { font-weight: 500; text-decoration: none; padding: 8px 0; box-shadow: inset 0 -2px 0 transparent; transition: box-shadow .16s ease-out; }
.haupt a:hover, .haupt a[aria-current] { box-shadow: inset 0 -2px 0 var(--rot); }
.kopf-kontakt { display: flex; gap: 8px; }
.kopf .knopf { min-height: 46px; padding: 8px 16px; font-size: 19px; white-space: nowrap; }
.kopf .nur-symbol { padding: 8px 12px; }
.kopf .nur-symbol .sym { width: 24px; height: 24px; }
.menue { display: none; }

/* Schnellkontakt am Rand */
.dock { position: fixed; right: 0; top: 50%; z-index: 25; display: grid; transform: translate(100%, -50%); transition: transform .34s var(--raus); }
.dock.da { transform: translate(0, -50%); }
.dock a { display: grid; place-items: center; width: 60px; height: 60px; background: var(--rot); color: #fff; transition: background-color .16s ease-out; }
.dock a:hover { background: var(--rot-dunkel); }
.dock a.wa { background: var(--flaeche-2); color: var(--wa); }
.dock a.wa:hover { background: #3a3a3a; }
.dock .sym { width: 26px; height: 26px; }

/* Messlinie: Balken und Linie aus dem Logo */
.messlinie { position: relative; height: 4px; }
.messlinie::before { content: ""; position: absolute; left: 0; bottom: 0; width: clamp(44px, 6vw, 84px); height: 26px; background: var(--rot); clip-path: polygon(26% 0, 100% 0, 74% 100%, 0 100%); }
.messlinie::after { content: ""; position: absolute; inset: 0; background: var(--rot); transform-origin: left; }

/* Einstieg */
.einstieg { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: calc(100svh - 70px); isolation: isolate; overflow: hidden; }
.einstieg .foto { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.einstieg .foto img { object-position: 62% 60%; filter: saturate(.75) contrast(1.06) brightness(.82); }
.fluss img, .galerie img, .kachel-bild img { filter: saturate(.78) contrast(1.05) brightness(.9); }
.einstieg .foto::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,20,20,.92) 0%, rgba(20,20,20,.62) 40%, rgba(20,20,20,0) 72%), linear-gradient(0deg, rgba(20,20,20,.75) 0%, rgba(20,20,20,0) 30%); }
.einstieg .inhalt { padding: clamp(40px, 7vh, 80px) var(--rand) clamp(36px, 6vh, 64px); max-width: 1180px; }
.einstieg .gross { max-width: 34em; margin: 22px 0 28px; }
.google-chip { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; margin-bottom: 26px; background: #fff; color: #202124; text-decoration: none; font-size: 16px; font-weight: 500; transition: transform .2s var(--raus); }
.google-chip:hover { transform: translateY(-2px); }
.google-chip b { font-size: 20px; font-weight: 600; }
.g { width: 24px; height: 24px; flex: none; }
.sterne { display: inline-flex; gap: 2px; }
.sterne svg { width: 20px; height: 20px; fill: var(--gelb); }

/* Laufband */
.laufband { overflow: hidden; background: var(--rot); padding: 12px 0; }
.laufband > div { display: flex; gap: 48px; width: max-content; font: 700 clamp(22px, 2.2vw, 32px)/1.1 var(--display); text-transform: uppercase; white-space: nowrap; }

/* 3D-Vermessung */
.vermessung { position: relative; min-height: min(92svh, 860px); overflow: hidden; background: #0d0d0d; }
.vermessung canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.vermessung canvas:active { cursor: grabbing; }
.vermessung-text { position: relative; z-index: 1; padding: clamp(48px, 7vw, 96px) var(--rand) 0; max-width: 900px; pointer-events: none; }
.vermessung-text .gross { max-width: 30em; margin-top: 18px; }
.legende { position: absolute; left: var(--rand); bottom: 22px; z-index: 1; display: flex; align-items: center; gap: 10px; font-size: 16px; color: var(--text-2); pointer-events: none; }
.legende i { width: 18px; height: 4px; background: var(--rot); flex: none; }

/* Bild und Text */
.teilung { position: relative; isolation: isolate; min-height: min(88svh, 860px); display: flex; align-items: center; overflow: hidden; background: var(--grund); }
.teilung .text { position: relative; z-index: 1; width: min(52%, 760px); padding: var(--abstand) var(--rand); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 24px; }
.teilung.links { justify-content: flex-end; }
.teilung .bild { position: absolute; top: 0; bottom: 0; right: 0; width: 72%; z-index: -1; }
.teilung.links .bild { right: auto; left: 0; width: 60%; }
/* Fotos: einheitliche Stimmung und weiche Kanten statt harter Rechtecke */
.bild { overflow: hidden; }
.bild img { filter: saturate(.72) contrast(1.06) brightness(.8); }
@media (hover: hover) and (pointer: fine) { .bild img { scale: 1.14; will-change: translate; } }
.teilung .bild, .seitenkopf .bild, .standort-bild { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(0deg, transparent 0%, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, #000 42%), linear-gradient(0deg, transparent 0%, #000 16%, #000 84%, transparent 100%); -webkit-mask-composite: source-in; mask-composite: intersect; }
.teilung.links .bild { -webkit-mask-image: linear-gradient(270deg, transparent 0%, #000 42%), linear-gradient(0deg, transparent 0%, #000 16%, #000 84%, transparent 100%); mask-image: linear-gradient(270deg, transparent 0%, #000 42%), linear-gradient(0deg, transparent 0%, #000 16%, #000 84%, transparent 100%); }
.orte { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font: 600 clamp(26px, 2.8vw, 42px)/1.14 var(--display); text-transform: uppercase; color: var(--text-2); }
.orte li { display: flex; align-items: center; gap: 14px; }
.orte .sym { color: var(--rot); width: 1em; height: 1em; }
.hell { background: var(--hell); color: var(--grund); }

/* 3D-Karte */
.karte { display: grid; grid-template-columns: 5fr 8fr; align-items: stretch; background: #0d0d0d; }
.karte-text { padding: var(--abstand) var(--rand); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 22px; }
.orts-liste { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 2px 14px; color: var(--text-2); font-size: 17px; }
.karte-3d { position: relative; min-height: clamp(460px, 62vw, 860px); overflow: hidden; }
.karte-3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; cursor: grab; }
.marken { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.marken span { position: absolute; left: 0; top: 0; padding: 1px 6px; font-size: 14px; font-weight: 500; color: #fff; background: rgba(13,13,13,.72); white-space: nowrap; will-change: transform; hyphens: none; }
.marken .hier { font: 700 20px/1.2 var(--display); text-transform: uppercase; background: var(--rot); padding: 4px 10px; z-index: 2; }

/* Ablauf */
.ablauf-fest { padding: var(--abstand) var(--rand); }
.ablauf h2 { margin-bottom: clamp(28px, 4vw, 56px); }
.bahn { position: relative; padding-top: 34px; }
.bahn-logo { position: absolute; left: 0; bottom: 0; width: auto; height: 26px; max-width: none; object-fit: contain; opacity: 0; transition: opacity .28s ease-out; will-change: transform, opacity; }
.bahn-linie { position: relative; height: 4px; background: var(--flaeche-2); }
.bahn-linie i { position: absolute; inset: 0; background: var(--rot); transform-origin: left; will-change: transform; }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 clamp(20px, 3vw, 48px); }
.schritte li { padding-top: 26px; font-size: clamp(20px, 1.8vw, 26px); line-height: 1.32; font-weight: 500; }
.schritte .sym { display: block; width: 38px; height: 38px; color: var(--rot); margin-bottom: 14px; }
/* Scroll-Animation: die Linie läuft mit, das kleine Logo fährt nur währenddessen vorneweg */
.ablauf.laeuft .schritte li { opacity: .34; transform: translateY(10px); transition: opacity .34s var(--raus), transform .34s var(--raus); }
.ablauf.laeuft .schritte li .sym { transform: scale(.72); transform-origin: left center; transition: transform .34s var(--raus); }
.ablauf.laeuft .schritte li.an { opacity: 1; transform: none; }
.ablauf.laeuft .schritte li.an .sym { transform: none; }

/* Leistungen */
.leistungen { padding: var(--abstand) var(--rand) 0; }
.leistungen h2 { margin-bottom: clamp(32px, 4vw, 56px); }
.kacheln { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; perspective: 1200px; }
.kacheln > .kachel { grid-column: span 2; }
/* Keine Lücken: fünf Kacheln als 3 + 2, vier Kacheln als 2 + 2 */
@media (min-width: 1041px) {
  .kacheln > .kachel:nth-child(4):nth-last-child(2), .kacheln > .kachel:nth-child(5):nth-last-child(1),
  .kacheln > .kachel:first-child:nth-last-child(4), .kacheln > .kachel:first-child:nth-last-child(4) ~ .kachel { grid-column: span 3; aspect-ratio: 2 / 1; }
}
.kachel { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; text-decoration: none; background: var(--flaeche); transition: transform .3s var(--raus); transform-style: preserve-3d; will-change: transform; }
.kachel-bild { position: absolute; inset: 0; }
.kachel-bild img { transition: transform .5s var(--raus); }
.kachel-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(13,13,13,.95) 0%, rgba(13,13,13,.55) 52%, rgba(13,13,13,.1) 100%); }
.kachel-text { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(18px, 2vw, 28px); display: grid; gap: 8px; transform: translateZ(30px); }
.kachel-text .sym { width: 36px; height: 36px; color: #fff; padding: 7px; background: var(--rot); }
.kachel-text h3 { font-size: clamp(30px, 2.8vw, 42px); }
.kachel-text > span { color: #e2e2e2; font-size: 17px; line-height: 1.35; }

/* Zahlen */
.zahlen-band { padding: var(--abstand) var(--rand); }
.zahlen { display: flex; flex-wrap: wrap; gap: 24px clamp(32px, 7vw, 120px); margin: clamp(32px, 4vw, 56px) 0; }
.zahl b { display: block; font: 700 clamp(72px, 10vw, 168px)/0.9 var(--display); font-variant-numeric: tabular-nums; }
.zahl i { font-style: normal; color: var(--rot); }
.zahl span { font-weight: 500; font-size: 19px; }
.zahlen-band .gross { max-width: 38em; }
.werkzeuge { margin-top: 12px; display: grid; gap: 14px; }
.werkzeuge h3 { font-size: 22px; color: var(--text-2); font-weight: 600; }
.werkzeuge ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(24px, 3vw, 44px); margin: 0; padding: 0; }
.werkzeuge img { display: block; width: auto; height: 46px; object-fit: contain; filter: grayscale(1) invert(1) brightness(1.25); }
.werkzeuge li:first-child img { height: 68px; }
.werkzeuge li:nth-child(2) img { height: 54px; }
.werkzeuge li:nth-child(3) img { height: 32px; }

/* Referenzen im 3D-Lauf */
.referenzen { padding: var(--abstand) 0; overflow: hidden; }
.referenzen h2 { margin: 0 var(--rand) clamp(32px, 4vw, 56px); }
.fluss { display: flex; gap: clamp(10px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px 0; perspective: 1400px; scrollbar-width: none; cursor: grab; }
.fluss::-webkit-scrollbar { display: none; }
.fluss.zieht { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.fluss figure { flex: 0 0 min(74vw, 600px); margin: 0; scroll-snap-align: center; aspect-ratio: 4 / 3; }
.fluss figure > div { width: 100%; height: 100%; overflow: hidden; background: var(--flaeche); will-change: transform; }
.fluss img { pointer-events: none; -webkit-user-drag: none; }
.fluss-steuerung { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; padding: 0 var(--rand); }
.fluss-steuerung button { width: 56px; padding: 0; font-size: 24px; }
.galerie { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 6px; perspective: 1400px; }
.galerie figure { margin: 0; aspect-ratio: 4 / 3; background: var(--flaeche); overflow: hidden; transition: transform .3s var(--raus); }

/* Bewertung */
.bewertung { padding: clamp(56px, 8vw, 110px) var(--rand); display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: end; }
.bewertung h2 { font-size: clamp(56px, 9vw, 150px); color: #202124; }
.bewertung .g { width: clamp(44px, 5vw, 72px); height: clamp(44px, 5vw, 72px); margin-bottom: 18px; display: block; }
.bewertung .sterne { margin-top: 18px; display: flex; }
.bewertung .sterne svg { width: clamp(36px, 4.4vw, 62px); height: clamp(36px, 4.4vw, 62px); }
.bewertung .gross { margin-top: 14px; color: #3c4043; }

/* Fragen */
.schmal { padding: var(--abstand) var(--rand); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 5vw, 80px); }
.schmal h2 { font-size: clamp(40px, 4.6vw, 72px); }
.fragen { display: grid; gap: 6px; align-content: start; }
.frage { background: var(--flaeche); }
.frage summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 18px 22px; min-height: 60px; font: 600 clamp(22px, 2vw, 28px)/1.15 var(--display); text-transform: uppercase; transition: background-color .16s ease-out; }
.frage summary::-webkit-details-marker { display: none; }
.frage summary::after { content: ""; width: 14px; height: 14px; flex: none; border-right: 3px solid var(--rot); border-bottom: 3px solid var(--rot); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s var(--raus); }
.frage[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.frage summary:hover { background: var(--flaeche-2); }
.frage p, .frage ul { margin: 0; padding: 0 22px 20px; }
.frage ul { padding-left: 42px; display: grid; gap: 8px; }

/* Abschluss und Fuß */
.schluss { padding: var(--abstand) var(--rand); background: var(--grund); }
.schluss h2 { margin-bottom: 18px; }
.schluss .knoepfe { margin-top: 28px; }
.fuss { background: var(--flaeche); padding: 0 var(--rand) 28px; }
.standort { position: relative; isolation: isolate; overflow: hidden; margin: 0 calc(var(--rand) * -1) clamp(48px, 6vw, 80px); background: #0d0d0d; min-height: min(84svh, 780px); display: flex; align-items: center; }
.ort-block { position: relative; z-index: 1; width: min(68%, 960px); padding: clamp(48px, 6vw, 88px) var(--rand); display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.ort-block h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(26px, 2.6vw, 36px); color: var(--text-2); }
.ort-block h2 .sym { color: var(--rot); width: 1.3em; height: 1.3em; }
.zeiten { display: flex; flex-wrap: wrap; gap: 12px clamp(28px, 4vw, 60px); margin: 4px 0 6px; }
.zeiten dt { font-size: 16px; font-weight: 500; color: var(--text-2); }
.zeiten dd { margin: 0; font: 700 clamp(26px, 2.5vw, 36px)/1.1 var(--display); text-transform: uppercase; font-variant-numeric: tabular-nums; }
.adresse { font: 700 clamp(44px, 5.4vw, 92px)/0.98 var(--display); text-transform: uppercase; hyphens: none; }
.standort-bild { position: absolute; top: 0; bottom: 0; right: 0; width: 62%; z-index: -1; }
.standort-bild img { object-position: 50% 78%; filter: saturate(.5) contrast(1.05) brightness(.62); }
.fussmarke { width: min(100%, 460px); margin: 0 0 clamp(32px, 4vw, 56px); }
.spalten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.spalten h2 { font-size: 26px; margin-bottom: 12px; }
.spalten ul { list-style: none; margin: 0; padding: 0; }
.spalten li { padding: 3px 0; }
.spalten a { text-decoration: none; }
.spalten a:hover { text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.klein { margin-top: 44px; color: var(--text-2); font-size: 16px; }

/* Unterseiten */
.seitenkopf { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: min(84svh, 800px); justify-content: flex-end; overflow: hidden; }
.seitenkopf .text { position: relative; z-index: 1; width: min(60%, 860px); padding: clamp(48px, 7vw, 104px) var(--rand); display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 22px; }
.seitenkopf .bild { position: absolute; top: 0; bottom: 0; right: 0; width: 74%; z-index: -1; }
.kopf-symbol { width: 54px; height: 54px; padding: 11px; color: #fff; background: var(--rot); }
.punkte { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.punkte li { font-size: clamp(20px, 1.9vw, 27px); line-height: 1.32; font-weight: 500; padding-left: 26px; position: relative; }
.punkte li::before { content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 4px; background: var(--rot); }
.fliess { max-width: 46em; }
.fliess h2 { font-size: clamp(30px, 3vw, 42px); margin: 44px 0 12px; }
.fliess h2:first-child { margin-top: 0; }
.fliess p, .fliess ul { margin: 0 0 14px; }
.titelblock { padding: clamp(48px, 7vw, 104px) var(--rand) clamp(32px, 4vw, 56px); }
.titelblock .gross { max-width: 34em; margin: 20px 0 26px; }
.rahmen { padding: 0 var(--rand) var(--abstand); }

/* Formular */
.kontakt { padding: 0 var(--rand) var(--abstand); display: grid; grid-template-columns: 7fr 5fr; gap: clamp(32px, 6vw, 96px); }
form { display: grid; gap: 18px; }
form h2 { font-size: clamp(34px, 3.4vw, 52px); }
label { display: grid; gap: 6px; font-weight: 600; }
input, textarea { width: 100%; min-height: 54px; padding: 14px 16px; font: 400 18px/1.4 var(--schrift); color: #fff; background: var(--flaeche); border: 2px solid var(--flaeche); border-radius: 0; transition: border-color .16s ease-out; }
input:focus, textarea:focus { outline: 0; border-color: #fff; }
textarea { min-height: 170px; resize: vertical; }
.hinweis { font-size: 16px; color: var(--text-2); margin-top: 16px; }
.daten { display: grid; gap: 26px; align-content: start; }
.daten h2 { font-size: 34px; margin-bottom: 6px; }
.daten a { text-underline-offset: 3px; text-decoration-color: var(--rot); }

.handyleiste { display: none; }

@media (max-width: 1040px) {
  .haupt { display: none; }
  .menue { display: block; }
  .menue summary { list-style: none; cursor: pointer; font: 700 21px/1 var(--display); text-transform: uppercase; padding: 13px 16px; background: var(--flaeche-2); }
  .menue summary::-webkit-details-marker { display: none; }
  .menue nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--grund); padding: 8px var(--rand) 24px; display: grid; gap: 2px; }
  .menue nav a { font: 700 34px/1.3 var(--display); text-transform: uppercase; text-decoration: none; padding: 6px 0; }
  .schmal, .kontakt, .karte { grid-template-columns: 1fr; }
  .standort { display: block; min-height: 0; }
  .ort-block { width: 100%; padding-bottom: 28px; }
  .standort-bild { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 72%, transparent 100%); }
  .seitenkopf .bild { order: -1; position: relative; width: 100%; aspect-ratio: 4 / 3; min-height: 0; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 34%); mask-image: linear-gradient(0deg, transparent 0%, #000 34%); }
  .seitenkopf .text { margin-top: -48px; padding-top: 0; position: relative; z-index: 1; width: 100%; }
  .teilung { flex-direction: column; align-items: stretch; min-height: 0; }
  .teilung .bild { order: -1; flex: none; }
  .teilung .bild, .teilung.links .bild { position: relative; width: 100%; aspect-ratio: 4 / 3; -webkit-mask-image: linear-gradient(0deg, transparent 0%, #000 34%); mask-image: linear-gradient(0deg, transparent 0%, #000 34%); }
  .teilung .text { width: 100%; margin-top: -56px; padding: 0 var(--rand) var(--abstand); }
  .karte-text { padding-bottom: 24px; }
  .karte-3d { min-height: 90vw; }
  .kacheln { grid-template-columns: repeat(2, 1fr); }
  .kacheln > .kachel { grid-column: auto; }
  .kacheln > .kachel:last-child:nth-child(odd) { grid-column: span 2; aspect-ratio: 8 / 3; }
  .spalten { grid-template-columns: 1fr 1fr; }
  .dock { display: none; }
}

@media (max-width: 720px) {
  body { font-size: 17px; padding-bottom: 66px; }
  h1 { font-size: clamp(46px, 13.6vw, 72px); }
  h2 { font-size: clamp(40px, 11.5vw, 60px); }
  .kopf { gap: 10px; }
  .kopf-kontakt { display: none; }
  .einstieg { min-height: calc(100svh - 128px); }
  .einstieg .foto::after { background: linear-gradient(0deg, rgba(20,20,20,.97) 0%, rgba(20,20,20,.86) 40%, rgba(20,20,20,.1) 72%); }
  .einstieg .foto img { object-position: 64% 0%; height: 62%; }
  .einstieg .foto { background: var(--grund); }
  .einstieg .inhalt { padding: 22px var(--rand) 28px; }
  .einstieg .gross { margin: 14px 0 20px; }
  .google-chip { margin-bottom: 18px; padding: 8px 12px; font-size: 15px; gap: 8px; }
  .sterne svg { width: 17px; height: 17px; }
  .einstieg .knoepfe .knopf { width: 100%; }
  .knoepfe .knopf { padding: 12px 12px; font-size: 20px; }
  .nur-handy { display: inline; }
  .vermessung { min-height: 640px; }
  .schritte { grid-template-columns: 1fr; gap: 16px; padding-top: 22px; }
  .schritte li { padding: 0 0 0 52px; position: relative; font-size: 19px; }
  .schritte .sym { position: absolute; left: 0; top: 0; width: 34px; height: 34px; margin: 0; }
  .kacheln { grid-template-columns: 1fr; }
  .kacheln > .kachel:last-child:nth-child(odd) { grid-column: auto; aspect-ratio: 4 / 3; }
  .bewertung { grid-template-columns: 1fr; }
  .bewertung .knopf, .schluss .knopf, .ort-block .knopf { width: 100%; }
  .bewertung h2 { font-size: 17vw; }
  .ort-block .knoepfe { width: 100%; }
  .adresse { font-size: 12.5vw; }
  .spalten { grid-template-columns: 1fr; gap: 26px; }
  .spalten li a { display: inline-block; padding: 9px 0; }
  .marken span { font-size: 13px; }
  .handyleiste { display: grid; grid-template-columns: 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 25; padding-bottom: env(safe-area-inset-bottom); background: var(--grund); }
  .handyleiste .knopf { min-height: 58px; padding: 8px; }
}

/* Bewegung */
@media (prefers-reduced-motion: no-preference) {
  .kopf .marke img { animation: wischen 900ms var(--beide) 120ms both; }
  .einstieg .foto img { animation: drift 12s var(--raus) both; }
  .google-chip { animation: rein 620ms var(--raus) 60ms both; }
  .einstieg h1 { animation: rein 620ms var(--raus) 120ms both; }
  .einstieg .gross { animation: rein 620ms var(--raus) 200ms both; }
  .einstieg .knoepfe { animation: rein 620ms var(--raus) 280ms both; }
  .einstieg .messlinie::after, .messlinie.ziehen::after { animation: linie 900ms var(--beide) 300ms both; }
  .einstieg .messlinie::before, .messlinie.ziehen::before { animation: balken 420ms var(--raus) 180ms both; }
  .laufband > div { animation: lauf 46s linear infinite; }
  .sterne svg { animation: stern 460ms var(--raus) both; animation-delay: calc(500ms + var(--i) * 90ms); }
  .sterne.warten svg { animation: none; opacity: 0; }
  .sterne.warten.da svg { animation: stern 460ms var(--raus) both; animation-delay: calc(var(--i) * 90ms); }
  .symbol-auftritt.warten { opacity: 0; }
  .symbol-auftritt.warten.da { opacity: 1; animation: fallen 620ms var(--raus); }
  .rein { opacity: 0; transform: translateY(26px); transition: opacity 560ms var(--raus), transform 560ms var(--raus); transition-delay: var(--spaet, 0ms); }
  .rein.da { opacity: 1; transform: none; }
  .bild.rein { transform: scale(1.04); }
  .bild.rein.da { transform: none; }
  .wort { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
  .wort > span { display: inline-block; transform: translateY(105%); }
  .woerter.da .wort > span { transform: none; transition: transform 700ms var(--raus); transition-delay: calc(var(--i) * 55ms); }
  .vermessung canvas, .karte-3d canvas { opacity: 0; transition: opacity 700ms ease-out; }
  .bereit canvas { opacity: 1; }
  @media (hover: hover) and (pointer: fine) {
    .wackeln { transform-origin: 50% 50%; }
    .knopf:hover .wackeln { animation: wackeln 480ms ease-in-out; }
    .kachel:hover .kachel-bild img { transform: scale(1.05); }
  }
}
@keyframes wischen { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes drift { from { transform: scale(1.08); } to { transform: none; } }
@keyframes rein { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes linie { from { transform: scaleX(0); } to { transform: none; } }
@keyframes balken { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
@keyframes lauf { to { transform: translateX(-50%); } }
@keyframes stern { from { opacity: 0; transform: scale(.5) rotate(-24deg); } to { opacity: 1; transform: none; } }
@keyframes fallen { from { transform: translateY(-26px); } 60% { transform: translateY(3px); } to { transform: none; } }
@keyframes wackeln { 25% { transform: rotate(-13deg); } 60% { transform: rotate(11deg); } }

/* Abschluss mit Film */
.schluss-film { position: relative; isolation: isolate; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: flex-end; background: #000; overflow: hidden; }
.schluss-film video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.schluss-film::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.5) 24%, rgba(10,10,10,0) 48%); }
.schluss-inhalt { padding: 0 var(--rand) clamp(40px, 6vw, 72px); }
.schluss-inhalt h2 { margin-bottom: 16px; }
.schluss-inhalt .knoepfe { margin-top: 26px; }
@media (max-width: 720px) {
  .schluss-film { min-height: min(calc(100svh - 58px), 177.8vw); }
  .schluss-film::after { background: linear-gradient(0deg, rgba(10,10,10,.82) 0%, rgba(10,10,10,.34) 34%, rgba(10,10,10,0) 58%); }
  .schluss-inhalt .knopf { width: 100%; }
  .schluss-film video { transform-origin: 50% 25%; }
}
@media (max-width: 720px) and (prefers-reduced-motion: no-preference) {
  .schluss-film video.spielt { transform: scale(1.04); transition: transform 8s linear; }
}

/* Rezensionen */
.bewertung { padding-bottom: clamp(40px, 5vw, 64px); }
.rezensionen { grid-column: 1 / -1; margin: 8px calc(var(--rand) * -1) 0; padding: 8px var(--rand) 16px; display: flex; align-items: flex-start; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--rand); scrollbar-width: none; }
.rezensionen::-webkit-scrollbar { display: none; }
.rezension { flex: 0 0 min(84vw, 400px); margin: 0; padding: 22px; background: #fff; color: #202124; scroll-snap-align: start; transition: transform .22s var(--raus); }
.rezension figcaption { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.kreis { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: #fff; font-weight: 600; font-size: 19px; }
.wer { display: grid; gap: 2px; min-width: 0; margin-right: auto; hyphens: none; }
.wer b { font-weight: 600; line-height: 1.2; }
.rezension .g { width: 22px; height: 22px; margin: 0; }
.bewertung .rezension .sterne { margin: 0; }
.bewertung .rezension .sterne svg { width: 16px; height: 16px; }
.rez-text { margin: 0; font-size: 17px; line-height: 1.5; hyphens: manual; }
.rez-text p + p { margin-top: 8px; }
.js .rez-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; overflow: hidden; }
.js .rezension.offen .rez-text { display: block; }
.rez-mehr { margin-top: 10px; padding: 8px 0; min-height: 40px; background: none; border: 0; cursor: pointer; font: 600 16px/1.2 var(--schrift); color: #202124; text-decoration: underline; text-decoration-color: var(--rot); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.rez-steuerung { grid-column: 1 / -1; display: flex; gap: 10px; }
.rez-steuerung button { width: 56px; padding: 0; font-size: 24px; }
@media (hover: hover) and (pointer: fine) { .rezension:hover { transform: translateY(-3px); } }
.bewertung .rez-steuerung .knopf { width: 56px; }

/* Instagram: nur im Footer */
.mit-symbol { display: inline-flex; align-items: center; gap: 8px; }
.mit-symbol .sym { width: 18px; height: 18px; color: var(--text-2); }
