/* ==========================================================
   Früehligsfescht Einigen-Gwatt – Startseite v3
   "Vo früeh bis spät": Die Seite läuft beim Scrollen durch den
   Festtag. Der Himmel (Hintergrund) wechselt von Morgen zu Abend,
   die Tagesuhr im Kopf zeigt die Zeit (gesteuert von js/v3.js).
   Logo-Farben, Grundton Papierweiss + Thunersee-Blau,
   Pinsel-Schrift wie das handgemalte Festschild.
   (helfer.html und galerie.html: styles.css + v3-seiten.css)
   ========================================================== */
:root {
  --koralle: #e65444;
  --tuerkis: #49aec1;
  --orange: #f79f47;
  --violett: #bc83f4;
  --pink: #fa88c3;
  --gelb: #ffcc63;
  --see: #17384a;          /* Schrift: Thunersee bei Föhn */
  --see-hell: #5b7483;
  --papier: #ffffff;
  --himmel: #eaf6f8;
  --hand: 'Caveat Brush', 'Comic Sans MS', cursive;
  --text: 'Bricolage Grotesque', 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 118px; }
body {
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--see);
  background: var(--himmel-jetzt, var(--papier));
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--tuerkis); outline-offset: 3px; }

/* ---------- Wimpelkette ---------- */
.wimpel {
  height: 40px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%22210%22%20height%3D%2240%22%20viewBox%3D%220%200%20210%2040%22%3E%3Cpath%20d%3D%22M0%203%20Q105%2023%20210%203%22%20fill%3D%22none%22%20stroke%3D%22%2317384a%22%20stroke-width%3D%221.2%22/%3E%3Cpath%20d%3D%22M8.0%204.5%20L34.0%208.4%20L21.0%2032.4Z%22%20fill%3D%22%23e65444%22/%3E%3Cpath%20d%3D%22M42.0%209.4%20L68.0%2011.8%20L55.0%2035.8Z%22%20fill%3D%22%2349aec1%22/%3E%3Cpath%20d%3D%22M76.0%2012.2%20L102.0%2013.0%20L89.0%2037.0Z%22%20fill%3D%22%23ffcc63%22/%3E%3Cpath%20d%3D%22M110.0%2013.0%20L136.0%2012.1%20L123.0%2037.0Z%22%20fill%3D%22%23bc83f4%22/%3E%3Cpath%20d%3D%22M144.0%2011.6%20L170.0%209.2%20L157.0%2035.6Z%22%20fill%3D%22%23f79f47%22/%3E%3Cpath%20d%3D%22M178.0%208.2%20L204.0%204.1%20L191.0%2032.2Z%22%20fill%3D%22%23fa88c3%22/%3E%3C/svg%3E") repeat-x;
  background-position: -14px 0;
}

/* ---------- Kopf ---------- */
.kopf {
  max-width: 1180px; margin: 0 auto; padding: 4px 24px 0;
  display: flex; align-items: center; gap: 28px;
}
.kopf-logo img { height: 86px; width: auto; }
.kopf-links { display: flex; gap: 22px; list-style: none; margin-left: auto; }
.kopf-links a { text-decoration: none; font-weight: 600; }
.kopf-links a:hover { text-decoration: underline; text-decoration-color: var(--koralle); text-decoration-thickness: 3px; text-underline-offset: 5px; }

