/* ===================================================================
   Hochzeitswebsite – Stylesheet
   -------------------------------------------------------------------
   Gestaltungsidee: Die Location ist ein Gewölbe. Der Rundbogen ist
   deshalb das durchgehende Formmotiv (Hero, Hinweiskarten, Bilder).
   Palette: Beige/Sand als Grund, Terrakotta als Akzent, Gold als
   feine Linie. Aufbau der Datei:
     1. Design-Tokens (Farben, Schrift, Abstände)
     2. Grundlagen & Hilfsklassen
     3. Navigation
     4. Hero
     5. Bausteine der Abschnitte
     6. Einzelne Bereiche
     7. Fußzeile & Lightbox
     8. Große Bildschirme (ab 700 px / 1000 px)
   =================================================================== */

/* ---------- 1. Design-Tokens ---------------------------------- */
:root {
  /* Farben */
  --sand:          #F7F1E8;  /* Grundfläche */
  --sand-tief:     #EDE2D3;  /* Karten, Abgrenzungen */
  --sand-linie:    #DDCDB8;  /* Ränder */
  --ton:           #3A2C24;  /* dunkler Abschnittshintergrund */
  --ink:           #2B2420;  /* Fließtext */
  --ink-leise:     #6E5D51;  /* Nebentext */
  --terrakotta:    #A8503B;
  --terrakotta-tief:#8C3F2D;
  --gold:          #B08D4F;
  --gold-hell:     #D9BC85;

  /* Schrift */
  --display: "Fraunces", Georgia, serif;
  --body:    "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Abstände */
  --raum-s: 0.75rem;
  --raum-m: 1.5rem;
  --raum-l: 3rem;
  --raum-xl: 5rem;
  --breite: 68rem;

  --bogen: 999px 999px 6px 6px;  /* Rundbogen oben, gerade Basis */
  --schatten: 0 18px 40px -24px rgba(43, 36, 32, 0.45);
}

/* ---------- 2. Grundlagen ------------------------------------- */
* { box-sizing: border-box; }

/* Das hidden-Attribut muss immer gewinnen. Ohne diese Zeile stechen
   Klassen wie .btn (display: inline-block) es aus, und Knöpfe, die
   versteckt sein sollen, stehen trotzdem da. */
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  /* Nichts schiebt die Seite seitlich auf. "clip" hält auch das
     geschlossene Menü zuverlässig draußen; "hidden" ist der Rückfall
     für ältere Browser. */
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0 0 var(--raum-s); }

a { color: var(--terrakotta); }

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

/* Sichtbarer Fokus für Tastaturnutzung */
:focus-visible {
  outline: 2px solid var(--terrakotta);
  outline-offset: 3px;
}

