/* ============================================================
   Sarah Nagel · Sopran — "Programmheft"
   Konzept C aus dem Claude-Design-Import, als statische,
   produktionsreife Seite umgesetzt.
   ============================================================ */

:root {
  --bg:        #f3e9d2;
  --paper:     #faf3df;
  --paper-d:   #ebdfc1;
  --ink:       #2d1f12;
  --ink-soft:  rgba(45, 31, 18, 0.74);
  --ink-mute:  rgba(45, 31, 18, 0.55);
  --gold:      #8a6b2e;
  --gold-deep: #5e4717;
  --gold-hair: rgba(138, 107, 46, 0.32);

  --display: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --body:    "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --ui:      "Inter", system-ui, -apple-system, sans-serif;

  --maxw: 720px;
  --pad: clamp(28px, 6vw, 72px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: clamp(16px, 1.1vw, 17px);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle at 50% 0%, rgba(255,250,238,0.6) 0%, rgba(0,0,0,0) 40%);
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* Skip link */
.skip-nav {
  position: absolute; left: 0; top: -60px;
  background: var(--ink); color: var(--paper);
  padding: 10px 18px; z-index: 2000; text-decoration: none;
  font-family: var(--ui); font-size: 12px; letter-spacing: 0.1em;
  transition: top .2s;
}
.skip-nav:focus { top: 0; }

/* ---------- Ornament ---------- */
.ornament { display: block; margin: 0 auto; }
.ornament line { stroke: var(--gold); }
.ornament circle { fill: var(--gold); }

/* ---------- Framed image (warm overlay + gold inner rule) ---------- */
.framed {
  position: relative; overflow: hidden;
  background: #d8c298;
  box-shadow: inset 0 0 0 1px rgba(138,107,46,0.18);
}
.framed img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; filter: saturate(0.95);
}
.framed::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(160deg, rgba(247,241,227,0.12) 0%, rgba(217,194,152,0.18) 100%);
  mix-blend-mode: multiply;
}
.framed::after {
  content: ''; position: absolute; inset: 14px; pointer-events: none;
  border: 0.5px solid rgba(255,247,225,0.55);
}

/* ============================================================
   HEADER — top ribbon
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  padding: clamp(16px, 2vw, 22px) var(--pad);
  font-family: var(--ui); font-size: 10px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--ink-mute);
  background: rgba(243,233,210,0.88);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 0.5px solid var(--gold-hair);
}
.site-header .brand {
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.site-header .season { color: var(--gold); }
.site-header nav { display: flex; gap: 26px; align-items: center; }
.site-header nav a { text-decoration: none; }

@media (max-width: 760px) {
  .site-header .season { display: none; }
}
@media (max-width: 480px) {
  .site-header {
    padding-left: 20px; padding-right: 20px;
    gap: 12px; letter-spacing: 0.16em;
  }
  .site-header nav { gap: 16px; }
  .hide-sm { display: none; }
}

/* Animated underline for interactive labels */
.uline { position: relative; cursor: pointer; transition: color .2s; }
.uline::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
}
.uline:hover::after, .uline:focus-visible::after { transform: scaleX(1); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding: clamp(64px, 11vw, 110px) var(--pad) clamp(56px, 9vw, 96px);
  text-align: center; background: var(--paper);
  border-bottom: 0.5px solid var(--gold-hair);
}
.hero-inner { max-width: 640px; margin: 0 auto; }

.kicker {
  font-family: var(--ui); font-size: 11px; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(56px, 9vw, 96px); line-height: 1; letter-spacing: 0.005em;
  margin: 24px 0 6px;
}
.hero .role {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: clamp(22px, 3.2vw, 30px); color: var(--gold-deep); margin-bottom: 24px;
}

.portrait {
  width: clamp(240px, 32vw, 300px);
  aspect-ratio: 300 / 380;
  margin: clamp(44px, 6vw, 60px) auto 0;
  border-radius: clamp(120px, 16vw, 150px);
}
.portrait::after { inset: 14px; border-radius: clamp(106px, 14vw, 136px); }
.portrait img { object-position: 50% 22%; }

