/* dxEvent – Webseite. Festzelt am Abend: Nachtblau/Aubergine, warmes Licht, helle Abschnitte zum Durchatmen.
   Mobil zuerst, hell/dunkel nach System, Schrift selbst gehostet (Bricolage Grotesque, OFL). */

@font-face {
  font-family: "Fest";
  src: url("/schrift/bricolage-fest.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* hell: warmer Sommerabend */
  --grund: #fff8ec;
  --flaeche: #ffffff;
  --flaeche-2: #ffefd6;
  --text: #26143d;
  --text-leise: #5c4a6b;
  --linie: #efd9b8;
  --knopf: #c4301f;
  --knopf-text: #ffffff;
  --knopf-hover: #a02314;
  --vorspann: #b3301d;
  --link: #a02314;
  --fokus: #26143d;
  --fehler: #b42318;
  --erfolg: #0d6b3a;
  --feld-rand: #9a86a6;

  --gold: #ffc23d;
  --gold-hell: #ffd56e;
  --amber: #ff9f1c;
  --rot: #c4301f;
  --rot-hell: #e0442f;
  --creme: #fbf1e2;
  --nacht-1: #1b1033;
  --nacht-2: #271a47;

  --schatten: 0 1px 2px rgb(38 20 61 / 0.06), 0 10px 30px rgb(38 20 61 / 0.1);
  --rund: 16px;
  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --anzeige: "Fest", "Arial Narrow", system-ui, sans-serif;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* dunkel: Nacht am Fest */
    --grund: #140c27;
    --flaeche: #21173c;
    --flaeche-2: #1a1131;
    --text: #f8eedf;
    --text-leise: #cdbfdc;
    --linie: #3a2c5a;
    --knopf: #ffc23d;
    --knopf-text: #241300;
    --knopf-hover: #ffd56e;
    --vorspann: #ffc94d;
    --link: #ffd27a;
    --fokus: #ffc94d;
    --fehler: #ff8a7a;
    --erfolg: #6fdc9f;
    --feld-rand: #85739f;
    --nacht-1: #0f0920;
    --nacht-2: #1f1440;
    --schatten: 0 1px 2px rgb(0 0 0 / 0.4), 0 10px 30px rgb(0 0 0 / 0.4);
    color-scheme: dark;
  }
}

/* Nachtabschnitte: in beiden Modi dunkel, mit warmem Licht */
.nacht {
  --grund: var(--nacht-1);
  --flaeche: rgb(255 255 255 / 0.06);
  --flaeche-2: rgb(255 255 255 / 0.04);
  --text: #fbf1e2;
  --text-leise: #dccfe8;
  --linie: rgb(255 255 255 / 0.14);
  --knopf: #ffc23d;
  --knopf-text: #241300;
  --knopf-hover: #ffd56e;
  --vorspann: #ffc94d;
  --link: #ffd27a;
  --fokus: #ffc94d;
  background: var(--grund);
  color: var(--text);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: var(--schrift);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-wrap: break-word;
}

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

a {
  color: var(--link);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--text);
}

:focus-visible {
  outline: 3px solid var(--fokus);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  margin: 0 0 0.5em;
  line-height: 1.15;
}

h1,
h2 {
  font-family: var(--anzeige);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3rem, 13vw, 6.4rem);
}

h2 {
  font-size: clamp(2.25rem, 8.4vw, 4rem);
  max-width: 17ch;
}

h3 {
  font-size: 1.2rem;
}

p {
  margin: 0 0 1em;
}

.vorrat {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.breite {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 700px) {
  .breite {
    padding: 0 28px;
  }
}

.schmal {
  max-width: 820px;
}

.sprung {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  background: var(--gold);
  color: #241300;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
}

.sprung:focus {
  top: 8px;
}

/* ---------- Kopf ---------- */

.kopf {
  position: sticky;
  top: 0;
  z-index: 50;
  --fokus: #ffc94d;
  background: rgb(22 12 42 / 0.9);
  backdrop-filter: saturate(1.3) blur(10px);
  border-bottom: 1px solid rgb(255 194 61 / 0.18);
  color: #fbf1e2;
}

.kopf-innen {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 64px;
}

.marke {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--anzeige);
  font-weight: 800;
  font-size: 1.6rem;
  letter-spacing: 0.01em;
  color: #fbf1e2;
  text-decoration: none;
}

.marke:hover {
  color: var(--gold-hell);
}

.marke-zeichen {
  width: 34px;
  height: 34px;
  filter: drop-shadow(0 0 8px rgb(255 160 60 / 0.35));
}

.hauptnav {
  display: none;
  gap: 2px;
  margin-left: auto;
}

.hauptnav a {
  color: #fbf1e2;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
}

.hauptnav a:hover {
  background: rgb(255 255 255 / 0.08);
  color: var(--gold-hell);
}

.kopf .knopf {
  margin-left: 8px;
  --knopf: #ffc23d;
  --knopf-text: #241300;
  --knopf-hover: #ffd56e;
}

