/* Luminist – ein Licht im dunklen Studio.
   Farben und Schriften nur hier ändern. */
@font-face {
  font-family: "Cinzel";
  src: url("/static/fonts/cinzel-wght.woff2") format("woff2-variations");
  font-weight: 400 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/static/fonts/hanken-grotesk-wght.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root,
[data-thema="dunkel"] {
  /* Monochrom. Zwei Modi: Dunkel (Standard) und Hell. */
  --nacht: #121212;           /* Seitenhintergrund */
  --karton: #1c1c1c;          /* Flächen */
  --linie: #343434;
  --licht: #f2f2f2;           /* Text */
  --grau: #a8a8a8;            /* Nebentext */
  --akzent: #ffffff;          /* Hervorhebung, Knöpfe */
  --akzent-text: #111111;     /* Schrift auf Akzent-Flächen */
  --fehler: #f0a59a;
  --bildgrund: #0b0b0b;       /* hinter Bildern im Raster */
  --pswp-grund: #000000;      /* Lightbox */
  --logo-filter: none;        /* Logo ist weiß */
  color-scheme: dark;
}
[data-thema="hell"] {
  --nacht: #f7f7f5;
  --karton: #ffffff;
  --linie: #dddddd;
  --licht: #141414;
  --grau: #5b5b5b;
  --akzent: #111111;
  --akzent-text: #ffffff;
  --fehler: #b3261e;
  --bildgrund: #ededeb;
  --pswp-grund: #ffffff;
  --logo-filter: invert(1);
  color-scheme: light;
}
:root {
  --serif: "Cinzel", "Trajan Pro", Georgia, serif;   /* römische Versalien wie im Logo */
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rand: clamp(1.25rem, 5vw, 4rem);
  --breit: 72rem;
  /* gemeinsame linke Kante für Kopf, Held, Inhalt und Fuß */
  --kante: max(var(--rand), calc((100% - var(--breit)) / 2));
  --text: 38rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  transition: background-color .25s ease, color .25s ease;
  background: var(--nacht);
  color: var(--licht);
  font: 450 1.0625rem/1.65 var(--sans);
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: color-mix(in srgb, var(--akzent) 60%, transparent); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--akzent); }
:focus-visible { outline: 2px solid var(--akzent); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.15; margin: 0 0 .5em; letter-spacing: .02em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.8rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }

.skip { position: absolute; left: -999px; top: .5rem; background: var(--licht); color: var(--nacht); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: .5rem; }

/* Kopf */
.kopf {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap;
  padding: 1.25rem var(--kante);
  position: relative; z-index: 2;
}
.marke { display: inline-block; text-decoration: none; line-height: 0; }
.marke img { height: clamp(3.25rem, 6vw, 4.75rem); width: auto; filter: var(--logo-filter); }
.kopf__rechts { display: flex; align-items: center; gap: .5rem 1.5rem; flex-wrap: wrap; }

