/* ============================================================
   Gabriele Pfeifer — Galerie-Design
   Verputzte Wand, flacher Eingang mit großem Bild,
   3D-Rundgang durch die Werkwände (Drehung beim Scrollen).
   Font: Jost (lokal)
   ============================================================ */
@font-face { font-family: 'Jost'; font-style: normal; font-weight: 100 900; font-display: swap; src: url('../fonts/jost-variable-normal.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-style: italic; font-weight: 100 900; font-display: swap; src: url('../fonts/jost-variable-italic.woff2') format('woff2'); }

:root {
  /* Raum */
  --beton:        oklch(0.975 0.013 85);  /* Wand: warmes Weiß-Beige */
  --beton-hell:   oklch(0.99 0.008 85);
  --beton-dunkel: oklch(0.9 0.016 78);
  --decke:        oklch(0.96 0.012 83);
  --decke-unten:  oklch(0.935 0.014 80);
  --boden-dunkel: oklch(0.86 0.016 74);    /* ein Bodenton überall, sonst entstehen Kanten */
  /* 26.10.: Logo-Farben (Rosé + Gold) statt Braun – zurück: --braun oklch(0.47 0.055 50), --braun-dunkel oklch(0.39 0.05 50), --accent oklch(0.55 0.13 45) */
  --braun:        #9c4a63;                 /* Rosé (Logo) – Buttons, helle Schrift darauf */
  --braun-dunkel: #82394f;
  --schatten: 0 1px 1px oklch(0.2 0.01 60 / .25), 0 22px 34px -14px oklch(0.2 0.01 60 / .45), 14px 26px 40px -24px oklch(0.2 0.01 60 / .35);
  /* Schrift */
  --ink:       oklch(0.23 0.01 60);
  --ink-muted: oklch(0.40 0.01 65);
  --schild:    oklch(0.985 0.006 82);
  --accent:    #9c4a63;                    /* Rosé (Logo) – Akzente, Links, aktiver Menüpunkt */
  --rose:      #9c4a63;
  --gold:      #c9a15a;                    /* Gold (Logo) – Punkte, feine Linien */
  --punkt:     oklch(0.55 0.2 27);        /* roter Punkt = verkauft */
  --line:      oklch(0.23 0.01 60 / .16);

  --cm: min(4.8px, .5vh);                 /* 1 cm Bildmaß = 4,8 px (bei niedrigen Bildschirmen weniger) – gleicher Maßstab für alle Werke inkl. Eingangsbild */
  --pad: 64px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  /* Putzkorn als kleine SVG-Kachel; Spachtelzüge + Wolken liegen vorgerendert in img/putz.webp */
  --korn:   url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.75' numOctaves='2' seed='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .3 0 0 0 0 .27 0 0 0 .22 -.07'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E");
}

/* Verputzte Wand – vorgerendert statt live berechnet (schnell beim Scrollen und Drehen) */
.beton {
  background-color: var(--beton);
  background-image: var(--korn), url("../img/putz.webp");
  background-size: 300px 300px, cover;
}
/* Seite: Putz als feste Ebene hinter dem Inhalt – wird beim Scrollen nicht neu gemalt */
body.beton { background-image: none; }
body.beton::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-color: var(--beton);
  background-image: var(--korn), url("../img/putz.webp");
  background-size: 300px 300px, cover;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Jost', system-ui, sans-serif;
  font-weight: 350;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, li, dd, figcaption { hyphens: auto; -webkit-hyphens: auto; }
h1, h2, h3 { font-weight: 300; line-height: 1.08; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: 4.25rem; }
h2 { font-size: 3.25rem; }
h3 { font-size: 1.5rem; font-weight: 400; }
.lead { font-size: 1.35rem; font-weight: 300; color: var(--ink-muted); text-wrap: pretty; }
.wrap { max-width: 1560px; margin: 0 auto; padding-inline: var(--pad); }
.h1-zusatz { display: block; margin-top: 14px; font-size: 1.45rem; font-weight: 350; letter-spacing: .01em; color: var(--ink-muted); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-width: 220px; padding: 15px 30px;
  font-size: .88rem; font-weight: 450; letter-spacing: .14em; text-transform: uppercase;
  border: 1px solid var(--ink); border-radius: 1px;
  cursor: pointer; background: transparent; color: var(--ink); font-family: inherit;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn--dark { background: var(--braun); border-color: var(--braun); color: var(--beton-hell); }
.btn--dark:hover { background: var(--braun-dunkel); border-color: var(--braun-dunkel); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
/* Textlink ohne Unterstreichung: Pfeil + Farbe beim Hover */
.link { color: var(--ink); font-weight: 450; transition: color .2s; }
.link:hover { color: var(--accent); }
.btn--ghost:hover { background: var(--ink); color: var(--beton-hell); }

/* ---------- Header (fest oben) ---------- */
.kopf {
  position: fixed; z-index: 40; top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 28px;
  pointer-events: none;
  transition: background .3s, box-shadow .3s, padding .3s var(--ease);
}
.kopf.fest { pointer-events: auto; padding-block: 10px; background: oklch(0.975 0.013 85 / .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.admin-bar .kopf { top: 32px; }
.kopf > * { pointer-events: auto; }
.kopf .brand img { height: 76px; width: auto; transition: height .3s var(--ease); }
.kopf.fest .brand img { height: 52px; }
.kopf nav { display: flex; gap: 34px; font-size: .9rem; letter-spacing: .14em; text-transform: uppercase; }
.kopf nav a { padding-block: 3px; line-height: 1.5; transition: color .2s; }
.kopf nav a:hover, .kopf nav a[aria-current="page"] { color: var(--accent); }
.menu-btn { display: none; background: none; border: 0; font: inherit; font-size: .88rem; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; color: var(--ink); padding: 8px 0; }

/* ============================================================
   Eingang (Startseite): Aussage links, großes Bild rechts, Boden unten
   ============================================================ */
.eingang { position: relative; padding-top: 170px; }
.eingang::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to bottom, oklch(0.2 0.01 60 / .22) 0, transparent 12px), var(--boden-dunkel); }
.eingang-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 96px; padding-bottom: 140px; }
.eingang .dach { font-size: .88rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-muted); }
.eingang h1 { font-size: 3.6rem; margin-top: 14px; }
.eingang .claim { margin-top: 20px; max-width: 34ch; font-size: 1.45rem; font-weight: 300; line-height: 1.5; color: var(--ink-muted); }
.eingang .werk { align-items: flex-end; gap: 28px; }
.eingang .werk img.bild { width: min(calc(var(--w) * var(--cm)), 34vw); }

/* ============================================================
   Ein gehängtes Bild + Werkschild
   ============================================================ */
.werk { position: relative; display: flex; align-items: flex-end; gap: 22px; flex: none; }
.werk .bild-knopf { display: block; flex: none; padding: 0; border: 0; background: none; cursor: pointer; }
.werk img.bild {
  width: calc(var(--w) * var(--cm));
  max-width: none;   /* sonst schrumpft der Button das Bild */
  box-shadow:
    0 1px 1px oklch(0.2 0.01 60 / .25),
    0 22px 34px -14px oklch(0.2 0.01 60 / .45),
    14px 26px 40px -24px oklch(0.2 0.01 60 / .35);
}
/* Werkschild: helle Fläche + leichter Schatten (Museumsschild), roter Punkt mit Trennlinie */
.schild {
  width: 170px; flex: none;
  padding: 12px 14px 13px;
  background: var(--schild);
  box-shadow: 0 1px 2px oklch(0.2 0.01 60 / .18);
  font-size: .88rem; line-height: 1.45; color: var(--ink-muted);
}
.schild b { display: block; margin-bottom: 4px; font-size: 1.02rem; font-weight: 500; color: var(--ink); }
.schild .punkt { display: flex; align-items: center; gap: 7px; margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--line); color: var(--ink); }
.schild .punkt:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.schild .punkt::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--punkt); }
/* gestohlenes Werk: leerer Ring statt Punkt (Rahmen ohne Bild) */
.schild .punkt.punkt--gestohlen::before { background: none; border: 1.5px solid currentColor; box-sizing: border-box; }
.werk .bild-knopf img { transition: transform .4s var(--ease); }
.werk .bild-knopf:hover img { transform: translateY(-4px); }

