/* Badewelt: Entwurf „Beckenrand“.
   Hellblau und Gelb aus dem alten Kopfbild, tiefes Beckenblau für Servicezeile, Bänder und Fuß.
   Fugenraster der Fliesen (.fliesen), Überlaufrinne (.rinne), Bahnmarkierung mit T-Ende (.bahn), Mosaikziffern (.mosaik).
   Zen Maru Gothic für Überschriften und Logo, Signika für Text. */

@font-face { font-family: 'Zen Maru Gothic'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/zen-maru-gothic-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Zen Maru Gothic'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/zen-maru-gothic-latin-500-normal.woff2') format('woff2'); }
@font-face { font-family: 'Zen Maru Gothic'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/zen-maru-gothic-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Zen Maru Gothic'; font-style: normal; font-weight: 900; font-display: swap; src: url('/fonts/zen-maru-gothic-latin-900-normal.woff2') format('woff2'); }
@font-face { font-family: 'Signika'; font-style: normal; font-weight: 300 700; font-display: swap; src: url('/fonts/signika-latin-wght-normal.woff2') format('woff2'); }

:root {
  --tief: #10304d;
  --tief-2: #163a5b;
  --tief-3: #1f4a70;
  --blau: #2f5f95;
  --blau-hell: #4d7fb5;
  --hell: #a4ccf0;
  --wasser: #e3f0f9;
  --grund: #f2f7fb;
  --papier: #fbfdfe;
  --tinte: #12263a;
  --text: #2b3f54;
  --grau: #5b6d7f;
  --linie: #d5e2ec;
  --linie-mittel: #b5c8d8;
  --linie-hell: rgba(255, 255, 255, .16);
  --gelb: #dfbf22;
  --display: 'Zen Maru Gothic', 'Arial Rounded MT Bold', 'Segoe UI', sans-serif;
  --sans: 'Signika', 'Segoe UI', system-ui, sans-serif;
  --rand: clamp(20px, 4.6vw, 64px);
  --breite: 1280px;
  --kopf-h: 84px;
  --weich: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-h) + 20px); }