/* Schalter Dunkel / Hell / Grau */
.thema { display: inline-flex; border: 1px solid var(--linie); border-radius: 999px; padding: 2px; gap: 2px; }
.thema a { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; text-decoration: none; }
.thema a span { width: .9rem; height: .9rem; border-radius: 50%; border: 1.5px solid var(--licht); }
.thema a[data-wert="dunkel"] span { background: #121212; }
.thema a[data-wert="hell"] span { background: #f7f7f5; }
.thema a[aria-current] { box-shadow: inset 0 0 0 1.5px var(--licht); }
.thema a:hover span { transform: scale(1.12); }
.nav { display: flex; gap: 1.5rem; font-size: .975rem; }
.nav a { text-decoration: none; color: var(--grau); padding-block: .5rem; }
.nav a:hover, .nav a[aria-current] { color: var(--licht); }
.nav a[aria-current] { box-shadow: inset 0 -1px 0 var(--akzent); }

/* Fotos und Platzhalter */
.foto { display: block; position: relative; overflow: hidden; background: var(--karton); }
.foto img { width: 100%; height: 100%; object-fit: cover; }
/* Kein "Bild sichern" per langem Drücken (iOS) und kein Markieren */
.foto img, .g-bild img, .pswp img { -webkit-touch-callout: none; -webkit-user-select: none; user-select: none; -webkit-user-drag: none; }
/* Foto im Original-Seitenverhältnis, nichts abgeschnitten (width/height-Attribute geben das Verhältnis vor) */
.foto--natur { background: none; }
.foto--natur img { height: auto; object-fit: initial; }
.foto--leer {
  background:
    radial-gradient(ellipse 55% 65% at 30% 25%, color-mix(in srgb, var(--licht) 18%, transparent), transparent 70%),
    radial-gradient(ellipse 30% 35% at 33% 28%, color-mix(in srgb, var(--licht) 10%, transparent), transparent 70%),
    var(--karton);
}
.foto--leer::after {
  content: "Foto folgt"; position: absolute; right: 1rem; bottom: .85rem;
  font-size: .8rem; color: var(--grau);
}

/* Startseite: Held */
.held { position: relative; min-height: min(84svh, 58rem); display: grid; align-items: end; isolation: isolate; }
.held__bild { position: absolute; inset: 0; z-index: -1; }
.held__bild::before {
  /* dunkelt unten links ab, damit der Text auf jedem Foto lesbar bleibt */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, color-mix(in srgb, var(--nacht) 94%, transparent),
    color-mix(in srgb, var(--nacht) 55%, transparent) 22%, transparent 52%);
}
.held__folie { position: absolute; inset: 0; opacity: 0; transition: opacity var(--ueberblenden, .7s) ease; }
/* Takt der Bildfolge: schmaler Balken unten, füllt sich bis zum nächsten Bild */
.held__takt { position: absolute; inset: auto 0 0; height: 3px; z-index: 3; background: color-mix(in srgb, var(--licht) 18%, transparent); }
.held__takt span { display: block; height: 100%; width: 0; background: var(--licht); }
.held__takt.laeuft span { animation: takt var(--dauer, 2s) linear forwards; }
@keyframes takt { from { width: 0; } to { width: 100%; } }
.held__folie.aktiv { opacity: 1; }
.held__folie.foto--leer::after { z-index: 2; }
.held__bild { animation: licht-an .8s ease-out both; }
.held__folie img { object-position: 50% 28%; }  /* Gesicht im Querformat-Ausschnitt halten */
@keyframes licht-an { from { opacity: 0; } to { opacity: 1; } }
.held__text { padding: 6rem var(--kante) clamp(3rem, 8vh, 6rem); position: relative; z-index: 2; }
.held__text > * { max-width: 60rem; }
.held__titel { font-size: clamp(2.4rem, 7.5vw, 5.75rem); line-height: 1.02; letter-spacing: .03em; margin-bottom: .35em; font-weight: 500; }
.held__intro { max-width: var(--text); font-size: 1.15rem; color: var(--licht); }
.held__intro p:last-child { margin-bottom: 0; }

/* Studio / Outdoor */
.sparten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); gap: 2px; background: var(--nacht); }
.sparte { position: relative; display: block; aspect-ratio: 4 / 5; max-height: 85svh; width: 100%; text-decoration: none; isolation: isolate; overflow: hidden; }
.sparte__bild { position: absolute; inset: 0; z-index: -1; transition: filter .5s ease; filter: brightness(.82); }
.sparte:hover .sparte__bild, .sparte:focus-visible .sparte__bild { filter: brightness(1); }
.sparte__text {
  position: absolute; inset: auto 0 0; padding: 4rem clamp(1.25rem, 4vw, 3rem) 2rem;
  background: linear-gradient(to top, color-mix(in srgb, var(--nacht) 85%, transparent), transparent);
  display: grid; gap: .35rem;
}
.sparte__name { font-family: var(--serif); font-weight: 500; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.1; letter-spacing: .03em; }
.sparte__info { color: var(--licht); opacity: .85; }