/* Sprungmarke – nur sichtbar, wenn sie den Fokus hat */
.skip-link {
  position: absolute;
  left: -9999px;
  background: var(--ton);
  color: var(--sand);
  padding: 0.75rem 1rem;
  z-index: 50;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* Buttons */
.btn {
  display: inline-block;
  border: 0;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--terrakotta { background: var(--terrakotta); color: #fff; }
.btn--terrakotta:hover { background: var(--terrakotta-tief); }
.btn--gold { background: var(--gold); color: #fff; }
.btn--gold:hover { background: #997743; }
.btn--schlicht {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  opacity: 0.75;
}

/* ---------- 3. Navigation -------------------------------------
   Am Rechner eine Reihe, auf dem Handy ein Menü, das von rechts
   hereinfährt. Nichts wird gequetscht, nichts abgeschnitten.
   --------------------------------------------------------------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: var(--raum-m);
  padding: 0.75rem var(--raum-m);
  padding-right: max(var(--raum-m), env(safe-area-inset-right));
  background: rgba(247, 241, 232, 0.92);
  border-bottom: 1px solid var(--sand-linie);
}

/* Die Unschärfe liegt auf einem Pseudo-Element. Läge sie auf .nav selbst,
   würde die Leiste zum Bezugsrahmen für Schleier und Menü – die säßen
   dann in der Leiste fest statt über der ganzen Seite. */
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(8px);
}

.nav__brand {
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  margin-right: auto;
}

/* --- Der Knopf zum Aufklappen (nur auf dem Handy sichtbar) --- */
.nav__burger {
  display: grid;
  gap: 5px;
  place-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: -0.5rem -0.5rem -0.5rem 0;   /* große Tippfläche, ohne die Leiste zu dehnen */
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.nav__burger-strich {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.2s ease;
}
/* Offen: aus den drei Strichen wird ein Kreuz */
.nav__burger[aria-expanded="true"] .nav__burger-strich:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__burger[aria-expanded="true"] .nav__burger-strich:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] .nav__burger-strich:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* --- Das Menü selbst --- */
.nav__rahmen {
  position: fixed;
  inset: 0;
  z-index: 22;
  overflow: hidden;      /* schneidet das geschlossene Menü ab */
  pointer-events: none;  /* lässt Klicks zur Seite durch */
}

.nav__menu {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: min(78vw, 20rem);
  height: 100dvh;
  padding: 5.5rem 2rem 2rem;
  padding-right: max(2rem, env(safe-area-inset-right));
  background: var(--ton);
  border-left: 1px solid var(--gold);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.3, 0.8, 0.3, 1), visibility 0.4s;
  overflow-y: auto;

  /* Geschlossen ist es wirklich weg: kein seitlicher Überlauf,
     kein Sprung beim Durchtabben. */
  visibility: hidden;
  pointer-events: none;
}
.nav__menu.ist-offen { transform: none; visibility: visible; pointer-events: auto; }

.nav__links { display: flex; flex-direction: column; gap: 0.25rem; }

.nav__links a {
  display: block;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(217, 188, 133, 0.18);
  color: var(--sand);
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 300;
}
.nav__links a:hover,
.nav__links a:focus-visible { color: var(--gold-hell); }

/* Dunkler Schleier hinter dem offenen Menü */
.nav__schleier {
  position: fixed;
  inset: 0;
  z-index: 21;
  background: rgba(30, 23, 20, 0.55);
  backdrop-filter: blur(2px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.nav__schleier.ist-da { opacity: 1; }

/* Solange das Menü offen ist, bleibt die Seite dahinter stehen */
body.menu-offen { overflow: hidden; }

/* --- Ab Tablet: alles in einer Reihe, kein Burger --- */
@media (min-width: 800px) {
  .nav__burger, .nav__schleier { display: none; }

  /* Am Rechner braucht es keinen Rahmen: das Menü steht einfach in der Reihe */
  .nav__rahmen { display: contents; }

  .nav__menu {
    visibility: visible;
    pointer-events: auto;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.4rem;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    border: 0;
    transform: none;
    overflow: visible;
  }
  .nav__links { flex-direction: row; gap: 1.4rem; }
  .nav__links a {
    padding: 0.3rem 0;
    border-bottom: 1px solid transparent;
    color: var(--ink-leise);
    font-family: var(--body);
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
  .nav__links a:hover { color: var(--terrakotta); border-bottom-color: var(--gold); }
}

/* ---------- 4. Der Bogen und der Hero -------------------------
   Der Bogen ist ein Rahmen, kein Hintergrundbild: eine halbe Ellipse
   als Kuppel, darunter ein Rechteck. Der Inhalt sitzt komplett im
   Rechteck – dadurch kann die Linie niemals durch die Namen laufen,
   egal wie lang sie sind oder wie schmal das Display ist.
   --------------------------------------------------------------- */
.bogen {
  --kuppel: clamp(4.5rem, 22vw, 7.5rem);   /* Höhe der Kuppel */

  position: relative;
  margin-top: var(--kuppel);
  padding: 2rem clamp(1.25rem, 6vw, 2.5rem) 2.25rem;
}

/* Rechteck unter der Kuppel */
.bogen__rahmen {
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid var(--gold);
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

/* Die Kuppel darüber – 1 px Überlappung, damit keine Fuge entsteht */
.bogen__rahmen::before {
  content: "";
  position: absolute;
  left: -1px;
  right: -1px;
  top: calc(-1 * var(--kuppel));
  height: calc(var(--kuppel) + 1px);
  border: 1px solid var(--gold);
  border-bottom: 0;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
}

/* Variante mit Füllung (Startseite) */
.bogen--gefuellt .bogen__rahmen { background: var(--sand-tief); }
.bogen--gefuellt .bogen__rahmen::before {
  background:
    radial-gradient(120% 90% at 50% 100%, rgba(217, 188, 133, 0.3), transparent 70%),
    var(--sand-tief);
}

/* --- Hero --- */
.hero {
  padding: var(--raum-m) var(--raum-m) var(--raum-xl);
  text-align: center;
}

.hero__arch {
  max-width: 30rem;
  margin-left: auto;
  margin-right: auto;
}

.hero__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-leise);
  margin-bottom: 1rem;
}

.hero__names {
  font-size: clamp(2.2rem, 10vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  gap: 0.05em;
}

/* Namen dürfen niemals mitten im Wort brechen. Ohne flex-shrink:0 durfte
   der Flexbox-Algorithmus "Maurice" enger quetschen, als das Wort breit
   ist – overflow-wrap:anywhere erlaubte genau das und brach dann mitten
   im Namen um ("Mauric" / "e"). Passt ein Name nicht mehr in eine Zeile,
   wandert er als Ganzes in die nächste (siehe flex-wrap unten). */
.hero__names span { flex-shrink: 0; }

.hero__amp {
  font-size: 0.5em;
  color: var(--terrakotta);
  font-style: italic;
}

.hero__ort {
  margin-top: 1.2rem;
  margin-bottom: 0;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-leise);
}

.hero__zeit { margin-top: var(--raum-l); }

.hero__zeit-label {
  font-size: 0.75rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-leise);
  margin-bottom: 0.2rem;
}

.hero__zeit-wert {
  font-family: var(--display);
  font-size: clamp(2rem, 8vw, 3rem);
  color: var(--terrakotta);
  margin-bottom: 0.4rem;
}

.hero__zeit-hinweis,
.hero__countdown {
  max-width: 26rem;
  margin: 0 auto;
  color: var(--ink-leise);
  font-size: 0.95rem;
}
.hero__countdown { margin-top: 0.6rem; color: var(--gold); letter-spacing: 0.08em; }
.hero__ics { margin-top: var(--raum-m); }

/* ---------- 5. Abschnitts-Bausteine --------------------------- */
.section {
  max-width: var(--breite);
  margin: 0 auto;
  padding: var(--raum-xl) var(--raum-m);
}

.section--dunkel {
  max-width: none;
  background: var(--ton);
  color: var(--sand);
}
/* Inhalt im dunklen Abschnitt trotzdem auf Lesebreite halten */
.section--dunkel > * {
  max-width: var(--breite);
  margin-left: auto;
  margin-right: auto;
}
.section--dunkel .section__titel::after { background: var(--gold-hell); }
.section--dunkel .section__intro { color: rgba(247, 241, 232, 0.72); }

.section__titel {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  margin-bottom: var(--raum-m);
}
.section__titel::after {
  content: "";
  display: block;
  width: 3.5rem;
  height: 1px;
  margin-top: 1rem;
  background: var(--gold);
}

.section__untertitel {
  font-size: 1.35rem;
  margin: var(--raum-l) 0 var(--raum-s);
}

.section__intro {
  max-width: 42rem;
  color: var(--ink-leise);
  margin-bottom: var(--raum-m);
}

/* ---------- 6a. Hinweiskarten --------------------------------- */
.hinweise {
  display: grid;
  gap: var(--raum-m);
}

.hinweis {
  background: var(--sand-tief);
  border: 1px solid var(--sand-linie);
  border-radius: 140px 140px 8px 8px;   /* wieder der Bogen */
  padding: 2.5rem 1.75rem 1.75rem;
  text-align: center;
}

.hinweis__icon {
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.9rem;
  color: var(--terrakotta);
}
.hinweis__icon svg { width: 100%; height: 100%; }

.hinweis__titel {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.hinweis__text {
  color: var(--ink-leise);
  font-size: 0.98rem;
  margin: 0;
}

/* ---------- 6b. Ablauf ---------------------------------------- */
.ablauf {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.25rem;
  border-left: 1px solid var(--gold);  /* der goldene Faden durch den Tag */
}

.ablauf__punkt {
  position: relative;
  padding: 0 0 var(--raum-m) 1rem;
}
.ablauf__punkt::before {
  content: "";
  position: absolute;
  left: -1.6rem;
  top: 0.6rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sand);
  border: 1px solid var(--gold);
}
.ablauf__punkt--jetzt::before { background: var(--terrakotta); border-color: var(--terrakotta); }

.ablauf__zeit {
  font-family: var(--display);
  font-size: 1.1rem;
  color: var(--terrakotta);
  margin: 0;
}
.ablauf__titel { font-size: 1.15rem; margin: 0.1rem 0 0.2rem; }
.ablauf__text { color: var(--ink-leise); font-size: 0.95rem; margin: 0; }

/* ---------- 6c. Login & Sitzplan ------------------------------ */
.login {
  background: rgba(247, 241, 232, 0.06);
  border: 1px solid rgba(217, 188, 133, 0.35);
  border-radius: 12px;
  padding: var(--raum-m);
  max-width: 34rem;
}

.login__felder { display: grid; gap: var(--raum-s); margin-bottom: var(--raum-s); }

.feld { display: block; }
.feld__label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-hell);
  margin-bottom: 0.35rem;
}
.feld__input {
  width: 100%;
  padding: 0.8rem 0.9rem;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--sand);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(217, 188, 133, 0.4);
  border-radius: 8px;
}
.feld__input:focus { border-color: var(--gold-hell); }

.login__fehler {
  margin: var(--raum-s) 0 0;
  color: #E8A98F;
  font-size: 0.92rem;
}

.platz__gruss {
  font-family: var(--display);
  font-size: clamp(1.5rem, 5vw, 2.1rem);
  color: var(--gold-hell);
  margin-bottom: var(--raum-m);
}

.platz__karte {
  border: 1px solid rgba(217, 188, 133, 0.4);
  border-radius: 12px;
  overflow: hidden;
  max-width: 34rem;
}
.platz__zeile {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 0;
  padding: 0.85rem 1.1rem;
  border-bottom: 1px solid rgba(217, 188, 133, 0.2);
}
.platz__zeile:last-child { border-bottom: 0; }
.platz__label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 241, 232, 0.6);
  padding-top: 0.2rem;
}
.platz__wert { font-family: var(--display); font-size: 1.15rem; text-align: right; }

