/*
 * Seitengruppe „haupt“ im neuen Design: Hauptdomain-Startseite, Für Veranstalter, Veranstalter,
 * CMS-Seiten, Formulare, Newsletter, Playlists, Social-Galerie, Gewinnspiel, Kalender-Abo, 404, Mediadaten.
 * Baut auf neu.css auf (Farben, .btn, .field, .formgrid …); hier nur, was diese Seiten zusätzlich brauchen.
 */

/* ── Allgemein ─────────────────────────────────────────────── */
.haupt-lead { max-width: 70ch; color: var(--soft); font-size: 17px; line-height: 1.7; margin: 0 0 20px; }
.haupt-lead a, .haupt-text a, .haupt-hinweis a, .haupt-form a, .haupt-cms a:not(.btn) { text-decoration: underline; text-underline-offset: 3px; }
.haupt-text { color: var(--soft); font-size: 16px; line-height: 1.75; max-width: 75ch; }
.haupt-text p { margin: 0 0 14px; }
.haupt-klein { color: var(--muted); font-size: 14px; line-height: 1.6; }
.haupt-knoepfe { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.haupt-kopfzeile { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; justify-content: space-between; margin-bottom: 24px; }
.haupt-kopfzeile h2 { font-size: clamp(44px, 6vw, 80px); margin-top: 12px; }
.haupt-kopfzeile .ul { margin-top: 14px; }
.haupt-unterzeile { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.ul--gruen { background: var(--green); }
.ul--gold { background: var(--gold); }
.haupt-kicker-zeile { margin-top: 22px; }
.haupt-titel-gross { font-size: clamp(52px, 8vw, 120px); margin-top: 12px; }
.haupt-titel-mittel { font-size: clamp(32px, 4vw, 48px); margin: 0 0 14px; }
.haupt-schmal { max-width: 860px; }

/* Panels für Meldungen (Erfolg, Hinweis, Fehler – Fehler bewusst orange statt rot) */
.haupt-meldung { background: var(--surface); border-left: 8px solid var(--green); padding: 20px 24px; margin: 0 0 22px; max-width: 900px; }
.haupt-meldung strong, .haupt-meldung b { display: block; font: 28px/1.05 var(--display); text-transform: uppercase; margin-bottom: 6px; font-weight: 400; }
.haupt-meldung p { margin: 0; color: var(--soft); line-height: 1.65; }
.haupt-meldung p + p { margin-top: 10px; }
.haupt-meldung ul { margin: 0; padding-left: 20px; color: var(--soft); }
.haupt-meldung--hinweis { border-left-color: var(--accent); }
.haupt-meldung--warnung { border-left-color: var(--orange); }
.haupt-meldung--gold { border-left-color: var(--gold); }

/* ── Formulare ─────────────────────────────────────────────── */
.form-antispam, .giveaway-form__trap { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.haupt-form { position: relative; }
.haupt-form .lab, .haupt-form legend { display: block; font: 700 12px var(--body); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 6px; }
.haupt-form legend { padding: 0; }
.haupt-form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.haupt-form .field { font-size: 15px; min-height: 46px; }
.haupt-form textarea.field { min-height: 140px; resize: vertical; line-height: 1.5; }
.haupt-form select.field[multiple] { min-height: 160px; padding: 6px; }
.haupt-form select.field[multiple] option { padding: 6px 8px; }
.haupt-form input[type=file].field { padding: 9px 10px; }
.haupt-form .hint, .haupt-form .haupt-feldhinweis { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; line-height: 1.5; }
.haupt-form .check { font-weight: 600; line-height: 1.5; align-items: flex-start; }
.haupt-form .check input { flex: none; margin-top: 2px; }
.haupt-form .check small { color: var(--muted); font-weight: 400; }
.haupt-form .haupt-gruppe { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; background: var(--surface); }
.haupt-form .haupt-trenner { border: 0; border-top: 1px solid var(--line); margin: 2px 0; }
.haupt-form .haupt-zeile { display: flex; gap: 8px; }
.haupt-form .haupt-zeile .field { flex: 1; min-width: 0; }
.haupt-form .haupt-zeile .btn { flex: none; }
.haupt-form .haupt-fehler { display: block; color: var(--orange); font: 700 13px var(--body); margin-top: 6px; }
.haupt-form .haupt-fehler:empty { display: none; }
.haupt-form .ist-fehler .field { border-color: var(--orange); }
.haupt-form h3.haupt-formtitel { grid-column: 1 / -1; margin: 14px 0 0; font: 26px/1 var(--display); text-transform: uppercase; font-weight: 400; }
.haupt-form h3.haupt-formtitel:first-of-type { margin-top: 0; }
.haupt-form .haupt-absenden { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.haupt-formstatus { grid-column: 1 / -1; margin: 0; padding: 14px 18px; background: var(--surface); border-left: 6px solid var(--green); font-weight: 600; }
.haupt-formstatus.ist-fehler { border-left-color: var(--orange); }
.haupt-formstatus[hidden] { display: none; }
.haupt-form.laedt button[type=submit] { opacity: .6; cursor: progress; }
.haupt-tokenmeldung { display: block; font-size: 13px; margin-top: 6px; font-weight: 600; color: var(--green); }
.haupt-tokenmeldung.ist-fehler { color: var(--orange); }
.haupt-tokenmeldung[hidden] { display: none; }
.haupt-radios { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* ── Event-Assistent (Event melden) ────────────────────────── */
.haupt-wizard { max-width: 900px; }
.haupt-schritte { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 6px; margin: 0 0 28px; padding: 0; list-style: none; counter-reset: schritt; }
.haupt-schritte li { display: flex; flex-direction: column; gap: 8px; font: 700 11px var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.haupt-schritte li::before { content: ""; height: 5px; background: var(--line); }
.haupt-schritte li span { display: inline-flex; align-items: center; gap: 8px; }
.haupt-schritte li b { font: 22px/1 var(--display); color: var(--muted); }
.haupt-schritte li.ist-aktiv, .haupt-schritte li.ist-erledigt { color: #fff; }
.haupt-schritte li.ist-aktiv::before { background: var(--orange); }
.haupt-schritte li.ist-erledigt::before { background: var(--accent); }
.haupt-schritte li.ist-aktiv b { color: var(--orange); }
.haupt-schritte li.ist-erledigt b { color: var(--accent); }
@media (max-width: 640px) { .haupt-schritte li span { font-size: 0; letter-spacing: 0; } .haupt-schritte li b { font-size: 20px; } }
.haupt-schritt[hidden] { display: none; }
.haupt-schritt > h3 { margin: 0 0 6px; font: clamp(30px, 4vw, 44px)/1 var(--display); text-transform: uppercase; font-weight: 400; }
.haupt-schritt > p.haupt-klein { margin: 0 0 18px; }
.haupt-schritt h4 { grid-column: 1 / -1; margin: 6px 0 0; font: 800 15px var(--body); letter-spacing: .1em; text-transform: uppercase; }
.haupt-wizard-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.haupt-wizard-nav .haupt-weiter, .haupt-wizard-nav .haupt-absenden-btn { margin-left: auto; }
.haupt-wizard-nav [hidden] { display: none; }
.haupt-zusammenfassung table { width: 100%; border-collapse: collapse; background: var(--surface); }
.haupt-zusammenfassung th, .haupt-zusammenfassung td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.haupt-zusammenfassung th { width: 34%; color: var(--muted); font: 700 12px var(--body); letter-spacing: .1em; text-transform: uppercase; }
.haupt-ortswahl { position: relative; }
.haupt-ortsliste { position: absolute; z-index: 15; left: 0; right: 0; top: 100%; margin: 0; padding: 0; list-style: none; background: var(--surface-2); border: 2px solid var(--accent); border-top: 0; max-height: 240px; overflow-y: auto; }
.haupt-ortsliste[hidden] { display: none; }
.haupt-ortsliste li { padding: 10px 14px; cursor: pointer; color: var(--soft); }
.haupt-ortsliste li strong { color: #fff; }
.haupt-ortsliste li:hover, .haupt-ortsliste li.ist-markiert { background: var(--accent); color: #fff; }
.haupt-ortsliste li.haupt-ort-neu { border-top: 1px solid var(--line); color: var(--gold); font-style: italic; }
.haupt-ortsliste li.haupt-ort-neu:hover, .haupt-ortsliste li.haupt-ort-neu.ist-markiert { color: #fff; }
.haupt-ort-gewaehlt { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; background: var(--surface-2); border-left: 5px solid var(--accent); font-weight: 700; }
.haupt-ort-gewaehlt[hidden] { display: none; }
.haupt-ort-gewaehlt button { font-size: 22px; line-height: 1; padding: 2px 8px; color: var(--soft); }
.haupt-ort-gewaehlt button:hover { color: #fff; }
.haupt-fertig { text-align: left; }

/* ── CMS-Seiten ────────────────────────────────────────────── */
.haupt-cms { color: var(--soft); font-size: 16px; line-height: 1.75; max-width: 1100px; }
.haupt-cms > * { max-width: 75ch; }
.haupt-cms > .row, .haupt-cms > div, .haupt-cms > form, .haupt-cms > .haupt-wizard { max-width: none; }
.haupt-cms p { margin: 0 0 14px; }
.haupt-cms { overflow-wrap: anywhere; }
.haupt-cms h2 { margin: 34px 0 12px; font: clamp(28px, 3.4vw, 40px)/1.05 var(--display); text-transform: uppercase; font-weight: 400; color: #fff; overflow-wrap: anywhere; }
.haupt-cms h3 { margin: 26px 0 10px; font: 800 20px/1.3 var(--body); color: #fff; padding-left: 14px; border-left: 5px solid var(--accent); }
.haupt-cms h4 { margin: 20px 0 8px; font: 800 17px/1.3 var(--body); color: #fff; }
.haupt-cms ul, .haupt-cms ol { padding-left: 22px; margin: 0 0 14px; }
.haupt-cms li { margin-bottom: 6px; }
.haupt-cms table { border-collapse: collapse; display: block; overflow-x: auto; max-width: 100%; }
.haupt-cms td, .haupt-cms th { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.haupt-cms img { max-width: 100%; height: auto; }
.haupt-cms .row { background: none; border: 0; min-height: 0; transform: none; transition: none; container-type: normal; display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px 40px; }
.haupt-cms .row > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 768px) {
  .haupt-cms .row { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .haupt-cms .row > .col-md-6 { grid-column: span 6; }
  .haupt-cms .row > .col-md-8 { grid-column: span 8; }
  .haupt-cms .row > .col-md-4 { grid-column: span 4; }
}
.haupt-cms .row > .col-md-4 { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.haupt-cms .row .btn { margin: 6px 0; }
.haupt-cms .haupt-form, .haupt-cms .haupt-wizard { margin-top: 10px; }
.haupt-cms .formgrid { max-width: 900px; }
.haupt-cms .haupt-form h3, .haupt-cms .haupt-schritt h3 { border-left: 0; padding-left: 0; }
.haupt-cms .haupt-schritt h4 { color: #fff; }

/* ── Startseite Hauptdomain ────────────────────────────────── */
.haupt-hero { position: relative; overflow: hidden; padding-block: 72px 56px; border-bottom: 1px solid var(--line); }
.haupt-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.haupt-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,10,15,.92), rgba(5,10,15,.35)); }
.haupt-hero .wrap { position: relative; z-index: 1; }
.haupt-hero h1 { font-size: clamp(60px, 11vw, 168px); margin: 16px 0 0; }
.haupt-hero .ul { margin-top: 18px; }
.haupt-hero-unter { margin: 18px 0 0; font: 700 clamp(18px, 2.2vw, 26px)/1.3 var(--body); color: var(--soft); }
.haupt-highlights-klein { display: block; margin-top: 8px; color: var(--muted); font-size: 14px; }
.haupt-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1050px) { .haupt-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.haupt-tile .zoom { width: 100%; height: 100%; object-fit: cover; }
.haupt-tile .in .ti { margin: 0; font: 800 19px/1.15 var(--body); }
.haupt-tile .in .me { display: block; }
.haupt-tile time { display: block; }
.haupt-tile .bd b { font-size: 30px; }
.haupt-tile .ti a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.haupt-stats { margin: 0; }
.haupt-stats b { display: block; font: 64px/1 var(--display); font-weight: 400; }
@media (max-width: 900px) { .haupt-stats b { font-size: 48px; } }
.haupt-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .haupt-stats { grid-template-columns: minmax(0, 1fr); } }
.haupt-fests a { color: inherit; }
.haupt-fests .ph { display: block; background: #fff; }
.haupt-fests .ph img { width: 100%; height: 100%; object-fit: contain; display: block; }
.haupt-fests h5 { margin: 0; font: 30px/1 var(--display); text-transform: uppercase; font-weight: 400; }
.haupt-staedte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .haupt-staedte { grid-template-columns: minmax(0, 1fr); } }
.haupt-stadt { position: relative; min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 22px; background: var(--surface-2); overflow: hidden; }
.haupt-stadt > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.haupt-stadt::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5,10,15,.15), rgba(5,10,15,.94) 62%); }
.haupt-stadt > *:not(img) { position: relative; z-index: 2; }
.haupt-stadt h5 { margin: 0; font: clamp(40px, 5vw, 64px)/1 var(--display); text-transform: uppercase; font-weight: 400; }
.haupt-stadt p { margin: 0; color: var(--soft); font-size: 14px; line-height: 1.6; }
.haupt-stadt .btn { align-self: flex-start; }
.haupt-stadt--bald { background: none; border: 2px dashed var(--line); justify-content: flex-start; }
.haupt-stadt--bald::before { display: none; }
.haupt-bald { margin-top: 26px; background: var(--surface); border-left: 6px solid var(--accent); padding: 22px 26px; }
.haupt-bald h3, .haupt-ueber h3 { margin: 0 0 12px; font: 800 20px/1.35 var(--body); }
.haupt-bald p, .haupt-ueber-text { color: var(--soft); line-height: 1.75; margin: 0; }
.haupt-ueber-text { columns: 2; column-gap: 48px; }
@media (max-width: 900px) { .haupt-ueber-text { columns: 1; } }
.haupt-zwei { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .haupt-zwei { grid-template-columns: minmax(0, 1fr); } }
.haupt-zwei > section { background: var(--surface); padding: 26px; border-top: 5px solid var(--c, var(--accent)); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.haupt-zwei h2 { font-size: clamp(36px, 4vw, 54px); margin: 0; }
.haupt-zwei p { margin: 0; color: var(--soft); line-height: 1.7; }
.haupt-zwei--orange { --c: var(--orange); }
.haupt-zwei--gold { --c: var(--gold); }

/* ── Für Veranstalter ──────────────────────────────────────── */
.haupt-vorteile { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1050px) { .haupt-vorteile { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .haupt-vorteile { grid-template-columns: minmax(0, 1fr); } }
.haupt-vorteile > div { background: var(--surface); padding: 22px; border-top: 5px solid var(--accent); }
.haupt-vorteile > div:nth-child(2) { border-top-color: var(--gold); }
.haupt-vorteile > div:nth-child(3) { border-top-color: var(--orange); }
.haupt-vorteile > div:nth-child(4) { border-top-color: var(--green); }
.haupt-vorteile h4 { margin: 0 0 10px; font: 28px/1.02 var(--display); text-transform: uppercase; font-weight: 400; }
.haupt-vorteile p { margin: 0; color: var(--soft); line-height: 1.65; }
.haupt-schrittliste { font-size: 17px; max-width: 70ch; }
.haupt-cta { background: linear-gradient(90deg, var(--surface), #13283a); border-left: 8px solid var(--orange); padding: 30px; }
.haupt-cta h2 { font-size: clamp(36px, 5vw, 64px); margin: 0 0 12px; }
.haupt-cta p { color: var(--soft); margin: 0 0 18px; }

/* ── Veranstalter (Liste + Detail) ─────────────────────────── */
.haupt-veranstalter { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1050px) { .haupt-veranstalter { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .haupt-veranstalter { grid-template-columns: minmax(0, 1fr); } }
.haupt-veranstalter article { background: var(--surface); display: flex; flex-direction: column; }
.haupt-veranstalter .ph { display: block; aspect-ratio: 16 / 9; background: var(--surface-2); overflow: hidden; }
.haupt-veranstalter .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.haupt-veranstalter .bd { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; border-top: 5px solid var(--accent); }
.haupt-veranstalter .name { font: 30px/1 var(--display); text-transform: uppercase; }
.haupt-veranstalter p { margin: 0; color: var(--soft); font-size: 14px; line-height: 1.6; flex: 1; }
.haupt-veranstalter .btn { align-self: flex-start; }
.haupt-fehlst { margin-top: 30px; }
.haupt-fehlst h3 { margin: 0 0 10px; font: 800 22px/1.3 var(--body); }
.haupt-profil { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 900px) { .haupt-profil { grid-template-columns: minmax(0, 1fr); } .haupt-profil > figure { order: -1; } }
.haupt-profil > figure { margin: 0; }
.haupt-profil > figure img { width: 100%; height: auto; display: block; background: var(--surface); }
.haupt-profil .about-text h2 { font-size: clamp(36px, 4vw, 56px); }
.haupt-profil .haupt-beschreibung { color: #fff; font-size: 17px; line-height: 1.75; max-width: 68ch; }
.haupt-links { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; }
.haupt-ev-kopf { margin-bottom: 18px; }
.haupt-ev-kopf h5 { margin: 0; }
.haupt-ev-kopf h4 { margin: 10px 0 0; font-size: clamp(36px, 5vw, 60px); }

/* ── Newsletter ────────────────────────────────────────────── */
.haupt-nl { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 900px) { .haupt-nl { grid-template-columns: minmax(0, 1fr); } }
.haupt-nl-titel { font-size: clamp(36px, 5vw, 60px); margin: 0 0 14px; }
.haupt-nl .formgrid { grid-template-columns: minmax(0, 1fr); }
.haupt-abmelden { margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.haupt-abmelden h3 { margin: 0 0 8px; font: 28px/1 var(--display); text-transform: uppercase; font-weight: 400; }

/* ── Playlists ─────────────────────────────────────────────── */
.haupt-pl-abschnitt { margin: 34px 0 14px; font-size: clamp(32px, 4vw, 48px); }
.haupt-pl-raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 900px) { .haupt-pl-raster { grid-template-columns: minmax(0, 1fr); } }
.haupt-pl { background: var(--surface); border-top: 5px solid var(--green); padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.haupt-pl-kopf { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 480px) { .haupt-pl-kopf { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; } }
.haupt-pl-cover { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; background: var(--surface-2); }
.haupt-pl-cover--leer { display: flex; align-items: center; justify-content: center; color: var(--green); font: 40px/1 var(--display); }
.haupt-pl h3 { margin: 4px 0 6px; font: 28px/1.02 var(--display); text-transform: uppercase; font-weight: 400; overflow-wrap: anywhere; }
.haupt-pl p { margin: 0; color: var(--soft); font-size: 14px; line-height: 1.6; }
.haupt-pl .label { color: var(--green); }
.haupt-pl-player { display: flex; flex-direction: column; gap: 12px; }
.haupt-pl-player iframe { width: 100%; height: 380px; border: 0; display: block; }
.haupt-pl-zustimmung { color: var(--muted) !important; font-size: 13px !important; }
.haupt-vorschlag { margin-top: 48px; }
.haupt-vorschlag .formgrid { margin-top: 18px; }

/* ── Social-Galerie ────────────────────────────────────────── */
.haupt-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.haupt-filter button[aria-pressed=true] { background: var(--accent); color: #fff; }
.haupt-galerie { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1050px) { .haupt-galerie { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .haupt-galerie { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; } }
.haupt-galerie-item[hidden] { display: none; }
.haupt-galerie-karte { display: block; width: 100%; text-align: left; background: var(--surface); padding: 0; }
.haupt-galerie-karte:hover img { transform: scale(1.04); }
.haupt-galerie-bild { position: relative; display: block; overflow: hidden; }
.haupt-galerie-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: transform .4s; }
.haupt-galerie-anzahl { position: absolute; top: 8px; right: 8px; background: rgba(5,10,15,.85); padding: 3px 8px; font: 700 11px var(--body); letter-spacing: .08em; }
.haupt-galerie-info { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; flex-wrap: wrap; }
.haupt-galerie-info small { color: var(--muted); }
.haupt-kat { padding: 3px 8px; font: 700 10px var(--body); letter-spacing: .12em; text-transform: uppercase; background: var(--accent); }
.haupt-kat--konzerte { background: var(--gold); color: var(--ink); }
.haupt-kat--wochenende { background: var(--green); }
.haupt-dialog { width: min(820px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; background: var(--surface); color: var(--fg); border-top: 6px solid var(--accent); }
.haupt-dialog::backdrop { background: rgba(5,10,15,.82); }
.haupt-dialog-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.haupt-dialog-kopf h5 { margin: 0; font: 26px/1.05 var(--display); text-transform: uppercase; font-weight: 400; }
.haupt-dialog-zu { font-size: 30px; line-height: 1; padding: 4px 10px; }
.haupt-dialog-inhalt { padding: 18px; display: flex; flex-direction: column; gap: 18px; }
.haupt-karussell { position: relative; text-align: center; background: var(--bg); }
.haupt-karussell img { max-width: 100%; max-height: 60vh; height: auto; display: inline-block; vertical-align: top; }
.haupt-karussell-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; background: rgba(5,10,15,.75); font-size: 30px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.haupt-karussell-nav:hover { background: var(--accent); }
.haupt-karussell-nav[hidden] { display: none; }
.haupt-karussell-zurueck { left: 8px; }
.haupt-karussell-vor { right: 8px; }
.haupt-karussell-zaehler { color: var(--muted); font-size: 13px; text-align: center; margin-top: 6px; }
.haupt-dialog .label { color: #fff; display: block; margin-bottom: 8px; }
.haupt-reiter { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.haupt-reiter button[aria-selected=true] { background: var(--accent); color: #fff; box-shadow: none; }
.haupt-reiter button[hidden] { display: none; }
.haupt-einbetten { display: flex; gap: 8px; }
.haupt-einbetten[hidden] { display: none; }
.haupt-einbetten textarea { flex: 1; min-width: 0; font: 12px/1.45 ui-monospace, Consolas, monospace; min-height: 84px; }

/* ── Gewinnspiel ───────────────────────────────────────────── */
.haupt-gw { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 900px) { .haupt-gw { grid-template-columns: minmax(0, 1fr); } }
.haupt-gw-bild { margin: 0 0 22px; }
.haupt-gw-bild img { width: 100%; height: auto; display: block; max-height: 460px; object-fit: cover; }
.haupt-gw-preis { font: clamp(26px, 3vw, 36px)/1.1 var(--display); text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.haupt-gw-meta { color: var(--muted); font: 700 13px var(--body); letter-spacing: .12em; text-transform: uppercase; margin: 0 0 20px; }
.haupt-gw-beschreibung { color: var(--soft); font-size: 17px; line-height: 1.75; margin-bottom: 26px; }
.haupt-gw-beschreibung p { margin: 0 0 14px; }
.haupt-gw-beschreibung a { text-decoration: underline; }
.haupt-gw-form h2 { font-size: clamp(30px, 3.5vw, 44px); margin: 0 0 16px; }
.haupt-gw .formgrid { grid-template-columns: minmax(0, 1fr); }
.haupt-gw-bedingungen { background: var(--surface); padding: 22px; border-left: 6px solid var(--gold); position: sticky; top: calc(96px + env(safe-area-inset-top, 0px)); }
.haupt-gw-bedingungen h2 { font: 28px/1 var(--display); text-transform: uppercase; font-weight: 400; margin: 0 0 12px; }
.haupt-gw-bedingungen div { color: var(--soft); font-size: 14px; line-height: 1.65; white-space: pre-line; }
@media (max-width: 900px) { .haupt-gw-bedingungen { position: static; } }

/* ── Kalender-Abo ──────────────────────────────────────────── */
.haupt-ical { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
@media (max-width: 900px) { .haupt-ical { grid-template-columns: minmax(0, 1fr); } }
.haupt-ical h2 { font-size: clamp(34px, 4vw, 52px); margin: 0 0 10px; }
.haupt-ical .formgrid { grid-template-columns: minmax(0, 1fr); margin-top: 18px; }
.haupt-ical-url { display: flex; gap: 8px; margin-bottom: 6px; }
.haupt-ical-url .field { flex: 1; min-width: 0; font: 13px ui-monospace, Consolas, monospace; }
.haupt-kopiert { color: var(--green); font-weight: 700; font-size: 14px; }
.haupt-kopiert[hidden] { display: none; }
.haupt-anleitung { background: var(--surface); padding: 20px 22px; margin-top: 16px; border-left: 6px solid var(--accent); }
.haupt-anleitung:nth-of-type(2) { border-left-color: var(--gold); }
.haupt-anleitung:nth-of-type(3) { border-left-color: var(--orange); }
.haupt-anleitung h4 { margin: 0 0 8px; font: 800 18px var(--body); }
.haupt-anleitung ol { margin: 10px 0 0; padding-left: 20px; color: var(--soft); line-height: 1.7; }
.haupt-anleitung a { text-decoration: underline; }
.haupt-anleitung small { color: var(--muted); display: block; line-height: 1.55; }

/* ── 404 ──────────────────────────────────────────────────── */
.haupt-404-kopf { border-bottom: 1px solid var(--line); background: rgba(5,10,15,.95); }
.haupt-404-kopf .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.haupt-404-kopf .brand { display: flex; align-items: center; gap: 12px; }
.haupt-404 h1 { font-size: clamp(44px, 7vw, 100px); overflow-wrap: anywhere; }
.haupt-404 h2 { margin: 0; font: 700 clamp(18px, 2vw, 24px)/1.4 var(--body); color: var(--soft); text-transform: none; }
.haupt-404 p { margin: 0; color: var(--soft); }
.haupt-404-fuss { margin-top: 70px; border-top: 1px solid var(--line); padding-block: 22px 40px; color: var(--muted); font-size: 13px; }
.haupt-404-fuss a { text-decoration: underline; margin-right: 14px; }

/* ── Danke-Seite / Bestätigungen ───────────────────────────── */
.haupt-danke { max-width: 900px; }
.haupt-meldung p strong, .haupt-meldung p b { display: inline; font: 800 1em var(--body); text-transform: none; margin: 0; }

.haupt-cms .row:hover { transform: none; }
.haupt-cms .haupt-schritte { padding-left: 0; }
.haupt-cms .haupt-schritte li { margin: 0; }

/* ── Mediadaten (eigenständige Seite, noindex) ─────────────── */
.haupt-mk { max-width: 1100px; margin: 0 auto; padding: 0 16px 60px; }
@media (min-width: 900px) { .haupt-mk { padding: 0 48px 80px; } }
.haupt-mk-hero { padding: 56px 0 30px; border-bottom: 1px solid var(--line); }
.haupt-mk-hero h1 { font-size: clamp(64px, 12vw, 150px); margin: 14px 0 0; }
.haupt-mk-hero h1 span { color: var(--accent); }
.haupt-mk-hero .ul { margin-top: 16px; }
.haupt-mk-lead { max-width: 62ch; color: var(--soft); font-size: 19px; line-height: 1.7; margin: 22px 0 10px; }
.haupt-mk-meta { color: var(--muted); font-size: 13px; margin: 0; }
.haupt-mk section { padding-top: 54px; }
.haupt-mk h2 { font: clamp(36px, 5vw, 60px)/1 var(--display); text-transform: uppercase; font-weight: 400; margin: 0; }
.haupt-mk h3 { margin: 34px 0 12px; font: 800 18px var(--body); letter-spacing: .08em; text-transform: uppercase; }
.haupt-mk-sub { color: var(--muted); font-size: 14px; margin: 8px 0 22px; }
.haupt-mk-kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .haupt-mk-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .haupt-mk-kpis { grid-template-columns: minmax(0, 1fr); } }
.haupt-mk-kpi { background: var(--surface); padding: 18px 20px; border-top: 5px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.haupt-mk-kpi--akzent { border-top-color: var(--accent); }
.haupt-mk-kpi b { font: 48px/1 var(--display); font-weight: 400; }
.haupt-mk-kpi .label { color: #fff; }
.haupt-mk-kpi small { color: var(--muted); font-size: 13px; }
.haupt-mk-notiz { background: var(--surface-2); border-left: 6px solid var(--gold); padding: 16px 20px; color: var(--soft); line-height: 1.65; margin-top: 18px; }
.haupt-mk-notiz strong { color: #fff; }
.haupt-mk-bars { display: flex; flex-direction: column; gap: 10px; }
.haupt-mk-bar { display: grid; grid-template-columns: 150px minmax(0, 1fr) 90px; gap: 14px; align-items: center; }
@media (max-width: 560px) { .haupt-mk-bar { grid-template-columns: 96px minmax(0, 1fr) 70px; gap: 8px; font-size: 13px; } }
.haupt-mk-bar small { color: var(--muted); display: block; }
.haupt-mk-spur { height: 14px; background: var(--surface); display: block; }
.haupt-mk-fuell { height: 100%; display: block; background: var(--muted); }
.haupt-mk-bar--akzent .haupt-mk-fuell { background: var(--accent); }
.haupt-mk-wert { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.haupt-mk-tabelle { overflow-x: auto; background: var(--surface); padding: 4px 14px; }
.haupt-mk table { width: 100%; border-collapse: collapse; }
.haupt-mk th, .haupt-mk td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.haupt-mk tr:last-child td { border-bottom: 0; }
.haupt-mk th { font: 700 11px var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.haupt-mk .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.haupt-mk-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 900px) { .haupt-mk-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .haupt-mk-karten { grid-template-columns: minmax(0, 1fr); } }
.haupt-mk-karte { background: var(--surface); padding: 20px; border-top: 5px solid var(--accent); }
.haupt-mk-karte:nth-child(3n+2) { border-top-color: var(--gold); }
.haupt-mk-karte:nth-child(3n) { border-top-color: var(--orange); }
.haupt-mk-karte h4 { margin: 8px 0 8px; font: 28px/1.02 var(--display); text-transform: uppercase; font-weight: 400; }
.haupt-mk-karte p, .haupt-mk-karte li { color: var(--soft); font-size: 14px; line-height: 1.6; }
.haupt-mk-karte p { margin: 0 0 8px; }
.haupt-mk-karte ul { margin: 0; padding-left: 18px; }
.haupt-mk-fuss { margin-top: 60px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; line-height: 1.7; }
.haupt-mk-fuss strong { color: #fff; }
.haupt-mk-fuss a { text-decoration: underline; color: var(--soft); }
.haupt-mk-abstand { margin-top: 12px; }
@media print {
  body { background: #fff; color: #111; }
  .haupt-mk-kpi, .haupt-mk-karte, .haupt-mk-tabelle, .haupt-mk-notiz, .haupt-mk-spur { background: #f3f5f7; }
  .haupt-mk-kpi .label, .haupt-mk-notiz strong, .haupt-mk-fuss strong { color: #111; }
  .haupt-mk-karte p, .haupt-mk-karte li, .haupt-mk-notiz, .haupt-mk-lead { color: #333; }
  .haupt-mk section { break-inside: avoid-page; }
}
.haupt-mk-w2 { width: 2%; }
.haupt-mk-w5 { width: 5%; }
.haupt-mk-w10 { width: 10%; }
.haupt-mk-w15 { width: 15%; }
.haupt-mk-w20 { width: 20%; }
.haupt-mk-w25 { width: 25%; }
.haupt-mk-w30 { width: 30%; }
.haupt-mk-w35 { width: 35%; }
.haupt-mk-w40 { width: 40%; }
.haupt-mk-w45 { width: 45%; }
.haupt-mk-w50 { width: 50%; }
.haupt-mk-w55 { width: 55%; }
.haupt-mk-w60 { width: 60%; }
.haupt-mk-w65 { width: 65%; }
.haupt-mk-w70 { width: 70%; }
.haupt-mk-w75 { width: 75%; }
.haupt-mk-w80 { width: 80%; }
.haupt-mk-w85 { width: 85%; }
.haupt-mk-w90 { width: 90%; }
.haupt-mk-w95 { width: 95%; }
.haupt-mk-w100 { width: 100%; }

/* Lange Einzelwörter (z. B. „Datenschutzerklärung“) dürfen auf dem Handy nicht über den Rand laufen */
.seitentitel, .haupt-titel-gross { hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 480px) { .seitentitel { font-size: clamp(40px, 12vw, 64px); } }
.haupt-cms .haupt-zusammenfassung table { display: table; }
.haupt-intro { margin-bottom: 26px; }