/* ============================================================
   Rundgang – Grundzustand ohne JS / reduzierte Bewegung:
   eine normale Bilderwand, seitlich scrollbar
   ============================================================ */
.rundgang { position: relative; }
.werkliste {
  display: flex; align-items: center; gap: 100px;
  overflow-x: auto; scrollbar-width: thin;
  padding: 90px var(--pad) 120px;
}
.vorlage { padding: 0 var(--pad); }
.vorlage[data-typ="intro"] { padding-top: 140px; }
.wand-intro h2 { margin-bottom: 10px; }
.wand-intro p { max-width: 46ch; color: var(--ink-muted); }
.urkunde { width: 300px; }
.urkunde figcaption { margin-top: 10px; font-size: .82rem; letter-spacing: .04em; color: var(--ink); }
.portrait img { width: 100%; aspect-ratio: 300 / 333; object-fit: cover; box-shadow: var(--schatten); }

/* ============================================================
   Rundgang aktiv: Bühne steht, Wände drehen sich um den Betrachter
   ============================================================ */
.rundgang.aktiv .buehne {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  /* sichtbar in den Raumecken: Decke oben, Boden unten */
  background: linear-gradient(to bottom, var(--decke) 0, var(--decke-unten) 49.9%, var(--boden-dunkel) 50%);
}
.rig { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.wand {
  position: absolute; inset: 0 -1px;   /* 1 px Überlappung in den Ecken */
  display: flex; flex-direction: column; justify-content: center;
  backface-visibility: hidden;
  padding: 120px max(var(--pad), calc((100% - 1560px) / 2 + var(--pad))) 15vh;   /* links/rechts bündig mit dem Inhalts-Container */
}
.wand-schatten {   /* Licht fällt seitlich ab, wenn die Wand schräg steht – nur Deckkraft, läuft auf der Grafikkarte */
  position: absolute; z-index: 1; inset: 0; pointer-events: none;
  background: oklch(0.18 0.01 60);
  opacity: 0; will-change: opacity;
}
.wandboden {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 12vh;   /* über der Wandabdunkelung, damit er zum Boden passt */
  background: linear-gradient(to bottom, oklch(0.2 0.01 60 / .3) 0, transparent 14px), var(--boden-dunkel);
}
.wand .wand-intro { position: absolute; top: 120px; left: max(var(--pad), calc((100% - 1560px) / 2 + var(--pad)));   /* bündig mit dem Inhalts-Container (.wrap) */ }
.wand-haengung { display: flex; align-items: center; justify-content: space-around; gap: 36px; margin-top: 9vh; }
.wand-haengung .schild { width: 150px; }
.wand-intro + .wand-haengung { margin-top: 20vh; }   /* Platz für Überschrift + Einleitung */
.wand .werk::before {   /* eigenes Licht pro Bild */
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: calc(var(--w) * var(--cm) / 2 - 240px); top: -200px;
  width: 480px; height: calc(100% + 240px);
  background: radial-gradient(ellipse 46% 52% at 50% 32%, oklch(1 0 0 / .34), transparent 72%);
}
.rundgang:not(.aktiv) .scroll-hinweis { display: none; }

/* ============================================================
   Werke-Seite: Bilder untereinander, normal vertikal scrollen
   ============================================================ */
.werkwand { padding-block: 60px 40px; }
/* gleichmäßiges Raster; Bild-Unterkanten und Werkschilder je Reihe auf einer Linie (subgrid) */
.werkwand-liste { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 40px; }   /* 3 Spalten: auch 80 cm breite Werke passen im echten Maßstab */
.werkwand-liste .werk { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 18px; justify-items: start; align-items: end; margin-bottom: 60px; }
.werkwand-liste .bild-knopf, .werkwand-liste .werk img.bild { max-width: 100%; height: auto; }
.werkwand-liste .schild { align-self: start; margin: 0; }
.werkwand-hinweis { justify-content: center; margin-top: 130px; text-align: center; }
.werkwand-hinweis p { max-width: 60ch; margin-inline: auto; }

.alle-werke { padding: 36px var(--pad) 0; text-align: center; }
.scroll-hinweis { position: absolute; z-index: 6; right: 28px; bottom: 22px; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); transition: opacity .4s; }

/* ============================================================
   Normale Abschnitte
   ============================================================ */
/* Über mich (Startseite): Porträt neben dem Text */
.start-ueber { padding-block: 128px; background: var(--beton-hell); }
.start-ueber-grid { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 96px; align-items: center; }   /* Porträt kleiner */
.start-ueber figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--schatten); }
.start-ueber figcaption { margin-top: 14px; font-size: .92rem; color: var(--ink-muted); }
.start-ueber .lead { margin-top: 24px; color: var(--ink); line-height: 1.5; }
.start-ueber p { max-width: 60ch; }
.start-ueber p + p { margin-top: 1em; }
.start-ueber blockquote { margin: 32px 0; padding-left: 22px; border-left: 2px solid var(--ink); font-size: 1.25rem; line-height: 1.5; }