.platz__raumtext {
  margin-top: var(--raum-s);
  color: rgba(247, 241, 232, 0.7);
  font-size: 0.95rem;
}

.platz__untertitel { font-size: 1.3rem; margin: var(--raum-l) 0 var(--raum-s); }

.tische {
  display: grid;
  gap: var(--raum-s);
  margin-bottom: var(--raum-m);
}

.tisch {
  border: 1px solid rgba(217, 188, 133, 0.3);
  border-radius: 10px;
  padding: 1rem 1.1rem;
  background: rgba(0, 0, 0, 0.12);
}
/* Der eigene Tisch wird hervorgehoben */
.tisch--eigen {
  border-color: var(--gold-hell);
  background: rgba(176, 141, 79, 0.22);
  box-shadow: 0 0 0 1px var(--gold-hell) inset;
}

.tisch__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 0.75rem; }
.tisch__name { font-family: var(--display); font-size: 1.1rem; }
.tisch__raum {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-hell);
}
.tisch__gaeste {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.7rem 0 0;
  padding: 0;
}
.tisch__gast {
  font-size: 0.85rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(247, 241, 232, 0.08);
  color: rgba(247, 241, 232, 0.8);
}
/* Der eigene Sitzplatz */
.tisch__gast--ich {
  background: var(--terrakotta);
  color: #fff;
}

