:root{
  --navy:#021d2d;
  --navy2:#031725;
  --cream:#fff4cf;
  --orange:#ff6b3f;
  --orange2:#ff3f18;
  --teal:#4c8d89;
  --muted:#b9c8c7;
  --line:rgba(255,244,207,.22);
  --panel:rgba(2,29,45,.86);
  --panel2:rgba(3,23,37,.92);
  --shadow:0 18px 60px rgba(0,0,0,.28);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;background:var(--navy2)}
body{
  margin:0;
  font-family:Bahnschrift,"DIN Alternate","Arial Narrow",Arial,sans-serif;
  color:var(--cream);
  background:
    linear-gradient(rgba(1,20,33,.78),rgba(1,20,33,.92)),
    url('assets/ood-2027-hintergrund-ohne-logo.jpg') center top/cover fixed no-repeat;
  letter-spacing:.012em;
  min-height:100vh;
}

body,button,input,textarea,select,option,label{font-family:Bahnschrift,"DIN Alternate","Arial Narrow",Arial,sans-serif;}
strong,b{font-weight:500;}

a{color:inherit}
img{max-width:100%;display:block}
button,input,textarea,select{font:inherit}
.wrapper{width:min(1180px,calc(100% - 36px));margin:auto}
.site-header{
  position:sticky;top:0;z-index:50;
  backdrop-filter:blur(14px);
  background:rgba(2,20,33,.86);
  border-bottom:1px solid var(--line);
}
.navbar{height:82px;display:flex;align-items:center;gap:24px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;min-width:220px}
.brand img{width:168px;height:66px;object-fit:contain;object-position:left center}
.navlinks{display:flex;align-items:center;gap:26px;margin-left:auto}
.navlinks a{text-decoration:none;font-weight:400;font-size:.88rem;position:relative;text-transform:uppercase;letter-spacing:.055em}
.navlinks a::after{content:"";position:absolute;left:0;right:100%;bottom:-8px;height:3px;background:var(--orange);transition:.22s}
.navlinks a:hover::after,.navlinks a.active::after{right:0}
.social-top{display:flex;gap:10px;margin-left:6px}
.social-icon{width:38px;height:38px;border:1px solid var(--line);display:grid;place-items:center;border-radius:50%;transition:.2s;background:rgba(255,255,255,.03)}
.social-icon:hover{transform:translateY(-2px);border-color:var(--orange);background:rgba(255,107,63,.12)}
.social-icon svg{width:19px;height:19px;fill:currentColor}
.ticket-top{margin-left:6px;text-decoration:none;background:linear-gradient(135deg,var(--orange),var(--orange2));padding:13px 17px;border-radius:8px;font-weight:400;text-transform:uppercase;letter-spacing:.055em;box-shadow:0 10px 28px rgba(255,75,28,.2)}
.menu-btn{display:none;margin-left:auto;border:1px solid var(--line);background:transparent;color:var(--cream);padding:9px 11px;border-radius:7px}
.hero{min-height:710px;display:grid;place-items:center;text-align:center;position:relative;overflow:hidden}
.hero::before{content:"";position:absolute;inset:0;background:radial-gradient(circle at center,rgba(0,0,0,.02) 0,rgba(2,18,31,.12) 42%,rgba(1,14,25,.72) 100%);pointer-events:none}
.hero-inner{position:relative;padding:78px 0 68px;display:flex;flex-direction:column;align-items:center}
.hero-logo{width:min(800px,80vw);filter:drop-shadow(0 20px 35px rgba(0,0,0,.25));margin-bottom:14px}
.hero-date{font-size:clamp(1.5rem,4vw,3rem);margin:4px 0 14px;font-weight:400;letter-spacing:.025em}
.hero-kicker{font-size:clamp(1rem,1.8vw,1.3rem);color:var(--orange);font-weight:400;margin-bottom:10px}
.hero-copy{max-width:760px;font-size:clamp(.98rem,1.6vw,1.18rem);line-height:1.62;margin:0 auto 28px;color:#f5eed6}
.cta-row{display:flex;gap:14px;flex-wrap:wrap;justify-content:center}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;text-decoration:none;padding:15px 22px;border-radius:8px;border:1px solid var(--cream);font-weight:400;text-transform:uppercase;letter-spacing:.055em;transition:.2s;cursor:pointer}
.btn.primary{background:linear-gradient(135deg,var(--orange),var(--orange2));border-color:transparent;color:#071a23}
.btn.secondary{background:rgba(1,18,30,.55)}
.btn:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(0,0,0,.24)}
.section{padding:86px 0;position:relative}
.section.dark{background:linear-gradient(180deg,rgba(2,27,43,.78),rgba(2,23,37,.92));border-block:1px solid var(--line)}
.section.dark.festival-photo-section{
  position:relative;
  overflow:hidden;
  isolation:isolate;
  background:#021725;
}
.festival-bg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 46%;
  z-index:0;
  opacity:.72;
}
.festival-bg-overlay{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    linear-gradient(90deg,rgba(2,23,37,.62) 0%,rgba(2,23,37,.48) 52%,rgba(2,23,37,.52) 100%),
    linear-gradient(180deg,rgba(2,23,37,.18),rgba(2,23,37,.62));
}
.festival-content{position:relative;z-index:2;}
.festival-photo-section .feature-card,.festival-photo-section .poster-panel{backdrop-filter:blur(4px);}