.hero blockquote {
  margin: clamp(44px, 6vw, 60px) auto 0; max-width: 560px;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(19px, 2.4vw, 22px); line-height: 1.55;
}
.hero blockquote .q {
  color: var(--gold); font-size: 1.6em; vertical-align: -0.3em;
  line-height: 0; margin: 0 4px;
}
.cite {
  margin-top: 16px; font-family: var(--ui); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute);
}

.hero-cta {
  margin-top: clamp(40px, 6vw, 52px);
  display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}

/* Buttons */
.btn {
  font-family: var(--ui); font-size: 11px; letter-spacing: 0.22em; font-weight: 500;
  text-transform: uppercase; padding: 14px 26px; border-radius: 0;
  text-decoration: none; cursor: pointer; display: inline-block;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-solid { background: var(--ink); color: var(--paper); border: 0.5px solid var(--ink); }
.btn-solid:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 0.5px solid var(--gold); }
.btn-ghost:hover { background: var(--gold); color: var(--paper); }

/* ============================================================
   SECTION SHELL
   ============================================================ */
.section {
  padding: clamp(64px, 10vw, 100px) var(--pad);
  border-bottom: 0.5px solid var(--gold-hair);
}
.section.paper { background: var(--paper); }
.section-inner { max-width: var(--maxw); margin: 0 auto; }
.section-head { text-align: center; margin-bottom: clamp(36px, 5vw, 52px); }
.section-head h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(40px, 6vw, 60px); line-height: 1; letter-spacing: 0.005em;
}
.section-head .sub {
  margin-top: 12px; font-family: var(--display); font-style: italic;
  font-size: clamp(16px, 2vw, 18px); color: var(--gold-deep);
}
.section-head .ornament { margin-top: 22px; }

/* ============================================================
   PROGRAMM (table of contents)
   ============================================================ */
.toc-row {
  display: grid; grid-template-columns: 48px 1fr auto;
  gap: 14px; align-items: baseline;
  padding: 16px 0; text-decoration: none; color: inherit;
  border-bottom: 0.5px dotted var(--gold-hair);
}
.toc-row .num {
  font-family: var(--display); font-style: italic; font-size: 18px; color: var(--gold);
}
.toc-row .label { font-family: var(--display); font-size: 25px; line-height: 1.25; }
.toc-row .label .desc {
  margin-left: 14px; font-style: italic; color: var(--ink-mute); font-size: 16px;
}
.toc-row .page {
  font-family: var(--ui); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold);
  opacity: 0.5; transition: opacity .25s, transform .25s;
}
.toc-row:hover .page { opacity: 1; transform: translateX(4px); }

@media (max-width: 600px) {
  .toc-row { grid-template-columns: 32px 1fr auto; }
  .toc-row .label { font-size: 21px; }
  .toc-row .label .desc { display: none; }
}

/* ============================================================
   VITA
   ============================================================ */
.vita-text {
  font-family: var(--body); font-size: clamp(16px, 1.9vw, 18.5px);
  line-height: 1.72; text-align: justify; hyphens: auto;
}
.vita-text p { margin: 0 0 18px; }
.vita-text p:first-of-type::first-letter {
  float: left; font-family: var(--display); font-style: italic;
  font-size: clamp(64px, 9vw, 84px); line-height: 0.82;
  color: var(--gold); margin: 6px 10px 0 0; font-weight: 400;
}
.vita-foot { margin-top: 32px; }

/* ============================================================
   TERMINE
   ============================================================ */
