/* Remo Kell – Zusammengeklaut · Stil
   Idee: ein Erpresserbrief auf Packpapier. Die Buchstaben der Überschrift sind
   „zusammengeklaut“ aus verschiedenen Zeitungen. Alles andere bleibt ruhig. */

@font-face { font-family: "Anton"; src: url("../fonts/anton-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Abril Fatface"; src: url("../fonts/abril-fatface-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../fonts/bodoni-moda-latin-900-italic.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Special Elite"; src: url("../fonts/special-elite-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("../fonts/instrument-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --kraft: #c9a57b;
  --kraft-tief: #a9875d;
  --papier: #ece7dc;
  --weiss: #fbf9f4;
  --tinte: #1c1712;
  --tinte-weich: #4f453b;
  --rot: #a8111c;
  --rot-tief: #860c15;
  --nacht: #0e1a2b;
  --nacht-linie: #2a3b55;
  --licht: #f3d98b;

  --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Abril Fatface", Georgia, "Times New Roman", serif;
  --plakat: "Anton", Impact, "Arial Narrow", sans-serif;
  --maschine: "Special Elite", "Courier New", Courier, serif;

  --breite: 74rem;
  --rand: clamp(1rem, 4vw, 2.5rem);
  --abstand: clamp(4.5rem, 10vw, 8.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  font: 400 1.125rem/1.6 var(--text);
  color: var(--tinte);
  background: var(--papier);
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--tinte); outline-offset: 3px; }
.dunkel :focus-visible { outline-color: var(--licht); }
p { margin: 0 0 1.1em; max-width: 36em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h2 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.04;
  letter-spacing: -.005em;
  margin-bottom: 1.6rem;
  max-width: 17ch;
}
h3 { font: 600 1.25rem/1.3 var(--text); margin-bottom: .6rem; }

.nur-vorleser {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.springen { position: absolute; left: var(--rand); top: -4rem; background: var(--tinte); color: var(--weiss); padding: .6rem 1rem; z-index: 50; }
.springen:focus { top: .75rem; }

.rahmen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }
.abschnitt { padding: var(--abstand) 0; }
.dunkel { background: var(--tinte); color: var(--papier); }
.nacht { background: var(--nacht); color: var(--papier); }
.packpapier {
  background-color: var(--kraft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .22 0 0 0 0 .12 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
}

/* ---------- Knöpfe ---------- */
.knopf {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 3rem; padding: .8rem 1.4rem;
  font: 600 1.05rem/1.2 var(--text);
  text-decoration: none; text-align: center;
  background: var(--rot); color: #fff; border: 2px solid var(--rot);
  border-radius: 3px;
}
.knopf:hover { background: var(--rot-tief); border-color: var(--rot-tief); text-decoration: none; }
.knopf--linie { background: transparent; color: inherit; border-color: currentColor; }
.knopf--linie:hover { background: rgba(255,255,255,.08); border-color: currentColor; }
.packpapier .knopf--linie:hover, .hell .knopf--linie:hover { background: rgba(28,23,18,.07); }
.knopf--klein { min-height: 2.6rem; padding: .55rem 1rem; font-size: .98rem; }

/* ---------- Kopf ---------- */
.kopf { position: sticky; top: 0; z-index: 20; background: var(--kraft); border-bottom: 1px solid rgba(28,23,18,.18); }
.kopf .rahmen { display: flex; align-items: center; gap: 1.5rem; min-height: 4.5rem; }
.marke { display: flex; align-items: baseline; gap: .55rem; text-decoration: none; margin-right: auto; white-space: nowrap; }
.marke-name { font-family: var(--display); font-size: 1.55rem; line-height: 1; }
.marke-zusatz { font-family: var(--maschine); font-size: 1rem; }
.navi { display: flex; align-items: center; gap: 1.4rem; }
.navi a:not(.knopf) { font-weight: 600; font-size: .98rem; text-decoration: none; }
.navi a:not(.knopf):hover { text-decoration: underline; }
@media (max-width: 60rem) {
  .kopf .rahmen { flex-wrap: wrap; gap: .25rem 1rem; padding-top: .6rem; }
  .marke-zusatz { display: none; }
  .navi-links { order: 3; width: calc(100% + 2 * var(--rand)); margin: 0 calc(-1 * var(--rand)); padding: .35rem var(--rand) .7rem; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .navi-links::-webkit-scrollbar { display: none; }
}
.navi-links { display: flex; gap: 1.4rem; }

/* ---------- Bühne (Hero) ---------- */
.buehne { padding: clamp(2.5rem, 7vw, 5.5rem) 0 clamp(3.5rem, 8vw, 6rem); overflow: hidden; }
.praesentiert { font-family: var(--maschine); font-size: clamp(1.05rem, 2.2vw, 1.35rem); margin: 0 0 1.2rem; }
.erpresser { position: relative; margin: 0 0 clamp(2rem, 5vw, 3.5rem); }
.brief { display: block; font-size: clamp(2.2rem, 12.2vw, 8.4rem); line-height: 1; }
.brief .wort { display: block; white-space: nowrap; margin: .06em 0; }
.brief .wort + .wort { padding-left: clamp(0rem, 6vw, 1.1em); }
.brief b {
  --r: 0deg; --y: 0;
  display: inline-block; font-weight: 400; font-style: normal;
  margin: 0 .015em; padding: .07em .11em .03em;
  line-height: .95;
  transform: translateY(var(--y)) rotate(var(--r));
  box-shadow: .025em .045em 0 rgba(28,23,18,.38);
}
.brief .a { font-family: var(--plakat); background: var(--papier); color: var(--tinte); }
.brief .b { font-family: var(--display); background: var(--tinte); color: var(--papier); }
.brief .c { font-family: "Bodoni Moda", Didot, serif; font-style: italic; font-weight: 900; background: var(--licht); color: var(--tinte); }
.brief .d { font-family: var(--maschine); background: var(--weiss); color: var(--tinte); font-size: .9em; padding: .12em .14em .06em; }
.brief .e { font-family: var(--plakat); background: var(--rot); color: #fff; }
.brief .f { font-family: var(--text); font-weight: 700; background: #d9d3c6; color: var(--tinte); font-size: .92em; padding: .1em .12em .05em; }

.stempel {
  position: absolute; right: clamp(0rem, 2vw, 2rem); bottom: 16%;
  font: 400 clamp(1.25rem, 3.6vw, 2.7rem)/1 var(--plakat);
  text-transform: uppercase; letter-spacing: .05em;
  color: var(--rot); border: .11em solid currentColor; border-radius: .12em;
  padding: .14em .38em .1em;
  transform: rotate(-11deg);
  filter: url(#stempelfarbe);
  mix-blend-mode: multiply;
  pointer-events: none;
}
@media (max-width: 40rem) { .erpresser { margin-bottom: 3.6rem; } .stempel { bottom: -2.6rem; right: .2rem; } }

.buehne-fuss { display: grid; gap: 2rem 3rem; align-items: end; }
@media (min-width: 52rem) { .buehne-fuss { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); } }
.unterzeile { font-size: clamp(1.2rem, 2.3vw, 1.45rem); line-height: 1.45; max-width: 30em; margin-bottom: 1.6rem; }
.knopfreihe { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem 1.4rem; }
.knopfreihe a:not(.knopf) { font-weight: 600; }
.naechster {
  background: var(--papier); padding: 1.3rem 1.5rem 1.4rem;
  transform: rotate(1deg); box-shadow: .25rem .35rem 0 rgba(28,23,18,.22);
  max-width: 24rem;
}
.naechster-titel { font-family: var(--maschine); font-size: 1rem; margin: 0 0 .35rem; }
.naechster-datum { font-family: var(--display); font-size: clamp(1.5rem, 3vw, 1.95rem); line-height: 1.12; margin: 0 0 .35rem; }
.naechster-ort { margin: 0; color: var(--tinte-weich); font-size: 1rem; }

/* Ein einziger Auftritt: Buchstaben werden aufgeklebt, dann kommt der Stempel. */
@media (prefers-reduced-motion: no-preference) {
  .brief b { animation: kleben .42s cubic-bezier(.2,.9,.3,1.25) both; animation-delay: calc(var(--i) * 55ms + 120ms); }
  .stempel { animation: stempeln .3s cubic-bezier(.3,1.4,.5,1) both; animation-delay: 1.15s; }
}
@keyframes kleben { from { opacity: 0; transform: translateY(calc(var(--y) - .35em)) rotate(calc(var(--r) + 9deg)) scale(1.08); } }
@keyframes stempeln { from { opacity: 0; transform: rotate(-11deg) scale(1.9); } }

/* ---------- Zurück ---------- */
.zwei-spalten { display: grid; gap: 1rem 4rem; }
@media (min-width: 56rem) { .zwei-spalten { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.zwei-spalten h2 { margin-bottom: 0; }
.leadtext p:first-child { font-size: 1.28rem; line-height: 1.5; }

/* ---------- Show: Asservaten-Anhänger ---------- */
.anhaenger-liste { list-style: none; margin: 3rem 0 0; padding: 0; display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(15.5rem, 1fr)); }
.anhaenger {
  --r: -1deg;
  position: relative; background: var(--kraft);
  padding: 1.35rem 1.4rem 1.45rem 3.1rem;
  clip-path: polygon(1.3rem 0, 100% 0, 100% 100%, 1.3rem 100%, 0 calc(100% - 1.3rem), 0 1.3rem);
  transform: rotate(var(--r));
}
.anhaenger:nth-child(2) { --r: .8deg; }
.anhaenger:nth-child(3) { --r: -.4deg; }
.anhaenger::before {
  content: ""; position: absolute; left: 1.05rem; top: 50%; width: .85rem; height: .85rem; margin-top: -.425rem;
  border-radius: 50%; background: var(--papier); box-shadow: inset 0 0 0 3px var(--kraft-tief);
}
.anhaenger dt { font-family: var(--maschine); font-size: 1rem; margin-bottom: .3rem; }
.anhaenger dd { margin: 0; font-size: 1.1rem; line-height: 1.45; font-weight: 600; }

/* ---------- Termine ---------- */
.termine-kopf { display: grid; gap: 0 4rem; align-items: end; margin-bottom: 2.5rem; }
@media (min-width: 56rem) { .termine-kopf { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.monate { display: grid; gap: 2.6rem 4rem; }
@media (min-width: 60rem) { .monate { grid-template-columns: 1fr 1fr; } }
.monat h3 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; margin-bottom: .6rem; }
.termin-liste { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(236,231,220,.22); }
.termin {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .3rem 1rem;
  padding: .95rem 0; border-bottom: 1px solid rgba(236,231,220,.22);
}
.termin-tag { font-weight: 600; font-size: 1.1rem; }
.termin-zeit { grid-column: 1; color: #c9bfae; font-size: .98rem; }
.termin .knopf { grid-column: 2; grid-row: 1 / span 2; }
.termin-marke { display: none; font-family: var(--maschine); font-size: .95rem; color: var(--licht); margin-left: .5rem; font-weight: 400; }
.termin.ist-naechster .termin-marke { display: inline; }
/* Ausverkauft: Stempel statt Knopf – hier darf es rot sein, hier heißt es ja „ausgebucht“. */
.termin-ausverkauft {
  grid-column: 2; grid-row: 1 / span 2; justify-self: end;
  font-family: var(--maschine); font-size: .95rem; text-transform: uppercase; letter-spacing: .08em;
  color: #e8646b; border: 2px solid currentColor; border-radius: 3px; padding: .35rem .75rem;
  transform: rotate(-4deg); filter: url(#stempelfarbe);
}
.termin.ist-ausverkauft .termin-tag, .termin.ist-ausverkauft .termin-zeit { opacity: .55; }
/* Aktuelle Meldung, die Remo selbst setzt: ein getippter Zettel über der Unterzeile. */
.meldung {
  display: inline-block; max-width: 40rem; margin: 0 0 1.4rem; padding: .55rem .9rem;
  font-family: var(--maschine); font-size: 1.05rem; line-height: 1.45;
  background: var(--tinte); color: var(--papier); transform: rotate(-.8deg);
  box-shadow: .25rem .3rem 0 rgba(28,23,18,.22);
}
.termine-fuss { margin-top: 2.4rem; color: #c9bfae; }
.termine-fuss a { color: var(--papier); }

/* ---------- Tickets ---------- */
.tickets-raster { display: grid; gap: 3rem 4rem; }
@media (min-width: 56rem) { .tickets-raster { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.gruppen { background: var(--weiss); padding: 1.8rem 1.8rem 1.6rem; border-left: 6px solid var(--tinte); align-self: start; }
.gruppen p:last-child { margin-bottom: 0; }
.kontaktzeile { display: flex; flex-direction: column; gap: .35rem; font-weight: 600; }
.kleingedruckt { font-size: 1rem; color: var(--tinte-weich); margin-top: 1.4rem; }

/* ---------- Spielstätte ---------- */
.ort-raster { display: grid; gap: 3rem 4rem; align-items: start; }
@media (min-width: 56rem) { .ort-raster { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); } }
.fakten { display: grid; gap: 1.3rem; margin: 2rem 0 2.2rem; }
.fakten div { border-left: 2px solid var(--nacht-linie); padding-left: 1rem; }
.fakten dt { font-weight: 700; margin-bottom: .2rem; }
.fakten dd { margin: 0; color: #d7d0c3; max-width: 34em; }
.nacht .knopf--linie { color: var(--licht); }
.turm { width: 100%; max-width: 15rem; margin: 0 auto; }
.turm text { font-family: var(--text); }

/* ---------- Showfoto (Abschnitt „Die Show“) ----------
   Gegenstück zum Porträt bei „Über Remo“: gleicher Rahmen, andersherum schief. */
.show-raster { display: grid; gap: 2.4rem 4rem; align-items: center; }
@media (min-width: 56rem) { .show-raster { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.showfoto { margin: 0; justify-self: center; width: 100%; max-width: 26rem; background: var(--tinte); padding: .6rem .6rem 0; transform: rotate(1.4deg); box-shadow: .3rem .4rem 0 rgba(28,23,18,.2); }
.showfoto img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.showfoto figcaption { color: var(--papier); font-family: var(--maschine); font-size: .95rem; padding: .5rem .2rem .6rem; }

/* ---------- Über Remo ---------- */
.remo-raster { display: grid; gap: 3rem 4rem; }
@media (min-width: 56rem) { .remo-raster { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }
.foto { display: none; margin: 0 0 2rem; background: var(--tinte); padding: .6rem .6rem 0; transform: rotate(-1.2deg); max-width: 26rem; box-shadow: .3rem .4rem 0 rgba(28,23,18,.2); }
.foto img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.foto figcaption { color: var(--papier); font-family: var(--maschine); font-size: .95rem; padding: .5rem .2rem .6rem; }
.stationen { list-style: none; margin: 0; padding: 0; }
.stationen li { display: grid; grid-template-columns: 4.2rem 1fr; gap: 1rem; padding: 1rem 0; border-top: 1px solid rgba(28,23,18,.18); }
.stationen li:last-child { border-bottom: 1px solid rgba(28,23,18,.18); }
.jahr { font-family: var(--plakat); font-size: 1.7rem; line-height: 1.05; }
.stationen p { margin: 0; }
.legende { margin-top: 2.6rem; background: var(--kraft); padding: 1.6rem 1.7rem 1.4rem; transform: rotate(.6deg); }
.legende h3 { font-family: var(--maschine); font-weight: 400; font-size: 1.2rem; }
.legende p:last-child { margin-bottom: 0; }

/* ---------- FAQ ---------- */
.fragen { max-width: 50rem; border-top: 1px solid rgba(28,23,18,.2); }
.fragen details { border-bottom: 1px solid rgba(28,23,18,.2); }
.fragen summary {
  list-style: none; cursor: pointer; padding: 1.15rem 2.5rem 1.15rem 0; position: relative;
  font-weight: 600; font-size: 1.15rem;
}
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; position: absolute; right: .3rem; top: .85rem; font: 400 1.7rem/1 var(--plakat); }
.fragen details[open] summary::after { content: "–"; }
.fragen details p { padding-bottom: .4rem; }

/* ---------- Zauberatlas ---------- */
.atlas .ztn { margin-top: 2rem; }
.atlas .ztn input, .atlas .ztn button { font: inherit; }
.atlas-link { font-weight: 600; }

/* ---------- Fuß ---------- */
.fuss { padding: 4rem 0 3rem; font-size: 1rem; }
.fuss-raster { display: grid; gap: 2rem 3rem; }
@media (min-width: 52rem) { .fuss-raster { grid-template-columns: 2fr 1fr 1fr; } }
.fuss .marke-name { font-size: 1.9rem; display: block; margin-bottom: .6rem; }
.fuss ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.fuss a { color: var(--papier); }
.fuss-unten { margin-top: 3rem; padding-top: 1.4rem; border-top: 1px solid rgba(236,231,220,.18); color: #b9ae9c; font-size: .92rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; }
.fuss-unten p { margin: 0; }

/* ---------- Rechtstexte & 404 ---------- */
.rechtstext { padding: clamp(3rem, 7vw, 5rem) 0 var(--abstand); }
.rechtstext h1 { font-family: var(--display); font-size: clamp(2.3rem, 6vw, 3.6rem); line-height: 1.05; margin-bottom: 2rem; }
.rechtstext h2 { font-family: var(--text); font-weight: 700; font-size: 1.3rem; max-width: none; margin: 2.4rem 0 .7rem; }
.rechtstext p, .rechtstext li { max-width: 42em; }
.verschwunden { min-height: 70vh; display: flex; align-items: center; }

.foto.ist-da { display: block; }

/* ---------- Werkstatt (/werkstatt/) ----------
   Getippte Zettel auf Packpapier: jede Karte ein Blatt, schräg genug, um zusammengeklaut
   auszusehen, gerade genug zum Schreiben. Formulare bewusst groß (auch fürs Handy). */
.werkstatt { padding: clamp(2.5rem, 6vw, 4.5rem) 0 var(--abstand); }
.werkstatt .rahmen { max-width: 46rem; display: grid; gap: 1.8rem; }
.werkstatt h1 { margin-bottom: .2rem; }
.ws-einleitung { margin: 0; }
.ws-karte {
  background: var(--weiss); color: var(--tinte);
  padding: clamp(1.2rem, 4vw, 2rem);
  box-shadow: .35rem .45rem 0 rgba(28,23,18,.22);
  display: grid; gap: .7rem; min-width: 0;
}
.ws-karte:nth-of-type(odd) { transform: rotate(-.35deg); }
.ws-karte:nth-of-type(even) { transform: rotate(.3deg); }
.ws-karte h2 { font-size: clamp(1.7rem, 4.4vw, 2.3rem); margin-bottom: .2rem; max-width: none; }
.ws-karte form { display: grid; gap: .7rem; }
.ws-karte label, .rk-stift-panel label { font-family: var(--maschine); font-size: 1rem; }
.ws-karte input, .ws-karte select, .ws-karte textarea,
.rk-stift-panel select, .rk-stift-panel textarea {
  width: 100%; font: 400 1.1rem/1.45 var(--text); color: var(--tinte);
  background: #fff; border: 2px solid var(--tinte); border-radius: 3px; padding: .7rem .8rem;
}
.ws-karte textarea, .rk-stift-panel textarea { resize: vertical; min-height: 7rem; }
#ws-code { font: 400 1.8rem/1.2 var(--maschine); letter-spacing: .35em; max-width: 12rem; }
.ws-karte .knopf { justify-self: start; }
.ws-link { background: none; border: 0; padding: .4rem 0; font: 600 1rem var(--text); color: var(--tinte); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.ws-hinweis { font-size: .95rem; color: var(--tinte-weich); margin: 0; }
/* Druckvorlagen in der Werkstatt */
.ws-druck-liste { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: 1.6rem; }
.ws-druck { display: grid; gap: 1rem; }
.ws-druck-bilder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem; }
.ws-druck-bilder figure { margin: 0; min-width: 0; }
.ws-druck-bilder img { display: block; width: 100%; height: auto; aspect-ratio: 148 / 105; object-fit: cover;
  box-shadow: .2rem .25rem 0 rgba(28,23,18,.18); }
.ws-druck-bilder figcaption { font-family: var(--maschine); font-size: .9rem; margin-top: .35rem; color: var(--tinte-weich); }
.ws-druck-text { display: grid; gap: .55rem; min-width: 0; }
.ws-druck-text h3 { margin: 0; font-size: 1.35rem; }
.ws-druck-text p { margin: 0; }
.ws-druck-angaben { margin: 0; display: grid; gap: .2rem; font-size: .95rem; }
.ws-druck-angaben div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: .6rem; }
.ws-druck-angaben dt { font-family: var(--maschine); color: var(--tinte-weich); }
.ws-druck-angaben dd { margin: 0; }
@media (max-width: 30rem) { .ws-druck-bilder { grid-template-columns: minmax(0, 1fr); } }
.ws-meldung { margin: 0; min-height: 1.4em; font-size: 1rem; }
.ws-meldung--fehler { color: var(--rot); font-weight: 600; }
.ws-meldung--gut { font-family: var(--maschine); background: var(--licht); padding: .5rem .7rem; }
.ws-hallo { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1.5rem; }
.ws-hallo p { margin: 0; font-size: 1.15rem; max-width: 34em; }
.ws-bilder { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.ws-datei { cursor: pointer; }
.ws-vorschau { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; width: 100%; }
.ws-vorschau:empty { display: none; }
.ws-vorschau li { position: relative; }
.ws-vorschau img { width: 5.5rem; height: 5.5rem; object-fit: cover; border: 2px solid var(--tinte); }
.ws-weg { position: absolute; top: -.6rem; right: -.6rem; width: 1.9rem; height: 1.9rem; border-radius: 50%; border: 0; background: var(--tinte); color: var(--papier); font-size: 1.2rem; line-height: 1; cursor: pointer; }
.ws-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.ws-leer { color: var(--tinte-weich); }
.ws-eintrag { border-top: 1px solid rgba(28,23,18,.18); padding-top: 1rem; display: grid; gap: .5rem; }
.ws-eintrag:first-child { border-top: 0; padding-top: 0; }
.ws-eintrag-kopf { display: flex; flex-wrap: wrap; gap: .4rem .8rem; align-items: center; }
.ws-eintrag-wo { font-size: .95rem; color: var(--tinte-weich); }
.ws-eintrag-text { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ws-status { font-family: var(--maschine); font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; padding: .15rem .5rem; border: 2px solid currentColor; }
.ws-status--neu { color: var(--tinte); }
.ws-status--in-arbeit { color: var(--tinte); background: var(--licht); border-color: var(--licht); }
.ws-status--rueckfrage { color: #fff; background: var(--rot); border-color: var(--rot); }
.ws-status--erledigt { color: #2f5a2a; }
.ws-status--verworfen { color: var(--tinte-weich); }
.ws-status--christian { color: var(--tinte-weich); }
.ws-status--wird-zurueckgenommen { color: var(--tinte); background: var(--licht); border-color: var(--licht); }
.ws-status--zurueckgenommen { color: var(--tinte-weich); }
.ws-rueck { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem 1rem; }
.ws-rueck .ws-meldung { margin: 0; }
.ws-antwort { background: var(--papier); padding: .7rem .9rem; border-left: 4px solid var(--tinte); }
.ws-antwort--du { border-left-color: var(--kraft-tief); }
.ws-antwort p { margin: .2rem 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.ws-antwort-wer { font-family: var(--maschine); font-size: .9rem; }
.ws-antwort-form { display: grid; gap: .5rem; }
.ws-seiten { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.ws-seiten li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; border-bottom: 1px dashed rgba(28,23,18,.25); }
.ws-seiten a { font-weight: 600; }
.ws-stift-knopf { background: none; border: 2px solid var(--tinte); border-radius: 3px; padding: .35rem .7rem; font: 600 .95rem var(--text); color: var(--tinte); cursor: pointer; white-space: nowrap; }
.ws-stift-knopf:hover { background: var(--tinte); color: var(--papier); }

/* ---------- Bleistift (nur nach Anmeldung in der Werkstatt) ---------- */
.rk-stift {
  position: fixed; z-index: 60;
  right: calc(1rem + env(safe-area-inset-right, 0px)); bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
  width: 3.6rem; height: 3.6rem; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--tinte); color: var(--licht); border: 2px solid var(--licht);
  box-shadow: .2rem .3rem 0 rgba(28,23,18,.3);
}
.rk-stift:hover { transform: rotate(-8deg); }
.rk-stift-panel {
  position: fixed; z-index: 61;
  right: calc(1rem + env(safe-area-inset-right, 0px)); bottom: calc(5.4rem + env(safe-area-inset-bottom, 0px));
  width: min(25rem, calc(100vw - 2rem)); max-height: calc(100vh - 7rem); overflow: auto;
  background: var(--weiss); color: var(--tinte); border: 2px solid var(--tinte);
  box-shadow: .4rem .45rem 0 rgba(28,23,18,.28);
  padding: 1rem 1.1rem 1.1rem; display: grid; gap: .55rem;
}
.rk-stift-panel[hidden] { display: none; }
.rk-stift-kopf { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.rk-stift-kopf h2 { font: 400 1.5rem/1.1 var(--display); margin: 0; max-width: none; }
.rk-stift-zu { background: none; border: 0; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--tinte); padding: 0 .2rem; }
.rk-stift-fotos { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .8rem; }
.rk-stift-datei { cursor: pointer; text-decoration: underline; text-underline-offset: .18em; font-family: var(--text) !important; font-weight: 600; }
.rk-stift-anzahl { font-size: .95rem; color: var(--tinte-weich); }
.rk-stift-reihe { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; }
.rk-stift-werkstatt { font-weight: 600; font-size: 1rem; }
.rk-stift-meldung { margin: 0; min-height: 1.2em; font-size: .98rem; }
.rk-stift-meldung--fehler { color: var(--rot); font-weight: 600; }
.rk-stift-meldung--gut { font-family: var(--maschine); background: var(--licht); padding: .4rem .6rem; }
@media (prefers-reduced-motion: reduce) { .rk-stift:hover { transform: none; } }
@media print { .rk-stift, .rk-stift-panel { display: none !important; } }
.werkstatt [hidden], .rk-stift[hidden] { display: none !important; }
.ws-bilder, .rk-stift-fotos { position: relative; }
.ws-bilder input[type="file"], .rk-stift-fotos input[type="file"] { left: 0; top: 0; }

/* ---------- Fotobox (/foto/, /fotos/, Werkstatt, Tischkarte) ----------
   „Beweisfoto“: Gäste liefern das Beweismaterial, die Galerie hängt es wie Polaroids an die
   Pinnwand. Gleicher dunkler Rahmen wie Porträt und Showfoto, jedes Bild ein wenig schief. */
.fotobox [hidden], .tk [hidden] { display: none !important; }
.fb-upload { padding: clamp(2rem, 6vw, 4rem) 0 var(--abstand); min-height: 70vh; }
.fb-schmal { max-width: 38rem; display: grid; gap: 1.2rem; }
.fb-schmal .unterzeile { margin: 0; }
.fb-regel { font-family: var(--maschine); font-size: 1.02rem; margin: 0; }
.fb-formular { gap: .8rem; }
.fb-wahl { position: relative; }
.fb-wahl input[type="file"] { left: 0; top: 0; }
.fb-wahl-knopf { width: 100%; min-height: 4.2rem; font-size: 1.2rem; cursor: pointer; }
.fb-gewaehlt { display: grid; gap: .5rem; justify-items: start; }
.fb-gewaehlt img { width: 100%; max-height: 60vh; object-fit: contain; background: var(--tinte); border: .45rem solid var(--tinte); }
.fb-rest { display: grid; gap: .7rem; }
.fb-klein { font-family: var(--text); font-size: .9rem; color: var(--tinte-weich); display: block; }
.ws-karte .fb-haken { display: grid; grid-template-columns: auto 1fr; gap: .7rem; align-items: start; font-family: var(--text); font-size: 1.02rem; line-height: 1.45; cursor: pointer; }
.ws-karte .fb-haken input { width: 1.5rem; height: 1.5rem; margin: .05rem 0 0; padding: 0; accent-color: var(--tinte); }
.fb-lock { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.fb-rest .knopf { width: 100%; min-height: 3.6rem; font-size: 1.15rem; }
.fb-danke h2 { margin-bottom: 0; }
.fb-fuss { margin: 0; font-weight: 600; }

.fb-kopf { padding: clamp(2rem, 6vw, 4rem) 0 clamp(2.5rem, 6vw, 4rem); overflow: hidden; }
.fb-kopf h1 { margin-bottom: 1.2rem; }
.fb-galerie { padding-top: clamp(2rem, 5vw, 3.5rem); }
.fb-monate { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.fb-monat { font: 600 .98rem/1 var(--text); color: var(--tinte); background: transparent; border: 2px solid var(--tinte); border-radius: 999px; padding: .55rem 1rem; cursor: pointer; }
.fb-monat[aria-pressed="true"] { background: var(--tinte); color: var(--papier); }
.fb-monatskopf { font-size: clamp(1.8rem, 4.6vw, 2.8rem); max-width: none; margin-bottom: 1rem; }
.fb-sieger-band { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; background: var(--licht); padding: .8rem 1rem; max-width: none; font-weight: 600; }
.fb-sieger-stempel { font: 400 1.05rem/1 var(--plakat); text-transform: uppercase; letter-spacing: .05em; border: 3px solid currentColor; padding: .25rem .5rem .15rem; transform: rotate(-4deg); display: inline-block; margin: 0; }
.fb-raster { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(44%, 14.5rem), 1fr)); gap: 1.6rem 1rem; padding-top: .6rem; }
@media (min-width: 40rem) { .fb-raster { gap: 2.2rem 1.6rem; } }
@media (max-width: 39.99rem) { .fb-karte { padding: .35rem .35rem 0; } .fb-wer { font-size: .88rem; } .fb-herz { padding: .25rem .55rem; gap: .25rem; font-size: .92rem; min-height: 2.5rem; } .fb-herz svg { width: 1.05rem; height: 1.05rem; } .fb-stempel { font-size: .85rem; top: .6rem; } }
.fb-raster[aria-busy="true"] { opacity: .5; }
.fb-leer { grid-column: 1 / -1; font-size: 1.15rem; color: var(--tinte-weich); max-width: 30em; }
.fb-karte { position: relative; margin: 0; background: var(--tinte); padding: .55rem .55rem 0; transform: rotate(var(--dreh, 0deg)); box-shadow: .3rem .4rem 0 rgba(28,23,18,.2); }
.fb-bildknopf { display: block; width: 100%; padding: 0; border: 0; background: #2a241e; cursor: zoom-in; }
.fb-bildknopf img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fb-unten { display: flex; align-items: center; justify-content: space-between; gap: .5rem; color: var(--papier); padding: .45rem .15rem .5rem; }
.fb-wer { font-family: var(--maschine); font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.fb-deins { color: var(--licht); }
.fb-herz { display: inline-flex; align-items: center; gap: .35rem; min-height: 2.75rem; padding: .3rem .7rem; background: transparent; color: inherit; border: 2px solid rgba(236,231,220,.5); border-radius: 999px; font: 700 1rem/1 var(--text); cursor: pointer; flex: none; }
.fb-herz svg { width: 1.25rem; height: 1.25rem; fill: none; stroke: currentColor; stroke-width: 2; }
.fb-herz[aria-pressed="true"] { color: var(--licht); border-color: var(--licht); }
.fb-herz[aria-pressed="true"] svg { fill: currentColor; }
.fb-herz:disabled { cursor: default; opacity: .85; }
.fb-stempel { position: absolute; top: 1rem; left: -.4rem; font: 400 1.1rem/1 var(--plakat); text-transform: uppercase; letter-spacing: .05em; color: var(--tinte); background: var(--licht); padding: .35rem .6rem .25rem; transform: rotate(-6deg); box-shadow: .15rem .2rem 0 rgba(28,23,18,.35); }
.fb-karte--sieger { outline: 4px solid var(--licht); outline-offset: 3px; }

.fb-gross { max-width: min(92vw, 60rem); max-height: 94vh; padding: .7rem .7rem 0; border: 0; background: var(--tinte); color: var(--papier); box-shadow: 0 1rem 3rem rgba(0,0,0,.5); }
.fb-gross::backdrop { background: rgba(14,10,6,.82); }
.fb-gross img { max-width: 100%; max-height: calc(94vh - 6.5rem); width: auto; margin: 0 auto; object-fit: contain; }
.fb-gross-unten { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; padding: .7rem .2rem .8rem; }
.fb-gross-wer { font-family: var(--maschine); margin-right: auto; }
.fb-gross .knopf--linie { color: var(--papier); }
.fb-melden { font-size: .92rem; color: #cfc6b7; }
.fb-melden[hidden] { display: none; }
.fb-loeschen[hidden] { display: none; }
.fb-betreiber { font-family: var(--maschine); font-size: .95rem; border: 2px dashed currentColor; padding: .5rem .75rem; margin: 0 0 1.2rem; max-width: 46rem; }
.fb-zu { position: absolute; top: .4rem; right: .4rem; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 0; background: rgba(28,23,18,.85); color: var(--papier); font-size: 1.7rem; line-height: 1; cursor: pointer; z-index: 1; }

/* Werkstatt: Dashboard */
.fbd-kopfzeile { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.fbd-zahlen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
@media (min-width: 40rem) { .fbd-zahlen { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fbd-zahl { background: var(--papier); padding: .7rem .8rem; display: grid; gap: .1rem; }
.fbd-zahl b { font: 400 2rem/1 var(--plakat); }
.fbd-zahl span { font-size: .9rem; color: var(--tinte-weich); line-height: 1.3; }
.fbd-knoepfe { gap: .6rem .8rem; }
.fbd-knoepfe .knopf--linie { color: var(--tinte); }
.ws-karte .fbd-preis { gap: .45rem; padding-top: .4rem; border-top: 1px dashed rgba(28,23,18,.25); }
.fbd-preis-zeile { display: flex; gap: .6rem; flex-wrap: wrap; }
.fbd-preis-zeile input { flex: 1 1 14rem; }
.ws-karte .fbd-mail { display: grid; gap: .45rem; padding-top: .8rem; border-top: 1px dashed rgba(28,23,18,.25); }
.fbd-mail[hidden] { display: none; }
.fbd-mail-adresse { color: var(--tinte-weich); overflow-wrap: anywhere; }
.fbd-sieger { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; align-items: center; background: var(--licht); padding: .8rem; }
.fbd-sieger img { width: 6.5rem; height: 6.5rem; object-fit: cover; border: 3px solid var(--tinte); }
.fbd-sieger p { margin: 0 0 .4rem; }
.fbd-sieger .knopf { justify-self: start; }
.fbd-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.fbd-foto { display: grid; grid-template-columns: 5.5rem 1fr; gap: .9rem; align-items: start; border-top: 1px solid rgba(28,23,18,.15); padding-top: .9rem; }
.fbd-foto:first-child { border-top: 0; padding-top: 0; }
.fbd-foto img { width: 5.5rem; height: 5.5rem; object-fit: cover; border: 2px solid var(--tinte); }
.fbd-text p { margin: 0 0 .2rem; overflow-wrap: anywhere; }
.fbd-kopf { display: flex; flex-wrap: wrap; gap: .3rem .7rem; align-items: center; }
.fbd-herzen { font-weight: 700; }
.fbd-termine { color: #2f5a2a; font-weight: 600; }
.fbd-sicher { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .9rem; background: var(--papier); padding: .6rem .7rem; margin-top: .3rem; }

/* Tischkarte: vier A6-Karten auf A4, Schnittlinien grau gestrichelt */
.tk-seite { background: #d8d2c6; }
.tk { padding: 2rem var(--rand) 4rem; display: grid; gap: 2rem; justify-items: center; }
.tk-anleitung { max-width: 40rem; background: var(--weiss); padding: 1.4rem 1.6rem; box-shadow: .3rem .4rem 0 rgba(28,23,18,.2); }
.tk-anleitung h1 { font: 400 2.2rem/1.1 var(--display); margin-bottom: .8rem; }
.tk-preis-hinweis { font-family: var(--maschine); }
.tk-blatt { width: 210mm; height: 297mm; background: #fff; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; box-shadow: 0 .5rem 2rem rgba(0,0,0,.25); }
.tk-karte { border: 1px dashed #b9b2a6; padding: 9mm 8mm 8mm; display: flex; flex-direction: column; align-items: center; justify-content: space-between; text-align: center; overflow: hidden; }
.tk-oben { font: 400 9pt/1 var(--maschine); margin: 0; letter-spacing: .04em; }
.tk-titel { display: flex; align-items: flex-end; justify-content: center; }
.tk-titel .brief { font-size: 29pt; }
.tk-frage { font: 400 40pt/1 var(--plakat); margin-left: 1mm; }
.tk-text { font: 600 12.5pt/1.35 var(--text); margin: 0; max-width: 82mm; }
.tk-qr { width: 56mm; height: 56mm; }
.tk-qr svg { width: 100%; height: 100%; }
.tk-url { font: 400 14pt/1 var(--maschine); margin: -1mm 0 0; }
.tk-regel { font: 400 9pt/1.4 var(--text); margin: 0; max-width: 84mm; color: #3b332b; }
@media screen and (max-width: 52rem) { .tk-blatt { transform: scale(.42); transform-origin: top center; margin-bottom: calc(-297mm * .58); } }
@media print {
  @page { size: A4 portrait; margin: 0; }
  .tk-seite { background: #fff; }
  .tk { padding: 0; display: block; }
  .tk-anleitung { display: none; }
  .tk-blatt { box-shadow: none; transform: none; margin: 0; }
  .tk-karte { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .brief b { animation: none !important; }
}

/* Werkstatt: Passwort-Karte – ist eins gesetzt, tritt sie zurück */
.ws-pw--gesetzt h2 { font-size: clamp(1.3rem, 3.4vw, 1.6rem); }
.ws-pw--gesetzt { box-shadow: none; background: rgba(251,249,244,.72); }
/* Werkstatt-Dashboard: Termine + Änderungen */
.ws-warnung { margin: 0; padding: .6rem .8rem; background: var(--licht); font-weight: 600; }
.ws-warnung a, .dash-summe a { color: inherit; }
.dash-summe { margin: 0; font-size: 1.1rem; }
.dash-termine { list-style: none; margin: .2rem 0 .4rem; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: .45rem 1.4rem; }
.dash-termine li { display: flex; justify-content: space-between; align-items: center; gap: .6rem; border-bottom: 1px dashed rgba(28,23,18,.25); padding: .3rem 0; }
.ws-status--aus { color: var(--papier); background: var(--tinte); border-color: var(--tinte); }
.dash-log { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; max-height: 32rem; overflow-y: auto; }
.dash-log h3 { font-family: var(--maschine); font-size: 1rem; font-weight: 400; margin: 0 0 .3rem; }
.dash-log ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.dash-log ul li { display: grid; grid-template-columns: 3.2rem 5.6rem 1fr; gap: .5rem; align-items: baseline; }
.dash-log time { font-variant-numeric: tabular-nums; color: var(--tinte-weich); font-size: .95rem; }
.dash-wer { font-family: var(--maschine); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; padding: .05rem .4rem; border: 2px solid var(--tinte); justify-self: start; }
.dash-wer--remo { background: var(--licht); border-color: var(--licht); }
.dash-wer--claude { border-style: dashed; }
@media (max-width: 30rem) {
  .dash-log ul li { grid-template-columns: 3rem 1fr; }
  .dash-log ul li > span:last-child { grid-column: 1 / -1; }
}
@media (max-width: 30rem) { .dash-log ul { gap: .8rem; } }