/* Blöcke */
.block { padding: clamp(3.5rem, 9vw, 7rem) var(--rand); max-width: calc(var(--breit) + 2 * var(--rand)); margin-inline: auto; }
.block--seite { padding-top: clamp(2rem, 6vw, 4rem); }
.block__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.block__kopf h2 { margin: 0; }
.mehr { color: var(--grau); }
.prosa { max-width: var(--text); }
.prosa h2 { margin-top: 2em; font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.prosa ol { counter-reset: schritt; list-style: none; padding: 0; margin: 0 0 1.5em; }
.prosa ol > li { counter-increment: schritt; position: relative; padding: .9rem 0 .9rem 3.25rem; border-top: 1px solid var(--linie); }
.prosa ol > li::before { content: counter(schritt); position: absolute; left: 0; top: .55rem; font-family: var(--serif); font-weight: 600; font-size: 1.5rem; line-height: 1; color: var(--akzent); }
.prosa ul { padding-left: 1.1em; }
.prosa li::marker { color: var(--akzent); }

.todo {
  border: 1px dashed color-mix(in srgb, var(--akzent) 55%, transparent);
  color: var(--grau); font-size: .95rem; padding: .8rem 1rem; border-radius: 4px; max-width: var(--text);
}
.todo::before { content: "Platzhalter: "; color: var(--licht); font-weight: 600; }
.todo-inline { border: 1px dashed color-mix(in srgb, var(--akzent) 55%, transparent); padding: 0 .35em; border-radius: 3px; color: var(--grau); }

/* Aktionstage */
.termine { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--linie); }
.termin__link {
  display: grid; grid-template-columns: 4.5rem 1fr auto; gap: 1rem 1.5rem; align-items: center;
  padding: 1.25rem 0; border-top: 1px solid var(--linie); text-decoration: none;
}
.termin__link:hover .termin__titel { text-decoration: underline; text-decoration-color: var(--akzent); }
.termin__datum { display: grid; justify-items: start; line-height: 1; }
.termin__tag { font-family: var(--serif); font-weight: 600; font-size: 2.2rem; }
.termin__monat { font-size: .85rem; color: var(--grau); margin-top: .3rem; }
.termin__text { display: grid; gap: .15rem; }
.termin__titel { font-size: 1.15rem; font-weight: 500; }
.termin__meta, .termin__sparte { color: var(--grau); font-size: .95rem; }
.termin__preis { color: var(--akzent); font-variant-numeric: tabular-nums; }
@media (max-width: 34em) {
  .termin__link { grid-template-columns: 3.5rem 1fr; }
  .termin__preis { grid-column: 2; }
}
.leer { border-top: 1px solid var(--linie); padding-top: 1.25rem; color: var(--grau); }
.leer > * { max-width: var(--text); }
.leer p:first-child { color: var(--licht); font-size: 1.15rem; }

.filter { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.5rem 0 2rem; }
.filter a { text-decoration: none; padding: .45rem 1rem; border: 1px solid var(--linie); border-radius: 999px; color: var(--grau); }
.filter a[aria-current] { border-color: var(--akzent); color: var(--licht); }

.knopf {
  display: inline-block; padding: .85rem 1.5rem; border-radius: 3px;
  background: var(--akzent); color: var(--akzent-text); text-decoration: none; font-weight: 600;
}
button.knopf { border: 0; font: inherit; font-weight: 600; cursor: pointer; min-height: 3.25rem; }
.knopf:hover { background: color-mix(in srgb, var(--akzent) 82%, var(--nacht)); }

.insta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin: 0 var(--rand) clamp(3rem, 8vw, 6rem); padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--linie); border-radius: 4px; max-width: var(--breit);
}
@media (min-width: 80rem) { .insta-band { margin-inline: auto; } }
.insta-band p { margin: 0; font-family: var(--serif); font-weight: 500; font-size: clamp(1.1rem, 2vw, 1.4rem); max-width: 36rem; line-height: 1.35; }