.knopf {
  display: inline-block; text-decoration: none; font-weight: 800;
  padding: 12px 22px; border-radius: 10px; font-size: 1rem;
}
.knopf-koralle { background: var(--koralle); color: #fff; }
.knopf-see { background: var(--see); color: #fff; }
.knopf-rand { border: 2px solid var(--see); padding: 10px 20px; }
.knopf:hover { filter: brightness(1.08); }

/* ---------- Hero ---------- */
.hero {
  max-width: 1180px; margin: 0 auto; padding: 40px 24px 56px;
  display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 5.6vw, 4.6rem);
  line-height: .9; font-weight: 800; letter-spacing: -.035em;
  font-variation-settings: "opsz" 96;
}
.hero-wann {
  margin-top: 22px; font-size: 1.3rem; font-weight: 600; line-height: 1.35;
  padding-left: 14px; border-left: 6px solid var(--gelb);
}
.hero-bands { margin-top: 14px; }
.hero-bands a {
  display: inline-block; font-family: var(--hand); font-size: 1.55rem; line-height: 1.15;
  color: #fff; background: var(--see); padding: 6px 14px 7px; border-radius: 8px; text-decoration: none;
  transform: rotate(-1.2deg);
}
.hero-bands a:hover { background: var(--koralle); }
.hero-intro { margin-top: 18px; max-width: 34em; color: var(--see-hell); }
.hero-knoepfe { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero-bild { position: relative; margin: 0; }
.hero-foto { border-radius: 4px; width: 100%; }
.hero-foto-klein {
  position: absolute; left: -36px; bottom: -40px; width: 34%;
  border: 8px solid #fff; box-shadow: 0 8px 22px rgba(23,56,74,.22);
  transform: rotate(-4deg);
}
.hero-bild figcaption {
  font-family: var(--hand); font-size: 1.25rem; color: var(--see-hell);
  text-align: right; margin-top: 8px;
}
.ballon-flug { position: absolute; left: -58px; top: -42px; width: 112px; z-index: 2; will-change: transform; }
.ballone { display: block; width: 100%; animation: schweben 7s ease-in-out infinite alternate; }
.schnur { fill: none; stroke: var(--see); stroke-width: 1.4; opacity: .55; }
@keyframes schweben { from { transform: translateY(0) rotate(0); } to { transform: translateY(-12px) rotate(2deg); } }

/* ---------- Stempel ---------- */
.stempel {
  font-family: var(--hand); color: var(--koralle);
  border: 4px double var(--koralle); border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; line-height: 1;
}
.stempel-eintritt {
  position: absolute; right: 22px; bottom: 38px; width: 112px; height: 112px;
  font-size: 1.7rem; transform: rotate(-12deg); background: rgba(255,255,255,.92);
  box-shadow: 0 0 0 4px rgba(255,255,255,.6);
}

/* ---------- Tickets Tag/Abend ---------- */
.tagabend {
  max-width: 1180px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.ticket {
  --kerbe: radial-gradient(circle at 0 50%, transparent 11px, #000 12px) left / 51% 100% no-repeat,
           radial-gradient(circle at 100% 50%, transparent 11px, #000 12px) right / 51% 100% no-repeat;
  -webkit-mask: var(--kerbe); mask: var(--kerbe);
  display: grid; grid-template-columns: auto 1fr; column-gap: 22px; align-items: baseline;
  text-decoration: none; padding: 22px 34px;
}
.ticket-zeit { grid-row: span 2; font-weight: 800; font-size: 1.05rem; padding-right: 22px; border-right: 2px dashed currentColor; align-self: stretch; display: flex; align-items: center; }
.ticket-titel { font-family: var(--hand); font-size: 2rem; line-height: 1.1; }
.ticket-text { font-size: .95rem; }
.ticket-tag { background: var(--gelb); color: var(--see); }
.ticket-abend { background: var(--see); color: #fff; }
.ticket-abend .ticket-titel { color: var(--gelb); }

/* ---------- Abschnitte ---------- */
.abschnitt { max-width: 1180px; margin: 0 auto; padding: 80px 24px 24px; }
.abschnitt-kopf { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: end; margin-bottom: 30px; }
.abschnitt h2 {
  font-family: var(--hand); font-weight: 400; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1;
  color: var(--koralle);
}
.abschnitt-kopf p { color: var(--see-hell); max-width: 36em; }

/* ---------- Foto-Kacheln ---------- */
.kacheln { columns: 3; column-gap: 12px; }   /* Fotos in ihrem echten Format, wie eine Pinnwand */
.kachel {
  position: relative; display: block; width: 100%; margin: 0 0 12px; break-inside: avoid;
  border: 0; padding: 0; background: var(--himmel); cursor: pointer; overflow: hidden;
  border-radius: 4px; font: inherit; color: inherit; text-align: left;
}
.kachel img { width: 100%; height: auto; transition: transform .4s ease; }
.kachel:hover img { transform: scale(1.04); }
.kachel-band {
  position: absolute; left: 10px; bottom: 12px; max-width: calc(100% - 20px);
  padding: 4px 12px 5px; transform: rotate(-1.5deg);
  font-family: var(--hand); font-size: 1.45rem; line-height: 1.1; color: var(--see);
  box-shadow: 0 2px 0 rgba(23,56,74,.15);
}
.kachel-preis {
  position: absolute; right: 10px; top: 10px; background: #fff; color: var(--see);
  font-weight: 800; font-size: .85rem; padding: 3px 9px; border-radius: 999px;
}

/* ---------- Liste "Und no meh" ---------- */
.no-meh { font-family: var(--hand); font-weight: 400; font-size: 2rem; margin: 48px 0 14px; }
.liste { list-style: none; columns: 2; column-gap: 48px; }
.liste li { break-inside: avoid; padding: 10px 0 10px 30px; position: relative; border-bottom: 1px solid #dbe9ee; }
.liste li::before {           /* kleiner Ballon als Aufzählungszeichen */
  content: ""; position: absolute; left: 4px; top: 15px; width: 13px; height: 16px;
  border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%; background: var(--b, var(--koralle));
}
.liste li::after { content: ""; position: absolute; left: 10px; top: 31px; width: 1px; height: 10px; background: var(--see-hell); }
.liste button { all: unset; cursor: pointer; font-weight: 600; }
.liste button:hover, .liste button:focus-visible { text-decoration: underline; }
.liste .li-text { display: block; font-size: .93rem; color: var(--see-hell); }
.liste .li-preis { font-weight: 800; margin-left: 6px; white-space: nowrap; }

/* ---------- Bons ---------- */
.abschnitt-preise { padding-bottom: 60px; }
.preise-wrap { display: grid; grid-template-columns: 1fr auto; gap: 34px; align-items: start; }
.bons { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.bon {
  --zacken: conic-gradient(from -45deg at left, transparent 90deg, #000 0) left / 51% 14px repeat-y,
            conic-gradient(from 135deg at right, transparent 90deg, #000 0) right / 51% 14px repeat-y;
  -webkit-mask: var(--zacken); mask: var(--zacken);
  padding: 14px 24px 14px 22px;
  background: var(--bg, #fde3d6);
}
.bon-name { font-weight: 600; display: block; hyphens: manual; }
.bon-preis { font-weight: 800; font-size: 1.35rem; display: block; line-height: 1.2; }
.bon-hinweis { font-size: .85rem; color: var(--see-hell); display: block; }
.stempel-tag {
  width: 190px; height: 190px; transform: rotate(9deg); margin-top: 8px;
  border-width: 5px;
}
.stempel-gross { font-size: 1.9rem; }
.stempel-klein { font-family: var(--text); font-size: .78rem; font-weight: 600; margin-top: 8px; line-height: 1.2; }
.gratis { margin-top: 26px; font-size: 1.05rem; max-width: 60em; }
.gratis strong { font-family: var(--hand); font-weight: 400; font-size: 1.6rem; color: #1f8a5b; margin-right: 6px; }

/* ---------- Dialog ---------- */
.v-dialog {
  border: 0; border-radius: 6px; padding: 0; width: min(560px, calc(100vw - 32px));
  margin: auto; color: var(--see); overflow: hidden;
}
.v-dialog::backdrop { background: rgba(23,56,74,.6); }
.v-dialog img { width: 100%; max-height: 340px; object-fit: cover; }
.v-dialog-body { padding: 20px 24px 24px; }
.v-dialog h3 { font-family: var(--hand); font-weight: 400; font-size: 2.2rem; line-height: 1; color: var(--koralle); }
.v-dialog p { margin-top: 8px; }
.v-dialog .v-fakten { margin-top: 14px; font-weight: 600; }
.v-dialog-zu {
  position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: #fff; font-size: 1rem; cursor: pointer; color: var(--see);
}

/* ---------- Menü-Knopf (nur schmal) ---------- */
.kopf-menue { display: none; }

/* ---------- Bühne / Zeitstrahl ---------- */
.buehne { display: grid; grid-template-columns: 6fr 6fr; gap: 48px; align-items: start; }
.zeitstrahl { list-style: none; position: relative; padding-left: 4px; }
.zeitstrahl::before {                 /* Ballonschnur als Zeitachse */
  content: ""; position: absolute; left: 70px; top: 10px; bottom: 10px; width: 2px;
  background: repeating-linear-gradient(to bottom, var(--see-hell) 0 6px, transparent 6px 11px);
}
.zeitstrahl li { position: relative; display: grid; grid-template-columns: 70px 1fr; gap: 28px; padding: 0 0 26px; }
.zeitstrahl li::after {               /* Ballon auf der Schnur */
  content: ""; position: absolute; left: 62px; top: 4px; width: 18px; height: 22px;
  border-radius: 50% 50% 50% 50% / 45% 45% 55% 55%; background: var(--b, var(--koralle));
}
.zeit { font-family: var(--hand); font-size: 1.45rem; line-height: 1.1; color: var(--see); }
.zeit-offen { font-size: 1.05rem; color: var(--see-hell); }
.zeitstrahl h3 { font-size: 1.2rem; line-height: 1.25; }
.zeitstrahl p { color: var(--see-hell); font-size: .97rem; }
.zeitstrahl .mini-foto { width: 84px; height: 84px; object-fit: cover; border-radius: 4px; float: right; margin-left: 14px; }
.mini-link { display: inline-block; margin-top: 4px; font-weight: 600; color: var(--see); text-decoration-color: var(--koralle); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.leer { color: var(--see-hell); font-style: italic; }
.buehne-fotos { display: grid; gap: 12px; }
.buehne-fotos img { border-radius: 4px; }
.buehne-fotos { margin: 0; position: relative; }
.buehne-fotos img:first-child { width: 100%; }
.buehne-fotos img:nth-child(2) { width: 52%; margin: -70px 0 0 -24px; border: 7px solid #fff; transform: rotate(-2.5deg); box-shadow: 0 8px 22px rgba(23,56,74,.18); }
.buehne-fotos figcaption { font-family: var(--hand); font-size: 1.15rem; color: var(--see-hell); text-align: right; margin-top: -40px; }

/* ---------- Abend / Konzerte ---------- */
.abend { color: #fff; margin-top: 70px; }
.abend-innen { max-width: 1180px; margin: 0 auto; padding: 64px 24px; display: grid; grid-template-columns: 6fr 6fr; gap: 48px; align-items: center; }
.abend h2 { font-family: var(--hand); font-weight: 400; font-size: clamp(2.4rem, 4.6vw, 3.4rem); line-height: 1; color: var(--gelb); }
.abend-text > p { margin-top: 14px; color: #cfe2ea; max-width: 34em; }
.konzerte { list-style: none; margin-top: 26px; border-top: 1px solid rgba(255,255,255,.2); }
.konzerte li { display: grid; grid-template-columns: 9.5rem 1fr auto; gap: 18px; align-items: center; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.k-zeit { font-family: var(--hand); font-size: 1.45rem; color: var(--gelb); white-space: nowrap; }
.konzerte h3 { font-size: 1.15rem; }
.konzerte p { color: #cfe2ea; font-size: .95rem; }
.konzerte .k-foto { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; }
.konzerte a { color: var(--gelb); font-weight: 600; font-size: .95rem; }
.abend-foto { margin: 0; }
.abend-foto img { border-radius: 4px; }
.abend-foto figcaption { font-family: var(--hand); font-size: 1.2rem; color: #cfe2ea; text-align: right; margin-top: 8px; }

/* ---------- Essen ---------- */
.essen { display: grid; grid-template-columns: 4fr 8fr; gap: 40px; align-items: start; }
.essen-schild { margin: 0; transform: rotate(-2.5deg); }
.essen-schild img { border: 8px solid #fff; box-shadow: 0 8px 22px rgba(23,56,74,.2); }
.menues { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px 40px; }
.menu h3 { font-family: var(--hand); font-weight: 400; font-size: 1.7rem; line-height: 1.1; padding-bottom: 6px; border-bottom: 3px solid var(--b, var(--gelb)); margin-bottom: 4px; }
.menu ul { list-style: none; }
.menu li { padding: 8px 0; border-bottom: 1px dotted #b9cdd6; }
.menu-zeile { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; font-weight: 600; }
.menu-preis { font-weight: 800; white-space: nowrap; }
.menu-info { display: block; font-size: .9rem; color: var(--see-hell); }

/* ---------- Anreise / Infos ---------- */
.infos { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 0 48px; }
.infos li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid #dbe9ee; }
.info-icon { font-size: 1.6rem; line-height: 1.2; }
.infos h3 { font-size: 1.12rem; }
.infos p { color: var(--see-hell); font-size: .97rem; }
.infos .info-foto { margin-top: 10px; border-radius: 4px; max-width: 320px; }

/* ---------- Über uns / Spenden ---------- */
.ueber { display: grid; grid-template-columns: 6fr 6fr; gap: 48px; align-items: start; }
.ueber-text p + p { margin-top: 14px; }
.ueber-text a { color: var(--see); font-weight: 600; text-decoration-color: var(--koralle); text-decoration-thickness: 2px; }
.spenden h3 { font-family: var(--hand); font-weight: 400; font-size: 1.8rem; margin-bottom: 8px; }
.spenden-tabelle { width: 100%; border-collapse: collapse; font-size: .97rem; }
.spenden-tabelle th { text-align: left; font-weight: 600; color: var(--see-hell); font-size: .85rem; padding: 0 10px 6px 0; border-bottom: 2px solid var(--see); }
.spenden-tabelle td { padding: 7px 10px 7px 0; vertical-align: top; }
.spenden-tabelle tr.jahr-start td { border-top: 1px solid #dbe9ee; }
.spenden-tabelle .sp-jahr { font-family: var(--hand); font-size: 1.35rem; color: var(--koralle); width: 64px; line-height: 1.1; }
.spenden-tabelle .sp-ort { color: var(--see-hell); }

/* ---------- Geschichte ---------- */
.chronik { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; counter-reset: none; }
.chronik li { border-top: 6px solid var(--b, var(--tuerkis)); padding-top: 14px; }
.chronik li:nth-child(2) { --b: var(--orange); }
.chronik li:nth-child(3) { --b: var(--violett); }
.chronik-jahr { font-family: var(--hand); font-size: 2.4rem; line-height: 1; display: block; margin-bottom: 8px; }
.chronik p { font-size: .97rem; }
.dank { margin-top: 30px; max-width: 46em; font-weight: 600; }
.chronik-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 820px; margin-top: 30px; }
.chronik-fotos figure { margin: 0; }
.chronik-fotos img { border-radius: 4px; width: 100%; }
.chronik-fotos figcaption { font-family: var(--hand); font-size: 1.15rem; color: var(--see-hell); margin-top: 6px; }

/* ---------- Hilf mit (Zettel am Anschlagbrett) ---------- */
.hilf { max-width: 1180px; margin: 90px auto 0; padding: 0 24px; display: grid; grid-template-columns: 5fr 7fr; gap: 0; align-items: center; }
.zettel {
  position: relative; z-index: 1; background: var(--gelb); padding: 40px 36px 36px;
  transform: rotate(-1.8deg); margin-right: -60px; box-shadow: 0 10px 24px rgba(23,56,74,.18);
}
.zettel::before {                    /* Klebstreifen */
  content: ""; position: absolute; top: -14px; left: 50%; width: 110px; height: 28px; margin-left: -55px;
  background: rgba(255,255,255,.65); transform: rotate(3deg);
}
.zettel h2 { font-family: var(--hand); font-weight: 400; font-size: 3.2rem; line-height: 1; color: var(--koralle); }
.zettel p { margin: 12px 0 22px; }
.hilf-foto { border-radius: 4px; }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 20px; }
.team-card { text-align: left; }
.team-foto { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 4px; background: var(--himmel); }
.team-card h3 { font-size: 1.05rem; margin-top: 8px; }
.team-card .rolle { font-size: .9rem; color: var(--see-hell); border-left: 4px solid var(--b, var(--gelb)); padding-left: 8px; margin-top: 2px; }
.team-card:nth-child(5n+2) .rolle { --b: var(--tuerkis); }
.team-card:nth-child(5n+3) .rolle { --b: var(--koralle); }
.team-card:nth-child(5n+4) .rolle { --b: var(--violett); }
.team-card:nth-child(5n+5) .rolle { --b: var(--pink); }

/* ---------- Sponsoren ---------- */
.sponsoren { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; font-weight: 600; font-size: 1.1rem; }
.sponsoren img { max-height: 48px; width: auto; }

/* ---------- Impressionen ---------- */
.impressionen { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.impressionen img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 4px; }
.galerie-link { margin-top: 24px; }

/* ---------- Fuss ---------- */
.fuss {
  margin-top: 90px; background: var(--see); color: #dfeef3;
  padding: 48px max(24px, calc((100% - 1132px) / 2)) 32px;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px;
}
.fuss > * { max-width: 380px; }
.fuss h3 { font-family: var(--hand); font-weight: 400; font-size: 1.6rem; color: var(--gelb); margin-bottom: 6px; }
.fuss a { color: #fff; }
.fuss .copyright { grid-column: 1 / -1; max-width: none; font-size: .85rem; color: #9fbac6; border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; }

/* ---------- Platzplan ---------- */
.plan-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 6px; }
.plan { position: relative; aspect-ratio: 1250 / 850; min-width: 960px; }
.plan-karte { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.plan-see { font-family: var(--hand); font-size: 34px; fill: #2d7f90; text-anchor: middle; }
.plan-punkte { position: absolute; inset: 0; }
.plan-punkt {
  position: absolute; transform: translate(-9px, -50%);
  display: inline-flex; align-items: center; gap: 6px;
  font: 600 .84rem/1.15 var(--text); color: var(--see); white-space: nowrap;
  background: #fff; border: 0; border-radius: 999px; padding: 4px 11px 4px 5px;
  box-shadow: 0 2px 6px rgba(23,56,74,.22); cursor: default;
}
.plan-punkt.links { transform: translate(calc(-100% + 9px), -50%); flex-direction: row-reverse; padding: 4px 5px 4px 11px; }
.plan-punkt i { width: 12px; height: 12px; border-radius: 50%; background: var(--k, var(--orange)); flex: none; box-shadow: 0 0 0 2px #fff; }
.plan-punkt small { display: block; font-weight: 400; font-size: .72rem; color: var(--see-hell); }
button.plan-punkt { cursor: pointer; }
button.plan-punkt:hover, button.plan-punkt:focus-visible { background: var(--see); color: #fff; }
button.plan-punkt:hover small, button.plan-punkt:focus-visible small { color: #cfe2ea; }
.plan-weg { fill: none; stroke: #e65444; stroke-width: 5; stroke-dasharray: 2 12; stroke-linecap: round; }
.plan-schalter { display: inline-flex; border: 2px solid var(--see); border-radius: 10px; overflow: hidden; margin-bottom: 12px; }
.plan-schalter[hidden] { display: none; }
.plan-schalter button { font: 600 .95rem var(--text); color: var(--see); background: #fff; border: 0; padding: 8px 16px; cursor: pointer; }
.plan-schalter button[aria-pressed="true"] { background: var(--see); color: #fff; }
.plan3d {
  position: relative; aspect-ratio: 16 / 10; border-radius: 6px; overflow: hidden;
  background: linear-gradient(#cfeaf3, #f4fafc 70%);
}
.plan3d[hidden], .plan-scroll[hidden], .plan-tipp[hidden] { display: none !important; }
.plan3d canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.plan3d canvas:active { cursor: grabbing; }
.plan3d-punkte { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.plan3d-punkt {
  position: absolute; left: 0; top: 0; pointer-events: auto; white-space: nowrap;
  font: 600 .78rem/1.1 var(--text); color: var(--see); background: rgba(255,255,255,.94);
  border: 0; border-bottom: 3px solid var(--k, var(--orange)); border-radius: 6px; padding: 3px 8px;
  box-shadow: 0 2px 6px rgba(23,56,74,.2);
}
button.plan3d-punkt { cursor: pointer; }
button.plan3d-punkt:hover, button.plan3d-punkt:focus-visible { background: var(--see); color: #fff; }
.plan3d-knoepfe { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 6px; }
.plan3d-knoepfe button {
  width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; color: var(--see);
  font: 800 1.2rem var(--text); box-shadow: 0 2px 8px rgba(23,56,74,.25); cursor: pointer;
}
.plan3d-hinweis { position: absolute; left: 12px; bottom: 12px; font-family: var(--hand); font-size: 1.15rem; color: var(--see); background: rgba(255,255,255,.75); padding: 2px 10px; border-radius: 6px; }
.plan3d-laden { position: absolute; inset: 0; display: grid; place-items: center; color: var(--see-hell); }
.plan3d.bereit .plan3d-laden { display: none; }
.plan-legende { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 14px; font-size: .92rem; }
.plan-legende i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 7px; vertical-align: -1px; }
.plan-legende i.bank { width: 22px; height: 9px; border-radius: 3px; background: #f4b3a6; }
.plan-tipp { display: none; font-size: .88rem; color: var(--see-hell); margin-top: 6px; }

/* ---------- Mobil ---------- */
@media (max-width: 860px) {
  .hero, .abschnitt-kopf, .preise-wrap { grid-template-columns: 1fr; gap: 26px; }
  .hero { padding-top: 20px; }
  .hero-bild { margin: 30px 0 30px 20px; }
  .hero-foto-klein { left: -20px; bottom: -30px; }
  .ballon-flug { width: 96px; top: -84px; left: auto; right: 4px; }
  .stempel-eintritt { width: 78px; height: 78px; font-size: 1.15rem; right: 10px; bottom: 44px; border-width: 3px; }
  .hero-foto-klein { width: 30%; bottom: -26px; border-width: 5px; }
  .hero-bild figcaption { padding-left: 30%; font-size: 1.05rem; }
  .tagabend { grid-template-columns: 1fr; }
  .kacheln { columns: 2; column-gap: 8px; }
  .kachel { margin-bottom: 8px; }
  .kachel-band { font-size: 1.15rem; left: 6px; bottom: 8px; }
  .liste { columns: 1; }
  .stempel-tag { justify-self: center; }
  .buehne, .abend-innen, .essen, .ueber, .hilf { grid-template-columns: 1fr; gap: 28px; }
  .buehne-fotos img:nth-child(2) { display: none; }
  .buehne-fotos figcaption { margin-top: 6px; }
  .chronik, .chronik-fotos { grid-template-columns: 1fr; }
  .zettel { margin-right: 0; margin-bottom: -20px; }
  .essen-schild { max-width: 360px; }
  .impressionen { grid-template-columns: repeat(2, 1fr); }
  .fuss { grid-template-columns: 1fr; }
  .kopf-menue {
    display: block; margin-left: auto; font: inherit; font-weight: 600; color: var(--see);
    background: none; border: 2px solid var(--see); border-radius: 10px; padding: 8px 14px; cursor: pointer;
  }
  .kopf { flex-wrap: wrap; position: relative; }
  .kopf-knopf { margin-left: 0; }
  .kopf-links {
    display: none; order: 3; width: 100%; flex-direction: column; gap: 0; margin: 10px 0 0;
    border-top: 2px solid var(--see);
  }
  .kopf-links.offen { display: flex; }
  .kopf-links a { display: block; padding: 12px 2px; border-bottom: 1px solid #dbe9ee; }
}
@media (max-width: 560px) {
  .kopf { gap: 12px; padding: 4px 16px 0; }
  .kopf-logo img { height: 54px; }
  .kopf { gap: 8px; }
  .kopf-knopf { padding: 9px 13px; font-size: .92rem; }
  .kopf-menue { padding: 7px 11px; }
  .bons { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .plan-tipp { display: block; }
  .plan3d { aspect-ratio: 1 / 1; }
  .plan3d-punkt { font-size: .68rem; padding: 2px 6px; }
  .plan3d-hinweis { font-size: 1rem; }
  .bon { padding: 12px 16px 12px 16px; }
  .bon-preis { font-size: 1.15rem; }
  .hero, .tagabend, .abschnitt { padding-left: 16px; padding-right: 16px; }
  .ticket { padding: 18px 26px; }
  .ticket-titel { font-size: 1.7rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ballone { animation: none; }
  .kachel img { transition: none; }
  html { scroll-behavior: auto; }
}


/* ==========================================================
   v3: Kopf bleibt oben, Tagesuhr, Abend, Uhren
   ========================================================== */

/* ---------- Kopf, bleibt beim Scrollen stehen ---------- */
.leiste {
  position: sticky; top: 0; z-index: 50;
  background: var(--himmel-jetzt, var(--papier));
  transition: box-shadow .2s;
}
.leiste.unterwegs { box-shadow: 0 6px 18px -12px rgba(23,56,74,.55); }
.kopf { height: 78px; padding-top: 0; }
.kopf-logo img { height: 68px; transform-origin: left center; transition: transform .2s; }
.leiste.unterwegs .kopf-logo img { transform: scale(.8); }
.kopf-links { gap: 20px; }
.kopf-links a { padding: 4px 0; background: linear-gradient(var(--koralle), var(--koralle)) left bottom / 0 3px no-repeat; }
.kopf-links a:hover { text-decoration: none; background-size: 100% 3px; }
.kopf-links a.aktiv { background-size: 100% 3px; }

/* ---------- Tagesuhr: die Sonne wandert mit dem Scrollen von 10 bis 20 Uhr ---------- */
.tagesuhr { padding: 0 24px 9px; }
.tagesuhr-bahn { max-width: 1132px; margin: 0 auto; display: flex; align-items: center; gap: 12px; }
.tagesuhr-ende { font-size: .74rem; font-weight: 600; color: var(--see-hell); white-space: nowrap; }
.tagesuhr-linie {
  position: relative; flex: 1; height: 22px;
  background:
    linear-gradient(90deg, var(--see) 2px, transparent 2px) 0 50% / 10% 8px repeat-x,
    linear-gradient(var(--see), var(--see)) 0 50% / 100% 2px no-repeat;
  --lauf: 0;
}
.tagesuhr-linie { opacity: 1; }
.tagesuhr-linie::before {            /* schon vergangener Teil des Tages */
  content: ""; position: absolute; left: 0; top: 50%; height: 4px; margin-top: -2px; border-radius: 2px;
  width: calc(var(--lauf) * 100%); background: var(--sonne, var(--gelb));
}
.sonne {
  position: absolute; top: 50%; left: calc(var(--lauf) * 100%);
  width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%;
  background: var(--sonne, var(--gelb));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sonne, var(--gelb)) 35%, transparent);
}
.tagesuhr-zeit {
  position: absolute; left: 30px; top: 50%; transform: translateY(-50%);
  font-family: var(--hand); font-size: 1.2rem; line-height: 1; white-space: nowrap; color: var(--see);
  background: var(--himmel-jetzt, var(--papier)); padding: 2px 6px; border-radius: 6px;
}
.tagesuhr.spaet .tagesuhr-zeit { left: auto; right: 30px; }
.tagesuhr.nacht .sonne {             /* nach dem letzten Konzert: Mond */
  background: #fff3c4; box-shadow: inset -7px -2px 0 0 var(--see);
}
.tagesuhr-linie { background-blend-mode: normal; }
.tagesuhr-linie { --strich: rgba(23,56,74,.28); background:
    linear-gradient(90deg, var(--strich) 2px, transparent 2px) 0 50% / 10% 10px repeat-x,
    linear-gradient(var(--strich), var(--strich)) 0 50% / 100% 2px no-repeat; }

/* ---------- Hero ---------- */
.hero { padding-top: 34px; }
.hero h1 { font-size: clamp(3rem, 6.4vw, 5.4rem); }
.hero-schlafe {
  display: inline-block; margin: 16px 0 0 14px;
  font-family: var(--hand); font-size: 1.5rem; line-height: 1.1; color: var(--koralle);
  transform: rotate(-2deg);
}
.hero-schlafe[hidden] { display: none; }
.hero-schlafe + .hero-bands { margin-top: 8px; }

/* ---------- Kleine Uhr neben Abschnitts-Titeln mit fester Zeit ---------- */
.uhr { display: inline-block; width: .95em; height: .95em; margin-right: .22em; vertical-align: -.12em; transform: rotate(-6deg); }
.uhr:empty { display: none; }
.uhr svg { display: block; width: 100%; height: 100%; overflow: visible; }
.uhr .u-rand { fill: #fff; stroke: var(--see); stroke-width: 5; }
.uhr .u-zeiger { stroke: var(--see); stroke-width: 6; stroke-linecap: round; transform-origin: 50px 50px; transition: transform .9s cubic-bezier(.3,1.4,.5,1); }
.uhr .u-min { stroke: var(--koralle); stroke-width: 4.5; }
.uhr .u-punkt { fill: var(--see); }
.uhr .u-strich { stroke: var(--see); stroke-width: 4; stroke-linecap: round; }
.uhr-hell .u-rand { fill: var(--see); stroke: var(--gelb); }
.uhr-hell .u-zeiger, .uhr-hell .u-strich { stroke: #fff; }
.uhr-hell .u-min { stroke: var(--gelb); }
.uhr-hell .u-punkt { fill: #fff; }

.abschnitt { padding-top: 88px; }

/* ---------- Abend: Bergkette, Lichterkette ---------- */
.abend-berge { display: block; width: 100%; height: clamp(70px, 11vw, 170px); margin-bottom: -1px; }
.berge-hinten { fill: #7d8fa6; opacity: .55; }
.berge-vorn { fill: var(--see); }
.abend-flaeche {
  background:
    radial-gradient(1.5px 1.5px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 31% 9%, #fff 50%, transparent 51%),
    radial-gradient(2px 2px at 58% 16%, #ffe9a8 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 77% 7%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 91% 24%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 44% 30%, #fff 50%, transparent 51%),
    var(--see);
  padding-top: 26px;
}
.abend-innen { padding-top: 46px; }
.lichter {
  position: relative; max-width: 1180px; margin: 0 auto; height: 74px;
}
.lichter::before {                   /* Kabel */
  content: ""; position: absolute; left: 2%; right: 2%; top: -44px; height: 88px;
  border: 2px solid rgba(255,255,255,.4); border-top: 0;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
}
.lichter i {
  position: absolute; top: calc(var(--y) * 44px - 1px); width: 16px; height: 21px; margin-left: -8px;
  border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
  background: #48677a;
  transition: background .35s, box-shadow .35s;
  transition-delay: calc(var(--i) * 70ms);
}
.lichter i::before { content: ""; position: absolute; left: 5px; top: -4px; width: 6px; height: 5px; background: #9fbac6; border-radius: 1px; }
.lichter.an i { background: var(--f); box-shadow: 0 0 14px 3px color-mix(in srgb, var(--f) 70%, transparent); }

/* ---------- Wimpel als Trenner nach dem Festtag ---------- */
.wimpel-mitte { margin-top: 0; }
.abend + .wimpel-mitte { background-color: transparent; }

/* ---------- Mobil ---------- */
.kopf-links a, .kopf-knopf { white-space: nowrap; }
@media (max-width: 1080px) {
  .kopf-links { gap: 12px; font-size: .9rem; }
  .kopf { gap: 14px; }
  .kopf-logo img { height: 56px; }
  .kopf-knopf { padding: 10px 14px; font-size: .92rem; }
}
@media (max-width: 860px) {
  html { scroll-padding-top: 100px; }
  .kopf { height: auto; min-height: 62px; padding-top: 4px; }
  .kopf-logo img { height: 54px; }
  .kopf-links { max-height: calc(100vh - 110px); overflow-y: auto; }
  .kopf-links a { background: none; }
  .kopf-links a.aktiv { color: var(--koralle); }
  .tagesuhr { padding: 0 16px 7px; }
  .tagesuhr-bahn { gap: 8px; }
  .lichter i:nth-child(even) { display: none; }
  .abend-innen { padding-top: 30px; }
}
@media (max-width: 560px) {
  .kopf-logo img { height: 46px; }
  .tagesuhr-ende { font-size: .68rem; }
  .tagesuhr-zeit { font-size: 1.05rem; }
  .hero-schlafe { font-size: 1.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  .lichter i, .uhr .u-zeiger, .kopf-logo img { transition: none; }
}