.termin {
  padding: clamp(22px, 3vw, 28px) 0; text-align: center; cursor: default;
  border-bottom: 0.5px solid var(--gold-hair);
}
.termin:first-child { border-top: 0.5px solid var(--gold); }
.termin .date {
  font-family: var(--ui); font-size: 10px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 10px;
}
.termin h3 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(26px, 4vw, 34px); line-height: 1.15; letter-spacing: -0.005em;
}
.termin .desc {
  margin-top: 10px; font-family: var(--display); font-style: italic;
  font-size: clamp(16px, 2vw, 18px); color: var(--ink-soft);
}
.termin .place {
  margin-top: 6px; font-family: var(--ui); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-mute);
}
/* Termin-Details: Ort · Uhrzeit · Mitwirkende · Leitung */
.termin-meta {
  margin: 18px auto 0; max-width: 600px;
  display: grid; gap: 6px;
}
.termin-meta > div {
  display: grid; grid-template-columns: 116px 1fr; gap: 14px;
  align-items: baseline; text-align: left;
}
.termin-meta dt {
  font-family: var(--ui); font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
  padding-top: 3px;
}
.termin-meta dd {
  margin: 0; font-family: var(--display);
  font-size: clamp(15px, 1.8vw, 17px); line-height: 1.4; color: var(--ink-soft);
}
@media (max-width: 560px) {
  .termin-meta > div { grid-template-columns: 1fr; gap: 2px; text-align: center; }
  .termin-meta { gap: 12px; }
}

/* ============================================================
   REPERTOIRE
   ============================================================ */
.rep-group { margin-bottom: clamp(36px, 5vw, 48px); }
.rep-group:last-child { margin-bottom: 0; }
.rep-group .rep-title {
  text-align: center; margin-bottom: 22px;
  font-family: var(--display); font-style: italic; font-weight: 400;
  font-size: clamp(28px, 4.5vw, 36px); color: var(--gold-deep);
}
.rep-group .rep-title .num { color: var(--gold); margin-right: 12px; }
.rep-group ul {
  list-style: none; margin: 18px 0 0; text-align: center;
  font-family: var(--body); font-size: clamp(16px, 1.8vw, 17.5px); line-height: 1.5;
}
.rep-group li { padding: 8px 0; }

/* ============================================================
   PRESSE — carousel
   ============================================================ */
.presse { max-width: 620px; margin: 0 auto; }
.presse-stage { position: relative; min-height: 200px; }
.presse blockquote {
  position: absolute; top: 0; left: 0; right: 0; margin: 0;
  font-family: var(--display); font-style: italic;
  font-size: clamp(19px, 2.4vw, 22px); line-height: 1.5;
  opacity: 0; transition: opacity .8s ease; pointer-events: none;
}
.presse blockquote.active { position: relative; opacity: 1; pointer-events: auto; }
.presse blockquote .q {
  color: var(--gold); font-family: serif; font-size: 36px;
  line-height: 0; margin-right: 4px; vertical-align: -0.4em;
}
.presse-foot {
  margin-top: 18px; display: flex; align-items: center; gap: 12px;
  font-family: var(--ui); font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--ink-soft);
}
.presse-foot .dash { color: var(--gold); }
.presse-foot .src { flex-shrink: 0; }
.presse-foot .rule { flex: 1; height: 1px; background: rgba(138,107,46,0.2); }
.presse-dots { display: flex; gap: 6px; }
.presse-dots button {
  width: 8px; height: 8px; border-radius: 50%; padding: 0; border: none;
  cursor: pointer; background: rgba(138,107,46,0.25); transition: background .2s;
}
.presse-dots button.active { background: var(--gold); }

/* ============================================================
   MEDIEN — video tiles
   ============================================================ */
.medien-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(14px, 2vw, 18px);
}
.tile {
  position: relative; overflow: hidden; cursor: pointer;
  background: #1a1208; aspect-ratio: 16 / 9;
  box-shadow: 0 4px 12px rgba(45,31,18,0.12);
  transition: transform .3s cubic-bezier(.2,.7,.25,1), box-shadow .3s;
  border: none; padding: 0; width: 100%; text-align: left; color: inherit;
}
.tile.large { aspect-ratio: 16 / 9; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(45,31,18,0.25); }
.tile img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(0.92);
}
.tile .veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(20,12,6,0.7) 100%);
}
.tile .play {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 60px; height: 60px; border-radius: 50%;
  background: rgba(250,243,223,0.92);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
  transition: transform .3s, background .25s; pointer-events: none;
}
.tile.large .play { width: 76px; height: 76px; }
.tile .play svg path { fill: var(--ink); transition: fill .25s; }
.tile:hover .play { background: var(--gold); transform: translate(-50%, -50%) scale(1.08); }
.tile:hover .play svg path { fill: var(--paper); }
.tile .len {
  position: absolute; top: 12px; right: 12px;
  background: rgba(20,12,6,0.7); color: rgba(250,243,223,0.9);
  padding: 4px 10px; font-family: ui-monospace, monospace; font-size: 11px;
  letter-spacing: 0.04em; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.tile .cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  color: var(--paper); pointer-events: none;
}
.tile.large .cap { padding: 20px 24px; }
.tile .cap .t {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: 19px; line-height: 1.15; text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.tile.large .cap .t { font-size: clamp(22px, 3vw, 26px); }
.tile .cap .c {
  margin-top: 4px; font-family: var(--ui); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(250,243,223,0.75);
}
.medien-note, .galerie-note {
  margin-top: clamp(22px, 4vw, 36px); text-align: center;
  font-family: var(--ui); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ink-mute);
}
.medien-note .arrow, .galerie-note .arrow { color: var(--gold); }

