/* ---------- Schrift (lokal eingebunden, keine Verbindung zu Google) ---------- */
@font-face { font-family: Poppins; font-weight: 300; font-display: swap; src: url(../fonts/Poppins-Light.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(../fonts/Poppins-Regular.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(../fonts/Poppins-Medium.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(../fonts/Poppins-SemiBold.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(../fonts/Poppins-Bold.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 800; font-display: swap; src: url(../fonts/Poppins-ExtraBold.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 900; font-display: swap; src: url(../fonts/Poppins-Black.woff2) format("woff2"); }

:root {
  --blue: #046FAE; --blue2: #166AA4; --navy: #083A5E; --yellow: #F5C013; --white: #fff;
  --tint: #EEF5FA; --line: #D9E7F1; --muted: #3E6A8A;
  /* Inhalt auf großen Bildschirmen auf max. 1160 px begrenzen – Hintergründe und Fotos bleiben randlos */
  --content: 1160px;
  --pad: max(clamp(20px, 7vw, 120px), calc((100vw - var(--content)) / 2));
  --h2: clamp(34px, 4.6vw, 60px);
  --eyebrow: clamp(24px, 3vw, 44px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
/* Schräge Banderole, Ticket-Stanzungen und Schatten dürfen nie seitlich über den Bildschirm hinausragen */
html, body { overflow-x: hidden; }
@supports (overflow-x: clip) { html, body { overflow-x: clip; } }
main, .site-footer, .community { max-width: 100vw; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: Poppins, "Segoe UI", system-ui, sans-serif; color: var(--blue); background: var(--white); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
h1, h2, h3 { margin: 0; line-height: 1.08; }
p { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--yellow); color: var(--navy); font-weight: 700; }
.skip:focus { top: 12px; }

/* ---------- Kopf ---------- */
.site-header { position: relative; z-index: 20; display: flex; align-items: center; justify-content: flex-end; gap: 32px; min-height: 112px; padding: 0 var(--pad) 0 calc(var(--pad) + 250px); background: var(--white); border-bottom: 6px solid var(--blue); }
.logo { position: absolute; left: calc(var(--pad) - 16px); top: 16px; transform: rotate(-2deg); filter: drop-shadow(0 10px 16px rgba(4,40,70,.28)); }
.logo img { width: 210px; height: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 48px); font-weight: 600; font-size: 16px; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--yellow); }
.nav a:hover { border-bottom-color: var(--line); }
.nav .cta { padding: 16px 28px; border: none; background: var(--yellow); color: var(--navy); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; }
.nav .cta:hover { background: #FFD23A; }
.menu-btn { display: none; }

/* ---------- Bausteine ---------- */
.eyebrow { display: inline-block; align-self: flex-start; font-weight: 300; font-size: var(--eyebrow); line-height: 1.15; padding-bottom: 4px; border-bottom: 5px solid var(--yellow); }
.eyebrow.on-yellow { border-bottom-color: var(--blue); color: var(--blue); }
.head { display: flex; flex-direction: column; }
.head h2, .head h1 { margin-top: 14px; font-weight: 800; font-size: var(--h2); letter-spacing: -.01em; }
.head.center { align-items: center; text-align: center; }
.head.center .eyebrow { align-self: center; }
.section { padding: clamp(70px, 9vw, 130px) var(--pad); }
.section-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 60px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-top > p { max-width: 420px; }
.tint { background: var(--tint); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 28px; border: none; font: inherit; font-weight: 800; font-size: 15px; letter-spacing: .05em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.btn { max-width: 100%; text-align: center; line-height: 1.25; }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: #FFD23A; }
.btn-blue { background: var(--blue); color: var(--white); }
.btn-blue:hover { background: var(--blue2); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-outline { border: 2px solid currentColor; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,.12); }

/* ---------- Titelbereich: Foto + blauer Textblock ---------- */
.hero { background: var(--blue); color: var(--white); }
.hero-media { position: relative; }
.hero-img { width: 100%; height: clamp(380px, 52vw, 800px); object-fit: cover; }
/* weicher Übergang vom Foto in den blauen Textblock */
.hero-media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; pointer-events: none;
  background: linear-gradient(180deg, rgba(4,111,174,0) 0%, rgba(4,111,174,.35) 45%, rgba(4,111,174,.8) 80%, #046FAE 100%); }
.hero-text { margin-top: -1px; }
.hero-text { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 32px 70px; padding: clamp(44px, 5vw, 70px) var(--pad) clamp(60px, 7vw, 100px); }
.hero-text .eyebrow { color: var(--white); }
.hero h1 { margin-top: 18px; font-weight: 900; font-size: clamp(50px, 7vw, 100px); line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.hero-side { width: min(100%, 500px); display: flex; flex-direction: column; gap: 22px; font-size: 19px; }
.hero-side strong { color: var(--yellow); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pills { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { padding: 14px 20px; background: var(--yellow); color: var(--navy); font-weight: 800; }
.pill.white { background: var(--white); color: var(--blue); }

.band { position: relative; z-index: 2; margin: -30px -40px 0; width: calc(100% + 80px); padding: 18px 0; background: var(--yellow); color: var(--navy); transform: rotate(-1.6deg); display: flex; gap: 30px; justify-content: center; white-space: nowrap; overflow: hidden; font-weight: 800; font-size: clamp(15px, 1.6vw, 22px); letter-spacing: .08em; text-transform: uppercase; box-shadow: 0 10px 24px rgba(4,40,70,.18); }
.band.right { transform: rotate(1.4deg); }

/* ---------- Ticket ---------- */
.ticket { position: relative; display: flex; min-height: 500px; filter: drop-shadow(0 26px 40px rgba(4,50,90,.22)); text-decoration: none; }
.ticket-main { position: relative; flex: 1; overflow: hidden; color: var(--white); }
.ticket-main img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ticket-main::after { content: ""; position: absolute; inset: 0; background: var(--navy); opacity: .62; }
.ticket-body { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 30px; padding: clamp(28px, 4vw, 46px) clamp(24px, 4vw, 54px); }
.ticket-meta { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.ticket-meta span:last-child { color: var(--yellow); }
.ticket h3 { font-weight: 900; font-size: clamp(38px, 5vw, 64px); line-height: .98; letter-spacing: -.02em; text-transform: uppercase; }
.ticket-body p { max-width: 520px; font-size: 18px; margin-top: 14px; }
.route { position: relative; list-style: none; margin: 0; padding: 0; display: flex; }
.route::before { content: ""; position: absolute; left: 8%; right: 8%; top: 18px; height: 4px; background: var(--yellow); }
.route li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; line-height: 1.3; }
.route .dot { width: 18px; height: 18px; margin: 11px 0; border-radius: 50%; background: var(--white); border: 4px solid var(--yellow); }
.route .star { width: 40px; height: 40px; border-radius: 50%; background: var(--yellow); color: var(--navy); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(245,192,19,.3); }
.route .hl { font-weight: 800; color: var(--yellow); }
.perf { position: relative; z-index: 2; width: 0; border-left: 4px dashed var(--white); }
.perf::before, .perf::after { content: ""; position: absolute; left: -28px; width: 52px; height: 52px; border-radius: 50%; background: var(--white); }
.perf::before { top: -26px; } .perf::after { bottom: -26px; }
.stub { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; padding: 46px 38px 40px; background: var(--yellow); color: var(--navy); }
.stub small { font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; display: block; }
.stub .date { font-weight: 800; font-size: 30px; line-height: 1.1; }
.stub .big { display: block; font-weight: 900; font-size: 120px; line-height: .85; letter-spacing: -.04em; color: var(--blue); }
.stub .who { font-size: 15px; font-weight: 600; line-height: 1.4; }
.stub .go { display: flex; justify-content: space-between; padding: 14px 18px; background: var(--blue); color: var(--white); font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.barcode { width: 100%; height: 46px; }

/* ---------- Countdown ---------- */
.countdown { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 34px; padding: clamp(70px, 8vw, 110px) var(--pad); color: var(--white); text-align: center; }
.countdown > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.countdown::before { content: ""; position: absolute; inset: 0; background: var(--blue); opacity: .74; z-index: 1; }
.countdown > *:not(img) { position: relative; z-index: 2; }
.countdown .eyebrow { align-self: center; color: var(--white); }
.cd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(10px, 2vw, 24px); width: min(100%, 1000px); }
.cd-grid div { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: clamp(18px, 2.4vw, 30px) 8px; background: var(--white); color: var(--blue); }
.cd-grid div:last-child { background: var(--yellow); color: var(--navy); }
.cd-grid strong { font-weight: 900; font-size: clamp(40px, 6vw, 88px); line-height: 1; font-variant-numeric: tabular-nums; }
.cd-grid span { font-weight: 600; font-size: clamp(11px, 1.2vw, 16px); text-transform: uppercase; letter-spacing: .12em; }
.countdown p { font-size: clamp(17px, 1.8vw, 22px); font-weight: 600; }

/* ---------- News ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.card { display: flex; flex-direction: column; background: var(--white); box-shadow: 0 16px 40px rgba(4,60,100,.12); }
.card-img { position: relative; }
.card-img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.card-img time { position: absolute; left: 0; bottom: 0; padding: 8px 24px; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 18px; }
.card-body { display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 34px; font-size: 15px; line-height: 1.75; }
.card h3 { font-weight: 600; font-size: 24px; line-height: 1.25; }
.card h3 span { border-bottom: 4px solid var(--yellow); }

/* ---------- Orgateam-Teaser / Gruppenbild ---------- */
.team { display: flex; flex-wrap: wrap; gap: 50px 90px; align-items: center; background: var(--blue2); color: var(--white); }
.team .head .eyebrow { color: var(--white); }
.team-text { flex: 1 1 360px; max-width: 460px; display: flex; flex-direction: column; gap: 18px; }
.photo-frame { flex: 1 1 420px; display: block; padding: 14px 14px 18px; background: var(--white); color: var(--blue); text-decoration: none; transform: rotate(1.5deg); box-shadow: 0 24px 48px rgba(4,30,55,.35); }
.photo-frame img, .photo-ph { width: 100%; height: 380px; object-fit: cover; }
.photo-ph { display: flex; align-items: center; justify-content: center; padding: 30px; background: var(--tint); text-align: center; font-weight: 600; line-height: 1.8; }
.photo-frame .caption { display: flex; justify-content: space-between; gap: 12px; padding-top: 14px; font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- FAQ + Kontakt ---------- */
.faq-contact { display: flex; flex-wrap: wrap; gap: 60px 80px; }
.faq { flex: 1 1 420px; display: flex; flex-direction: column; gap: 26px; }
.faq details { background: var(--tint); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 26px; font-size: 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 28px; font-weight: 400; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 26px 24px; font-size: 16px; line-height: 1.7; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.contact-card { flex: 0 1 560px; display: flex; flex-direction: column; gap: 18px; padding: clamp(28px, 4vw, 48px); background: var(--blue); color: var(--white); box-shadow: 18px 18px 0 var(--yellow); }
.contact-card .eyebrow { color: var(--white); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.field input, .field textarea { width: 100%; padding: 13px 14px; border: 2px solid transparent; background: var(--white); color: var(--navy); font: inherit; font-size: 16px; font-weight: 400; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--yellow); }
.field textarea { resize: vertical; min-height: 120px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.5; font-weight: 400; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--yellow); flex-shrink: 0; }
.check a { color: var(--yellow); }
.form-msg { padding: 12px 16px; background: var(--white); color: var(--navy); font-weight: 600; border-left: 6px solid var(--yellow); }

/* ---------- Community / Newsletter ---------- */
.community { display: flex; flex-wrap: wrap; align-items: center; gap: 40px 80px; padding: clamp(60px, 7vw, 100px) var(--pad); background: var(--yellow); color: var(--navy); }
.community-text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 14px; }
.community h2 { font-weight: 800; font-size: clamp(30px, 3.6vw, 50px); }
.community-actions { flex: 0 1 500px; display: flex; flex-direction: column; gap: 14px; }
.community-actions .btn-blue { width: 100%; }
.nl-form { display: flex; }
.nl-form input[type=email] { flex: 1; min-width: 0; height: 60px; padding: 0 18px; border: 2px solid var(--navy); border-right: none; background: var(--white); color: var(--navy); font: inherit; font-size: 16px; }
.nl-form .btn { min-height: 60px; }
.fine { font-size: 13px; line-height: 1.5; }

/* ---------- Fuß ---------- */
.site-footer { padding: 70px var(--pad) 40px; background: var(--blue); color: var(--white); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; }
.footer-logo { align-self: flex-start; width: 200px; height: auto; aspect-ratio: 520 / 274; object-fit: contain; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 30px 80px; }
.footer-nav div { display: flex; flex-direction: column; gap: 10px; }
.footer-nav strong { color: var(--yellow); text-transform: uppercase; letter-spacing: .1em; font-size: 14px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.copy { margin-top: 40px; padding-top: 22px; border-top: 1px solid #3A8CC4; font-size: 14px; }

/* ---------- Umzug & Feier ---------- */
.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.timeline::before { content: ""; position: absolute; left: 292px; top: 60px; bottom: 60px; width: 6px; background: linear-gradient(var(--blue) 0 72%, var(--navy) 72% 100%); }
.tl { display: flex; align-items: center; padding: 14px 0; }
.tl-time { width: 250px; flex-shrink: 0; text-align: right; font-weight: 800; font-size: clamp(22px, 2.6vw, 40px); line-height: 1.05; }
.tl-time small { display: block; margin-top: 6px; font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; }
.tl-node { width: 90px; flex-shrink: 0; display: flex; justify-content: center; position: relative; z-index: 1; }
.tl-node span { width: 28px; height: 28px; border-radius: 50%; background: var(--white); border: 6px solid var(--blue); }
.tl-card { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 26px 32px; background: var(--tint); }
.tl-card h3 { font-weight: 700; font-size: 24px; line-height: 1.2; }
.tl-card p { font-size: 16px; }
.tl-place { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.tl.highlight .tl-time { font-weight: 900; font-size: clamp(30px, 4vw, 56px); }
.tl.highlight .tl-node span { width: 60px; height: 60px; background: var(--yellow); display: flex; align-items: center; justify-content: center; color: var(--navy); }
.tl.highlight .tl-card { flex-direction: row; padding: 0; gap: 0; background: var(--blue); color: var(--white); box-shadow: 14px 14px 0 var(--yellow); }
.tl.highlight .tl-card img { width: 38%; min-height: 240px; object-fit: cover; }
.tl.highlight .tl-card div { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 30px 34px; }
.tl.highlight h3 { font-weight: 800; font-size: clamp(24px, 2.6vw, 34px); }
.tl.highlight .tl-place { color: var(--yellow); }
.tl.night .tl-time { color: var(--navy); }
.tl.night .tl-node span { border-color: var(--navy); background: var(--yellow); }
.tl.night .tl-card { background: var(--navy); color: var(--white); }
.tl.night .tl-place { color: var(--yellow); }
.tl.divider .tl-node span { width: 46px; height: 46px; border: none; background: var(--navy); color: var(--yellow); display: flex; align-items: center; justify-content: center; }
.tl.divider p { font-weight: 300; font-size: clamp(20px, 2vw, 28px); color: var(--navy); }
.tl.end .tl-time { color: var(--navy); }
.tl.end .tl-node span { border-color: var(--navy); }
.note { max-width: 420px; font-size: 16px; }

.party { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--blue2); color: var(--white); }
.party-img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.party-text { display: flex; flex-direction: column; gap: 20px; padding: clamp(60px, 7vw, 100px) var(--pad) clamp(60px, 7vw, 100px) clamp(28px, 5vw, 80px); }
.party-text .eyebrow { color: var(--white); }
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.features div { padding: 16px 20px; background: var(--blue); font-size: 15px; line-height: 1.5; }
.features strong { display: block; color: var(--yellow); }
.thumbs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.thumbs img { width: 100%; height: 130px; object-fit: cover; }

.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; align-items: stretch; }
.pkg { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 40px 34px; border: 3px solid var(--blue); }
.pkg.feat { background: var(--yellow); color: var(--navy); border-color: var(--yellow); box-shadow: 0 24px 50px rgba(4,60,100,.22); }
.pkg .badge { position: absolute; top: -18px; right: 26px; padding: 8px 16px; background: var(--blue); color: var(--white); font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; transform: rotate(3deg); }
.pkg h3 { font-weight: 900; font-size: 34px; text-transform: uppercase; }
.pkg .tagline { font-size: 18px; font-style: italic; font-weight: 600; line-height: 1.35; }
.pkg.feat .tagline { color: var(--blue); }
.pkg .price { font-weight: 800; font-size: 30px; }
.pkg .desc { font-size: 16px; line-height: 1.65; white-space: pre-line; }
.pkg .left { font-size: 14px; font-weight: 700; }
.pkg .btn { margin-top: auto; }
.pkg.soldout { opacity: .6; }

.rules { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rules div { padding: 24px; background: var(--white); font-size: 15px; line-height: 1.55; }
.rules strong { display: block; margin-bottom: 6px; font-size: 17px; }
.rules a { background: var(--blue); color: var(--white); text-decoration: none; padding: 24px; font-size: 15px; line-height: 1.55; }
.rules a strong { color: var(--yellow); }

/* ---------- Frühstück ---------- */
.breakfast { background: var(--tint); }
.breakfast-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 30px 50px; padding: clamp(30px, 4vw, 50px); background: var(--white); border-left: 10px solid var(--yellow); }
.breakfast-icon { width: 110px; height: 110px; flex-shrink: 0; border-radius: 50%; background: var(--yellow); color: var(--navy); display: flex; align-items: center; justify-content: center; }
.breakfast-text { flex: 1 1 400px; display: flex; flex-direction: column; gap: 18px; font-size: 18px; }

/* ---------- Über uns ---------- */
.about-hero { position: relative; overflow: hidden; background: var(--blue); color: var(--white); padding: clamp(70px, 8vw, 120px) var(--pad) clamp(180px, 18vw, 250px); }
.about-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.about-hero::before { content: ""; position: absolute; inset: 0; background: var(--blue); opacity: .6; z-index: 1; }
.about-hero > div { position: relative; z-index: 2; }
.about-hero .eyebrow { color: var(--white); }
.group { position: relative; z-index: 3; margin-top: clamp(-170px, -14vw, -120px); padding: 0 var(--pad); }
.group figure { margin: 0; padding: 18px 18px 22px; background: var(--white); box-shadow: 0 30px 60px rgba(4,40,70,.22); }
.group img, .group .photo-ph { width: 100%; height: clamp(260px, 43vw, 620px); object-fit: cover; }
.group figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 30px; padding-top: 18px; font-size: 15px; }
.group figcaption strong { text-transform: uppercase; letter-spacing: .06em; }
.about { display: flex; flex-wrap: wrap; gap: 40px 90px; }
.about .head { flex: 0 1 430px; }
.about-body { flex: 1 1 480px; display: flex; flex-direction: column; gap: 22px; font-size: 18px; line-height: 1.75; }
.help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 30px; margin-top: 14px; padding: 34px 38px; background: var(--yellow); color: var(--navy); }
.help div { flex: 1 1 300px; display: flex; flex-direction: column; gap: 6px; font-size: 16px; line-height: 1.6; }
.help strong { font-size: 24px; font-weight: 800; }
.wa-box { display: flex; flex-direction: column; gap: 16px; margin-top: 40px; padding: 38px; background: var(--white); border-left: 8px solid var(--yellow); }
.wa-box strong { font-size: 26px; font-weight: 800; }
.wa-box .btn { align-self: flex-start; }

/* ---------- Textseiten ---------- */
.legal { max-width: calc(860px + 2 * var(--pad)); padding: clamp(60px, 7vw, 100px) var(--pad); color: var(--navy); }
.legal h1 { font-weight: 800; font-size: clamp(34px, 4vw, 52px); color: var(--blue); margin: 14px 0 30px; }
.legal h2 { font-size: 21px; font-weight: 700; color: var(--blue); margin: 34px 0 10px; }
.legal p, .legal ul { margin: 0 0 12px; }
.legal a { color: var(--blue); }
.legal .todo { background: #FFF6D6; padding: 2px 6px; }
.msg-page { max-width: 760px; margin: 0 auto; padding: 100px var(--pad); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 20px; }
.msg-page h1 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr; }
  .rules { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 162px; }
  .tl-time { width: 120px; }
  .tl-node { width: 90px; }
}
@media (max-width: 900px) {
  .party { grid-template-columns: 1fr; }
  .party-img { min-height: 300px; height: 300px; }
  .party-text { padding: 56px 20px; }
  .site-header { min-height: 88px; padding: 0 20px 0 170px; }
  .logo { left: 22px; top: 16px; }
  .logo img { width: 136px; }
  .menu-btn { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-left: auto; border: 2px solid var(--blue); background: var(--white); cursor: pointer; }
  .menu-btn span:first-child, .menu-btn span:first-child::before, .menu-btn span:first-child::after { display: block; width: 22px; height: 3px; background: var(--blue); position: relative; content: ""; }
  .menu-btn span:first-child::before { position: absolute; top: -7px; }
  .menu-btn span:first-child::after { position: absolute; top: 7px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 20px; background: var(--white); border-bottom: 6px solid var(--blue); box-shadow: 0 20px 30px rgba(4,40,70,.15); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .cta { margin-top: 14px; text-align: center; }
  .ticket { flex-direction: column; min-height: 0; }
  .ticket-main { min-height: 420px; }
  .perf { width: auto; height: 0; border-left: none; border-top: 4px dashed var(--white); }
  .perf::before, .perf::after { top: -18px; width: 34px; height: 34px; }
  .perf::before { left: -18px; } .perf::after { left: auto; right: -18px; bottom: auto; }
  .stub { width: auto; flex-direction: row; flex-wrap: wrap; align-items: center; padding: 24px; }
  .stub .big { font-size: 64px; }
  .barcode { display: none; }
  .route { flex-wrap: wrap; row-gap: 14px; }
  .route::before { display: none; }
  .route li { flex: 0 0 25%; font-size: 11px; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .cards, .rules, .features, .form-grid { grid-template-columns: 1fr; }
  .cd-grid { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 13px; top: 30px; bottom: 30px; }
  .tl { flex-wrap: wrap; align-items: flex-start; padding-left: 48px; position: relative; }
  .tl-time { width: 100%; text-align: left; font-size: 22px; margin-bottom: 8px; }
  .tl.highlight .tl-time { font-size: 30px; }
  .tl-node { position: absolute; left: 0; top: 16px; width: 32px; }
  .tl.highlight .tl-node span { width: 40px; height: 40px; }
  .tl.highlight .tl-card { flex-direction: column; }
  .tl.highlight .tl-card img { width: 100%; min-height: 180px; }
  .tl-card { padding: 20px 22px; }
  .thumbs img { height: 90px; }
  .photo-frame img, .photo-ph { height: 240px; }
  .band { gap: 16px; }

  /* Buttons und Formulare auf dem Handy kompakter */
  .btn { min-height: 50px; padding: 0 20px; font-size: 14px; letter-spacing: .03em; }
  .hero-actions .btn { flex: 1 1 auto; }
  .community-text, .community-actions, .faq, .contact-card, .team-text, .photo-frame, .about .head, .about-body, .party-text, .party-img, .breakfast-text { flex: 1 1 100%; max-width: 100%; min-width: 0; }
  .community-actions { gap: 12px; }
  .community-actions .btn-blue { width: auto; align-self: flex-start; }
  .nl-form { flex-direction: column; gap: 8px; }
  .nl-form input[type=email] { height: 52px; border-right: 2px solid var(--navy); }
  .nl-form .btn { min-height: 50px; align-self: flex-start; }
  .contact-card { box-shadow: 10px 10px 0 var(--yellow); }
  .breakfast-icon { width: 76px; height: 76px; }
  .help .btn, .wa-box .btn { align-self: flex-start; }
}

/* ---------- Startseite: Titelbild als Bühne (Text liegt auf dem Foto) ---------- */
.hero-stage { position: relative; overflow: hidden; min-height: clamp(620px, 92vh, 940px); display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy); isolation: isolate; }
.hs-media { position: absolute; inset: 0; z-index: -2; }
.hs-media .hero-img { width: 100%; height: 100%; object-fit: cover; animation: hs-zoom 18s ease-out both; }
/* Lesbarkeit: dunkler von unten und links, oben bleibt das Foto frei */
.hs-media::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(0deg, rgba(4,111,174,.95) 0%, rgba(4,90,145,.6) 16%, rgba(8,58,94,.18) 36%, rgba(8,58,94,0) 52%),
    radial-gradient(ellipse 60% 70% at 18% 78%, rgba(8,58,94,.55) 0%, rgba(8,58,94,0) 70%); }
.hs-content { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 40px 60px; padding: 180px calc(var(--pad) + 30px) clamp(70px, 8vw, 110px) var(--pad); }
.hs-main { flex: 1 1 520px; max-width: 760px; display: flex; flex-direction: column; gap: 22px; animation: hs-up .9s .15s cubic-bezier(.2,.7,.2,1) both; }
.hs-main .eyebrow { color: var(--white); text-shadow: 0 2px 14px rgba(4,30,50,.55), 0 1px 3px rgba(4,30,50,.4); }
.hero-stage h1 { margin: 0; font-weight: 900; font-size: clamp(46px, 6vw, 100px); line-height: .92; letter-spacing: -.03em; text-transform: uppercase; text-shadow: 0 4px 24px rgba(4,30,50,.45), 0 1px 3px rgba(4,30,50,.3); }
.hero-stage h1 em { font-style: normal; color: var(--yellow); }
.hero-stage h1 .ln { display: block; white-space: nowrap; }
.hs-main p strong { white-space: nowrap; }
.hs-main p { margin: 0; max-width: 520px; font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; text-shadow: 0 2px 12px rgba(4,30,50,.45); }
.hs-main p strong { color: var(--yellow); }

/* Karte „Der große Tag“ */
.hs-card { position: relative; flex: 0 1 340px; display: flex; flex-direction: column; gap: 16px; padding: 26px 28px 24px; color: var(--white); text-decoration: none;
  background: rgba(8,58,94,.5); border: 1px solid rgba(255,255,255,.28); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 24px 50px rgba(4,30,50,.35); animation: hs-up .9s .4s cubic-bezier(.2,.7,.2,1) both; transition: transform .25s, background .25s; }
.hs-card::before { content: ""; position: absolute; left: 0; top: 0; width: 64px; height: 5px; background: var(--yellow); }
.hs-card:hover { transform: translateY(-4px); background: rgba(8,58,94,.58); }
.hs-card-k { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); }
.hs-card-date { display: flex; align-items: center; gap: 14px; }
.hs-card-date b { font-size: 68px; font-weight: 900; line-height: .85; letter-spacing: -.04em; }
.hs-card-date span { display: flex; flex-direction: column; font-size: 20px; font-weight: 800; line-height: 1.15; text-transform: uppercase; }
.hs-card-date small { font-size: 13px; font-weight: 500; letter-spacing: .1em; opacity: .85; }
.hs-card ul { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid rgba(255,255,255,.22); display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.hs-card li { display: flex; gap: 10px; align-items: baseline; }
.hs-card li::before { content: ""; flex: 0 0 8px; height: 8px; border-radius: 50%; background: var(--yellow); transform: translateY(-1px); }
.hs-card-days { display: flex; align-items: center; gap: 8px; margin-top: 2px; padding: 12px 14px; background: var(--yellow); color: var(--navy); font-weight: 700; font-size: 15px; }
.hs-card-days b { font-size: 24px; font-weight: 900; }
.hs-card-days i { margin-left: auto; font-style: normal; font-weight: 900; transition: transform .25s; }
.hs-card:hover .hs-card-days i { transform: translateX(4px); }

/* Drehender Stempel im Himmel */
.hs-badge { position: absolute; z-index: 1; top: -78px; right: -54px; width: clamp(130px, 11vw, 160px); aspect-ratio: 1; display: grid; place-items: center; pointer-events: none; }
.hs-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: hs-spin 28s linear infinite; overflow: visible; }
.hs-badge text { fill: var(--white); font-size: 15.5px; font-weight: 700; letter-spacing: .12em; }
.hs-badge-core { width: 58%; aspect-ratio: 1; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--yellow); color: var(--navy); box-shadow: 0 12px 30px rgba(4,30,50,.3); transform: rotate(-8deg); }
.hs-badge-core b { font-size: clamp(34px, 3.6vw, 52px); font-weight: 900; line-height: .9; letter-spacing: -.03em; }
.hs-badge-core small { font-size: clamp(10px, .9vw, 13px); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }

/* Scroll-Hinweis */
.hs-scroll { position: absolute; left: 50%; bottom: 26px; z-index: 1; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; }
.hs-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--white); animation: hs-wheel 1.8s ease-in-out infinite; }

@keyframes hs-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes hs-up { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes hs-spin { to { transform: rotate(360deg); } }
@keyframes hs-wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }
@media (prefers-reduced-motion: reduce) {
  .hs-media .hero-img, .hs-main, .hs-card, .hs-badge, .hs-badge svg, .hs-scroll span { animation: none; }
}
@media (max-width: 1100px) { .hs-scroll { display: none; } }
@media (max-width: 700px) {
  .hero-stage { min-height: 0; }
  .hs-media { position: relative; inset: auto; height: 62svh; min-height: 420px; max-height: 620px; }
  .hs-media::after { background: linear-gradient(0deg, rgba(4,111,174,1) 0%, rgba(4,111,174,.75) 22%, rgba(8,58,94,.2) 55%, rgba(8,58,94,0) 75%); }
  .hs-content { margin-top: -190px; padding: 0 var(--pad) 64px; gap: 26px; background: linear-gradient(180deg, transparent 0, transparent 190px, var(--blue) 190px); }
  .hs-main { flex-basis: 100%; gap: 18px; }
  .hs-card { flex-basis: 100%; padding: 22px; }
  .hs-card ul { display: none; }
  .hs-card-date b { font-size: 56px; }
  /* Auf dem Handy sitzt der Stempel im Himmel des Fotos */
  .hs-card { position: static; animation: none; -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(var(--yellow), var(--yellow)) 0 0 / 64px 5px no-repeat, rgba(8,58,94,.5); }
  .hs-card::before { display: none; }
  .hs-badge { top: 150px; right: 18px; width: 116px; animation: hs-up .9s .6s both; }
  .hs-badge text { font-size: 17px; }
}

/* Mini-Ablauf in der Karte (Feier & Umzug) */
.hs-route { list-style: none; margin: 0; padding: 4px 0 0 4px; display: flex; flex-direction: column; font-size: 15px; }
.hs-route li { position: relative; padding: 0 0 12px 24px; }
.hs-route li::before { content: ""; position: absolute; left: 0; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--white); box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.hs-route li::after { content: ""; position: absolute; left: 4px; top: 19px; bottom: -1px; width: 2px; background: rgba(255,255,255,.35); }
.hs-route li:last-child { padding-bottom: 0; }
.hs-route li:last-child::after { display: none; }
.hs-route li.star { font-weight: 800; color: var(--yellow); font-size: 17px; }
.hs-route li.star::before { left: -3px; top: 4px; width: 16px; height: 16px; background: var(--yellow); box-shadow: 0 0 0 4px rgba(245,192,19,.3); }

/* Kompakte Bühne für Unterseiten */
.hero-stage.hs-compact { min-height: clamp(520px, 72vh, 760px); }
.hs-about .hs-content { padding-bottom: clamp(190px, 17vw, 260px); }
.hs-about h1 { font-size: clamp(40px, 6vw, 92px); }
.hs-about .hs-main { max-width: 900px; }

/* Kopf für Text-Seiten (Impressum, Datenschutz) */
.page-head { position: relative; overflow: hidden; padding: clamp(70px, 8vw, 110px) var(--pad) clamp(60px, 7vw, 90px); background: var(--blue); color: var(--white); isolation: isolate; }
.page-head::before { content: "87"; position: absolute; right: calc(var(--pad) - 40px); bottom: -.24em; z-index: -1; font-size: clamp(200px, 30vw, 420px); font-weight: 900; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.18); }
.page-head::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: 0; height: 14px; background: var(--yellow); transform: rotate(-1.2deg); transform-origin: left bottom; }
.page-head .eyebrow { color: var(--white); }
.page-head h1 { margin: 18px 0 0; font-weight: 900; font-size: clamp(44px, 6vw, 84px); line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.page-head p { margin: 18px 0 0; max-width: 620px; font-size: 18px; }

/* Hinweisseiten (z. B. Newsletter bestätigt) im gleichen Stil */
.msg-page { position: relative; overflow: hidden; isolation: isolate; max-width: none; min-height: 62vh; justify-content: center; padding: 110px var(--pad) 120px; background: var(--blue); color: var(--white); }
.msg-page::before { content: "87"; position: absolute; left: 50%; top: 50%; z-index: -1; transform: translate(-50%, -46%); font-size: clamp(260px, 40vw, 560px); font-weight: 900; line-height: 1; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,.14); }
.msg-page .eyebrow { align-self: center; color: var(--white); }
.msg-page h1 { font-size: clamp(40px, 6vw, 78px); font-weight: 900; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.msg-page p { max-width: 560px; font-size: 18px; }

.page-head + .legal { padding-top: clamp(30px, 4vw, 50px); }
@media (max-width: 700px) {
  .hs-about h1 { font-size: clamp(30px, 9.2vw, 40px); }
  .hs-about h1 .ln { white-space: normal; }
  .hs-about .hs-content { padding-bottom: 150px; }
}

/* ---------- News ---------- */
.btn-outline-blue { border: 2px solid var(--blue); background: transparent; color: var(--blue); }
.btn-outline-blue:hover { background: var(--blue); color: var(--white); }
.card-link { color: inherit; text-decoration: none; transition: transform .25s, box-shadow .25s; }
.card-link:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(4,60,100,.18); }
.card-link .card-img { overflow: hidden; }
.card-link .card-img img { transition: transform .6s; }
.card-link:hover .card-img img { transform: scale(1.04); }
.card-pin { position: absolute; top: 14px; right: 14px; padding: 5px 12px; background: var(--navy); color: var(--yellow); font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.card-more { margin-top: auto; font-weight: 800; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.card-body { flex: 1; }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 50px; }
.pager a { display: grid; place-items: center; width: 46px; height: 46px; border: 2px solid var(--blue); color: var(--blue); font-weight: 800; text-decoration: none; }
.pager a[aria-current] { background: var(--blue); color: var(--white); }
.empty-note { font-size: 18px; color: var(--muted); }
.preview-bar { position: sticky; top: 0; z-index: 30; padding: 10px var(--pad); background: var(--yellow); color: var(--navy); font-weight: 700; text-align: center; }

.hs-article { min-height: clamp(440px, 62vh, 640px); }
.hs-article h1 { font-size: clamp(36px, 5vw, 76px); line-height: 1; }
.hs-article .hs-main { max-width: 980px; }
.article { max-width: calc(760px + 2 * var(--pad)); margin: 0 auto; padding: clamp(50px, 6vw, 80px) var(--pad) 40px; color: var(--navy); }
.article .lead { margin: 0 0 30px; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.6; font-weight: 500; color: var(--blue); }
.prose { font-size: 18px; line-height: 1.8; }
.prose p, .prose ul { margin: 0 0 22px; }
.prose h2 { margin: 42px 0 14px; font-size: clamp(24px, 2.4vw, 30px); font-weight: 800; color: var(--blue); line-height: 1.2; }
.prose ul { padding-left: 0; list-style: none; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.prose li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); }
.prose a { color: var(--blue); font-weight: 600; }
.prose strong { font-weight: 700; }
.article-gallery { margin: 50px calc(-1 * min(var(--pad), 140px)) 0; }
.ag-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 30px; margin-bottom: 24px; }
.article-share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 50px; padding-top: 26px; border-top: 2px solid var(--tint); font-weight: 700; }
.share { padding: 10px 16px; border: 2px solid var(--blue); background: transparent; color: var(--blue); font: inherit; font-size: 14px; font-weight: 700; text-decoration: none; cursor: pointer; }
.share.wa { border-color: #1C9C4B; background: #1C9C4B; color: #fff; }
.article-nav { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; max-width: calc(1000px + 2 * var(--pad)); margin: 0 auto; padding: 30px var(--pad) clamp(70px, 8vw, 110px); }
.article-nav a { color: var(--navy); text-decoration: none; }
.an-prev, .an-next { display: flex; flex-direction: column; gap: 4px; padding: 18px 22px; background: var(--tint); transition: background .2s; }
.an-prev:hover, .an-next:hover { background: #DCEAF5; }
.an-next { text-align: right; }
.an-prev small, .an-next small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.an-prev small::before { content: "← "; }
.an-next small::after { content: " →"; }
.an-all { font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--blue) !important; border-bottom: 3px solid var(--yellow); }

/* ---------- Galerien ---------- */
.gal-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 28px; }
.gal-card { position: relative; display: block; overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy); color: var(--white); text-decoration: none; box-shadow: 0 16px 40px rgba(4,60,100,.14); }
.gal-card-img, .gal-card-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gal-card-img img { transition: transform .7s; }
.gal-card:hover .gal-card-img img { transform: scale(1.06); }
.gal-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8,58,94,.92) 0%, rgba(8,58,94,.35) 45%, rgba(8,58,94,0) 70%); }
.gal-card-body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: flex; flex-direction: column; gap: 4px; padding: 22px 24px; }
.gal-card-body small { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); }
.gal-card-body strong { font-size: 24px; font-weight: 800; line-height: 1.15; }
.gal-count { font-size: 14px; opacity: .85; }
.gal-section { padding-top: clamp(40px, 5vw, 70px); }

