/* ==========================================================================
   Pixel Deed – Stylesheet der Website
   Grundlage: referenz/index.html. Alle Design-Werte stehen hier zentral als Variablen.
   Keine Schatten, keine Farbverläufe, keine runden Ecken.
   ========================================================================== */

/* Schrift: Archivo, variabel (Breite 62–125 %, Gewicht 300–600), selbst gehostet */
@font-face{font-family:'Archivo';font-style:normal;font-weight:300 600;font-stretch:62% 125%;font-display:swap;src:url(schrift/archivo-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Archivo';font-style:normal;font-weight:300 600;font-stretch:62% 125%;font-display:swap;src:url(schrift/archivo-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}

:root{
  --dunkel:#0E0F10;          /* dunkle Abschnitte */
  --hell:#F2F2F0;            /* helle Abschnitte, Text auf dunkel */
  --text-dunkel:#141517;     /* Text auf hell */
  --grau-auf-dunkel:#A4A9AF; /* Nebentext auf dunkel */
  --grau-auf-hell:#5E636A;   /* Nebentext auf hell */
  --linie-hell:#D6D7D5;      /* Trennlinien auf hell */
  --linie-dunkel:#2A2C30;    /* Trennlinien auf dunkel */
  /* Akzentfarbe (Einstellungen → Akzentfarbe). Die Werte hier gelten für die Standardfarbe #5B6BFF;
     bei einer eigenen Farbe setzt die Website sie im Kopf jeder Seite neu (berechnet in system/kern.php, akzent_werte()). */
  --akzent:#5B6BFF;          /* gewählte Farbe: Logo-Quadrat, Schmuck */
  --akzent-d:#5B6BFF;        /* Text auf dunkel, mind. 4,5 : 1 */
  --akzent-d-gross:#5B6BFF;  /* große Ziffern und Fokusrahmen auf dunkel, mind. 3 : 1 */
  --akzent-h:#515FE3;        /* Text auf hell, mind. 4,5 : 1 */
  --akzent-h-gross:#5B6BFF;  /* große Ziffern und Fokusrahmen auf hell, mind. 3 : 1 */
  --akzent-flaeche:#5767F5;  /* Hauptknopf: Fläche */
  --akzent-flaeche-text:#FFFFFF; /* … und Schrift darauf, mind. 4,5 : 1 */
  --fokus:var(--akzent-d-gross); /* Fokusrahmen; in hellen Abschnitten die helle Variante (siehe .hell) */
  --nav-text:#D5D8DB;        /* Navigationslinks (aus der Referenz) */
  --rand:max(clamp(20px,4vw,64px),env(safe-area-inset-left,0px),env(safe-area-inset-right,0px));   /* iPhone quer: nicht unter die Kamera-Aussparung */
  --kopf-h:81px;              /* Höhe der Kopfzeile (für den Einstieg „Bild vollflächig“) */
  --leiste-h:0px;             /* Höhe der Kontaktleiste am Handy, siehe unten */
  --abstand:clamp(96px,12vw,180px);
  --breite:1240px;            /* maximale Inhaltsbreite: sorgt auf großen Bildschirmen für Ordnung */
  --seite:max(var(--rand),calc((100% - var(--breite)) / 2));   /* seitlicher Abstand bis zur Inhaltsbreite */
  --schrift:'Archivo',system-ui,-apple-system,'Segoe UI',sans-serif;
}

/* Grundlagen */
*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;font-family:var(--schrift);background:var(--dunkel);color:var(--hell);-webkit-font-smoothing:antialiased;overflow-x:clip}
img{display:block;max-width:100%;height:auto}
picture{display:block;overflow:hidden}
img{object-position:var(--fx,50%) var(--fy,50%)}
figure{display:flex;flex-direction:column;gap:12px}
a{color:inherit;text-decoration:none}
@media (hover:hover){a:hover{opacity:.7}}   /* 16. Runde: Hover nur mit Maus; am iPhone blieb ein angetippter Link sonst blass stehen */
:focus-visible{outline:2px solid var(--fokus);outline-offset:3px}
h1,h2,h3,p,ul,ol,figure,blockquote{margin:0}
ul,ol{padding:0;list-style:none}
h1,h2,h3{overflow-wrap:break-word;hyphens:manual;text-wrap:balance}   /* ausgewogene Zeilen, kein einzelnes Wort in der letzten Zeile. 15. Runde: keine automatische Silbentrennung in Überschriften (wirkt unruhig); zu lange Wörter macht .wl kleiner */
p,li,blockquote{text-wrap:pretty}
h1.trennen,h2.trennen,h3.trennen,.aussage-satz.trennen,.angebot-titel.trennen,.bildkarte-titel.trennen{hyphens:auto}   /* nur wenn ein Wort selbst verkleinert nicht passt (site.js) */
[hidden]{display:none!important}

/* Hintergrund hell/dunkel: setzt Farben für alles darin */
.dunkel{--bg:var(--dunkel);--fg:var(--hell);--leise:var(--grau-auf-dunkel);--linie:var(--linie-dunkel);--rahmen:rgba(242,242,240,.55);--ak:var(--akzent-d);--ak-gross:var(--akzent-d-gross);--fokus:var(--akzent-d-gross);background:var(--bg);color:var(--fg)}
.hell{--bg:var(--hell);--fg:var(--text-dunkel);--leise:var(--grau-auf-hell);--linie:var(--linie-hell);--rahmen:rgba(20,21,23,.55);--ak:var(--akzent-h);--ak-gross:var(--akzent-h-gross);--fokus:var(--akzent-h-gross);background:var(--bg);color:var(--fg)}
.leise{color:var(--leise)}
.klein{font-size:14px}
.abschnitt{padding:var(--abstand) var(--seite)}
.folgt-gleich.abschnitt,.folgt-gleich.bildleiste{padding-top:0}

/* Schriftgrößen */
.titel-xl{font-weight:300;font-stretch:118%;font-size:min(clamp(50px,8.4vw,144px),13.5cqi);line-height:.92;letter-spacing:-.048em}
.titel-l{font-weight:300;font-stretch:118%;font-size:clamp(36px,4.6vw,70px);line-height:1;letter-spacing:-.038em}
.fliesstext{font-size:18px;line-height:1.65}
.kicker{font-size:15px;font-weight:400;line-height:1.45;color:var(--ak,var(--leise))}   /* kleine Zeile: Akzentfarbe */
/* Lange Wörter: Schrift so weit verkleinern, dass das längste Wort in die Spalte passt (Klasse kommt aus PHP) */
.einstieg-text,.einstieg h1,.einstieg h2,.zweispaltig>*,.textbild-text,.aussage,.artikel-kopf,.checkliste-kopf{container-type:inline-size}
.titel-xl.wl{font-size:min(clamp(50px,8.4vw,144px),13.5cqi,calc(100cqi / var(--wl) / .6))}
.titel-l.wl{font-size:min(clamp(36px,4.6vw,70px),calc(100cqi / var(--wl) / .6))}
.wl-10{--wl:10}.wl-11{--wl:11}.wl-12{--wl:12}.wl-13{--wl:13}.wl-14{--wl:14}.wl-15{--wl:15}.wl-16{--wl:16}.wl-17{--wl:17}.wl-18{--wl:18}.wl-19{--wl:19}.wl-20{--wl:20}.wl-21{--wl:21}.wl-22{--wl:22}.wl-23{--wl:23}.wl-24{--wl:24}.wl-25{--wl:25}.wl-26{--wl:26}.wl-27{--wl:27}.wl-28{--wl:28}.wl-29{--wl:29}.wl-30{--wl:30}

/* Knöpfe: eckig, ohne Schatten */
.knopf{display:inline-flex;align-items:center;min-height:44px;padding:16px 28px;border:1px solid transparent;font-size:15px;font-weight:500;letter-spacing:.01em;transition:background-color .35s cubic-bezier(.2,.7,.2,1),color .35s cubic-bezier(.2,.7,.2,1),border-color .35s cubic-bezier(.2,.7,.2,1),scale .2s cubic-bezier(.2,.7,.2,1)}
.knopf-hell{background:var(--fg);color:var(--bg);border-color:var(--fg)}
.knopf-voll{background:var(--akzent-flaeche);color:var(--akzent-flaeche-text);border-color:var(--akzent-flaeche)}   /* Hauptknopf in der Akzentfarbe */
.knopf-rahmen{border-color:var(--rahmen);color:var(--fg)}
button.knopf{border-radius:0;font-family:inherit;cursor:pointer}
/* Textlink: Linie als eigenes Element, damit sie beim Hover neu von links einlaufen kann */
.textlink,.angebot-mehr{position:relative;display:inline-flex;align-items:center;min-height:44px;padding:12px 0;font-size:15px;color:var(--ak,inherit)}
.textlink::after,.angebot-mehr::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:currentColor}
/* Hover nur bei Maus/Trackpad (am iPhone bliebe der Zustand sonst „hängen“) */
@media (hover:hover){
  a.knopf:hover,button.knopf:hover,a.textlink:hover{opacity:1}
  .knopf.knopf-hell:hover{background:transparent;color:var(--fg)}   /* Farben tauschen statt verblassen */
  .knopf.knopf-voll:hover{background:transparent;color:var(--ak,var(--fg));border-color:var(--ak,var(--fg))}
  .knopf.knopf-rahmen:hover{background:var(--fg);color:var(--bg);border-color:var(--fg)}
  .textlink:hover::after,a.angebot:hover .angebot-mehr::after{animation:linie .7s cubic-bezier(.65,0,.35,1)}
}
@keyframes linie{0%{transform:scaleX(1);transform-origin:right}50%{transform:scaleX(0);transform-origin:right}50.01%{transform:scaleX(0);transform-origin:left}100%{transform:scaleX(1);transform-origin:left}}
.knopfreihe{display:flex;flex-wrap:wrap;align-items:center;gap:16px 32px}

/* Sprunglink für Tastatur und Screenreader */
.sprung{position:absolute;left:-9999px;top:8px;z-index:50;padding:12px 16px;background:var(--hell);color:var(--dunkel)}
.sprung:focus{left:16px}
.vorschau-hinweis{padding:10px var(--seite);background:var(--hell);color:var(--dunkel);font-size:14px}

/* --------------------------------------------------------------------------
   Kopfzeile: eine Zeile, unter 900 px Menü-Knopf mit Vollbild-Menü
   -------------------------------------------------------------------------- */
.kopf{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px var(--seite);border-bottom:1px solid var(--linie-dunkel)}
.logo{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 0;font-size:18px;font-weight:500;font-stretch:125%;white-space:nowrap}
.logo i{display:block;width:10px;height:10px;background:var(--akzent)}
.nav{display:flex;align-items:center;gap:30px;font-size:15px;white-space:nowrap}
.nav a{display:inline-flex;align-items:center;min-height:44px;padding:13px 0;color:var(--nav-text)}
.nav a[aria-current="page"]{color:var(--hell)}
.nav .knopf{padding:12px 20px;color:var(--hell)}
.menue-knopf{display:none;width:44px;height:44px;border:0;background:transparent;color:var(--hell);align-items:center;justify-content:center;cursor:pointer}
@media (max-width:900px){
  .menue-knopf{display:flex}
  .nav{display:none}
}
/* Menü auf dem Handy (und wenn die Navigation nicht in eine Zeile passt: Klasse "eng") */
.kopf.eng .menue-knopf{display:flex}
.kopf.eng .nav{display:none}
.nav.offen{display:flex!important;position:fixed;inset:0;z-index:20;flex-direction:column;justify-content:center;gap:8px;background:var(--dunkel);font-size:26px}
.nav.offen .knopf{margin-top:16px;font-size:18px}
.nav.offen .menue-zu{display:flex;position:fixed;top:14px;right:max(12px,env(safe-area-inset-right,0px));z-index:21}
/* Handy-Menü (16. Runde, Skill „apple-design“): kommt aus dem Menü-Knopf (Ursprung setzt das Skript) und geht denselben Weg
   zurück. Übergänge statt Animation, damit es sich jederzeit umkehren lässt. Während es schließt, gehen Tipps schon durch. */
.nav.offen{opacity:0;scale:.94;transition:opacity .25s cubic-bezier(.2,.7,.2,1),scale .35s cubic-bezier(.2,.7,.2,1)}
.nav.offen.da{opacity:1;scale:1}
.nav.offen.schliesst{opacity:0;scale:.94;pointer-events:none;transition-duration:.2s,.25s}
@media (prefers-reduced-motion:reduce){.nav.offen,.nav.offen.schliesst{scale:none}}
/* Einträge leicht nacheinander */
@media (prefers-reduced-motion:no-preference){
  .nav.offen a{animation:einblenden .55s cubic-bezier(.2,.7,.2,1) both}
  .nav.offen a:nth-child(3){animation-delay:.04s}.nav.offen a:nth-child(4){animation-delay:.08s}.nav.offen a:nth-child(5){animation-delay:.12s}
  .nav.offen a:nth-child(6){animation-delay:.16s}.nav.offen a:nth-child(7){animation-delay:.2s}.nav.offen a:nth-child(n+8){animation-delay:.24s}
}
.nav:not(.offen) .menue-zu{display:none}
/* Kopfzeile auf dem Foto (6. Runde): nur wenn die Seite mit „Bild vollflächig“ beginnt (Klasse kommt aus PHP).
   Transparent, ohne Linie, über dem Foto; oben Platz für die Linien des Bildwechsels. Lesbarkeit sichert die
   Abdunkelung des Bildes (sie misst auch den oberen Rand). top bleibt „auto“: In der Vorschau des Admins steht
   die Kopfzeile so unter dem Vorschau-Hinweis. Die Fläche selbst lässt Klicks durch (für die Linien darunter). */
