/* Leistungsseiten (rundum-abo, google-profil, telefonassistent, online-buchung, ki-kurse, video-foto, 3d-rundgang).
   Baut auf styles.css und start.css auf (Bildband-Fassung .vb). Keine neuen Farben, keine neuen Schriften:
   alle Werte stammen aus den Bausteinen der Startseite und aus DESIGN.md.
   Der Schalter «Preisvorschlag» (gelbes Band, Marken «Vorschlag») steht in styles.css, weil er für alle Seiten gilt. */

/* ============ Schalter «Seeterrasse» ============ */

/* Grundzustand ohne Schalter: Die Hinweise «Beispiel folgt» sind versteckt, die Links zum Beispiel sichtbar. */
[data-seeterrasse="folgt"] { display: none !important; }

/* SCHALTER «Seeterrasse»
   Das Beispiel /beispiele/seeterrasse/ entsteht noch. Bis dahin steht überall «Beispiel folgt».
   Sobald es online ist: die folgende Zeile löschen. Dann erscheinen die Links zum Beispiel. */

/* Marke für das, was noch folgt (Beispiel, Bild). Sieht aus wie die Offen-Marke, hängt aber nicht am Schalter für die Preise. */
.l-folgt { padding: 1px 6px; background: #fdf3cc; color: #141412; font-weight: 600; font-size: .9375rem; }

/* ============ Leistungsseite ============ */
.seite-leistung main { display: block; }
.seite-leistung h2 { text-wrap: balance; }

/* ---------- Kopf: Titel links, Steckbrief als angeheftetes Blatt rechts ---------- */
.l-kopf {
  max-width: var(--breit); margin: 0 auto;
  padding: clamp(36px, 5.4vw, 88px) var(--rand) clamp(52px, 6.4vw, 104px);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4.3fr);
  gap: 44px clamp(32px, 6vw, 112px); align-items: end;
}
.l-pfad { display: flex; flex-wrap: wrap; align-items: center; gap: 0 9px; font-size: .875rem; color: var(--grau-b); }
.l-pfad a { display: inline-flex; align-items: center; min-height: 44px; color: var(--tinte); text-decoration-color: var(--fettstift); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.l-pfad a:hover { color: var(--rot-tief); }
.l-kopf h1 {
  margin-top: 10px;
  font: 800 clamp(2.15rem, 6vw, 5.3rem)/.98 var(--display);
  font-stretch: 112%; letter-spacing: -.034em;
  overflow-wrap: break-word; hyphens: manual;
}
.l-stand { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 22px; font-size: .9375rem; color: var(--grau-b); }
.l-zusage {
  margin-top: 22px; max-width: 30ch;
  font: 800 clamp(1.25rem, 1.9vw, 1.75rem)/1.14 var(--display); font-stretch: 112%; letter-spacing: -.02em;
}
.l-stand + .l-zusage { margin-top: 14px; }
.l-lead { margin-top: 14px; max-width: 56ch; color: var(--tinte-2); font-size: clamp(1.0625rem, 1.2vw, 1.1875rem); line-height: 1.55; }
.l-wege { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; margin-top: 28px; }
.l-wege .link { display: inline-flex; align-items: center; min-height: 44px; }

.l-blatt {
  position: relative; background: var(--weiss); color: var(--tinte); padding: 0 0 14px; rotate: -1deg;
  box-shadow: 0 2px 3px rgb(0 0 0 / .18), 0 24px 48px -16px rgb(0 0 0 / .38);
}
.l-blatt::before, .l-blatt::after {
  content: ""; position: absolute; top: 10px; width: 16px; height: 4px;
  background: linear-gradient(#c9c7c0, #8d8b85); border-radius: 1px;
}
.l-blatt::before { left: 16px; }
.l-blatt::after { right: 16px; }
.vb .l-blatt h2 {
  max-width: none; padding: 30px 22px 12px; border-bottom: 3px solid var(--tinte);
  font-size: 1.6rem; line-height: 1; font-stretch: 108%; letter-spacing: -.022em;
}
.l-blatt dl { margin: 0; padding: 2px 22px 0; font-size: .9375rem; line-height: 1.4; }
.l-blatt dl div { display: grid; grid-template-columns: 8.4em minmax(0, 1fr); gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--linie); }
.l-blatt dl div:last-child { border-bottom: 0; }
.l-blatt dt { color: var(--grau-b); overflow-wrap: anywhere; }
.l-blatt dd { margin: 0; font-weight: 600; }
.l-blatt dd .offen { margin-top: 4px; }

/* ---------- Abschnitte: Titel links, Inhalt rechts, Teerlinie oben ---------- */
.l-teil { max-width: var(--breit); margin: 0 auto; padding: 0 var(--rand); }
.l-teil-innen {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 22px clamp(32px, 5vw, 88px); align-items: start;
  padding: clamp(36px, 4.6vw, 64px) 0 clamp(48px, 6vw, 88px);
  border-top: 2px solid var(--tinte);
}
.vb .l-teil h2 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); line-height: 1.02; max-width: 13ch; }
.l-teil-kopf > p { margin-top: 14px; max-width: 34ch; font-size: .9688rem; color: var(--grau-b); }
.l-text > * + * { margin-top: 14px; }
.l-text p { max-width: 62ch; color: var(--tinte-2); }
.l-text .link { color: var(--tinte); }

