/* ==========================================================================
   Website – ruhig, viel Weißraum, die Fotos tragen die Seite.
   Farben, Schrift und Hell/Dunkel kommen aus denselben Einstellungen wie die Galerie.
   Keine externen Schriften oder Dateien (Datenschutz).
   ========================================================================== */

/* Überschriften-Schrift: Cormorant Garamond (SIL Open Font License 1.1), liegt auf dem eigenen Server – kein Google-Abruf */
@font-face { font-family: "Cormorant Garamond"; src: url("/static/cormorant-garamond.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/static/cormorant-garamond-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
/* weitere Schriften für das Website-Design (alle SIL Open Font License 1.1, lokal) */
@font-face { font-family: "Playfair Display"; src: url("/static/playfair-display.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Playfair Display"; src: url("/static/playfair-display-italic.woff2") format("woff2"); font-weight: 400 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/static/fraunces.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url("/static/fraunces-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("/static/manrope.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
    --accent: var(--accent-base, #d6b98a);
    --accent-ink: var(--accent-ink-base, #17130b);

    --bg: #0b0b0d;
    --bg-2: #111115;
    --surface: #17171c;
    --surface-2: #212127;
    --text: #f2f0eb;
    --muted: #9b99a2;
    --line: rgba(255, 255, 255, .085);
    --glass: rgba(11, 11, 13, .84);
    --shadow: 0 24px 60px rgba(0, 0, 0, .5);
    --danger: #f08080;
    --ok: #74d49e;
    --warn: #f2c46d;

    --pad: clamp(1rem, 3.5vw, 3rem);
    --maxw: 1680px;
    --gap: 6px;
    --row-h: 170px;
    --radius: 18px;
    --r-img: 6px;

    --serif: "Cormorant Garamond", ui-serif, "New York", "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --display: var(--serif);
    --display-weight: 500;
    --display-track: -.015em;
    color-scheme: dark;
}

@media (prefers-color-scheme: light) {
    :root:not([data-theme="dark"]) {
        --accent: color-mix(in srgb, var(--accent-base, #d6b98a) 58%, #000);
        --accent-ink: #ffffff;
        --bg: #f6f4ef; --bg-2: #efece5; --surface: #ffffff; --surface-2: #eae6de;
        --text: #1b1a17; --muted: #6c6a66; --line: rgba(30, 25, 15, .11);
        --glass: rgba(246, 244, 239, .88); --shadow: 0 24px 60px rgba(40, 30, 10, .14);
        --danger: #c0392b; --ok: #2c8a5a; --warn: #a56d0b;
        color-scheme: light;
    }
}
:root[data-theme="light"] {
    --accent: color-mix(in srgb, var(--accent-base, #d6b98a) 58%, #000);
    --accent-ink: #ffffff;
    --bg: #f6f4ef; --bg-2: #efece5; --surface: #ffffff; --surface-2: #eae6de;
    --text: #1b1a17; --muted: #6c6a66; --line: rgba(30, 25, 15, .11);
    --glass: rgba(246, 244, 239, .88); --shadow: 0 24px 60px rgba(40, 30, 10, .14);
    --danger: #c0392b; --ok: #2c8a5a; --warn: #a56d0b;
    color-scheme: light;
}

/* Varianten aus dem Admin */
:root[data-font="sans"] { --display: var(--sans); --display-weight: 600; --display-track: -.035em; }
:root[data-radius="sharp"] { --radius: 6px; --r-img: 0px; }
:root[data-radius="round"] { --radius: 28px; --r-img: 20px; }


*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body.site { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font: 400 1.0625rem/1.7 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body.site > main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: var(--display-weight); letter-spacing: var(--display-track); line-height: 1.12; margin: 0; }
p { margin: 0; }
svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: color-mix(in srgb, var(--accent) 35%, transparent); }
.wrap-w { width: 100%; max-width: var(--wmax, 1320px); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; background: var(--surface); padding: .6rem 1rem; border-radius: 8px; }

/* Logo-Fassungen wie in der Galerie */
.logo-v-dunkel { display: none; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-v-hell { display: none; } :root:not([data-theme="light"]) .logo-v-dunkel { display: block; } }
:root[data-theme="dark"] .logo-v-hell { display: none; }
:root[data-theme="dark"] .logo-v-dunkel { display: block; }

.preview-bar { position: fixed; z-index: 60; left: 50%; bottom: 1rem; transform: translateX(-50%); width: max-content; max-width: calc(100% - 2rem); border-radius: 999px; box-shadow: var(--shadow); background: var(--accent); color: var(--accent-ink); text-align: center; font-size: .85rem; padding: .5rem 1.1rem; }
.preview-bar a { font-weight: 650; }

/* ---------- Kopf: Logo oben mittig, Menü darunter ---------- */
.site-head { position: relative; z-index: 20; display: grid; justify-items: center; gap: 1.5rem; max-width: var(--wmax, 1320px); margin: 0 auto; width: 100%; padding: 2.4rem var(--pad) 1.2rem; }
.site-brand { text-decoration: none; display: inline-flex; justify-content: center; }
.site-brand .site-logo { max-height: 64px; width: auto; }
.site-brand span.site-logo, .site-brand > span { font: var(--display-weight) 1.6rem var(--display); letter-spacing: var(--display-track); }
.nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem clamp(1.6rem, 3.4vw, 3rem); padding-top: 1.1rem; border-top: 1px solid var(--line); min-width: min(100%, 560px); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.nav-links a { text-decoration: none; color: color-mix(in srgb, currentColor 70%, transparent); padding: .4rem 0; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--text); }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -1px 0 currentColor; }
.nav-drop { position: relative; }
.nav-drop > a::after { content: ""; display: inline-block; width: .32rem; height: .32rem; margin: 0 0 .18rem .5rem; border-right: 1.3px solid currentColor; border-bottom: 1.3px solid currentColor; transform: rotate(45deg); }
.drop { position: absolute; left: 50%; top: 100%; z-index: 30; min-width: 210px; padding: .9rem 0; transform: translate(-50%, 6px); background: var(--bg); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.drop a { padding: .5rem 1.4rem; white-space: nowrap; letter-spacing: .14em; }
.drop a:hover { background: var(--bg-2); }
.nav-drop:hover .drop, .nav-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.menu-toggle { display: none; }
.menu-toggle { background: none; border: 1px solid currentColor; color: inherit; border-radius: 999px; padding: .45rem 1rem; font: 600 .72rem var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }

@media (max-width: 760px) {
    .site-head { grid-template-columns: minmax(0, 1fr) auto; justify-items: start; align-items: center; padding-block: 1.3rem; }
    .site-brand .site-logo { max-height: 44px; }
    .site-head .nav-links { display: none; }
    .menu-toggle { display: inline-block; justify-self: end; }
}
/* Menü-Fläche (Handy) */
.mobil-nav { position: fixed; inset: 0; z-index: 90; display: flex; flex-direction: column; justify-content: center; gap: .9rem; padding: var(--pad); background: var(--bg); color: var(--text); overflow-y: auto; }
.mobil-nav[hidden] { display: none; }
.mobil-nav a { text-decoration: none; font: var(--display-weight) 2rem var(--display); letter-spacing: var(--display-track); }
.mobil-nav a.mobil-unter { font: 500 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: -.3rem 0 0 .2rem; }
.mobil-zu { display: inline-block; position: absolute; top: 1.3rem; right: var(--pad); }
.menu-open { overflow: hidden; }

/* Mitlaufende Leiste */
.mini-kopf { position: fixed; z-index: 70; top: 0; left: 0; right: 0; display: flex; align-items: center; gap: 1.5rem; padding: .7rem var(--pad); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--line); transform: translateY(-105%); transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.mini-kopf.is-sichtbar { transform: none; }
.mini-marke { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.mini-marke img { width: 30px; height: 30px; }
.mini-marke .mini-logo { max-height: 30px; width: auto; }
.mini-marke span.mini-logo, .mini-marke > span { font: var(--display-weight) 1.1rem var(--display); }
.mini-nav { margin-left: auto; border-top: 0; padding-top: 0; min-width: 0; gap: .3rem clamp(1.2rem, 2.6vw, 2.4rem); }
.mini-nav .drop { top: calc(100% + .4rem); }
.mini-kopf .menu-toggle { margin-left: auto; }
@media (max-width: 760px) { .mini-nav { display: none; } }
@media (prefers-reduced-motion: reduce) { .mini-kopf { transition: none; } }

/* Logo und Menü über dem Titelbild */
.site-head.auf-bild { position: absolute; top: 0; left: 0; right: 0; max-width: none; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.site-head.auf-bild .nav-links { border-top-color: rgba(255, 255, 255, .45); }
.site-head.auf-bild .nav-links > a, .site-head.auf-bild .nav-drop > a { color: rgba(255, 255, 255, .86); }
.site-head.auf-bild .nav-links > a:hover, .site-head.auf-bild .nav-drop > a:hover, .site-head.auf-bild a[aria-current="page"] { color: #fff; }
.site-head.auf-bild .drop { text-shadow: none; color: var(--text); }
.site-head.auf-bild .drop a { color: color-mix(in srgb, var(--text) 75%, transparent); }
.site-head.auf-bild .site-logo { filter: drop-shadow(0 1px 10px rgba(0, 0, 0, .25)); }
.titelbild.voll { position: relative; max-width: none; padding: 0; }
.titelbild.voll img { height: 100svh; min-height: 560px; max-height: 1150px; border-radius: 0; }
.titelbild.voll::before { content: ""; position: absolute; inset: 0 0 auto; height: 42%; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0)); pointer-events: none; }
.titel-weiter { position: absolute; z-index: 2; left: 50%; bottom: 2rem; width: 44px; height: 44px; margin-left: -22px; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; }
.titel-weiter::after { content: ""; position: absolute; left: 50%; top: 42%; width: 9px; height: 9px; border-right: 1.5px solid #fff; border-bottom: 1.5px solid #fff; transform: translate(-50%, -50%) rotate(45deg); }
.titel-weiter:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 640px) { .titelbild.voll img { aspect-ratio: auto; height: 88svh; min-height: 480px; } }

/* ---------- Gemeinsame Bausteine ---------- */
.w-photo { display: block; position: relative; aspect-ratio: var(--ar, 1.5); background: var(--c, var(--surface-2)); overflow: hidden; border-radius: var(--r-img); }
.w-photo img { width: 100%; height: 100%; object-fit: cover; }
.w-photo.leer { background: var(--surface-2); }
a.w-photo { cursor: zoom-in; }
a.w-photo img { transition: opacity .3s; }
a.w-photo:hover img { opacity: .92; }
.mehr { display: inline-block; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; padding-bottom: .3rem; border-bottom: 1px solid currentColor; transition: color .2s; }
.mehr:hover { color: var(--accent); }
.abschnitt-titel { font-size: clamp(1.9rem, 3.4vw, 2.7rem); text-align: center; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.btn-w { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: 1rem 2rem; border: 1px solid var(--text); border-radius: 0; background: var(--text); color: var(--bg); font: 600 .74rem var(--sans); letter-spacing: .18em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn-w:hover { background: transparent; color: var(--text); }
:root[data-radius="round"] .btn-w, :root[data-radius="soft"] .btn-w { border-radius: 999px; }

/* ---------- Startseite ---------- */
.einstieg { max-width: 820px; text-align: center; display: grid; justify-items: center; gap: 1.4rem; padding-top: clamp(2.5rem, 7vw, 5.5rem); padding-bottom: clamp(3rem, 7vw, 5rem); }
.kopfzeile { font: 600 .78rem/1.6 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--muted); }
.claim { font: var(--display-weight) clamp(2.4rem, 5.6vw, 4.6rem)/1.06 var(--display); letter-spacing: var(--display-track); text-wrap: balance; }
.einstieg-text { max-width: 58ch; color: color-mix(in srgb, var(--text) 82%, var(--muted)); font-size: 1.08rem; }
.einstieg-text p + p { margin-top: .8rem; }
.einstieg .mehr { margin-top: .6rem; }

.titelbild { margin: 0 auto; max-width: 1600px; padding-inline: clamp(0rem, 2vw, 2rem); }
.titelbild img { display: block; width: 100%; height: min(82vh, 56.25vw); min-height: 340px; object-fit: cover; background: var(--c, var(--surface-2)); border-radius: var(--r-img); animation: bild-ein 1.4s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes bild-ein { from { opacity: 0; } }

.kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3vw, 2.6rem); padding-block: clamp(4.5rem, 10vw, 8rem); }
.kachel { display: grid; justify-items: center; gap: .9rem; text-align: center; text-decoration: none; align-content: start; }
.kachel-bild { width: 100%; aspect-ratio: 4 / 5 !important; margin-bottom: .6rem; }
.kachel h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.kachel:hover .mehr { color: var(--accent); }

.ablauf { background: var(--bg-2); padding-block: clamp(4rem, 9vw, 7rem); }
.schritte { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.6rem, 4vw, 3.5rem); text-align: center; }
.schritte li { display: grid; gap: .7rem; justify-items: center; }
.schritt-nr { font: var(--display-weight) 2.6rem/1 var(--display); color: var(--accent); }
.schritte h3 { font: 600 .78rem/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; }
.schritte p { color: color-mix(in srgb, var(--text) 80%, var(--muted)); max-width: 34ch; }

.stimmen { padding-block: clamp(4.5rem, 10vw, 8rem); }
.stimmen-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(2rem, 5vw, 4rem); max-width: 1100px; margin: 0 auto; }
.stimme { margin: 0; display: grid; gap: 1.2rem; align-content: start; text-align: center; }
.stimme blockquote { margin: 0; font: italic var(--display-weight) clamp(1.15rem, 1.6vw, 1.35rem)/1.55 var(--display); }
.stimme blockquote p + p { margin-top: .7rem; }
.stimme blockquote::before { content: "“"; display: block; font: var(--display-weight) 3.6rem/0.6 var(--display); color: var(--accent); margin-bottom: .6rem; font-style: normal; }
.stimme figcaption { font-size: .74rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.anfrage { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(4.5rem, 10vw, 8rem); border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.anfrage .abschnitt-titel { text-align: left; margin-bottom: 1rem; }
.anfrage-kopf p { color: color-mix(in srgb, var(--text) 82%, var(--muted)); max-width: 34ch; }

/* ---------- Unterseiten ---------- */
.seite-kopf { padding-top: clamp(2rem, 6vw, 4.5rem); padding-bottom: clamp(2rem, 4vw, 3.5rem); display: grid; justify-items: center; text-align: center; gap: 1rem; }
.seite-kopf h1, .ueber h1, .kontakt h1, .fehler-w h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
.seite-intro { max-width: 60ch; color: color-mix(in srgb, var(--text) 82%, var(--muted)); }
.zurueck { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.zurueck::before { content: "← "; }
.zurueck:hover { color: var(--text); }
.kategorien-raster { --sp: clamp(1rem, 2.4vw, 2rem); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--sp); padding-bottom: clamp(4rem, 9vw, 7rem); }
.kategorie-karte { position: relative; flex: 0 1 calc((100% - 2 * var(--sp)) / 3); display: block; overflow: hidden; border-radius: var(--r-img); text-decoration: none; color: #fff; }
.kategorie-karte .kachel-bild { margin: 0; aspect-ratio: 4 / 5 !important; border-radius: 0; }
.kategorie-karte .kachel-bild img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.kategorie-karte:hover .kachel-bild img { transform: scale(1.04); }
.kategorie-karte::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, .55) 100%); pointer-events: none; }
.kategorie-titel { position: absolute; z-index: 1; left: 1rem; right: 1rem; bottom: clamp(1.2rem, 2.4vw, 1.8rem); display: grid; justify-items: center; gap: .55rem; text-align: center; }
.kategorie-titel h2 { font: 600 .82rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: #fff; }
.kategorie-titel span { font-size: .68rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: rgba(255, 255, 255, .8); padding-bottom: .2rem; border-bottom: 1px solid rgba(255, 255, 255, .6); }
@media (max-width: 900px) { .kategorie-karte { flex-basis: calc((100% - var(--sp)) / 2); } }
@media (max-width: 560px) { .kategorie-karte { flex-basis: 100%; } }
.masonry { columns: 3 320px; column-gap: clamp(.7rem, 1.4vw, 1.2rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.masonry .w-photo { break-inside: avoid; margin-bottom: clamp(.7rem, 1.4vw, 1.2rem); }
.weitere { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .6rem 2rem; padding: 2rem 0 clamp(4rem, 8vw, 6rem); border-top: 1px solid var(--line); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.weitere p { width: 100%; text-align: center; color: var(--muted); }
.weitere a { text-decoration: none; }
.weitere a:hover { color: var(--accent); }
.leer-hinweis { color: var(--muted); padding: 2rem 0 6rem; text-align: center; font-size: 1.05rem; }

.ueber { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; padding-block: clamp(2.5rem, 6vw, 5rem) clamp(4rem, 9vw, 8rem); }
.ueber-bild img, .ueber-leer { width: 100%; max-width: 460px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--r-img) var(--r-img); display: block; background: var(--surface-2); }
.ueber-text { display: grid; gap: 1.2rem; max-width: 62ch; padding-top: clamp(0rem, 3vw, 3rem); }
.ueber-text h1 { margin-bottom: .6rem; }
.ueber-text h2 { font-size: 1.6rem; margin-top: 1rem; }
.ueber-text p { color: color-mix(in srgb, var(--text) 86%, var(--muted)); }
.signatur { font: italic var(--display-weight) 1.7rem var(--display); color: var(--text) !important; margin-top: .4rem; }
.ueber-text .btn-w { justify-self: start; margin-top: 1rem; }

.leistungen { display: grid; gap: clamp(4rem, 9vw, 8rem); padding-bottom: clamp(4rem, 9vw, 8rem); }
.leistung { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; scroll-margin-top: 2rem; }
.leistung:nth-child(even) .leistung-bild { order: 2; }
.leistung-bild .w-photo { aspect-ratio: 4 / 5; max-height: 80vh; }
.leistung-text { display: grid; gap: 1.1rem; max-width: 46ch; }
.leistung-text h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.leistung-text p { color: color-mix(in srgb, var(--text) 86%, var(--muted)); }
.preis { font: var(--display-weight) 1.35rem var(--display); color: var(--text) !important; }
.leistung-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-top: .6rem; }

.kontakt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); padding-block: clamp(2rem, 6vw, 4.5rem) clamp(4rem, 9vw, 8rem); align-items: start; }
.kontakt-info { display: grid; gap: 1.6rem; }
.kontakt-text p { font-size: 1.1rem; max-width: 40ch; }
.kontakt-text p + p { margin-top: .8rem; }
.kontakt-wege { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .6rem; color: var(--muted); }
.kontakt-wege li { display: flex; align-items: center; gap: .7rem; }
.kontakt-wege a { color: var(--text); text-decoration: none; }
.kontakt-wege a:hover { text-decoration: underline; text-underline-offset: 5px; }
.kontakt-form { display: grid; gap: 1.2rem; }
.kontakt-form label { display: grid; gap: .4rem; font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.optional { font-weight: 500; letter-spacing: .06em; text-transform: none; color: var(--muted); margin-left: .35rem; }
.kontakt-form label:has(.optional) { grid-template-columns: auto 1fr; }
.kontakt-form label:has(.optional) > input { grid-column: 1 / -1; }
.kontakt-form input, .kontakt-form select, .kontakt-form textarea { width: 100%; min-width: 0; padding: .85rem 1rem; border-radius: calc(var(--r-img) + 2px); border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 400 1rem var(--sans); letter-spacing: 0; text-transform: none; transition: border-color .2s, box-shadow .2s; }
.kontakt-form textarea { resize: vertical; min-height: 9rem; line-height: 1.6; }
.kontakt-form input:focus, .kontakt-form select:focus, .kontakt-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.feld-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.2rem; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-hinweis { font-size: .85rem; color: var(--muted); }
.kontakt-form .btn-w { justify-self: start; }
.form-fehler { padding: .9rem 1.1rem; border-radius: 12px; background: color-mix(in srgb, var(--danger) 12%, transparent); border: 1px solid color-mix(in srgb, var(--danger) 40%, transparent); font-size: .95rem; display: grid; gap: .3rem; }
.danke { display: grid; gap: .6rem; padding: 1.4rem 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); max-width: 40ch; }
.danke-titel { font: var(--display-weight) 1.6rem var(--display); }

.recht { max-width: 760px; padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem); }
.recht h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 1.5rem; }
.recht h2 { font: 650 1.05rem/1.4 var(--sans); letter-spacing: 0; margin: 2rem 0 .5rem; }
.recht p, .recht li { color: color-mix(in srgb, var(--text) 86%, var(--muted)); font-size: .98rem; }
.recht p + p { margin-top: .7rem; }
.recht ul { padding-left: 1.2rem; }
.recht .legal-warnung { padding: .8rem 1rem; border-radius: 10px; background: color-mix(in srgb, var(--warn) 14%, transparent); }
.recht .legal-stand { margin-top: 2rem; color: var(--muted); font-size: .85rem; }
.fehler-w { padding-block: clamp(5rem, 14vw, 11rem); display: grid; gap: 1.2rem; justify-items: center; text-align: center; }
.fehler-w p { color: var(--muted); font-size: 1.1rem; max-width: 46ch; }

/* ---------- Fuß ---------- */
.site-foot { border-top: 1px solid var(--line); }
.foot-inner { max-width: var(--wmax, 1320px); margin: 0 auto; padding: 2.2rem var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; gap: 1rem 2rem; align-items: center; font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.foot-inner a { text-decoration: none; color: var(--muted); transition: color .2s; }
.foot-inner a:hover { color: var(--text); }
.foot-legal { display: flex; gap: 1.6rem; }
.foot-social { display: flex; gap: 1.1rem; justify-content: center; }
.foot-social svg { width: 1.35rem; height: 1.35rem; }
.foot-top { justify-self: end; }
.foot-top::after { content: " ↑"; }

/* ---------- Vollansicht ---------- */
.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; overflow: hidden; background: rgba(8, 8, 8, .95); animation: lb-ein .25s ease-out; touch-action: none; user-select: none; -webkit-user-select: none; }
.lb img { max-width: 94vw; max-height: 90vh; width: auto; height: auto; object-fit: contain; }
.lb img { cursor: zoom-in; transition: transform .3s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.lb img.ist-gezoomt { cursor: grab; }
.lb img.ist-gezogen { transition: none; cursor: grabbing; }
.lb button { z-index: 1; }
.lb-zahl { z-index: 1; }
.lb button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; font-size: 1.5rem; line-height: 1; }
.lb button:hover { background: rgba(255, 255, 255, .18); }
.lb-zu { top: 1rem; right: 1rem; }
.lb-zurueck { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-vor { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-zahl { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .65); font-size: .85rem; }
@keyframes lb-ein { from { opacity: 0; } }

/* ---------- Kleine Bildschirme ---------- */
@media (max-width: 900px) {
    .kacheln { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
    .schritte { grid-template-columns: minmax(0, 1fr); }
    .anfrage, .ueber, .kontakt, .leistung { grid-template-columns: minmax(0, 1fr); }
    .leistung:nth-child(even) .leistung-bild { order: 0; }
    .leistung-bild .w-photo { aspect-ratio: 4 / 3; }
    .ueber-bild img, .ueber-leer { max-width: 340px; }
    .foot-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
    .foot-top { justify-self: center; }
}
@media (max-width: 640px) {
    .titelbild img { height: auto; aspect-ratio: 4 / 5; min-height: 0; }
    .feld-2 { grid-template-columns: minmax(0, 1fr); }
    .lb-zurueck, .lb-vor { top: auto; bottom: 1rem; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .titelbild img, .lb { animation: none; } html { scroll-behavior: auto; } }

/* Titelbild-Wechsel: neues Foto blendet weich über das alte */
.titel-rahmen { position: relative; }
.titelbild .titel-rahmen img + img { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; max-height: none; aspect-ratio: auto; animation: none; opacity: 0; transition: opacity 1.8s ease; }
.titelbild .titel-rahmen img.ist-da { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .titelbild .titel-rahmen img + img { transition-duration: .01s; } }

/* Portfolio: bündige Reihen wie in der Galerie – jedes Foto wächst mit seinem Seitenverhältnis (--ar) */
.foto-reihen { align-items: flex-start; --row-h: clamp(220px, 26vw, 330px); --g: clamp(.5rem, 1vw, .85rem); display: flex; flex-wrap: wrap; gap: var(--g); padding-bottom: clamp(3rem, 6vw, 5rem); }
.foto-reihen::after { content: ""; flex-grow: 1000000; }
.foto-reihen .w-photo { min-width: 0; flex-grow: calc(var(--ar) * 100); flex-basis: calc(var(--ar) * var(--row-h)); }
.foto-reihen .w-photo img { transition: transform .9s cubic-bezier(.2, .7, .2, 1), opacity .3s; }
.foto-reihen a.w-photo:hover img { transform: scale(1.035); opacity: 1; }
@media (max-width: 560px) { .foto-reihen { --row-h: 160px; } }
@media (prefers-reduced-motion: reduce) { .foto-reihen .w-photo img { transition: none; } }

/* =====================================================================
   v24: Schrift, Startseite, Lesbarkeit, Kundenstimmen, FAQ, Anfragen-Knopf, Übergänge
   ===================================================================== */

/* Lesbarkeit: kleine Versal-Texte etwas größer, Grau etwas dunkler (heller Modus) */
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --muted: #5d5a55; } }
:root[data-theme="light"] { --muted: #5d5a55; }
.nav-links { font-size: .8rem; letter-spacing: .14em; }
.drop a { font-size: .8rem; }
.menu-toggle { font-size: .78rem; letter-spacing: .12em; }
.mehr, .zurueck, .weitere, .foot-inner, .btn-w { font-size: .8rem; letter-spacing: .14em; }
.kopfzeile { font-size: .82rem; letter-spacing: .2em; }
.schritte h3 { font-size: .84rem; letter-spacing: .14em; }
.stimme figcaption { font-size: .8rem; letter-spacing: .16em; }
.kategorie-titel h2 { font-size: .9rem; letter-spacing: .18em; }
.kategorie-titel span { font-size: .76rem; letter-spacing: .14em; }
.kontakt-form label { font-size: .78rem; letter-spacing: .12em; }
.mobil-nav a.mobil-unter { font-size: .84rem; letter-spacing: .12em; }
/* Cormorant ist zierlich: Fließ-Überschriften minimal größer */
:root:not([data-font="sans"]) .abschnitt-titel { font-size: clamp(2.1rem, 3.8vw, 3rem); }
:root:not([data-font="sans"]) .claim { font-size: clamp(2.7rem, 6.2vw, 5.1rem); }

/* Startseite: Ausgewählte Arbeiten */
.auswahl { padding-top: clamp(1rem, 3vw, 2rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
.abschnitt-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: clamp(1.4rem, 3vw, 2.2rem); }
.abschnitt-kopf .abschnitt-titel { margin: 0; text-align: left; }
.auswahl .foto-reihen { padding-bottom: 0; }

/* Startseite: kurz über mich */
.ueber-kurz { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: center; padding-block: clamp(3.5rem, 8vw, 7rem); }
.ueber-kurz-bild { aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-img); background: var(--surface-2); }
.ueber-kurz-bild img { width: 100%; height: 100%; object-fit: cover; }
.ueber-kurz-text { display: grid; gap: 1.2rem; justify-items: start; max-width: 52ch; }
.ueber-kurz-titel { font-size: clamp(2.2rem, 4.4vw, 3.6rem); text-wrap: balance; }
.ueber-kurz-text > p:not(.kopfzeile) { color: color-mix(in srgb, var(--text) 82%, var(--muted)); font-size: 1.08rem; }
.ueber-kurz-links { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: .4rem; }
.ueber-kurz:not(:has(.ueber-kurz-bild)) { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; }
@media (max-width: 760px) { .ueber-kurz { grid-template-columns: minmax(0, 1fr); } .ueber-kurz-bild { max-width: 420px; } }

/* Kundenstimmen: eine große Stimme, optional mit Foto */
.stimmen-buehne { max-width: 1100px; margin: 0 auto; }
.stimme { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; text-align: center; justify-items: center; }
.stimme.mit-bild { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); text-align: left; justify-items: start; }
.stimme-bild { width: 100%; }
.stimme-bild .w-photo { aspect-ratio: 4 / 5; }
.stimme-inhalt { display: grid; gap: 1.4rem; max-width: 46rem; }
.stimme blockquote { font-size: clamp(1.45rem, 2.6vw, 2.1rem); line-height: 1.4; }
.stimme[hidden] { display: none; }
.stimme.is-neu { animation: stimme-ein .6s cubic-bezier(.2, .7, .2, 1); }
@keyframes stimme-ein { from { opacity: 0; transform: translateY(10px); } }
.stimmen-steuerung { display: flex; align-items: center; justify-content: center; gap: 1.2rem; margin-top: clamp(2rem, 4vw, 3rem); }
.stimmen-pfeil { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; color: var(--text); font-size: 1.1rem; cursor: pointer; transition: border-color .2s, background .2s; }
.stimmen-pfeil:hover { border-color: var(--text); }
.stimmen-punkte { display: flex; gap: .55rem; }
.stimmen-punkte button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: var(--line); cursor: pointer; transition: background .2s, transform .2s; }
.stimmen-punkte button[aria-current] { background: var(--accent); transform: scale(1.25); }
@media (max-width: 760px) { .stimme.mit-bild { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; } .stimme-bild { max-width: 360px; } }

/* FAQ */
.faq { max-width: 900px; padding-block: clamp(3.5rem, 8vw, 6rem); }
.faq-liste { border-top: 1px solid var(--line); }
.faq-eintrag { border-bottom: 1px solid var(--line); }
.faq-eintrag summary { display: flex; align-items: center; justify-content: space-between; gap: 1.2rem; padding: 1.3rem 0; cursor: pointer; list-style: none; font: var(--display-weight) clamp(1.2rem, 2vw, 1.45rem)/1.3 var(--display); }
.faq-eintrag summary::-webkit-details-marker { display: none; }
.faq-eintrag summary i { position: relative; width: 14px; height: 14px; flex: none; }
.faq-eintrag summary i::before, .faq-eintrag summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; transition: transform .25s; }
.faq-eintrag summary i::after { transform: rotate(90deg); }
.faq-eintrag[open] summary i::after { transform: rotate(0); }
.faq-antwort { padding: 0 0 1.4rem; color: color-mix(in srgb, var(--text) 82%, var(--muted)); max-width: 65ch; }
.faq-antwort p + p { margin-top: .7rem; }

/* Schwebender Anfragen-Knopf (alle Geräte) */
.cta-anfrage { position: fixed; z-index: 45; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: .55rem; padding: .95rem 1.5rem; border-radius: 999px; background: var(--text); color: var(--bg); text-decoration: none; font: 600 .82rem var(--sans); letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 12px 34px rgba(0, 0, 0, .28); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.cta-anfrage.is-sichtbar { opacity: 1; transform: none; pointer-events: auto; }
.cta-anfrage:hover { background: var(--accent); color: var(--accent-ink); }
.cta-anfrage svg { width: 1.15em; height: 1.15em; }
body.menu-open .cta-anfrage { display: none; }
.site:has(.preview-bar) .cta-anfrage { bottom: 4.6rem; }
@media (max-width: 560px) { .cta-anfrage { padding: .85rem 1.25rem; } }

/* Sanftes Einblenden beim Scrollen (nur mit JavaScript, nicht bei "weniger Bewegung") */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .9s cubic-bezier(.2, .7, .2, 1) var(--rv-delay, 0ms), transform .9s cubic-bezier(.2, .7, .2, 1) var(--rv-delay, 0ms); }
.js .rv.is-in { opacity: 1; transform: none; }

/* Seitenwechsel: weich überblenden (moderne Browser; andere wechseln einfach wie bisher) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; animation-timing-function: ease; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } .cta-anfrage { transition: none; } }

/* ---------- v25: runde Fotos bei Kundenstimmen, Torbogen-Porträt, Copyright ---------- */
.stimme.mit-bild { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; gap: clamp(1.2rem, 2.5vw, 1.8rem); }
.stimme-bild { width: clamp(96px, 11vw, 132px); max-width: none; }
.stimme-bild .w-photo { aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 0 1px var(--line), 0 0 0 6px var(--bg), 0 0 0 7px color-mix(in srgb, var(--accent) 45%, transparent); }
.stimme-bild .w-photo { display: block; width: 100%; overflow: hidden; position: relative; }
.stimme-bild .w-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.stimme.mit-bild .stimme-inhalt { justify-items: center; }
@media (max-width: 760px) { .stimme-bild { max-width: none; width: 96px; } }
/* Torbogen: oben ein Halbkreis, unten die normalen Ecken (4:5-Format -> 50 % Breite = 40 % Höhe) */
.ueber-bild img, .ueber-leer, .ueber-kurz-bild {
    border-radius: 50% 50% var(--r-img) var(--r-img) / 40% 40% var(--r-img) var(--r-img);
}
.ueber-kurz-bild { max-width: 460px; width: 100%; justify-self: center; }
.foot-copy { color: var(--muted); }
.foot-legal { flex-wrap: wrap; row-gap: .6rem; }
@media (max-width: 760px) { .foot-legal { justify-content: center; } }

/* ---------- v29: weicher Übergang vom Titelbild in die Seite ---------- */
.titelbild.voll::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: min(40%, 380px); z-index: 1; pointer-events: none;
    background: linear-gradient(180deg,
        color-mix(in srgb, var(--bg) 0%, transparent) 0%,
        color-mix(in srgb, var(--bg) 6%, transparent) 18%,
        color-mix(in srgb, var(--bg) 20%, transparent) 36%,
        color-mix(in srgb, var(--bg) 44%, transparent) 54%,
        color-mix(in srgb, var(--bg) 72%, transparent) 72%,
        color-mix(in srgb, var(--bg) 92%, transparent) 88%,
        var(--bg) 100%);
}
/* Pfeil sitzt jetzt im ausgeblendeten Bereich - deshalb in Textfarbe */
.titelbild.voll .titel-weiter { bottom: 1.6rem; border-color: color-mix(in srgb, var(--text) 45%, transparent); transition: background .2s, border-color .2s, transform .3s; }
.titelbild.voll .titel-weiter::after { border-color: var(--text); }
.titelbild.voll .titel-weiter:hover { background: color-mix(in srgb, var(--text) 8%, transparent); border-color: var(--text); transform: translateY(2px); }
.titelbild.voll + .einstieg { padding-top: clamp(1.5rem, 4vw, 3.5rem); }

/* ---------- Website-Design: Hintergrundton (hell / dunkel) ---------- */
:root[data-ton="warm"][data-theme="light"] { --bg: #f6f4ef; --bg-2: #efece5; --surface: #ffffff; --surface-2: #eae6de; --text: #1b1a17; --muted: #6c6a66; --line: rgba(30, 25, 15, .11); --glass: color-mix(in srgb, #f6f4ef 88%, transparent); }
:root[data-ton="warm"][data-theme="dark"] { --bg: #0f0d0b; --bg-2: #15130f; --surface: #1c1915; --surface-2: #27231e; --text: #f3efe8; --muted: #a39d94; --line: rgba(255, 245, 230, .09); --glass: color-mix(in srgb, #0f0d0b 88%, transparent); }
@media (prefers-color-scheme: light) { :root[data-ton="warm"]:not([data-theme="dark"]) { --bg: #f6f4ef; --bg-2: #efece5; --surface: #ffffff; --surface-2: #eae6de; --text: #1b1a17; --muted: #6c6a66; --line: rgba(30, 25, 15, .11); --glass: color-mix(in srgb, #f6f4ef 88%, transparent); } }
@media (prefers-color-scheme: dark) { :root[data-ton="warm"]:not([data-theme="light"]) { --bg: #0f0d0b; --bg-2: #15130f; --surface: #1c1915; --surface-2: #27231e; --text: #f3efe8; --muted: #a39d94; --line: rgba(255, 245, 230, .09); --glass: color-mix(in srgb, #0f0d0b 88%, transparent); } }
:root[data-ton="papier"][data-theme="light"] { --bg: #fbfaf7; --bg-2: #f3f1ec; --surface: #ffffff; --surface-2: #ebe7df; --text: #22201c; --muted: #6b6862; --line: rgba(40, 30, 15, .1); --glass: color-mix(in srgb, #fbfaf7 88%, transparent); }
:root[data-ton="papier"][data-theme="dark"] { --bg: #131210; --bg-2: #191815; --surface: #201f1b; --surface-2: #2a2823; --text: #f5f2ec; --muted: #a6a198; --line: rgba(255, 250, 240, .09); --glass: color-mix(in srgb, #131210 88%, transparent); }
@media (prefers-color-scheme: light) { :root[data-ton="papier"]:not([data-theme="dark"]) { --bg: #fbfaf7; --bg-2: #f3f1ec; --surface: #ffffff; --surface-2: #ebe7df; --text: #22201c; --muted: #6b6862; --line: rgba(40, 30, 15, .1); --glass: color-mix(in srgb, #fbfaf7 88%, transparent); } }
@media (prefers-color-scheme: dark) { :root[data-ton="papier"]:not([data-theme="light"]) { --bg: #131210; --bg-2: #191815; --surface: #201f1b; --surface-2: #2a2823; --text: #f5f2ec; --muted: #a6a198; --line: rgba(255, 250, 240, .09); --glass: color-mix(in srgb, #131210 88%, transparent); } }
:root[data-ton="neutral"][data-theme="light"] { --bg: #f5f5f4; --bg-2: #ebebea; --surface: #ffffff; --surface-2: #e2e2e0; --text: #18181a; --muted: #646468; --line: rgba(20, 20, 25, .11); --glass: color-mix(in srgb, #f5f5f4 88%, transparent); }
:root[data-ton="neutral"][data-theme="dark"] { --bg: #0b0b0d; --bg-2: #111115; --surface: #17171c; --surface-2: #212127; --text: #f2f0eb; --muted: #9b99a2; --line: rgba(255, 255, 255, .085); --glass: color-mix(in srgb, #0b0b0d 88%, transparent); }
@media (prefers-color-scheme: light) { :root[data-ton="neutral"]:not([data-theme="dark"]) { --bg: #f5f5f4; --bg-2: #ebebea; --surface: #ffffff; --surface-2: #e2e2e0; --text: #18181a; --muted: #646468; --line: rgba(20, 20, 25, .11); --glass: color-mix(in srgb, #f5f5f4 88%, transparent); } }
@media (prefers-color-scheme: dark) { :root[data-ton="neutral"]:not([data-theme="light"]) { --bg: #0b0b0d; --bg-2: #111115; --surface: #17171c; --surface-2: #212127; --text: #f2f0eb; --muted: #9b99a2; --line: rgba(255, 255, 255, .085); --glass: color-mix(in srgb, #0b0b0d 88%, transparent); } }
:root[data-ton="kuehl"][data-theme="light"] { --bg: #f3f5f7; --bg-2: #e8ecf0; --surface: #ffffff; --surface-2: #dde3e9; --text: #151a20; --muted: #5e6670; --line: rgba(15, 30, 50, .11); --glass: color-mix(in srgb, #f3f5f7 88%, transparent); }
:root[data-ton="kuehl"][data-theme="dark"] { --bg: #0a0d11; --bg-2: #0f1318; --surface: #151a21; --surface-2: #1e252e; --text: #eef2f6; --muted: #97a0ab; --line: rgba(220, 235, 255, .09); --glass: color-mix(in srgb, #0a0d11 88%, transparent); }
@media (prefers-color-scheme: light) { :root[data-ton="kuehl"]:not([data-theme="dark"]) { --bg: #f3f5f7; --bg-2: #e8ecf0; --surface: #ffffff; --surface-2: #dde3e9; --text: #151a20; --muted: #5e6670; --line: rgba(15, 30, 50, .11); --glass: color-mix(in srgb, #f3f5f7 88%, transparent); } }
@media (prefers-color-scheme: dark) { :root[data-ton="kuehl"]:not([data-theme="light"]) { --bg: #0a0d11; --bg-2: #0f1318; --surface: #151a21; --surface-2: #1e252e; --text: #eef2f6; --muted: #97a0ab; --line: rgba(220, 235, 255, .09); --glass: color-mix(in srgb, #0a0d11 88%, transparent); } }

/* ---------- Website-Design: Schriften ---------- */
:root[data-schrift="playfair"] { --display: "Playfair Display", ui-serif, Georgia, serif; --display-weight: 500; --display-track: -.01em; }
:root[data-schrift="fraunces"] { --display: "Fraunces", ui-serif, Georgia, serif; --display-weight: 400; --display-track: -.02em; }
:root[data-schrift="manrope"] { --sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --display: var(--sans); --display-weight: 600; --display-track: -.035em; }
:root[data-schrift="manrope"] body.site { letter-spacing: -.005em; }

/* ---------- Website-Design: Breite, Fotoabstand, Titelbild-Höhe, Logo-Position ---------- */
:root[data-breite="schmal"] { --wmax: 1080px; }
:root[data-breite="breit"] { --wmax: 1600px; }
:root[data-abstand="eng"] .foto-reihen { --g: 3px; }
:root[data-abstand="luftig"] .foto-reihen { --g: clamp(.9rem, 2vw, 1.75rem); }
:root[data-abstand="eng"] .kategorien-raster { --sp: 4px; }
:root[data-abstand="luftig"] .kategorien-raster { --sp: clamp(1.4rem, 3vw, 2.6rem); }
:root[data-titelhoehe="hoch"] .titelbild.voll img { height: 82svh; min-height: 520px; }
:root[data-titelhoehe="kompakt"] .titelbild.voll img { height: 64svh; min-height: 420px; }
:root[data-titelhoehe="hoch"] .titelbild:not(.voll) img { height: min(68vh, 48vw); }
:root[data-titelhoehe="kompakt"] .titelbild:not(.voll) img { height: min(52vh, 38vw); }
@media (max-width: 640px) {
    :root[data-titelhoehe="hoch"] .titelbild.voll img { height: 76svh; min-height: 440px; }
    :root[data-titelhoehe="kompakt"] .titelbild.voll img { height: 62svh; min-height: 380px; }
}
@media (min-width: 761px) {
    :root[data-kopf="links"] .site-head { grid-template-columns: auto minmax(0, 1fr); justify-items: stretch; align-items: center; gap: 2rem; padding-block: 1.8rem 1.4rem; }
    :root[data-kopf="links"] .site-brand { justify-content: flex-start; }
    :root[data-kopf="links"] .site-head .nav-links { border-top: 0; padding-top: 0; min-width: 0; justify-content: flex-end; }
    :root[data-kopf="links"] .site-head.auf-bild { padding-inline: var(--pad); }
    :root[data-kopf="links"] .drop { left: auto; right: -1rem; transform: translateY(6px); }
    :root[data-kopf="links"] .nav-drop:hover .drop, :root[data-kopf="links"] .nav-drop:focus-within .drop { transform: none; }
}

/* ---------- Fotoschutz ---------- */
.w-photo img, .lb img, .titelbild img, .ueber-bild img, .ueber-kurz-bild img, .stimme-bild img, .story-autor-bild { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.foto-schutz { position: fixed; z-index: 260; transform: translate(-50%, calc(-100% - 12px)); max-width: min(320px, 90vw); padding: .55rem .9rem; border-radius: 10px; background: rgba(15, 15, 15, .9); color: #fff; font: 500 .8rem/1.4 var(--sans); text-align: center; pointer-events: none; opacity: 0; transition: opacity .2s; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
.foto-schutz.is-da { opacity: 1; }

/* ---------- Journal (v42) ---------- */
.journal-uebersicht { --sp: clamp(1.5rem, 3vw, 2.6rem); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(var(--sp) * 1.4) var(--sp); padding-bottom: clamp(4rem, 9vw, 7rem); }
.journal-karte { display: grid; gap: 1rem; align-content: start; }
.journal-karte-bild { display: block; overflow: hidden; border-radius: var(--r-img); }
.journal-karte-bild .kachel-bild { margin: 0; aspect-ratio: 4 / 3 !important; }
.journal-karte-bild img { transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.journal-karte:hover .journal-karte-bild img { transform: scale(1.04); }
.journal-karte-text { display: grid; gap: .55rem; justify-items: start; }
.journal-karte time, .beitrag-kopf time { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.journal-karte h2, .journal-karte h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); line-height: 1.2; }
.journal-karte h2 a, .journal-karte h3 a { text-decoration: none; color: inherit; }
.journal-karte h2 a:hover, .journal-karte h3 a:hover { color: var(--accent); }
.journal-karte p { color: color-mix(in srgb, var(--text) 82%, var(--muted)); max-width: 60ch; }
.journal-karte.ist-neu { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: var(--sp); }
.journal-karte.ist-neu .kachel-bild { aspect-ratio: 3 / 2 !important; }
.journal-karte.ist-neu h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
.journal-klein { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-bottom: 0; }
@media (max-width: 900px) {
    .journal-uebersicht, .journal-klein { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .journal-karte.ist-neu { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .journal-uebersicht, .journal-klein { grid-template-columns: 1fr; } }
/* Beitrag als "Bildband": Titelbild als Banner mit Titel, Text im Blocksatz in Abschnitten, dazwischen
   Bänder aus kleineren Fotos gleicher Höhe, ein Zitat groß für sich, übrige Fotos als Raster. */
.lese-fortschritt { position: fixed; inset: 0 0 auto; z-index: 60; height: 2px; pointer-events: none; }
.lese-fortschritt span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.band-kopf { position: relative; }
.band-kopf .band-titel { display: grid; justify-items: start; gap: 1rem; padding-top: clamp(1.5rem, 4vw, 3rem); }
.band-kopf h1 { font-size: clamp(2.3rem, 5.6vw, 4.6rem); line-height: 1.04; max-width: 16ch; text-wrap: balance; }
.band-meta { display: flex; flex-wrap: wrap; gap: .35rem 1.5rem; font-size: .9rem; color: var(--muted); }
.band-kopf.mit-bild { height: min(64vh, 640px); height: min(64svh, 640px); min-height: 360px; display: grid; align-items: end; overflow: hidden; }
.band-kopf.mit-bild .band-titelbild { position: absolute; inset: 0; }
.band-kopf.mit-bild .band-titelbild .w-photo { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
.band-kopf.mit-bild::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 38%, rgba(15, 10, 6, .68)); pointer-events: none; }
.band-kopf.mit-bild .band-titel { position: relative; z-index: 1; padding-bottom: clamp(1.6rem, 4.5vw, 3.4rem); color: #fff; pointer-events: none; }
.band-kopf.mit-bild .band-titel a { pointer-events: auto; color: rgba(255, 255, 255, .85); }
.band-kopf.mit-bild .band-meta { color: rgba(255, 255, 255, .85); }
/* Kurzbeschreibung als Karte, die unten ins Titelbild hineinragt */
.band-karte { --ueberlapp: clamp(56px, 9vw, 96px); position: relative; z-index: 2; width: calc(100% - 2 * var(--pad)); max-width: 54rem;
              margin: clamp(2.5rem, 6vw, 4rem) auto 0; padding: clamp(1.5rem, 4vw, 3rem) clamp(1.5rem, 5vw, 4rem);
              background: var(--surface); border-radius: var(--r-img); box-shadow: var(--shadow); }
.band-karte::before { content: ""; display: block; width: 3rem; height: 2px; margin-bottom: 1.2rem; background: var(--accent); }
.band-karte p { font-family: var(--display); font-size: clamp(1.25rem, 2.3vw, 1.85rem); line-height: 1.45; text-wrap: pretty; }
.band-karte.auf-bild { margin-top: calc(var(--ueberlapp) * -1); }
.band-kopf.mit-karte .band-titel { padding-bottom: calc(clamp(56px, 9vw, 96px) + clamp(1.2rem, 3vw, 2.2rem)); }
.band-inhalt { display: grid; gap: clamp(2.5rem, 5vw, 3.8rem); padding-block: clamp(2.5rem, 5vw, 4rem); }
.band-text { width: 100%; max-width: calc(64ch + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); display: grid; gap: 1.1rem;
             font-size: clamp(1.06rem, 1.25vw, 1.18rem); line-height: 1.78;
             text-align: justify; hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 6 3 3; }
.band-text p { color: color-mix(in srgb, var(--text) 90%, var(--muted)); }
.band-text h2 { font-size: clamp(1.4rem, 2.2vw, 1.75rem); line-height: 1.25; margin-top: .9rem; text-align: left; hyphens: manual; }
.band-zitat { margin: 0 auto; width: 100%; max-width: calc(36rem + 2 * var(--pad)); padding-inline: var(--pad); text-align: center; }
.band-zitat p { font-family: var(--display); font-size: clamp(1.6rem, 3.2vw, 2.4rem); line-height: 1.3; text-wrap: balance; }
.band-zitat p::before { content: "„"; }
.band-zitat p::after { content: "“"; }
.bildband { --hoehe: clamp(240px, 30vw, 400px); --luecke: clamp(.5rem, 1vw, .8rem); display: flex; gap: var(--luecke); justify-content: center; margin-inline: auto; padding-inline: var(--pad);
            /* so breit, dass die Fotos genau die Bandhöhe erreichen - nie breiter als die Seite */
            width: min(100%, var(--wmax, 1320px), calc(var(--hoehe) * var(--summe) + 3 * var(--luecke) + 2 * var(--pad))); }
.bildband .w-photo { flex: var(--ar) 1 0%; min-width: 0; }
.bildband-gruppe { display: grid; gap: clamp(.5rem, 1vw, .8rem); }
.band-alle { display: grid; gap: 1.2rem; padding-bottom: clamp(4rem, 8vw, 6rem); }
.band-raster { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(.4rem, .8vw, .7rem); }
.band-raster .w-photo { aspect-ratio: 4 / 5 !important; }
@media (max-width: 700px) {
    .band-kopf.mit-bild { height: 72svh; }
    .band-karte { width: calc(100% - 24px); }
    /* Bildband zum Wischen: Fotos in fester Höhe nebeneinander */
    .bildband { --hoehe: 300px; width: 100%; justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
    .bildband::-webkit-scrollbar { display: none; }
    .bildband .w-photo { flex: none; height: var(--hoehe); width: calc(var(--hoehe) * var(--ar)); max-width: 82vw; scroll-snap-align: center; }
    .band-raster { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.story-ende { padding-bottom: clamp(3rem, 7vw, 5rem); }
.story-autor { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(1.4rem, 4vw, 3rem); align-items: center; max-width: 52rem; margin-inline: auto; padding: clamp(2rem, 4vw, 3rem) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.story-autor-bild { width: clamp(100px, 12vw, 150px); height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--r-img) var(--r-img); }
.story-autor-text { display: grid; gap: .5rem; justify-items: start; }
.story-autor-zeile { font-size: .85rem; color: var(--muted); }
.story-autor-name { font-family: var(--display); font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; }
.story-autor-text > p:not([class]) { color: color-mix(in srgb, var(--text) 84%, var(--muted)); max-width: 46ch; }
.story-autor-links { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: .8rem; }
.story-nachbarn { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.5rem); max-width: 52rem; margin-inline: auto; padding-bottom: clamp(4rem, 8vw, 6rem); }
.nachbar { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 1rem; align-items: center; padding: .7rem; border: 1px solid var(--line); border-radius: var(--r-img); text-decoration: none; color: inherit; transition: border-color .2s; }
.nachbar:hover, .nachbar:focus-visible { border-color: var(--text); }
.nachbar-neuer { grid-template-columns: minmax(0, 1fr) 96px; text-align: right; }
.nachbar-neuer .nachbar-bild { order: 2; }
.nachbar-bild .w-photo { aspect-ratio: 4 / 3 !important; }
.nachbar-text { display: grid; gap: .3rem; min-width: 0; }
.nachbar-art { font-size: .8rem; color: var(--muted); }
.nachbar-titel { font-family: var(--display); font-size: clamp(1.1rem, 1.6vw, 1.3rem); line-height: 1.2; }
@media (max-width: 700px) {
    .beitrag { --bild-max: 80vh; --bild-max: 80svh; }
    /* eine Spalte: jedes Foto für sich, volle Breite, höchstens so hoch wie der Bildschirm */
    .galerie-reihe { display: grid; width: 100%; }
    .galerie-reihe .w-photo { width: min(100%, calc(var(--bild-max) * var(--ar))); justify-self: center; }
    .story-nachbarn { grid-template-columns: minmax(0, 1fr); }
    .nachbar, .nachbar-neuer { grid-template-columns: 80px minmax(0, 1fr); text-align: left; }
    .nachbar-neuer .nachbar-bild { order: 0; }
    .nachbar-leer { display: none; }
    .story-autor { grid-template-columns: minmax(0, 1fr); justify-items: start; }
}
.entwurf-hinweis { margin-top: 1rem; padding: .7rem 1rem; border: 1px dashed var(--accent); color: var(--accent); text-align: center; font-size: .85rem; }