@media (max-width: 640px) {
  .medien-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   GALERIE
   ============================================================ */
.galerie-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 190px; gap: 14px;
}
.gal {
  position: relative; overflow: hidden; cursor: pointer;
  background: #d8c298; box-shadow: inset 0 0 0 1px rgba(138,107,46,0.18);
  border: none; padding: 0; width: 100%;
}
.gal img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.25,1);
}
.gal:hover img { transform: scale(1.05); }
.gal .veil {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(45,31,18,0) 60%, rgba(45,31,18,0.55) 100%);
}
.gal .cap {
  position: absolute; left: 12px; right: 12px; bottom: 10px;
  font-family: ui-monospace, monospace; font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(250,243,223,0.92); text-shadow: 0 1px 4px rgba(0,0,0,0.4);
  pointer-events: none;
}
.gal:nth-child(1) { grid-column: 1 / 6;  grid-row: span 2; }
.gal:nth-child(2) { grid-column: span 4; }
.gal:nth-child(3) { grid-column: span 3; }
.gal:nth-child(4) { grid-column: 6 / 10; grid-row: span 2; }
.gal:nth-child(5) { grid-column: span 3; }
.gal:nth-child(6) { grid-column: span 5; }

@media (max-width: 640px) {
  .galerie-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 10px; }
  .gal:nth-child(1) { grid-column: 1 / 3; grid-row: span 2; }
  .gal:nth-child(2) { grid-column: span 1; grid-row: span 1; }
  .gal:nth-child(3) { grid-column: span 1; grid-row: span 1; }
  .gal:nth-child(4) { grid-column: span 1; grid-row: span 2; }
  .gal:nth-child(5) { grid-column: span 1; grid-row: span 1; }
  .gal:nth-child(6) { grid-column: 1 / 3; grid-row: span 1; }
}

/* ============================================================
   KONTAKT
   ============================================================ */
.kontakt {
  padding: clamp(64px, 11vw, 110px) var(--pad);
  background: var(--paper-d); text-align: center;
  border-top: 0.5px solid var(--gold-hair);
}
.kontakt h2 {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(44px, 7vw, 72px); margin: 24px 0 8px;
  line-height: 1; letter-spacing: -0.005em;
}
.kontakt .sub {
  font-family: var(--display); font-style: italic;
  font-size: clamp(18px, 2.6vw, 24px); color: var(--gold-deep); margin-bottom: 24px;
}
.kontakt p {
  max-width: 480px; margin: 0 auto 28px;
  font-family: var(--body); font-size: clamp(16px, 2vw, 18px); line-height: 1.65;
}
.kontakt .mail {
  display: inline-block; font-family: var(--display); font-style: italic;
  font-size: clamp(24px, 4vw, 32px); text-decoration: none;
  border-bottom: 0.5px solid var(--gold); padding-bottom: 6px;
  transition: color .2s;
}
.kontakt .mail:hover { color: var(--gold-deep); }
.kontakt .foot-orn { margin-top: 44px; }