body { margin: 0; overflow-x: clip; background: var(--papier); color: var(--text); font: 400 1.125rem/1.62 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: 4px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--tief); line-height: 1.12; letter-spacing: -.012em; margin: 0 0 .5em; text-wrap: balance; hyphens: auto; overflow-wrap: break-word; }
h1 { font-size: clamp(2.45rem, 4.9vw, 4.4rem); line-height: 1.07; letter-spacing: -.02em; }
h2 { font-size: clamp(1.9rem, 3.3vw, 3rem); }
h3 { font-size: 1.4rem; line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
abbr[title] { text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
main:focus { outline: none; }
:focus-visible { outline: 2.5px solid var(--blau); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--hell); color: var(--tinte); }
strong { font-weight: 600; color: var(--tinte); }

.wrap { width: min(100% - 2 * var(--rand), var(--breite)); margin-inline: auto; }
.nur-leser { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sprung { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--tief); color: #fff; text-decoration: none; }
.sprung:focus { top: 12px; }
.i { width: 1.1em; height: 1.1em; flex: none; }
.klein { font-size: .92rem; color: var(--grau); }
.lead { font-size: clamp(1.15rem, 1.45vw, 1.3rem); line-height: 1.55; color: var(--text); max-width: 34em; }
.bild-fehlt { display: block; aspect-ratio: 3 / 2; background: var(--wasser); }

/* Logo */
.logo { overflow: visible; }
.lg-wort { font: 900 31px/1 var(--display); letter-spacing: -.4px; }
.lg-zeile { font: 600 9.6px/1 var(--sans); letter-spacing: 1.25px; text-transform: uppercase; }

/* Motiv: Fugenraster, Rinne, Bahn, Mosaik */
.fliesen { background-color: var(--grund); background-image: url('/muster/fliesen.svg'); background-size: 44px 44px; }
.rinne { height: 18px; background: url('/muster/rinne.svg') repeat-x 0 0 / 11px 18px; border-block: 1px solid var(--linie-mittel); }
.rinne-fuss { background-image: url('/muster/rinne-tief.svg'); border-color: #0a2238; }
.bahn { position: relative; display: inline-block; flex: none; width: 44px; height: 5px; background: var(--tief); }
.bahn::after { content: ''; position: absolute; right: 0; top: -7px; width: 5px; height: 19px; background: inherit; }
.mosaik { width: auto; height: auto; overflow: visible; }
.mosaik-feld .m0 { fill: #e1eef8; } .mosaik-feld .m1 { fill: #d8e8f4; } .mosaik-feld .m2 { fill: #e7f1f9; } .mosaik-feld .m3 { fill: #dcebf6; } .mosaik-feld .m4 { fill: #e4f0f9; }
.mosaik-ziffer .m0 { fill: #2f5f95; } .mosaik-ziffer .m1 { fill: #29588a; } .mosaik-ziffer .m2 { fill: #36699f; } .mosaik-ziffer .m3 { fill: #2c5b8f; } .mosaik-ziffer .m4 { fill: #3b70a8; }
.mosaik-klein { width: 46px; }
.seitenkopf-nr .mosaik { width: 58px; margin-bottom: 26px; }
.abschnitt-tief .mosaik-feld .m0, .abschnitt-tief .mosaik-feld .m2, .abschnitt-tief .mosaik-feld .m4 { fill: #1b4167; }
.abschnitt-tief .mosaik-feld .m1, .abschnitt-tief .mosaik-feld .m3 { fill: #173a5d; }
.abschnitt-tief .mosaik-ziffer .m0 { fill: #a4ccf0; } .abschnitt-tief .mosaik-ziffer .m1 { fill: #98c3ea; } .abschnitt-tief .mosaik-ziffer .m2 { fill: #b2d5f3; } .abschnitt-tief .mosaik-ziffer .m3 { fill: #9fc8ee; } .abschnitt-tief .mosaik-ziffer .m4 { fill: #bcdaf5; }

/* Etikett */
.etikett { display: flex; align-items: center; gap: 14px; margin: 0 0 22px; font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blau); }
.etikett-hell { color: var(--hell); }
.etikett-hell .bahn { background: var(--hell); }

/* Links und Knöpfe */
.pfeil-link { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--tief); text-decoration: none; border-bottom: 2px solid var(--gelb); padding-bottom: 3px; }
.pfeil-link .i { color: var(--blau); transition: transform .25s var(--weich); }
.pfeil-link:hover .i { transform: translateX(4px); }
.abschnitt-tief .pfeil-link { color: #fff; }
.abschnitt-tief .pfeil-link .i { color: var(--hell); }
.knopf { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 14px 22px; background: var(--tief); color: #fff; border: 2px solid var(--tief); border-radius: 6px; font: 600 1rem/1.1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.knopf:hover { background: var(--tief-3); border-color: var(--tief-3); }
.knopf .i { transition: transform .25s var(--weich); }
.knopf:hover .i { transform: translateX(4px); }
.knopf-linie { background: transparent; color: var(--tief); }
.knopf-linie:hover { background: var(--tief); color: #fff; }
.knopf-klein { padding: 9px 14px; font-size: .9rem; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Leise Anfrage */
.leise { margin: 30px 0 0; font-size: 1.02rem; color: var(--text); }
.leise a { font-weight: 600; color: var(--tief); text-decoration: underline; text-decoration-color: var(--gelb); text-decoration-thickness: 2px; white-space: nowrap; }
.leise a:hover { color: var(--blau); }
.trenner { margin: 0 .55em; color: var(--blau-hell); }
.leise-klein { font-size: .92rem; margin-top: 26px; }

/* Servicezeile und Kopf */
.servicezeile { background: var(--tief); color: #fff; font-size: .86rem; }
.servicezeile-innen { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.servicezeile p { margin: 0; }
.servicezeile ul { display: flex; gap: 24px; margin: 0; padding: 0; list-style: none; }
.servicezeile a { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 500; }
.servicezeile a:hover span { text-decoration: underline; }
.servicezeile .i { color: var(--hell); }
.kopf { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--linie); transition: box-shadow .3s; }
.kopf-gescrollt { box-shadow: 0 14px 30px -24px rgba(16, 48, 77, .55); }
.kopf-innen { display: flex; align-items: center; gap: 24px; height: var(--kopf-h); }
.marke { display: block; flex: none; color: inherit; text-decoration: none; }
.marke .logo { width: 252px; height: auto; }
.nav { margin-left: auto; }
.nav-liste { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.nav-liste > li { position: relative; display: flex; align-items: center; }
.nav-liste > li > a { display: block; padding: 10px 6px 10px 14px; font: 600 1rem/1 var(--sans); color: var(--tief); text-decoration: none; border-bottom: 2px solid transparent; }
.nav-liste > li:last-child > a { padding-right: 14px; }
.nav-liste > li > a:hover { color: var(--blau); }
.nav-liste > li > a[aria-current] { border-bottom-color: var(--gelb); }
.menue-knopf { display: grid; place-items: center; width: 26px; height: 32px; padding: 0; margin-right: 4px; background: none; border: 0; color: var(--blau-hell); cursor: pointer; border-radius: 4px; }
.menue-knopf .i { width: 16px; height: 16px; transition: transform .2s; }
.menue.offen .menue-knopf .i { transform: rotate(180deg); }
.menue-tafel { position: absolute; top: calc(100% + 18px); left: 0; z-index: 5; min-width: 300px; padding: 22px 24px 18px; background: #fff; border: 1px solid var(--linie); border-top: 4px solid var(--tief); border-radius: 0 0 6px 6px; box-shadow: 0 30px 50px -30px rgba(16, 48, 77, .45); visibility: hidden; opacity: 0; transform: translateY(-6px); transition: opacity .2s, transform .2s, visibility 0s .2s; }
.menue-tafel::before { content: ''; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.menue-rechts .menue-tafel { left: auto; right: 0; }
.menue.offen .menue-tafel { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
.menue-kurz { margin: 0 0 12px; padding-bottom: 12px; border-bottom: 1px solid var(--linie); font-size: .9rem; color: var(--grau); }
.menue-tafel ul { margin: 0; padding: 0; list-style: none; }
.menue-tafel a { display: block; padding: 7px 0; font-size: .98rem; text-decoration: none; color: var(--tief); white-space: nowrap; }
.menue-tafel a:hover { color: var(--blau); text-decoration: underline; text-decoration-color: var(--gelb); text-decoration-thickness: 2px; }
.entwurf-etikett { padding: 6px 10px; border: 1px dashed var(--linie-mittel); border-radius: 4px; font: 600 .66rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; color: var(--grau); }
.entwurf-etikett:hover { border-color: var(--blau); color: var(--blau); }
.kopf-telefon, .burger { display: none; }
.mobilmenue { position: fixed; inset: 0; z-index: 35; padding: calc(var(--kopf-h) + 64px) var(--rand) 40px; overflow-y: auto; }
.mobil-haupt { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--linie-mittel); }
.mobil-haupt a { display: flex; align-items: baseline; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--linie-mittel); font: 700 1.9rem/1.1 var(--display); color: var(--tief); text-decoration: none; }
.mobil-haupt a span { font: 600 .9rem/1 var(--sans); color: var(--blau); }
.mobil-fuss { display: grid; gap: 14px; margin-top: 30px; }
.mobil-fuss a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--tief); }
.mobil-fuss .i { color: var(--blau); }
.mobil-fuss p { margin: 8px 0 0; color: var(--grau); font-size: .95rem; }
.mobil-offen body { overflow: hidden; }

/* Brotkrumen */
.krumen ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 30px; padding: 0; list-style: none; font: 500 .82rem/1.4 var(--sans); color: var(--grau); }
.krumen li + li::before { content: '/'; margin-right: 6px; color: var(--linie-mittel); }
.krumen a { text-decoration: none; }
.krumen a:hover { text-decoration: underline; }

/* Einstieg */
.einstieg { padding: clamp(48px, 6vw, 88px) 0 clamp(40px, 4.4vw, 64px); }
.einstieg-raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(20px, 2.4vw, 32px); align-items: end; }
.einstieg-text { grid-column: 1 / 7; padding-bottom: clamp(8px, 2vw, 30px); }
.einstieg h1 { font-size: clamp(2.7rem, 5.6vw, 4.5rem); margin-bottom: .42em; }
.einstieg-foto { grid-column: 7 / 13; margin: 0; justify-self: end; }
.einstieg-foto img { border-radius: 4px; }
figcaption { margin-top: 12px; font-size: .9rem; line-height: 1.45; color: var(--grau); }

/* Abschnitte */
.abschnitt { padding: clamp(72px, 9vw, 128px) 0; }
.abschnitt-eng { padding: clamp(48px, 6vw, 80px) 0; }
.abschnitt-tief { background: var(--tief) url('/muster/fliesen-hell.svg'); background-size: 44px 44px; color: rgba(255, 255, 255, .86); }
.abschnitt-tief h2, .abschnitt-tief h3 { color: #fff; }
.abschnitt-kopf { max-width: 780px; margin-bottom: clamp(36px, 4.6vw, 60px); }
.abschnitt-kopf > p:last-child { max-width: 38em; }
.abschnitt-kopf-breit { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 5vw, 80px); align-items: end; max-width: none; }
.abschnitt-kopf-breit h2 { margin-bottom: 0; }
.abschnitt-kopf-breit > p { margin: 0; }
.zweier { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.zweier-oben { align-items: start; }

/* Drei Bereiche auf der Startseite: ungleiches Fliesenfeld */
.bereiche { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; gap: clamp(18px, 2.2vw, 28px); }
.bereich { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--linie); border-radius: 6px; overflow: hidden; }
.bereich-gross { grid-column: 1 / 8; grid-row: 1 / 3; }
.bereich-klein { grid-column: 8 / 13; }
.bereich-bild { display: block; overflow: hidden; }
.bereich-bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .8s var(--weich); }
.bereich-gross .bereich-bild img { aspect-ratio: 16 / 10; }
.bereich:hover .bereich-bild img { transform: scale(1.025); }
.bereich-text { padding: clamp(22px, 2.6vw, 34px); }
.bereich-kopf { display: flex; align-items: center; gap: 16px; margin-bottom: 12px; }
.bereich-kopf h3 { margin: 0; font-size: clamp(1.6rem, 2.3vw, 2.1rem); }
.bereich-kopf h3 a { text-decoration: none; }
.bereich-kopf h3 a:hover { color: var(--blau); }
.bereich-text > p { color: var(--grau); margin-bottom: 18px; }
.bereich-liste { display: grid; gap: 0 26px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--linie); }
.bereich-gross .bereich-liste { grid-template-columns: 1fr 1fr; }
.bereich-liste li { border-bottom: 1px solid var(--linie); }
.bereich-liste a { display: block; padding: 10px 0; text-decoration: none; color: var(--tief); font-weight: 500; font-size: 1.02rem; line-height: 1.35; }
.bereich-liste a:hover { color: var(--blau); }

/* Bahnen der Arbeitsweise */
.bahnen { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--linie-mittel); }
.bahn-zeile { display: grid; grid-template-columns: 90px minmax(0, 420px) minmax(0, 1fr); align-items: center; gap: 0 clamp(20px, 3vw, 48px); padding: 30px 0; border-bottom: 1px solid var(--linie-mittel); }
.bahn-nr { font: 900 3.2rem/1 var(--display); color: var(--hell); }
.bahn-text h3 { margin-bottom: 4px; }
.bahn-text p { margin: 0; color: var(--text); }
.bahn-lang { width: 100%; height: 7px; }
.bahn-lang::after { top: -10px; width: 7px; height: 27px; }

/* Werkstatt und Verkauf */
.verkauf-raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 7vw, 120px); align-items: center; }
.verkauf h2 { max-width: 14em; }
.verkauf-navi { display: flex; gap: 10px; align-items: flex-start; color: #fff; }
.verkauf-navi .i { margin-top: 4px; color: var(--hell); }
.verkauf-zeiten-titel { margin: 0 0 14px; font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--hell); }
.mosaik-zeiten { width: 100%; }
.verkauf-uhr { margin: 10px 0 26px; text-align: right; font: 700 1.1rem/1 var(--display); color: var(--hell); }

/* Wochenplan als Fliesenreihe */
.woche { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin: 0; }
.tag { display: grid; align-content: space-between; aspect-ratio: 1; min-width: 0; padding: 8px 6px; background: #fff; border: 1px solid var(--linie); border-radius: 4px; text-align: center; }
.tag dt { font: 700 .95rem/1 var(--display); color: var(--grau); }
.tag dd { margin: 0; font: 600 .78rem/1.1 var(--sans); color: var(--grau); white-space: nowrap; }
.tag-offen { background: var(--hell); border-color: var(--hell); }
.tag-offen dt, .tag-offen dd { color: var(--tief); }
.woche-hell .tag { background: transparent; border-color: var(--linie-hell); }
.woche-hell .tag dt, .woche-hell .tag dd { color: rgba(255, 255, 255, .55); }
.woche-hell .tag-offen { background: var(--hell); border-color: var(--hell); }
.woche-hell .tag-offen dt, .woche-hell .tag-offen dd { color: var(--tief); }

/* Schluss der Startseite */
.schluss { border-top: 1px solid var(--linie); }
.schluss-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px clamp(32px, 6vw, 96px); align-items: center; }
.schluss h2 { margin: 0; font-size: clamp(1.7rem, 2.7vw, 2.4rem); }
.schluss-zeile { font-size: 1.1rem; }
.schluss-zeile a { font-weight: 600; color: var(--tief); text-decoration: underline; text-decoration-color: var(--gelb); text-decoration-thickness: 2px; white-space: nowrap; }

/* Seitenkopf der Unterseiten */
.seitenkopf { padding: clamp(40px, 5vw, 72px) 0 clamp(40px, 5vw, 72px); }
.seitenkopf-innen { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(20px, 2.4vw, 32px); align-items: end; }
.seitenkopf-text { grid-column: 1 / 8; }
.seitenkopf-bild .seitenkopf-text { grid-column: 1 / 7; }
.seitenkopf-foto { grid-column: 7 / 13; }
.seitenkopf-foto picture img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.seitenkopf .lead { margin-bottom: 0; }
.seitenkopf-schmal { padding-bottom: clamp(36px, 4vw, 56px); }
.kopf-figur { margin: 0; justify-self: end; }
.kopf-figur img { border-radius: 4px; }

/* Unternavigation der Bereiche */
.bereich-nav { background: #fff; border-bottom: 1px solid var(--linie); }
.bereich-nav ul { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; overflow-x: auto; scrollbar-width: none; }
.bereich-nav a { display: flex; align-items: center; gap: 10px; padding: 18px 16px 15px; border-bottom: 3px solid transparent; text-decoration: none; font-weight: 600; color: var(--tief); white-space: nowrap; }
.bereich-nav a:hover { color: var(--blau); }
.bereich-nav a[aria-current] { border-bottom-color: var(--tief); }
.bereich-nav-nr { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 3px; background: var(--wasser); color: var(--blau); font: 700 .8rem/1 var(--display); }
.bereich-nav a[aria-current] .bereich-nav-nr { background: var(--tief); color: #fff; }

/* Leistungen auf den Bereichsseiten */
.leistungen-raster { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 clamp(20px, 2.4vw, 32px); align-items: start; }
.inhalt-liste { grid-column: 1 / 4; position: sticky; top: calc(var(--kopf-h) + 32px); }
.inhalt-titel { margin: 0 0 12px; font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blau); }
.inhalt-liste ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--linie); }
.inhalt-liste li { border-bottom: 1px solid var(--linie); }
.inhalt-liste a { display: grid; grid-template-columns: 34px 1fr; gap: 6px; padding: 10px 0; font-size: .98rem; line-height: 1.35; text-decoration: none; color: var(--tief); }
.inhalt-liste a span { color: var(--grau); font-size: .86rem; padding-top: 2px; }
.inhalt-liste a:hover { color: var(--blau); }
.leistungen { grid-column: 5 / 13; display: grid; gap: clamp(56px, 7vw, 96px); }
.leistung { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 clamp(24px, 3.4vw, 48px); }
.leistung-bild { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.bahn-leistung { grid-column: 1 / -1; width: 72px; margin-bottom: 26px; }
.leistung-text { max-width: 36em; }
.leistung-nr { margin: 0 0 10px; font: 600 .86rem/1 var(--sans); color: var(--blau); letter-spacing: .06em; }
.leistung h2 { font-size: clamp(1.7rem, 2.5vw, 2.3rem); }
.leistung-text p { margin-bottom: 1em; }
.leistung-foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }

/* Schnitt durch ein Schwimmbad */
.schnitt-abschnitt { background: var(--grund); border-top: 1px solid var(--linie); }
.schnitt-figur { margin: 0 0 40px; }
.schnitt-rahmen { overflow-x: auto; background: #fff; border: 1px solid var(--linie); border-radius: 6px; padding: clamp(10px, 2vw, 28px); }
.schnitt { width: 100%; min-width: 640px; height: auto; }
.schnitt .sk-erde { fill: #eaf1f6; }
.schnitt .sk-schraffur { stroke: #d2dfe9; stroke-width: 1; }
.schnitt .sk-raum { fill: #fff; stroke: var(--linie-mittel); stroke-dasharray: 5 4; }
.schnitt .sk-raum-name { font: 600 13px var(--sans); letter-spacing: 1.6px; text-transform: uppercase; fill: var(--grau); }
.schnitt .sk-boden { stroke: var(--tief); stroke-width: 2; }
.schnitt .sk-wand { fill: #c9d6e1; }
.schnitt .sk-fliese { fill: #f4f9fd; }
.schnitt .sk-fuge { fill: none; stroke: #b9d2e8; stroke-width: 1; }
.schnitt .sk-wasser { fill: var(--hell); fill-opacity: .55; }
.schnitt .sk-welle { stroke: #fff; stroke-width: 2; }
.schnitt .sk-rinne { fill: #fff; stroke: var(--tief); stroke-width: 1.6; }
.schnitt .sk-gitter { stroke: var(--tief); stroke-width: 3; stroke-dasharray: 2 2; }
.schnitt .sk-rohr path { fill: none; stroke: var(--blau); stroke-width: 6; stroke-linejoin: round; stroke-linecap: round; }
.schnitt .sk-teil rect, .schnitt .sk-teil circle { fill: #fff; stroke: var(--tief); stroke-width: 2; }
.schnitt .sk-rad { stroke: var(--tief); stroke-width: 2; }
.schnitt .sk-sand { fill: #e6dcc3; }
.schnitt .sk-heiz { fill: none; stroke: #d9822b; stroke-width: 2.4; stroke-linecap: round; }
.schnitt .sk-tropfen { fill: var(--blau); }
.schnitt .sk-duese { fill: var(--tief); }
.schnitt .sk-pfeil { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.schnitt .sk-nr rect { fill: var(--gelb); }
.schnitt .sk-nr text { font: 700 15px var(--display); fill: var(--tief); }
.schnitt-legende { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px 32px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.schnitt-legende li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; font-size: 1rem; line-height: 1.45; }
.schnitt-legende strong { display: block; }
.schnitt-nr { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 4px; background: var(--gelb); color: var(--tief); font: 700 .9rem/1 var(--display); }

/* Die anderen Bereiche */
.weiter { border-top: 1px solid var(--linie); }
.weiter-titel { font-size: 1.1rem; font-family: var(--sans); font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blau); margin-bottom: 18px; }
.weiter-liste { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 0; padding: 0; list-style: none; }
.weiter-liste a { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; gap: 2px 16px; padding: 22px 24px; background: var(--grund); border: 1px solid var(--linie); border-radius: 6px; text-decoration: none; transition: border-color .2s; }
.weiter-liste a:hover { border-color: var(--blau); }
.weiter-nr { grid-row: 1 / 3; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 4px; background: var(--tief); color: #fff; font: 900 1.6rem/1 var(--display); }
.weiter-name { font: 700 1.5rem/1.2 var(--display); color: var(--tief); }
.weiter-kurz { color: var(--grau); font-size: .98rem; }
.weiter-verkauf { margin: 30px 0 0; }

/* Betrieb */
.blick-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 28px 0 0; padding: 0; list-style: none; }
.steckbrief { margin: 0; background: #fff; border: 1px solid var(--linie); border-top: 4px solid var(--tief); border-radius: 0 0 6px 6px; }
.steckbrief div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 15px 24px; border-bottom: 1px solid var(--linie); }
.steckbrief div:last-child { border-bottom: 0; }
.steckbrief dt { font-weight: 600; color: var(--tief); }
.steckbrief dd { margin: 0; }
.steckbrief a { color: var(--tief); }
.anfahrt-raster { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.karten-links { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.karten-links a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; color: var(--tief); }
.karten-links .i { color: var(--blau); }
.anfahrt-plan { margin: 0; }
.lageplan { width: 100%; height: auto; border: 1px solid var(--linie); border-radius: 6px; }
.lageplan .lp-grund { fill: var(--grund); }
.lageplan .lp-gruen path { fill: #dfeadf; }
.lageplan .lp-rand path { fill: none; stroke: #b9cadb; stroke-linecap: round; stroke-linejoin: round; }
.lageplan .lp-strasse path { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.lageplan .lp-haus { fill: #c3d2df; }
.lageplan .lp-h2 { fill-opacity: .72; }
.lageplan .lp-h3 { fill-opacity: .42; }
.lageplan .lp-h4 { fill-opacity: .2; }
.lageplan .lp-halle { fill: #6f8aa5; }
.lageplan .lp-ziel { fill: var(--gelb); stroke: var(--tief); stroke-width: 1.8; }
.lageplan .lp-kreis circle { fill: none; stroke: var(--tief); stroke-opacity: .35; stroke-width: .9; stroke-dasharray: 3 4; }
.lageplan text { font-family: var(--sans); }
.lageplan .lp-name { font-size: 12px; font-weight: 600; fill: var(--tinte); letter-spacing: .04em; }
.lageplan .lp-klein { font-size: 10px; font-weight: 450; fill: var(--grau); letter-spacing: .02em; }
.lageplan .lp-halle-name { font-size: 11px; font-weight: 600; fill: #fff; letter-spacing: .03em; }
.lageplan .lp-marke path { stroke: var(--tief); stroke-width: 1.6; }
.lageplan .lp-marke rect { fill: var(--tief); }
.lageplan .lp-marke text { font: 700 13px var(--display); fill: #fff; }
.lageplan .lp-nord path { fill: var(--tief); }
.lageplan .lp-nord text, .lageplan .lp-massstab text { font-size: 10px; fill: var(--grau); }
.lageplan .lp-massstab path { stroke: var(--grau); fill: none; }
.lageplan .lp-quelle { font-size: 9px; fill: var(--grau); }

/* Kontakt */
.kontakt-raster { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.kontakt-karte { position: sticky; top: calc(var(--kopf-h) + 28px); padding: clamp(24px, 3vw, 36px); background: var(--grund); border: 1px solid var(--linie); border-top: 4px solid var(--tief); border-radius: 0 0 6px 6px; }
.kontakt-karte h2 { font-size: 1.9rem; margin-bottom: 4px; }
.kontakt-rolle { color: var(--grau); }
.kontakt-karte h3 { font-size: 1.1rem; margin: 26px 0 8px; }
.kontakt-karte address { font-style: normal; margin-bottom: 8px; }
.kontakt-wege { display: grid; gap: 4px; margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--linie); }
.kontakt-wege li { border-bottom: 1px solid var(--linie); }
.kontakt-wege a, .kontakt-fax { display: flex; align-items: center; gap: 14px; padding: 11px 0; text-decoration: none; color: var(--tief); font-weight: 600; font-size: 1.08rem; }
.kontakt-fax { color: var(--text); font-weight: 500; }
.kontakt-wege .i { color: var(--blau); }
.kontakt-wege small { display: block; font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--grau); }
.kontakt-wege a:hover { color: var(--blau); }

.formular h2 { font-size: clamp(1.8rem, 2.6vw, 2.3rem); margin-bottom: 8px; }
.formular-hinweis { color: var(--grau); font-size: .98rem; max-width: 40em; }
.formular fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.formular legend { padding: 0; font-weight: 600; color: var(--tief); }
.anliegen { margin: 26px 0 30px !important; }
.anliegen > legend { margin-bottom: 14px; font: 700 1.25rem/1.2 var(--display); }
.anliegen-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 24px; }
.anliegen-gruppe legend { margin-bottom: 8px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blau); }
.kaestchen-feld { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 1rem; line-height: 1.35; }
.kaestchen-feld input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.kaestchen { display: grid; place-items: center; flex: none; width: 22px; height: 22px; border: 1.5px solid var(--linie-mittel); border-radius: 4px; background: #fff; color: transparent; transition: background .15s, border-color .15s; }
.kaestchen .i { width: 15px; height: 15px; }
.kaestchen-feld input:checked + .kaestchen { background: var(--tief); border-color: var(--tief); color: #fff; }
.kaestchen-feld input:focus-visible + .kaestchen { outline: 2.5px solid var(--blau); outline-offset: 2px; }
.felder { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; }
.feld { display: grid; gap: 7px; }
.feld span { font-size: .95rem; font-weight: 600; color: var(--tief); }
.feld input, .feld textarea { width: 100%; padding: 12px 14px; background: #fff; border: 1.5px solid var(--linie-mittel); border-radius: 5px; font-size: 1.02rem; }
.feld input:focus, .feld textarea:focus { border-color: var(--blau); outline: none; box-shadow: 0 0 0 3px rgba(47, 95, 149, .16); }
.feld-breit { margin-top: 18px; }
.rueckruf { margin-top: 20px !important; }
.rueckruf legend { font-size: .95rem; margin-bottom: 4px; }
.formular-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 24px; }
.formular-fuss p { margin: 0; }
.formular-meldung { margin-top: 22px; padding: 18px 20px; background: var(--wasser); border-left: 4px solid var(--tief); border-radius: 4px; }
.meldung-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

/* Recht */
.recht { max-width: 760px; }
.recht h2 { font-size: 1.35rem; margin: 34px 0 10px; }
.recht h2:first-child { margin-top: 0; }
.recht a { color: var(--tief); }
.entwurf-kasten { margin-bottom: 40px; padding: 22px 26px; background: var(--wasser); border-left: 4px solid var(--gelb); border-radius: 4px; }
.entwurf-kasten h2 { margin-top: 0 !important; }
.entwurf-kasten p:last-child { margin-bottom: 0; }

/* 404 */
.fehler-raster { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 40px; align-items: center; }
.mosaik-fehler { width: 100%; max-width: 360px; justify-self: end; }

/* Fuß */
.fuss { background: var(--tief); color: rgba(255, 255, 255, .78); font-size: .98rem; }
.fuss a { text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss-oben { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); gap: 32px; padding: clamp(52px, 6vw, 80px) 0 40px; }
.fuss .marke .logo { width: 236px; }
.fuss-marke address { margin-top: 22px; font-style: normal; line-height: 1.55; color: #fff; }
.fuss-navi { margin-top: 10px; font-size: .9rem; color: rgba(255, 255, 255, .6); max-width: 20em; }
.fuss-spalte h2 { margin: 0 0 14px; font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--hell); }
.fuss-spalte ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.fuss-spalte li { line-height: 1.35; }
.fuss-h-zeiten { margin-top: 26px !important; }
.fuss-spalte p { margin: 0; }
.fuss-kontakt { display: flex; flex-wrap: wrap; gap: 12px 34px; padding: 22px 0; border-block: 1px solid var(--linie-hell); color: #fff; font-weight: 500; }
.fuss-kontakt a { display: inline-flex; align-items: center; gap: 9px; }
.fuss-kontakt .i { color: var(--hell); }
.fuss-unten { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 24px 0 36px; font-size: .86rem; color: rgba(255, 255, 255, .6); }
.fuss-hinweis { flex-basis: 100%; margin: 6px 0 0; max-width: 62em; font-size: .84rem; color: rgba(255, 255, 255, .5); }
.fuss-hinweis a { color: rgba(255, 255, 255, .78); text-decoration: underline; }

/* Ruhiges Einblenden */
.rein-bereit [data-rein] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--weich), transform .8s var(--weich); }
.rein-bereit [data-rein].drin { opacity: 1; transform: none; }
.rein-1 { transition-delay: .06s !important; } .rein-2 { transition-delay: .12s !important; } .rein-3 { transition-delay: .18s !important; } .rein-4 { transition-delay: .24s !important; } .rein-5 { transition-delay: .3s !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Mittlere Breiten */
@media (max-width: 1240px) {
  .marke .logo { width: 224px; }
  .nav-liste > li > a { padding-left: 10px; }
  .sz-ort { display: none; }
}
@media (max-width: 1080px) {
  :root { --kopf-h: 70px; }
  .nav, .entwurf-etikett { display: none; }
  .kopf-telefon { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--linie); border-radius: 6px; color: var(--tief); }
  .burger { display: grid; align-content: center; gap: 7px; width: 44px; height: 44px; padding: 0 11px; background: var(--tief); border: 0; border-radius: 6px; cursor: pointer; }
  .burger i { display: block; height: 2px; background: #fff; transition: transform .25s; }
  .burger[aria-expanded="true"] i:first-of-type { transform: translateY(4.5px) rotate(45deg); }
  .burger[aria-expanded="true"] i:last-of-type { transform: translateY(-4.5px) rotate(-45deg); }
  .marke .logo { width: 212px; }
  .sz-mail { display: none; }
  .einstieg-raster, .seitenkopf-innen { display: block; }
  .einstieg-foto, .seitenkopf-foto { margin-top: 40px; }
  .einstieg-foto, .kopf-figur { justify-self: start; }
  .bereich-gross, .bereich-klein { grid-column: 1 / -1; grid-row: auto; }
  .bereich-gross .bereich-bild img { aspect-ratio: 16 / 9; }
  .verkauf-raster, .anfahrt-raster, .kontakt-raster, .zweier, .schluss-raster, .abschnitt-kopf-breit { grid-template-columns: minmax(0, 1fr); }
  .verkauf-zeiten { max-width: 520px; }
  .leistungen-raster { display: block; }
  .inhalt-liste { position: static; margin-bottom: 56px; }
  .kontakt-karte { position: static; }
  .fuss-oben { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .fuss-marke { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  body { font-size: 1.0625rem; }
  .servicezeile-innen { justify-content: space-between; }
  .sz-mobil { display: none; }
  .bahn-zeile { grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; padding: 24px 0; }
  .bahn-nr { font-size: 2.4rem; grid-row: 1 / 3; align-self: start; }
  .bahn-lang { grid-column: 2; margin-top: 18px; }
  .leistung-bild { grid-template-columns: minmax(0, 1fr); }
  .leistung-foto { margin-top: 10px; }
  .bereich-gross .bereich-liste { grid-template-columns: 1fr; }
  .weiter-liste { grid-template-columns: 1fr; }
  .anliegen-raster, .felder { grid-template-columns: 1fr; }
  .steckbrief div { grid-template-columns: 1fr; gap: 2px; }
  .fuss-oben { grid-template-columns: 1fr 1fr; }
  .fehler-raster { grid-template-columns: 1fr; }
  .mosaik-fehler { justify-self: start; max-width: 240px; }
}
@media (max-width: 420px) {
  .marke .logo { width: 190px; }
  .tag { padding: 6px 2px; }
  .tag dd { font-size: .62rem; }
  .fuss-oben { grid-template-columns: 1fr; }
}

/* Nachgebessert: große Kachel füllt die Höhe mit dem Bild, Bahnnummern kräftiger */
.bereich-gross .bereich-bild { flex: 1 1 auto; position: relative; min-height: 320px; }
.bereich-gross .bereich-bild picture, .bereich-gross .bereich-bild img { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; }
.bahn-nr { color: var(--blau-hell); }
.mosaik-klein { width: 54px; }
@media (max-width: 1080px) {
  .bereich-gross .bereich-bild { flex: none; min-height: 0; aspect-ratio: 16 / 9; }
}
.inhalt-kontakt { margin: 26px 0 0; font-size: .95rem; line-height: 1.8; color: var(--grau); }
.inhalt-kontakt a { font-weight: 600; color: var(--tief); text-decoration: underline; text-decoration-color: var(--gelb); text-decoration-thickness: 2px; }

/* Vorschau auf den Schnitt (Startseite) */
.schnitt-vorschau { background: var(--grund); border-block: 1px solid var(--linie); }
.vorschau-raster { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.vorschau-bild { display: block; padding: clamp(10px, 1.6vw, 22px); background: #fff; border: 1px solid var(--linie); border-radius: 6px; transition: border-color .2s; }
.vorschau-bild:hover { border-color: var(--blau); }
.vorschau-bild .schnitt { min-width: 0; }
.seite-start .bahnen-abschnitt { border-top: 0; }
@media (max-width: 1080px) {
  .vorschau-raster { grid-template-columns: minmax(0, 1fr); }
}