/* ---------- 6d. Menü- und Getränkekarte ----------------------- */
.tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid var(--sand-linie);
  border-radius: 999px;
  margin-bottom: var(--raum-m);
}
.tabs__btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.5rem 1.4rem;
  font-family: var(--body);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-leise);
  cursor: pointer;
}
.tabs__btn.is-aktiv { background: var(--terrakotta); color: #fff; }

.gang { margin-bottom: var(--raum-l); }
.gang__name {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--sand-linie);
  margin-bottom: var(--raum-s);
}
.gericht { margin-bottom: 1.1rem; }
.gericht__name { font-family: var(--display); font-size: 1.2rem; margin: 0; }
.gericht__text { color: var(--ink-leise); font-size: 0.95rem; margin: 0.1rem 0 0; }
.gericht__tag {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terrakotta);
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0.1rem 0.6rem;
}

/* ---------- 6e. Anfahrt & Parken ------------------------------ */
.adresse {
  background: var(--sand-tief);
  border: 1px solid var(--sand-linie);
  border-radius: 12px;
  padding: var(--raum-m);
  margin-bottom: var(--raum-m);
}
.adresse__name { font-family: var(--display); font-size: 1.6rem; margin-bottom: 0.3rem; }
.adresse__zeile { margin: 0; color: var(--ink-leise); }
.adresse .btn { margin-top: var(--raum-s); }

.mapswrap {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--sand-linie);
  aspect-ratio: 4 / 3;
}
.mapswrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.anfahrt__hinweis {
  margin-top: var(--raum-s);
  color: var(--ink-leise);
  font-size: 0.95rem;
}

.weg {
  counter-reset: schritt;
  list-style: none;
  margin: 0;
  padding: 0;
}
.weg li {
  counter-increment: schritt;
  position: relative;
  padding: 0 0 0.9rem 2.4rem;
  color: var(--ink-leise);
}
/* Die Nummer trägt hier echte Information: die Reihenfolge der Fahrt */
.weg li::before {
  content: counter(schritt);
  position: absolute;
  left: 0;
  top: 0.15rem;
  width: 1.6rem;
  height: 1.6rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  font-family: var(--display);
  font-size: 0.85rem;
  color: var(--gold);
}

.parken { display: grid; gap: var(--raum-m); }