/* Ausgezeichnet & ausgestellt: große Zahlen */
.zahlen { padding-block: 128px; }
.zahlen-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 48px; border-top: 1px solid var(--line); }
.zahl { padding: 36px 32px 8px 0; }
.zahl + .zahl { padding-left: 32px; border-left: 1px solid var(--line); }
.zahl strong { display: block; font-size: 4rem; font-weight: 250; line-height: 1; }
.zahl span { display: block; margin-top: 12px; font-weight: 500; }
.zahl p { margin-top: 8px; font-size: 1.02rem; color: var(--ink-muted); }

/* Ausstellungen (Startseite): nächste Ausstellung als Box, Archiv daneben */
.start-ausst { padding-block: 128px; background: var(--beton-hell); }
.start-ausst-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; margin-top: 48px; }
.start-ausst-grid.ohne-termin { grid-template-columns: minmax(0, 760px); }
.naechste { padding: 32px; background: var(--beton); border: 1px solid var(--line); }
.naechste .label { font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-muted); }
.naechste h3 { font-size: 1.8rem; font-weight: 300; margin-top: 12px; }
.naechste .wann { margin-top: 8px; font-weight: 500; }
.naechste .wo { color: var(--ink-muted); }
.naechste .info { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 1.02rem; }
.archiv { list-style: none; }
.archiv li { display: grid; grid-template-columns: 72px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-muted); }
.archiv li span { color: var(--ink); font-weight: 500; }
.start-ausst .mehr { margin-top: 24px; }

.kommend { list-style: none; margin-top: 32px; max-width: 860px; }
.kommend li { display: grid; grid-template-columns: 1fr auto; gap: 8px 32px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.kommend li:first-child { border-top: 1px solid var(--line); }
.kommend .k-titel { font-size: 1.5rem; font-weight: 400; line-height: 1.3; }
.kommend .k-ort { color: var(--ink-muted); font-size: 1.02rem; }
.kommend .k-datum { text-align: right; white-space: nowrap; color: var(--accent); font-weight: 450; }

/* ============================================================
   Ausstellungen-Seite
   ============================================================ */


.ausst-zahlen { display: flex; gap: 56px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 640px; }
.ausst-zahlen div { display: flex; flex-direction: column; gap: 4px; }
.ausst-zahlen dd { order: -1; }
.ausst-zahlen dd { font-size: 3rem; font-weight: 200; line-height: 1; }
.ausst-zahlen dt { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }

.ausst-termine { padding-block: 70px 40px; }
.ausst-karte { max-width: 860px; padding: 44px 48px; border: 1px solid var(--ink); border-radius: 1px; }   /* wie das Werkschild */
.ausst-karte h2 { font-size: 2.4rem; margin-bottom: 14px; }
.ausst-karte p { color: var(--ink-muted); max-width: 52ch; }
.ausst-karte .btn { margin-top: 28px; }
.ausst-karte .kommend { margin-top: 20px; }

.ausst-archiv { padding-block: 100px 140px; }
.ausst-archiv h2 { margin-bottom: 56px; }
.zeitleiste { list-style: none; max-width: 980px; }
.zeitleiste > li { position: relative; display: grid; grid-template-columns: 170px 1fr; gap: 40px; padding-bottom: 44px; }
.zeitleiste > li::before {   /* senkrechte Linie */
  content: ""; position: absolute; left: 140px; top: 14px; bottom: -14px; width: 1px; background: var(--line);
}
.zeitleiste > li:last-child::before { display: none; }
.zeitleiste > li::after {   /* Punkt je Jahr */
  content: ""; position: absolute; left: 136px; top: 10px; width: 9px; height: 9px; border-radius: 50%; background: var(--gold);
}
.z-jahr { font-size: 2.6rem; font-weight: 200; line-height: 1; letter-spacing: -.01em; }
.zeitleiste ul { list-style: none; padding-top: 4px; }
.zeitleiste ul li { padding-block: 5px; font-size: 1.1rem; line-height: 1.5; }
.zeitleiste ul li small { margin-left: 6px; color: var(--accent); font-size: .92rem; white-space: nowrap; }

.fragen { padding-block: 120px; background: oklch(0.89 0.005 85 / .35); }
.fragen h2 { margin-bottom: 30px; }
/* FAQ: goldene Nummer, Frage, feiner Rosé-Kreis mit gezeichnetem Plus (offen: Minus) */
.fragen .wrap { counter-reset: frage; }
.fragen details { counter-increment: frage; max-width: 900px; border-bottom: 1px solid var(--line); }
.fragen details:first-of-type { border-top: 1px solid var(--line); margin-top: 40px; }
.fragen summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 0 24px;
  padding: 24px 0; font-size: 1.2rem; font-weight: 350; line-height: 1.45; transition: color .3s var(--ease);
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::before {
  content: counter(frage, decimal-leading-zero);
  font-size: .82rem; font-weight: 400; letter-spacing: .14em; color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.fragen summary::after {
  content: ""; width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--rose) 45%, transparent);
  color: var(--rose);
  background:
    linear-gradient(currentColor, currentColor) center / 13px 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 13px no-repeat;
  transition: background-size .35s var(--ease), background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.fragen summary:hover { color: var(--rose); }
.fragen summary:hover::after { border-color: var(--rose); }
.fragen details[open] summary { color: var(--rose); }
.fragen details[open] summary::after {
  background-color: var(--rose); border-color: var(--rose); color: var(--beton-hell);
  background-size: 13px 1px, 1px 0;
}
.fragen summary:focus-visible { outline: none; }
.fragen summary:focus-visible::after { outline: 1px solid var(--rose); outline-offset: 4px; }
.fragen details p { padding: 0 64px 28px 76px; max-width: calc(70ch + 76px); color: var(--ink-muted); }
.fragen details[open] p { animation: frage-auf .45s var(--ease) both; }
@keyframes frage-auf { from { opacity: 0; transform: translateY(-6px); } }

/* Kontakt (Startseite): Kontaktwege + ein gehängtes Werk */
.start-kontakt .werk { justify-self: center; }
.start-kontakt { padding-block: 128px; background: var(--beton-hell); }
.start-kontakt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; align-items: center; }
.start-kontakt h2 { font-size: 2.6rem; }
.start-kontakt p { margin-top: 18px; max-width: 46ch; }
.wege { list-style: none; margin-top: 32px; border-top: 1px solid var(--line); }
.wege li { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.wege .k { min-width: 120px; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); padding-top: 4px; }