.kopf-auf-bild .kopf{position:absolute;left:0;right:0;z-index:5;padding-top:max(28px,env(safe-area-inset-top,0px));background:transparent;border-bottom-color:transparent;pointer-events:none}
.kopf-auf-bild .kopf>*{pointer-events:auto}
.kopf-auf-bild .nav:not(.offen) a{color:var(--hell)}

/* --------------------------------------------------------------------------
   Einstieg. Bei bild-oben, bild-rechts und nur-text überlappt nichts, kein Text auf dem Bild.
   Varianten: bild-oben (großes Bild über die volle Breite, darunter Titel wie auf einem Magazin-Cover),
   bild-rechts (Text links, Portrait rechts), nur-text, bild-voll (Text auf einer dunklen Fläche über dem Bild, siehe unten).
   -------------------------------------------------------------------------- */
.einstieg{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);align-items:end;gap:clamp(40px,6vw,96px);padding:clamp(48px,6vw,96px) var(--seite) clamp(64px,7vw,112px)}
.einstieg-text{display:flex;flex-direction:column;gap:clamp(28px,3vw,40px)}
.einstieg-rest{display:flex;flex-direction:column;gap:28px;min-width:0}
.einstieg h1,.einstieg h2{display:flex;flex-direction:column;gap:clamp(18px,2vw,28px);font-weight:300}
.einstieg .kicker{font-size:15px}
.einstieg .fliesstext{max-width:30em;color:var(--leise)}
.fakten{display:flex;flex-wrap:wrap;gap:8px 36px;padding-top:20px;border-top:1px solid var(--linie);font-size:14px;color:var(--leise)}
.dunkel .fakten{border-top-color:rgba(242,242,240,.18)}
.einstieg-bild img{width:100%;aspect-ratio:4/5;object-fit:cover}
.einstieg-bild .bild-quer img{aspect-ratio:3/2}
/* Bild rechts: großes Portrait, fast bildschirmhoch */
.einstieg.bild-rechts .einstieg-bild img{max-height:calc(100svh - 160px);min-height:420px}
.einstieg.nur-text{grid-template-columns:minmax(0,1fr);padding-top:clamp(64px,9vw,152px)}
.einstieg.nur-text .einstieg-text{max-width:64em}
/* Variante: großes Bild oben über die volle Breite, Text darunter (nie auf dem Bild) */
.einstieg.bild-oben{display:block;padding:0}
.einstieg.bild-oben .einstieg-bild img,.einstieg.bild-oben .einstieg-bild .bild-quer img{width:100%;height:72vh;height:72svh;min-height:300px;max-height:1100px;aspect-ratio:auto;object-fit:cover}
.einstieg.bild-oben .einstieg-text{padding:clamp(40px,5vw,72px) var(--seite) clamp(72px,8vw,128px)}
@media (min-width:901px){
  /* Desktop: fast bildschirmhoch, unten bleibt der Anfang der Überschrift sichtbar (zeigt: es geht weiter) */
  .einstieg.bild-oben .einstieg-bild img,.einstieg.bild-oben .einstieg-bild .bild-quer img{height:calc(100vh - 240px);height:calc(100svh - 240px);min-height:420px}
  /* Titel über die ganze Breite, darunter Text links und Knöpfe rechts */
  .einstieg.bild-oben .einstieg-rest{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:28px clamp(40px,6vw,96px);align-items:end}
  .einstieg.bild-oben .einstieg-rest .fliesstext{grid-column:1}
  .einstieg.bild-oben .einstieg-rest .knopfreihe{grid-column:2;grid-row:1;justify-content:flex-end}
  .einstieg.bild-oben .einstieg-rest .fakten{grid-column:1/-1}
  .einstieg.nur-text .einstieg-rest{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:28px clamp(40px,6vw,96px);align-items:end}
  .einstieg.nur-text .einstieg-rest .knopfreihe{grid-column:1}
  .einstieg.nur-text .einstieg-rest .fakten{grid-column:1/-1}
}
@media (max-width:900px){
  .einstieg{grid-template-columns:minmax(0,1fr);align-items:start}
  .einstieg.bild-rechts .einstieg-bild{order:-1}
  .einstieg.bild-rechts{padding-top:0}
  .einstieg.bild-rechts .einstieg-bild img{max-height:none;min-height:0}
  .einstieg.bild-rechts .einstieg-bild{margin:0 calc(-1 * var(--seite))}
}
/* Variante: Bild vollflächig (6. Runde). Der erste Bildschirm gehört dem Foto. Ist es der erste Abschnitt der Seite,
   beginnt das Foto ganz oben und die Kopfzeile liegt darauf (body.kopf-auf-bild, siehe Kopfzeile).
   Auf dem Foto stehen nur Überschrift, kleine Zeile und zwei Knöpfe, unten und direkt auf dem Bild, ohne Fläche.
   Lesbar durch eine gleichmäßige, einfarbige Abdunkelung des ganzen Bildes (kein Verlauf), deren Stärke die Website
   je Bild misst (Klassen abh-/abq-/abf- in ganzen Prozent, siehe einstieg_messen() in system/bilder.php). Text und Stichpunkte stehen unter dem Foto.
   Unten bleibt Platz für die Kontaktleiste am Handy (--leiste-h), so verdeckt sie nie die Knöpfe, auch ohne Skript
   (mit Skript erscheint sie auf der Startseite erst später, dann entfällt der Platz, siehe Kontaktleiste). */
.einstieg.bild-voll{display:block;padding:0;--fokus:var(--hell)}   /* auf dem Foto heller Fokusrahmen, damit er immer sichtbar ist */
.einstieg-bildschirm{position:relative;display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;min-height:calc(100vh - var(--kopf-h));min-height:calc(100svh - var(--kopf-h));padding:clamp(104px,10vw,140px) var(--seite) calc(clamp(20px,3.4vw,56px) + var(--leiste-h));overflow:hidden;touch-action:pan-y;--ak:var(--hell)}
.kopf-auf-bild{--kopf-h:0px}   /* Foto ab Oberkante: der erste Bildschirm ist das ganze Foto */
.einstieg-buehne{position:absolute;inset:0;z-index:0;background:var(--dunkel)}
.einstieg-folie{position:absolute;inset:0;display:block;margin:0}
.einstieg-folie picture,.einstieg-folie img{width:100%;height:100%}
.einstieg-folie img{object-fit:cover}
/* Abdunkelung: eine Farbe, überall gleich stark (kein Verlauf). Quer und hochkant getrennt gemessen, weil der Ausschnitt anders ist. */
.einstieg-folie::after{content:"";position:absolute;inset:0;background:var(--dunkel);opacity:var(--abq,0)}
.abh-0{--abh:0}.abh-1{--abh:0.01}.abh-2{--abh:0.02}.abh-3{--abh:0.03}.abh-4{--abh:0.04}.abh-5{--abh:0.05}.abh-6{--abh:0.06}.abh-7{--abh:0.07}.abh-8{--abh:0.08}.abh-9{--abh:0.09}.abh-10{--abh:0.1}.abh-11{--abh:0.11}.abh-12{--abh:0.12}.abh-13{--abh:0.13}.abh-14{--abh:0.14}.abh-15{--abh:0.15}.abh-16{--abh:0.16}.abh-17{--abh:0.17}.abh-18{--abh:0.18}.abh-19{--abh:0.19}.abh-20{--abh:0.2}.abh-21{--abh:0.21}.abh-22{--abh:0.22}.abh-23{--abh:0.23}.abh-24{--abh:0.24}.abh-25{--abh:0.25}.abh-26{--abh:0.26}.abh-27{--abh:0.27}.abh-28{--abh:0.28}.abh-29{--abh:0.29}.abh-30{--abh:0.3}.abh-31{--abh:0.31}.abh-32{--abh:0.32}.abh-33{--abh:0.33}.abh-34{--abh:0.34}.abh-35{--abh:0.35}.abh-36{--abh:0.36}.abh-37{--abh:0.37}.abh-38{--abh:0.38}.abh-39{--abh:0.39}.abh-40{--abh:0.4}.abh-41{--abh:0.41}.abh-42{--abh:0.42}.abh-43{--abh:0.43}.abh-44{--abh:0.44}.abh-45{--abh:0.45}.abh-46{--abh:0.46}.abh-47{--abh:0.47}.abh-48{--abh:0.48}.abh-49{--abh:0.49}.abh-50{--abh:0.5}.abh-51{--abh:0.51}.abh-52{--abh:0.52}.abh-53{--abh:0.53}.abh-54{--abh:0.54}.abh-55{--abh:0.55}.abh-56{--abh:0.56}.abh-57{--abh:0.57}.abh-58{--abh:0.58}.abh-59{--abh:0.59}.abh-60{--abh:0.6}.abh-61{--abh:0.61}.abh-62{--abh:0.62}.abh-63{--abh:0.63}.abh-64{--abh:0.64}.abh-65{--abh:0.65}.abh-66{--abh:0.66}.abh-67{--abh:0.67}.abh-68{--abh:0.68}.abh-69{--abh:0.69}.abh-70{--abh:0.7}.abh-71{--abh:0.71}.abh-72{--abh:0.72}.abh-73{--abh:0.73}.abh-74{--abh:0.74}.abh-75{--abh:0.75}.abh-76{--abh:0.76}.abh-77{--abh:0.77}.abh-78{--abh:0.78}.abh-79{--abh:0.79}.abh-80{--abh:0.8}.abh-81{--abh:0.81}.abh-82{--abh:0.82}.abh-83{--abh:0.83}.abh-84{--abh:0.84}.abh-85{--abh:0.85}
.abq-0{--abq:0}.abq-1{--abq:0.01}.abq-2{--abq:0.02}.abq-3{--abq:0.03}.abq-4{--abq:0.04}.abq-5{--abq:0.05}.abq-6{--abq:0.06}.abq-7{--abq:0.07}.abq-8{--abq:0.08}.abq-9{--abq:0.09}.abq-10{--abq:0.1}.abq-11{--abq:0.11}.abq-12{--abq:0.12}.abq-13{--abq:0.13}.abq-14{--abq:0.14}.abq-15{--abq:0.15}.abq-16{--abq:0.16}.abq-17{--abq:0.17}.abq-18{--abq:0.18}.abq-19{--abq:0.19}.abq-20{--abq:0.2}.abq-21{--abq:0.21}.abq-22{--abq:0.22}.abq-23{--abq:0.23}.abq-24{--abq:0.24}.abq-25{--abq:0.25}.abq-26{--abq:0.26}.abq-27{--abq:0.27}.abq-28{--abq:0.28}.abq-29{--abq:0.29}.abq-30{--abq:0.3}.abq-31{--abq:0.31}.abq-32{--abq:0.32}.abq-33{--abq:0.33}.abq-34{--abq:0.34}.abq-35{--abq:0.35}.abq-36{--abq:0.36}.abq-37{--abq:0.37}.abq-38{--abq:0.38}.abq-39{--abq:0.39}.abq-40{--abq:0.4}.abq-41{--abq:0.41}.abq-42{--abq:0.42}.abq-43{--abq:0.43}.abq-44{--abq:0.44}.abq-45{--abq:0.45}.abq-46{--abq:0.46}.abq-47{--abq:0.47}.abq-48{--abq:0.48}.abq-49{--abq:0.49}.abq-50{--abq:0.5}.abq-51{--abq:0.51}.abq-52{--abq:0.52}.abq-53{--abq:0.53}.abq-54{--abq:0.54}.abq-55{--abq:0.55}.abq-56{--abq:0.56}.abq-57{--abq:0.57}.abq-58{--abq:0.58}.abq-59{--abq:0.59}.abq-60{--abq:0.6}.abq-61{--abq:0.61}.abq-62{--abq:0.62}.abq-63{--abq:0.63}.abq-64{--abq:0.64}.abq-65{--abq:0.65}.abq-66{--abq:0.66}.abq-67{--abq:0.67}.abq-68{--abq:0.68}.abq-69{--abq:0.69}.abq-70{--abq:0.7}.abq-71{--abq:0.71}.abq-72{--abq:0.72}.abq-73{--abq:0.73}.abq-74{--abq:0.74}.abq-75{--abq:0.75}.abq-76{--abq:0.76}.abq-77{--abq:0.77}.abq-78{--abq:0.78}.abq-79{--abq:0.79}.abq-80{--abq:0.8}.abq-81{--abq:0.81}.abq-82{--abq:0.82}.abq-83{--abq:0.83}.abq-84{--abq:0.84}.abq-85{--abq:0.85}
.abf-0{--abf:0}.abf-1{--abf:0.01}.abf-2{--abf:0.02}.abf-3{--abf:0.03}.abf-4{--abf:0.04}.abf-5{--abf:0.05}.abf-6{--abf:0.06}.abf-7{--abf:0.07}.abf-8{--abf:0.08}.abf-9{--abf:0.09}.abf-10{--abf:0.1}.abf-11{--abf:0.11}.abf-12{--abf:0.12}.abf-13{--abf:0.13}.abf-14{--abf:0.14}.abf-15{--abf:0.15}.abf-16{--abf:0.16}.abf-17{--abf:0.17}.abf-18{--abf:0.18}.abf-19{--abf:0.19}.abf-20{--abf:0.2}.abf-21{--abf:0.21}.abf-22{--abf:0.22}.abf-23{--abf:0.23}.abf-24{--abf:0.24}.abf-25{--abf:0.25}.abf-26{--abf:0.26}.abf-27{--abf:0.27}.abf-28{--abf:0.28}.abf-29{--abf:0.29}.abf-30{--abf:0.3}.abf-31{--abf:0.31}.abf-32{--abf:0.32}.abf-33{--abf:0.33}.abf-34{--abf:0.34}.abf-35{--abf:0.35}.abf-36{--abf:0.36}.abf-37{--abf:0.37}.abf-38{--abf:0.38}.abf-39{--abf:0.39}.abf-40{--abf:0.4}.abf-41{--abf:0.41}.abf-42{--abf:0.42}.abf-43{--abf:0.43}.abf-44{--abf:0.44}.abf-45{--abf:0.45}.abf-46{--abf:0.46}.abf-47{--abf:0.47}.abf-48{--abf:0.48}.abf-49{--abf:0.49}.abf-50{--abf:0.5}.abf-51{--abf:0.51}.abf-52{--abf:0.52}.abf-53{--abf:0.53}.abf-54{--abf:0.54}.abf-55{--abf:0.55}.abf-56{--abf:0.56}.abf-57{--abf:0.57}.abf-58{--abf:0.58}.abf-59{--abf:0.59}.abf-60{--abf:0.6}.abf-61{--abf:0.61}.abf-62{--abf:0.62}.abf-63{--abf:0.63}.abf-64{--abf:0.64}.abf-65{--abf:0.65}.abf-66{--abf:0.66}.abf-67{--abf:0.67}.abf-68{--abf:0.68}.abf-69{--abf:0.69}.abf-70{--abf:0.7}.abf-71{--abf:0.71}.abf-72{--abf:0.72}.abf-73{--abf:0.73}.abf-74{--abf:0.74}.abf-75{--abf:0.75}.abf-76{--abf:0.76}.abf-77{--abf:0.77}.abf-78{--abf:0.78}.abf-79{--abf:0.79}.abf-80{--abf:0.8}.abf-81{--abf:0.81}.abf-82{--abf:0.82}.abf-83{--abf:0.83}.abf-84{--abf:0.84}.abf-85{--abf:0.85}
[data-wechsel] .einstieg-folie{opacity:0;transition:opacity 1s cubic-bezier(.2,.7,.2,1)}
[data-wechsel] .einstieg-folie.aktiv{opacity:1}
.einstieg.bild-voll .einstieg-text{position:relative;z-index:1;width:min(100%,46rem);gap:clamp(20px,2.2vw,30px)}
.einstieg.bild-voll h1,.einstieg.bild-voll h2{gap:clamp(12px,1.4vw,18px)}
/* Titel groß und kräftig, begrenzt durch Spaltenbreite, Bildschirmhöhe und das längste Wort */
.einstieg.bild-voll .titel-xl{font-size:min(var(--zl-max,1000px),clamp(46px,8vw,128px),15cqi,max(40px,11vh));font-weight:600;font-stretch:94%;line-height:.95;letter-spacing:-.035em}
.einstieg.bild-voll .titel-xl.wl{font-size:min(var(--zl-max,1000px),clamp(46px,8vw,128px),15cqi,max(40px,11vh),calc(100cqi / var(--wl) / .6))}
/* Lange Titel (mehr als 26 Zeichen): eine Stufe kleiner */
.einstieg.bild-voll .titel-xl.titel-lang{font-size:min(var(--zl-max,1000px),clamp(38px,5.6vw,92px),11cqi,max(34px,8.5vh))}
.einstieg.bild-voll .titel-xl.titel-lang.wl{font-size:min(var(--zl-max,1000px),clamp(38px,5.6vw,92px),11cqi,max(34px,8.5vh),calc(100cqi / var(--wl) / .6))}
/* Kleine Zeile (wichtig für Google) unter dem Titel: Großbuchstaben, gesperrt, hell */
.einstieg.bild-voll .kicker{font-size:13px;font-weight:500;line-height:1.5;letter-spacing:.14em;text-transform:uppercase;color:var(--hell)}
/* Zwei gleich breite Knöpfe: Hauptknopf (Akzentfarbe) und Rahmenknopf */
.knopf-paar{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:min(100%,32rem)}
.knopf-paar .knopf{justify-content:center;padding:15px 12px;text-align:center}
.einstieg-bildschirm .knopf-rahmen{border-color:var(--hell)}
/* Unter dem Foto: Text und Stichpunkte auf dunklem Grund */
.einstieg.bild-voll .einstieg-rest{display:flex;flex-direction:column;gap:28px;padding:clamp(40px,5vw,72px) var(--seite) clamp(56px,7vw,104px)}
.einstieg.bild-voll .einstieg-rest .fliesstext{max-width:34em}
/* Bildwechsel-Anzeige: dünne Linien ganz oben, ohne Kasten, eine je Bild; dahinter ein kleiner Knopf zum Anhalten.
   Tippfläche je Linie 24 px hoch. Erst sichtbar, wenn site.js läuft. */