/* Contact form */
.kontakt-form {
  max-width: 560px; margin: clamp(32px, 5vw, 44px) auto 0; text-align: left;
}
.kf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.kf-group { margin-bottom: 18px; }
.kf-group label {
  display: block; font-family: var(--ui); font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep);
  margin-bottom: 8px;
}
.kf-group input,
.kf-group textarea {
  width: 100%; padding: 12px 14px; border-radius: 0;
  font-family: var(--ui); font-size: 15px; font-weight: 300; color: var(--ink);
  background: var(--paper); border: 0.5px solid var(--gold-hair);
  transition: border-color .2s, box-shadow .2s;
}
.kf-group textarea { resize: vertical; min-height: 120px; line-height: 1.6; }
.kf-group input:focus,
.kf-group textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(138,107,46,0.12);
}
.kf-group input.invalid,
.kf-group textarea.invalid {
  border-color: #a23223; box-shadow: 0 0 0 3px rgba(162,50,35,0.12);
}
.kf-captcha label strong { color: var(--ink); }
.kf-note {
  margin-top: 8px; font-family: var(--ui); font-size: 11px; font-weight: 300;
  letter-spacing: 0; text-transform: none; color: var(--ink-mute);
}
/* Honeypot — visually hidden, still in DOM for bots */
.kf-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kf-submit { display: block; margin: 8px auto 0; cursor: pointer; }
.kf-status {
  margin: 16px 0 0; text-align: center; min-height: 1.2em;
  font-family: var(--ui); font-size: 13px; font-weight: 400; letter-spacing: 0;
  text-transform: none;
}
.kf-status.ok { color: var(--gold-deep); }
.kf-status.err { color: #a23223; }
.kf-alt {
  margin-top: 28px; font-family: var(--display); font-style: italic;
  font-size: clamp(16px, 2vw, 19px); color: var(--ink-soft);
}
.kf-alt .mail { font-size: inherit; }

@media (max-width: 560px) {
  .kf-row { grid-template-columns: 1fr; gap: 0; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink); color: rgba(250,243,223,0.6);
  padding: clamp(22px, 3vw, 28px) var(--pad);
  display: flex; justify-content: space-between; gap: 10px; align-items: center;
  font-family: var(--ui); font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase;
}
.site-footer .fin { color: var(--gold); }
.site-footer nav { display: flex; gap: 20px; }
.site-footer a { color: inherit; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold); }

@media (max-width: 640px) {
  .site-footer { flex-direction: column; text-align: center; }
}

/* ============================================================
   LIGHTBOX (video + image)
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(20,12,6,0.88);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(14px, 4vw, 40px);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  animation: fade-up .25s ease both;
}
.lightbox[hidden] { display: none; }
/* margin: auto statt reiner Flex-Zentrierung: ist die Box höher als der
   Viewport (z. B. Handy quer), bleibt sie per overflow-y scrollbar —
   align-items: center allein würde den oberen Rand unerreichbar abschneiden. */
.lightbox .box {
  width: min(1080px, 100%); max-height: 90vh; max-height: 90dvh;
  margin: auto;
  background: var(--paper); border: 0.5px solid rgba(138,107,46,0.5);
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  display: flex; flex-direction: column;
}
.lightbox .lb-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 24px;
  padding: 20px 28px; border-bottom: 0.5px solid rgba(138,107,46,0.3);
}
.lightbox .lb-kicker {
  font-family: var(--ui); font-size: 10px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 6px;
}
.lightbox .lb-title {
  font-family: var(--display); font-style: italic; font-weight: 500;
  font-size: 28px; line-height: 1.1;
}
.lightbox .lb-sub { margin-top: 4px; font-family: var(--display); font-size: 16px; color: var(--ink-mute); }
.lightbox .lb-close {
  background: transparent; border: none; cursor: pointer; color: var(--ink);
  font-size: 28px; line-height: 1; font-family: serif; font-weight: 300; padding: 0;
}
/* Breite folgt der Box, Höhe der 16:9-Ratio. Keine min-height: die würde
   auf schmalen Displays per Aspect-Ratio-Transfer die Breite über den
   Viewport hinaus aufblähen (Video ragt rechts aus dem Bild).
   min-height: 0 erlaubt zudem das Schrumpfen innerhalb von max-height
   (z. B. iPhone im Querformat). */