.kontakt { position: relative; padding-block: 140px 220px; text-align: center; }
.kontakt h2, .kontakt h1 { margin-bottom: 20px; }
.kontakt h2 { font-size: 2.6rem; margin-bottom: 36px; }   /* CTA: ruhiger, mehr Luft zum Button */
.kontakt h2 + .lead { margin-top: -12px; }
.kontakt .lead { max-width: 50ch; margin: 0 auto 36px; }
.kontakt .daten { margin-top: 44px; font-size: 1.02rem; color: var(--ink-muted); }
.kontakt .daten a { color: var(--ink); transition: color .2s; }
.kontakt .daten a:hover { color: var(--accent); }
/* Kontaktseite: Ort + Instagram-Icon im feinen Rosé-Kreis (wie FAQ) */
.kontakt-daten { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px 40px; margin-top: 44px; font-size: 1.02rem; color: var(--ink-muted); }
.icon-link { display: inline-flex; align-items: center; gap: 14px; font-size: 1.1rem; color: var(--ink); transition: color .3s var(--ease); }
.icon-link__kreis {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%;
  border: 1px solid color-mix(in oklab, var(--rose) 45%, transparent); color: var(--rose);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.icon-link:hover { color: var(--rose); }
.icon-link:hover .icon-link__kreis { background-color: var(--rose); border-color: var(--rose); color: var(--beton-hell); }
.icon-link:focus-visible { outline: none; }
.icon-link:focus-visible .icon-link__kreis { outline: 1px solid var(--rose); outline-offset: 4px; }
.kontakt::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; background: linear-gradient(to bottom, oklch(0.2 0.01 60 / .26) 0, transparent 14px), var(--boden-dunkel); }
.kontakt--seite { min-height: 100svh; display: flex; align-items: center; justify-content: center; padding-top: 170px; }

/* ---------- Unterseiten ---------- */
.seitenkopf { padding: 180px 0 40px; }
.seitenkopf .lead { margin-top: 26px; max-width: 60ch; }

.ueber-kopf { padding-top: 170px; }
.ueber-kopf .raster { display: grid; grid-template-columns: 340px 1fr; gap: 90px; align-items: center; }
.ueber-kopf .portrait { width: 100%; }
.ueber-kopf .lead { margin-top: 26px; max-width: 62ch; }
.ueber-text { padding-block: 110px 40px; }
.ueber-text .inhalt { max-width: 1100px; }
.ueber-text .inhalt p + p { margin-top: 16px; }
.ueber-text .inhalt .lead + p { margin-top: 24px; }
.ueber-block { padding-block: 80px; }
.ueber-block h2 { margin-bottom: 28px; }
.ueber-block > .wrap > p { max-width: 1100px; color: var(--ink-muted); margin-bottom: 28px; }
.steckbrief { max-width: 1100px; }
.steckbrief div { display: grid; grid-template-columns: 190px 1fr; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.steckbrief div:first-child { border-top: 1px solid var(--line); }
.steckbrief dt { font-size: .88rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-muted); padding-top: 3px; }
.lehrer-liste { list-style: none; columns: 2; column-gap: 80px; max-width: 1100px; }
.lehrer-liste li { break-inside: avoid; padding: 12px 0; border-bottom: 1px solid var(--line); }
.preis { display: grid; grid-template-columns: 1fr 380px; gap: 80px; align-items: center; }
.preis .urkunde { width: 100%; position: relative; }
/* Bildunterschrift hängt unter dem Bild, zählt nicht mit – so sitzt das Bild selbst mittig zum Text */
.preis .urkunde figcaption { position: absolute; top: 100%; left: 0; right: 0; }

.text-seite { padding-block: 180px 120px; }
.text-seite .inhalt { max-width: 72ch; }
.text-seite .inhalt h2 { font-size: 1.6rem; font-weight: 400; margin: 40px 0 10px; }
.text-seite .inhalt h2:first-child { margin-top: 0; }
.text-seite .inhalt p + p, .text-seite .inhalt ul { margin-top: 12px; }
.text-seite .inhalt ul { padding-left: 1.2em; }
.text-seite .inhalt a { color: var(--accent); }

/* ---------- Fuß ---------- */
.fuss { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; padding: 28px var(--pad); border-top: 1px solid var(--line); background: var(--beton); color: var(--ink-muted); font-size: .92rem; }
.fuss nav { display: flex; gap: 24px; }
.fuss a:hover { color: var(--accent); }

