/* Premium-Auftritt Renovationswerk (V30, 19.11.2026).
   Neue Startseite: Einstieg über den ganzen Bildschirm, grosse Schrift, Flächen, die sich übereinanderschieben,
   Galerie seitwärts, gestapelte Ablauf-Karten. Farben und Schrift aus dem Bestand (--ink, --paper, --accent, Manrope).
   Alles bleibt ohne Skript und bei ?motion=reduced vollständig lesbar. */

/* Owner 19.11.2026 (V37): Gelb auf der ganzen Website durch den Sandton aus dem CI-Handbuch V3.3 ersetzt (design-tokens.json: sand #C2AF90, Graphit auf Sand 7,15:1). Der hellere Ton ist nur der Zustand beim Darüberfahren. */
:root { --accent: #C2AF90; --accent-hover: #CFC0A6; }
.text-link:hover { color: inherit; }
.content-dialog .service-content li::before, .inline-readout .service-content li::before { color: var(--muted); }
:root { --runde: 0px; /* Owner 19.11.: Abschnitte über die ganze Breite haben gerade Kanten, rund sind nur Karten, Bilder und Knöpfe */ --p-ease: cubic-bezier(.76, 0, .24, 1); --p-start: .85s; }
html.p-ohne-intro { --p-start: 0s; }
html.p-ohne-intro .p-intro { display: none; }

/* ---------- Auftakt: Logo, dann Vorhang nach oben ---------- */
.p-intro { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--dark); pointer-events: none; animation: p-intro-weg .85s var(--p-ease) var(--p-start) both; }
.p-intro img { width: min(52vw, 440px); height: auto; animation: p-intro-logo .7s var(--ease) .05s both; }
@keyframes p-intro-weg { to { transform: translateY(-101%); } }
@keyframes p-intro-logo { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Einstieg ---------- */
.p-hero { position: sticky; top: 0; z-index: 0; display: flex; align-items: flex-end; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: var(--dark); color: var(--paper); }
.p-hero-media { position: absolute; inset: 0; transform: scale(calc(1.02 + var(--hp, 0) * .16)); will-change: transform; }
.p-hero-media picture { display: block; width: 100%; height: 100%; }
/* Owner 19.11.2026 (V38): Hero-Bild ist das Titelbild aus dem CI-Handbuch V3.3 (material-wide.png), unverändert, nur verkleinert. */
.p-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: p-hero-zoom 2.6s var(--ease) var(--p-start) both; }
@keyframes p-hero-zoom { from { transform: scale(1.2); } to { transform: none; } }
.p-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(24, 28, 29, .62) 0%, rgba(24, 28, 29, .08) 24%, rgba(24, 28, 29, .34) 50%, rgba(24, 28, 29, .94) 100%); }
.p-hero-inner { position: relative; z-index: 2; width: calc(100% - var(--gutter) * 2); max-width: 1328px; margin-inline: auto; padding-bottom: calc(var(--runde) + clamp(26px, 4.6vh, 56px)); transform: translate3d(0, calc(var(--hp, 0) * -90px), 0); opacity: calc(1 - var(--hp, 0) * 1.25); }
.p-hero-title { margin: 0 0 clamp(20px, 3.4vh, 44px); font-size: clamp(72px, 10.6vw, 186px); font-weight: 500; letter-spacing: -.065em; line-height: .92; }
.p-hero-title em { font-style: normal; color: var(--accent); }
.p-line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.p-line > span { display: block; }
.p-hero .p-line > span { animation: p-steig 1.15s var(--ease) calc(var(--p-start) + .3s) both; }
.p-hero .p-line + .p-line > span { animation-delay: calc(var(--p-start) + .43s); }
@keyframes p-steig { from { transform: translateY(112%); } to { transform: none; } }
@keyframes p-ein { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.p-hero-foot { display: flex; justify-content: flex-start; align-items: center; gap: clamp(28px, 4vw, 64px); animation: p-ein .9s var(--ease) calc(var(--p-start) + .75s) both; }
.p-hero-text { max-width: 50ch; text-wrap: balance; margin: 0; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.55; color: #e6e9e4; }
.p-hero-actions { display: flex; flex: none; align-items: center; gap: 24px; }
.p-hero-actions .text-link { color: var(--paper); }

/* Alles nach dem Einstieg schiebt sich mit runder Kante darüber */
.p-nach { position: relative; z-index: 2; margin-top: calc(var(--runde) * -1); border-radius: var(--runde) var(--runde) 0 0; background: var(--paper); }

/* ---------- Laufband ---------- */
.p-lauf { overflow: hidden; padding-top: clamp(30px, 4.4vw, 64px); }
.p-lauf-spur { display: flex; align-items: center; gap: clamp(26px, 3.6vw, 60px); width: max-content; font-size: clamp(46px, 8.6vw, 150px); font-weight: 500; letter-spacing: -.055em; line-height: 1.05; white-space: nowrap; color: #e3e5de; animation: p-lauf 44s linear infinite; }
.p-lauf-spur i { flex: none; width: .4em; height: .07em; background: var(--accent); transform: rotate(46deg); }
@keyframes p-lauf { to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Titel der Abschnitte ---------- */
.p-teil { padding-block: var(--space); }
.p-h2 { margin: 0 0 clamp(28px, 4vw, 60px); font-size: clamp(38px, 5.2vw, 88px); font-weight: 500; letter-spacing: -.055em; line-height: 1.02; }

/* ---------- Leistungen: grosse Zeilen, die sich beim Überfahren füllen ---------- */
.p-leist-liste { margin: 0; padding: 0; list-style: none; }
.p-leist-zeile { position: relative; isolation: isolate; display: grid; grid-template-columns: 56px minmax(0, 1.25fr) minmax(0, 1fr) 44px; align-items: center; gap: clamp(14px, 2vw, 28px); padding: clamp(20px, 2.5vw, 36px) clamp(16px, 2.2vw, 34px); border-radius: 30px; overflow: hidden; transition: color .45s var(--ease); }
.p-leist-zeile::before { content: ''; position: absolute; inset: 0; z-index: -1; border-radius: 30px; background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--p-ease); }
.p-leist-nr { font-size: 14px; font-weight: 700; color: var(--muted); transition: color .45s var(--ease); }
.p-leist-name { font-size: clamp(32px, 4.9vw, 82px); font-weight: 500; letter-spacing: -.055em; line-height: 1.04; transition: transform .6s var(--ease); }
.p-leist-kurz { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.5; color: var(--muted); transition: color .45s var(--ease); }
.p-leist-pfeil { justify-self: end; width: 34px; height: 34px; transform: rotate(0deg); transition: transform .6s var(--ease), color .45s var(--ease); }
@media (hover: hover) {
  .p-leist-zeile:hover, .p-leist-zeile:focus-visible { color: var(--paper); }
  .p-leist-zeile:hover::before, .p-leist-zeile:focus-visible::before { transform: scaleY(1); }
  .p-leist-zeile:hover .p-leist-name, .p-leist-zeile:focus-visible .p-leist-name { transform: translate3d(18px, 0, 0); }
  .p-leist-zeile:hover .p-leist-nr, .p-leist-zeile:focus-visible .p-leist-nr { color: var(--accent); }
  .p-leist-zeile:hover .p-leist-kurz, .p-leist-zeile:focus-visible .p-leist-kurz { color: var(--light-muted); }
  .p-leist-zeile:hover .p-leist-pfeil, .p-leist-zeile:focus-visible .p-leist-pfeil { transform: rotate(90deg); color: var(--accent); }
}

/* Aufklappen: die Zeile wird zur dunklen Karte, der Text steht in denselben Spalten wie Name und Kurzzeile */
/* V40 (Owner 19.11.: «öffnet nicht so smooth, irgendwo Verzögerung»): Die Höhe bewegt jetzt premium.js (läuft in jedem Browser gleich, auch auf dem iPhone).
   Grund, Schrift, Höhe und Inhalt wechseln im selben Takt, ohne Verzögerung. Zustand «offen» = Klasse .ist-offen; ohne Skript gilt [open]. */
.p-leist { border-radius: 30px; transition: background-color .42s var(--ease), color .42s var(--ease); }
/* V41 (Owner 19.11.: auf dem Handy «wie eine Verzögerung»): Ohne Maus gab es zwei Nachzügler. Die Zeile hatte einen eigenen Farbübergang auf eine geerbte Farbe (läuft dem Grund hinterher)
   und eine zweite dunkle Füllung mit langsamem Anlauf. Beides gibt es auf Berührungsgeräten nicht mehr: Grund, Schrift und Höhe starten gleichzeitig. */
@media (hover: none) {
  .p-leist-zeile { transition: none; }
  .p-leist-zeile::before { display: none; }
  .p-leist-nr, .p-leist-kurz, .p-leist-pfeil { transition-duration: .42s; }
}
.p-leist > summary { list-style: none; cursor: pointer; }
.p-leist > summary::-webkit-details-marker { display: none; }
.p-leist:is(.ist-offen, [open]:not(.p-gesteuert)) { background: var(--ink); color: var(--paper); }
.p-leist:is(.ist-offen, [open]:not(.p-gesteuert)) > .p-leist-zeile::before { transform: scaleY(1); }
.p-leist:is(.ist-offen, [open]:not(.p-gesteuert)) .p-leist-nr { color: var(--accent); }
.p-leist:is(.ist-offen, [open]:not(.p-gesteuert)) .p-leist-kurz { color: var(--light-muted); }
.p-leist:is(.ist-offen, [open]:not(.p-gesteuert)) .p-leist-name { transform: none; }
.p-leist:is(.ist-offen, [open]:not(.p-gesteuert)) .p-leist-pfeil { transform: rotate(45deg); color: var(--accent); }
.p-leist-inhalt { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px clamp(14px, 2vw, 28px); padding: clamp(4px, .8vw, 12px) calc(clamp(16px, 2.2vw, 34px) + 44px + clamp(14px, 2vw, 28px)) clamp(30px, 3.4vw, 52px) calc(clamp(16px, 2.2vw, 34px) + 56px + clamp(14px, 2vw, 28px)); }
.p-leist-text { max-width: 38ch; margin: 0; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.45; }
.p-leist-punkte { display: grid; align-content: start; gap: 10px; margin: 0; padding: 0; list-style: none; font-size: clamp(15px, 1.25vw, 18px); line-height: 1.45; }
.p-leist-punkte li { position: relative; padding-left: 28px; }
.p-leist-punkte li::before { content: ''; position: absolute; left: 0; top: .62em; width: 14px; height: 2px; background: var(--accent); transform: rotate(46deg); }
.p-leist-knoepfe { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 8px; }
.p-leist-knoepfe .text-link { color: var(--paper); }

/* ---------- Leitsatz ---------- */
.leitsatz { position: relative; z-index: 1; width: calc(100% - var(--gutter) * 2); max-width: 1328px; margin-inline: auto; padding: clamp(56px, 8vw, 128px) clamp(26px, 5.4vw, 88px); border-radius: 38px; overflow: hidden; }
.leitsatz > .wrap { width: 100%; max-width: none; }
.leitsatz-text { position: relative; z-index: 1; max-width: 20ch; margin: 0; font-size: clamp(32px, 4.6vw, 78px); font-weight: 500; letter-spacing: -.055em; line-height: 1.05; }
.leitsatz-text span { transition: opacity .3s linear; }
.leistung-leitsatz { margin-top: clamp(56px, 6.5vw, 104px); }

/* Feine Körnung auf dunklen Flächen (wie Putz) */
.p-korn::after, .leitsatz::after { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .09; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

/* ---------- Ansprechpartner ---------- */
.p-person { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 104px); align-items: center; }
.p-person-bild { margin: 0; aspect-ratio: 4 / 5; border-radius: 36px; overflow: hidden; background: #d9dcd5; }
.p-person-bild img { display: block; width: 100%; height: 114%; margin-top: -7%; object-fit: cover; transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }
.p-person .p-h2 { margin-bottom: clamp(20px, 2.6vw, 36px); }
.p-gross { max-width: 26ch; margin: 0 0 26px; font-size: clamp(22px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.035em; line-height: 1.24; }
.p-name { margin: 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.p-name strong { display: block; font-size: 18px; font-weight: 650; color: var(--ink); }
.p-zahl { display: flex; align-items: flex-end; gap: clamp(14px, 2vw, 28px); margin-top: clamp(30px, 4.4vw, 64px); }
.p-zahl-wert { min-width: 1.12em; font-size: clamp(120px, 16vw, 270px); font-weight: 500; letter-spacing: -.075em; line-height: .78; font-variant-numeric: tabular-nums; }
.p-zahl-text { max-width: 11ch; padding-bottom: .5em; font-size: clamp(16px, 1.45vw, 21px); line-height: 1.3; color: var(--muted); }
.p-verlass { grid-column: 1 / -1; margin-top: clamp(20px, 3vw, 44px); }
.verlass-titel { margin: 0 0 clamp(18px, 2vw, 28px); font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; color: var(--muted); }
.verlass-liste, .leistung-liste { margin: 0; padding: 0; list-style: none; display: grid; gap: clamp(10px, 1.2vw, 18px); }
.verlass-liste li, .leistung-liste li { position: relative; padding-left: clamp(34px, 3.4vw, 54px); font-size: clamp(24px, 2.9vw, 42px); font-weight: 500; letter-spacing: -.04em; line-height: 1.2; }
.verlass-liste li::before, .leistung-liste li::before { content: ''; position: absolute; left: 0; top: .56em; width: clamp(16px, 1.6vw, 26px); height: 3px; background: var(--accent); transform: rotate(46deg); }
/* Owner 19.11. (V35): bei «Ihr Ansprechpartner» keine gelben Striche vor den Zusagen («Querstrich wegnehmen, typisch KI») */
.p-verlass .verlass-liste li { padding-left: 0; }
.p-verlass .verlass-liste li::before { content: none; }

/* ---------- Einblicke: Galerie läuft seitwärts ---------- */
.p-werk { position: relative; border-radius: var(--runde); background: var(--dark); color: var(--paper); }
.p-werk-pin { display: flex; flex-direction: column; gap: clamp(20px, 3vh, 38px); padding-block: var(--space); overflow: hidden; }
.p-werk-kopf { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.p-werk-kopf .p-h2 { margin: 0; }
.p-werk-zaehler { margin: 0 0 .5em; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; color: var(--light-muted); }
.p-werk-zaehler b { font-weight: 700; color: var(--accent); }
.p-werk-lauf { overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); }
.p-werk-lauf::-webkit-scrollbar { display: none; }
.p-werk-spur { display: flex; gap: clamp(14px, 2vw, 32px); width: max-content; padding-inline: max(var(--gutter), calc((100vw - 1328px) / 2)); transform: translate3d(var(--wx, 0px), 0, 0); will-change: transform; }
.p-werk-bild { flex: none; margin: 0; scroll-snap-align: start; }
.p-werk-rahmen { display: block; height: min(56vh, 600px); border-radius: 30px; overflow: hidden; background: #1b1f20; }
.p-werk-rahmen img { display: block; width: auto; height: 100%; transition: transform 1.4s var(--ease); }
.p-werk-bild figcaption { display: flex; align-items: baseline; gap: 12px; margin-top: 14px; font-size: 16px; line-height: 1.4; }
.p-werk-bild figcaption strong { font-weight: 600; }
.p-werk-bild figcaption span { font-size: 13px; color: var(--light-muted); }
@media (hover: hover) { .p-werk-bild:hover .p-werk-rahmen img { transform: scale(1.05); } }
/* Mit Skript: Abschnitt bleibt stehen, bis alle Bilder vorbeigezogen sind (auch auf dem Handy) */
html.p-quer .p-werk { height: calc(100vh + var(--ueber, 0px)); height: calc(100svh + var(--ueber, 0px)); }
html.p-quer .p-werk-pin { position: sticky; top: 0; height: 100vh; height: 100svh; justify-content: center; padding-block: 92px 28px; }
html.p-quer .p-werk-lauf { overflow: visible; scroll-snap-type: none; }

/* ---------- Ablauf: Karten stapeln sich ---------- */
.p-stapel { margin: 0; padding: 0; list-style: none; display: grid; gap: 22px; }
.p-karte { position: sticky; top: calc(104px + var(--i, 0) * 20px); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: end; gap: clamp(20px, 3vw, 48px); min-height: clamp(280px, 46vh, 460px); padding: clamp(26px, 3.4vw, 58px); border-radius: 38px; background: var(--soft); box-shadow: 0 -22px 44px -30px rgba(23, 32, 32, .42); }
.p-karte:nth-child(2) { background: #dfe2da; }
.p-karte:nth-child(3) { background: var(--ink); color: var(--paper); }
.p-karte:nth-child(4) { background: var(--accent); color: var(--ink); }
.p-karte-nr { align-self: start; font-size: clamp(96px, 13.5vw, 220px); font-weight: 500; letter-spacing: -.075em; line-height: .78; }
.p-karte h3 { margin: 0 0 14px; font-size: clamp(28px, 3.3vw, 54px); font-weight: 500; letter-spacing: -.045em; line-height: 1.05; }
.p-karte p { max-width: 44ch; margin: 0; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.55; opacity: .8; }

/* ---------- Fragen ---------- */
.p-fragen { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 104px); align-items: start; }
.p-fragen .p-h2 { position: sticky; top: 132px; margin: 0; }
.p-frage { margin-bottom: 10px; border-radius: 26px; background: var(--soft); transition: background .35s var(--ease); }
.p-frage[open] { background: #e2e5dd; }
.p-frage summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 28px; font-size: clamp(18px, 1.65vw, 24px); font-weight: 600; letter-spacing: -.025em; line-height: 1.3; cursor: pointer; list-style: none; }
.p-frage summary::-webkit-details-marker { display: none; }
.p-frage-plus { position: relative; flex: none; width: 18px; height: 18px; transition: transform .45s var(--ease); }
.p-frage-plus::before, .p-frage-plus::after { content: ''; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: currentColor; }
.p-frage-plus::after { transform: rotate(90deg); transition: transform .45s var(--ease); }
.p-frage[open] .p-frage-plus { transform: rotate(180deg); }
.p-frage[open] .p-frage-plus::after { transform: rotate(0deg); }
.p-frage-text { padding: 0 28px 26px; animation: p-ein .5s var(--ease) both; }
.p-frage-text p { max-width: 58ch; margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); }

/* ---------- Kontakt und Fuss ---------- */
.contact { padding-bottom: calc(var(--space) + var(--runde)); }
.contact-copy > .contact-termin { display: inline-flex; flex-direction: column; justify-content: center; gap: 2px; min-height: 52px; margin-top: 12px; padding: 10px 24px; border-radius: 28px; background: var(--paper); color: var(--ink); transition: background .25s; }
.contact-copy > .contact-termin:hover { background: #fff; }
.contact-termin strong { font-size: 14px; font-weight: 650; line-height: 1.4; }
.contact-termin span { font-size: 12px; line-height: 1.4; color: var(--muted); }
.contact-form .form-promise { margin: 12px 0 22px; font-size: 14px; line-height: 1.5; color: var(--muted); }
/* ---------- Kontakt-Fenster (V36, Owner 19.11.: «altes Layout, moderner gestalten»): dunkle Karte, Zeilen mit Symbol statt Kacheln ---------- */
.contact-dialog { width: min(540px, calc(100vw - 24px)); max-width: none; max-height: calc(100dvh - 24px); padding: 30px 24px 24px; border-radius: 34px; background: var(--ink); color: var(--paper); box-shadow: 0 40px 120px rgba(0, 0, 0, .45); }
.contact-dialog::backdrop { background: rgba(20, 24, 25, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.contact-dialog[open] { animation: p-dialog-ein .55s var(--ease) both; }
@keyframes p-dialog-ein { from { opacity: 0; transform: translate3d(0, 28px, 0) scale(.97); } to { opacity: 1; transform: none; } }
.contact-dialog h2 { margin: 4px 60px 22px 6px; font-size: clamp(28px, 3.4vw, 38px); font-weight: 500; letter-spacing: -.045em; line-height: 1.08; }
.contact-dialog .dialog-close { top: 20px; right: 16px; width: 44px; height: 44px; background: none; border-radius: 0; color: var(--paper); font-size: 32px; font-weight: 300; transition: color .25s, transform .45s var(--ease); }   /* Owner 19.11. (V39): X ohne runden Kreis */
.contact-dialog .dialog-close:hover { background: none; color: var(--accent); transform: rotate(90deg); }
.contact-dialog .contact-choice-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-top: 0; }
.contact-dialog .contact-choice-grid > * { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 16px; width: 100%; min-height: 0; padding: 13px 20px 13px 13px; border: 0; border-radius: 24px; background: rgba(248, 248, 245, .07); color: var(--paper); font: inherit; text-align: left; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease); }
.contact-dialog .contact-choice-grid > a:last-child { grid-column: auto; min-height: 0; }
.contact-dialog[open] .contact-choice-grid > * { animation: p-ein .5s var(--ease) both; }
.contact-dialog[open] .contact-choice-grid > :nth-child(1) { animation-delay: .1s; }
.contact-dialog[open] .contact-choice-grid > :nth-child(2) { animation-delay: .15s; }
.contact-dialog[open] .contact-choice-grid > :nth-child(3) { animation-delay: .2s; }
.contact-dialog[open] .contact-choice-grid > :nth-child(4) { animation-delay: .25s; }
.contact-dialog[open] .contact-choice-grid > :nth-child(5) { animation-delay: .3s; }
.contact-dialog .contact-choice-grid .choice-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(248, 248, 245, .1); color: var(--paper); transition: background .3s var(--ease), color .3s var(--ease); }
.contact-dialog .choice-icon svg { width: 22px; height: 22px; }
.contact-dialog .contact-choice-grid .choice-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; font-size: inherit; color: inherit; }
.contact-dialog .contact-choice-grid strong { margin: 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
.contact-dialog .contact-choice-grid .choice-text > span { font-size: 14px; line-height: 1.4; color: var(--light-muted); overflow-wrap: anywhere; transition: color .3s var(--ease); }
.contact-dialog .contact-choice-grid .choice-symbol { position: static; display: grid; place-items: center; font-size: inherit; color: var(--light-muted); transition: transform .45s var(--ease), color .3s var(--ease); }
.contact-dialog .choice-symbol svg { width: 18px; height: 18px; }
/* WhatsApp ist der schnellste Weg und steht als gelbe Zeile zuoberst */
.contact-dialog .contact-choice-grid .choice-whatsapp { grid-column: auto; min-height: 0; background: var(--accent); color: var(--ink); }
.contact-dialog .contact-choice-grid .choice-whatsapp strong { font-size: 19px; }
.contact-dialog .contact-choice-grid .choice-whatsapp .choice-icon { background: var(--ink); color: var(--paper); }
.contact-dialog .contact-choice-grid .choice-whatsapp .choice-text > span, .contact-dialog .contact-choice-grid .choice-whatsapp .choice-symbol { color: rgba(39, 42, 43, .78); }
.contact-dialog .contact-choice-grid > *:hover { transform: none; }
@media (hover: hover) {
  .contact-dialog .contact-choice-grid > *:hover { background: var(--paper); color: var(--ink); }
  .contact-dialog .contact-choice-grid > *:hover .choice-icon { background: var(--ink); color: var(--paper); }
  .contact-dialog .contact-choice-grid > *:hover .choice-text > span { color: var(--muted); }
  .contact-dialog .contact-choice-grid > *:hover .choice-symbol { color: var(--ink); transform: translate3d(3px, -3px, 0); }
  .contact-dialog .contact-choice-grid .choice-whatsapp:hover { background: var(--accent-hover); }
}
.contact-dialog .contact-choice-grid > *:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
html[data-motion="reduced"] .contact-dialog[open], html[data-motion="reduced"] .contact-dialog[open] .contact-choice-grid > * { animation: none; }
/* Handy: das Fenster steht in der Mitte (Owner 19.11., V39; vorher als Blatt von unten) */
@media (max-width: 600px) {
  .contact-dialog { width: calc(100vw - 24px); max-height: calc(100dvh - 32px); margin: auto; padding: 26px 14px 16px; border-radius: 30px; }
  .contact-dialog h2 { margin: 2px 60px 18px 8px; font-size: 28px; }
  .contact-dialog .dialog-close { top: 16px; right: 10px; }
  .contact-dialog .contact-choice-grid > * { gap: 14px; padding: 12px 16px 12px 12px; border-radius: 22px; }
  .contact-dialog .contact-choice-grid strong { font-size: 18px; }
  .contact-dialog .contact-choice-grid .choice-whatsapp strong { font-size: 18px; }
}
.site-footer { position: relative; z-index: 3; margin-top: calc(var(--runde) * -1); border-radius: var(--runde) var(--runde) 0 0; }
/* Angeschnittene Wortmarke: steht ganz unten und läuft so weit aus dem Bild, dass auch die Buchstaben angeschnitten sind (Logo 1613 × 272, Buchstaben auf 91–181: Schnitt bei rund zwei Dritteln der Buchstabenhöhe = 7,5 % der Breite). */
.footer-wortmarke { overflow: hidden; padding-block: clamp(20px, 3vw, 48px) 0; line-height: 0; }
.footer-wortmarke a, .footer-wortmarke img { display: block; width: 100%; height: auto; }
.footer-wortmarke a { margin-bottom: -6.2%; }   /* Owner 19.11. (V33): ein wenig höher, zuerst -7.5 %, dann -6.7 %; von den Buchstaben sind jetzt rund neun Zehntel zu sehen */
/* Fuss-Spalten: gleicher Abstand zwischen den Einträgen, auch wenn einer umbricht */
.footer-grid > div > a, .footer-legal nav a { display: block; min-height: 0; padding-block: 11px; line-height: 1.45; }
.footer-grid > div > p { margin-top: 11px; line-height: 1.6; }
.leistung-zurueck { margin: clamp(28px, 3.4vw, 48px) 0 0; }
.site-footer .footer-bottom { padding-right: 0; }
/* Am Seitenende macht der schwebende WhatsApp-Knopf der Wortmarke Platz (WhatsApp steht dort im Fuss). */
.whatsapp-float { transition: opacity .35s var(--ease), transform .35s var(--ease), background .2s; }
html.p-am-ende .whatsapp-float { opacity: 0; transform: scale(.7); pointer-events: none; }
.legal-main, .leistung-main { padding-bottom: calc(clamp(56px, 6vw, 96px) + var(--runde)); }
.header-call { display: none; }

/* ---------- Cookie-Hinweis: schmale Leiste, verdeckt weder Titel noch Knöpfe ---------- */
body .cookie-banner { left: 50%; right: auto; bottom: 16px; transform: translateX(-50%); width: min(700px, calc(100% - 24px)); max-height: none; padding: 12px 14px 12px 24px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 8px 18px; align-items: center; border-radius: 24px; overflow: visible; }
body .cookie-banner .eyebrow, body .cookie-banner > p:not(.eyebrow) { display: none; }
body .cookie-banner h2 { grid-column: 1; grid-row: 1; margin: 0; font-size: 15px; line-height: 1.4; letter-spacing: -.01em; }
body .cookie-banner .cookie-actions { grid-column: 2; grid-row: 1; margin: 0; }
body .cookie-banner .cookie-actions button { min-height: 44px; padding-inline: 20px; border-radius: 22px; font-size: 13px; }
body .cookie-banner .cookie-details { grid-column: 3; grid-row: 1; width: auto; min-height: 44px; margin: 0; padding: 4px 2px; font-size: 12px; font-weight: 650; text-decoration: none; }
body:has(#cookie-banner:not([hidden])) .p-hero-inner { padding-bottom: calc(var(--runde) + 100px); }

/* ---------- Kundenstimmen (erscheinen erst mit echten Stimmen) ---------- */
.stimmen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.stimme { display: flex; flex-direction: column; justify-content: space-between; gap: clamp(28px, 3.4vw, 56px); margin: 0; padding: clamp(26px, 3vw, 44px); border-radius: 30px; background: var(--soft); }
.stimme blockquote { margin: 0; }
.stimme blockquote p { margin: 0; font-size: clamp(21px, 2.2vw, 32px); font-weight: 500; line-height: 1.28; letter-spacing: -.035em; }
.stimme figcaption { display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.stimme figcaption strong { font-size: 17px; font-weight: 650; }
.stimme figcaption span { font-size: 13px; color: var(--muted); }

/* ---------- Leistungsseiten ---------- */
.leistung-main { padding-top: 0; }
.leistung-band { position: relative; padding: clamp(132px, 15vw, 210px) 0 clamp(48px, 6vw, 96px); border-radius: 0 0 var(--runde) var(--runde); overflow: hidden; background: var(--dark); color: var(--paper); }
.leistung-kopf { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 96px); align-items: end; }
.leistung-kopf.ohne-bild { grid-template-columns: minmax(0, 1fr); }
.leistung-kopf .legal-back { margin-bottom: 26px; color: var(--light-muted); }
.leistung-kopf h1 { max-width: 14ch; margin: 0 0 clamp(22px, 3vw, 40px); font-size: clamp(44px, 6.6vw, 118px); font-weight: 500; letter-spacing: -.06em; line-height: .98; }
.leistung-kopf.ohne-bild h1 { max-width: 18ch; }
.leistung-lead { max-width: 44ch; margin: 0; font-size: clamp(18px, 1.6vw, 23px); line-height: 1.5; color: #e6e9e4; }
.leistung-text { max-width: 52ch; color: var(--light-muted); }
.leistung-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 32px; }
.leistung-band .text-link { color: var(--paper); }
.leistung-bild { justify-self: end; width: 100%; max-width: 460px; margin: 0; }
.leistung-bild .photo-frame { border-radius: 30px; background: #1b1f20; }
.leistung-bild img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.leistung-bild figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--light-muted); }
.leistung-block { margin-top: clamp(56px, 6.5vw, 104px); }
.leistung-block > h2 { margin: 0 0 clamp(18px, 2vw, 28px); font-size: clamp(18px, 1.5vw, 22px); font-weight: 600; letter-spacing: -.01em; line-height: 1.3; color: var(--muted); }
.leistung-schritte { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.leistung-schritte li { padding: 26px; border-radius: 30px; background: var(--soft); }
.leistung-schritte li:nth-child(3) { background: var(--ink); color: var(--paper); }
.leistung-schritte li:nth-child(4) { background: var(--accent); }
.leistung-schritte .schritt-nr { display: block; margin-bottom: clamp(28px, 4vw, 64px); font-size: clamp(44px, 4.6vw, 72px); font-weight: 500; letter-spacing: -.06em; line-height: .8; }
.leistung-schritte h3 { margin: 0 0 8px; font-size: 21px; }
.leistung-schritte p { margin: 0; font-size: 15px; line-height: 1.6; opacity: .8; }
.leistung-gebiet { max-width: 30ch; font-size: clamp(22px, 2.4vw, 36px); font-weight: 500; letter-spacing: -.035em; line-height: 1.24; }
.leistung-links { display: grid; gap: 6px; }
.leistung-link { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 24px; padding: clamp(18px, 2vw, 28px) clamp(16px, 2.2vw, 34px); border-radius: 30px; overflow: hidden; transition: color .45s var(--ease); }
.leistung-link::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--p-ease); }
.leistung-link strong { font-size: clamp(28px, 3.6vw, 58px); font-weight: 500; letter-spacing: -.05em; line-height: 1.05; transition: transform .6s var(--ease); }
.leistung-link span { font-size: clamp(15px, 1.25vw, 18px); line-height: 1.5; color: var(--muted); transition: color .45s var(--ease); }
@media (hover: hover) {
  .leistung-link:hover { color: var(--paper); }
  .leistung-link:hover::before { transform: scaleY(1); }
  .leistung-link:hover strong { transform: translate3d(16px, 0, 0); }
  .leistung-link:hover span { color: var(--light-muted); }
}
@keyframes leistung-auf { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes leistung-bild-auf { from { clip-path: inset(0 100% 0 0 round 30px); } to { clip-path: inset(0 0 0 0 round 30px); } }
@keyframes leistung-bild-ruhe { from { transform: scale(1.1); } to { transform: scale(1); } }
.leistung-copy > * { animation: leistung-auf 1s var(--ease) both; }
.leistung-copy > :nth-child(2) { animation-delay: .1s; }
.leistung-copy > :nth-child(3) { animation-delay: .2s; }
.leistung-copy > :nth-child(4) { animation-delay: .3s; }
.leistung-copy > :nth-child(5) { animation-delay: .4s; }
.leistung-bild .photo-frame { animation: leistung-bild-auf 1.3s var(--p-ease) .15s both; }
.leistung-page .leistung-bild .photo-frame img { transform: none; transition: none; animation: leistung-bild-ruhe 2s var(--ease) .15s both; }
.leistung-bild figcaption { animation: leistung-auf .9s var(--ease) .6s both; }

/* ---------- Einblenden beim Scrollen (nur mit Skript verborgen) ---------- */
html.p-js [data-auf] { opacity: 0; transform: translate3d(0, 38px, 0); transition: opacity .9s var(--ease), transform 1.15s var(--ease); transition-delay: var(--v, 0s); }
html.p-js [data-auf].ist-in { opacity: 1; transform: none; }
html.p-js .p-h2 .p-line > span { transform: translateY(112%); transition: transform 1.15s var(--ease); }
html.p-js .p-h2.ist-in .p-line > span { transform: none; }
html.p-js .p-h2.ist-in .p-line + .p-line > span { transition-delay: .1s; }

/* ---------- Zeiger am grossen Bildschirm ---------- */
.p-zeiger { display: none; }
@media (hover: hover) and (pointer: fine) {
  .p-zeiger { position: fixed; left: 0; top: 0; z-index: 180; display: block; width: 12px; height: 12px; margin: -6px 0 0 -6px; pointer-events: none; opacity: 0; transform: translate3d(var(--zx, -100px), var(--zy, -100px), 0); transition: opacity .3s; }
  .p-zeiger.ist-da { opacity: 1; }
  .p-zeiger span { display: block; width: 100%; height: 100%; border-radius: 50%; background: var(--accent); transition: transform .4s var(--ease), opacity .4s var(--ease); }
  .p-zeiger.ist-gross span { transform: scale(4.6); opacity: .32; }
}

/* ---------- Ohne Bewegung: alles sofort da ---------- */
html[data-motion="reduced"] .p-intro { display: none; }
html[data-motion="reduced"] .p-hero { position: relative; }
html[data-motion="reduced"] .p-hero-media, html[data-motion="reduced"] .p-hero-inner { transform: none; opacity: 1; }
html[data-motion="reduced"] .p-hero-media img, html[data-motion="reduced"] .p-hero .p-line > span, html[data-motion="reduced"] .p-hero-foot, html[data-motion="reduced"] .p-lauf-spur, html[data-motion="reduced"] .leistung-copy > *, html[data-motion="reduced"] .leistung-bild .photo-frame, html[data-motion="reduced"] .leistung-page .leistung-bild .photo-frame img, html[data-motion="reduced"] .leistung-bild figcaption, html[data-motion="reduced"] .p-frage-text { animation: none; }
html[data-motion="reduced"].p-js [data-auf], html[data-motion="reduced"].p-js .p-h2 .p-line > span { opacity: 1; transform: none; transition: none; }
html[data-motion="reduced"] .p-karte { position: relative; top: auto; }
html[data-motion="reduced"] .p-zeiger { display: none; }

/* ---------- Mittlere Breiten ---------- */
@media (min-width: 801px) and (max-width: 1100px) {
  .leistung-schritte { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .p-leist-zeile { grid-template-columns: 40px minmax(0, 1fr) 40px; }
  .p-leist-kurz { grid-column: 2; }
  .p-leist-pfeil { grid-column: 3; grid-row: 1; }
  .p-leist-inhalt { grid-template-columns: 1fr; padding-left: calc(clamp(16px, 2.2vw, 34px) + 40px + clamp(14px, 2vw, 28px)); }
}

/* ---------- Handy ---------- */
@media (max-width: 800px), (orientation: landscape) and (pointer: coarse) and (max-height: 560px) {
  .site-header .header-call { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; color: inherit; }
  .header-call svg { width: 21px; height: 21px; }

  .p-hero-title { font-size: clamp(40px, 11.6vw, 56px); line-height: .96; margin-bottom: 18px; }
  .p-hero-media img { object-position: 50% 40%; }
  .p-hero-foot { flex-direction: column; align-items: flex-start; gap: 20px; }
  .p-hero-text { font-size: 16px; }
  .p-hero-inner { padding-bottom: calc(var(--runde) + 26px); }
  body:has(#cookie-banner:not([hidden])) .p-hero-inner { padding-bottom: calc(var(--runde) + 112px); }

  .p-lauf-spur { animation-duration: 30s; }
  .p-h2 { font-size: clamp(34px, 9.6vw, 46px); margin-bottom: 24px; }

  .p-leist { margin-inline: -12px; border-radius: 22px; }
  .p-leist-zeile { grid-template-columns: 30px minmax(0, 1fr) 30px; gap: 4px 10px; padding: 20px 16px; border-radius: 22px; }
  .p-leist-inhalt { grid-template-columns: 1fr; gap: 16px; padding: 2px 20px 26px 56px; }
  .p-leist-text { font-size: 17px; }
  .p-leist-name { font-size: clamp(28px, 8.4vw, 38px); }
  .p-leist-kurz { grid-column: 2 / -1; font-size: 15px; }
  .p-leist-pfeil { grid-column: 3; grid-row: 1; width: 26px; height: 26px; }

  .leitsatz { padding: 48px 24px 52px; border-radius: 28px; }
  .leitsatz-text { font-size: clamp(28px, 8.2vw, 38px); line-height: 1.1; }

  .p-person { grid-template-columns: 1fr; gap: 28px; }
  .p-person-bild { border-radius: 28px; }
  .p-gross { font-size: 22px; }
  .p-zahl-wert { font-size: clamp(110px, 34vw, 150px); }
  .verlass-liste li, .leistung-liste li { font-size: 22px; padding-left: 30px; }
  .verlass-liste li::before, .leistung-liste li::before { width: 16px; height: 2px; }

  /* Handy: jedes Bild als ganze Karte in Bildschirmbreite, damit beim Scrollen eines nach dem anderen ganz zu sehen ist */
  .p-werk-bild { width: 82vw; }
  .p-werk-rahmen { width: 100%; height: 320px; border-radius: 24px; }
  .p-werk-rahmen img { width: 100%; height: 100%; object-fit: cover; }
  .p-werk-bild figcaption { flex-wrap: wrap; gap: 2px 12px; }
  html.p-quer .p-werk-rahmen { height: min(50svh, 430px); }
  html.p-quer .p-werk-pin { padding-block: 96px 24px; }
  .p-werk-spur { gap: 12px; }

  .p-stapel { gap: 14px; }
  .p-karte { top: calc(84px + var(--i, 0) * 12px); grid-template-columns: 1fr; align-items: start; gap: 22px; min-height: 0; padding: 24px 24px 28px; border-radius: 28px; }
  .p-karte-nr { font-size: 92px; }
  .p-karte h3 { font-size: 28px; }

  .p-fragen { grid-template-columns: 1fr; gap: 0; }
  .p-fragen .p-h2 { position: static; margin-bottom: 24px; }
  .p-frage summary { padding: 20px 20px; font-size: 18px; }
  .p-frage-text { padding: 0 20px 22px; }

  .contact-form .form-promise { font-size: 13px; margin-bottom: 18px; }
  .stimmen { grid-template-columns: 1fr; gap: 12px; }

  /* Cookie-Hinweis auf dem Handy: Titel oben, Knöpfe darunter */
  body .cookie-banner { left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); transform: none; width: auto; padding: 12px 14px; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; border-radius: 20px; }
  body .cookie-banner h2 { grid-column: 1 / -1; }
  body .cookie-banner .cookie-actions { grid-column: 1; grid-row: 2; }
  body .cookie-banner .cookie-actions button { padding-inline: 8px; }
  body .cookie-banner .cookie-details { grid-column: 2; grid-row: 2; }

  .leistung-band { padding: 112px 0 44px; }
  .leistung-kopf { grid-template-columns: 1fr; gap: 28px; }
  .leistung-kopf h1 { max-width: none; font-size: clamp(38px, 11vw, 52px); }
  .leistung-lead { font-size: 17px; }
  .leistung-bild { justify-self: stretch; max-width: none; }
  .leistung-schritte { grid-template-columns: 1fr; gap: 12px; }
  .leistung-link { grid-template-columns: 1fr; gap: 4px; padding: 18px 4px; border-radius: 22px; }
  .leistung-gebiet { font-size: 22px; }
}

/* ---------- Handy, V33 (Owner 19.11.: Einstieg und «Ihr Ansprechpartner» wirken billig) ----------
   Einstieg: eigenes Hochformat-Bild, ganz und scharf im oberen Teil, die Schrift steht darunter auf dunklem Grund.
   Ansprechpartner: Titel, Leitsatz, Bild mit Namensschild, dann eine dunkle Karte mit der Zahl und den drei Zusagen. */
@media (max-width: 800px) {
  .p-hero-media { inset: 0 0 auto 0; height: 68vh; height: 68svh; }
  .p-hero-media img { object-position: 72% 50%; }
  .p-hero::before { background: linear-gradient(180deg, rgba(24, 28, 29, .58) 0%, rgba(24, 28, 29, 0) 19%, rgba(24, 28, 29, 0) 34%, rgba(35, 39, 40, .8) 54%, var(--dark) 68%); }
  .p-hero-title { font-size: clamp(38px, 12.2vw, 62px); margin-bottom: 16px; }
  .p-hero-text { line-height: 1.5; color: #d3d8d3; }
  .p-hero-foot { align-items: stretch; gap: 22px; }
  .p-hero-actions { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px; width: 100%; }
  .p-hero-actions .button { min-height: 56px; padding-inline: 12px; font-size: 15px; }
  .p-hero-actions .whatsapp-link { justify-content: center; gap: 10px; min-height: 56px; padding: 0 14px; border: 1px solid rgba(248, 248, 245, .3); border-radius: 999px; background: rgba(248, 248, 245, .08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: 15px; }
  /* Solange der Einstieg zu sehen ist, steht WhatsApp schon als Knopf da: der schwebende Knopf kommt erst danach. */
  html.p-oben .whatsapp-float { opacity: 0; transform: scale(.7); pointer-events: none; }

  .p-person { gap: 0; }
  .p-person-text { display: contents; }
  .p-person .p-h2 { grid-row: 1; margin-bottom: 14px; }
  .p-gross { grid-row: 2; max-width: none; margin: 0 0 28px; font-size: 21px; line-height: 1.3; }
  .p-person-bild { grid-row: 3; grid-column: 1; }
  .p-name { grid-row: 3; grid-column: 1; z-index: 2; align-self: end; justify-self: start; margin: 0 0 12px 12px; padding: 11px 18px 12px 16px; border-radius: 18px; background: rgba(248, 248, 245, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: 13px; line-height: 1.35; }
  .p-name strong { font-size: 16px; }
  .p-zahl { grid-row: 4; margin-top: 12px; padding: 34px 26px 28px; border-radius: 28px 28px 0 0; background: var(--ink); color: var(--paper); gap: 16px; }
  html.p-js .p-zahl[data-auf] { opacity: 1; transform: none; }
  .p-zahl-wert { font-size: clamp(112px, 33vw, 150px); }
  .p-zahl-text { padding-bottom: .3em; color: var(--light-muted); }
  .p-verlass { grid-row: 5; margin-top: -1px; padding: 1px 26px 32px; border-radius: 0 0 28px 28px; background: var(--ink); color: var(--paper); }
  .p-verlass .verlass-titel { margin: 0 0 18px; padding-top: 6px; font-size: 15px; font-weight: 500; color: var(--light-muted); }   /* ohne Trennlinie: Owner 19.11. «Querstrich wegnehmen, typisch KI» */
  .p-verlass .verlass-liste { gap: 14px; }
  .p-verlass .verlass-liste li { padding-left: 0; font-size: 20px; line-height: 1.25; letter-spacing: -.03em; }
}
@media (max-width: 350px) { .p-hero-actions { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 600px) and (max-width: 800px) { .p-person-bild { max-width: 540px; } }

/* ---------- Handy, V40 (Owner 19.11.: «Leitsatz in einer Box, mein Foto in einer Box, 20 Jahre in einer Box – das ist viel Box») ----------
   Leitsatz als dunkles Band über die ganze Breite. Das Foto läuft von Rand zu Rand, die dunkle Karte mit Name, Zahl und Zusagen schiebt sich darüber: ein Bild, eine Karte. */
@media (max-width: 800px) {
  .leitsatz { width: 100%; max-width: none; border-radius: 0; padding: 60px var(--gutter) 64px; }
  .p-person-bild { margin-inline: calc(var(--gutter) * -1); max-width: none; border-radius: 0; }
  .p-name { grid-row: 4; position: relative; align-self: auto; justify-self: stretch; margin: -72px 0 0; padding: 26px 26px 0; border-radius: 28px 28px 0 0; background: var(--ink); color: var(--light-muted); -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 14px; }
  html.p-js .p-name[data-auf] { opacity: 1; transform: none; }
  .p-name strong { font-size: 19px; color: var(--paper); }
  .p-zahl { grid-row: 5; position: relative; z-index: 2; margin-top: -2px; padding: 26px 26px 28px; border-radius: 0; }
  .p-verlass { grid-row: 6; }
}
.p-leist { scroll-margin-top: 110px; }

/* V43 (Owner 19.11.: «nicht logisch, dass Andere Kontaktwege schwarz hervorgehoben ist und Espresso-Gespräch buchen nicht»):
   Das Espresso-Gespräch ist das Angebot und darum der dunkle Knopf, «Andere Kontaktwege» steht hell und ruhig darunter. */
.contact-copy > .contact-termin { margin-top: 28px; background: var(--ink); color: var(--paper); }
.contact-copy > .contact-termin:hover { background: #3b4142; }
.contact-copy > .contact-termin span { color: var(--light-muted); }
.contact-copy > .contact-termin + .contact-links { margin-top: 12px; }
.contact-links .contact-choice-inline, .contact-choice-inline { margin-bottom: 0; border-radius: 28px; background: var(--paper); color: var(--ink); }
.contact-links .contact-choice-inline:hover, .contact-choice-inline:hover { background: #fff; }

/* V42 (Owner 19.11.): Nach Tippen oder Klicken bleibt kein Rahmen stehen (Viereck um das X im Kontakt-Fenster, ovaler Strich um «Andere Kontaktwege» nach dem Schliessen).
   Den Rahmen gibt es nur noch bei Bedienung mit der Tastatur (premium.js setzt html.p-zeigt bei Zeiger-Eingabe). Rahmenfarbe aus dem CI statt Dunkelgelb. */
html.p-zeigt :is(a, button, summary):focus, html.p-zeigt :is(a, button, summary):focus-visible { outline: none !important; }
:focus-visible { outline-color: var(--ink); }
.dark :focus-visible, .image-dialog :focus-visible, .contact-dialog :focus-visible, .p-leist.ist-offen :focus-visible, .p-hero :focus-visible { outline-color: var(--accent); }
.channel-options input:focus-visible + span { outline-color: var(--ink); }

/* Feinabstimmung V44 – Owner 21.11.2026: «zu gross in der Darstellung, wirkt nicht premium».
   Schrift rund ein Drittel kleiner und etwas weniger eng gesetzt, Abstände bleiben (Luft wirkt hochwertig). Vorher: Sicherung premium-v43. */
.p-hero-title { font-size: clamp(60px, 7vw, 124px); letter-spacing: -.05em; line-height: .95; }
.p-hero-text { font-size: clamp(15px, 1.15vw, 18px); }
.p-lauf-spur { font-size: clamp(40px, 5.6vw, 100px); letter-spacing: -.045em; }
.p-h2 { font-size: clamp(32px, 3.5vw, 60px); letter-spacing: -.045em; line-height: 1.05; }
.p-leist-name { font-size: clamp(26px, 3.1vw, 52px); letter-spacing: -.045em; }
.p-leist-text { font-size: clamp(16px, 1.3vw, 20px); }
.leitsatz { padding: clamp(48px, 6.4vw, 104px) clamp(26px, 5.4vw, 88px); }
.leitsatz-text { max-width: 22ch; font-size: clamp(28px, 3.3vw, 56px); letter-spacing: -.045em; line-height: 1.1; }
.p-gross { font-size: clamp(20px, 1.85vw, 30px); letter-spacing: -.03em; line-height: 1.3; }
.p-zahl-wert { font-size: clamp(96px, 11vw, 190px); }
.verlass-liste li, .leistung-liste li { font-size: clamp(20px, 2.1vw, 32px); letter-spacing: -.03em; }
.stimme blockquote p { font-size: clamp(19px, 1.7vw, 26px); letter-spacing: -.025em; line-height: 1.32; }
.p-karte { min-height: clamp(240px, 36vh, 380px); }
.p-karte-nr { font-size: clamp(72px, 9vw, 150px); }
.p-karte h3 { font-size: clamp(24px, 2.4vw, 40px); letter-spacing: -.035em; }
.p-karte p { font-size: clamp(15px, 1.15vw, 18px); }
.p-frage summary { font-size: clamp(17px, 1.35vw, 20px); }
.contact-copy h2 { font-size: clamp(40px, 4vw, 64px); letter-spacing: -.05em; }
.footer-top h2 { font-size: clamp(30px, 3vw, 48px); letter-spacing: -.04em; }
@media (max-width: 800px), (orientation: landscape) and (pointer: coarse) and (max-height: 560px) {
  .p-hero-title { font-size: clamp(34px, 10vw, 48px); }
  .p-h2 { font-size: clamp(28px, 8vw, 38px); }
  .p-leist-name { font-size: clamp(24px, 7vw, 32px); }
  .p-leist-text { font-size: 16px; }
  .leitsatz-text { font-size: clamp(24px, 7vw, 32px); }
  .p-gross { font-size: 19px; }
  .p-zahl-wert { font-size: clamp(96px, 28vw, 130px); }
  .verlass-liste li, .leistung-liste li { font-size: 19px; }
  .p-verlass .verlass-liste li { font-size: 18px; }
  .p-karte-nr { font-size: 76px; }
  .p-karte h3 { font-size: 24px; }
  .p-frage summary { font-size: 17px; }
  .contact-copy h2 { font-size: clamp(32px, 9vw, 40px); }
  .footer-top h2 { font-size: clamp(26px, 7.4vw, 32px); }
}

/* Feinabstimmung V45 – Owner 21.11.2026: «Ändere das, was noch nicht Premium ist. Also die Grösse.»
   WhatsApp-Knopf ruhig in Graphit statt Signalgrün, Ablauf-Karten einheitlich hell mit nur einer dunklen Schlusskarte, letzte Riesenzahlen kleiner. */
.whatsapp-float { border: 1px solid rgba(248, 248, 245, .22); background: var(--ink); color: var(--paper); box-shadow: 0 10px 30px rgba(23, 32, 32, .28); }
.whatsapp-float:hover { background: #2c3634; color: var(--accent); }
.p-karte:nth-child(2), .p-karte:nth-child(3) { background: var(--soft); color: var(--ink); }
.p-karte:nth-child(4) { background: var(--ink); color: var(--paper); }
.p-karte-nr { font-size: clamp(56px, 6vw, 104px); }
.p-zahl-wert { font-size: clamp(88px, 8.5vw, 150px); }
.p-lauf-spur { font-size: clamp(34px, 4.4vw, 80px); }
@media (max-width: 800px), (orientation: landscape) and (pointer: coarse) and (max-height: 560px) {
  .p-karte-nr { font-size: 64px; }
  .p-zahl-wert { font-size: clamp(88px, 24vw, 110px); }
}

/* Feinabstimmung V46 – Owner 21.11.2026: im Einstieg «Projekt anfragen» und «WhatsApp» schön positionieren, nicht weit weg und abschweifend.
   Desktop: Knöpfe direkt unter dem Text, links bündig, gleich hoch; WhatsApp als heller Rahmen-Knopf wie auf dem Handy. */
@media (min-width: 801px) {
  .p-hero-foot { flex-direction: column; align-items: flex-start; gap: clamp(24px, 2.4vw, 34px); }
  .p-hero-actions { gap: 12px; }
  .p-hero-actions .button { min-height: 54px; padding-inline: 30px; }
  .p-hero-actions .whatsapp-link { justify-content: center; gap: 10px; min-height: 54px; padding: 0 26px; border: 1px solid rgba(248, 248, 245, .32); border-radius: 999px; background: rgba(248, 248, 245, .08); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--paper); font-size: 15px; font-weight: 650; transition: background .25s var(--ease), border-color .25s var(--ease); }
  .p-hero-actions .whatsapp-link:hover { border-color: rgba(248, 248, 245, .55); background: rgba(248, 248, 245, .16); color: var(--paper); }
  .p-hero-actions .whatsapp-link svg { width: 21px; height: 21px; }
  html.p-oben .whatsapp-float { opacity: 0; transform: scale(.7); pointer-events: none; }   /* im Einstieg steht WhatsApp schon als Knopf, wie auf dem Handy */
}

/* Feinabstimmung V47 – Owner 21.11.2026: «immer noch zu wenig Premium, immer noch alles zu gross».
   Ganze Stufe kleiner: schmalere Inhaltsbreite (1200 statt 1328 px), kleineres Logo und Kopfzeile, Schrift und Knöpfe auf das Mass ruhiger Premium-Seiten, kleinere Bilder. */
.p-hero-title { font-size: clamp(42px, 5vw, 84px); letter-spacing: -.045em; }
.p-hero-text { font-size: clamp(15px, 1.05vw, 17px); }
.p-lauf { padding-top: clamp(24px, 3vw, 44px); }
.p-lauf-spur { font-size: clamp(28px, 3.1vw, 52px); }
.p-h2 { font-size: clamp(28px, 2.65vw, 44px); margin-bottom: clamp(24px, 2.6vw, 40px); }
.p-leist-name { font-size: clamp(22px, 2.1vw, 34px); }
.p-leist-text { font-size: clamp(15px, 1.15vw, 18px); }
.leitsatz-text { max-width: 24ch; font-size: clamp(22px, 2.35vw, 38px); }
.p-gross { font-size: clamp(18px, 1.45vw, 23px); }
.p-zahl-wert { font-size: clamp(64px, 6vw, 100px); }
.p-zahl-text { font-size: clamp(14px, 1.1vw, 17px); }
.verlass-titel { font-size: clamp(15px, 1.15vw, 18px); }
.verlass-liste li, .leistung-liste li { font-size: clamp(17px, 1.5vw, 23px); }
.stimme { padding: clamp(22px, 2.4vw, 36px); }
.stimme blockquote p { font-size: clamp(16px, 1.3vw, 20px); }
.p-karte { min-height: clamp(200px, 30vh, 300px); padding: clamp(24px, 2.6vw, 40px); }
.p-karte-nr { font-size: clamp(40px, 4vw, 64px); }
.p-karte h3 { font-size: clamp(20px, 1.75vw, 28px); }
.p-karte p { font-size: clamp(14px, 1.05vw, 16px); }
.p-frage summary { font-size: clamp(16px, 1.15vw, 18px); }
.contact-copy h2 { font-size: clamp(30px, 3vw, 48px); }
.footer-top h2 { font-size: clamp(24px, 2.2vw, 34px); }
.button:not(.button-small) { min-height: 48px; padding: 12px 24px; font-size: 14px; }
.legal-main h1 { font-size: clamp(34px, 3.4vw, 52px); letter-spacing: -.045em; }   /* Rechtsseiten: Titel ruhiger als der Einstieg der Startseite */
@media (min-width: 801px) {
  :root { --space: clamp(64px, 7vw, 112px); }
  .wrap, .p-hero-inner, .leitsatz { max-width: 1200px; }
  .p-werk-spur { padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2)); }
  .p-werk-lauf { scroll-padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2)); }
  .p-werk-rahmen { height: min(46vh, 460px); border-radius: 24px; }
  .p-person { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }
  .p-person-bild { border-radius: 28px; }
  .p-leist-zeile { padding-block: clamp(16px, 1.7vw, 26px); }
  .leitsatz { padding: clamp(40px, 5vw, 80px); border-radius: 28px; }
  .p-frage summary { padding: 20px 24px; }
  .p-hero-actions .button, .p-hero-actions .whatsapp-link { min-height: 48px; font-size: 14px; }
  .p-hero-actions .button { padding-inline: 26px; }
  .p-hero-actions .whatsapp-link { padding-inline: 22px; }
}
@media screen and (min-width: 801px) and (min-height: 561px), screen and (min-width: 801px) and (pointer: fine) {
  .header-inner { height: 76px; }
  .site-header .brand { width: clamp(160px, 13vw, 200px); }
  .site-header.is-scrolled .header-inner, body:not(.home-page) .header-inner { max-width: 1200px; height: 64px; padding: 10px 12px 10px 20px; }
  .site-header .button { min-height: 42px; padding: 10px 20px; font-size: 13px; }
}
@media (max-width: 800px), (orientation: landscape) and (pointer: coarse) and (max-height: 560px) {
  .p-hero-title { font-size: clamp(30px, 8.6vw, 40px); }
  .p-hero-actions .button, .p-hero-actions .whatsapp-link { min-height: 50px; font-size: 14px; }
  .p-lauf-spur { font-size: 28px; }
  .p-h2 { font-size: clamp(24px, 7vw, 32px); }
  .p-leist-name { font-size: clamp(20px, 5.9vw, 26px); }
  .leitsatz-text { font-size: clamp(21px, 6vw, 26px); }
  .p-gross { font-size: 17px; }
  .p-zahl-wert { font-size: clamp(72px, 21vw, 92px); }
  .verlass-liste li, .leistung-liste li, .p-verlass .verlass-liste li { font-size: 17px; }
  .stimme blockquote p { font-size: 17px; }
  .p-karte-nr { font-size: 48px; }
  .p-karte h3 { font-size: 21px; }
  .p-frage summary { font-size: 16px; }
  .contact-copy h2 { font-size: clamp(28px, 8vw, 34px); }
  .footer-top h2 { font-size: clamp(23px, 6.6vw, 28px); }
}

@media print {
  .p-intro, .p-zeiger, .header-call, .p-lauf { display: none !important; }
  .p-hero { position: relative; height: auto; }
}