.parkplatz {
  background: var(--sand-tief);
  border: 1px solid var(--sand-linie);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.parkplatz__bild { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.parkplatz__text { padding: 1.1rem 1.2rem 1.4rem; }
.parkplatz__titel { font-size: 1.25rem; margin-bottom: 0.3rem; }
.parkplatz__meta {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--terrakotta);
  margin-bottom: 0.5rem;
}
.parkplatz__beschreibung { color: var(--ink-leise); font-size: 0.95rem; }
.parkplatz__link { font-size: 0.9rem; }

/* ---------- 6f. Cloud: Upload & Galerie ----------------------- */
.upload { margin-bottom: var(--raum-m); }
.upload__input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}
.upload__flaeche {
  display: block;
  text-align: center;
  padding: var(--raum-m);
  border: 1px dashed rgba(217, 188, 133, 0.5);
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.upload__flaeche:hover { background: rgba(247, 241, 232, 0.06); }
.upload__input:focus-visible + .upload__flaeche { outline: 2px solid var(--gold-hell); outline-offset: 3px; }
.upload__titel {
  display: block;
  font-family: var(--display);
  font-size: 1.3rem;
  color: var(--gold-hell);
}
.upload__hinweis {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.9rem;
  color: rgba(247, 241, 232, 0.6);
}
.upload__status { margin-top: var(--raum-s); font-size: 0.95rem; color: var(--gold-hell); }
.upload__status--fehler { color: #E8A98F; }

.galerie {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}
.galerie__leer { color: rgba(247, 241, 232, 0.6); }

.medium {
  position: relative;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 200px 200px 6px 6px;  /* Bogen, auch hier */
  overflow: hidden;
  aspect-ratio: 3 / 4;
  cursor: pointer;
}
.medium img,
.medium video { width: 100%; height: 100%; object-fit: cover; }
.medium__badge {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  background: rgba(43, 36, 32, 0.75);
  color: var(--sand);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

/* ---------- 7. Fußzeile & Lightbox ---------------------------- */
.footer {
  text-align: center;
  padding: var(--raum-l) var(--raum-m);
  border-top: 1px solid var(--sand-linie);
}
.footer__text { font-family: var(--display); font-size: 1.5rem; }
.footer__klein { color: var(--ink-leise); font-size: 0.9rem; margin: 0; }

.lightbox {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: 96vw;
  max-height: 96vh;
}
.lightbox::backdrop { background: rgba(43, 36, 32, 0.92); }
.lightbox__inhalt img,
.lightbox__inhalt video { max-width: 96vw; max-height: 90vh; border-radius: 6px; }
.lightbox__zu {
  position: fixed;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 50%;
  background: var(--sand);
  color: var(--ink);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------- 8. Größere Bildschirme ---------------------------- */
@media (min-width: 700px) {
  .login__felder { grid-template-columns: 1fr 1fr; }
  .hinweise { grid-template-columns: repeat(2, 1fr); }
  .parken { grid-template-columns: repeat(2, 1fr); }
  .tische { grid-template-columns: repeat(2, 1fr); }
  .galerie { grid-template-columns: repeat(3, 1fr); }
  .hero__names { flex-direction: row; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0.3em; }
  .mapswrap { aspect-ratio: 16 / 7; }
}

@media (min-width: 1000px) {
  .hinweise { grid-template-columns: repeat(4, 1fr); }
  .parken { grid-template-columns: repeat(3, 1fr); }
  .tische { grid-template-columns: repeat(3, 1fr); }
  .galerie { grid-template-columns: repeat(4, 1fr); }
  .section { padding-left: var(--raum-l); padding-right: var(--raum-l); }
  .section--dunkel { padding-left: var(--raum-l); padding-right: var(--raum-l); }
}

/* Nutzerwunsch „weniger Bewegung“ respektieren */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* ===================================================================
   TEIL 2 – Namensabfrage, Sitzplan und die neuen Bereiche
   =================================================================== */

/* ---------- Gemeinsames ---------- */
body.ist-gesperrt { overflow: hidden; }   /* solange das Gate steht, kein Scrollen */

/* Feiner Papierton über der ganzen Seite: nimmt den Farbflächen das
   Digitale, ohne ein Bild nachzuladen. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: 0.5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
}

/* Abschnitte gleiten beim Scrollen herein */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.3, 1);
}
[data-reveal].ist-da { opacity: 1; transform: none; }

/* ---------- 1. Das Gate ---------- */
.gate {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  /* Oben Platz für die Kuppel, unten für den Daumen */
  padding: calc(var(--raum-m) + env(safe-area-inset-top)) var(--raum-m)
           calc(var(--raum-m) + env(safe-area-inset-bottom));
  background: #2A211C;
  color: var(--sand);
  /* Passt der Inhalt auf kleinen Displays nicht, muss man scrollen können –
     sonst wäre der Knopf unerreichbar. */
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.9s ease, visibility 0.9s;
}

/* Warmes Licht hinter dem Bogen, das langsam atmet */
.gate__licht {
  position: absolute;
  left: 50%;
  top: 42%;
  width: min(120vmin, 900px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(217, 188, 133, 0.28), rgba(168, 80, 59, 0.1) 45%, transparent 70%);
  animation: atmen 9s ease-in-out infinite;
}
@keyframes atmen {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%, -50%) scale(1.08); }
}

.gate__inhalt {
  position: relative;
  width: min(100%, 25rem);
  text-align: center;
}

/* Der Bogen wächst beim Laden von unten nach oben herein */
.gate .bogen { --kuppel: clamp(4rem, 18vw, 6.5rem); }
.gate .bogen__rahmen {
  clip-path: inset(0 0 100% 0);
  animation: bogenWachsen 1.6s 0.2s cubic-bezier(0.3, 0.8, 0.3, 1) forwards;
}
@keyframes bogenWachsen {
  to { clip-path: inset(-40% 0 0 0); }   /* -40% gibt der Kuppel oben Luft */
}

.gate__text > * { animation: aufblenden 0.9s both; }
.gate__datum     { animation-delay: 0.5s; font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-hell); }
.gate__namen     { animation-delay: 0.7s; font-size: clamp(2rem, 9vw, 3rem); font-weight: 300; margin: 0.4rem 0 1.1rem; overflow-wrap: anywhere; }
.gate__amp       { color: var(--terrakotta); font-style: italic; font-size: 0.6em; }
.gate__titel     { animation-delay: 0.9s; font-family: var(--display); font-size: 1.25rem; color: var(--gold-hell); }
.gate__einleitung{ animation-delay: 1s; font-size: 0.95rem; color: rgba(247, 241, 232, 0.66); margin-bottom: 1.6rem; }
.gate__form      { animation-delay: 1.15s; display: grid; gap: 0.7rem; text-align: left; }
.gate__btn       { margin-top: 0.4rem; width: 100%; }
.gate__fehler    { margin-top: 0.9rem; color: #E8A98F; font-size: 0.92rem; }
.gate__fussnote  { animation-delay: 1.3s; margin-top: 1.2rem; font-size: 0.78rem; color: rgba(247, 241, 232, 0.42); }

@keyframes aufblenden { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* Falscher Name: kurzes Kopfschütteln */
.gate.ist-falsch .gate__inhalt { animation: wackeln 0.4s; }
@keyframes wackeln {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-7px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(2px); }
}

/* Eintreten: der Bogen öffnet sich und gibt die Seite frei */
.gate.ist-offen {
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease 0.35s, visibility 1s 0.35s;
}
.gate.ist-offen .gate__inhalt { animation: durchtreten 1.1s cubic-bezier(0.6, 0, 0.3, 1) forwards; }
.gate.ist-offen .bogen__rahmen { animation: none; clip-path: none; }
@keyframes durchtreten {
  to { transform: scale(2.6); opacity: 0; filter: blur(6px); }
}
.gate.ist-offen .gate__licht { animation: aufleuchten 1.1s forwards; }
@keyframes aufleuchten { to { opacity: 0; transform: translate(-50%, -50%) scale(2.4); } }

/* Wiederkehrende Gäste sehen die Animation nicht noch einmal */
.ohne-gate-animation .gate { display: none; }

/* Helle Eingabefelder für den hellen Untergrund */
.feld--hell .feld__label { color: var(--ink-leise); }
.feld--hell .feld__input {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--sand-linie);
}

