/* ==========================================================================
   L. Cosmetics by Leonie – style.css
   Mobile first, ohne Framework. Schriften lokal (OFL-Lizenzen im Ordner fonts).
   ========================================================================== */

/* ---------- Schriften ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-var.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin-var-italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/inter-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Variablen ---------- */
:root {
  --creme: #faf7f3;
  --weiss: #ffffff;
  --nude: #f3ece4;
  --sand: #e9ded2;
  --linie: #e2d6c9;
  --text: #2f2621;
  --text-leise: #5f544d;
  --braun: #6b5444;
  --braun-dunkel: #4b3a2f;
  --gold: #a8843f;
  --gold-text: #86662a;
  --gold-hell: #d6bd86;
  --dunkel: #2b221c;
  --dunkel-text: #e9ded2;

  --schrift-serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --schrift-sans: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --breite: 72rem;
  --rand: 1rem;
  --radius: 6px;
  --abstand: clamp(4rem, 9vw, 7rem);
  --header-hoehe: 4.5rem;
  --schatten: 0 18px 40px -24px rgba(75, 58, 47, .45);
}
@media (min-width: 40em) {
  :root { --rand: 1.5rem; }
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-hoehe) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  margin: 0;
  background: var(--creme);
  color: var(--text);
  font-family: var(--schrift-sans);
  font-size: 1rem;
  line-height: 1.7;
  font-feature-settings: "kern", "liga";
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--braun-dunkel); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--gold-text); }
p { margin: 0 0 1.1em; }
ul, ol, dl { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  margin: 0 0 .5em;
  font-family: var(--schrift-serif);
  font-weight: 500;
  line-height: 1.12;
  color: var(--braun-dunkel);
  letter-spacing: .005em;
  font-variant-numeric: lining-nums;
}
h1 { font-size: clamp(2.4rem, 7vw, 4rem); }
h2 { font-size: clamp(2.1rem, 5.2vw, 3.2rem); }
h3 { font-size: clamp(1.75rem, 3.6vw, 2.25rem); }
h4 { font-size: 1.35rem; font-style: italic; font-weight: 500; }
strong { font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--gold-text);
  outline-offset: 3px;
  border-radius: 2px;
}
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: var(--rand);
  top: -4rem;
  z-index: 100;
  padding: .75rem 1.25rem;
  background: var(--braun-dunkel);
  color: var(--creme);
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { top: .75rem; color: var(--creme); }

.container {
  width: 100%;
  max-width: var(--breite);
  margin-inline: auto;
  padding-inline: var(--rand);
}
.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Bausteine ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 1rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--gold);
}
.lead { font-size: 1.075rem; color: var(--text-leise); }
.section { padding-block: var(--abstand); }
.section--weiss { background: var(--weiss); }
.section--nude { background: var(--nude); }
.section__kopf { max-width: 44rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.section__kopf--mitte { margin-inline: auto; text-align: center; }
.section__kopf--mitte .eyebrow::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: var(--gold);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  min-height: 3rem;
  padding: .75rem 1.5rem;
  border: 1px solid var(--braun-dunkel);
  border-radius: 999px;
  background: var(--braun-dunkel);
  color: var(--creme);
  font: 600 .95rem/1.2 var(--schrift-sans);
  letter-spacing: .02em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--braun); border-color: var(--braun); color: var(--weiss); }