/* ---------- Detailansicht eines Werks ---------- */
dialog.detail { margin: auto; border: 0; padding: 0; background: var(--beton); color: var(--ink); width: 100%; max-width: min(1100px, 94vw); box-shadow: 0 40px 80px oklch(0 0 0 / .35); }
dialog.detail::backdrop { background: oklch(0.18 0.01 60 / .82); }
.detail-grid { display: grid; grid-template-columns: 1.3fr 1fr; }
.detail-bild { display: grid; place-items: center; padding: 40px; background: oklch(0.93 0.012 80); }
.detail-bild img { max-height: 70vh; width: auto; box-shadow: var(--schatten); }
.detail-text { display: flex; flex-direction: column; gap: 18px; padding: 52px 48px; }
.detail-text h3 { font-size: 2.2rem; font-weight: 300; padding-right: 40px; }
.daten { display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; font-size: 1.02rem; }
.daten dt { color: var(--ink-muted); }
.detail-hinweis { color: var(--ink-muted); }
.detail-text .btn { margin-top: auto; align-self: flex-start; }
.detail .zu { position: absolute; top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--beton-hell); color: var(--ink); font-size: 1.1rem; cursor: pointer; }
.detail .zu:hover { background: var(--ink); color: var(--beton-hell); }
/* Blättern in der Detailansicht (Pfeile, Pfeiltasten, Wischen) */
.detail-bild { position: relative; }
.detail .blaettern { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--beton-hell); color: var(--ink); font-size: 1.15rem; cursor: pointer; z-index: 1; }
.detail .blaettern:hover { background: var(--ink); color: var(--beton-hell); }
.detail .blaettern:focus-visible, .detail .zu:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.detail .zurueck { left: 12px; }
.detail .weiter { right: 12px; }
.detail-zaehler { position: absolute; bottom: 10px; left: 0; right: 0; text-align: center; font-size: .8rem; letter-spacing: .12em; color: var(--ink-muted); }
.detail.einzeln .blaettern { display: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  :root { --pad: 40px; --cm: min(4.2px, .5vh); }
  h1 { font-size: 3.4rem; }
  h2 { font-size: 2.6rem; }
  .eingang-grid { gap: 56px; }
  .eingang h1 { font-size: 3rem; }
  .start-ueber-grid, .start-ausst-grid, .start-kontakt-grid { gap: 56px; }
  .wand-haengung { gap: 56px; }
  .werkwand-liste { grid-template-columns: repeat(2, 1fr); }
  .ueber-kopf .raster { grid-template-columns: 260px 1fr; gap: 56px; }
  .preis { grid-template-columns: 1fr 300px; gap: 48px; }
}
@media (max-width: 900px) {
  :root { --cm: 3.2px; }
  .kopf nav { display: none; }
  .menu-btn { display: block; }
  .kopf.offen nav { display: flex; position: absolute; top: 100%; right: 20px; flex-direction: column; gap: 4px; padding: 18px 24px; background: var(--schild); box-shadow: 0 10px 30px oklch(0.2 0.01 60 / .2); }
  .eingang-grid, .start-ueber-grid, .start-ausst-grid, .start-kontakt-grid, .detail-grid { grid-template-columns: 1fr; }
  .start-ueber figure { max-width: 320px; }
  .start-ausst-grid.ohne-termin { grid-template-columns: 1fr; }
  .eingang .werk { flex-direction: column; align-items: flex-start; gap: 14px; }
  .eingang .werk img.bild { width: min(100%, 320px); }
  .eingang-grid { padding-bottom: 40px; }
  .eingang { padding-bottom: 100px; }
  .zahlen-grid { grid-template-columns: 1fr; }
  .zahl + .zahl { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .detail-bild { padding: 24px; }
  .detail-bild img { max-height: 50vh; }
  .detail-text { padding: 28px 24px; }
  .ueber-kopf .raster, .preis { grid-template-columns: 1fr; }
  .ueber-kopf .portrait { max-width: 320px; }
  .preis .urkunde { max-width: 420px; }
  .preis .urkunde figcaption { position: static; }
}
@media (max-width: 782px) { .admin-bar .kopf { top: 46px; } }
@media (max-width: 700px) {
  :root { --pad: 22px; --cm: 2.3px; }
  body { font-size: 1.0625rem; }
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .lead { font-size: 1.15rem; }
  .h1-zusatz { font-size: 1.1rem; }
  .kopf { padding: 12px 16px; }
  .kopf .brand img { height: 56px; }
  .eingang { padding-top: 120px; }
  .eingang h1 { font-size: 2.4rem; }
  .eingang .claim { font-size: 1.2rem; }
  .btn-row .btn { flex: 1 1 100%; }
  .btn { padding: 12px 20px; font-size: .82rem; }
  .start-ueber, .zahlen, .start-ausst, .start-kontakt { padding-block: 72px; }
  .zahl strong { font-size: 2.8rem; }
  .start-kontakt h2 { font-size: 1.9rem; }
  .naechste { padding: 24px; }
  .detail-text h3 { font-size: 1.7rem; }
  /* auf dem Handy steht das Schild unter dem Bild */
  .werk { flex-direction: column; align-items: flex-start; gap: 10px; }
  .schild { width: auto; max-width: 160px; font-size: .8rem; padding: 9px 11px 10px; }
  .schild b { font-size: .9rem; }
  .wand { padding: 96px var(--pad) 14vh; }
  .wand .wand-intro { top: 92px; }
  .wand .wand-intro p { display: none; }
  .wand-intro h1 { font-size: 2.2rem; }
  .wand-haengung { gap: min(80px, calc(26px + (100vw - 390px) * .4)); align-items: center; margin-top: 4vh; }   /* eng auf 390px, mehr Luft auf breiteren Handys */
  .wand .werk::before { width: 300px; left: calc(var(--w) * var(--cm) / 2 - 150px); }
  .werkwand-liste { grid-template-columns: repeat(2, 1fr); gap: 20px 18px; }
  .werkwand-liste .werk { row-gap: 10px; margin-bottom: 36px; }
  .werkwand-liste .schild { width: 100%; max-width: none; }
  .ausst-zahlen { gap: 28px; }
  .ausst-zahlen dd { font-size: 2.2rem; }
  .ausst-zahlen dt { font-size: .74rem; letter-spacing: .1em; }
  .ausst-karte { padding: 28px 24px; }
  .ausst-karte h2 { font-size: 1.9rem; }
  .ausst-archiv { padding-block: 70px 100px; }
  .ausst-archiv h2 { margin-bottom: 36px; }
  .zeitleiste > li { grid-template-columns: 1fr; gap: 6px; padding: 0 0 32px 26px; }
  .zeitleiste > li::before { left: 4px; top: 14px; }
  .zeitleiste > li::after { left: 0; }
  .z-jahr { font-size: 2rem; }
  .zeitleiste ul li { font-size: 1rem; }
  .zeitleiste ul li small { display: block; margin-left: 0; }
  .werkwand-hinweis { margin-top: 80px; }
  .scroll-hinweis { display: none; }
  .kontakt h2 { font-size: 1.8rem; margin-bottom: 26px; }
  .steckbrief div { grid-template-columns: 1fr; gap: 2px; }
  .lehrer-liste { columns: 1; }
  .kommend li { grid-template-columns: 1fr; }
  .kommend .k-datum { text-align: left; }
  .fragen summary { font-size: 1.05rem; grid-template-columns: 34px 1fr auto; gap: 0 14px; }
  .fragen summary::after { width: 34px; height: 34px; }
  .fragen details p { padding: 0 0 24px 48px; }
  .seitenkopf, .text-seite { padding-top: 130px; }
  .ueber-kopf { padding-top: 120px; }
  .ueber-text { padding-top: 70px; }
  .ueber-block { padding-block: 56px; }
}

/* Über mich: Steckbrief unter dem Text, auf großen Bildschirmen daneben */
.steckbrief-box { margin-top: 90px; }
.steckbrief-box h2 { margin-bottom: 28px; }
@media (min-width: 1400px) {
  .ueber-text .wrap { display: grid; grid-template-columns: 1fr 460px; gap: 110px; align-items: center; }
  .ueber-text .inhalt { max-width: none; }
  .ueber-text .inhalt .lead { max-width: none; }
  .steckbrief-box { margin-top: 0; }
  .steckbrief-box h2 { font-size: 2.4rem; margin-bottom: 22px; }
  .steckbrief-box .steckbrief { max-width: none; }
  .steckbrief-box .steckbrief div { grid-template-columns: 130px 1fr; gap: 16px; }
}

/* ============================================================
   Desktop: Menü als feste Seitenleiste rechts, heller Grund
   (Logo, Menüpunkte, aktiver Punkt kursiv in Rosé, E-Mail unten)
   ============================================================ */
.kopf-mail, .kopf .logo-hell { display: none; }
@media (min-width: 901px) {
  :root { --leiste: 236px; }
  body { padding-right: var(--leiste); }
  .kopf, .kopf.fest {
    top: 0; bottom: 0; left: auto; right: 0; width: var(--leiste);
    flex-direction: column; align-items: flex-start; justify-content: flex-start;
    padding: 34px 26px 26px;
    pointer-events: auto;
    background: oklch(0.93 0.018 78); color: var(--ink);   /* warmes Beige, etwas dunkler als die Wand */ backdrop-filter: none; -webkit-backdrop-filter: none;
    box-shadow: -1px 0 0 var(--line);
  }
  .admin-bar .kopf { top: 32px; }
  .kopf .brand img, .kopf.fest .brand img { height: 92px; }
  .kopf nav { flex-direction: column; gap: 14px; margin-top: 72px; font-size: 1.3rem; letter-spacing: 0; text-transform: none; font-weight: 350; }
  .kopf nav a { display: flex; align-items: baseline; gap: 14px; padding: 0; transition: color .2s; }
  .kopf nav a span { transition: transform .25s var(--ease); }
  .kopf nav a:hover span { transform: translateX(4px); }
  .kopf nav a:hover, .kopf nav a[aria-current="page"] { color: var(--rose); }
  .kopf nav a[aria-current="page"] span { font-style: italic; }
  .kopf-mail { display: block; margin-top: auto; font-size: .9rem; color: var(--ink-muted); transition: color .2s; }
  .kopf-mail:hover { color: var(--rose); }
  .menu-btn { display: none; }
  /* Inhalt beginnt jetzt direkt oben */
  .eingang { padding-top: 110px; }
  .seitenkopf, .text-seite { padding-top: 120px; }
  .ueber-kopf { padding-top: 110px; }
  .kontakt--seite { padding-top: 110px; }
  .wand { padding-top: 80px; }
  .wand .wand-intro { top: 80px; }
}
@media (min-width: 901px) and (max-width: 1100px) {
  :root { --leiste: 200px; }
  .kopf nav { font-size: 1.15rem; }
}

/* Eingang als erste Wand im Raum (Startseite) – von hier dreht man sich nach rechts zu den Werken */
.wand--eingang .eingang { padding: 0; }
.wand--eingang .eingang::after { display: none; }   /* die Wand hat schon ihren Boden */
.wand--eingang .eingang-grid { max-width: none; padding: 0; }
@media (max-width: 900px) {
  .wand--eingang .eingang-grid { gap: 24px; }
  .wand--eingang .eingang .werk { flex-direction: row; align-items: flex-end; }
  .wand--eingang .eingang .werk img.bild { width: min(38vw, 190px); }
  .wand--eingang .eingang .btn-row { margin-top: 22px; }
}

/* Startseite ab Desktop: alle Abschnitte als Wände im Raum */
.an-wand { padding: 0 !important; background: none !important; }
.an-wand > .wrap { max-width: none; padding: 0; }
.wand--abschnitt { justify-content: center; }
.an-wand.zahlen .zahlen-grid, .an-wand .start-ausst-grid { margin-top: 36px; }
.an-wand.fragen h2 { margin-bottom: 0; }
.an-wand.fragen details:first-of-type { margin-top: 28px; }
.an-wand.fragen summary { padding: 16px 0; }
.an-wand.start-ueber figure img { max-height: 58vh; width: auto; }
.start-kontakt .werk img.bild { max-width: none; }   /* echter Maßstab wie an den Werkwänden */
.wand .alle-werke { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(12vh + 22px); padding: 0; }

/* Startseite „Malen ist ein Abenteuer“: wenig Text, Akzentwörter kursiv in Rosé, Textlink mit Linie */
.start-ueber h2 { font-size: 3.5rem; line-height: 1.05; }
.start-ueber h2 i { color: var(--rose); font-weight: 300; }
.start-ueber h2 + p { margin-top: 36px; max-width: 54ch; }
.linie-link { display: inline-flex; align-items: center; gap: 12px; margin-top: 40px; font-size: .88rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink); transition: color .2s, gap .3s var(--ease); }
.linie-link::after { content: "→"; letter-spacing: 0; }   /* Pfeil wie bei den übrigen Textlinks */
.linie-link:hover { color: var(--rose); gap: 18px; }
@media (max-width: 700px) { .start-ueber h2 { font-size: 2.4rem; } }

