/* Schriften lokal (SIL Open Font License, siehe fonts/LIZENZEN.txt) */
@font-face { font-family: "Imperial Script"; src: url("fonts/imperial-script.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Cormorant"; font-weight: 300; src: url("fonts/cormorant-300.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Cormorant"; font-weight: 300; font-style: italic; src: url("fonts/cormorant-300-italic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "EB Garamond"; font-weight: 400; src: url("fonts/eb-garamond-400.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "EB Garamond"; font-style: italic; src: url("fonts/eb-garamond-400-italic.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Manrope"; font-weight: 200 800; src: url("fonts/manrope.woff2") format("woff2"); font-display: swap; }

:root {
  /* Champagner */
  --cremeweiss: #FAF5EC;
  --champagner: #F0DFC4;
  --champagner-tief: #E8D4B4;
  --kaschmir: #E5DED5;
  --gold: #D2A863;
  --gold-text: #8E6524;
  --silber: #C3C5C9;
  --silber-text: #73777E;
  --espresso: #24201C;
  --leise: rgba(36, 32, 28, 0.68);
  --linie: rgba(36, 32, 28, 0.14);
  --metall: linear-gradient(100deg, #A9772B 0%, #D9B26E 28%, #E9C98C 42%, #B9BCC1 56%, #D2A863 72%, #A9772B 100%);
  --metall-tief: linear-gradient(100deg, #84601F 0%, #A97E38 30%, #C29A52 45%, #85898F 58%, #9E7430 75%, #84601F 100%);

  --schwung: "Imperial Script", cursive;
  --anzeige: "Cormorant", Georgia, serif;
  --lesen: "EB Garamond", Georgia, serif;
  --klein: "Manrope", system-ui, sans-serif;
  --rand: clamp(16px, 4vw, 56px);
  --breite: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 24px; }
body { background: var(--cremeweiss); color: var(--espresso); font: 400 1.0625rem/1.7 var(--lesen); overflow-x: hidden; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--gold-text); outline-offset: 4px; }

.schwung {
  font-family: var(--schwung);
  font-weight: 400;
  background: var(--metall);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  animation: glanz 10s ease-in-out infinite alternate;
  line-height: 1.3;
  padding: 0 0.25em;
}
.schwung.tief { background-image: var(--metall-tief); }
@keyframes glanz { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.etikett { font: 500 0.6875rem/1.4 var(--klein); letter-spacing: 0.32em; text-transform: uppercase; color: var(--silber-text); }

/* Gemeinsamer Stil (nach dem Vorbild des Kontakt-Abschnitts):
   offene Farbflächen, große dünne Überschriften, wenig Text, goldene Pillen-Knöpfe */
.knoepfe { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.knopf { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border: 1px solid var(--gold); border-radius: 999px; font: 500 0.6875rem/1 var(--klein); letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none; color: var(--espresso); background: rgba(255,255,255,0.35); transition: background .4s, color .4s; }
.knopf svg { width: 16px; height: 16px; }
.knopf:hover { background: var(--gold); color: var(--cremeweiss); }

.flaeche { position: relative; overflow: hidden; isolation: isolate; padding: clamp(80px, 11vw, 150px) var(--rand); text-align: center; }
.flaeche h2 { font: 300 clamp(3rem, 8vw, 6rem)/1 var(--anzeige); color: rgba(255,255,255,0.92); letter-spacing: 0.01em; }
.flaeche p, .flaeche .musik-text, .flaeche .ueber-text { color: var(--leise); max-width: 520px; margin: 22px auto 0; }
.flaeche p + p { margin-top: 1em; }

/* ---------- Kopf: Name links, Menü-Pillen rechts (wie LOHR, im Kontakt-Stil) ---------- */
.kopf { position: fixed; z-index: 40; inset: 0 0 auto; display: flex; justify-content: space-between; align-items: flex-start; padding: 16px var(--rand); pointer-events: none; }
.kopf > * { pointer-events: auto; }
.kopf .zeichen { font-size: 2.4rem; text-decoration: none; opacity: 0; transform: translateY(-8px); transition: opacity .5s, transform .5s; }
.kopf.gescrollt .zeichen { opacity: 1; transform: none; }
/* Beim Scrollen ein heller Streifen hinter dem Schriftzug, damit er nicht über dem Text liegt */
.kopf::before { content: ""; position: absolute; z-index: -1; inset: 0 0 auto; height: 100px; background: linear-gradient(rgba(250,245,236,0.97) 62%, rgba(250,245,236,0)); opacity: 0; transition: opacity .5s; pointer-events: none; }
.kopf.gescrollt::before { opacity: 1; }
.kopf nav { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.kopf nav .knopf, .menue-knopf { padding: 11px 18px; background: rgba(250,245,236,0.78); backdrop-filter: blur(8px); }
.menue-knopf { display: none; }

/* ---------- Bühne: langsame Diashow ---------- */
.buehne { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
/* Hinten: dasselbe Bild groß und weichgezeichnet, mit warmem Schleier – füllt den Bildschirm */
.buehne-hinten { position: absolute; inset: 0; z-index: -2; }
.buehne-hinten > * { position: absolute; inset: -6%; width: 112%; height: 112%; object-fit: cover; filter: blur(34px) saturate(0.9); opacity: 0; transition: opacity 2.4s ease; }
.buehne-hinten > .aktiv { opacity: 1; }
.buehne::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(100deg, rgba(250,245,236,0.88) 0%, rgba(250,245,236,0.62) 45%, rgba(240,223,196,0.42) 100%); }
.buehne-innen { width: 100%; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: clamp(24px, 5vw, 80px); padding: 110px var(--rand) 90px; }
.buehne .name { font-size: clamp(5rem, 13vw, 12rem); margin: -0.15em 0 -0.1em -0.1em; }
.buehne .etikett { margin-top: 14px; padding-left: 0.4em; color: var(--leise); }
/* Vorne: das Bild vollständig, nichts wird abgeschnitten */
.buehne-bild { justify-self: center; display: grid; justify-items: center; }
.dias { display: grid; }
.dias > * { grid-area: 1 / 1; place-self: center; max-width: min(42vw, 560px); max-height: 68vh; width: auto; height: auto; object-fit: contain;
  box-shadow: 0 30px 60px -20px rgba(36,32,28,0.35); opacity: 0; transform: scale(0.985); transition: opacity 1.8s ease, transform 7s ease-out; }
.dias > .aktiv { opacity: 1; transform: scale(1); }
.dias > div { width: min(36vw, 460px); max-height: none; }
.dia-titel { margin-top: 18px; min-height: 1.4em; text-align: center; color: var(--leise); }
.weiter { position: absolute; left: 50%; bottom: 22px; width: 44px; height: 44px; margin-left: -22px; display: grid; place-items: center; border: 1px solid var(--gold); border-radius: 50%; background: rgba(250,245,236,0.6); }
.weiter span { width: 9px; height: 9px; border-right: 1px solid var(--gold-text); border-bottom: 1px solid var(--gold-text); transform: translateY(-2px) rotate(45deg); }

/* ---------- Auswahl Kunstwerke | Texte ---------- */
.auswahl { max-width: 1320px; margin: 0 auto; padding: clamp(80px, 10vw, 140px) var(--rand) 0; }
.schalter { display: flex; justify-content: center; align-items: baseline; gap: clamp(20px, 5vw, 64px); }
.schalter button { position: relative; font: 300 clamp(3rem, 8vw, 6rem)/1 var(--anzeige); color: rgba(36,32,28,0.32); padding: 6px 4px 18px; transition: color .4s; }
.schalter button em { font-style: italic; }
.schalter button::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: 0; height: 1px; background: var(--metall); transform: scaleX(0); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.schalter button[aria-selected="true"] { color: var(--espresso); }
.schalter button[aria-selected="true"]::after { transform: scaleX(1); }
.schalter button:hover { color: var(--espresso); }
.schalter .trenner { font: 300 2.4rem/1 var(--anzeige); color: var(--gold); }

.feld { padding: clamp(40px, 5vw, 64px) 0 clamp(90px, 11vw, 150px); }
.feld[hidden] { display: none; }
.feld.erscheint { animation: erscheinen .7s cubic-bezier(.2,.7,.2,1); }
@keyframes erscheinen { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

/* Reiter als Pillen wie die Kontakt-Knöpfe */
.reiter { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: clamp(32px, 4vw, 48px); }
.reiter button { padding: 12px 20px; border: 1px solid var(--linie); border-radius: 999px; font: 500 0.6875rem/1 var(--klein); letter-spacing: 0.2em; text-transform: uppercase; color: var(--leise); transition: border-color .3s, background .3s, color .3s; }
.reiter button:hover { border-color: var(--gold); color: var(--espresso); }
.reiter button[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: var(--cremeweiss); }
.galerie-kopf { text-align: center; margin-bottom: clamp(28px, 4vw, 48px); }
.galerie-kopf h3 { font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1.1; }
.galerie-kopf .beschreibung { max-width: 560px; margin: 4px auto 0; color: var(--leise); }
.galerie-kopf .beschreibung:empty { display: none; }
.werke .leer, .texte .leer { text-align: center; color: var(--leise); list-style: none; }

/* Werke offen und groß: Spalten wie ein Mosaik, jedes Bild vollständig */
.werke { columns: 3 300px; column-gap: clamp(20px, 3vw, 44px); list-style: none; }
.werk { break-inside: avoid; margin-bottom: clamp(32px, 4vw, 56px); }
.werk button { display: block; width: 100%; text-align: left; }
.werk .bild { width: 100%; height: auto; box-shadow: 0 24px 50px -28px rgba(36,32,28,0.4); transition: transform .9s cubic-bezier(.2,.7,.2,1), box-shadow .9s; }
.werk button:hover .bild { transform: translateY(-6px); box-shadow: 0 34px 60px -28px rgba(36,32,28,0.45); }
.werk h4 { font: 300 1.6rem/1.2 var(--anzeige); margin-top: 16px; }
.werk p { font-size: 0.95rem; color: var(--leise); margin-top: 2px; }

/* Texte als offene Liste mit feinen Linien (wie die Termin-Liste bei LOHR) */
.texte { list-style: none; max-width: 900px; margin: 0 auto; border-top: 1px solid var(--linie); }
.text-zeile { border-bottom: 1px solid var(--linie); }
.text-zeile button { display: grid; grid-template-columns: 150px 1fr auto; gap: 8px 28px; align-items: baseline; width: 100%; padding: clamp(22px, 3vw, 32px) 4px; text-align: left; transition: background .4s; }
.text-zeile button:hover { background: rgba(240,223,196,0.35); }
.text-zeile .datum { font: italic 300 1.25rem/1.3 var(--anzeige); color: var(--gold-text); }
.text-zeile h3 { font: 300 clamp(1.7rem, 3vw, 2.3rem)/1.15 var(--anzeige); }
.text-zeile p { grid-column: 2; color: var(--leise); font-size: 0.98rem; }
.text-zeile .lesen { grid-column: 3; grid-row: 1; font: 500 0.6875rem/1 var(--klein); letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-text); white-space: nowrap; }

/* Linienblume im Hintergrund der Musik-Fläche */
.blume path, .blume circle { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.blume.sichtbar path, .blume.sichtbar circle { animation: zeichnen 4.5s cubic-bezier(.35,.1,.25,1) forwards; }
.blume.sichtbar path:nth-child(even) { animation-delay: .4s; }
@keyframes zeichnen { to { stroke-dashoffset: 0; } }

/* ---------- Musik ---------- */
.musik { background: var(--champagner); }
.musik .blume { position: absolute; z-index: -1; width: clamp(260px, 32vw, 440px); right: 4%; bottom: -12%; opacity: 0.7; }
.musik .musik-text p { margin: 0; }
.musik .musik-text p + p { margin-top: 1em; }

/* ---------- Über mich ---------- */
.ueber { background: var(--champagner-tief); text-align: left; padding-top: clamp(120px, 14vw, 190px); padding-bottom: clamp(120px, 14vw, 190px); }
/* Weiche Wellen oben und unten: oben in der Farbe von „Musik“, unten in der von „Kontakt“ */
.ueber::before, .ueber::after { content: ""; position: absolute; left: 0; right: 0; height: clamp(40px, 6vw, 80px); background-size: 100% 100%; pointer-events: none; }
.ueber::before { top: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23F0DFC4' d='M0 0H1440V34C1200 74 960 78 720 52S240 6 0 40Z'/%3E%3C/svg%3E"); }
.ueber::after { bottom: 0; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath fill='%23E5DED5' d='M0 80H1440V38C1200 6 960 4 720 30S240 76 0 42Z'/%3E%3C/svg%3E"); }
.ueber-innen { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.ueber .ueber-text { margin: 22px 0 0; }
.ueber-text p { margin: 0; }
.ueber-text p + p { margin-top: 1em; }
.ueber-text h4 { font: 300 1.5rem/1.2 var(--anzeige); margin: 1em 0 0.3em; color: var(--espresso); }
.ueber-text blockquote { margin: 1em 0; padding-left: 16px; border-left: 1px solid var(--gold); font-style: italic; }
/* Schwebende Bilder: im eigenen Seitenverhältnis, ohne Überlappung, weicher Schatten, runde Ecken – Bild bleibt vollständig */
.lose-bilder { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 28px); }
.lose-bilder .spalte { flex: 1 1 0; min-width: 0; display: grid; gap: clamp(14px, 2.4vw, 28px); }
.lose-bilder button { display: block; width: 100%; border-radius: clamp(18px, 2.4vw, 28px); overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(36,32,28,0.28), 0 8px 24px -12px rgba(36,32,28,0.12);
  animation: schweben 7s ease-in-out infinite alternate; transition: scale .8s cubic-bezier(.2,.7,.2,1); }
.lose-bilder .bild { width: 100%; height: auto; }
.lose-bilder .spalte:nth-child(2) button:nth-child(1) { animation-delay: -2.5s; }
.lose-bilder .spalte:nth-child(2) button:nth-child(2) { animation-delay: -5s; }
.lose-bilder button:hover { scale: 1.03; }
@keyframes schweben { from { translate: 0 0; } to { translate: 0 -12px; } }

/* ---------- Kontakt ---------- */
.kontakt { background: var(--kaschmir); }

/* ---------- Fuß ---------- */
.fuss { text-align: center; padding: 56px var(--rand) 40px; }
.fuss .schwung { font-size: 3.5rem; }
.fuss .netz { display: flex; justify-content: center; gap: 14px; margin: 18px 0 26px; }
.fuss .netz a { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--gold); border-radius: 50%; color: var(--gold-text); transition: background .4s, color .4s; }
.fuss .netz a:hover { background: var(--gold); color: var(--cremeweiss); }
.fuss .netz svg { width: 19px; height: 19px; }
.fuss small { font: 400 0.75rem/1.6 var(--klein); color: var(--leise); }

/* ---------- Großansicht (Werk / Text) ---------- */
dialog { border: 0; padding: 0; background: var(--cremeweiss); color: var(--espresso); max-width: min(980px, calc(100% - 24px)); max-height: calc(100% - 24px); margin: auto; box-shadow: 0 30px 80px rgba(36,32,28,0.18); }
dialog::backdrop { background: rgba(240, 223, 196, 0.72); backdrop-filter: blur(6px); }
dialog[open] { animation: erscheinen .5s cubic-bezier(.2,.7,.2,1); }
.schliessen { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border-radius: 50%; font: 300 1.6rem/1 var(--anzeige); color: var(--leise); z-index: 2; }
.schliessen:hover { color: var(--espresso); background: var(--champagner); }
.werk-gross { display: grid; grid-template-columns: 1.4fr 1fr; width: min(980px, calc(100vw - 24px)); }
.werk-gross .bild { width: 100%; height: 100%; min-height: 360px; max-height: 82vh; object-fit: contain; }
.werk-gross .angaben { padding: clamp(28px, 4vw, 48px); align-self: center; }
.werk-gross h3 { font: 300 2.2rem/1.15 var(--anzeige); margin-top: 10px; }
.werk-gross p { color: var(--leise); margin-top: 12px; }
.text-gross { padding: clamp(40px, 6vw, 72px) clamp(22px, 6vw, 80px); max-width: 720px; overflow-y: auto; }
.text-gross h3 { font: 300 clamp(2.2rem, 5vw, 3.2rem)/1.1 var(--anzeige); margin: 12px 0 28px; }
.text-gross p { font-size: 1.15rem; line-height: 1.8; }
.text-gross p + p { margin-top: 1.1em; }
.text-gross h4 { font: 300 1.7rem/1.2 var(--anzeige); margin: 1.4em 0 0.5em; }
.text-gross blockquote { margin: 1.2em 0; padding-left: 20px; border-left: 1px solid var(--gold); font: italic 300 1.45rem/1.5 var(--anzeige); color: var(--gold-text); }
.text-gross .ende { font-size: 2.6rem; text-align: right; margin-top: 28px; }

@media (max-width: 860px) {
  .menue-knopf { display: inline-flex; }
  .kopf nav { position: absolute; top: 64px; right: var(--rand); display: none; }
  .kopf.offen nav { display: flex; }
  .kopf .zeichen { font-size: 2rem; }
  .kopf::before { height: 84px; }
  .buehne-innen { grid-template-columns: 1fr; text-align: center; padding-top: 96px; gap: 28px; }
  .buehne .name { margin: 0; font-size: clamp(4.5rem, 22vw, 7rem); }
  .buehne .etikett { padding: 0; }
  .dias > * { max-width: 78vw; max-height: 48vh; }
  .dias > div { width: 62vw; }
  .reiter { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--rand)) 28px; padding: 2px var(--rand); }
  .reiter button { flex: 0 0 auto; }
  .text-zeile button { grid-template-columns: 1fr; }
  .text-zeile p, .text-zeile .lesen { grid-column: 1; grid-row: auto; }
  .ueber { text-align: center; }
  .ueber-innen { grid-template-columns: 1fr; }
  .ueber .ueber-text { margin: 22px auto 0; }
  .werk-gross { grid-template-columns: 1fr; }
  .werk-gross .bild { min-height: 260px; max-height: 55vh; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .blume path, .blume circle { stroke-dashoffset: 0; }
}