/* ---------- 2. Navigation: Gastknopf ---------- */
.nav__gast {
  border: 1px solid var(--sand-linie);
  background: transparent;
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-family: var(--body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-leise);
  cursor: pointer;
  white-space: nowrap;
}
.nav__gast:hover { border-color: var(--terrakotta); color: var(--terrakotta); }

/* ---------- 3. Ablauf: Zustände am Hochzeitstag ---------- */
.ablauf__punkt.ist-vorbei { opacity: 0.45; }
.ablauf__punkt.ist-jetzt::before {
  background: var(--terrakotta);
  border-color: var(--terrakotta);
  box-shadow: 0 0 0 4px rgba(168, 80, 59, 0.18);
}
.ablauf__punkt.ist-jetzt .ablauf__titel { color: var(--terrakotta); }

/* ---------- 4. Sitzplan ---------- */
.raumtabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  border: 1px solid rgba(217, 188, 133, 0.35);
  border-radius: 999px;
  margin: var(--raum-m) 0 var(--raum-s);
}
.raumtabs__btn {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  font-family: var(--body);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 241, 232, 0.7);
  cursor: pointer;
}
.raumtabs__btn.is-aktiv { background: var(--gold); color: #2A211C; }

.raum__text { color: rgba(247, 241, 232, 0.6); font-size: 0.92rem; margin-bottom: var(--raum-s); }

.plan {
  border: 1px solid rgba(217, 188, 133, 0.28);
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.16);
  overflow: hidden;
}
.plan__buehne { position: relative; }
.plan__svg {
  display: block;
  -webkit-touch-callout: none;   /* kein Halte-Menü auf dem iPhone */
  width: 100%;
  height: min(62vh, 520px);
  touch-action: none;          /* eigene Zoom-Geste statt Seiten-Zoom */
  cursor: grab;
}
.plan__svg:active { cursor: grabbing; }

.plan__leiste {
  display: flex;
  gap: 0.4rem;
  padding: 0.6rem;
  border-top: 1px solid rgba(217, 188, 133, 0.2);
}
.plan__knopf {
  min-width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(217, 188, 133, 0.35);
  background: transparent;
  border-radius: 8px;
  color: var(--sand);
  font-family: var(--body);
  font-size: 1rem;
  cursor: pointer;
}
.plan__knopf:hover { border-color: var(--gold-hell); color: var(--gold-hell); }
.plan__knopf--breit { flex: 1; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }
.plan__tipp {
  margin: 0;
  padding: 0 0.7rem 0.7rem;
  font-size: 0.78rem;
  color: rgba(247, 241, 232, 0.4);
}

/* Blase mit dem Namen des angetippten Stuhls */
.plan__blase {
  margin-top: var(--raum-s);
  border: 1px solid var(--gold-hell);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  background: rgba(176, 141, 79, 0.16);
  animation: aufblenden 0.25s;
}
.blase__name { font-family: var(--display); font-size: 1.2rem; margin: 0; }
.blase__ort  { margin: 0; font-size: 0.85rem; color: rgba(247, 241, 232, 0.6); }
.blase__ich  { margin: 0.3rem 0 0; font-size: 0.85rem; color: var(--gold-hell); }

/* --- die SVG-Zeichnung selbst --- */
.sp-raster line { stroke: rgba(217, 188, 133, 0.12); stroke-width: 1; }

.sp-tafel {
  fill: rgba(237, 226, 211, 0.1);
  stroke: rgba(217, 188, 133, 0.55);
  stroke-width: 2;
}
.sp-tisch.ist-aktiv .sp-tafel { fill: rgba(176, 141, 79, 0.28); stroke: var(--gold-hell); }

.sp-tafel-name {
  fill: rgba(247, 241, 232, 0.9);
  font-family: var(--display);
  font-size: 22px;
}
.sp-tafel-zahl {
  fill: rgba(247, 241, 232, 0.45);
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 1px;
}