/* Bilder-Raster (gleichmäßige Zeilen, Seitenverhältnis bleibt erhalten) */
.gal-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.gal-grid::after { content: ""; flex-grow: 999999; }
.gal-item { position: relative; display: block; flex: var(--r, 1.5) 1 calc(var(--r, 1.5) * 230px); aspect-ratio: var(--r, 1.5); overflow: hidden; background: var(--tint); cursor: zoom-in; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.gal-item:hover img { transform: scale(1.04); filter: brightness(1.05); }
.gal-item:focus-visible { outline: 4px solid var(--yellow); outline-offset: 2px; }

/* Startseite: Mosaik der neuesten Galerie */
.mosaic { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, clamp(150px, 17vw, 250px)); gap: 10px; text-decoration: none; color: var(--white); }
.mosaic > span:not(.mosaic-label) { overflow: hidden; background: var(--navy); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.mosaic:hover img { transform: scale(1.04); }
.mosaic .m0 { grid-row: span 2; }
.mosaic.n1 { grid-template-columns: 1fr; } .mosaic.n2 { grid-template-columns: 2fr 1fr; } .mosaic.n2 .m1 { grid-row: span 2; }
.mosaic.n3 { grid-template-columns: 2fr 1fr; } .mosaic.n4 .m3 { grid-column: span 2; }
.mosaic-label { position: absolute; left: 0; bottom: 0; display: flex; flex-direction: column; gap: 4px; max-width: min(90%, 460px); padding: 22px 26px; background: var(--navy); box-shadow: 10px 10px 0 var(--yellow); transform: translate(-14px, 14px); }
.mosaic-label small { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--yellow); }
.mosaic-label strong { font-size: clamp(22px, 2.4vw, 30px); font-weight: 800; line-height: 1.15; }
.mosaic-label em { font-style: normal; font-weight: 700; font-size: 15px; }