.btn--rand { background: transparent; color: var(--braun-dunkel); }
.btn--rand:hover { background: var(--braun-dunkel); color: var(--creme); }
.btn-reihe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 243, .94);
  border-bottom: 1px solid var(--linie);
}
@supports (backdrop-filter: blur(8px)) {
  .site-header { background: rgba(250, 247, 243, .82); backdrop-filter: blur(10px); }
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-hoehe);
}
.brand { display: flex; align-items: center; gap: .75rem; margin-right: auto; text-decoration: none; }
.brand img { width: 78px; height: auto; }
.brand__text {
  display: none;
  font-family: var(--schrift-serif);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--braun-dunkel);
}
.brand__text small {
  display: block;
  font-family: var(--schrift-sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-text);
}
@media (min-width: 30em) {
  .brand__text { display: block; }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  color: var(--braun-dunkel);
  text-decoration: none;
}
.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 1.4rem;
  height: 1.5px;
  background: currentColor;
  transition: transform .25s, opacity .25s;
}
.nav-toggle__icon { position: relative; }
.nav-toggle__icon::before,
.nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -7px; }
.nav-toggle__icon::after { top: 7px; }
.nav-offen .nav-toggle__icon { background: transparent; }
.nav-offen .nav-toggle__icon::before { transform: translateY(7px) rotate(45deg); }
.nav-offen .nav-toggle__icon::after { transform: translateY(-7px) rotate(-45deg); }

.nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--creme);
  border-bottom: 1px solid var(--linie);
  box-shadow: var(--schatten);
}
.nav:target,
.nav-offen .nav { display: block; }
.nav__list { list-style: none; padding: .5rem var(--rand) 1.25rem; }
.nav__list a {
  display: block;
  padding: .85rem 0;
  border-bottom: 1px solid var(--linie);
  font-family: var(--schrift-serif);
  font-size: 1.5rem;
  color: var(--braun-dunkel);
  text-decoration: none;
}
.nav__list li:last-child a { border-bottom: 0; }
.nav__list a:hover { color: var(--gold-text); }
.header-termin { display: none; }

@media (min-width: 64em) {
  .nav-toggle { display: none; }
  .nav,
  .nav:target {
    display: block;
    position: static;
    background: none;
    border: 0;
    box-shadow: none;
  }
  .nav__list { display: flex; gap: 2rem; padding: 0; }
  .nav__list a {
    padding: .5rem 0;
    border: 0;
    font-family: var(--schrift-sans);
    font-size: .9rem;
    font-weight: 500;
    letter-spacing: .04em;
    position: relative;
  }
  .nav__list a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: .2rem;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform .25s;
  }
  .nav__list a:hover::after,
  .nav__list a:focus-visible::after { transform: scaleX(1); }
  .header-termin { display: inline-flex; min-height: 2.6rem; padding: .55rem 1.25rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3.5rem, 8vw, 6rem);
  background-color: var(--creme);
  background-image: url("/img/marke/marmor.jpg");
  background-image: image-set(url("/img/marke/marmor.webp") type("image/webp"), url("/img/marke/marmor.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
}
.hero__inner { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: center; }
.hero h1 { max-width: 13em; }
.hero h1 em { font-style: italic; color: var(--braun); }
.hero__text .lead { max-width: 34rem; }
.hero__slogan {
  margin: 2rem 0 0;
  font-family: var(--schrift-serif);
  font-size: .95rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--braun);
}
@media (min-width: 30em) {
  .hero__slogan { font-size: 1.15rem; letter-spacing: .28em; }
}
.hero__bild { margin: 0; justify-self: center; width: min(100%, 25rem); padding: .85rem .85rem 0 0; }
.hero__rahmen { position: relative; }
.hero__rahmen::before {
  content: "";
  position: absolute;
  inset: -.85rem -.85rem .85rem .85rem;
  border: 1px solid var(--gold);
  border-radius: 999px 999px var(--radius) var(--radius);
}
.hero__bild img {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 999px 999px var(--radius) var(--radius);
  box-shadow: var(--schatten);
}
.hero__bild figcaption {
  position: relative;
  margin-top: 1rem;
  text-align: center;
  font-family: var(--schrift-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--braun);
}
@media (min-width: 56em) {
  .hero__inner { grid-template-columns: 1.15fr .85fr; }
  .hero__bild { justify-self: end; }
}