/* Formulare (Widerruf, Buchung) */
.formular { display: grid; gap: 1.1rem; max-width: var(--text); margin-top: 2rem; }
.formular fieldset { border: 0; padding: 0; margin: .5rem 0 0; display: grid; gap: 1.1rem; }
.formular legend { font-family: var(--serif); font-weight: 500; font-size: 1.25rem; margin-bottom: .6rem; }
.formular label { display: grid; gap: .35rem; color: var(--grau); }
.formular small { font-size: .85rem; }
.formular input:not([type=checkbox]):not([type=radio]):not([type=hidden]), .formular textarea {
  font: inherit; color: var(--licht); background: var(--karton); border: 1px solid var(--linie);
  border-radius: 3px; padding: .75rem .9rem; min-height: 3rem; width: 100%;
}
.formular textarea { min-height: 6rem; resize: vertical; }
.formular input:focus-visible, .formular textarea:focus-visible { outline: 2px solid var(--akzent); outline-offset: 1px; }
.formular .haken { display: grid; grid-template-columns: 1.4rem 1fr; gap: .75rem; align-items: start; color: var(--licht); }
.formular .haken input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--akzent); }
.formular .knopf { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 600; min-height: 3.25rem; }
.hinweis { border: 1px solid var(--linie); border-left: 3px solid var(--akzent); border-radius: 3px; padding: 1rem 1.25rem; max-width: var(--text); background: var(--karton); }
.hinweis p { margin: 0; } .hinweis p + p { margin-top: .5rem; }
.hinweis--fehler { border-left-color: #c0392b; }

/* Aktionstag mit Buchung */
.aktionstag { max-width: calc(var(--text) + 2 * var(--rand)); }
.aktionstag__sparte { margin: 0 0 .4rem; color: var(--grau); text-transform: uppercase; letter-spacing: .12em; font-size: .85rem; }
.aktionstag__sparte a { text-decoration: none; }
.aktionstag__fakten { margin: 1.5rem 0 .75rem; }
.aktionstag__fakten div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .7rem 0; border-top: 1px solid var(--linie); }
.aktionstag__fakten dt { color: var(--grau); }
.aktionstag__fakten dd { margin: 0; }
.aktionstag__text { margin-top: 2rem; }
.aktionstag__buchen { margin-top: clamp(2.5rem, 6vw, 4rem); }
.aktionstag__bilder { display: grid; gap: .75rem; margin-top: 2rem; align-items: start; }
@media (min-width: 45em) { .aktionstag__bilder { grid-template-columns: 1fr 1fr; } }
.aktionstag__bilder .foto { border-radius: 2px; }
.slots__liste { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: .6rem; }
.slot { position: relative; display: grid !important; gap: .1rem !important; justify-items: center; padding: .8rem .5rem;
  border: 1px solid var(--linie); border-radius: 3px; background: var(--karton); cursor: pointer; min-height: 3.5rem; }