/* Vollbild-Ansicht */
.lb { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; background: rgba(4,22,38,.96); color: var(--white); }
.lb.open { display: flex; animation: lb-in .2s ease-out; }
.lb-lock, .lb-lock body { overflow: hidden; }
.lb-fig { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-width: calc(100vw - 160px); }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100svh - 150px); object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.5); transition: opacity .2s; }
.lb.loading .lb-fig img { opacity: .35; }
.lb-fig figcaption { max-width: 760px; text-align: center; font-size: 16px; line-height: 1.5; }
.lb-top { position: absolute; top: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; padding: 14px 18px 14px 24px; }
.lb-count { font-weight: 700; letter-spacing: .08em; }
.lb-close, .lb-nav { border: 0; background: rgba(255,255,255,.1); color: var(--white); cursor: pointer; font: inherit; line-height: 1; transition: background .2s; }
.lb-close { width: 48px; height: 48px; font-size: 34px; }
.lb-nav { position: absolute; top: 50%; width: 56px; height: 76px; margin-top: -38px; font-size: 44px; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-close:hover, .lb-nav:hover { background: var(--yellow); color: var(--navy); }
.lb.single .lb-nav { display: none; }
@keyframes lb-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 700px) {
  .gal-item { flex-basis: calc(var(--r, 1.5) * 130px); }
  .gal-grid { gap: 6px; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 120px 120px; }
  .mosaic .m0 { grid-column: span 2; grid-row: auto; }
  .mosaic .m3, .mosaic .m4 { display: none; }
  .mosaic.n2 .m1 { grid-row: auto; grid-column: span 2; }
  .mosaic-label { position: relative; grid-column: 1 / -1; transform: none; max-width: none; box-shadow: none; border-bottom: 6px solid var(--yellow); }
  .mosaic { grid-template-rows: 220px 120px auto; }
  .lb-fig { max-width: 100vw; }
  .lb-fig img { max-height: calc(100svh - 170px); }
  .lb-fig figcaption { padding: 0 16px; font-size: 14px; }
  .lb-nav { top: auto; bottom: 14px; margin: 0; width: 64px; height: 56px; }
  .lb-prev { left: calc(50% - 72px); } .lb-next { right: calc(50% - 72px); }
  .article-nav { grid-template-columns: 1fr; }
  .an-next { text-align: left; }
  .an-all { justify-self: center; order: 3; }
  .article-gallery { margin-left: 0; margin-right: 0; }
  .prose { font-size: 17px; }
}