.sp-platz { cursor: pointer; }
.sp-stuhl {
  fill: rgba(247, 241, 232, 0.08);
  stroke: rgba(217, 188, 133, 0.5);
  stroke-width: 1.5;
  transition: fill 0.2s ease, stroke 0.2s ease;
}
.sp-platz.ist-belegt .sp-stuhl { fill: rgba(217, 188, 133, 0.22); }
.sp-platz.ist-frei .sp-stuhl { stroke-dasharray: 3 4; }
.sp-platz:hover .sp-stuhl { fill: rgba(217, 188, 133, 0.4); }
.sp-platz.ist-kopf .sp-stuhl { stroke: var(--gold-hell); stroke-width: 2; }
.sp-platz.ist-gewaehlt .sp-stuhl { fill: var(--gold); stroke: #fff; }

.sp-initialen {
  fill: rgba(247, 241, 232, 0.85);
  font-family: var(--body);
  font-size: 15px;
  letter-spacing: 0.5px;
  pointer-events: none;
}

/* Der eigene Platz: gefüllt, mit feinem Goldring – ruhig, ohne Bewegung */
.sp-platz.ist-ich .sp-stuhl { fill: var(--terrakotta); stroke: var(--gold-hell); stroke-width: 2.5; }
.sp-platz.ist-ich .sp-initialen { fill: #fff; font-weight: 500; }
.sp-ring {
  fill: none;
  stroke: var(--gold-hell);
  stroke-width: 1.2;
  opacity: 0.8;
}

/* Tafeln als Namensliste */
.tafelliste {
  margin-top: var(--raum-m);
  border-top: 1px solid rgba(217, 188, 133, 0.25);
  padding-top: var(--raum-s);
}
.tafelliste > summary {
  cursor: pointer;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-hell);
  padding: 0.4rem 0;
}
.tafelliste__block { margin: var(--raum-m) 0; }
.tafelliste__kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.tafelliste__name { font-family: var(--display); font-size: 1.15rem; margin: 0; }
.tafelliste__raum { font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-hell); }
.tafelliste__gaeste {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.7rem 0 0;
  padding: 0;
}
.tafelliste__gast {
  font-size: 0.85rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(247, 241, 232, 0.08);
  color: rgba(247, 241, 232, 0.8);
}
.tafelliste__gast.ist-ich { background: var(--terrakotta); color: #fff; }

/* ---------- 5. Dresscode ---------- */
/* Früher enger als die anderen Abschnitte (46rem) – dadurch begann der
   Text hier sichtbar weiter rechts als bei Ablauf, Hinweisen & Co. Der
   Absatztext begrenzt seine Zeilenlänge ohnehin schon selbst
   (.section__intro, .musik__form), die schmalere Box brachte also
   nichts außer dem Versatz. Jetzt gleiche Breite wie alle anderen. */
.section--schmal { max-width: var(--breite); }
.farben { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.farben__feld {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: var(--schatten);
}

/* ---------- 6. Cloud: Upload-Warteschlange, Challenge ---------- */
.upload__input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0;
  pointer-events: none;
}

.upload__flaeche {
  text-align: center;
  padding: var(--raum-m);
  border: 1px dashed rgba(217, 188, 133, 0.5);
  border-radius: 12px;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.upload.ist-bereit .upload__flaeche { background: rgba(217, 188, 133, 0.14); border-color: var(--gold-hell); }

.upload__titel {
  font-family: var(--display);
  font-size: 1.4rem;
  color: var(--gold-hell);
  margin-bottom: 0.2rem;
}
.upload__hinweis { font-size: 0.9rem; color: rgba(247, 241, 232, 0.6); margin-bottom: var(--raum-m); }

.upload__knoepfe { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
/* Die Knöpfe sind <label> – sie brauchen denselben Fokusring wie echte Knöpfe */
.upload__knoepfe label { cursor: pointer; }
.upload__input:focus-visible + .upload__flaeche { outline: 2px solid var(--gold-hell); outline-offset: 3px; }

.upload__zieh { margin: var(--raum-s) 0 0; font-size: 0.82rem; color: rgba(247, 241, 232, 0.4); }

/* --- Fortschritt --- */
.upload__lauf { margin-top: var(--raum-m); }

.upload__balken {
  height: 4px;
  border-radius: 999px;
  background: rgba(247, 241, 232, 0.12);
  overflow: hidden;
}
.upload__balken-fuellung {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--terrakotta));
  transition: width 0.25s ease;
}

.upload__zeile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.6rem;
}
.upload__zahlen {
  margin: 0;
  font-size: 0.9rem;
  color: var(--gold-hell);
  font-variant-numeric: tabular-nums;   /* die Zahlen zappeln nicht */
}
.upload__stopp {
  border: 1px solid rgba(217, 188, 133, 0.4);
  background: transparent;
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-family: var(--body);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(247, 241, 232, 0.7);
  cursor: pointer;
  white-space: nowrap;
}
.upload__stopp:hover { border-color: #E8A98F; color: #E8A98F; }

.upload__status { margin-top: var(--raum-s); font-size: 0.95rem; color: var(--gold-hell); min-height: 1.4em; }
.upload__status--fehler { color: #E8A98F; }

/* --- Was nicht dabei ist --- */
.upload__probleme { margin-top: var(--raum-s); }
.upload__probleme > summary {
  cursor: pointer;
  font-size: 0.85rem;
  color: rgba(247, 241, 232, 0.6);
  padding: 0.3rem 0;
}
.upload__probleme-liste {
  list-style: none;
  margin: 0.5rem 0;
  padding: 0;
  max-height: 14rem;
  overflow-y: auto;
  border-left: 1px solid rgba(217, 188, 133, 0.25);
}
.upload__problem {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0.8rem;
  font-size: 0.82rem;
  color: rgba(247, 241, 232, 0.6);
}
.upload__problem-name { overflow-wrap: anywhere; }
.upload__problem-grund { color: #E8A98F; white-space: nowrap; }

/* --- Foto-Challenge --- */
.challenge { margin-bottom: var(--raum-m); }
.challenge > summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.15rem;
  color: var(--gold-hell);
  padding: 0.4rem 0;
}
.challenge__liste {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}
.challenge__liste li {
  position: relative;
  padding-left: 1.6rem;
  color: rgba(247, 241, 232, 0.75);
  font-size: 0.95rem;
}
.challenge__liste li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border: 1px solid var(--gold);
  border-radius: 2px;
}

.medium { animation: aufblenden 0.5s both; animation-delay: var(--verzug, 0ms); }
.hinweis { animation-delay: var(--verzug, 0ms); }

.lightbox__pfeil {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: rgba(247, 241, 232, 0.85);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox__pfeil--vor { right: 1rem; }
.lightbox__pfeil--zurueck { left: 1rem; }

/* ---------- 6b. Bild quer ---------- */
.section--bild { padding-top: 0; padding-bottom: var(--raum-l); }

.querbild { margin: 0; }
.querbild__bild {
  width: 100%;
  height: auto;
  aspect-ratio: 8 / 5;      /* 800 x 500 – hält den Platz frei, kein Springen */
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--sand-linie);
  box-shadow: var(--schatten);
}
/* Deutlicher Hinweis, wenn die Bilddatei nicht am erwarteten Ort liegt */
.querbild__fehlt {
  display: grid;
  place-content: center;
  gap: 0.3rem;
  text-align: center;
  aspect-ratio: 8 / 5;
  padding: var(--raum-m);
  border: 1px dashed var(--terrakotta);
  border-radius: 10px;
  background: var(--sand-tief);
}
.querbild__fehlt-titel { font-family: var(--display); font-size: 1.3rem; color: var(--terrakotta); margin: 0; }
.querbild__fehlt-pfad {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.9rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.5);
  border-radius: 4px;
  padding: 0.2rem 0.6rem;
  margin: 0.2rem auto;
  overflow-wrap: anywhere;
}
.querbild__fehlt-tipp { max-width: 30rem; margin: 0 auto; font-size: 0.85rem; color: var(--ink-leise); }