/* Zitat-Wand: großes Zitat mittig, Akzentwörter kursiv in Rosé */
.start-zitat { padding-block: 140px; text-align: center; }
.start-zitat blockquote { max-width: 920px; margin: 0 auto; }
.start-zitat p { font-size: 3.6rem; font-weight: 300; line-height: 1.2; letter-spacing: -.01em; text-wrap: balance; hyphens: manual; }
.start-zitat p i { color: var(--rose); }
.start-zitat footer { margin-top: 36px; font-size: .88rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); }
@media (max-width: 1100px) { .start-zitat p { font-size: 2.8rem; } }
@media (max-width: 700px) { .start-zitat { padding-block: 80px; } .start-zitat p { font-size: 1.9rem; } }

/* ============================================================
   Handy & Tablet (≤ 900 px) – 28.10.2026
   Linien-Burger + Vollbild-Menü, Bild im Mittelpunkt des Eingangs,
   Werkwand zum Wischen statt 3D-Drehung, Anfrage-Leiste unten
   ============================================================ */
.anfrage-leiste { display: none; }
@media (max-width: 900px) {
  /* Kopf */
  .kopf { height: 66px; padding: 0 var(--pad); }
  .kopf .brand img, .kopf.fest .brand img { height: 46px; }
  .menu-btn { position: relative; z-index: 2; display: grid; align-content: center; justify-items: end; gap: 7px; width: 44px; height: 44px; padding: 0; }
  .menu-btn span { display: block; height: 1.5px; background: var(--ink); transition: transform .35s var(--ease), width .35s var(--ease); }
  .menu-btn span:nth-child(1) { width: 30px; }
  .menu-btn span:nth-child(2) { width: 20px; }
  .kopf.offen .menu-btn span { width: 26px; }
  .kopf.offen .menu-btn span:nth-child(1) { transform: translateY(4.25px) rotate(45deg); }
  .kopf.offen .menu-btn span:nth-child(2) { transform: translateY(-4.25px) rotate(-45deg); }

  /* Vollbild-Menü auf der Putzwand */
  .kopf.offen { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .kopf.offen nav {
    position: fixed; inset: 0; z-index: -1;
    display: flex; flex-direction: column; gap: 0; counter-reset: nr;
    padding: 104px var(--pad) 90px; right: 0; top: 0;
    background-color: var(--beton); background-image: var(--korn), url("../img/putz.webp"); background-size: 300px 300px, cover;
    box-shadow: none;
    font-size: 2.1rem; font-weight: 300; letter-spacing: -.01em; text-transform: none; line-height: 1.15;
  }
  .kopf.offen nav a { display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .kopf.offen nav a::before { counter-increment: nr; content: "0" counter(nr); font-size: .72rem; letter-spacing: .1em; color: var(--gold); }
  .kopf.offen nav a[aria-current="page"] { color: var(--rose); font-style: italic; }
  .kopf.offen .kopf-mail { display: block; position: fixed; left: var(--pad); bottom: 30px; font-size: .95rem; color: var(--ink); border-bottom: 1px solid var(--gold); }
  .menue-offen, .menue-offen body { overflow: hidden; }

  /* Eingang: Dachzeile + Überschrift, dann das Bild groß an der Wand, darunter Text + Aktionen */
  .eingang { padding-top: 90px; padding-bottom: 40px; }
  .eingang::after { display: none; }
  .eingang-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding-bottom: 0; }
  .eingang-grid > div { display: contents; }
  .eingang .dach { order: 1; font-size: .74rem; }
  .eingang h1 { order: 2; margin-top: 10px; font-size: 2.35rem; }
  .eingang .werk { order: 3; position: relative; display: block; align-self: center; width: min(64vw, 300px); margin: 26px 0 0; padding-bottom: 70px; }
  .eingang .werk::after {   /* Boden unter dem Bild, über die volle Breite */
    content: ""; position: absolute; z-index: -1; left: 50%; bottom: 0; width: 100vw; height: 40px; transform: translateX(-50%);
    background: linear-gradient(to bottom, oklch(0.2 0.01 60 / .2) 0, transparent 10px), var(--boden-dunkel);
  }
  .eingang .werk .bild-knopf, .eingang .werk img.bild { width: 100%; max-width: 100%; height: auto; }
  .eingang .werk .schild { position: absolute; right: -16%; bottom: 46px; width: max-content; max-width: 150px; }
  .eingang .claim { order: 4; margin-top: 22px; font-size: 1.15rem; }
  .eingang .btn-row { order: 5; align-items: center; gap: 22px; margin-top: 20px; }
  .eingang .btn-row .btn { flex: none; min-width: 0; }
  .eingang .btn--ghost { min-width: 0; padding: 12px 0; border: 0; background: none; letter-spacing: .16em; }
  .eingang .btn--ghost::after { content: " →"; letter-spacing: 0; }
  .eingang .btn--ghost:hover { background: none; color: var(--rose); }

  /* Werkwand zum Wischen (echte Größenverhältnisse, Boden unten) */
  .vorlage[data-typ="intro"] { padding-top: 72px; }
  .wisch-zaehler { display: flex; justify-content: space-between; margin-top: 20px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-muted); }
  .wisch-zaehler b { font-weight: 400; color: var(--ink); }
  .werkliste {
    align-items: center; gap: 0; padding: 34px 0 100px;
    scroll-snap-type: x mandatory; scrollbar-width: none;
    background:
      linear-gradient(to bottom, oklch(0.2 0.01 60 / .2) 0, transparent 10px) left bottom / 100% 56px no-repeat,
      linear-gradient(var(--boden-dunkel), var(--boden-dunkel)) left bottom / 100% 56px no-repeat;
  }
  .werkliste::-webkit-scrollbar { display: none; }
  .werkliste .werk { flex: 0 0 58%; scroll-snap-align: center; flex-direction: column; align-items: center; gap: 14px; }
  .werkliste .werk:first-child { margin-left: 21%; }
  .werkliste .werk:last-child { margin-right: 21%; }
  .werkliste .werk img.bild { max-width: 100%; height: auto; }
  .werkliste .schild { width: max-content; max-width: 170px; }
  .alle-werke { padding-top: 26px; }
  .wischen .vorlage[data-typ="hinweis"] { display: none; }   /* Link steht als letzter Platz an der Wand */
  .werk-mehr { flex: 0 0 58%; scroll-snap-align: center; align-self: center; display: flex; justify-content: center; margin-right: 21%; }
  .wischen .werkliste .werk:last-of-type { margin-right: 0; }
  .werk-mehr span {
    display: grid; place-items: center; width: 150px; aspect-ratio: 4 / 5;
    border: 1px solid var(--line); outline: 1px solid oklch(1 0 0 / .5); outline-offset: -6px;
    font-size: .8rem; letter-spacing: .16em; line-height: 1.8; text-transform: uppercase; text-align: center; color: var(--ink);
    transition: color .2s, border-color .2s;
  }
  .werk-mehr:hover span, .werk-mehr:focus-visible span { color: var(--rose); border-color: var(--rose); }

  .vorlage[data-typ="eingang"] { padding: 0; }   /* sonst doppelter Seitenrand (Vorlage + .wrap) */

  /* Kennzahlen kompakt untereinander: Zahl in Rosé, Titel, kurzer Text */
  .zahlen-grid { margin-top: 24px; }
  .zahl, .zahl + .zahl { padding: 18px 0; border-left: 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .zahl strong { font-size: 2.2rem; color: var(--rose); }
  .zahl span { margin-top: 6px; }
  .zahl p { margin-top: 4px; font-size: .92rem; }

  /* Anfrage-Leiste */
  .anfrage-leiste {
    position: fixed; z-index: 30; left: 50%; bottom: 14px;
    width: min(calc(100% - 28px), 560px); transform: translate(-50%, 160%);
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 8px 8px 8px 18px;
    background: oklch(0.99 0.008 85 / .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 28px oklch(0.2 0.01 60 / .18);
    font-size: .88rem; color: var(--ink-muted);
    transition: transform .45s var(--ease);
  }
  .anfrage-leiste.da { transform: translate(-50%, 0); }
  .anfrage-leiste .btn { min-width: 0; padding: 11px 18px; font-size: .74rem; }
  .menue-offen .anfrage-leiste { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .anfrage-leiste, .menu-btn span { transition: none; }
}

/* ============================================================
   Ausstellungen: Zeitleiste ab Desktop waagerecht – 28.10.2026
   Jahr oben, durchgehende Linie mit Goldpunkt, Ausstellungen als Spalte darunter.
   Passt nicht alles in die Breite, lässt sich die Leiste seitlich scrollen.
   ============================================================ */
@media (min-width: 901px) {
  .ausst-archiv h2 { margin-bottom: 48px; }
  .zeitleiste {
    max-width: none;
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(124px, 1fr);
    overflow-x: auto; scroll-snap-type: x proximity;
    padding-bottom: 18px;
    scrollbar-width: thin; scrollbar-color: var(--line) transparent;
  }
  .zeitleiste > li { display: block; padding: 0 20px 0 0; scroll-snap-align: start; }
  .zeitleiste .z-jahr { display: block; height: 44px; font-size: 2.3rem; }
  .zeitleiste > li::before,
  .zeitleiste > li:last-child::before {   /* waagerechte Linie durch alle Jahre */
    display: block; left: 0; right: 0; top: 68px; bottom: auto; width: auto; height: 1px;
  }
  .zeitleiste > li:last-child::before { right: auto; width: 40px; }   /* läuft nach dem letzten Punkt aus */
  .zeitleiste > li::after { left: 0; top: 64px; }
  .zeitleiste ul { margin-top: 52px; padding-top: 0; }
  .zeitleiste ul li { padding-block: 5px; font-size: .98rem; line-height: 1.4; hyphens: manual; }
  .zeitleiste ul li small { display: block; margin: 2px 0 0; }
  /* passt nicht alles in die Breite: rechter Rand blendet aus, bis man ans Ende scrollt */
  .zeitleiste.ueberlauf:not(.am-ende) { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 90px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 90px), transparent); }
}
@media (min-width: 901px) and (max-width: 1360px) {
  .zeitleiste { grid-auto-columns: minmax(108px, 1fr); }
  .zeitleiste > li { padding-right: 16px; }
  .zeitleiste .z-jahr { font-size: 2rem; }
  .zeitleiste ul li { font-size: .92rem; }
}

/* Zeitleiste: neuestes Jahr hervorheben („Aktuell“), ältere Jahre treten leicht zurück – 28.10.2026 */
.zeitleiste > li:first-child .z-jahr { position: relative; color: var(--rose); }
.zeitleiste > li:first-child .z-jahr::before { content: "Aktuell"; position: absolute; left: 0; bottom: 100%; margin-bottom: 8px; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-muted); }
.zeitleiste > li:first-child::after { background: var(--rose); box-shadow: 0 0 0 5px color-mix(in oklab, var(--rose) 16%, transparent); }
.zeitleiste > li:first-child ul li { color: var(--ink); font-weight: 400; }
.zeitleiste > li:not(:first-child) ul li { color: var(--ink-muted); }
@media (min-width: 901px) {
  .ausst-archiv h2 { margin-bottom: 44px; }
  .zeitleiste { padding-top: 28px; }   /* Platz für „Aktuell“ – die scrollbare Leiste schneidet sonst oben ab */
  .zeitleiste { grid-template-columns: minmax(190px, 1.6fr); }   /* erste Spalte breiter, danach grid-auto-columns */
  .zeitleiste > li:first-child::before { background: linear-gradient(to right, var(--gold), var(--line) 80%); }
  .zeitleiste > li:first-child ul li { font-size: 1.08rem; }
  .zeitleiste > li:first-child ul li small { font-size: .95rem; }
}
@media (max-width: 900px) {
  .zeitleiste > li:first-child { padding-top: 26px; }
  .zeitleiste > li:first-child::after { top: 36px; }    /* Punkt mit der Jahreszahl nach unten */
  .zeitleiste > li:first-child::before { top: 40px; }
  .zeitleiste > li:first-child .z-jahr::before { margin-bottom: 4px; }
}