/* Menü: ab Tablet-Breite als aufklappbares Menü (sonst bricht es mit 6 Punkten um) */
@media (max-width: 1240px) {
  .site-header { padding-right: max(20px, var(--pad)); }
  .menu-btn { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-left: auto; border: 2px solid var(--blue); background: var(--white); cursor: pointer; }
  .menu-btn span:first-child, .menu-btn span:first-child::before, .menu-btn span:first-child::after { display: block; width: 22px; height: 3px; background: var(--blue); position: relative; content: ""; }
  .menu-btn span:first-child::before { position: absolute; top: -7px; }
  .menu-btn span:first-child::after { position: absolute; top: 7px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 20px max(20px, var(--pad)); background: var(--white); border-bottom: 6px solid var(--blue); box-shadow: 0 20px 30px rgba(4,40,70,.15); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .cta { margin-top: 14px; text-align: center; }
}
@media (min-width: 1241px) { .nav { gap: clamp(18px, 1.9vw, 30px); font-size: 15px; } .nav a { white-space: nowrap; } }

/* Uhrzeiten im Ablauf */
.route li small { margin-top: -6px; font-size: 13px; font-weight: 800; letter-spacing: .02em; text-transform: none; color: var(--yellow); }
.route .hl small { color: var(--white); }
.hs-route li { display: flex; gap: 12px; align-items: baseline; }
.hs-route time { flex: 0 0 44px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--yellow); }
.hs-route li.star time { color: var(--yellow); }
.hs-card li time { margin-left: auto; padding-left: 12px; font-weight: 800; color: var(--yellow); white-space: nowrap; }
/* Ablauf-Karte: Uhrzeit links, Text daneben */
.hs-card .hs-route li time { margin-left: 0; padding-left: 0; flex: 0 0 46px; text-align: left; }
.hs-route li { padding-bottom: 10px; }
/* Ticket: 8 Stationen – kompaktere Beschriftung */
.route li { min-width: 0; font-size: 11.5px; letter-spacing: 0; text-transform: none; font-weight: 700; }
@media (max-width: 900px) { .route li { flex: 0 0 33.333%; font-size: 12px; } }