.einstieg-steuerung{position:absolute;top:max(2px,env(safe-area-inset-top,0px));left:var(--seite);right:var(--seite);z-index:2;display:flex;align-items:center;gap:6px}
.einstieg-segment{position:relative;flex:1 1 0;min-width:24px;height:24px;padding:0;border:0;border-radius:0;background:transparent;cursor:pointer}
.einstieg-segment::before,.einstieg-segment::after{content:"";position:absolute;left:0;right:0;top:11px;height:2px;background:rgba(242,242,240,.45)}
.einstieg-segment::after{background:var(--hell);transform:scaleX(0);transform-origin:left}
.einstieg-segment[aria-current]::after{transform:none}
.einstieg-steuerung.laeuft .einstieg-segment[aria-current]::after{animation:segment var(--wechsel-dauer,6s) linear both}
@keyframes segment{from{transform:scaleX(0)}to{transform:scaleX(1)}}
.einstieg-pause{flex:none;display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin-left:2px;padding:0;border:0;border-radius:0;background:transparent;color:var(--hell);cursor:pointer}
.einstieg-pause .start,.einstieg-steuerung.angehalten .einstieg-pause .pause{display:none}
.einstieg-steuerung.angehalten .einstieg-pause .start{display:block}
.einstieg-steuerung :focus-visible{outline-offset:-2px}
/* Kleines Motiv (optional): klein am Rand, schwebt langsam, nur wenn Bewegung erwünscht ist */
.einstieg-motiv{display:block;width:clamp(72px,8vw,140px);margin:0}
.einstieg-motiv img{width:100%;height:auto}
.einstieg-text>.einstieg-motiv{align-self:flex-start}
.einstieg-bildschirm>.einstieg-motiv{position:absolute;z-index:1;top:clamp(104px,9vw,128px);right:var(--seite)}
@media (prefers-reduced-motion:no-preference){.einstieg-motiv{animation:schweben 7s ease-in-out infinite alternate}}
@keyframes schweben{from{transform:translateY(0)}to{transform:translateY(-10px)}}
@media (min-width:901px){
  .einstieg.bild-voll .einstieg-rest{display:grid;grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:28px clamp(40px,6vw,96px);align-items:end}
  .einstieg.bild-voll .einstieg-rest .fliesstext{font-size:17px}
}
/* Handy und Tablet hochkant: Text über die ganze Breite, eigener Wert für die Abdunkelung */
@media (max-width:900px) and (orientation:portrait),(max-width:639px){
  .einstieg-folie::after{opacity:var(--abh,0)}
  .einstieg.bild-voll .einstieg-text{width:100%;gap:20px}
  .einstieg.bild-voll .titel-xl{font-size:min(var(--zl-max,1000px),clamp(44px,13vw,96px),16cqi)}
  .einstieg.bild-voll .titel-xl.wl{font-size:min(var(--zl-max,1000px),clamp(44px,13vw,96px),16cqi,calc(100cqi / var(--wl) / .6))}
  .einstieg.bild-voll .titel-xl.titel-lang{font-size:min(var(--zl-max,1000px),clamp(36px,10vw,72px),12.5cqi)}
  .einstieg.bild-voll .titel-xl.titel-lang.wl{font-size:min(var(--zl-max,1000px),clamp(36px,10vw,72px),12.5cqi,calc(100cqi / var(--wl) / .6))}
  .einstieg.bild-voll .kicker{font-size:12px}
  .knopf-paar{width:100%}
  .einstieg-bildschirm>.einstieg-motiv{width:clamp(64px,18vw,96px)}
  .einstieg.bild-voll .fliesstext{font-size:16px;line-height:1.6}
}
/* Quer und niedrig (Handy quer, kleine Fenster): eigener Wert, dort steht die Schrift über einem größeren Teil des Fotos (10. Runde) */
@media (orientation:landscape) and (max-height:600px){.einstieg-folie::after{opacity:var(--abf,0)}}
@media (max-width:359px){.knopf-paar{gap:8px}.knopf-paar .knopf{padding:14px 4px;font-size:14px;letter-spacing:0}}   /* sehr schmale Handys: Knöpfe bleiben nebeneinander */

/* Dezentes Einblenden, nur wenn Bewegung erwünscht ist */
@media (prefers-reduced-motion:no-preference){
  .einstieg .einstieg-rest{animation:einblenden .9s cubic-bezier(.2,.7,.2,1) .1s both}   /* Überschrift nicht: sie ist oft das LCP-Element */
  .einstieg-bild img{animation:bild-ein 1.6s cubic-bezier(.2,.7,.2,1) both}
}
@keyframes einblenden{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes bild-ein{from{transform:scale(1.04)}to{transform:none}}

/* --------------------------------------------------------------------------
   Großer Satz (Positionierung)
   -------------------------------------------------------------------------- */
.aussage{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(24px,3vw,40px)}
.aussage-satz{max-width:19em;font-weight:300;font-stretch:118%;font-size:clamp(32px,4.6vw,70px);line-height:1.06;letter-spacing:-.038em;overflow-wrap:break-word;hyphens:manual}
.aussage-satz.wl{font-size:min(clamp(32px,4.6vw,70px),calc(100cqi / var(--wl) / .6))}
.aussage-rest{display:flex;flex-direction:column;align-items:flex-start;gap:20px;max-width:30em}
@media (min-width:901px){
  .aussage-rest{justify-self:end;width:min(30em,41%);margin-top:clamp(8px,2vw,32px)}
}

/* --------------------------------------------------------------------------
   Großes Bild (randlos oder in Inhaltsbreite)
   -------------------------------------------------------------------------- */
.bild-gross.voll figure{gap:0}
.bild-gross.voll img{width:100%;height:78vh;height:78svh;min-height:280px;max-height:1000px;object-fit:cover}
.bild-gross.voll figcaption{padding:16px var(--seite) 20px}
.bild-gross.inhalt img{width:100%}
@media (max-width:900px){.bild-gross.voll img{height:auto;aspect-ratio:4/5;max-height:80svh}}
.bild-gross.voll .bild-quer img{aspect-ratio:auto}
@media (max-width:900px){.bild-gross.voll .bild-quer img{aspect-ratio:4/3;height:auto}}
/* Abschnitt direkt unter einem randlosen Bild behält seinen oberen Abstand */
.bild-gross.voll+.folgt-gleich{padding-top:var(--abstand)}

/* --------------------------------------------------------------------------
   Bildleiste: seitlich wischbar, alle Bilder gleich hoch
   -------------------------------------------------------------------------- */
.bildleiste{--leiste-b:clamp(260px,34vw,480px);padding:var(--abstand) 0;display:flex;flex-direction:column;gap:clamp(32px,4vw,56px)}
.kopfreihe{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:16px 48px;padding:0 var(--seite)}
.kopfreihe-rechts{display:flex;align-items:center;gap:24px}
.leiste-pfeile{display:flex;gap:8px}
.leiste-pfeil{display:flex;align-items:center;justify-content:center;width:48px;height:48px;padding:0;border:1px solid var(--rahmen);border-radius:0;background:transparent;color:var(--fg);cursor:pointer;transition:opacity .3s,background-color .3s,color .3s}
@media (hover:hover){.leiste-pfeil:hover{background:var(--fg);color:var(--bg)}}
.leiste-pfeil:disabled{opacity:.3;cursor:default;background:transparent;color:var(--fg)}
@media (min-width:901px){.kopfreihe-rechts:has(.leiste-pfeile:not([hidden])) .leiste-hinweis{display:none}}   /* Pfeile ersetzen den Hinweis */
@media (max-width:900px){.leiste-pfeile{display:none}}
.leiste{display:flex;gap:clamp(12px,1.6vw,24px);overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--seite);padding:0 var(--seite) 8px;overscroll-behavior-x:contain;scrollbar-width:thin;counter-reset:bild}
.leiste li{flex:0 0 auto;width:var(--leiste-b);scroll-snap-align:start;display:flex;flex-direction:column;gap:12px}
.leiste li.quer{width:min(calc(var(--leiste-b) * 1.875),92vw)}
.leiste img{width:100%;aspect-ratio:4/5;object-fit:cover}
.leiste .quer img{aspect-ratio:3/2}
.leiste figure{gap:14px;counter-increment:bild}
.leiste figcaption{font-size:14px;color:var(--leise)}
.leiste figcaption::before{content:counter(bild,decimal-leading-zero);display:inline-block;min-width:2.4em;font-variant-numeric:tabular-nums}
.leiste .leiste-ende{width:auto;min-width:min(260px,70vw);justify-content:center}
.leiste .mehr{display:flex;flex-direction:column;justify-content:center;gap:12px;height:100%;min-height:200px;padding:0 clamp(24px,4vw,64px) 0 clamp(8px,2vw,32px)}
.leiste .mehr strong{font-size:clamp(28px,2.6vw,40px);font-weight:300;font-stretch:118%;letter-spacing:-.03em;line-height:1.05}
.leiste .mehr-pfeil{display:block;margin-top:8px;transition:transform .4s cubic-bezier(.2,.7,.2,1)}
.leiste .mehr:hover{opacity:1}
@media (hover:hover){.leiste .mehr:hover .mehr-pfeil{transform:translateX(8px)}}
@media (max-width:900px){.bildleiste{--leiste-b:78vw}}