/* ---------- Leistungen ---------- */
.leistungen { display: grid; gap: clamp(3.5rem, 8vw, 6rem); }
.leistung { display: grid; gap: 2rem; align-items: start; }
.leistung__bild { margin: 0; }
.leistung__bild img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.leistung__bild--oben img { object-position: 50% 25%; }
.leistung__bild--links img { object-position: 30% 50%; }
.leistung__text > p { color: var(--text-leise); }
@media (min-width: 56em) {
  .leistung { grid-template-columns: 5fr 7fr; gap: clamp(2.5rem, 5vw, 4.5rem); }
  .leistung--gespiegelt { grid-template-columns: 7fr 5fr; }
  .leistung--gespiegelt .leistung__bild { order: 2; }
  .leistung__bild { position: sticky; top: calc(var(--header-hoehe) + 2rem); }
  .leistung__bild img { aspect-ratio: 4 / 5; }
}

.preise {
  margin-top: 2rem;
  padding: clamp(1.25rem, 4vw, 2rem);
  background: var(--weiss);
  border: 1px solid var(--linie);
  border-radius: var(--radius);
}
.section--weiss .preise { background: var(--creme); }
.preise h4 { margin: 0 0 .5rem; color: var(--braun); }
.preise h4:not(:first-child) { margin-top: 1.75rem; }
.preisliste { display: grid; gap: .1rem; }
.preisliste__zeile {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  padding-block: .4rem;
}
.preisliste__zeile::after {
  content: "";
  order: 2;
  flex: 1 1 1.5rem;
  min-width: 1.5rem;
  border-bottom: 1px dotted var(--gold);
  transform: translateY(-.3em);
}
.preisliste dt { order: 1; flex: 0 1 auto; }
.preisliste dd {
  order: 3;
  margin: 0;
  flex: none;
  font-family: var(--schrift-serif);
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--braun-dunkel);
  white-space: nowrap;
  font-variant-numeric: lining-nums tabular-nums;
}
.preisliste dd del {
  margin-right: .35rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-leise);
}
.preisliste dt small { display: block; font-size: .85rem; color: var(--text-leise); }
.preise__hinweis {
  margin: .75rem 0 0;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.preise__trenner { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--linie); }

.termin-band {
  margin-top: clamp(3.5rem, 8vw, 5.5rem);
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: var(--radius);
  background: var(--dunkel);
  color: var(--dunkel-text);
  text-align: center;
}
.termin-band h3 { color: var(--creme); }
.termin-band .eyebrow { color: var(--gold-hell); }
.termin-band .eyebrow::before,
.termin-band .eyebrow::after { content: ""; width: 2.25rem; height: 1px; background: var(--gold-hell); }
.termin-band p { max-width: 36rem; margin-inline: auto; }
.termin-band .btn-reihe { justify-content: center; }
.termin-band .btn { background: var(--creme); border-color: var(--creme); color: var(--braun-dunkel); }
.termin-band .btn:hover { background: var(--gold-hell); border-color: var(--gold-hell); color: var(--dunkel); }
.termin-band .btn--rand { background: transparent; color: var(--creme); }
.termin-band .btn--rand:hover { background: var(--creme); color: var(--braun-dunkel); }
.termin-band :focus-visible { outline-color: var(--gold-hell); }

/* ---------- Studio ---------- */
.studio-intro { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 6vw, 3.5rem); }
.studio-intro > div > p { color: var(--text-leise); }
.fakten { list-style: none; display: grid; gap: .9rem; align-content: start; }
.fakten li { display: flex; gap: .85rem; align-items: flex-start; }
.fakten .icon { margin-top: .2rem; color: var(--gold-text); }
@media (min-width: 56em) {
  .studio-intro { grid-template-columns: 7fr 5fr; gap: 4rem; align-items: end; }
  .studio-intro .section__kopf { margin-bottom: 0; }
}

/* ---------- Galerien ---------- */
.galerie {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .5rem;
}
@media (min-width: 40em) {
  .galerie { grid-template-columns: repeat(3, 1fr); gap: .75rem; }
}
@media (min-width: 64em) {
  .galerie { grid-template-columns: repeat(4, 1fr); }
}
.galerie__link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--sand);
}
.galerie__link img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform .5s ease, opacity .3s;
}
.galerie--quadrat .galerie__link img { aspect-ratio: 1 / 1; }
.galerie__link:hover img { transform: scale(1.04); }
.galerie__link:focus-visible { outline-offset: 2px; }