/* ---------- WhatsApp-Button (Markenfarbe) ---------- */
.btn-wa { background: #25D366; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.18); }
.btn-wa:hover { background: #1EBE5A; }
.btn-wa:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
.btn-wa .wa-icon { flex-shrink: 0; filter: drop-shadow(0 1px 1px rgba(0,0,0,.15)); }
.btn-wa span { white-space: nowrap; }
.btn.share-wa { min-height: 44px; padding: 0 16px; font-size: 14px; letter-spacing: .02em; text-transform: none; }
.btn.share-wa .wa-icon { width: 18px; height: 18px; }

/* ---------- Formulare ---------- */
/* Checkboxen im eigenen Stil */
.check input[type=checkbox], .agree input[type=checkbox] { -webkit-appearance: none; appearance: none; display: grid; place-content: center; width: 22px; height: 22px; margin: 0; flex-shrink: 0; border: 2px solid var(--white); background: transparent; cursor: pointer; transition: background .15s, border-color .15s; }
.check input[type=checkbox]::before { content: ""; width: 12px; height: 12px; transform: scale(0); transition: transform .12s; background: var(--navy); clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); }
.check input[type=checkbox]:checked { background: var(--yellow); border-color: var(--yellow); }
.check input[type=checkbox]:checked::before { transform: scale(1); }
.check input[type=checkbox]:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.check { cursor: pointer; }
/* Felder: Fehler deutlich zeigen, sobald der Nutzer etwas eingegeben bzw. abgeschickt hat */
.field input:user-invalid, .field textarea:user-invalid { border-color: #FF8A7A; background: #FFF4F2; }
.check input[type=checkbox]:user-invalid { border-color: #FF8A7A; }
.field input::placeholder, .field textarea::placeholder { color: #8BA3B5; }

/* Newsletter auf dem Handy: Feld und Button in voller Breite */
@media (max-width: 700px) {
  .nl-form input[type=email] { flex: none; width: 100%; height: 54px; }
  .nl-form .btn { align-self: stretch; width: 100%; }
  .wa-box .btn-wa, .community-actions .btn-wa { align-self: stretch; }
  .btn-wa span { white-space: normal; }
}

/* ---------- Galerie-Raster (ersetzt die Zeilen nach Seitenverhältnis) ---------- */
.gal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 16vw, 250px); grid-auto-flow: dense; gap: 10px; }
.gal-grid::after { content: none; }
.gal-item { flex: none; aspect-ratio: auto; width: auto; height: 100%; min-height: 0; }
.gal-item.big { grid-column: span 2; grid-row: span 2; }
.gal-item.tall { grid-row: span 2; }
.gal-item img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; background: linear-gradient(0deg, rgba(8,58,94,.85), rgba(8,58,94,0)); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; pointer-events: none; }
.gal-item:hover .gal-cap, .gal-item:focus-visible .gal-cap { opacity: 1; transform: none; }
@media (max-width: 1000px) { .gal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 26vw; } }
@media (max-width: 700px) {
  .gal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: calc((100vw - 2 * var(--pad) - 8px) / 2); gap: 8px; }
  .gal-item { flex-basis: auto; }
  .gal-cap { display: none; }
}