.l-lieferung { margin: 0; }
.l-lieferung > div {
  display: grid; grid-template-columns: minmax(8.6rem, 3fr) minmax(0, 7fr); gap: 6px 28px;
  padding: 17px 0 18px; border-bottom: 1px solid var(--linie);
}
.l-lieferung > div:first-child { padding-top: 0; }
.l-lieferung dt { font: 800 1.1875rem/1.18 var(--display); font-stretch: 108%; letter-spacing: -.02em; }
.l-lieferung dt small { display: block; margin-top: 5px; font: 500 .8125rem/1.2 var(--text); letter-spacing: 0; color: var(--grau-b); font-variant-numeric: tabular-nums; }
.l-lieferung dd { margin: 0; max-width: 58ch; color: var(--tinte-2); }
.l-text > .l-lieferung + p { margin-top: 20px; }

.l-punkte { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; max-width: 62ch; }
.l-punkte li { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 14px; color: var(--tinte-2); }
.l-punkte li::before { content: ""; width: 8px; height: 8px; margin-top: .56em; background: var(--fettstift); }

/* ---------- Preise: die Zeilen der Startseite (.b-liste), auf hellem Papier ---------- */
.l-preise { background: var(--papier-hell); padding: clamp(56px, 7vw, 104px) var(--rand); }
/* Die Abschnitte mit eigenem Seitenrand (Preise, Bilder) sind innen so breit wie .spalte: Alle Kanten der Seite liegen auf einer Linie. */
.l-preise-kopf, .l-preise-fuss, .l-preise .b-liste { max-width: calc(var(--breit) - 2 * var(--rand)); margin-left: auto; margin-right: auto; }
.vb .l-preise h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.l-preise-kopf p { margin-top: 14px; max-width: 56ch; color: var(--tinte-2); }
.l-preise .b-liste { margin-top: clamp(28px, 4vw, 48px); }
.l-preise .b-liste li { grid-template-columns: minmax(0, 3.4fr) minmax(0, 5.6fr) minmax(0, 2.6fr) 6.5em; }
.l-preise .l-ohne-weg li { grid-template-columns: minmax(0, 3.4fr) minmax(0, 5.6fr) minmax(0, 3fr); }
.l-preise-fuss { margin-top: 22px; font-size: .9375rem; line-height: 1.6; color: var(--grau-b); }
.l-preise-fuss > span { display: block; max-width: 78ch; }
.l-preise-fuss > span + span { margin-top: 6px; }
@media (max-width: 900px) {
  .l-preise .b-liste li, .l-preise .l-ohne-weg li { grid-template-columns: minmax(0, 1fr) auto; }
  .l-preise .b-betrag .offen { margin-left: 0; }
}

/* ---------- Ablauf: das Massband aus styles.css, in der Schrift der Bildband-Fassung ---------- */
.vb .ablauf { background: var(--nacht); color: var(--papier); }
.vb .ablauf .einleitung { color: var(--nacht-text); }
.vb .band-mass h3 { font: 800 1.3rem/1.1 var(--display); font-stretch: 108%; letter-spacing: -.02em; text-transform: none; }
.vb .band-mass p { color: var(--nacht-text); font-size: .9688rem; }
.vb .mass-zahl { font-stretch: 100%; letter-spacing: -.02em; }
.band-mass[data-schritte="4"] { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .band-mass[data-schritte="4"] { grid-template-columns: 1fr; } }

/* ---------- Bilder und Filme aus dem Bestand ---------- */
.l-schau { background: var(--nacht); color: var(--papier); padding: clamp(56px, 7vw, 104px) var(--rand); }
.l-schau :focus-visible { outline-color: var(--papier); }
.l-schau-kopf, .l-fenster-reihe, .l-schau-fuss, .l-schau-paar { max-width: calc(var(--breit) - 2 * var(--rand)); margin-left: auto; margin-right: auto; }
.l-schau-kopf { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 16px 48px; align-items: end; }
.vb .l-schau h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }
.l-schau-kopf p { max-width: 48ch; color: var(--nacht-text); }
.l-schau .link-hell { text-decoration-color: var(--fettstift); }
.l-schau-fuss { margin-top: 26px; font-size: .9375rem; color: var(--nacht-text); }
.l-schau-fuss p { max-width: 76ch; }