.slot input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.slot__zeit { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; color: var(--licht); }
.slot__info { font-size: .8rem; }
.slot:has(input:checked) { border-color: var(--akzent); outline: 2px solid var(--akzent); }
.slot:has(input:focus-visible) { outline: 2px solid var(--akzent); outline-offset: 2px; }
.slot--belegt { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.buchung__summe { margin: .5rem 0 0; font-size: 1.1rem; }

/* Termin anfragen (WhatsApp/Mail) */
.anfrage { margin-top: 2.5rem; max-width: 46rem; }
.anfrage__titel { font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin: 0 0 .4rem; }
.anfrage__text { margin: 0 0 1rem; color: var(--grau); }
.anfrage__knoepfe { display: flex; gap: .75rem; flex-wrap: wrap; }
.knopf--rahmen { background: transparent; color: var(--licht); border: 1px solid var(--linie); }
.knopf--rahmen:hover { background: transparent; border-color: var(--akzent); }

/* Benachrichtigung neue Aktionstage */
.abo { margin-top: 2.5rem; padding: 1.5rem clamp(1.25rem, 4vw, 2rem); border: 1px solid var(--linie); border-radius: 4px; background: var(--karton); max-width: 46rem; }
.abo__titel { font-size: clamp(1.15rem, 2.2vw, 1.4rem); margin: 0 0 .5rem; }
.abo__text { margin: 0 0 1rem; color: var(--grau); }
.abo__form { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: .75rem; }
.abo__feld { flex: 1 1 16rem; }
.abo__feld input { width: 100%; font: inherit; color: var(--licht); background: var(--nacht); border: 1px solid var(--linie); border-radius: 3px; padding: .75rem .9rem; min-height: 3.25rem; }
.abo__feld input:focus-visible { outline: 2px solid var(--akzent); outline-offset: 1px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Sparten-Seite (Flyer) */
.flyer { max-width: calc(var(--breit) + 2 * var(--rand)); margin-inline: auto; padding: 0 var(--rand) 2rem; }
.flyer__kopf { display: grid; gap: 1.5rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.flyer__bild { border-radius: 2px; }
.flyer__titel h1 { font-size: clamp(2.2rem, 6vw, 4.5rem); line-height: 1.05; letter-spacing: .03em; margin-bottom: .25em; }
.flyer__unter { color: var(--grau); font-size: 1.2rem; margin: 0; }
.flyer__einleitung { margin-top: 1.5rem; font-size: 1.1rem; }
.flyer__einleitung > :last-child, .flyer__text > :last-child { margin-bottom: 0; }
.flyer__text > h2:first-child { margin-top: 0; }
@media (min-width: 60em) {
  /* Bild in voller Höhe im Original-Seitenverhältnis; die Textspalte nimmt den Rest der Breite */
  .flyer__kopf { grid-template-columns: auto minmax(20rem, 1fr); column-gap: 4rem; align-items: center; }
  .flyer__bild img { width: auto; max-width: min(60vw, 46rem); max-height: min(80svh, 46rem); }
  .flyer { display: grid; grid-template-columns: minmax(0, 1fr) 22rem; column-gap: 4rem; }
  .flyer__kopf, .flyer__termine, .flyer__druck-fuss { grid-column: 1 / -1; }
  .paket { align-self: start; position: sticky; top: 1.5rem; }
}
.paket { border: 1px solid var(--linie); border-radius: 4px; padding: 1.5rem; background: var(--karton); margin-block: 1rem 0; }
.paket h2 { font-size: 1.25rem; }
.paket__liste { margin: 0 0 1rem; }
.paket__liste div { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 0; border-top: 1px solid var(--linie); }
.paket__liste dt { color: var(--grau); }
.paket__liste dd { margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.paket__liste div:first-child dd { font-family: var(--serif); font-weight: 600; font-size: 1.4rem; color: var(--akzent); line-height: 1.2; }
.paket__hinweis { font-size: .85rem; color: var(--grau); margin: 0; }
.flyer__termine { padding-inline: 0; max-width: none; margin: 0; }
.flyer__bilder { display: grid; gap: .75rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.flyer__zusatz { border-radius: 2px; }
@media (min-width: 40em) { .flyer__bilder--2 { grid-template-columns: 1fr 1fr; align-items: start; } }
@media (min-width: 60em) { .flyer__bilder { grid-column: 1 / -1; } }
.flyer__druck-fuss { display: none; }

/* Fuß */
.fuss {
  border-top: 1px solid var(--linie); padding: 2.5rem var(--kante) 3rem;
  display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); color: var(--grau); font-size: .95rem;
}
.fuss p { margin: 0; }
.insta { font-family: var(--serif); font-weight: 600; font-size: 1.3rem; color: var(--licht); text-decoration: none; }
.fuss__logo img { height: 3.25rem; width: auto; filter: var(--logo-filter); opacity: .7; transition: opacity .2s; }
.fuss__logo:hover img { opacity: 1; }
.fuss__recht { display: flex; flex-direction: column; gap: .35rem; }
.fuss__recht a { text-decoration: none; }
.fuss__recht a:hover { color: var(--licht); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Hell/Grau: Fotos nie überblenden – Text steht unter dem Bild statt darauf */
[data-thema="hell"] .held{ display: block; min-height: 0; }
[data-thema="hell"] .held__bild{ position: relative; height: min(78svh, 58rem); }
[data-thema="hell"] .held__bild::before{ display: none; }
[data-thema="hell"] .held__text{ padding-top: clamp(2rem, 5vw, 3.5rem); }
[data-thema="hell"] .sparte{ aspect-ratio: auto; max-height: none; display: grid; }
[data-thema="hell"] .sparte__bild{ position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: 80svh; filter: none; }
[data-thema="hell"] .sparte__text{ position: static; background: none; padding: 1.25rem clamp(1.25rem, 4vw, 3rem) 2rem; }