/* ============================================================
   Heller, einheitlicher Look + moderne Menüleiste – 12.11.2026
   (Zurück: diesen Block löschen; Sicherung in entwurf/backup-theme-20261112/)
   ============================================================ */
:root {
  --beton:        oklch(0.985 0.004 85);   /* Wand: fast Weiß, nur ein Hauch warm */
  --beton-hell:   oklch(0.995 0.002 85);
  --beton-dunkel: oklch(0.94 0.006 80);
  --decke:        oklch(0.975 0.004 85);
  --decke-unten:  oklch(0.955 0.005 82);
  --boden-dunkel: oklch(0.9 0.008 78);     /* Boden heller, bleibt aber als Kante sichtbar */
  --schild:       #fff;
  --weiss-schleier: linear-gradient(oklch(1 0 0 / .6), oklch(1 0 0 / .6));   /* Putz nur noch als feine Struktur */
}
.beton, body.beton::before { background-image: var(--weiss-schleier), var(--korn), url("../img/putz.webp"); background-size: auto, 300px 300px, cover; }

/* Alle Abschnitte auf derselben hellen Wand – kein Wechsel Beige/Weiß/Grau mehr */
.start-ueber, .start-ausst, .start-kontakt, .fragen { background: transparent; }
.naechste { background: #fff; }
.fuss { background: transparent; }
dialog.detail { background: #fff; }
.detail-bild { background: var(--beton); }
.kopf.fest { background: oklch(0.995 0.002 85 / .9); }

/* Moderne Menüleiste (Desktop): weiß, feine Linie, goldene Nummern, aktiver Punkt kursiv mit Strich */
@media (min-width: 901px) {
  .kopf, .kopf.fest {
    background: oklch(0.998 0.001 85 / .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: none; border-left: 1px solid var(--line);
    padding: 40px 30px 32px 34px;
  }
  .kopf .brand img, .kopf.fest .brand img { height: 84px; }
  .kopf nav { counter-reset: nr; gap: 6px; margin-top: 76px; font-size: 1.22rem; font-weight: 300; }
  .kopf nav a { position: relative; gap: 14px; padding: 7px 0; color: var(--ink); }
  .kopf nav a::before { counter-increment: nr; content: "0" counter(nr); width: 18px; font-size: .68rem; font-weight: 400; letter-spacing: .08em; color: var(--gold); font-variant-numeric: tabular-nums; }
  .kopf nav a::after {   /* feiner Strich unter dem Wort: wächst beim Hover, steht beim aktiven Punkt */
    content: ""; position: absolute; left: 32px; bottom: 3px; height: 1px; width: 0; background: var(--rose);
    transition: width .4s var(--ease);
  }
  .kopf nav a:hover::after { width: 22px; }
  .kopf nav a[aria-current="page"]::after { width: 22px; }
  .kopf nav a:hover span { transform: translateX(5px); }
  .kopf nav a[aria-current="page"] { color: var(--rose); }
  .kopf-mail { font-size: .86rem; letter-spacing: .02em; padding-top: 18px; border-top: 1px solid var(--line); width: 100%; }
  .kopf::after {   /* senkrecht am inneren Rand */
    content: "Malerei · Dietzenbach"; position: absolute; left: 0; top: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    padding: 0 14px; background: var(--beton);
    font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-muted); white-space: nowrap;
    pointer-events: none;
  }
}

/* Handy-Menü + Anfrage-Leiste ebenfalls hell */
@media (max-width: 900px) {
  .kopf.offen nav { background-image: var(--weiss-schleier), var(--korn), url("../img/putz.webp"); background-size: auto, 300px 300px, cover; }
  .anfrage-leiste { background: oklch(1 0 0 / .94); }
}
.wand-schatten { background: oklch(0.42 0.01 60); }   /* Drehung: Abschattung milder, die helle Wand bleibt hell (12.11.2026) */