/* Handy: Unterseiten-Köpfe ohne Desktop-Mindesthöhe (sonst leerer Balken über dem Foto) */
@media (max-width: 700px) {
  .hero-stage.hs-compact, .hero-stage.hs-article { min-height: 0; justify-content: flex-start; }
  .hs-article .hs-media { height: 52svh; min-height: 340px; max-height: 520px; }
}

/* ===== UX-Feinschliff (UI/UX-Prüfung November 2026) ===== */
/* 1 Kontrast: WhatsApp-Grün mit dunkelblauer Schrift (5,96 : 1) */
.btn-wa { color: var(--navy); text-shadow: none; }
.btn-wa:hover { color: var(--navy); }
.btn-wa .wa-icon { filter: none; }
/* Kleine Schrift auf Blau: weiß statt gelb, Gelb bleibt als Akzent */
.footer-nav strong { color: var(--white); align-self: flex-start; padding-bottom: 6px; border-bottom: 3px solid var(--yellow); }
.check a { color: var(--white); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.features strong { color: var(--white); padding-left: 12px; border-left: 4px solid var(--yellow); margin-left: -16px; }
/* Mindestens 12–13 px */
.route li, .route li small { font-size: 13px; }
.cd-grid span { font-size: clamp(13px, 1.2vw, 16px); }

/* 2 Formulare: aktives Feld klar erkennbar, Checkbox 24 px */
.field input:focus, .field textarea:focus { outline: 3px solid var(--yellow); outline-offset: 3px; border-color: var(--navy); }
.check input[type=checkbox] { width: 24px; height: 24px; }
.field input.touched:invalid, .field textarea.touched:invalid { border-color: #FF8A7A; background: #FFF4F2; }
.field-error { display: block; margin-top: 6px; font-size: 13px; font-weight: 600; color: #FFD9D3; }

/* 4 Zeilenlänge Rechtstexte */
.legal p, .legal ul { max-width: 68ch; }

/* Fotos als <picture> (WebP): Rahmen ohne eigene Box, damit alle Bildregeln weiter greifen */
picture { display: contents; }
.countdown > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 70%; }
.about-hero > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