.mehr { margin-top: .75rem; }
.mehr > summary {
  display: flex;
  justify-content: center;
  list-style: none;
  cursor: pointer;
}
.mehr > summary::-webkit-details-marker { display: none; }
.mehr > summary > span {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 3rem;
  padding: .75rem 1.5rem;
  border: 1px solid var(--braun-dunkel);
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  color: var(--braun-dunkel);
  transition: background-color .2s, color .2s;
}
.mehr > summary:hover > span { background: var(--braun-dunkel); color: var(--creme); }
.mehr > summary:focus-visible { outline: 0; }
.mehr > summary:focus-visible > span { outline: 2px solid var(--gold-text); outline-offset: 3px; }
.mehr > summary .icon { transition: transform .25s; }
.mehr[open] > summary { margin-bottom: .75rem; }
.mehr[open] > summary .icon { transform: rotate(180deg); }
.mehr__zu { display: none; }
.mehr[open] .mehr__auf { display: none; }
.mehr[open] .mehr__zu { display: inline; }

/* ---------- Kundenbilder ---------- */
.vorher-nachher {
  margin: 0 0 clamp(2.5rem, 6vw, 3.5rem);
}
.vorher-nachher__bilder { display: grid; gap: .5rem; }
@media (min-width: 40em) {
  .vorher-nachher__bilder { grid-template-columns: 1fr 1fr; gap: .75rem; }
}
.vorher-nachher__bild { position: relative; margin: 0; }
.vorher-nachher__bild img { width: 100%; border-radius: var(--radius); }
.vorher-nachher__label {
  position: absolute;
  left: .75rem;
  top: .75rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: rgba(250, 247, 243, .92);
  color: var(--braun-dunkel);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.vorher-nachher > figcaption {
  margin-top: .85rem;
  text-align: center;
  font-family: var(--schrift-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--braun);
}

/* ---------- Kontakt ---------- */
.kontakt { display: grid; gap: clamp(2.5rem, 6vw, 4rem); }
.kontakt-liste { list-style: none; display: grid; gap: 1.35rem; }
.kontakt-liste li { display: flex; gap: 1rem; align-items: flex-start; }
.kontakt-liste__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex: none;
  border: 1px solid var(--linie);
  border-radius: 50%;
  background: var(--weiss);
  color: var(--gold-text);
}
.kontakt-liste__label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.kontakt-liste__wert { display: block; font-size: 1.05rem; }
.kontakt-liste__wert a { overflow-wrap: anywhere; }
.kontakt-liste__zusatz { display: block; margin-top: .2rem; font-size: .9rem; color: var(--text-leise); }
.kontakt__bild { margin: 0; }
.kontakt__bild img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.kontakt__bild figcaption { margin-top: .75rem; font-size: .9rem; color: var(--text-leise); }
@media (min-width: 56em) {
  .kontakt { grid-template-columns: 7fr 5fr; align-items: start; }
}