.querbild__text {
  margin-top: 0.9rem;
  text-align: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--ink-leise);
}

/* ---------- 7. Musikwünsche ---------- */
.musik__privat {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--raum-m);
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--sand-linie);
  border-radius: 999px;
  background: var(--sand-tief);
  font-size: 0.85rem;
  color: var(--ink-leise);
}
/* Kleines Schloss als reine Dekoration */
.musik__privat::before {
  content: "";
  flex: 0 0 auto;
  width: 11px;
  height: 9px;
  margin-top: 2px;
  border: 1px solid var(--terrakotta);
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px var(--sand-tief);
  position: relative;
}

.musik__form { display: grid; gap: 0.7rem; max-width: 32rem; }
.musik__knoepfe { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.musik__status { margin-top: var(--raum-s); color: var(--terrakotta); font-size: 0.95rem; min-height: 1.4em; }
.musik__status--fehler { color: #A03A22; }

.musik__liste {
  list-style: none;
  padding: 0;
  margin: var(--raum-s) 0 0;
  max-width: 32rem;
}

.musik__eintrag {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid var(--sand-linie);
}
.musik__eintrag:first-child { border-top: 1px solid var(--sand-linie); }
.musik__eintrag.ist-offen { background: rgba(217, 188, 133, 0.16); }

.musik__text { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; flex: 1; }
.musik__titel { font-family: var(--display); font-size: 1.1rem; }
.musik__kuenstler { color: var(--ink-leise); font-size: 0.9rem; }

.musik__aktionen { display: flex; gap: 0.4rem; margin-left: auto; }
.musik__knopf {
  border: 1px solid var(--sand-linie);
  background: transparent;
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
  font-family: var(--body);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-leise);
  cursor: pointer;
}
.musik__knopf:hover { border-color: var(--terrakotta); color: var(--terrakotta); }
.musik__knopf--weg:hover { border-color: #A03A22; color: #A03A22; }

.musik__leer { color: var(--ink-leise); font-size: 0.95rem; padding: 0.5rem 0; }

/* ---------- 8. Größere Bildschirme ---------- */
@media (min-width: 700px) {
  .gate__form { grid-template-columns: 1fr 1fr; }
  .gate__btn { grid-column: 1 / -1; }
  .plan__svg { height: min(70vh, 620px); }
}