/* Sprachumschalter DE | EN: Link auf die gleiche Seite in der anderen Sprache, keine automatische Weiterleitung. */
.sprachen {
  display: flex;
  flex: none;
  margin-left: auto;
  padding: 3px;
  border: 1px solid rgb(255 194 61 / 0.4);
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}

.sprachen a {
  min-width: 36px;
  padding: 8px 8px;
  border-radius: 999px;
  color: #fbf1e2;
  text-align: center;
  text-decoration: none;
  line-height: 1;
}

.sprachen a:hover {
  background: rgb(255 255 255 / 0.1);
  color: var(--gold-hell);
}

.sprachen a[aria-current="page"] {
  background: rgb(255 194 61 / 0.18);
  color: var(--gold-hell);
}

.hauptnav a,
.kopf .knopf,
.sprachen {
  white-space: nowrap;
}

.kopf .knopf {
  flex: none;
}

/* Schmale Handys: Platz für Sprachumschalter und Knopf; das Zeichen bleibt, der Schriftzug steht im Kopfbereich. */
@media (max-width: 400px) {
  .kopf-innen {
    gap: 10px;
  }

  .marke span {
    display: none;
  }

  .kopf .knopf-klein {
    padding-inline: 14px;
  }
}

@media (min-width: 960px) {
  .hauptnav {
    display: flex;
  }

  .sprachen {
    margin-left: 8px;
  }
}

/* ---------- Knöpfe ---------- */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 26px;
  border: 2px solid var(--knopf);
  border-radius: 999px;
  background: var(--knopf);
  color: var(--knopf-text);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}

.knopf:hover {
  background: var(--knopf-hover);
  border-color: var(--knopf-hover);
  color: var(--knopf-text);
}

.knopf:active {
  transform: translateY(1px);
}

.knopf[disabled] {
  opacity: 0.6;
  cursor: progress;
}

.nacht .knopf:not(.knopf-rand),
.preis .knopf:not(.knopf-rand) {
  box-shadow: 0 0 0 0 rgb(255 194 61 / 0), 0 8px 28px -6px rgb(255 170 50 / 0.55);
}

.knopf-klein {
  min-height: 42px;
  padding: 8px 18px;
  font-size: 0.95rem;
}

.knopf-rand {
  background: transparent;
  color: var(--text);
  border-color: currentColor;
}

.knopf-rand:hover {
  background: color-mix(in srgb, var(--text) 10%, transparent);
  border-color: currentColor;
  color: var(--text);
}

.knoepfe {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 24px;
}

/* ---------- Kopfbereich (Held) ---------- */