/* ---------- Footer ---------- */
.site-footer {
  padding-block: clamp(3.5rem, 7vw, 5rem) 6rem;
  background: var(--dunkel);
  color: var(--dunkel-text);
  font-size: .95rem;
}
.site-footer a { color: var(--dunkel-text); }
.site-footer a:hover { color: var(--gold-hell); }
.site-footer :focus-visible { outline-color: var(--gold-hell); }
.site-footer h2 {
  margin-bottom: 1rem;
  font-family: var(--schrift-sans);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-hell);
}
.footer__raster { display: grid; gap: 2.5rem; }
.footer__logo { width: 150px; margin-bottom: 1.25rem; }
.footer__liste { list-style: none; display: grid; gap: .5rem; }
.footer__unten {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(233, 222, 210, .18);
  font-size: .85rem;
}
.footer__unten ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.5rem; }
.site-footer--kurz { padding-block: 1.5rem 5.5rem; }
.site-footer--kurz .footer__unten { margin-top: 0; border-top: 0; }
address { font-style: normal; }
@media (min-width: 48em) {
  .footer__raster { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* ---------- WhatsApp-Schaltfläche ---------- */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 3.5rem;
  padding: 0 1rem;
  border: 1px solid rgba(250, 247, 243, .45);
  border-radius: 999px;
  background: var(--braun-dunkel);
  color: var(--creme);
  box-shadow: 0 10px 30px -10px rgba(43, 34, 28, .6);
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  transition: background-color .2s, transform .2s;
}
.wa-float .icon { width: 1.6rem; height: 1.6rem; }
.wa-float:hover { background: var(--braun); color: var(--weiss); }
.wa-float__text { display: none; }
@media (min-width: 40em) {
  .wa-float { right: 1.5rem; bottom: 1.5rem; padding: 0 1.4rem 0 1.1rem; }
  .wa-float__text { display: inline; }
}

/* ---------- Rechtstexte ---------- */
.rechtstext { max-width: 46rem; }
.rechtstext h1 { margin-bottom: 1.5rem; }
.rechtstext h2 { margin-top: 2.5rem; font-size: clamp(1.7rem, 4vw, 2.2rem); }
.rechtstext h3 { margin-top: 1.75rem; font-size: 1.5rem; }
.rechtstext h4 { margin-top: 1.25rem; font-size: 1.25rem; }
.rechtstext ul { padding-left: 1.25rem; margin-bottom: 1.1em; }
.rechtstext li { margin-bottom: .35rem; }
.rechtstext a { overflow-wrap: anywhere; }

/* ---------- 404 ---------- */
.fehlerseite {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  background-color: var(--creme);
  background-image: url("/img/marke/marmor.jpg");
  background-image: image-set(url("/img/marke/marmor.webp") type("image/webp"), url("/img/marke/marmor.jpg") type("image/jpeg"));
  background-size: cover;
  background-position: center;
}
.fehlerseite__zahl {
  margin: 0;
  font-family: var(--schrift-serif);
  font-size: clamp(5rem, 22vw, 9rem);
  font-weight: 400;
  line-height: 1;
  color: var(--gold-text);
}
.fehlerseite p { max-width: 34rem; margin-inline: auto; color: var(--text-leise); }
.fehlerseite .btn-reihe { justify-content: center; }

/* ---------- Lightbox (nur mit JavaScript) ---------- */
.lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100vh;
  height: 100dvh;
  max-height: 100dvh;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(30, 23, 19, .96);
  color: var(--creme);
}
.lightbox::backdrop { background: rgba(30, 23, 19, .85); }
html.lightbox-offen { overflow: hidden; }
.lightbox[open] {
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.lightbox__kopf {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .5rem .75rem .5rem 1.25rem;
}
.lightbox__zaehler { margin: 0; font-size: .9rem; letter-spacing: .08em; }
.lightbox__buehne {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 0 .75rem;
  touch-action: pan-y;
}
.lightbox__bild {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transition: opacity .25s;
}
.lightbox__bild.ist-geladen { opacity: 1; }
.lightbox__text {
  margin: 0;
  padding: .75rem 1.25rem 1.25rem;
  text-align: center;
  font-size: .9rem;
  color: var(--dunkel-text);
}
.lightbox__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(250, 247, 243, .1);
  color: var(--creme);
  cursor: pointer;
}
.lightbox__btn:hover { background: rgba(250, 247, 243, .22); }
.lightbox__btn svg { width: 1.5rem; height: 1.5rem; }
.lightbox__btn:focus-visible { outline-color: var(--gold-hell); }
.lightbox__zurueck,
.lightbox__weiter {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.lightbox__zurueck { left: .75rem; }
.lightbox__weiter { right: .75rem; }
@media (max-width: 39.99em) {
  .lightbox__zurueck,
  .lightbox__weiter { top: auto; bottom: 3.5rem; transform: none; }
}

/* ---------- Dezentes Einblenden (nur mit JavaScript) ---------- */
.einblenden-aktiv [data-einblenden] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s ease;
}
.einblenden-aktiv [data-einblenden].ist-sichtbar { opacity: 1; transform: none; }

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