.lightbox .lb-stage {
  position: relative; background: #0c0805;
  width: 100%; aspect-ratio: 16 / 9; min-height: 0;
}
.lightbox .lb-stage iframe,
.lightbox .lb-stage video,
.lightbox .lb-stage img {
  position: absolute; inset: 0; width: 100%; height: 100%; border: none; display: block;
}
.lightbox .lb-stage img { object-fit: contain; }
.lightbox .lb-empty {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 18px; padding: 32px;
  text-align: center; color: rgba(250,243,223,0.7); font-family: var(--display);
}
.lightbox .lb-empty .circle {
  width: 72px; height: 72px; border-radius: 50%;
  border: 1px solid rgba(250,243,223,0.4);
  display: flex; align-items: center; justify-content: center;
}
.lightbox .lb-empty .big { font-size: 22px; font-style: italic; }
.lightbox .lb-empty .small { font-size: 14px; font-style: italic; max-width: 420px; color: rgba(250,243,223,0.55); line-height: 1.5; }

@media (max-width: 560px) {
  .lightbox .lb-head { padding: 14px 18px; gap: 16px; }
  .lightbox .lb-title { font-size: 21px; }
  .lightbox .lb-sub { font-size: 14px; }
}

/* ============================================================
   SCROLL TOP
   ============================================================ */
.scroll-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 900;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--ink); color: var(--paper); border: 0.5px solid var(--gold);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, background .2s;
}
.scroll-top.show { opacity: 1; visibility: visible; }
.scroll-top:hover { background: var(--gold-deep); transform: translateY(-3px); }

/* ============================================================
   MOBILE TAB BAR (app-like bottom navigation)
   ============================================================ */
.tabbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1100;
  background: rgba(250, 243, 223, 0.96);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 0.5px solid var(--gold-hair);
  padding-bottom: env(safe-area-inset-bottom);
}
.tabbar .tab {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 9px 2px 8px; text-decoration: none; color: var(--ink-mute);
  font-family: var(--ui); font-size: 9px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  transition: color .2s; -webkit-tap-highlight-color: transparent;
}
.tabbar .tab svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor;
  stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.tabbar .tab svg .fill { fill: currentColor; stroke: none; }
.tabbar .tab.active { color: var(--gold-deep); }

@media (max-width: 760px) {
  .tabbar { display: flex; }
  .site-header nav { display: none; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom)); }
  .scroll-top { bottom: calc(74px + env(safe-area-inset-bottom)); }
}

/* ============================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ============================================================ */
.legal {
  max-width: 760px; margin: 0 auto;
  padding: clamp(56px, 9vw, 96px) var(--pad) clamp(48px, 7vw, 80px);
}
.legal h1 {
  font-family: var(--display); font-weight: 400; text-align: center;
  font-size: clamp(40px, 6vw, 60px); line-height: 1; margin-bottom: 12px;
}
.legal .lead {
  text-align: center; font-family: var(--display); font-style: italic;
  color: var(--gold-deep); font-size: clamp(16px, 2vw, 18px); margin-bottom: 40px;
}
.legal h2 {
  font-family: var(--display); font-weight: 500; color: var(--gold-deep);
  font-size: clamp(22px, 3vw, 28px); margin: 36px 0 12px;
}
.legal h3 {
  font-family: var(--ui); font-weight: 600; font-size: 15px;
  letter-spacing: 0.02em; margin: 22px 0 8px;
}
.legal p, .legal li {
  font-family: var(--ui); font-weight: 300; font-size: 15px; line-height: 1.7;
  color: var(--ink-soft); margin-bottom: 12px;
}
.legal ul { margin: 0 0 12px 1.4em; }
.legal a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--ink); }
.legal .back {
  display: inline-block; margin-top: 36px; font-family: var(--ui); font-size: 11px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold);
  text-decoration: none;
}

/* ---------- Animations & reveal ---------- */
@keyframes fade-up { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .9s cubic-bezier(.2,.7,.25,1), transform .9s cubic-bezier(.2,.7,.25,1); }
.reveal.in { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