.l-fenster-reihe { margin-top: clamp(32px, 4vw, 56px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 2vw, 28px); }
.l-fenster-reihe figure { margin: 0; min-width: 0; }
.l-fenster-bild { position: relative; aspect-ratio: 5 / 4; overflow: hidden; background: #1b1b1a; }
.l-fenster-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.l-fenster-reihe figcaption { display: grid; gap: 6px; margin-top: 14px; }
.l-fenster-reihe strong { font: 800 1.3rem/1.1 var(--display); font-stretch: 110%; letter-spacing: -.02em; }
.l-fenster-reihe figcaption span { font-size: .9375rem; color: var(--nacht-text); }
.l-fenster-reihe .b-live { justify-self: start; }

.l-schau-paar { margin-top: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 44px); align-items: start; }
.l-schau-paar figure { margin: 0; min-width: 0; }
.l-schau-film { position: relative; aspect-ratio: 16 / 10; background: #141210; }
.l-schau-film.l-quer { aspect-ratio: 16 / 9; }
.l-schau-film video { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; }
.l-schau-film.l-quer video { object-fit: contain; background: #141412; }
.l-schau-paar figcaption { display: grid; gap: 6px; margin-top: 14px; }
.l-schau-paar strong { font: 800 1.3rem/1.1 var(--display); font-stretch: 110%; letter-spacing: -.02em; }
.l-schau-paar figcaption span { font-size: .9375rem; color: var(--nacht-text); max-width: 52ch; }
.l-schau-paar .b-live { justify-self: start; }
/* Fünf statt sechs Fotos: dicht packen, damit auf dem Handy die beiden Hochformate nebeneinander stehen */
.l-schau .b-bogen { max-width: calc(var(--breit) - 2 * var(--rand)); margin-top: clamp(32px, 4vw, 56px); grid-auto-flow: dense; }

@media (max-width: 900px) {
  .l-schau-kopf, .l-schau-paar { grid-template-columns: 1fr; }
  .l-fenster-reihe { grid-template-columns: 1fr; max-width: 620px; margin-left: 0; }
}

/* Platz für ein Bild, das es noch nicht gibt: Betonfläche, gelbe Marke «Bild folgt», klare Beschriftung.
   Die Marke ist bewusst keine .offen-Marke: Der Schalter «Preisvorschlag» darf sie nicht ausblenden. */
.l-platz { max-width: var(--breit); margin: 0 auto clamp(48px, 6vw, 88px); padding: 0 var(--rand); }
.l-platz-flaeche {
  display: grid; align-content: end; justify-items: start; gap: 10px;
  aspect-ratio: 21 / 9; min-height: 240px; padding: clamp(16px, 2.4vw, 32px);
  background: var(--linie);
}
.l-platz-flaeche strong { font: 800 clamp(1.2rem, 2vw, 1.75rem)/1.1 var(--display); font-stretch: 110%; letter-spacing: -.02em; max-width: 26ch; }
.l-platz-flaeche span:not(.l-folgt) { max-width: 60ch; font-size: .9375rem; color: var(--tinte-2); }
.l-platz img { display: block; width: 100%; height: auto; border: 1.5px solid #141412; }
.l-platz figcaption { margin-top: 10px; font-size: .875rem; color: var(--grau-b); }

/* ---------- Programm (Kurs): Dauer in Tabellenziffern, dann Inhalt ---------- */
.l-programm { list-style: none; margin: 0; padding: 0; }
.l-programm li {
  display: grid; grid-template-columns: 5.2rem minmax(0, 3fr) minmax(0, 6fr); gap: 4px 24px; align-items: baseline;
  padding: 15px 0 16px; border-bottom: 1px solid var(--linie);
}
.l-programm li:first-child { padding-top: 0; }
.l-programm .l-dauer { font: 800 1.1875rem/1.2 var(--display); font-stretch: 100%; font-variant-numeric: tabular-nums; white-space: nowrap; }
.l-programm strong { font: 800 1.1875rem/1.18 var(--display); font-stretch: 108%; letter-spacing: -.02em; }
.l-programm span:last-child { color: var(--tinte-2); max-width: 52ch; }
.l-programm .l-pause strong, .l-programm .l-pause .l-dauer { color: var(--grau-b); }

/* ---------- Fragen: der Baustein der Startseite ---------- */
.seite-leistung .fragen { padding: clamp(56px, 7vw, 104px) 0; }
.seite-leistung .fragen-kopf h2 { font-size: clamp(2rem, 3.6vw, 3.4rem); }

/* ---------- Anfrage und weitere Leistungen ---------- */
.l-anfrage { max-width: var(--breit); margin: 0 auto; padding: clamp(56px, 7vw, 104px) var(--rand) 0; }
.l-anfrage-innen { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 22px clamp(32px, 5vw, 80px); align-items: start; }
.vb .l-anfrage h2 { font-size: clamp(2.1rem, 4.4vw, 4.2rem); max-width: 12ch; }
.l-anfrage-text p { max-width: 56ch; font-size: 1.125rem; color: var(--tinte-2); }
.l-anfrage-text .l-direkt { margin-top: 14px; font-size: 1rem; line-height: 2.1; }
/* Die Polsterung vergrössert nur die Klickfläche, die Zeile bleibt, wo sie ist */
.l-direkt a { padding: 11px 0; font-weight: 600; text-decoration-color: var(--fettstift); text-decoration-thickness: 2px; text-underline-offset: .3em; }
.l-direkt a:hover { color: var(--rot-tief); }

.l-weitere { max-width: var(--breit); margin: 0 auto; padding: clamp(64px, 8vw, 120px) var(--rand) var(--schritt); }
.vb .l-weitere h2 { font-size: clamp(1.5rem, 2.2vw, 2rem); max-width: none; }
.l-verzeichnis { list-style: none; margin: 20px 0 0; padding: 0; border-top: 2px solid var(--tinte); }
.l-verzeichnis a {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) 20px; align-items: baseline; gap: 4px clamp(16px, 2.4vw, 32px);
  min-height: 56px; padding: 15px 0; border-bottom: 1px solid var(--linie); text-decoration: none;
  transition: background-color .25s var(--aus);
}
.l-verzeichnis strong { font: 800 1.25rem/1.15 var(--display); font-stretch: 110%; letter-spacing: -.02em; }
.l-verzeichnis span { color: var(--tinte-2); font-size: .9688rem; }
.l-verzeichnis a::after {
  content: ""; width: 14px; height: 14px; justify-self: end; align-self: center;
  background: var(--tinte);
  clip-path: polygon(0 42%, 64% 42%, 38% 12%, 52% 0, 100% 50%, 52% 100%, 38% 88%, 64% 58%, 0 58%);
  transition: transform .25s var(--aus), background-color .25s var(--aus);
}
.l-verzeichnis [aria-current] { color: var(--grau-b); }
.l-verzeichnis [aria-current] span { color: var(--grau-b); }
.l-verzeichnis [aria-current]::after { visibility: hidden; }
@media (hover: hover) and (pointer: fine) {
  .l-verzeichnis a:not([aria-current]):hover { background: #fff; }
  .l-verzeichnis a:not([aria-current]):hover strong { text-decoration: underline; text-decoration-color: var(--fettstift); text-decoration-thickness: 2px; text-underline-offset: .18em; }
  .l-verzeichnis a:not([aria-current]):hover::after { transform: translateX(3px); background: var(--rot-tief); }
}

@media (max-width: 900px) {
  .l-kopf { grid-template-columns: 1fr; align-items: start; }
  .l-blatt { rotate: none; max-width: 520px; }
  .l-teil-innen, .l-anfrage-innen { grid-template-columns: 1fr; }
  .vb .l-teil h2 { max-width: none; }
  .l-teil-kopf > p { max-width: 56ch; }
  .l-verzeichnis a { grid-template-columns: minmax(0, 1fr) 20px; }
  .l-verzeichnis span { grid-column: 1; }
  .l-verzeichnis a::after { grid-column: 2; grid-row: 1 / 3; }
  .l-programm li { grid-template-columns: 4.6rem minmax(0, 1fr); }
  .l-programm span:last-child { grid-column: 2; }
}
@media (max-width: 560px) {
  .l-lieferung > div { grid-template-columns: 1fr; }
  .l-blatt dl div { grid-template-columns: 7.9em minmax(0, 1fr); }
  .l-platz-flaeche { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .l-verzeichnis a, .l-verzeichnis a::after { transition: none; }
}

/* ============ Interne Übersicht vorschau-angebote.html ============ */
.seite-vorschau .vorschau-kopf { max-width: var(--breit); margin: 0 auto; padding: clamp(40px, 6vw, 88px) var(--rand) 0; }
.seite-vorschau h1 { font: 800 clamp(2.3rem, 5.6vw, 4.8rem)/.98 var(--display); font-stretch: 112%; letter-spacing: -.034em; }
.vorschau-kopf .einleitung { max-width: 64ch; }
.vorschau-liste { max-width: var(--breit); margin: 0 auto; padding: clamp(48px, 6vw, 88px) var(--rand) 0; }
.vorschau-liste:last-child { padding-bottom: var(--schritt); }
.vb .vorschau-liste h2 { font-size: clamp(1.7rem, 2.8vw, 2.6rem); }
.vorschau-liste > p { margin-top: 12px; max-width: 64ch; color: var(--tinte-2); }
.vorschau-liste code { padding: 1px 5px; background: var(--weiss); font-size: .9375rem; }