.held {
  position: relative;
  overflow: clip;
  padding: 92px 0 0;
  background: linear-gradient(180deg, #24124a 0%, #3d1b5c 34%, #6a2862 62%, #a23d5c 82%, #e0744c 100%);
}

@media (prefers-color-scheme: dark) {
  .held {
    background: linear-gradient(180deg, #0a0620 0%, #170c35 40%, #2e1347 70%, #5a1f45 90%, #8a3540 100%);
  }
}

.himmel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sterne {
  fill: #fff6dc;
  opacity: 0.35;
}

@media (prefers-color-scheme: dark) {
  .sterne {
    opacity: 0.8;
  }
}

.sterne circle {
  animation: funkeln 5s ease-in-out infinite;
}

.sterne circle:nth-child(3n) {
  animation-duration: 7s;
  animation-delay: -2s;
}

.sterne circle:nth-child(4n + 1) {
  animation-duration: 4s;
  animation-delay: -3s;
}

@keyframes funkeln {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}

.konfetti {
  opacity: 0.75;
}

.konfetti > :nth-child(5n + 1) { fill: #ffc23d; }
.konfetti > :nth-child(5n + 2) { fill: #ff6b4a; }
.konfetti > :nth-child(5n + 3) { fill: #6fd6c8; }
.konfetti > :nth-child(5n + 4) { fill: #ff9fc0; }
.konfetti > :nth-child(5n + 5) { fill: #fff1c1; }

/* Lichterkette */

.lichterkette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(78px, 9vw, 130px);
  pointer-events: none;
}

.lichterkette .draht {
  fill: none;
  stroke: #120a24;
  stroke-width: 2.2;
}

.lichterkette .schein {
  fill: url(#glut);
}

.lichterkette .birnen use:nth-child(4n + 1) { color: #ffd166; }
.lichterkette .birnen use:nth-child(4n + 2) { color: #ff9b3d; }
.lichterkette .birnen use:nth-child(4n + 3) { color: #fff0bf; }
.lichterkette .birnen use:nth-child(4n + 4) { color: #ff6a4d; }

.lichterkette .birnen use {
  filter: drop-shadow(0 0 4px currentColor);
}

.lichterkette .schein circle {
  animation: flackern 3.6s ease-in-out infinite;
}

.lichterkette .schein circle:nth-child(3n) {
  animation-duration: 5.2s;
  animation-delay: -1.3s;
}

.lichterkette .schein circle:nth-child(5n + 2) {
  animation-duration: 2.7s;
  animation-delay: -2.1s;
}

.lichterkette .schein circle:nth-child(7n + 4) {
  animation-name: flackern-stark;
  animation-duration: 6.3s;
}

@keyframes flackern {
  0%,
  100% {
    opacity: 1;
  }
  45% {
    opacity: 0.72;
  }
  60% {
    opacity: 0.95;
  }
}

@keyframes flackern-stark {
  0%,
  100% {
    opacity: 1;
  }
  8% {
    opacity: 0.45;
  }
  11% {
    opacity: 1;
  }
  14% {
    opacity: 0.6;
  }
  18% {
    opacity: 1;
  }
}

.lichterkette-fuss {
  height: clamp(60px, 7vw, 96px);
}

/* Inhalt im Kopfbereich */

.held-innen {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 24px;
  align-items: center;
}

@media (min-width: 960px) {
  .held {
    padding-top: 130px;
  }

  .held-innen {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
  }

  /* Luft unter den Chips: das Festzelt ragt 70 px in den Kopfbereich (längere Texte, z. B. Englisch). */
  .held-text {
    padding-bottom: 48px;
  }
}

.band {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 6px 16px 6px 6px;
  border-radius: 999px;
  background: rgb(20 8 40 / 0.4);
  border: 1px solid rgb(255 214 120 / 0.4);
  font-weight: 700;
  color: #fff3d6;
}

.band span {
  background: var(--gold);
  color: #241300;
  border-radius: 999px;
  padding: 2px 11px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 0 16px rgb(255 194 61 / 0.7);
}

.held h1 {
  margin-bottom: 0.32em;
  color: #fff6e6;
}

.leuchten {
  display: block;
  color: var(--gold);
  text-shadow: 0 0 22px rgb(255 170 50 / 0.55), 0 0 60px rgb(255 120 40 / 0.35);
}

.lead {
  font-size: clamp(1.12rem, 2.6vw, 1.32rem);
  color: #f1e3ef;
  max-width: 34em;
}

.held-neu {
  font-weight: 600;
  color: #fff3d6;
  margin: 0;
}

.held-neu strong {
  color: var(--gold-hell);
}

.fakten {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fakten li {
  padding: 4px 12px;
  border-radius: 999px;
  background: rgb(20 8 40 / 0.4);
  border: 1px solid rgb(255 255 255 / 0.16);
  font-weight: 600;
  font-size: 0.95rem;
  color: #fbf1e2;
}

.fakten li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold);
  vertical-align: 1px;
}

/* Handys im Kopfbereich, schräg und angeleuchtet */

.held-bild {
  position: relative;
  min-height: clamp(470px, 128vw, 600px);
  margin: 8px 0 0;
}

.held-bild::before {
  content: "";
  position: absolute;
  inset: 8% 0 0;
  background: radial-gradient(closest-side, rgb(255 180 80 / 0.42), rgb(255 120 60 / 0.12) 60%, transparent);
  pointer-events: none;
}

.held-bild .handy-vorne {
  position: absolute;
  left: 50%;
  top: 22px;
  width: min(270px, 52vw);
  transform: translateX(-38%) rotate(5deg);
  z-index: 2;
}

.held-bild .handy-hinten {
  position: absolute;
  left: 50%;
  top: 70px;
  width: min(220px, 42vw);
  transform: translateX(-112%) rotate(-9deg);
  z-index: 1;
  opacity: 0.95;
}

.bon-flieg {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: clamp(70px, 18vw, 110px);
  width: min(230px, 46vw);
  padding: 8px 8px 14px;
  background: #fff;
  transform: translateX(-6%) rotate(-7deg);
  box-shadow: 0 18px 30px -10px rgb(0 0 0 / 0.5);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 95% 100%, 90% 92%, 85% 100%, 80% 92%, 75% 100%, 70% 92%, 65% 100%, 60% 92%, 55% 100%, 50% 92%, 45% 100%, 40% 92%, 35% 100%, 30% 92%, 25% 100%, 20% 92%, 15% 100%, 10% 92%, 5% 100%, 0 92%);
}

.trompete {
  position: absolute;
  z-index: 3;
  width: clamp(120px, 34vw, 200px);
  right: -6px;
  top: -26px;
  transform: rotate(-14deg);
  color: var(--gold);
  filter: drop-shadow(0 0 10px rgb(255 180 60 / 0.45));
}

.trompete .instrument,
.tuba .instrument {
  fill: currentColor;
}

.trompete .rohr,
.tuba .rohr {
  fill: none;
  stroke: currentColor;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.noten {
  fill: #fff1c1;
}

.noten use {
  animation: schweben 4.5s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.noten use:nth-child(2) {
  animation-delay: -1.5s;
}

.noten use:nth-child(3) {
  animation-delay: -3s;
}

@keyframes schweben {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: translateY(-6px) rotate(8deg);
    opacity: 0.7;
  }
}

@media (min-width: 960px) {
  .held-bild {
    min-height: 640px;
    margin: 0;
  }

  .held-bild .handy-vorne {
    top: 0;
  }

  .bon-flieg {
    bottom: 150px;
    transform: translateX(10%) rotate(-7deg);
  }

  .trompete {
    right: -20px;
    top: -50px;
  }
}

@media (min-width: 1280px) {
  .trompete {
    width: 190px;
    right: -150px;
    top: 30px;
    transform: rotate(-18deg);
  }
}

/* Festzelt-Silhouette */

.festzelt {
  position: relative;
  z-index: 3;
  display: block;
  width: 100%;
  height: clamp(130px, 17vw, 240px);
  margin-top: -60px;
}

@media (min-width: 960px) {
  .festzelt {
    margin-top: -70px;
  }
}

.huegel-hinten { fill: #2a1440; }
.huegel-vorne { fill: var(--nacht-1); }
.baum { fill: #241139; }
.zelt-wand { fill: #f3a24a; }
.zelt-fenster { fill: #ffe39a; }
.zelt-eingang { fill: #fff0c2; }
.dach-a { fill: #c4301f; }
.dach-b { fill: #f6e6cc; }
.volant { fill: #c4301f; }
.mast { stroke: #3a1d33; stroke-width: 3; }
.fahne { fill: var(--gold); }

.zelt-lichter {
  fill: #fff2c4;
  filter: drop-shadow(0 0 3px #ffc23d);
}

.zelt-lichter circle {
  animation: flackern 3s ease-in-out infinite;
}

.zelt-lichter circle:nth-child(2n) {
  animation-delay: -1.5s;
}

@media (prefers-color-scheme: dark) {
  .huegel-hinten { fill: #1d0f33; }
  .baum { fill: #170b2a; }
  .dach-b { fill: #e5cfae; }
}

/* ---------- Zahlen ---------- */

.zahlen {
  padding: 8px 0 56px;
}

.zahlen-liste {
  list-style: none;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 16px;
}

@media (min-width: 800px) {
  .zahlen-liste {
    grid-template-columns: repeat(4, 1fr);
  }
}

.zahlen-liste li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 3px solid rgb(255 194 61 / 0.5);
  padding-left: 14px;
}

.zahlen-liste strong {
  font-family: var(--anzeige);
  font-size: clamp(3rem, 12vw, 4.6rem);
  line-height: 0.9;
  color: var(--gold);
  text-shadow: 0 0 26px rgb(255 160 50 / 0.45);
}

.zahlen-liste small {
  font-size: 0.4em;
  margin-right: 0.15em;
  color: var(--gold-hell);
  vertical-align: 0.15em;
}

.zahlen-liste span {
  color: var(--text-leise);
  font-weight: 600;
  line-height: 1.35;
}

/* ---------- Abschnitte ---------- */

.abschnitt {
  position: relative;
  padding: 72px 0;
  overflow-x: clip;
}

@media (min-width: 900px) {
  .abschnitt {
    padding: 108px 0;
  }
}

.abschnitt-farbe {
  background: var(--flaeche-2);
}

.vorspann {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--vorspann);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
}

.vorspann::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 30%, transparent), 0 0 12px var(--amber);
  flex-shrink: 0;
}

.einleitung {
  color: var(--text-leise);
  max-width: 34em;
  font-size: clamp(1.1rem, 2.4vw, 1.25rem);
}

.unterzeile {
  margin: 64px 0 18px;
  font-size: 1.35rem;
}

.zweispaltig {
  display: grid;
  gap: 44px;
  align-items: center;
}

@media (min-width: 900px) {
  .zweispaltig {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }

  .zweispaltig-umgekehrt {
    grid-template-columns: 0.85fr 1.15fr;
  }
}

/* Wimpelkette oben an einem Abschnitt */

.mit-wimpel {
  padding-top: 112px;
}

@media (min-width: 900px) {
  .mit-wimpel {
    padding-top: 150px;
  }
}

.wimpelkette {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: clamp(62px, 6.3vw, 90px);
  pointer-events: none;
}

.wimpelkette .schnur {
  fill: none;
  stroke: color-mix(in srgb, var(--text) 55%, transparent);
  stroke-width: 1.6;
}

.wimpel path {
  transform-box: fill-box;
  transform-origin: 50% 0;
  animation: wehen 3.2s ease-in-out infinite alternate;
}

.wimpel path:nth-child(4n + 1) { fill: #c4301f; }
.wimpel path:nth-child(4n + 2) { fill: #ffc23d; animation-delay: -0.8s; }
.wimpel path:nth-child(4n + 3) { fill: #2f6f8f; animation-delay: -1.6s; }
.wimpel path:nth-child(4n + 4) { fill: #ff8a5c; animation-delay: -2.4s; }
.wimpel path:nth-child(3n) { animation-duration: 2.6s; }

.nacht .wimpel path:nth-child(4n + 3) { fill: #f6e6cc; }

@media (prefers-color-scheme: dark) {
  .wimpel path:nth-child(4n + 3) { fill: #f6e6cc; }
}

@keyframes wehen {
  from {
    transform: rotate(-5deg);
  }
  to {
    transform: rotate(5deg);
  }
}

/* ---------- Handy-, Laptop- und Fensterrahmen ---------- */

.handy {
  width: min(250px, 56vw);
  padding: 8px;
  border-radius: 36px;
  background: linear-gradient(145deg, #3b3346, #120d18 45%, #2a2232);
  box-shadow:
    0 0 0 1.5px #4a3f55,
    0 34px 60px -20px rgb(20 6 40 / 0.6),
    0 14px 26px -12px rgb(20 6 40 / 0.45),
    -14px 10px 40px -18px rgb(255 160 60 / 0.55);
  position: relative;
  flex-shrink: 0;
}

.handy::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 10px;
  height: 10px;
  margin-left: -5px;
  border-radius: 50%;
  background: #050605;
  z-index: 2;
}

/* Glanz auf dem Glas */
.handy::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 29px;
  background: linear-gradient(118deg, rgb(255 255 255 / 0.2) 0%, rgb(255 255 255 / 0.05) 28%, transparent 42%);
  pointer-events: none;
}

.handy img {
  width: 100%;
  border-radius: 29px;
  background: #fff;
}

.handy-klein {
  width: min(220px, 42vw);
  border-radius: 30px;
  padding: 7px;
}

.handy-klein img,
.handy-klein::after {
  border-radius: 24px;
}

.handy-klein::after {
  inset: 7px;
}

.handy-links {
  transform: rotate(-4deg);
}

.handy-rechts {
  transform: rotate(4deg);
}

.handy-paar {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4%;
  padding: 20px 0;
}

.handy-paar::before,
.gast-bild::before,
.schritt-bild::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--amber) 30%, transparent), transparent);
  pointer-events: none;
}

.handy-versetzt {
  margin-top: 56px;
}

.laptop {
  margin: 40px auto 0;
  max-width: 960px;
}

.laptop-schirm {
  padding: 2.2% 2.2% 2.6%;
  border-radius: 18px 18px 6px 6px;
  background: linear-gradient(160deg, #2f2838, #141019);
  box-shadow: 0 0 0 1.5px #4a3f55, var(--schatten);
}

.laptop-schirm img {
  border-radius: 4px;
}

.laptop-fuss {
  height: 14px;
  margin: 0 -4%;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(180deg, #cfc6d6, #8d8399);
  box-shadow: 0 18px 30px -12px rgb(20 6 40 / 0.45);
}

.laptop figcaption,
.fenster figcaption {
  margin-top: 14px;
  color: var(--text-leise);
  font-size: 0.95rem;
  text-align: center;
}

.bildpaar {
  display: grid;
  gap: 32px;
  margin-top: 56px;
}

@media (min-width: 900px) {
  .bildpaar {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

.fenster {
  margin: 0;
}

.fenster img {
  border-radius: 12px;
  border: 6px solid #1e1528;
  box-shadow: var(--schatten);
}

@media (min-width: 900px) {
  .fenster-links img {
    transform: rotate(-1.2deg);
  }

  .fenster-rechts img {
    transform: rotate(1.2deg);
  }
}

/* ---------- Schritte ---------- */

.schritte {
  list-style: none;
  margin: 44px 0 0;
  padding: 0;
  display: grid;
  gap: 64px;
}

.schritt {
  display: grid;
  gap: 24px;
  justify-items: center;
  text-align: center;
}

.schritt-bild {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
}

.schritt-text {
  max-width: 24em;
}

.schritt-text h3 {
  font-size: 1.45rem;
  margin-top: 14px;
}

.schritt-text p {
  color: var(--text-leise);
  margin: 0;
}

@media (min-width: 900px) {
  .schritte {
    grid-template-columns: repeat(3, 1fr);
    gap: 36px;
  }

  .schritt {
    grid-template-rows: 520px auto;
  }
}

/* Nummer als Bierdeckel */
.deckel {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--rot);
  color: #fff8ec;
  font-family: var(--anzeige);
  font-size: 2.2rem;
  line-height: 1;
  box-shadow: 0 6px 14px -4px rgb(120 20 10 / 0.45);
  transform: rotate(-8deg);
}

.deckel::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 2px dashed rgb(255 248 236 / 0.75);
}

@media (prefers-color-scheme: dark) {
  .deckel {
    background: var(--gold);
    color: #241300;
    box-shadow: 0 0 22px rgb(255 170 50 / 0.35);
  }

  .deckel::before {
    border-color: rgb(36 19 0 / 0.45);
  }
}

.drucker-szene {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(320px, 84vw);
}

.bon-papier {
  position: relative;
  z-index: 1;
  width: min(260px, 64vw);
  margin-bottom: -34px;
  padding: 22px 12px 34px;
  background: #fff;
  transform: rotate(-2deg);
  transform-origin: 50% 100%;
  box-shadow: 0 -6px 24px -10px rgb(38 20 61 / 0.3);
  clip-path: polygon(0 4%, 5% 0, 10% 4%, 15% 0, 20% 4%, 25% 0, 30% 4%, 35% 0, 40% 4%, 45% 0, 50% 4%, 55% 0, 60% 4%, 65% 0, 70% 4%, 75% 0, 80% 4%, 85% 0, 90% 4%, 95% 0, 100% 4%, 100% 100%, 0 100%);
}

.drucker {
  position: relative;
  z-index: 2;
  width: 100%;
  filter: drop-shadow(0 22px 22px rgb(38 20 61 / 0.35));
}

.dr-koerper { fill: #1d1824; }
.dr-deckel { fill: #2c2535; }
.dr-schlitz { fill: #07060a; }
.dr-schild { fill: var(--gold); }
.dr-led { fill: #3ad07a; filter: drop-shadow(0 0 4px #3ad07a); }

.dr-text {
  font-family: var(--anzeige);
  font-weight: 800;
  font-size: 20px;
  fill: #241300;
}

/* ---------- Listen ---------- */

.liste-haken {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  gap: 16px;
}

.liste-haken li {
  position: relative;
  padding-left: 38px;
}

.liste-haken li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--knopf)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 16px no-repeat;
}

@media (prefers-color-scheme: dark) {
  .liste-haken li::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23241300' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E");
  }
}

/* ---------- Karten ---------- */

.karten {
  display: grid;
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 640px) {
  .karten {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .karten {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.karte {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: var(--rund);
  padding: 22px;
}

.karte p {
  margin: 0;
  color: var(--text-leise);
}

.karte h3 {
  margin-bottom: 0.4em;
}

.karte:has(> .symbol) {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 14px;
  align-items: center;
}

.karte:has(> .symbol) p {
  grid-column: 1 / -1;
  margin-top: 4px;
}

.karte:has(> .symbol) h3 {
  margin: 0;
}

.karte .symbol {
  margin: 0;
}

.karten-hell {
  margin-top: 56px;
}

.karten-hell .karte {
  border-top: 4px solid var(--gold);
  box-shadow: var(--schatten);
}

.symbol {
  width: 46px;
  height: 46px;
  padding: 10px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 194 61 / 0.28), rgb(255 194 61 / 0.08));
  box-shadow: 0 0 22px rgb(255 170 50 / 0.25);
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#sicher,
#reliable {
  background:
    radial-gradient(800px 400px at 90% 0%, rgb(255 140 60 / 0.16), transparent 70%),
    radial-gradient(700px 400px at 0% 100%, rgb(120 60 200 / 0.18), transparent 70%),
    var(--grund);
}

.marken {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.marken li {
  padding: 8px 15px;
  border-radius: 999px;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  font-weight: 600;
  font-size: 0.97rem;
}

.marken li:nth-child(3n + 1) {
  border-color: color-mix(in srgb, var(--rot) 45%, var(--linie));
}

.marken li:nth-child(3n + 2) {
  border-color: color-mix(in srgb, var(--gold) 70%, var(--linie));
}

/* ---------- Gäste ---------- */

.gast-bild {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0;
  padding: 10px 0;
}

.tischkarte {
  width: min(150px, 34vw);
  margin-left: -20px;
  margin-bottom: -18px;
  transform: rotate(5deg);
  filter: drop-shadow(0 14px 18px rgb(38 20 61 / 0.35));
  position: relative;
  z-index: 2;
}

.tk-karte { fill: #fff8ec; }
.tk-fuss { fill: #8f2416; }
.tk-qr { fill: #26143d; }
.tk-qr-grund { fill: #ffffff; }
.tk-qr-loch { fill: #ffffff; }

.tk-titel {
  font-family: var(--anzeige);
  font-weight: 800;
  font-size: 21px;
  fill: #c4301f;
}

.tk-text {
  font-family: var(--schrift);
  font-weight: 700;
  font-size: 13px;
  fill: #26143d;
}

/* ---------- Neu in Version 2 ---------- */

.neu-kopf {
  display: grid;
  grid-template-columns: minmax(0, 1fr); /* sonst macht das Fotoalbum die Spalte breiter als den Bildschirm */
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .neu-kopf {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

.album {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 10px 0 20px;
}

.polaroid {
  margin: 0;
  padding: 10px 10px 12px;
  background: #fffdf8;
  color: #3a2a48;
  box-shadow: 0 18px 34px -14px rgb(38 20 61 / 0.45);
}

.polaroid img {
  width: 100%;
}

.polaroid figcaption {
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.polaroid-a {
  width: min(320px, 64vw);
  transform: rotate(-3deg);
  position: relative;
  z-index: 1;
}

.polaroid-b {
  width: min(170px, 36vw);
  margin-left: -9%;
  margin-top: 52%;
  transform: rotate(5deg);
  position: relative;
  z-index: 2;
}

@media (min-width: 900px) {
  .polaroid-b {
    margin-top: 110px;
  }
}

/* Klebeband */
.polaroid::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 70px;
  height: 22px;
  margin-left: -35px;
  background: rgb(255 214 120 / 0.75);
  transform: rotate(-4deg);
}

.neu-liste {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px 24px;
}

@media (min-width: 700px) {
  .neu-liste {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .neu-liste {
    grid-template-columns: repeat(3, 1fr);
  }
}

.neu-liste li {
  padding: 14px 16px 14px 56px;
  position: relative;
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 12px;
}

.neu-liste li::before {
  content: "Neu";
  position: absolute;
  left: 12px;
  top: 15px;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--knopf);
  color: var(--knopf-text);
  border-radius: 6px;
  padding: 2px 5px;
}

/* Abzeichen in der Sprache der Seite (CSS-Text liest kein Übersetzungswerkzeug mit). */
:lang(en) .neu-liste li::before {
  content: "New";
}

/* ---------- Referenzen ---------- */

#referenzen,
#references {
  background:
    radial-gradient(900px 420px at 50% 0%, rgb(255 150 60 / 0.14), transparent 70%),
    var(--grund);
}

.ref-kopf {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.tuba {
  width: clamp(84px, 22vw, 150px);
  flex-shrink: 0;
  color: var(--gold);
  transform: rotate(8deg);
  filter: drop-shadow(0 0 12px rgb(255 180 60 / 0.4));
}

.tickets {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  gap: 18px;
}

@media (min-width: 760px) {
  .tickets {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }
}

.ticket {
  --kerbe: var(--grund);
  position: relative;
  display: grid;
  grid-template-columns: 76px 1fr;
  align-items: stretch;
  min-height: 104px;
  border-radius: 12px;
  background: #fbf1e2;
  color: #26143d;
  box-shadow: 0 16px 30px -16px rgb(0 0 0 / 0.6);
}

.ticket:nth-child(odd) {
  transform: rotate(-0.8deg);
}

.ticket:nth-child(even) {
  transform: rotate(0.8deg);
}

/* Kerben links und rechts der Perforation */
.ticket::before,
.ticket::after {
  content: "";
  position: absolute;
  left: 76px;
  width: 20px;
  height: 20px;
  margin-left: -10px;
  border-radius: 50%;
  background: var(--kerbe);
}

.ticket::before {
  top: -10px;
}

.ticket::after {
  bottom: -10px;
}

.ticket-jahr {
  display: grid;
  place-items: center;
  border-right: 2px dashed rgb(38 20 61 / 0.3);
  font-family: var(--anzeige);
  font-size: 1.5rem;
  color: #c4301f;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.06em;
}

.ticket-name {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
  font-weight: 800;
  font-size: 1.12rem;
  line-height: 1.3;
}

.ticket-name small {
  font-weight: 600;
  font-size: 0.92rem;
  color: #5c4a6b;
  margin-top: 4px;
}

/* ---------- Preis ---------- */

.preis {
  --text: #fff6e6;
  --text-leise: #ffe2d2;
  --knopf: #ffc23d;
  --knopf-text: #241300;
  --knopf-hover: #ffd56e;
  --vorspann: #ffd56e;
  --link: #ffe2a8;
  --fokus: #ffd56e;
  color: var(--text);
  background:
    radial-gradient(700px 360px at 85% 30%, rgb(255 190 80 / 0.22), transparent 70%),
    linear-gradient(180deg, #9a2219, #74151a);
  padding-top: 120px;
  color-scheme: dark;
}

@media (prefers-color-scheme: dark) {
  .preis {
    background:
      radial-gradient(700px 360px at 85% 30%, rgb(255 190 80 / 0.16), transparent 70%),
      linear-gradient(180deg, #6e1717, #3d0d1e);
  }
}

/* Markise wie am Festzelt: Streifen mit Bogenkante */
.markise {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 54px;
  background: repeating-linear-gradient(90deg, #e0442f 0 40px, #fbf1e2 40px 80px);
  -webkit-mask:
    linear-gradient(#000 0 0) top / 100% 32px no-repeat,
    radial-gradient(20px 22px at 20px 32px, #000 98%, transparent) 0 0 / 40px 100% repeat-x;
  mask:
    linear-gradient(#000 0 0) top / 100% 32px no-repeat,
    radial-gradient(20px 22px at 20px 32px, #000 98%, transparent) 0 0 / 40px 100% repeat-x;
  filter: drop-shadow(0 6px 6px rgb(0 0 0 / 0.3));
}

.preis-innen {
  display: grid;
  gap: 44px;
  align-items: center;
}

@media (min-width: 900px) {
  .preis-innen {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 64px;
  }
}

.preis-innen p {
  max-width: 34em;
  font-size: 1.12rem;
}

.preis-ticket {
  position: relative;
  justify-self: center;
  width: min(380px, 100%);
  padding: 26px 28px 24px;
  border-radius: 18px;
  background: linear-gradient(160deg, #ffd56e, #ffc23d 55%, #f5a623);
  color: #241300;
  text-align: center;
  transform: rotate(-2.5deg);
  box-shadow: 0 0 60px rgb(255 190 80 / 0.35), 0 24px 40px -18px rgb(0 0 0 / 0.6);
}

.preis-ticket::before,
.preis-ticket::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  border-radius: 50%;
  background: #8a1d19;
}

@media (prefers-color-scheme: dark) {
  .preis-ticket::before,
  .preis-ticket::after {
    background: #561222;
  }
}

.preis-ticket::before {
  left: -13px;
}

.preis-ticket::after {
  right: -13px;
}

.preis-kopf {
  margin: 0 0 4px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
}

.preis-ticket .preis-betrag {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  max-width: none;
  font-weight: 800;
}

.preis-betrag span {
  font-family: var(--anzeige);
  font-size: clamp(5rem, 24vw, 7.5rem);
  line-height: 0.9;
}

.preis-betrag small {
  font-size: 1.05rem;
}

.preis-punkte {
  list-style: none;
  margin: 18px 0 0;
  padding: 14px 0 0;
  border-top: 2px dashed rgb(36 19 0 / 0.35);
  display: grid;
  gap: 4px;
  font-weight: 700;
}

.preis .knopf-rand {
  color: #fff6e6;
}

/* ---------- Fragen ---------- */

.fragen {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

.fragen details {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-radius: 14px;
  padding: 0 18px;
}

.fragen details[open] {
  border-color: color-mix(in srgb, var(--gold) 70%, var(--linie));
  box-shadow: var(--schatten);
}

.fragen summary {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 36px 16px 0;
  list-style: none;
  position: relative;
}

.fragen summary::-webkit-details-marker {
  display: none;
}

.fragen summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  width: 26px;
  height: 26px;
  margin-top: -13px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--knopf);
  color: var(--knopf-text);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

.fragen details[open] summary::after {
  content: "−";
}

.fragen details p {
  color: var(--text-leise);
  margin: 0 0 18px;
}

/* ---------- Kontakt ---------- */

.kontakt {
  align-items: start;
}

.adresse {
  font-style: normal;
  margin-top: 24px;
  line-height: 1.8;
}

.formular {
  background: var(--flaeche);
  border: 1px solid var(--linie);
  border-top: 5px solid var(--gold);
  border-radius: var(--rund);
  padding: 22px 18px;
  box-shadow: var(--schatten);
  display: grid;
  gap: 16px;
  min-width: 0;
}

@media (min-width: 700px) {
  .formular {
    padding: 28px;
  }
}

.feld {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.feld-reihe {
  display: grid;
  gap: 16px;
}

@media (min-width: 560px) {
  .feld-reihe {
    grid-template-columns: 1fr 1fr;
  }
}

.feld label {
  font-weight: 700;
}

.pflicht {
  font-weight: 400;
  color: var(--text-leise);
  font-size: 0.9rem;
}

.feld input,
.feld textarea {
  width: 100%;
  min-width: 0;
  min-height: 50px;
  padding: 11px 13px;
  border: 2px solid var(--feld-rand);
  border-radius: 10px;
  background: var(--grund);
  color: var(--text);
  font: inherit;
}

.feld textarea {
  resize: vertical;
  min-height: 130px;
}

.feld input:focus,
.feld textarea:focus {
  border-color: var(--knopf);
  outline: none;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--knopf) 28%, transparent);
}

.feld [aria-invalid="true"] {
  border-color: var(--fehler);
}

.feldfehler {
  margin: 0;
  color: var(--fehler);
  font-weight: 600;
  font-size: 0.95rem;
}

.feld-honig {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.haekchen {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  min-height: 44px;
  cursor: pointer;
}

.haekchen input {
  width: 24px;
  height: 24px;
  accent-color: var(--knopf);
}

.hinweis-klein {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-leise);
}

.formular .knopf {
  justify-self: start;
}

.meldung {
  margin: 0;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 600;
}

.meldung-erfolg {
  background: color-mix(in srgb, var(--erfolg) 14%, transparent);
  color: var(--erfolg);
  border: 1px solid color-mix(in srgb, var(--erfolg) 40%, transparent);
}

.meldung-fehler {
  background: color-mix(in srgb, var(--fehler) 12%, transparent);
  color: var(--fehler);
  border: 1px solid color-mix(in srgb, var(--fehler) 40%, transparent);
}

/* ---------- Fuss ---------- */

.fuss {
  position: relative;
  overflow: clip;
  padding: 104px 0 44px;
  color: var(--text-leise);
  font-size: 0.97rem;
}

.fuss-innen {
  display: grid;
  gap: 16px;
}

.fuss p {
  margin: 0 0 4px;
}

.fuss-marke {
  font-family: var(--anzeige);
  font-size: 1.35rem;
  color: var(--text);
}

.fuss nav {
  display: flex;
  gap: 20px;
}

.fuss-sprachen {
  margin-top: 10px;
}

.fuss-sprachen a[aria-current="page"] {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
}

@media (min-width: 760px) {
  .fuss-innen {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

/* ---------- Bewegung nur, wenn erwünscht ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
