/* ---------- Schriften (lokal, ohne Google-Server – DSGVO-freundlich) ---------- */
@font-face {
  font-family: "Bricolage";
  src: url("fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson";
  src: url("fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Atkinson";
  src: url("fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

/* ---------- Farben ---------- */
:root {
  --paper: #F8F5F2;
  --paper-2: #EEE8E4;
  --ink: #281719;
  --ink-soft: #69585A;
  --brand: #CC0605;      /* Sanftwut: RAL 3020 Verkehrsrot */
  --hot: #CC0605;
  --hot-ink: #FFFFFF;
  --pink: #FF9FC9;
  --yellow: #FFD23F;
  --mint: #43D3A6;
  --line: #DCCFCC;
  --stage: #74171A;
  --stage-2: #2D1115;
  --stage-ink: #FFF7F5;
  --stage-muted: #EAC4C4;
  --stage-shadow: #3D1115;
  --field: #FFFFFF;

  --display: "Bricolage", "Arial Black", "Helvetica Neue", system-ui, sans-serif;
  --body: "Atkinson", "Verdana", "Segoe UI", system-ui, sans-serif;

  color-scheme: light dark;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: var(--stage);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #211719;
    --paper-2: #302326;
    --ink: #FFF4F2;
    --ink-soft: #D5C2C2;
    --line: #594548;
    --field: #302326;
  }
}
:root[data-theme="dark"] {
  --paper: #211719;
  --paper-2: #302326;
  --ink: #FFF4F2;
  --ink-soft: #D5C2C2;
  --line: #594548;
  --field: #302326;
}

*, *::before, *::after { box-sizing: inherit; }
html { scroll-behavior: smooth; scroll-padding-top: env(safe-area-inset-top, 0px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--hot); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--yellow); color: #35100F; padding: .5rem 1rem; z-index: 10; font-weight: 700; }
.skip:focus { top: 1rem; }

.wrap { width: min(70rem, 100% - 2.5rem); margin-inline: auto; }

/* ---------- Bühne (Hero) ---------- */
.stage {
  position: relative;
  background:
    radial-gradient(100% 80% at 50% 115%, rgba(204,6,5,.7), transparent 62%),
    linear-gradient(145deg, #8A1B1E 0%, var(--stage) 48%, var(--stage-2) 100%);
  color: var(--stage-ink);
  min-height: min(100svh, 56rem);
  display: grid;
  grid-template-rows: auto 1fr auto;
  overflow: hidden;
}
/* Bühnenbretter */
.stage::after {
  content: "";
  position: absolute; inset: auto 0 0 0; height: 30%;
  background: repeating-linear-gradient(90deg, transparent 0 11%, rgba(255,255,255,.035) 11% 11.3%);
  transform: perspective(400px) rotateX(40deg);
  transform-origin: bottom;
  pointer-events: none;
}

.nav {
  position: relative; z-index: 3;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  width: min(70rem, 100% - 2.5rem); margin: 0 auto; padding: 1.1rem 0;
}
.nav-logo { font-family: var(--display); font-weight: 800; font-size: 1.4rem; text-decoration: none; letter-spacing: -.02em; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(.8rem, 2.5vw, 2rem); flex-wrap: wrap; justify-content: flex-end; }
.nav ul a { text-decoration: none; font-weight: 700; font-size: 1rem; }
.nav ul a:hover { color: var(--yellow); }
@media (max-width: 30rem) {
  .nav-logo { font-size: 1.15rem; }
  .nav ul { gap: .75rem; flex-wrap: nowrap; }
  .nav ul a { font-size: .9rem; }
}

.spot-area {
  position: relative; z-index: 2;
  display: grid; place-content: center; text-align: center;
  padding: 2rem 1rem;
  touch-action: pan-y;
  --x: 50%; --y: 45%;
  cursor: crosshair;
}
.title { margin: 0; display: grid; justify-items: center; }
.title-word {
  grid-area: 1 / 1;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(7rem, 30vw, 22rem);
  line-height: .82;
  letter-spacing: -.055em;
  color: var(--stage-shadow);
  user-select: none;
}
.title-lit {
  color: var(--yellow);
  text-shadow: 0 0 .04em rgba(255,210,63,.5);
  -webkit-mask-image: radial-gradient(circle at var(--x) var(--y), #000 0, #000 22%, transparent 34%);
          mask-image: radial-gradient(circle at var(--x) var(--y), #000 0, #000 22%, transparent 34%);
}
/* Lichtkegel auf dem Boden der Bühne */
.spot-area::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--x) var(--y), rgba(255,236,170,.16), transparent 32%);
  pointer-events: none;
}
.title-sub {
  grid-area: 2 / 1;
  margin-top: .6em;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.15rem, 3vw, 1.9rem);
  letter-spacing: -.01em;
  color: var(--stage-ink);
}
.spot-hint { margin: 1.4rem 0 0; font-size: .9rem; color: var(--stage-muted); }
@media (hover: none) { .spot-hint::after { content: " – mit dem Finger"; } }

.stage-foot {
  position: relative; z-index: 3;
  width: min(70rem, 100% - 2.5rem); margin: 0 auto;
  padding: 0 0 clamp(2rem, 6vh, 4rem);
  display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; align-items: end; justify-content: space-between;
}
.lead { margin: 0; max-width: 34ch; font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.45; }

.actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn {
  display: inline-block;
  font: 700 1.05rem/1.2 var(--body);
  padding: .9rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-hot { background: var(--hot); color: var(--hot-ink); }
.btn-hot:hover { background: #E32A20; }
.btn-ghost { border-color: var(--stage-ink); color: var(--stage-ink); }
.btn-ghost:hover { background: var(--stage-ink); color: var(--stage); }

/* ---------- Abschnitte ---------- */
.section { padding: clamp(3.5rem, 9vw, 6.5rem) 0; }
.section + .section { border-top: 2px dashed var(--line); }
.section-steps { background: var(--paper-2); }

/* Klebeband-Überschriften (wie Markierungen auf dem Bühnenboden) */
.tape {
  display: inline-block;
  margin: 0 0 1.6rem;
  padding: .12em .55em .18em;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  color: #35100F;
  transform: rotate(-1.5deg);
  clip-path: polygon(0 6%, 2% 0, 98% 4%, 100% 0, 99% 50%, 100% 96%, 97% 100%, 2% 95%, 0 100%, 1% 50%);
}
.tape-pink { background: var(--pink); }
.tape-yellow { background: var(--yellow); transform: rotate(1deg); }
.tape-hot { background: var(--hot); color: #fff; }
.tape-mint { background: var(--mint); transform: rotate(.8deg); }

.two { display: grid; gap: 2.5rem 4rem; grid-template-columns: 1fr; }
@media (min-width: 52rem) { .two { grid-template-columns: 1.15fr 1fr; align-items: start; } }

.big { font-size: clamp(1.2rem, 2.2vw, 1.4rem); line-height: 1.5; }
.section p { max-width: 62ch; }

.facts { margin: 0; display: grid; gap: 0; border-top: 3px solid var(--ink); }
.facts > div { padding: 1rem 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 10.5rem 1fr; gap: 1rem; }
.facts dt { font-family: var(--display); font-weight: 700; }
.facts dd { margin: 0; color: var(--ink-soft); }
@media (max-width: 30rem) { .facts > div { grid-template-columns: 1fr; gap: .2rem; } }

/* Schritte – echte Reihenfolge */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 2rem; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: s; position: relative; padding-top: 4.2rem; }
.steps li::before {
  content: counter(s);
  position: absolute; top: 0; left: 0;
  font-family: var(--display); font-weight: 800; font-size: 3.6rem; line-height: 1;
  color: var(--hot);
}
.steps h3 { font-family: var(--display); font-weight: 700; font-size: 1.45rem; margin: 0 0 .4rem; letter-spacing: -.01em; }
.steps p { margin: 0; color: var(--ink-soft); }

/* ---------- Termine ---------- */
.dates { list-style: none; margin: 0; padding: 0; border-top: 3px solid var(--ink); }
.date {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: .3rem 1.5rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
@media (min-width: 48rem) { .date { grid-template-columns: 7rem 1fr auto; } }
.date-when { font-family: var(--display); line-height: 1; }
.date-day { display: block; font-weight: 800; font-size: 3rem; letter-spacing: -.04em; }
.date-month { display: block; font-weight: 600; font-size: 1rem; margin-top: .25rem; color: var(--ink-soft); }
.date-title { font-family: var(--display); font-weight: 700; font-size: 1.35rem; margin: .2rem 0 .3rem; letter-spacing: -.01em; }
.date-meta { margin: 0; color: var(--ink-soft); }
.date-info { margin: .4rem 0 0; }
.date-tag {
  justify-self: start;
  grid-column: 2;
  font-weight: 700; font-size: .9rem;
  padding: .25rem .7rem;
  color: #35100F;
  border-radius: 3px;
  transform: rotate(-2deg);
}
@media (min-width: 48rem) { .date-tag { grid-column: 3; grid-row: 1; margin-top: .4rem; } }
.tag-schnupper, .tag-probeworkshop { background: var(--mint); }
.tag-probe { background: var(--paper-2); color: var(--ink); outline: 1px solid var(--line); }
.tag-auffuehrung { background: var(--hot); color: #fff; }
.tag-workshop { background: var(--yellow); }
.dates-empty { padding: 1.5rem 0; color: var(--ink-soft); }

/* ---------- Bilder ---------- */
.gallery {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
.ph-a, .ph-b, .ph-e { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.ph-c, .ph-d { aspect-ratio: 3 / 4; }
@media (min-width: 48rem) {
  .gallery { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 5rem; }
  .ph { aspect-ratio: auto; }
  .ph-a { grid-column: 1 / 7; grid-row: 1 / span 4; }
  .ph-b { grid-column: 7 / 13; grid-row: 1 / span 4; }
  .ph-c { grid-column: 1 / 4; grid-row: 5 / span 4; }
  .ph-d { grid-column: 4 / 7; grid-row: 5 / span 4; }
  .ph-e { grid-column: 7 / 13; grid-row: 5 / span 4; }
}
.ph { margin: 0; position: relative; overflow: hidden; border-radius: 6px; background: var(--stage); min-height: 0; }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-label { display: none; }
/* Platzhalter, solange noch kein Foto im Ordner "bilder" liegt */
.ph.fehlt {
  background:
    radial-gradient(circle at 50% 0%, rgba(255,236,170,.28), transparent 60%),
    var(--stage);
}
.ph.fehlt img { display: none; }
.ph.fehlt .ph-label {
  display: grid; place-items: center; position: absolute; inset: 0;
  font-family: var(--display); font-weight: 600; color: var(--stage-muted);
}

/* ---------- Kontakt ---------- */
.form { display: grid; gap: 1.2rem; background: var(--paper-2); padding: clamp(1.25rem, 3vw, 2rem); border-radius: 10px; }
.field { display: grid; gap: .4rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; padding: 0; }
.opt { font-weight: 400; color: var(--ink-soft); }
.form input[type="text"], .form select, .form textarea {
  font: inherit; color: var(--ink);
  background: var(--field);
  border: 2px solid var(--line);
  border-radius: 6px;
  padding: .7rem .8rem;
  width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--hot); }
.choices { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.choices label { font-weight: 400; display: flex; gap: .5rem; align-items: center; cursor: pointer; }
.choices input { accent-color: var(--hot); width: 1.2rem; height: 1.2rem; }
.form .btn { justify-self: start; }
.form-note { margin: 0; font-size: .95rem; color: var(--ink-soft); }
.form-error { margin: 0; color: var(--hot); font-weight: 700; }
.mail-direct a { font-weight: 700; word-break: break-all; }

/* ---------- Fuß ---------- */
.foot { background: var(--stage); color: var(--stage-muted); padding: 2.5rem 0 3rem; font-size: 1rem; }
.foot-inner { display: grid; gap: .4rem; }
.foot p { margin: 0; }
.foot strong { color: #fff; font-family: var(--display); }
.foot-links { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; gap: 1.5rem; }

/* ---------- Unterseiten (Impressum, Datenschutz) ---------- */
.page-head { background: var(--stage); color: var(--stage-ink); padding: 1.2rem 0 3rem; }
.page-head .nav { padding-inline: 0; }
.page-head h1 { font-family: var(--display); font-size: clamp(2.2rem, 6vw, 3.6rem); margin: 2rem 0 0; letter-spacing: -.03em; }
.page { padding: 3rem 0 5rem; }
.page h2 { font-family: var(--display); margin-top: 2.2rem; }
.page p { max-width: 65ch; }
.todo { background: var(--yellow); color: #35100F; padding: .1rem .4rem; border-radius: 3px; font-weight: 700; }
