/* 2027 edition: original template and layout, updated visual and palette. */
.hackathon__wrapper{--colorHackathonGreen:#C9DD14;--colorHackathonBlue:#0B3B40;--colorHackathonOrange:#7CCAC5;--colorBlue:#ABE6E4;--colorMagenta:#2EA786;--colorBlueDark:#012B27;--colorWhite:#fff;--colorGreen:#C9DD14;--colorGreenDark:#0B3B40}
html{scroll-behavior:smooth}body{color:#0B3B40;background:#ABE6E4}a:focus-visible,[role=button]:focus-visible,button:focus-visible{outline:3px solid #297864;outline-offset:5px}[hidden]{display:none!important}
.hackathon__detail-wrapper .hackathon__header.moodboard-hero{height:auto!important;display:block;padding:0;overflow:hidden;background:#ABE6E4;position:relative}
.moodboard-art{position:relative;width:100%;aspect-ratio:1203/591;overflow:hidden}
.moodboard-art>img{position:absolute!important;left:-23.857%!important;top:-49.408%!important;width:139.651%!important;max-width:none!important;height:auto!important;display:block;object-fit:initial!important}
.moodboard-hero:after{display:none}
.hackathon__detail-wrapper .hackathon__partner:before{background:linear-gradient(84deg,rgba(124,202,197,.7) -44.45%,rgba(171,230,228,.1) 43.44%)}
.hackathon__detail-wrapper .barcamp__gallery{background:linear-gradient(81deg,rgba(124,202,197,.7) -96.09%,rgba(171,230,228,.12) 79.71%)}
.hackathon__detail-wrapper .hackathon__footer .hackathon__logos{display:block}.hackathon__detail-wrapper .hackathon__footer .hackathon__logos>img{width:13rem;max-width:100%;height:auto;background:transparent;padding:0;display:block}
.hackathon__detail-wrapper .draw_on_load .path,.hackathon__detail-wrapper .draw_on_load .dot,.hackathon__detail-wrapper .draw_on_scroll path[fill],.hackathon__detail-wrapper .draw_on_scroll path[stroke],.hackathon__detail-wrapper .hackathon__orange-band>div{opacity:1}
.hackathon__detail-wrapper .hackathon__teilnehmer h4{color:#297864}.hackathon__detail-wrapper .hackathon__infos h4{color:#8FD0CE}
.read__more--box.is-active .read__more--inner{display:block}.hackathon__detail-wrapper .accordion.is-active>.accordion__content{display:block}
.retrospective{position:relative;aspect-ratio:16/9}.retrospective>img{width:100%;height:100%;object-fit:cover;filter:brightness(.7)}.hackathon__detail-wrapper .retrospective .play__button{white-space:nowrap;font-size:.8rem;line-height:1.3;text-align:center}
.hackathon__detail-wrapper .hackathon__overlay[hidden]{display:none!important}.hackathon__detail-wrapper .hackathon__overlay:not([hidden]){display:block!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;position:fixed;inset:0;z-index:10000;background:rgba(1,43,39,.85);overflow:auto}
.hackathon__detail-wrapper .hackathon__overlay:not([hidden]) .hackathon__overlay__holder{min-height:100%;display:flex;align-items:center;justify-content:center;padding:4rem 1rem}.hackathon__detail-wrapper .hackathon__overlay:not([hidden]) .hackathon__overlay__inner{position:relative;width:100%;min-height:24rem;display:flex;align-items:center;justify-content:center;background:#0B3B40;padding:3rem 1rem}.hackathon__detail-wrapper .hackathon__overlay .hackathon__overlay-center-content{color:#fff;z-index:3;position:relative}.hackathon__detail-wrapper .hackathon__overlay .registration-info{padding:2rem;background:#ABE6E4;color:#0B3B40;text-align:center}.hackathon__detail-wrapper .hackathon__overlay .registration-info h3{font-size:2rem}.hackathon__detail-wrapper .hackathon__overlay .registration-info .hackathon__cta-button{--buttonColor:#C9DD14;display:inline-flex;align-items:center;justify-content:center}.close__hackathon__overlay{z-index:5}.newsletter-link{--buttonColor:#C9DD14}
.gallery-controls{position:absolute;right:0;top:0;display:flex;gap:.5rem;z-index:2}.gallery-controls button{border:0;background:#C9DD14;color:#0B3B40;border-radius:50%;height:3rem;width:3rem;font:1.5rem 'Roboto Mono',monospace;cursor:pointer}.gallery-controls button:hover{background:#CADEA1}.gallery__left .single__image img{aspect-ratio:760/600;object-fit:cover}.pagingInfo{pointer-events:none}
@media(max-width:1020px){.hackathon__detail-wrapper .retrospective .play__button{font-size:.6rem;white-space:normal;width:80%}.gallery-controls{top:17rem}.gallery-controls button{width:2.3rem;height:2.3rem;font-size:1.2rem}.hackathon__detail-wrapper .hackathon__overlay .registration-info{padding:1.5rem 1rem}.hackathon__detail-wrapper .hackathon__overlay .registration-info h3{font-size:1.5rem}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
/* Keep the 2027 visual as separate live elements so it can animate like the original. */
.hackathon__detail-wrapper .hackathon__header.live-hero{height:auto!important;aspect-ratio:1200/456;display:block;padding:0;overflow:hidden;position:relative;background:#ABE6E4}
.live-hero .hero-pattern{position:absolute;inset:0;background-image:url('assets/hero-circuit-pattern.svg');background-size:19% auto;transform:rotate(-30deg) scale(1.3);opacity:.8;pointer-events:none}
.hackathon__detail-wrapper .live-hero .hero-flow{position:absolute;inset:0 0 auto;width:100%;height:49.1667vw;margin:0!important;max-width:none}
.live-school{position:absolute;top:31.6vw;right:3%;left:auto;width:34%;color:#297864;text-align:right;text-transform:none;font:700 1.7vw/1.5 'Orbitron',sans-serif;z-index:3}
.live-logo{position:absolute;top:8.6vw;left:3%;width:30.5%;z-index:2;line-height:0}.hackathon__detail-wrapper .live-hero .live-logo svg{width:100%;height:auto;margin:0!important;overflow:visible}
.live-date{position:absolute;top:26.6vw;right:3%;left:auto;width:34%;text-align:right;white-space:nowrap;font:700 3.2vw/1.2 'Orbitron',sans-serif;letter-spacing:.025em;color:#0B3B40;z-index:3}
.live-badge{position:absolute;left:75%;top:5.4vw;width:19%;aspect-ratio:1;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;background:#C9DD14;color:white;font:900 2.6vw/1.4 'Orbitron',sans-serif;z-index:3;will-change:transform}.live-badge span:nth-child(2){color:#0B3B40}
.live-bzi{position:absolute;top:28.5vw;right:3%;width:16%;height:auto;z-index:2}
.live-hero:after{opacity:.035;z-index:1}
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.splitting .word{white-space:nowrap;display:inline-block}.splitting .char{display:inline-block}
.hackathon__detail-wrapper .live-hero .keyvisual-circuit,.hero-impulse,.live-badge{transform-box:fill-box;transform-origin:center}
@media(max-width:1020px){.hackathon__detail-wrapper .hackathon__header.live-hero{aspect-ratio:auto;padding-bottom:0;height:38vw!important}.live-hero .hero-flow{height:49.17vw}.live-hero .hero-pattern{bottom:0}.live-school{top:31.6vw;font-size:1.7vw}.live-logo{top:8.6vw}.live-date{top:26.6vw}.live-badge{top:5.4vw}.live-bzi{top:28.5vw}}
/* Place the logo above the petrol background in the banner. */
.hackathon__detail-wrapper .hackathon__top-header{position:relative}
.live-hero .hero-pattern{z-index:0}
.hackathon__detail-wrapper .live-hero .hero-flow{z-index:1}
.live-hero .live-logo,.live-hero .live-school,.live-hero .live-date,.live-hero .live-badge,.live-hero .live-bzi{z-index:3}

.hackathon__detail-wrapper .live-hero .live-logo svg{aspect-ratio:540/365}

/* Preserve the gallery framing while keeping the uploaded portrait fully visible. */
.hackathon__detail-wrapper .barcamp__gallery .hackathon__innerwrapper .gallery__holder .gallery__left .single__image img[data-orientation="portrait"],
.hackathon__detail-wrapper .barcamp__gallery .hackathon__innerwrapper .gallery__holder .gallery__right .single__image img[data-orientation="portrait"]{object-fit:contain;background:#0B3B40}
.hackathon__detail-wrapper .hackathon__agenda .teaser__image-inner img{aspect-ratio:1/1;object-fit:cover;object-position:58% 40%}




/* Display the supplied keyvisual directly; clip only the transparent canvas margins. */
.hero-keyvisual{position:absolute;top:1.5vw;left:0;width:69%;aspect-ratio:1939/965;overflow:hidden;line-height:0;z-index:2}
.hackathon__detail-wrapper .live-hero .hero-keyvisual img,.hackathon__detail-wrapper .live-hero .hero-keyvisual .hero-keyvisual-art{position:absolute;top:-53.782383%;left:0;width:103.1459515%;max-width:none;height:auto;display:block;margin:0}

/* Newsletter removed: let the contact section use the available footer width. */
.hackathon__detail-wrapper .hackathon__infos__footer{grid-template-columns:100%;grid-template-areas:"visual" "contact"!important}
.hackathon__detail-wrapper .hackathon__infos__footer .hackathon__contact{grid-area:contact}

/* Current sponsors: requested group order and alphabetical order within groups. */
.hackathon__detail-wrapper .hackathon__partner .hackathon__innerwrapper .partner__logos-container{display:block;margin-top:2.2rem}
.sponsor-group{margin:0;padding:0}
.sponsor-group+.sponsor-group{margin-top:2.5rem}
.sponsor-group h5{margin:0 0 1rem;color:#0B3B40;text-align:left;text-transform:uppercase;font:700 clamp(15px,1.35vw,22px)/1.4 'Roboto Mono',monospace;letter-spacing:.04em}
.sponsor-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:clamp(12px,1.7vw,28px);align-items:center}
.sponsor-logo{display:flex;justify-content:center;align-items:center;width:100%;min-width:0;height:150px;padding:14px;background:transparent;text-decoration:none}
.sponsor-logo img{display:block;width:auto;height:auto;max-width:100%;max-height:122px;object-fit:contain}
.sponsor-group--hauptpartner .sponsor-grid{grid-template-columns:minmax(0,270px) minmax(0,270px) minmax(0,420px)}
.sponsor-group--exklusivpartner .sponsor-grid{grid-template-columns:minmax(0,340px)}
.sponsor-group--exklusivpartner .sponsor-logo{height:190px}
.sponsor-group--exklusivpartner .sponsor-logo img{max-height:162px}
@media(max-width:1020px){.sponsor-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.sponsor-group+.sponsor-group{margin-top:1.7rem}.sponsor-logo{height:140px;padding:14px}.sponsor-logo img{max-height:112px}.sponsor-group--hauptpartner .sponsor-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.sponsor-group--exklusivpartner .sponsor-grid{grid-template-columns:minmax(0,340px)}}
@media(max-width:480px){.sponsor-logo{height:112px;padding:10px}.sponsor-logo img{max-height:92px}.sponsor-group--exklusivpartner .sponsor-logo{height:175px}.sponsor-group--exklusivpartner .sponsor-logo img{max-height:150px}}

/* Clip the unchanged original artwork into independent strips for the entrance. */
.hero-keyvisual .hero-impulse{transform-box:fill-box;transform-origin:left center;pointer-events:none}

/* Dark accent text on light surfaces; retain lime accents on dark backgrounds. */
.hackathon__wrapper{--colorAccentTextLight:#155044}
.hackathon__detail-wrapper .hackathon__footer .ascii__text strong,
.hackathon__detail-wrapper .hackathon__teilnehmer h4{color:var(--colorAccentTextLight)}
.live-school{color:var(--colorAccentTextLight)}
.live-badge{color:#0B3B40}
.hackathon__detail-wrapper .hackathon__agenda .hackathon__innerwrapper .agenda__row2 .teaser__image .background__lines span{color:#0B3B40}
.hackathon__detail-wrapper .hackathon__ideenpool{--accentColor:var(--colorAccentTextLight)}

/* Readable moving text on the light blue and white section backgrounds. */
.hackathon__detail-wrapper .hackathon__section__banderole,
.hackathon__detail-wrapper .hackathon__agenda > .hackathon__section__banderole{color:var(--colorAccentTextLight)}

/* Four footer networks with comfortable targets and visible keyboard focus. */
.hackathon__detail-wrapper .hackathon__footer-bottom .hackathon__innerwrapper .generic{grid-template-columns:max-content 1fr;column-gap:2rem}
.hackathon__detail-wrapper .hackathon__footer-bottom .hackathon__innerwrapper .generic .social{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.hackathon__detail-wrapper .hackathon__footer-bottom .hackathon__innerwrapper .generic .social a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:0;color:#fff}
.hackathon__detail-wrapper .hackathon__footer-bottom .social a svg{display:block;width:29px;height:29px}
.hackathon__detail-wrapper .hackathon__footer-bottom .social a:focus-visible{outline-color:#fff}

/* Slightly enlarge the wide Miller wordmark within its existing grid cell. */
.sponsor-logo[data-sponsor="Miller"] img{transform:scale(1.12);transform-origin:center}

/* Keep decorative circuit artwork out of touch hit testing. */
.hackathon__detail-wrapper .hackathon_pattern_animation{pointer-events:none}
.hackathon__detail-wrapper a.button__anmelden{position:relative;z-index:10;pointer-events:auto;touch-action:manipulation;cursor:pointer}
@media(pointer:coarse){.hackathon__detail-wrapper a.button__anmelden{min-height:44px}}

/* Preserve logo and banner dimensions when converting them to links. */
.hackathon__detail-wrapper .hackathon__footer .hackathon__logos>a.bzi-school-link{display:block;width:13rem;max-width:100%}
.hackathon__detail-wrapper .hackathon__footer .hackathon__logos>a.bzi-school-link>img{width:100%;height:auto;background:transparent;padding:0;display:block}
.hackathon__detail-wrapper .live-hero a.live-school{color:var(--colorAccentTextLight);text-decoration:none}
.hackathon__detail-wrapper .live-hero a.live-school:hover{text-decoration:underline;text-underline-offset:.2em}

/* Give the wide Thalhofer wordmark room comparable to the taller BZI logo. */
.sponsor-logo[data-sponsor="Thalhofer-Gruppe"] img{width:100%;transform:none}

.hackathon__detail-wrapper .hackathon_speaker a.speaker-website{color:#C9DD14;text-decoration:underline;text-underline-offset:.2em}

@media(max-width:1020px){.sponsor-group--hauptpartner .sponsor-logo[data-sponsor="Thalhofer-Gruppe"]{grid-column:1 / -1;justify-self:start;max-width:420px}}