.section-title{font-size:clamp(2rem,5vw,4.2rem);line-height:.95;margin:0 0 18px;max-width:900px}
.section-lead{font-family:inherit;letter-spacing:.012em;line-height:1.72;color:#e5e9e4;max-width:850px;font-size:1.02rem}
.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:34px}
.feature-card{padding:28px;background:linear-gradient(160deg,rgba(7,41,56,.90),rgba(2,23,37,.94));border:1px solid var(--line);border-radius:14px;box-shadow:var(--shadow);min-height:205px}
.feature-icon{font-size:2.1rem;color:var(--orange);margin-bottom:18px}
.feature-card h3{font-size:1.45rem;margin:0 0 12px;color:var(--cream)}
.feature-card p{font-family:inherit;line-height:1.55;margin:0;color:#d5dfdc;font-size:.95rem}
.split{display:grid;grid-template-columns:1.05fr .95fr;gap:42px;align-items:center}
.poster-panel{background:rgba(1,20,33,.78);border:1px solid var(--line);padding:32px;border-radius:16px;box-shadow:var(--shadow)}
.poster-panel h3{font-size:2rem;margin:.2rem 0 1rem;color:var(--orange)}
.poster-panel p{font-family:inherit;line-height:1.7;color:#e4e7df}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:24px}
.stat{padding:18px;border:1px solid var(--line);background:rgba(255,255,255,.035);border-radius:10px;text-align:center}
.stat strong{font-size:1.8rem;color:var(--orange);display:block}
.stat span{font-family:inherit;font-size:.78rem;color:#d4ded9}
.video-wrap{position:relative;aspect-ratio:16/9;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:linear-gradient(135deg,rgba(0,0,0,.35),rgba(2,29,45,.5)),url('assets/ood-2027-hintergrund.png') center/cover;box-shadow:var(--shadow)}
.video-consent{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:28px;background:rgba(1,15,26,.45)}
.play-circle{width:84px;height:84px;border-radius:50%;background:var(--orange);display:grid;place-items:center;color:#081b24;font-size:2rem;margin:0 auto 16px;border:0;cursor:pointer}
.video-consent p{font-family:inherit;max-width:560px;line-height:1.55;margin:0 auto 18px;color:white}
.video-wrap iframe{width:100%;height:100%;border:0}
.teaser-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:18px;margin-top:36px}
.teaser{position:relative;min-height:310px;padding:34px;display:flex;flex-direction:column;justify-content:flex-end;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:linear-gradient(160deg,rgba(3,42,55,.78),rgba(1,20,33,.96));box-shadow:var(--shadow)}
.teaser::before{content:"";position:absolute;inset:0;background:linear-gradient(135deg,transparent 30%,rgba(255,107,63,.11));pointer-events:none}
.teaser h3{font-size:2rem;margin:0 0 8px;position:relative}
.teaser p{font-family:inherit;line-height:1.55;color:#dae2df;position:relative}
.text-link{color:var(--orange);text-decoration:none;font-weight:400;position:relative}
.contact-banner{padding:58px 0;background:linear-gradient(90deg,rgba(255,107,63,.96),rgba(255,125,78,.94));color:#061a23;text-align:center}
.contact-banner h2{font-size:clamp(2rem,5vw,4rem);margin:0 0 12px}
.contact-banner p{font-family:inherit;max-width:780px;margin:0 auto 22px;line-height:1.55;font-weight:500}
.contact-banner .btn{border-color:#061a23}
.contact-wrap{display:grid;grid-template-columns:.8fr 1.2fr;gap:34px;align-items:start}
.contact-info{padding:30px;background:rgba(2,26,41,.9);border:1px solid var(--line);border-radius:14px}
.contact-info h3{font-size:2rem;margin-top:0}
.contact-info p{font-family:inherit;line-height:1.65}
.contact-form{padding:30px;background:rgba(2,26,41,.9);border:1px solid var(--line);border-radius:14px}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field{display:flex;flex-direction:column;gap:8px}
.field.full{grid-column:1/-1}
label{font-size:.82rem;font-weight:400;color:var(--cream)}
input,textarea,select{width:100%;background:#061d2a;color:white;border:1px solid rgba(255,244,207,.3);border-radius:8px;padding:13px 14px;outline:none}
input:focus,textarea:focus,select:focus{border-color:var(--orange);box-shadow:0 0 0 3px rgba(255,107,63,.12)}
textarea{min-height:160px;resize:vertical}
.check{display:flex;gap:10px;align-items:flex-start;font-family:inherit;font-size:.85rem;line-height:1.4}
.check input{width:auto;margin-top:3px}
.form-note{font-family:inherit;font-size:.78rem;color:#bdcbc7;margin-top:12px;line-height:1.5}
.footer{background:#01131f;border-top:1px solid var(--line);padding:30px 0}
.footer-row{display:flex;align-items:center;gap:22px;justify-content:space-between;flex-wrap:wrap}
.footer-brand img{width:150px}
.footer-links{display:flex;gap:20px;flex-wrap:wrap}
.footer-links a{text-decoration:none;font-size:.82rem}
.footer small{font-family:inherit;color:#b9c6c2}
.legal{padding:64px 0 90px;background:rgba(2,23,37,.9)}
.legal-card{background:rgba(2,29,45,.92);border:1px solid var(--line);border-radius:14px;padding:clamp(24px,5vw,54px);box-shadow:var(--shadow)}
.legal h1{font-size:clamp(2.2rem,5vw,4rem);margin-top:0}
.legal h2{font-size:1.45rem;margin-top:34px;color:var(--orange)}
.legal p,.legal li{font-family:inherit;line-height:1.7;color:#e5e9e4}
.legal ul{padding-left:22px}
.history-hero{padding:90px 0 54px;text-align:center}
.timeline{display:grid;gap:24px;padding-bottom:90px}
.year-card{display:grid;grid-template-columns:180px 1fr;border:1px solid var(--line);border-radius:16px;overflow:hidden;background:rgba(2,26,41,.9);box-shadow:var(--shadow)}
.year{display:grid;place-items:center;background:linear-gradient(145deg,var(--orange),#ff8f61);color:#071a23;font-size:2.5rem;font-weight:400;padding:28px 16px}
.year-content{padding:30px}
.year-content h2{margin-top:0;font-size:2rem}
.year-content p{font-family:inherit;line-height:1.65;color:#dce4e0}
.lineup-tags{display:flex;flex-wrap:wrap;gap:9px;margin-top:16px}
.lineup-tags span{border:1px solid var(--line);padding:8px 10px;border-radius:999px;font-size:.78rem;color:#e7ece8;background:rgba(255,255,255,.03)}
.gallery-placeholder{margin-top:18px;padding:34px;border:1px dashed rgba(255,244,207,.3);border-radius:10px;text-align:center;font-family:inherit;color:#c2cfca}
.notice{padding:14px 18px;border-left:4px solid var(--orange);background:rgba(255,107,63,.08);font-family:inherit;line-height:1.55;margin:18px 0}
.honeypot{position:absolute!important;left:-9999px!important;opacity:0!important;pointer-events:none!important}
@media(max-width:980px){
  .navlinks,.ticket-top,.social-top{display:none}.menu-btn{display:block}.navbar.open{height:auto;flex-wrap:wrap;padding:12px 0 18px}.navbar.open .navlinks{display:flex;order:3;width:100%;flex-direction:column;align-items:flex-start;gap:16px}.navbar.open .ticket-top,.navbar.open .social-top{display:flex;order:4}.brand{min-width:auto}.hero{min-height:640px}.split,.contact-wrap{grid-template-columns:1fr}.feature-grid{grid-template-columns:1fr}.teaser-grid{grid-template-columns:1fr}.year-card{grid-template-columns:1fr}.year{padding:20px}.stats{grid-template-columns:1fr 1fr 1fr}
}
@media(max-width:620px){
  .wrapper{width:min(100% - 24px,1180px)}.navbar{height:70px}.brand img{width:135px;height:56px}.hero-inner{padding:54px 0}.hero-logo{width:94vw}.hero-copy{font-size:.92rem}.cta-row{width:100%}.btn{width:100%}.section{padding:64px 0}.feature-card,.poster-panel,.contact-info,.contact-form{padding:22px}.form-grid{grid-template-columns:1fr}.stats{grid-template-columns:1fr}.contact-banner{padding:42px 0}.footer-row{align-items:flex-start;flex-direction:column}
}

/* V5: Headlines uppercase, body copy normal case */
h1,h2,h3,h4,h5,h6,
.section-title,
.contact-banner h2,
.contact-info h3,
.feature-card h3,
.poster-panel h3,
.teaser h3,
.year-content h2,
.legal h1,
.legal h2 {
  text-transform: uppercase;
  letter-spacing: .025em;
}

/* V6 TYPOGRAFIE */
h1,h2,h3,h4,h5,h6,.section-title,.hero-date{ text-transform:uppercase; }
p,.section-lead,.hero-copy,.hero-kicker,.stat span,.form-note,label,.check,.footer small{ text-transform:none; }

/* V14: Laufband, Cookie-Hinweis, Scroll-Spy und eigene Festivalseite */
.site-header{top:0}
.festival-ticker{
  height:34px;
  overflow:hidden;
  background:linear-gradient(90deg,var(--orange2),var(--orange),#ff8051,var(--orange));
  color:#071a23;
  border-bottom:1px solid rgba(1,20,33,.28);
  white-space:nowrap;
}
.ticker-track{
  width:max-content;
  height:100%;
  display:flex;
  align-items:center;
  animation:oodTicker 30s linear infinite;
  font-size:.78rem;
  font-weight:400;
  letter-spacing:.075em;
  text-transform:uppercase;
  will-change:transform;
}
.ticker-group{
  flex:0 0 auto;
  display:flex;
  align-items:center;
  gap:18px;
  padding-right:18px;
}
.ticker-track i{font-style:normal;font-size:.65rem;opacity:.75}
@keyframes oodTicker{
  from{transform:translate3d(0,0,0)}
  to{transform:translate3d(-25%,0,0)}
}
@media (prefers-reduced-motion:reduce){.ticker-track{animation:none}}

/* Offset für Sprungmarken unter dem Sticky-Header */
#festival,#video,#verein,#kontakt{scroll-margin-top:132px}

/* aktiver Menüpunkt wird per JS gesetzt */
.navlinks a[data-section].active{color:var(--cream)}
.navlinks a[data-section].active::after{right:0}

.cookie-note{
  position:fixed;
  left:18px;
  right:18px;
  bottom:18px;
  z-index:100;
  margin:auto;
  max-width:940px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:13px 14px 13px 17px;
  border:1px solid rgba(255,244,207,.20);
  border-radius:12px;
  background:rgba(1,20,33,.94);
  backdrop-filter:blur(16px);
  box-shadow:0 12px 38px rgba(0,0,0,.28);
  color:#e9eee9;
  font-size:.82rem;
  line-height:1.4;
}
.cookie-note[hidden]{display:none}
.cookie-note-text{display:flex;align-items:center;gap:12px;min-width:0}
.cookie-note-text strong{color:var(--orange);font-weight:500;text-transform:uppercase;letter-spacing:.045em;white-space:nowrap}
.cookie-note-text span{opacity:.92}
.cookie-note-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}
.cookie-note-actions a{color:#d7e0dc;text-decoration:none;font-size:.78rem}
.cookie-note-actions a:hover{color:var(--orange)}
.cookie-note-actions button{
  border:1px solid rgba(255,244,207,.26);
  background:rgba(255,107,63,.12);
  color:var(--cream);
  border-radius:7px;
  padding:8px 12px;
  font-weight:400;
  text-transform:uppercase;
  letter-spacing:.05em;
  cursor:pointer;
}
.cookie-note-actions button:hover{background:var(--orange);color:#071a23;border-color:var(--orange)}

@media(max-width:980px){
  #festival,#video,#verein,#kontakt{scroll-margin-top:118px}
  .festival-ticker{height:30px}
  .ticker-track{font-size:.72rem}.ticker-group{gap:14px;padding-right:14px}
}
@media(max-width:620px){
  .cookie-note{left:10px;right:10px;bottom:10px;align-items:flex-start;flex-direction:column;gap:10px;padding:13px}
  .cookie-note-text{align-items:flex-start;gap:8px;flex-direction:column}
  .cookie-note-actions{width:100%;justify-content:space-between}
}


/* V14: Startseite klar vom aktuellen Festival trennen */
#home,#video,#verein,#kontakt{scroll-margin-top:132px}
.eyebrow{
  color:var(--orange);
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.11em;
  margin-bottom:12px;
}
.home-festival-teaser{overflow:hidden}
.festival-teaser-card{
  min-height:360px;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  align-items:flex-start;
  padding:34px;
  border:1px solid var(--line);
  border-radius:16px;
  background:
    linear-gradient(180deg,rgba(2,23,37,.08),rgba(2,23,37,.84)),
    url('assets/festival-hintergrund.jpg') center/cover no-repeat;
  box-shadow:var(--shadow);
  transition:.25s;
}
.festival-teaser-card:hover{transform:translateY(-4px);border-color:rgba(255,107,63,.65)}
.festival-teaser-date{font-size:clamp(2rem,5vw,3.5rem);line-height:1;color:var(--cream);margin-bottom:8px}
.festival-teaser-place{font-size:1rem;color:#e5e9e4;margin-bottom:18px}
.festival-teaser-link{color:var(--orange);text-transform:uppercase;letter-spacing:.06em;font-size:.86rem}

/* Eigene Seite Out of Doors 2027 */
.festival-page-hero{
  min-height:680px;
  position:relative;
  overflow:hidden;
  display:grid;
  align-items:end;
  isolation:isolate;
}
.festival-page-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 45%;z-index:0}
.festival-page-overlay{position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(1,16,27,.2),rgba(1,16,27,.55) 55%,rgba(1,16,27,.94));}
.festival-page-inner{position:relative;z-index:2;padding:130px 0 80px}
.festival-page-inner h1{font-size:clamp(3.2rem,9vw,7.5rem);line-height:.85;margin:0 0 22px;max-width:950px}
.festival-page-inner p{max-width:720px;font-size:1.15rem;line-height:1.65;color:#f0eee4;margin:0 0 28px}
.lineup-section{background:linear-gradient(180deg,rgba(3,23,37,.90),rgba(2,29,45,.72));}
.lineup-head{display:flex;justify-content:space-between;gap:30px;align-items:flex-end;margin-bottom:30px}
.lineup-head p{max-width:520px;line-height:1.6;color:#dce4e0;margin:0 0 6px}
.lineup-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.artist-card{min-height:230px;border:1px solid var(--line);border-radius:14px;padding:24px;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(145deg,rgba(5,39,53,.92),rgba(2,23,37,.98));box-shadow:var(--shadow)}
.artist-card span{color:var(--orange);font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;margin-bottom:8px}
.artist-card strong{font-size:1.35rem;line-height:1.15;font-weight:400}
.artist-card.coming-soon{background:linear-gradient(145deg,rgba(5,39,53,.88),rgba(2,23,37,.98)),radial-gradient(circle at 80% 20%,rgba(255,107,63,.18),transparent 40%)}
.lineup-note{margin-top:18px;color:#bfcac7;font-size:.86rem;line-height:1.5}
@media(max-width:980px){
  .lineup-grid{grid-template-columns:repeat(2,1fr)}
  .lineup-head{align-items:flex-start;flex-direction:column}
  .festival-page-hero{min-height:600px}
}
@media(max-width:620px){
  .lineup-grid{grid-template-columns:1fr}
  .festival-page-inner{padding:95px 0 56px}
  .festival-page-inner p{font-size:1rem}
  .festival-teaser-card{min-height:300px;padding:24px}
}


/* V16: Festival-Kennzeichnung, kompakte Vereinsgeschichte & Festival-Services */
.hero-type{
  margin-bottom:18px;
  color:var(--cream);
  font-size:.82rem;
  text-transform:uppercase;
  letter-spacing:.24em;
  opacity:.88;
}
.teaser-grid{grid-template-columns:repeat(3,1fr);}
.history-teaser{min-height:260px;}
.festival-service-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
  margin-top:20px;
}
.festival-service-card{
  position:relative;
  min-height:170px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:14px;
  background:linear-gradient(145deg,rgba(5,39,53,.78),rgba(2,23,37,.92));
}
.festival-service-icon{display:block;color:var(--orange);font-size:1.65rem;margin-bottom:10px;}
.festival-service-card h3{margin:0 0 8px;font-size:1.15rem;}
.festival-service-card p{margin:0;padding-right:90px;color:#d4ded9;line-height:1.55;font-size:.92rem;}
.pending-badge{
  position:absolute;right:18px;top:18px;
  padding:6px 9px;border:1px solid rgba(255,107,63,.42);border-radius:999px;
  color:var(--orange);font-size:.69rem;text-transform:uppercase;letter-spacing:.07em;
}
@media(max-width:980px){.teaser-grid{grid-template-columns:1fr 1fr}.festival-service-card p{padding-right:0;padding-top:28px}}
@media(max-width:620px){.teaser-grid,.festival-service-grid{grid-template-columns:1fr}.history-teaser{min-height:230px}}


/* V17: Hero-Kennzeichnung unter dem Logo + korrekte Ankerabstaende */
.hero-inner{padding-top:58px;}
.hero-logo{margin-bottom:8px; transform:translateY(-16px);}
.hero-type-below{margin-top:-12px;margin-bottom:16px;}
#home,#verein,#historie,#video,#kontakt{scroll-margin-top:168px;}
@media(max-width:980px){#home,#verein,#historie,#video,#kontakt{scroll-margin-top:150px;}}
@media(max-width:620px){
  .hero-inner{padding-top:42px;}
  .hero-logo{transform:translateY(-10px);}
  #home,#verein,#historie,#video,#kontakt{scroll-margin-top:136px;}
}


/* V18: Historie 2025 als visuelle Galerie */
.history-teaser-2025{
  position:relative;
  overflow:hidden;
  min-height:260px;
  display:flex;
  align-items:flex-end;
  background:
    linear-gradient(180deg,rgba(2,23,37,.12),rgba(2,23,37,.96) 82%),
    url('assets/historie/2025/stage-wide-2025.webp') center/cover no-repeat;
}
.history-teaser-2025::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(255,107,63,.12),transparent 48%);
  pointer-events:none;
}
.history-teaser-copy{position:relative;z-index:1}

.year-card-gallery .year-content{padding:34px}
.year-intro{
  display:grid;
  grid-template-columns:minmax(0,1.4fr) minmax(240px,.6fr);
  gap:28px;
  align-items:start;
  margin-bottom:26px;
}
.year-facts{
  display:grid;
  gap:8px;
}
.year-facts span{
  display:flex;
  flex-direction:column;
  gap:2px;
  border-left:3px solid var(--orange);
  padding:9px 0 9px 13px;
  color:#cfdad6;
  font-size:.82rem;
  line-height:1.3;
}
.year-facts strong{
  color:var(--cream);
  font-weight:400;
  letter-spacing:.05em;
  font-size:.9rem;
}
.history-2025-layout{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:16px;
  align-items:start;
}
.history-poster,
.gallery-item{
  appearance:none;
  border:0;
  padding:0;
  margin:0;
  color:inherit;
  font:inherit;
  cursor:pointer;
  background:#01131f;
}
.history-poster{
  border:1px solid var(--line);
  border-radius:12px;
  overflow:hidden;
  position:sticky;
  top:118px;
  box-shadow:var(--shadow);
}
.history-poster img{
  width:100%;
  aspect-ratio:1448/2047;
  object-fit:cover;
}
.history-poster span{
  display:block;
  padding:11px 13px;
  color:#dce4e0;
  font-size:.76rem;
  text-transform:uppercase;
  letter-spacing:.06em;
  text-align:left;
}
.history-gallery{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  grid-auto-rows:170px;
  gap:10px;
}
.gallery-item{
  border-radius:10px;
  overflow:hidden;
  border:1px solid rgba(255,244,207,.14);
  position:relative;
}
.gallery-item::after,.history-poster::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,transparent 62%,rgba(1,15,26,.35));
  opacity:0;
  transition:.2s;
  pointer-events:none;
}
.gallery-item:hover::after,.history-poster:hover::after{opacity:1}
.gallery-item:hover img,.history-poster:hover img{transform:scale(1.025)}
.gallery-item img,.history-poster img{transition:transform .3s ease}
.gallery-item img{width:100%;height:100%;object-fit:cover}
.gallery-wide{grid-column:span 2}
.gallery-tall{grid-row:span 2}
.gallery-hint{
  margin:11px 0 0;
  color:#aebdb8!important;
  font-size:.78rem;
}

.gallery-lightbox{
  position:fixed;
  inset:0;
  z-index:200;
  display:grid;
  place-items:center;
  padding:48px;
  background:rgba(0,10,17,.94);
  backdrop-filter:blur(10px);
}
.gallery-lightbox[hidden]{display:none}
.gallery-lightbox img{
  max-width:min(94vw,1600px);
  max-height:88vh;
  width:auto;
  height:auto;
  border-radius:8px;
  box-shadow:0 26px 90px rgba(0,0,0,.6);
}
.gallery-lightbox-close{
  position:fixed;
  top:18px;
  right:22px;
  z-index:201;
  width:44px;
  height:44px;
  border-radius:50%;
  border:1px solid rgba(255,244,207,.28);
  background:rgba(2,23,37,.8);
  color:var(--cream);
  font-size:2rem;
  line-height:1;
  cursor:pointer;
}
.gallery-lightbox-close:hover{border-color:var(--orange);color:var(--orange)}
body.lightbox-open{overflow:hidden}

@media(max-width:980px){
  .year-intro{grid-template-columns:1fr}
  .history-2025-layout{grid-template-columns:210px minmax(0,1fr)}
  .history-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:180px}
  .history-poster{top:104px}
}
@media(max-width:700px){
  .year-card-gallery .year-content{padding:22px}
  .history-2025-layout{grid-template-columns:1fr}
  .history-poster{position:relative;top:auto;max-width:300px;margin-inline:auto}
  .history-gallery{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:145px}
  .gallery-wide{grid-column:span 2}
  .gallery-lightbox{padding:18px}
}

/* V19: Historie 2026 + Lightbox mit Vor/Zurück-Navigation */
.history-teaser-2026{
  position:relative;
  overflow:hidden;
  min-height:260px;
  display:flex;
  align-items:flex-end;
  background:
    linear-gradient(180deg,rgba(2,23,37,.10),rgba(2,23,37,.96) 82%),
    url('assets/historie/2026/aerial-wide-2026.webp') center/cover no-repeat;
}
.history-teaser-2026::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(135deg,rgba(76,141,137,.12),transparent 52%);
  pointer-events:none;
}
.history-2026-layout{margin-bottom:2px}

.gallery-lightbox-stage{
  display:grid;
  place-items:center;
  max-width:min(94vw,1600px);
  max-height:90vh;
  position:relative;
}
.gallery-lightbox-stage img{
  max-width:100%;
  max-height:86vh;
  width:auto;
  height:auto;
  object-fit:contain;
}
.gallery-lightbox-nav{
  position:fixed;
  top:50%;
  transform:translateY(-50%);
  z-index:202;
  width:52px;
  height:66px;
  border-radius:10px;
  border:1px solid rgba(255,244,207,.26);
  background:rgba(2,23,37,.78);
  color:var(--cream);
  font-size:2.8rem;
  line-height:1;
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:.2s ease;
}
.gallery-lightbox-prev{left:20px}
.gallery-lightbox-next{right:20px}
.gallery-lightbox-nav:hover{border-color:var(--orange);color:var(--orange);background:rgba(2,23,37,.94)}
.gallery-lightbox-counter{
  position:absolute;
  left:50%;
  bottom:-30px;
  transform:translateX(-50%);
  color:#c8d4cf;
  font-size:.78rem;
  letter-spacing:.08em;
  white-space:nowrap;
}
@media(max-width:700px){
  .gallery-lightbox-nav{width:42px;height:54px;font-size:2.2rem;background:rgba(2,23,37,.88)}
  .gallery-lightbox-prev{left:8px}
  .gallery-lightbox-next{right:8px}
  .gallery-lightbox-stage img{max-height:82vh}
  .gallery-lightbox-counter{bottom:-24px}
}

/* V20: Headliner-Facts in der Historie */
.year-facts .headliner-fact{
  border-left-color:var(--orange);
  color:#d9e1dd;
  line-height:1.42;
}
.year-facts .headliner-fact strong{
  color:var(--orange);
}

/* V21: Historie 2020–2024 */
.history-single-poster{display:grid;grid-template-columns:minmax(210px,300px) 1fr;gap:24px;align-items:start;margin-top:24px}
.history-single-poster .history-poster{position:relative;top:auto}
.history-single-poster .gallery-placeholder{margin-top:0;min-height:100%;display:grid;place-items:center}
.history-gallery-no-poster{margin-top:24px;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:210px}
.year-card-pause{opacity:.9}
.year-card-pause .year{font-size:1.8rem;line-height:1.05}
.year-card-pause .year-content{display:flex;flex-direction:column;justify-content:center;min-height:150px}
@media(max-width:760px){
  .history-single-poster{grid-template-columns:1fr}
  .history-single-poster .history-poster{max-width:300px;margin-inline:auto}
  .history-gallery-no-poster{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:145px}
}

/* V25: Jahres-Anker auf der Historienseite unterhalb der festen Navigation ausrichten */
.year-card[id]{scroll-margin-top:168px;}
@media(max-width:980px){.year-card[id]{scroll-margin-top:150px;}}
@media(max-width:700px){.year-card[id]{scroll-margin-top:136px;}}

.year-supporters{
  margin-top:clamp(28px,4vw,52px);
  display:grid;
  grid-template-columns:minmax(220px,.75fr) minmax(320px,1.25fr);
  gap:clamp(22px,4vw,48px);
  align-items:center;
  padding:clamp(20px,3vw,34px);
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  background:rgba(2,21,37,.52);
}
.year-supporters-copy h3{margin:.35rem 0 .65rem}
.year-supporters-copy p{margin:0;max-width:48ch}
.supporters-image{
  width:100%;
  border:0;
  padding:0;
  background:transparent;
  cursor:zoom-in;
  border-radius:16px;
  overflow:hidden;
}
.supporters-image img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1230/765;
  object-fit:cover;
}
@media (max-width:760px){
  .year-supporters{grid-template-columns:1fr}
}


.form-status{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin-bottom:18px;
  padding:14px 16px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:12px;
  background:rgba(2,21,37,.66);
}
.form-status strong{font-weight:600;text-transform:uppercase;letter-spacing:.04em}
.form-status span{font-size:.94rem}
.form-status.is-success{border-color:rgba(92,174,153,.65)}
.form-status.is-error{border-color:rgba(255,126,94,.72)}