/* --------------------------------------------------------------------------
   Ablauf: nummerierte Schritte als ruhige Zeilen
   -------------------------------------------------------------------------- */
.ablauf-kopf{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px 64px;margin-bottom:clamp(40px,5vw,72px)}
.ablauf-kopf p{max-width:26em;font-size:16px;line-height:1.65}
.ablauf{border-bottom:1px solid var(--linie)}
.ablauf li{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,4fr) minmax(0,5fr);gap:12px clamp(24px,4vw,64px);align-items:baseline;padding:clamp(24px,3vw,40px) 0;border-top:1px solid var(--linie)}
.ablauf li:first-child{border-top-color:var(--fg)}
.ablauf .zeit{font-size:clamp(56px,6.4vw,104px);font-weight:300;font-stretch:118%;letter-spacing:-.04em;line-height:1;font-variant-numeric:tabular-nums;color:var(--ak-gross)}
.schritt-kopf{display:flex;flex-direction:column;gap:10px}
.schritt-hinweis{font-size:14px;line-height:1.45;color:var(--ak)}
.ablauf .schritt{font-size:clamp(20px,1.8vw,26px);font-weight:400;font-stretch:112%;letter-spacing:-.015em;line-height:1.25}
.ablauf p{font-size:16px;line-height:1.65;max-width:30em}
@media (max-width:700px){
  .ablauf li{grid-template-columns:minmax(0,1fr)}
}

/* --------------------------------------------------------------------------
   Leistungen als fotografische Angebote: großes Bild, daneben Text, abwechselnd links und rechts
   -------------------------------------------------------------------------- */
.angebote{display:flex;flex-direction:column;gap:clamp(56px,8vw,128px)}
.angebot{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,1fr) minmax(0,6fr);align-items:end}
.angebot-bild{grid-column:1;grid-row:1}
.angebot-text{grid-column:3;grid-row:1}
.angebot.gespiegelt{grid-template-columns:minmax(0,6fr) minmax(0,1fr) minmax(0,5fr)}
.angebot.gespiegelt .angebot-bild{grid-column:3}
.angebot.gespiegelt .angebot-text{grid-column:1}
.angebot.ohne-bild .angebot-text{grid-column:1/-1}
.angebot-bild img{width:100%;aspect-ratio:4/5;object-fit:cover}
.angebot-bild .bild-quer img{aspect-ratio:4/3}
.angebot-text{display:flex;flex-direction:column;align-items:flex-start;gap:20px;padding-bottom:clamp(0px,2vw,24px)}
.angebot-nr{font-size:15px;font-variant-numeric:tabular-nums}
.angebot-titel{font-size:clamp(34px,4.2vw,64px);font-weight:300;font-stretch:118%;letter-spacing:-.038em;line-height:1.02;overflow-wrap:break-word;hyphens:manual}
.angebot-beschreibung{max-width:26em;font-size:17px;line-height:1.65}
a.angebot:hover{opacity:1}
.abschnitt-link{margin-top:clamp(48px,6vw,96px);padding-top:24px;border-top:1px solid var(--linie)}
@media (max-width:900px){
  .angebot,.angebot.gespiegelt{grid-template-columns:minmax(0,1fr);gap:28px}
  .angebot-bild,.angebot.gespiegelt .angebot-bild,.angebot-text,.angebot.gespiegelt .angebot-text{grid-column:1;grid-row:auto}
}

/* Bildkarten (Variante der Leistungsliste): Foto im Hochformat, Nummer, Titel und Kurztext unten direkt auf dem Foto,
   ohne Fläche (6. Runde). Lesbar durch eine gleichmäßige Abdunkelung des Bildes, gemessen je Bild (Klasse abk-).
   Am Handy untereinander, am Computer 2–3 nebeneinander. */
.bildkarten{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(16px,2vw,32px)}
@media (min-width:601px){.bildkarten.spalten-2,.bildkarten.spalten-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:901px){.bildkarten.spalten-3{grid-template-columns:repeat(3,minmax(0,1fr))}.bildkarten.spalten-1{max-width:40rem}}
.bildkarte{position:relative;display:block;height:100%;overflow:hidden;background:var(--linie)}
a.bildkarte:hover{opacity:1}
.bildkarte-bild{position:relative;display:block}
.bildkarte-bild img{width:100%;aspect-ratio:4/5;object-fit:cover}
.bildkarte-bild::after{content:"";position:absolute;inset:0;background:var(--dunkel);opacity:var(--abk,0);transition:opacity .4s cubic-bezier(.2,.7,.2,1)}
.abk-0{--abk:0}.abk-5{--abk:0.05}.abk-10{--abk:0.1}.abk-15{--abk:0.15}.abk-20{--abk:0.2}.abk-25{--abk:0.25}.abk-30{--abk:0.3}.abk-35{--abk:0.35}.abk-40{--abk:0.4}.abk-45{--abk:0.45}.abk-50{--abk:0.5}.abk-55{--abk:0.55}.abk-60{--abk:0.6}.abk-65{--abk:0.65}.abk-70{--abk:0.7}.abk-75{--abk:0.75}.abk-80{--abk:0.8}.abk-85{--abk:0.85}
.bildkarte-text{position:absolute;left:0;right:0;bottom:0;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:clamp(18px,2vw,28px);color:var(--hell)}
.bildkarte.ohne-bild .bildkarte-text{position:static;min-height:100%}
.bildkarte-nr{display:flex;align-items:center;gap:10px;font-size:13px;letter-spacing:.12em;text-transform:uppercase;color:var(--hell);font-variant-numeric:tabular-nums}
.bildkarte-nr::before{content:"";flex:none;width:8px;height:8px;background:var(--akzent)}
.bildkarte-titel{font-size:clamp(26px,2.4vw,38px);font-weight:400;font-stretch:112%;letter-spacing:-.03em;line-height:1.05;overflow-wrap:break-word;hyphens:manual}
.bildkarte-satz{font-size:15px;line-height:1.55;color:var(--hell)}
@media (hover:hover){a.bildkarte:hover .bildkarte-bild::after{opacity:calc(var(--abk,0) + .1)}}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  a.bildkarte img{transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
  a.bildkarte:hover img,.bewegung a.bildkarte:hover .zeigen.sichtbar img{transform:scale(1.03)}
}

/* --------------------------------------------------------------------------
   Kundenstimme: großes Zitat, ruhig gesetzt, keine Sterne, keine Karte
   -------------------------------------------------------------------------- */
.stimme{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,1fr) minmax(0,7fr);align-items:end}
.stimme>picture{grid-column:1}
.stimme figure{grid-column:3;display:flex;flex-direction:column;gap:32px}
.stimme.ohne-bild{grid-template-columns:minmax(0,1fr)}
.stimme.ohne-bild figure{grid-column:1;max-width:min(100%,62rem)}
.stimme img{width:100%;aspect-ratio:4/5;object-fit:cover}
.stimme blockquote{font-size:clamp(28px,3.4vw,52px);font-weight:300;font-stretch:112%;line-height:1.18;letter-spacing:-.028em;text-indent:-.42em}
.stimme figcaption{display:flex;align-items:center;gap:16px;font-size:15px}
.stimme figcaption::before{content:"";flex:none;width:40px;height:1px;background:currentColor}
/* Bewertungen (17. Runde): mehrere echte Stimmen mit Name und Quelle. Linie statt Kasten, wie im Rest der Seite.
   Am Handy untereinander, ab 768 px zwei, ab 1100 px bei drei und mehr drei Spalten; eine einzelne steht schmal. */
.bewertungen-kopf{display:flex;flex-direction:column;gap:20px;max-width:46rem;margin-bottom:clamp(40px,5vw,72px)}
.bewertungen-liste{display:grid;grid-template-columns:minmax(0,1fr);gap:clamp(40px,4.4vw,64px) clamp(24px,3vw,48px)}
.bewertungen-liste.anzahl-1{max-width:46rem}
@media (min-width:768px){.bewertungen-liste.anzahl-2,.bewertungen-liste.anzahl-3{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (min-width:1100px){.bewertungen-liste.anzahl-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
.bewertung{display:flex;flex-direction:column;gap:18px;margin:0;padding-top:24px;border-top:1px solid var(--linie)}
.bewertung blockquote{margin:0;font-size:clamp(19px,1.5vw,22px);font-weight:300;line-height:1.5;letter-spacing:-.005em}
.bewertung blockquote p{margin:0;text-indent:-.42em}
.bewertung figcaption{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:auto;font-size:15px;line-height:1.5;color:var(--leise)}
.bewertung-name{color:var(--fg);font-weight:500}
.bewertung-quelle a{display:inline-block;padding:10px 0;margin:-10px 0;text-decoration:underline;text-underline-offset:3px}   /* größere Tippfläche, ohne die Zeile zu verschieben */
.sterne{margin:0;font-size:15px;letter-spacing:.14em;color:var(--ak,var(--fg))}
.sterne-leer{opacity:.3}
.bewertungen-links{display:flex;flex-wrap:wrap;gap:4px 32px;margin:clamp(40px,5vw,64px) 0 0}
@media (max-width:900px){
  .stimme{grid-template-columns:minmax(0,1fr);gap:40px}
  .stimme>picture{grid-column:1;width:min(72%,320px)}
  .stimme figure{grid-column:1}
}

/* --------------------------------------------------------------------------
   Text und formatierter Text
   -------------------------------------------------------------------------- */
.zweispaltig{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:32px clamp(40px,6vw,96px);align-items:start}
.zweispaltig.ohne-titel{grid-template-columns:minmax(0,1fr)}
@media (max-width:900px){.zweispaltig{grid-template-columns:minmax(0,1fr)}}
.formatiert{font-size:18px;line-height:1.65;max-width:36em}
.formatiert>*+*{margin-top:1em}
.formatiert h3{margin-top:1.8em;font-size:22px;font-weight:500;font-stretch:108%;line-height:1.3}
.formatiert ul{padding-left:1.2em;list-style:disc}
.formatiert ol{padding-left:1.4em;list-style:decimal}
.formatiert li+li{margin-top:.35em}
.formatiert a{color:var(--ak,inherit);text-decoration:underline;text-underline-offset:3px}
.formatiert strong{font-weight:600}

/* Text mit Bild: das Bild ist größer als der Text, Text unten bündig */
.textbild{display:grid;gap:40px clamp(40px,7vw,120px);align-items:end}
.textbild.bild-links{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}
.textbild.bild-rechts{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
.textbild.ohne-bild{grid-template-columns:minmax(0,1fr)}
.textbild-text{display:flex;flex-direction:column;gap:28px;padding-bottom:clamp(0px,2vw,24px)}
.textbild-text .kicker{margin-bottom:-8px}
.textbild img{width:100%;aspect-ratio:4/5;object-fit:cover}
.textbild .bild-quer img{aspect-ratio:3/2}
@media (max-width:900px){
  .textbild.bild-links,.textbild.bild-rechts{grid-template-columns:minmax(0,1fr)}
  .textbild-bild{order:-1}
}

/* --------------------------------------------------------------------------
   Bildraster (Portfolio) mit Filter.
   Editorial-Rhythmus statt gleich großer Kacheln: m1 groß, m2 kleiner und tiefer gesetzt,
   m3 mittel eingerückt, m4 mittel tiefer gesetzt. Querformate über die volle Breite.
   -------------------------------------------------------------------------- */
.filter{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:clamp(32px,4vw,56px)}
.filter button{min-height:44px;padding:10px 18px;border:1px solid var(--rahmen);background:transparent;color:inherit;font:inherit;font-size:15px;cursor:pointer;border-radius:0;transition:background-color .3s,color .3s}
.filter button[aria-pressed="true"]{background:var(--fg);color:var(--bg);border-color:var(--fg)}
.raster ul{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(12px,2vw,32px);row-gap:clamp(40px,6vw,104px);align-items:start}
.raster li{grid-column:1/span 7}
.raster li.m2{grid-column:9/span 4;margin-top:28%}
.raster li.m3{grid-column:2/span 5}
.raster li.m4{grid-column:8/span 5;margin-top:22%}
.raster li.quer{grid-column:1/-1}
.raster img{width:100%;aspect-ratio:4/5;object-fit:cover}
.raster .quer img{aspect-ratio:3/2}
@media (max-width:900px){
  .raster ul{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;row-gap:12px}
  .raster li,.raster li.m4,.raster li.quer{grid-column:1/-1;margin-top:0}
  .raster li.m2{grid-column:1;margin-top:0}
  .raster li.m3{grid-column:2;margin-top:24%}
  .raster li.m4{margin-top:0}
}

/* Name/Funktion einer Person als Beschriftung im Bild (Bildraster, Bildleiste). Nur mit Einwilligung der Person.
   Die kleine Fläche erscheint nur, wenn das Foto unten links zu hell ist; ein Portfolio-Bild wird dafür nie abgedunkelt. */
.mit-person{position:relative;display:block;margin:0}
.bild-person{position:absolute;left:0;bottom:0;max-width:calc(100% - 24px);padding:8px 12px;background:rgba(14,15,16,.82);color:var(--hell);font-size:13px;line-height:1.4}
.bild-person.frei{background:transparent}   /* Foto dort dunkel genug (gemessen): Schrift direkt auf dem Bild, ohne Fläche */

/* --------------------------------------------------------------------------
   Preise: jedes Paket eine Zeile (wer, was, wie viel, nächster Schritt)
   -------------------------------------------------------------------------- */
.pakete{border-bottom:1px solid var(--linie)}
.paket{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,4fr) minmax(0,3fr);gap:24px clamp(24px,4vw,64px);align-items:start;padding:clamp(32px,4vw,56px) 0;border-top:1px solid var(--linie)}
.paket:first-child{border-top-color:var(--fg)}
.paket.hervor{padding:clamp(32px,4vw,56px) clamp(20px,3vw,40px);margin:0 calc(-1 * clamp(20px,3vw,40px));border-top:0}
.paket.hervor+.paket{border-top-color:transparent}
.paket-kopf{display:flex;flex-direction:column;gap:14px}
.paket .name{font-size:clamp(28px,2.8vw,42px);font-weight:300;font-stretch:118%;letter-spacing:-.03em;line-height:1.05}
.paket .beschreibung{max-width:24em;font-size:16px;line-height:1.6}
.paket-leistungen li{position:relative;padding:10px 0 10px 22px;border-top:1px solid var(--linie);font-size:15px;line-height:1.5}
.paket-leistungen li:first-child{border-top:0;padding-top:4px}
.paket-leistungen li::before{content:"";position:absolute;left:0;top:calc(10px + .75em);width:10px;height:1px;background:currentColor}
.paket-leistungen li:first-child::before{top:calc(4px + .75em)}
.paket-preis{display:flex;flex-direction:column;align-items:flex-end;gap:20px;text-align:right}
.paket .preis{font-size:clamp(36px,3.6vw,56px);font-weight:300;font-stretch:118%;letter-spacing:-.035em;line-height:1}
@media (max-width:900px){
  .paket{grid-template-columns:minmax(0,1fr)}
  .paket-preis{align-items:flex-start;text-align:left}
}
.zusatz{margin-top:clamp(56px,6vw,88px);max-width:56em}
.zusatz-titel{margin-bottom:16px;font-size:20px;font-weight:400;font-stretch:112%}
.zusatz ul{border-bottom:1px solid var(--linie)}
.zusatz li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px 24px;padding:18px 0;border-top:1px solid var(--linie);font-size:16px}
.preise-hinweis{margin-top:32px;font-size:14px;line-height:1.6;max-width:48em}

/* --------------------------------------------------------------------------
   Häufige Fragen (aufklappbar)
   -------------------------------------------------------------------------- */
.faq-liste{border-bottom:1px solid var(--linie)}
.faq-liste details{border-top:1px solid var(--linie)}
.faq-liste summary{display:flex;justify-content:space-between;align-items:center;gap:24px;min-height:44px;padding:22px 0;cursor:pointer;list-style:none;font-size:clamp(20px,1.8vw,26px);font-weight:300;font-stretch:112%;letter-spacing:-.015em;line-height:1.3}
.faq-liste summary::-webkit-details-marker{display:none}
.faq-liste summary svg{flex:none;transition:transform .2s}
.faq-liste details[open] summary svg{transform:rotate(45deg)}
.faq-liste .formatiert{padding:0 0 28px;font-size:17px;color:var(--leise)}

/* --------------------------------------------------------------------------
   Aufruf
   -------------------------------------------------------------------------- */
.aufruf{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:32px 64px}
.aufruf .titel-l{max-width:11em}
.aufruf-rechts{display:flex;flex-direction:column;align-items:flex-start;gap:20px;max-width:28em}
.aufruf-rechts p{font-size:16px;line-height:1.65}

/* --------------------------------------------------------------------------
   Aktion: ruhig hervorgehoben (Rahmen, Akzent links), Knopf in der Akzentfarbe. Kein Zähler.
   -------------------------------------------------------------------------- */
.aktion{display:grid;grid-template-columns:minmax(0,7fr) minmax(0,4fr);gap:28px clamp(40px,6vw,96px);align-items:end;padding:clamp(28px,4vw,56px);border:1px solid var(--linie);border-left:4px solid var(--akzent)}
.aktion-text{display:flex;flex-direction:column;gap:20px}
.aktion-text .fliesstext{max-width:34em}
.aktion-rechts{display:flex;flex-direction:column;align-items:flex-start;gap:16px}
.aktion-frist{font-size:15px;line-height:1.5}
@media (max-width:900px){.aktion{grid-template-columns:minmax(0,1fr)}}

/* --------------------------------------------------------------------------
   Kontaktformular
   -------------------------------------------------------------------------- */
.kontakt-info{display:flex;flex-direction:column;gap:28px}
.kontakt-info .fliesstext{color:var(--leise);max-width:30em}
.kontakt-daten{display:flex;flex-direction:column;font-size:16px}
.kontakt-daten a{display:inline-flex;align-items:center;min-height:44px;border-bottom:1px solid var(--linie)}
.kontakt-daten span{padding:12px 0}
.formular{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:28px 20px}
.formular .ganz{grid-column:1/-1}
@media (max-width:600px){.formular{grid-template-columns:minmax(0,1fr)}}
.feld{display:flex;flex-direction:column;gap:8px;min-width:0;margin:0;padding:0;border:0}
.feld>label,.feld legend{padding:0;font-size:15px;font-weight:500}
.feld legend{margin-bottom:8px}
.feld .optional{font-weight:400;color:var(--leise)}
.feld .hilfe{font-size:14px;color:var(--leise)}
.formular input[type=text],.formular input[type=email],.formular input[type=tel],.formular input[type=date],.formular select,.formular textarea{display:block;width:100%;min-width:0;min-height:52px;padding:14px 16px;border:1px solid var(--leise);border-radius:0;background:transparent;color:inherit;font:inherit;font-size:16px;line-height:1.4;-webkit-appearance:none;appearance:none}
.formular textarea{min-height:160px;resize:vertical}
.formular select{padding-right:44px;background-repeat:no-repeat;background-position:right 16px center;background-size:12px 8px}
.hell .formular select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23141517' stroke-width='1.5'/%3E%3C/svg%3E")}
.dunkel .formular select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F2F2F0' stroke-width='1.5'/%3E%3C/svg%3E")}
.dunkel .formular select option{background:var(--dunkel)}
.formular input:focus-visible,.formular select:focus-visible,.formular textarea:focus-visible{outline:2px solid var(--fokus);outline-offset:0}
.formular [aria-invalid="true"]{border-width:2px;border-color:var(--fg)}
.daten-reihe{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
@media (max-width:600px){.daten-reihe{grid-template-columns:minmax(0,1fr)}}
.auswahl{display:flex;flex-wrap:wrap;gap:4px 28px}
.auswahl label,.haekchen{display:flex;align-items:center;gap:12px;min-height:44px;font-size:16px;cursor:pointer}
.auswahl input,.haekchen input{flex:none;width:22px;height:22px;margin:0;accent-color:var(--fg)}
.haekchen{align-items:flex-start;padding-top:10px;line-height:1.5}
.haekchen input{margin-top:1px}
.haekchen a{color:var(--ak,inherit);text-decoration:underline;text-underline-offset:3px}
.formular-hinweis{margin:0;font-size:14px;line-height:1.5;color:var(--leise)}
.formular-hinweis a{color:var(--ak,inherit);text-decoration:underline;text-underline-offset:3px}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.fehlerbox{padding:18px 20px;border:2px solid var(--fg);font-size:16px;line-height:1.5}
.fehlerbox ul{margin-top:8px;padding-left:1.2em;list-style:disc}
.feld-fehler{font-size:14px;font-weight:600}
.feld-fehler::before{content:"! "}

/* --------------------------------------------------------------------------
   Fußzeile mit Aufruf und großem Schriftzug
   -------------------------------------------------------------------------- */
.fuss{padding:0 var(--seite) 40px;display:flex;flex-direction:column;gap:56px;overflow:hidden}
.fuss-aufruf{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:32px 64px;padding-top:72px;border-top:1px solid var(--linie-dunkel)}
.fuss-aufruf h2{max-width:12em}
.fuss-aufruf div{display:flex;flex-direction:column;align-items:flex-start;gap:14px}
.fuss-zeile{display:flex;flex-wrap:wrap;justify-content:space-between;gap:16px 48px;font-size:14px;color:var(--grau-auf-dunkel)}

.fuss-zeile nav{display:flex;flex-wrap:wrap;gap:0 24px}
.fuss-zeile nav a{display:inline-flex;align-items:center;min-height:44px}

/* --------------------------------------------------------------------------
   Kontaktleiste am Handy (19. Runde: hochwertig statt Symbolfeld). Fest unten, nur unter 768 px, dunkles Material.
   Rechts ein heller Textknopf für den wichtigsten Weg, links die übrigen Wege als ruhige Symbole oder ein kurzer Satz.
   Keine Akzentfläche (6. Runde), keine Rundungen, keine Schatten; Ränder fluchten mit dem Seiteninhalt (--seite).
   Mit Skript erscheint sie erst, wenn der erste Abschnitt aus der unteren Bildschirmhälfte ist, und macht Platz,
   solange ein Aufruf oder die Fußzeile zu sehen ist (site.js setzt .da). Dann braucht der Inhalt unten keinen Platz.
   Ohne Skript ist sie immer da und der Inhalt bekommt unten Platz (--leiste-h), sodass sie nie etwas verdeckt.
   Nicht auf der Kontaktseite (kommt dann gar nicht aus PHP) und nicht bei offenem Menü.
   -------------------------------------------------------------------------- */
.kontaktleiste{display:none}
@media (max-width:767.98px){
  .kontaktleiste{display:block;position:fixed;left:0;right:0;bottom:0;z-index:15;padding:10px calc(var(--seite) + env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) calc(var(--seite) + env(safe-area-inset-left,0px));background:var(--dunkel);border-top:1px solid var(--linie-dunkel);transition:transform .45s cubic-bezier(.2,.7,.2,1),opacity .3s cubic-bezier(.2,.7,.2,1),visibility .45s}
  .kontaktleiste-innen{display:flex;align-items:center;gap:16px;min-height:44px}
  .kontaktleiste-satz{flex:1 1 auto;min-width:0;margin:0;color:var(--grau-auf-dunkel);font-size:13px;line-height:1.4;text-wrap:balance;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  .kontaktleiste-neben{display:flex;flex:1 1 auto;min-width:0;margin:0 0 0 -12px;padding:0;list-style:none}
  .kontaktleiste-neben a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:48px;min-height:44px;padding:0 12px;color:var(--hell);font-size:11px;line-height:1.2}
  .kontaktleiste-neben span{color:var(--grau-auf-dunkel)}
  .kontaktleiste-knopf{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 22px;background:var(--hell);color:var(--dunkel);font-size:15px;font-weight:500;letter-spacing:.01em;white-space:nowrap}
  .kontaktleiste.nur-knopf .kontaktleiste-knopf{flex:1 1 auto}
  .kontaktleiste a:hover{opacity:1}
  .kontaktleiste-neben a:focus-visible{outline:2px solid var(--hell);outline-offset:-4px}
  .kontaktleiste-knopf:focus-visible{outline:2px solid var(--hell);outline-offset:3px}
  body.mit-kontaktleiste{--leiste-h:calc(65px + env(safe-area-inset-bottom,0px));padding-bottom:var(--leiste-h)}
  html:has(body.mit-kontaktleiste){scroll-padding-bottom:calc(80px + env(safe-area-inset-bottom,0px))}   /* Tastatur-Fokus und Sprünge landen nie hinter der Leiste */
  body:has(.nav.offen:not(.schliesst)) .kontaktleiste{display:none}
  @media (scripting:enabled){
    /* site.js blendet sie passend ein und aus; ohne Intersection Observer setzt es .leiste-fest (Leiste immer da, Platz unten) */
    body.mit-kontaktleiste:not(.leiste-fest){--leiste-h:0px}
    .kontaktleiste:not(.da):not(.vorschau){visibility:hidden;opacity:0;transform:translateY(calc(100% + 24px))}
  }
  /* Vorschau im Admin: als Block am Ende der Seite, nie über dem Inhalt */
  .kontaktleiste.vorschau{position:static;border-left:0;border-right:0;border-bottom:0}
  .kontaktleiste.vorschau .kontaktleiste-hinweis{margin:-10px calc(-1 * var(--seite)) 10px}
}
.kontaktleiste-hinweis{padding:10px var(--seite);background:var(--hell);color:var(--dunkel);font-size:13px}

/* --------------------------------------------------------------------------
   Brotkrumen (nur bei Seiten in Unterordnern, z. B. /orte/mathildenhoehe/)
   -------------------------------------------------------------------------- */
.brotkrumen{padding:12px var(--seite) 4px;font-size:14px}
.brotkrumen ol{display:flex;flex-wrap:wrap;align-items:center;gap:0 10px;color:var(--leise)}
.brotkrumen li{display:flex;align-items:center;gap:10px;min-width:0}
.brotkrumen li:not(:last-child)::after{content:"/";color:var(--leise)}
.brotkrumen a{display:inline-flex;align-items:center;min-height:44px}
.brotkrumen [aria-current]{display:inline-block;padding:4px 0;color:var(--fg);overflow-wrap:anywhere}
.brotkrumen+.abschnitt{padding-top:clamp(40px,5vw,72px)}
.brotkrumen+.einstieg.nur-text{padding-top:clamp(40px,6vw,96px)}

/* --------------------------------------------------------------------------
   Vorher/Nachher. Ohne JavaScript nebeneinander, mit JavaScript übereinander mit Regler.
   -------------------------------------------------------------------------- */
.vn-bereich{display:flex;flex-direction:column;gap:clamp(40px,5vw,72px)}
.vn-kopf{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:20px 64px}
.vn-kopf p{max-width:26em;font-size:16px;line-height:1.65}
.vn-liste{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(48px,6vw,96px) clamp(16px,2.4vw,40px);align-items:start}
.vn-paar{display:flex;flex-direction:column;gap:12px;min-width:0}
.vn-paar.quer{grid-column:1/-1}
@media (min-width:901px){
  /* Ein einzelnes Hochformat-Paar steht neben der Überschrift (wie „Text mit Bild“) */
  .vn-bereich.seitlich{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:end;gap:40px clamp(40px,7vw,120px)}
  .vn-bereich.seitlich .vn-kopf{flex-direction:column;align-items:flex-start;padding-bottom:clamp(0px,2vw,24px)}
  .vn-bereich.seitlich .vn-liste{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:900px){.vn-liste{grid-template-columns:minmax(0,1fr)}}
.vn{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}
.vn-bild{gap:10px;margin:0}
.vn-bild img{width:100%;height:auto}
.vn-bild figcaption,.vn-legende{font-size:14px;color:var(--leise)}
.vn.aktiv{display:block;touch-action:pan-y;-webkit-user-select:none;user-select:none;cursor:ew-resize}
.vn.aktiv .vn-nachher{position:absolute;inset:0;-webkit-clip-path:inset(0 0 0 var(--pos,50%));clip-path:inset(0 0 0 var(--pos,50%))}
.vn.aktiv .vn-nachher picture,.vn.aktiv .vn-nachher img{width:100%;height:100%}
.vn.aktiv .vn-nachher img{object-fit:cover}
.vn.aktiv figcaption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.vn-linie{position:absolute;top:0;bottom:0;left:var(--pos,50%);width:1px;margin-left:-.5px;background:var(--hell);pointer-events:none}
.vn-regler{position:absolute;top:50%;left:clamp(24px,var(--pos,50%),calc(100% - 24px));display:flex;align-items:center;justify-content:center;width:48px;height:48px;transform:translate(-50%,-50%);border:1px solid rgba(242,242,240,.55);background:var(--dunkel);color:var(--hell);cursor:ew-resize}
.vn-regler:focus-visible{outline:2px solid var(--fokus);outline-offset:3px}
.vn-legende{display:flex;justify-content:space-between;gap:16px}
.vn-beschriftung{font-size:15px}

/* --------------------------------------------------------------------------
   Bild im Einsatz: eigene, neutrale Nachbauten (keine echten Plattformen).
   Am Computer 2 × 2, am Handy seitlich wischbar.
   -------------------------------------------------------------------------- */
.einsatz{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,4vw,56px) clamp(16px,2.4vw,40px)}
.einsatz>li{display:flex;min-width:0}
.einsatz figure{flex:1;gap:14px;min-width:0}
@media (max-width:900px){
  .einsatz{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding-inline:var(--seite);margin:0 calc(-1 * var(--seite));padding:0 var(--seite) 8px;overscroll-behavior-x:contain;scrollbar-width:thin}
  .einsatz>li{flex:0 0 min(84vw,420px);scroll-snap-align:start}
}
.mock{flex:1;display:flex;flex-direction:column;gap:14px;min-height:320px;padding:clamp(18px,2.2vw,28px);border:1px solid var(--linie-hell);background:var(--hell);color:var(--text-dunkel);font-size:14px;line-height:1.4;overflow:hidden}
.mock span{display:block;min-width:0}
.mock strong{display:block;font-size:16px;font-weight:500;overflow-wrap:anywhere}
.mock-klein{font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:var(--grau-auf-hell)}
.mock-leise{color:var(--grau-auf-hell)}
.mock-zeilen{display:flex!important;flex-direction:column;gap:7px}
.mock-zeilen i{display:block;height:6px;background:var(--linie-hell)}
.mock-zeilen i:nth-child(2){width:86%}
.mock-zeilen i:nth-child(3){width:62%}
.mock-zeilen.kurz i{width:58%}
.mock-zeilen.kurz i:nth-child(2){width:38%}
.mock-foto{flex:none;background:var(--linie-hell)}
.mock-foto picture,.mock-foto img{width:100%;height:100%}
.mock-foto img{object-fit:cover}
.mock-foto.quadrat{aspect-ratio:1}
.mock-foto.hoch{aspect-ratio:4/5}
/* Profil in einem Business-Netzwerk */
.mock-profil{gap:0;padding:0}
.mock-banner{height:76px;background:var(--linie-hell)}
.mock-profil-kopf{margin-top:-46px;padding:0 22px}
.mock-profil .mock-foto{width:92px;border:3px solid var(--hell)}
.mock-profil-text{display:flex!important;flex-direction:column;gap:3px;padding:12px 22px 0}
.mock-knoepfe{display:flex!important;gap:8px;padding:16px 22px}
.mock-knoepfe span{width:76px;height:28px;border:1px solid var(--text-dunkel)}
.mock-knoepfe .voll{background:var(--text-dunkel)}
.mock-profil>.mock-zeilen{margin:0 22px;padding:16px 0 22px;border-top:1px solid var(--linie-hell)}
/* Lebenslauf */
.mock-cv-kopf{display:grid!important;grid-template-columns:minmax(0,1fr) 92px;gap:18px;align-items:start;padding-bottom:18px;border-bottom:1px solid var(--text-dunkel)}
.mock-cv-text{display:flex!important;flex-direction:column;gap:5px}
.mock-cv-text .mock-zeilen{margin-top:8px}
.mock-gross{font-size:22px!important;font-weight:300!important;font-stretch:112%;letter-spacing:-.02em;line-height:1.15}
.mock-cv-teil{display:flex!important;flex-direction:column;gap:9px}
/* Teamseite */
.mock-seitenkopf{display:flex!important;justify-content:space-between;align-items:center;gap:12px;padding-bottom:12px;border-bottom:1px solid var(--linie-hell)}
.mock-marke{font-size:13px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.mock-nav{display:flex!important;gap:8px;flex:none}
.mock-nav i{display:block;width:26px;height:5px;background:var(--linie-hell)}
.mock-team-raster{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:start}
.mock-person{display:flex!important;flex-direction:column;gap:6px}
.mock-person strong{font-size:13px}
.mock-person>span:last-child{font-size:12px;color:var(--grau-auf-hell)}
.mock-platz{aspect-ratio:4/5;background:var(--linie-hell)}
/* E-Mail-Signatur */
.mock-mail-kopf{display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--linie-hell)}
.mock-gruss{margin-top:4px}
.mock-sig{display:flex!important;align-items:center;gap:14px;padding-top:14px;border-top:1px solid var(--linie-hell)}
.mock-sig .mock-foto{width:64px}
.mock-sig>span:last-child{display:flex;flex-direction:column;gap:2px}

/* --------------------------------------------------------------------------
   Seiten-Übersicht: Karten mit Bild, Titel und einem Satz
   -------------------------------------------------------------------------- */
.karten{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(48px,5vw,72px) clamp(16px,2.4vw,40px)}
@media (max-width:900px){.karten{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.karten{grid-template-columns:minmax(0,1fr)}}
.karte{display:flex;flex-direction:column;gap:22px;height:100%}
a.karte:hover{opacity:1}
.karte-bild img{width:100%;aspect-ratio:3/2;object-fit:cover}
.karte-text{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.karte-meta{font-size:14px}
.karte-titel{font-size:clamp(24px,2.2vw,32px);font-weight:300;font-stretch:112%;letter-spacing:-.02em;line-height:1.15}
.karte-satz{font-size:16px;line-height:1.6}
@media (hover:hover){a.karte:hover .angebot-mehr::after{animation:linie .7s cubic-bezier(.65,0,.35,1)}}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  a.karte img{transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
  a.karte:hover img,.bewegung a.karte:hover .zeigen.sichtbar img{transform:scale(1.03)}
}

/* --------------------------------------------------------------------------
   Artikel (Ratgeber): Textspalte höchstens ca. 68 Zeichen, Inhaltsverzeichnis links mitlaufend
   -------------------------------------------------------------------------- */
.artikel{display:flex;flex-direction:column;gap:clamp(40px,5vw,72px)}
.artikel-kopf{display:flex;flex-direction:column;gap:24px}
.artikel-titel{max-width:15em}
.artikel-einleitung{max-width:32em;font-size:clamp(19px,1.6vw,22px);line-height:1.55}
.artikel-meta{display:flex;flex-wrap:wrap;gap:4px 28px;font-size:14px}
.artikel-titelbild{margin:0}
.artikel-titelbild img{width:100%;aspect-ratio:3/2;max-height:80svh;object-fit:cover}
.artikel-koerper{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,8fr);gap:40px clamp(40px,6vw,96px);align-items:start}
.artikel-verzeichnis{position:sticky;top:24px;display:flex;flex-direction:column;gap:10px;padding-top:18px;border-top:1px solid var(--fg)}
.artikel-verzeichnis ol{counter-reset:iv}
.artikel-verzeichnis li{counter-increment:iv;border-bottom:1px solid var(--linie)}
.artikel-verzeichnis a{display:grid;grid-template-columns:2.4em minmax(0,1fr);align-items:baseline;min-height:44px;padding:11px 0;font-size:15px;line-height:1.4}
.artikel-verzeichnis a::before{content:counter(iv,decimal-leading-zero);color:var(--leise);font-variant-numeric:tabular-nums}
.artikel-text{grid-column:2;display:flex;flex-direction:column;gap:clamp(48px,5vw,72px);max-width:30em;font-size:18px}
.artikel-teil{display:flex;flex-direction:column;gap:20px}
.artikel-zwischen{font-size:clamp(26px,2.4vw,34px);font-weight:300;font-stretch:112%;letter-spacing:-.02em;line-height:1.2;scroll-margin-top:24px}
.artikel-text .formatiert{max-width:none;font-size:18px;line-height:1.7}
.artikel-text .formatiert h3{margin-top:1.4em;font-size:20px}
.artikel-bild{margin:8px 0 0}
.artikel-bild img{width:100%}
.artikel-bild .bild-hoch{max-width:min(100%,440px)}
.autor{display:grid;grid-template-columns:96px minmax(0,1fr);gap:20px 24px;align-items:start;padding-top:28px;border-top:1px solid var(--fg)}
.autor-bild img{width:100%;aspect-ratio:4/5;object-fit:cover}
.autor-text{display:flex;flex-direction:column;align-items:flex-start;gap:8px;font-size:16px;line-height:1.6}
.autor-name{font-size:21px;font-weight:400;font-stretch:112%;letter-spacing:-.01em}
@media (max-width:900px){
  .artikel-koerper{grid-template-columns:minmax(0,1fr)}
  .artikel-text{grid-column:1}
  .artikel-verzeichnis{position:static}
}
@media (max-width:600px){.autor{grid-template-columns:72px minmax(0,1fr)}}

/* --------------------------------------------------------------------------
   Kurzer Hinweis: schmale Zeile zwischen zwei Linien
   -------------------------------------------------------------------------- */
.hinweis-abschnitt{padding:clamp(40px,5vw,64px) var(--seite)}
.folgt-gleich.hinweis-abschnitt{padding-top:0}
.hinweis-abschnitt+.folgt-gleich{padding-top:clamp(56px,6vw,96px)}
.hinweis{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,6fr) minmax(0,3fr);gap:8px clamp(24px,4vw,64px);align-items:baseline;padding:26px 0;border-top:1px solid var(--linie);border-bottom:1px solid var(--linie)}
.hinweis .kicker{grid-column:1}
.hinweis-text{grid-column:2;font-size:clamp(18px,1.6vw,22px);font-weight:300;font-stretch:112%;line-height:1.4;letter-spacing:-.01em}
.hinweis-link{grid-column:3;justify-self:end}
@media (max-width:900px){
  .hinweis{grid-template-columns:minmax(0,1fr)}
  .hinweis .kicker,.hinweis-text,.hinweis-link{grid-column:1;justify-self:start}
}

/* --------------------------------------------------------------------------
   Checkliste: abhakbar am Bildschirm, Druckansicht siehe @media print unten
   -------------------------------------------------------------------------- */
.checkliste{display:flex;flex-direction:column;gap:clamp(40px,5vw,64px)}
.checkliste-kopf{display:flex;flex-direction:column;align-items:flex-start;gap:24px}
.checkliste-einleitung{max-width:34em;font-size:18px;line-height:1.65}
.checkliste-gruppen{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(40px,5vw,64px) clamp(24px,4vw,64px);align-items:start}
@media (max-width:900px){.checkliste-gruppen{grid-template-columns:minmax(0,1fr)}}
.checkliste-titel{margin-bottom:10px;font-size:clamp(22px,2vw,28px);font-weight:300;font-stretch:112%;letter-spacing:-.015em;line-height:1.25}
.checkliste-gruppe ul{border-top:1px solid var(--fg)}
.checkliste-gruppe li{display:flex;align-items:flex-start;gap:14px;border-bottom:1px solid var(--linie)}
.checkliste-gruppe input{flex:none;display:grid;place-content:center;width:24px;height:24px;margin:12px 0 0;border:1px solid var(--fg);border-radius:0;background:transparent;-webkit-appearance:none;appearance:none;cursor:pointer}
.checkliste-gruppe input::after{content:"";width:12px;height:6px;border-left:2px solid var(--bg);border-bottom:2px solid var(--bg);transform:translateY(-2px) rotate(-45deg);opacity:0}
.checkliste-gruppe input:checked{background:var(--fg)}
.checkliste-gruppe input:checked::after{opacity:1}
.checkliste-gruppe input:focus-visible{outline:2px solid var(--fokus);outline-offset:3px}
.checkliste-gruppe label{flex:1;min-width:0;min-height:48px;padding:12px 0;font-size:17px;line-height:1.5;cursor:pointer}
.checkliste-gruppe input:checked+label{color:var(--leise);text-decoration:line-through;text-decoration-thickness:1px}
.checkliste-tipp{max-width:46em;font-size:16px;line-height:1.65}
.nur-druck{display:none}
.checkliste-mail{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:24px clamp(40px,6vw,96px);align-items:start;padding-top:clamp(32px,4vw,48px);border-top:1px solid var(--linie)}
.checkliste-mail-text{display:flex;flex-direction:column;gap:12px;max-width:26em}
.checkliste-mail-text p{font-size:16px;line-height:1.65}
.checkliste-mail .formular{grid-template-columns:minmax(0,1fr)}
.checkliste-erfolg{padding:18px 20px;border:2px solid var(--fg);font-size:16px;line-height:1.5}
@media (max-width:900px){.checkliste-mail{grid-template-columns:minmax(0,1fr)}}

/* Druckansicht der Checkliste (A4): nur die Liste, schwarz auf weiß, zwei Spalten */
@media print{
  @page{size:A4;margin:14mm 16mm}
  body.mit-checkliste{background:#fff;color:#000}
  .mit-checkliste .kopf,.mit-checkliste .fuss,.mit-checkliste .brotkrumen,.mit-checkliste .sprung,.mit-checkliste .vorschau-hinweis,
  .mit-checkliste main>:not(.checkliste),.mit-checkliste .checkliste-aktionen,.mit-checkliste .checkliste-mail,.mit-checkliste noscript{display:none!important}
  .mit-checkliste .checkliste{display:block;padding:0;--bg:#fff;--fg:#000;--leise:#444;--linie:#BBB;background:#fff;color:#000}
  .mit-checkliste .checkliste-kopf{gap:6pt;margin-bottom:14pt}
  .mit-checkliste .checkliste .kicker{font-size:9pt;color:#444}
  .mit-checkliste .checkliste .titel-l{font-size:24pt;line-height:1.1;letter-spacing:-.02em}
  .mit-checkliste .checkliste-einleitung{max-width:none;font-size:10.5pt;line-height:1.45;color:#222}
  .mit-checkliste .checkliste-gruppen{display:block;columns:2;column-gap:10mm}
  .mit-checkliste .checkliste-gruppe{break-inside:avoid;margin-bottom:12pt}
  .mit-checkliste .checkliste-titel{margin-bottom:4pt;font-size:12pt;font-weight:500}
  .mit-checkliste .checkliste-gruppe li{gap:7pt;border-bottom-color:#CCC}
  .mit-checkliste .checkliste-gruppe input{width:11pt;height:11pt;margin:4.5pt 0 0;border-color:#000;-webkit-print-color-adjust:exact;print-color-adjust:exact}
  .mit-checkliste .checkliste-gruppe label{min-height:0;padding:4pt 0;font-size:10pt;line-height:1.35;color:#000;text-decoration:none}
  .mit-checkliste .checkliste-tipp{max-width:none;margin-top:4pt;font-size:9.5pt;line-height:1.4;color:#333}
  .mit-checkliste .nur-druck{display:block;margin-top:12pt;padding-top:6pt;border-top:1px solid #BBB;font-size:8.5pt;color:#444}
  .mit-checkliste .zeigen{opacity:1!important;transform:none!important}
}

/* Fokuspunkt der Bilder (auf 1 % genau, 9. Runde; vorher 5-%-Schritte), wird vom Admin gesetzt */
.fx-0{--fx:0%}.fx-1{--fx:1%}.fx-2{--fx:2%}.fx-3{--fx:3%}.fx-4{--fx:4%}.fx-5{--fx:5%}.fx-6{--fx:6%}.fx-7{--fx:7%}.fx-8{--fx:8%}.fx-9{--fx:9%}.fx-10{--fx:10%}.fx-11{--fx:11%}.fx-12{--fx:12%}.fx-13{--fx:13%}.fx-14{--fx:14%}.fx-15{--fx:15%}.fx-16{--fx:16%}.fx-17{--fx:17%}.fx-18{--fx:18%}.fx-19{--fx:19%}.fx-20{--fx:20%}.fx-21{--fx:21%}.fx-22{--fx:22%}.fx-23{--fx:23%}.fx-24{--fx:24%}.fx-25{--fx:25%}.fx-26{--fx:26%}.fx-27{--fx:27%}.fx-28{--fx:28%}.fx-29{--fx:29%}.fx-30{--fx:30%}.fx-31{--fx:31%}.fx-32{--fx:32%}.fx-33{--fx:33%}.fx-34{--fx:34%}.fx-35{--fx:35%}.fx-36{--fx:36%}.fx-37{--fx:37%}.fx-38{--fx:38%}.fx-39{--fx:39%}.fx-40{--fx:40%}.fx-41{--fx:41%}.fx-42{--fx:42%}.fx-43{--fx:43%}.fx-44{--fx:44%}.fx-45{--fx:45%}.fx-46{--fx:46%}.fx-47{--fx:47%}.fx-48{--fx:48%}.fx-49{--fx:49%}.fx-50{--fx:50%}.fx-51{--fx:51%}.fx-52{--fx:52%}.fx-53{--fx:53%}.fx-54{--fx:54%}.fx-55{--fx:55%}.fx-56{--fx:56%}.fx-57{--fx:57%}.fx-58{--fx:58%}.fx-59{--fx:59%}.fx-60{--fx:60%}.fx-61{--fx:61%}.fx-62{--fx:62%}.fx-63{--fx:63%}.fx-64{--fx:64%}.fx-65{--fx:65%}.fx-66{--fx:66%}.fx-67{--fx:67%}.fx-68{--fx:68%}.fx-69{--fx:69%}.fx-70{--fx:70%}.fx-71{--fx:71%}.fx-72{--fx:72%}.fx-73{--fx:73%}.fx-74{--fx:74%}.fx-75{--fx:75%}.fx-76{--fx:76%}.fx-77{--fx:77%}.fx-78{--fx:78%}.fx-79{--fx:79%}.fx-80{--fx:80%}.fx-81{--fx:81%}.fx-82{--fx:82%}.fx-83{--fx:83%}.fx-84{--fx:84%}.fx-85{--fx:85%}.fx-86{--fx:86%}.fx-87{--fx:87%}.fx-88{--fx:88%}.fx-89{--fx:89%}.fx-90{--fx:90%}.fx-91{--fx:91%}.fx-92{--fx:92%}.fx-93{--fx:93%}.fx-94{--fx:94%}.fx-95{--fx:95%}.fx-96{--fx:96%}.fx-97{--fx:97%}.fx-98{--fx:98%}.fx-99{--fx:99%}.fx-100{--fx:100%}
.fy-0{--fy:0%}.fy-1{--fy:1%}.fy-2{--fy:2%}.fy-3{--fy:3%}.fy-4{--fy:4%}.fy-5{--fy:5%}.fy-6{--fy:6%}.fy-7{--fy:7%}.fy-8{--fy:8%}.fy-9{--fy:9%}.fy-10{--fy:10%}.fy-11{--fy:11%}.fy-12{--fy:12%}.fy-13{--fy:13%}.fy-14{--fy:14%}.fy-15{--fy:15%}.fy-16{--fy:16%}.fy-17{--fy:17%}.fy-18{--fy:18%}.fy-19{--fy:19%}.fy-20{--fy:20%}.fy-21{--fy:21%}.fy-22{--fy:22%}.fy-23{--fy:23%}.fy-24{--fy:24%}.fy-25{--fy:25%}.fy-26{--fy:26%}.fy-27{--fy:27%}.fy-28{--fy:28%}.fy-29{--fy:29%}.fy-30{--fy:30%}.fy-31{--fy:31%}.fy-32{--fy:32%}.fy-33{--fy:33%}.fy-34{--fy:34%}.fy-35{--fy:35%}.fy-36{--fy:36%}.fy-37{--fy:37%}.fy-38{--fy:38%}.fy-39{--fy:39%}.fy-40{--fy:40%}.fy-41{--fy:41%}.fy-42{--fy:42%}.fy-43{--fy:43%}.fy-44{--fy:44%}.fy-45{--fy:45%}.fy-46{--fy:46%}.fy-47{--fy:47%}.fy-48{--fy:48%}.fy-49{--fy:49%}.fy-50{--fy:50%}.fy-51{--fy:51%}.fy-52{--fy:52%}.fy-53{--fy:53%}.fy-54{--fy:54%}.fy-55{--fy:55%}.fy-56{--fy:56%}.fy-57{--fy:57%}.fy-58{--fy:58%}.fy-59{--fy:59%}.fy-60{--fy:60%}.fy-61{--fy:61%}.fy-62{--fy:62%}.fy-63{--fy:63%}.fy-64{--fy:64%}.fy-65{--fy:65%}.fy-66{--fy:66%}.fy-67{--fy:67%}.fy-68{--fy:68%}.fy-69{--fy:69%}.fy-70{--fy:70%}.fy-71{--fy:71%}.fy-72{--fy:72%}.fy-73{--fy:73%}.fy-74{--fy:74%}.fy-75{--fy:75%}.fy-76{--fy:76%}.fy-77{--fy:77%}.fy-78{--fy:78%}.fy-79{--fy:79%}.fy-80{--fy:80%}.fy-81{--fy:81%}.fy-82{--fy:82%}.fy-83{--fy:83%}.fy-84{--fy:84%}.fy-85{--fy:85%}.fy-86{--fy:86%}.fy-87{--fy:87%}.fy-88{--fy:88%}.fy-89{--fy:89%}.fy-90{--fy:90%}.fy-91{--fy:91%}.fy-92{--fy:92%}.fy-93{--fy:93%}.fy-94{--fy:94%}.fy-95{--fy:95%}.fy-96{--fy:96%}.fy-97{--fy:97%}.fy-98{--fy:98%}.fy-99{--fy:99%}.fy-100{--fy:100%}

/* Einblenden beim Scrollen: site.js setzt .bewegung nur, wenn Bewegung erwünscht ist.
   Ohne JavaScript ist alles sofort sichtbar. */
.bewegung .zeigen{opacity:0;transform:translateY(28px);transition:opacity 1s cubic-bezier(.2,.7,.2,1),transform 1s cubic-bezier(.2,.7,.2,1)}
.bewegung .zeigen img{transform:scale(1.05);transition:transform 1.6s cubic-bezier(.2,.7,.2,1)}
.bewegung .zeigen.sichtbar{opacity:1;transform:none}
.bewegung .zeigen.sichtbar img{transform:none}
@media (hover:hover) and (prefers-reduced-motion:no-preference){
  a.angebot img{transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
  a.angebot:hover img,.bewegung a.angebot:hover .zeigen.sichtbar img{transform:scale(1.03)}
}

/* Weicher Seitenwechsel (Überblenden). Browser ohne Unterstützung wechseln wie bisher.
   Kein eigener view-transition-name für die Kopfzeile: der würde das Handy-Menü hinter den Inhalt legen. */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.4s;animation-timing-function:cubic-bezier(.2,.7,.2,1)}

@media (prefers-reduced-motion:reduce){
  @view-transition{navigation:none}
  .leiste{scroll-snap-type:none}
  *,*::before,*::after{animation:none!important;transition:none!important}
}

/* ==========================================================================
   16. Runde (Skill „apple-design“): Rückmeldung schon beim Antippen, nicht erst beim Loslassen.
   Knöpfe sinken kurz ein (100 ms), Karten etwas weniger, Links und Zeilen werden kurz blasser.
   Mit „scale“ statt „transform“, damit vorhandene Bewegungen unberührt bleiben.
   Bei „Bewegung reduzieren“ nur blasser, ohne Größenänderung.
   ========================================================================== */
a,button,summary{-webkit-tap-highlight-color:transparent}
.filter button,.leiste-pfeil,.menue-knopf,.einstieg-pause,.kontaktleiste a,a.bildkarte,a.karte,a.angebot{transition-property:background-color,color,border-color,opacity,scale;transition-duration:.2s;transition-timing-function:cubic-bezier(.2,.7,.2,1)}
.knopf:active,.filter button:active,.leiste-pfeil:not(:disabled):active{scale:.97;transition-duration:.1s}
.menue-knopf:active,.einstieg-pause:active,.kontaktleiste-neben a:active{scale:.92;transition-duration:.1s}
.kontaktleiste-knopf:active{scale:.97;transition-duration:.1s}
a.bildkarte:active,a.karte:active,a.angebot:active{scale:.985;transition-duration:.1s}
a:active,.faq-liste summary:active,.einstieg-segment:active{opacity:.6}
a.knopf:active,a.bildkarte:active,a.karte:active,a.angebot:active,.kontaktleiste a:active{opacity:1}
@media (prefers-reduced-motion:reduce){
  a.knopf:active,button.knopf:active,.filter button:active,button.leiste-pfeil:active,button.menue-knopf:active,button.einstieg-pause:active,.kontaktleiste a:active,a.bildkarte:active,a.karte:active,a.angebot:active{scale:none;opacity:.7}
}

/* ==========================================================================
   16. Runde (Skill „apple-design“): Material, „Transparenz reduzieren“ und „Kontrast erhöhen“
   ========================================================================== */
/* Kontaktleiste als Material: leicht durchscheinend und unscharf, der Inhalt läuft sichtbar darunter weiter.
   Statt der harten Linie oben ein feiner Lichtrand. 19. Runde: 94 % statt 85 % Deckkraft. Über hellem Inhalt wirkte
   die Leiste sonst grau und Text schimmerte durch; so bleibt sie tiefdunkel wie der Rest der Seite (gilt auch für die
   schwebende Kopfzeile). Ohne backdrop-filter bleibt sie deckend wie bisher. */
@media (max-width:767px){
  @supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
    .kontaktleiste:not(.vorschau){background:rgba(14,15,16,.94);-webkit-backdrop-filter:blur(20px) saturate(160%);backdrop-filter:blur(20px) saturate(160%);border-top-color:rgba(242,242,240,.14)}
  }
}
/* Transparenz reduzieren: alles deckend */
@media (prefers-reduced-transparency:reduce){
  .kontaktleiste:not(.vorschau){background:var(--dunkel)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
}
/* Kontrast erhöhen: deckende Leiste mit deutlichem Rand, Beschriftung hell */
@media (prefers-contrast:more){
  .kontaktleiste:not(.vorschau){background:var(--dunkel)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;border-top-color:var(--hell)!important}
  .kontaktleiste-neben span,.kontaktleiste-satz{color:var(--hell)}
  /* Einstieg mit „Etwas heller“ oder „Heller“ (Klasse „heller“ an der Bildfläche): wieder so stark abgedunkelt wie „Automatisch“ (WCAG AA, 4,5 : 1) */
  .heller .einstieg-folie::after{opacity:min(.85,calc(var(--abq,0) + .1))}
}
@media (prefers-contrast:more) and (max-width:900px) and (orientation:portrait),(prefers-contrast:more) and (max-width:639px){
  .heller .einstieg-folie::after{opacity:min(.85,calc(var(--abh,0) + .1))}
}
@media (prefers-contrast:more) and (orientation:landscape) and (max-height:600px){
  .heller .einstieg-folie::after{opacity:min(.85,calc(var(--abf,0) + .1))}
}

/* ==========================================================================
   17. Runde: Kopfzeile am Handy (bis 900 px) kommt beim Hochscrollen zurück (Skill „apple-design“).
   Beim Runterscrollen weicht sie (mehr Platz für Bilder), beim Hochscrollen ist sie sofort wieder da.
   Läuft Inhalt darunter durch, wird sie zum Material (85 % dunkel, Unschärfe) mit feinem Lichtrand statt der dunklen Linie.
   Seiten mit Foto zuerst: oben wie bisher transparent auf dem Foto, nach dem ersten Stück als feste Leiste.
   Klassen setzt site.js: schwebt (Inhalt läuft darunter), weg, fest (Foto-Seiten), menue (Menü offen).
   Am Computer bleibt alles wie bisher.
   ========================================================================== */
@media (max-width:900px){
  html{scroll-padding-top:88px}   /* Sprungziele landen nie unter der Kopfzeile */
  .kopf{position:sticky;top:0;z-index:16;background:var(--dunkel);transition:transform .32s cubic-bezier(.2,.7,.2,1)}
  .kopf.weg{transform:translateY(-100%)}
  .kopf.schwebt{border-bottom-color:rgba(242,242,240,.1)}   /* feiner Lichtrand wie bei der Kontaktleiste (keine Verläufe, Designregel seit der 6. Runde) */
  .kopf-auf-bild .kopf.fest{position:fixed;top:0;padding-top:max(18px,env(safe-area-inset-top,0px));background:var(--dunkel);pointer-events:auto}
  @supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
    .kopf.schwebt,.kopf-auf-bild .kopf.fest.schwebt{background:rgba(14,15,16,.94);-webkit-backdrop-filter:blur(20px) saturate(160%);backdrop-filter:blur(20px) saturate(160%)}
  }
  /* Menü offen: ohne Verschiebung und Unschärfe, sonst wäre das Vollbild-Menü in der Leiste gefangen */
  .kopf.menue,.kopf-auf-bild .kopf.menue{transform:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
}
@media (max-width:900px) and (prefers-reduced-motion:reduce){
  .kopf{transition:opacity .2s,visibility 0s}
  .kopf.weg{transform:none;opacity:0;visibility:hidden;transition:opacity .2s,visibility 0s .2s}   /* ausblenden statt wegschieben */
}
@media (max-width:900px) and (prefers-reduced-transparency:reduce),(max-width:900px) and (prefers-contrast:more){
  .kopf.schwebt,.kopf-auf-bild .kopf.fest.schwebt{background:var(--dunkel)!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
}
@media (max-width:900px) and (prefers-contrast:more){
  .kopf.schwebt{border-bottom-color:var(--hell)}
}

/* ==========================================================================
   18. Runde: Feinschliff der Platzierung (Desktop, Tablet, Handy), nach Vermessung aller Seiten in 6 Breiten
   ========================================================================== */
/* Merkpunkte unter dem Einstieg: am Handy untereinander (vorher blieb einer allein in der zweiten Reihe) */
@media (max-width:600px){.fakten{flex-direction:column;gap:8px}}
/* Startseite („Bild vollflächig“), Computer: Merkpunkte rechts als ruhige Liste, erste Zeile auf Höhe der ersten Textzeile
   (vorher zwei nebeneinander, einer allein darunter, und der Block begann tiefer als der Text links) */
@media (min-width:901px){
  .einstieg.bild-voll .einstieg-rest{align-items:baseline}
  .einstieg.bild-voll .einstieg-rest .fakten{flex-direction:column;flex-wrap:nowrap;gap:0;padding-top:0;border-top:0;font-size:15px;line-height:1.5}
  .einstieg.bild-voll .einstieg-rest .fakten li+li{margin-top:12px;padding-top:12px;border-top:1px solid rgba(242,242,240,.18)}
}
/* Karten (Ratgeber, Orte, „Weitere Artikel“): „Weiterlesen“ in jeder Reihe auf derselben Höhe */
.karte-text{flex:1}
.karte-text .angebot-mehr{margin-top:auto}
/* Keine einzelne Karte allein in der letzten Reihe: Dann steht die erste Karte groß über die ganze Breite
   (Bild links, Text rechts). Computer: bei 4, 7, 10 … Karten. Tablet (2 Spalten): bei 3, 5, 7 … Karten. */
@media (min-width:901px){
  .karten:has(> li:nth-child(4)):has(> li:last-child:nth-child(3n+1)) > li:first-child{grid-column:1/-1}
  .karten:has(> li:nth-child(4)):has(> li:last-child:nth-child(3n+1)) > li:first-child .karte{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:clamp(24px,3vw,48px);align-items:end}
}
@media (min-width:601px) and (max-width:900px){
  .karten:has(> li:nth-child(3)):has(> li:last-child:nth-child(odd)) > li:first-child{grid-column:1/-1}
  .karten:has(> li:nth-child(3)):has(> li:last-child:nth-child(odd)) > li:first-child .karte{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(20px,3vw,32px);align-items:end}
}
/* Checkliste am Computer: Gruppen fließen in zwei Spalten (vorher große Lücken neben kurzen Gruppen und eine allein unten) */
@media (min-width:901px){
  .checkliste-gruppen{display:block;columns:2;column-gap:clamp(24px,4vw,64px)}
  .checkliste-gruppe{break-inside:avoid;margin-bottom:clamp(40px,5vw,64px)}
}
/* Fußzeile: Knopf und kleiner Satz bündig am rechten Rand (Computer); am Handy die Links in Spalten statt einem allein in der letzten Zeile */
@media (min-width:901px){.fuss-aufruf div{align-items:flex-end;text-align:right}}
@media (max-width:600px){.fuss-zeile nav{display:grid;grid-template-columns:repeat(3,max-content);column-gap:28px}}
/* Ohne großen Aufruf in der Fußzeile (die Seite endet schon mit einem): Linie oben trotzdem, wie sonst über dem Aufruf */
.fuss.ohne-aufruf .fuss-zeile{padding-top:40px;border-top:1px solid var(--linie-dunkel)}
/* Datenschutz-Hinweis im Formular: angenehme Zeilenlänge */
.formular-hinweis{max-width:44em}
/* Formatierter Text neben einer Überschrift (z. B. „Der Ort“, „Was dich bei mir erwartet“): erste Zeile ohne Abstand oben,
   damit sie auf Höhe der Überschrift beginnt (vorher stand eine Zwischenüberschrift mit ihrem Abstand ganz oben) */
.formatiert>:first-child,.formatiert>h3:first-child{margin-top:0}
/* Formular am Handy: Auswahl „Wunschort“ untereinander (vorher zwei nebeneinander, eine allein darunter) */
@media (max-width:600px){.auswahl{flex-direction:column;gap:0}}

/* ==========================================================================
   20. Runde: Akzentfarbe nur im Logo (Einstellung „Akzentfarbe nur im Logo“, Standard an; Klasse am <html>).
   Ruhiger und hochwertiger, die Fotos tragen die Farbe. Die Akzentfarbe (var(--akzent)) bleibt im Logo-Quadrat,
   in den kleinen Quadraten der Leistungen und am Rand einer Aktion. Alles andere in Text- und Grautönen:
   Hauptknopf hell auf dunklem und dunkel auf hellem Grund (wie der Knopf der Kontaktleiste), Links weiter
   unterstrichen in Textfarbe, Ziffern und Hinweise im Ablauf, Sterne und Fokusrahmen in Textfarbe, kleine Zeilen
   über Überschriften grau. html.akzent-logo ist stärker als :root, gilt also auch bei einer eigenen Akzentfarbe.
   ========================================================================== */
html.akzent-logo{--akzent-d:var(--hell);--akzent-d-gross:var(--hell);--akzent-h:var(--text-dunkel);--akzent-h-gross:var(--text-dunkel)}
.akzent-logo .dunkel{--akzent-flaeche:var(--hell);--akzent-flaeche-text:var(--dunkel)}
.akzent-logo .hell{--akzent-flaeche:var(--text-dunkel);--akzent-flaeche-text:var(--hell)}
.akzent-logo .kicker{color:var(--leise)}

/* 20. Runde: Titel im Startbild („Bild vollflächig“) leicht und breit wie alle anderen großen Überschriften statt
   kräftig und schmal: eine Stimme auf der ganzen Seite. Breitere Spalte, damit die Zeilen so bleiben, wie sie
   eingegeben sind; die Größe hängt wie bisher an Breite, Höhe und dem längsten Wort (.wl, Faktor für breite Schrift). */
.einstieg.bild-voll .einstieg-text{width:min(100%,62rem)}
.einstieg.bild-voll .titel-xl{font-weight:300;font-stretch:118%;line-height:.98;letter-spacing:-.045em}
/* Eingegebene Zeilenumbrüche bleiben erhalten: .zl-N = längste eingegebene Zeile mit N Zeichen (system/bausteine/einstieg.php).
   Die Schrift wird höchstens so groß, dass diese Zeile in die Spalte passt (breite Schrift: ca. 0,45–0,52 em je Zeichen, 0,54 mit Reserve). */
.zl{--zl-max:calc(100cqi / var(--zl) / .54)}
.zl-10{--zl:10}.zl-11{--zl:11}.zl-12{--zl:12}.zl-13{--zl:13}.zl-14{--zl:14}.zl-15{--zl:15}.zl-16{--zl:16}.zl-17{--zl:17}.zl-18{--zl:18}.zl-19{--zl:19}.zl-20{--zl:20}.zl-21{--zl:21}.zl-22{--zl:22}.zl-23{--zl:23}.zl-24{--zl:24}.zl-25{--zl:25}.zl-26{--zl:26}.zl-27{--zl:27}.zl-28{--zl:28}.zl-29{--zl:29}.zl-30{--zl:30}.zl-31{--zl:31}.zl-32{--zl:32}.zl-33{--zl:33}.zl-34{--zl:34}.zl-35{--zl:35}.zl-36{--zl:36}.zl-37{--zl:37}.zl-38{--zl:38}.zl-39{--zl:39}.zl-40{--zl:40}
