/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
@import url("https://fonts.googleapis.com/css?family=Montserrat:300,500");
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: 'Montserrat';
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* Parallax base styles by Keith Clark
  keithclark.co.uk
--------------------------------------------- */
.parallax {
  height: 500px;
  /* fallback for older browsers */
  height: 100%;
  overflow-x: hidden;
  overflow: hidden;
}

.parallax__group {
  position: relative;
  height: 500px;
  /* fallback for older browsers */
  min-height: 100vh;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.parallax__layer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.parallax__layer--base {
  z-index: 12;
}

.parallax__layer--middle {
  z-index: 10;
}

.parallax__layer--back {
  z-index: 5;
}

.parallax__layer--deep {
  z-index: 1;
}

/* Debugger styles - used to show the effect
--------------------------------------------- */
.debug {
  position: fixed;
  top: 0;
  left: .5em;
  z-index: 999;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: .5em;
  border-radius: 0 0 5px 5px;
}

.debug-on .parallax__group {
  -webkit-transform: translate3d(800px, 0, -800px) rotateY(30deg);
  transform: translate3d(700px, 0, -800px) rotateY(30deg);
}

.debug-on .parallax__layer {
  -webkit-box-shadow: 0 0 0 2px #000;
  box-shadow: 0 0 0 2px #000;
  opacity: 0.9;
}

.parallax__group {
  -webkit-transition: -webkit-transform 0.5s;
  transition: transform 0.5s;
}

/* centre the content in the parallax layers */
.parallax-content {
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}
.parallax-content.main-box {
  top: 40%;
}

/* style the groups
--------------------------------------------- */
body {
  background-color: black;
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  position: relative;
}
body main {
  width: 100%;
}
body main .gradient {
  width: 100%;
  height: 20%;
  background: -webkit-gradient(linear, left top, left bottom, from(transparent), color-stop(1%, rgba(0, 0, 0, 0.01)), to(#08090d));
  background: -webkit-linear-gradient(top, transparent 0%, rgba(0, 0, 0, 0.01) 1%, #08090d 100%);
  background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.01) 1%, #08090d 100%);
  position: absolute;
  bottom: 0;
  z-index: 20;
}
body main a {
  color: #d2d2d2;
  font-weight: 300;
  font-size: 14px;
  text-decoration: none;
  border-bottom: #d2d2d2 solid 1px;
}
body main a:hover {
  border-bottom: #fff200 solid 1px;
  color: #fff200;
}
body main .content-wrap {
  padding: 64px 0 0 0;
  background: #08090d;
  /* Old browsers */
  background: -webkit-gradient(linear, left bottom, left top, from(#111626), to(#08090d));
  background: -webkit-linear-gradient(bottom, #111626 0%, #08090d 100%);
  background: linear-gradient(to top, #111626 0%, #08090d 100%);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  z-index: 20;
  position: relative;
  -webkit-transform: translateZ(0px) scale(1);
  transform: translateZ(0px) scale(1);
}
body main header {
  width: 100%;
  min-height: 100%;
  position: relative;
}
body main header .logo {
  max-width: 680px;
  width: 80vw;
  margin: 0 auto;
  display: block;
}
body main header .timer {
  font-family: "Alarm Clock";
  color: #fff200;
  font-size: 4.2vw;
  text-align: center;
  position: relative;
  padding-top: 32px;
  padding-right: 16px;
}
body main header .timer.days::after, body main header .timer.hours::after, body main header .timer.mins::after, body main header .timer.secs::after {
  font-family: "Montserrat";
  font-weight: 300;
  font-size: 10px;
  color: #fff200;
  position: absolute;
  top: 16px;
  right: 16px;
}
body main header .timer.days::before {
  content: "-";
  color: #fff200;
  position: absolute;
  margin-left: -24px;
}
body main header .timer.days::after {
  content: "Days";
}
body main header .timer.hours::after {
  content: "Hours";
}
body main header .timer.mins::after {
  content: "Mins";
}
body main header .timer.secs::after {
  content: "Secs";
}
body main header .time-wrap {
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 0;
}
body main header .scroll-wrap {
  position: absolute;
  cursor: pointer;
  z-index: 100;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  width: 100%;
  bottom: 72px;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}
body main header .scroll-wrap .scroller {
  z-index: 100;
  font-size: 14px;
  font-weight: 300;
  color: #fff200;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
body main header .scroll-wrap .scroller img {
  display: block;
  width: 48px;
  padding-top: 16px;
}
body main .container {
  position: relative;
  width: 100%;
  float: left;
  margin-bottom: 128px;
}
body main section {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}
body main .fcol {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
}
body main .fcol.text {
  margin-top: 32px;
}
body main .fcol.button {
  margin-top: 32px;
}
body main .frow {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
}
body img {
  position: relative;
}
body .column.full {
  width: 100%;
}
body .column.half {
  width: 50%;
}
body .column.third {
  width: 33.33%;
}
body .column.quater {
  width: 25%;
}
body .column.twothird {
  width: 66.66%;
}
body .icon-box {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  margin-top: 32px;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
}
body .icon-box .icon.sixtyfour {
  margin-right: 16px;
}
body .icon-box .icon.sixtyfour img {
  width: 64px;
  height: 64px;
}
body .icon-box .icon-content {
  padding-right: 16px;
}
body .map {
  height: 100%;
  width: 100%;
  min-height: 40vh;
  position: relative;
}
body .map iframe {
  position: absolute;
  padding-left: 32px;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}
body .sp-box {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
body .sp-box.spacer {
  padding-bottom: 48px;
}
body .sp-box img {
  max-height: 128px;
  margin: 0 auto;
  display: block;
  max-width: 60%;
}
body .text {
  padding-bottom: 16px;
}
body .imprint {
  margin-bottom: 16px;
}
body .footer {
  width: 100%;
  text-align: center;
  color: #d2d2d2;
  font-size: 10px;
  font-weight: 300;
  margin-top: 64px;
}
body a.button {
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  color: white;
  border-radius: 100px;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: block;
  -webkit-box-flex: 0;
  -webkit-flex-grow: 0;
  -ms-flex-positive: 0;
  flex-grow: 0;
  position: relative;
  -webkit-box-flex: 1;
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
  font-size: 16px;
  background: #12d5dc;
  background: -webkit-gradient(linear, left top, right top, from(#12d5dc), to(#23db9e));
  background: -webkit-linear-gradient(left, #12d5dc 0%, #23db9e 100%);
  background: linear-gradient(to right, #12d5dc 0%, #23db9e 100%);
}
body a.button:hover {
  border-bottom: none;
  color: #fff200;
}
body .picture-button {
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
  margin-top: 32px;
}
body #earth {
  -webkit-transform-origin: 50% 150%;
  -ms-transform-origin: 50% 150%;
  transform-origin: 50% 150%;
}

@media (min-width: 1200px) {
  body main header .timer {
    font-size: 48px;
  }
}
@media (max-width: 1020px) {
  body main section {
    padding: 0 32px;
  }
}
@media (max-width: 1200px) {
  .parallax__layer--middle .parallax-content {
    -webkit-transform: translate(-50%, -45%) scale(0.7);
    -ms-transform: translate(-50%, -45%) scale(0.7);
    transform: translate(-50%, -45%) scale(0.7);
  }

  .parallax__layer--back .parallax-content {
    -webkit-transform: translate(-50%, -50%) scale(0.8);
    -ms-transform: translate(-50%, -50%) scale(0.8);
    transform: translate(-50%, -50%) scale(0.8);
  }

  .parallax__layer--deep .parallax-content {
    -webkit-transform: translate(-50%, -50%) scale(0.8);
    -ms-transform: translate(-50%, -50%) scale(0.8);
    transform: translate(-50%, -50%) scale(0.8);
  }
}
@media (max-width: 700px) {
  .parallax__layer--middle .parallax-content {
    -webkit-transform: translate(-50%, -45%) scale(0.4);
    -ms-transform: translate(-50%, -45%) scale(0.4);
    transform: translate(-50%, -45%) scale(0.4);
  }

  .parallax__layer--back .parallax-content {
    -webkit-transform: translate(-50%, -50%) scale(0.8);
    -ms-transform: translate(-50%, -50%) scale(0.8);
    transform: translate(-50%, -50%) scale(0.8);
  }

  .parallax__layer--deep .parallax-content {
    -webkit-transform: translate(-50%, -50%) scale(0.8);
    -ms-transform: translate(-50%, -50%) scale(0.8);
    transform: translate(-50%, -50%) scale(0.8);
  }

  body main header .timer {
    font-size: 8vw;
  }
  body main .frow {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
  }
  body main .column.full {
    width: 100%;
  }
  body main .column.half {
    width: 100%;
  }
  body main .column.third {
    width: 100%;
    padding-bottom: 32px;
  }
  body main .column:last-child {
    padding-bottom: 0;
  }
  body main .column.twothird {
    width: 100%;
  }
  body main .imprint .copy {
    text-align: justify;
  }
  body main .map iframe {
    padding-left: 0 !important;
  }
  body main p.spacer {
    display: none;
  }
}
/* =========================================================
   NAVIGATION
========================================================= */

/* =========================================================
   NAVIGATION / HAMBURGER MENU
   Diesen Block am besten GANZ UNTEN in die CSS setzen
========================================================= */

nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 24px 24px 0 24px;
  z-index: 1000;
  pointer-events: none;
}

nav .navconatiner {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 52px;
  pointer-events: none;
}

/* Hamburger immer sichtbar */
.hamburger-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: 52px;
  height: 52px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  z-index: 1002;
  transition: transform 0.35s ease;
  -webkit-appearance: none;
  appearance: none;
}

/* Die 3 gelben horizontalen Linien */
.hamburger-menu span {
  display: block;
  width: 30px;
  height: 3px;
  margin: 0;
  padding: 0;
  border-radius: 999px;
  background: #fff200;
  opacity: 1;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

/* Beim Öffnen gesamtes Icon drehen -> Linien stehen senkrecht */
.hamburger-menu.active {
  transform: rotate(90deg);
}

/* Menü standardmäßig komplett versteckt */
nav .navconatiner .nav-links {
  position: fixed;
  top: 0;
  right: 0;
  width: min(85vw, 340px);
  height: 100vh;
  margin: 0;
  padding: 90px 0 24px 0;
  list-style: none;

  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;

  background: rgba(8, 9, 13, 0.98);
  border-left: 1px solid rgba(255, 242, 0, 0.2);
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.35);

  transform: translateX(110%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    transform 0.38s ease,
    opacity 0.28s ease,
    visibility 0.28s ease;

  z-index: 1001;
}

/* Menü geöffnet */
nav .navconatiner .nav-links.active {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

nav .navconatiner .nav-links li {
  width: 100%;
  margin: 0;
  padding: 0;
  text-align: left;
}

nav .navconatiner .nav-links li a {
  display: block;
  width: 100%;
  padding: 16px 24px;
  margin: 0;
  float: none;
  text-align: left;
  color: #ffffff;
  text-decoration: none;
  border: none;
  letter-spacing: 0.008em;
  font-family: 'Montserrat';
}

nav .navconatiner .nav-links li a:hover {
  color: #fff200;
  border: none;
  background: rgba(255, 242, 0, 0.06);
}

/* Etwas kompakter auf kleinen Geräten */
@media (max-width: 700px) {
  nav {
    padding: 18px 18px 0 18px;
  }

  .hamburger-menu {
    width: 48px;
    height: 48px;
  }

  .hamburger-menu span {
    width: 28px;
  }

  nav .navconatiner .nav-links {
    width: min(88vw, 320px);
    padding-top: 80px;
  }
}

@font-face {
  font-family: 'Alarm Clock';
  font-style: normal;
  font-weight: normal;
  src: url("../assets/fonts/alarm_clock.ttf") format("truetype");
}
h1 {
  font-size: 30px;
  line-height: 30px;
  padding-bottom: 48px;
  color: #fff200;
}
h1::before {
  content: "_";
  position: absolute;
  margin-left: -22px;
}

h2 {
  color: #d2d2d2;
  text-transform: none;
  font-size: 16px;
  font-weight: 500;
  line-height: 32px;
  letter-spacing: 0.04em;
}

.spacer {
  color: #d2d2d2;
  font-size: 18px;
  padding: 12px 0;
}

.copy {
  color: #d2d2d2;
  font-size: 14px;
  font-weight: 300;
  display: block;
  line-height: 24px;
}

.imprint h2 {
  font-size: 12px;
}
.imprint .copy, .imprint a {
  font-size: 10px;
  line-height: 14px;
}

.special-image {
    display: block;
    margin: 0 auto;
    width: 320px;
    height: 320px;
}

[name="ticketsbox"] {
	width: 100%;
	height: 100%;
}

.white-background {
        background-color: #ffffff;
        padding: 10px;
        border-radius: 15px;
    }

pretix-widget a {
    color: white;
}
.pretix-widget-item-title {
color: white;
}

.submit-button {
  text-transform: uppercase;
  font-weight: 500;
  border: none;
  color: white;
  border-radius: 100px;
  padding: 15px 32px;
  text-align: center;
  text-decoration: none;
  display: block;
  flex: 1;
  align-self: center;
  font-size: 16px;
  background: #12d5dc;
  background: -webkit-gradient(linear, left top, right top, from(#12d5dc), to(#23db9e));
  background: -webkit-linear-gradient(left, #12d5dc 0%, #23db9e 100%);
  background: linear-gradient(to right, #12d5dc 0%, #23db9e 100%);
  cursor: pointer;
}


.logo-slider {
    overflow: hidden;
    width: auto;
    position: relative;
}
.logos {
    display: grid;
    grid-row-gap: 20px;
    animation: scrollLogos 10s linear infinite;
}
.logos img {
    width: 180px;
    height: auto;
}
@keyframes scrollLogos {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

/* Pop Up*/

.popup {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}
  
  .popup.hidden {
    display: none;
  }
  
  .popup-content {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    position: relative;
    width: 100%;
    max-width: 400px;
    text-align: center;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    box-sizing: border-box;
  }
  
  .popup-content h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #111;
  }
  
  .popup-content p {
    font-size: 1rem;
    color: #333;
  }
  
  .popup-button {
    margin-top: 0.5rem;
    padding: 0.75rem;
    background-color: #1e1e1e;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease;
  }
  
  .popup-button:hover {
    background-color: #444;
  }

  .popup.show {
    opacity: 1;
    pointer-events: all;
}
  
  .close-btn {
    position: absolute;
    top: 0.5rem;
    right: 0.75rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
    line-height: 1;
  }
  
  .close-btn:hover {
    color: #000;
  }
  
  /* Mobile Optimierung */
  @media (max-width: 480px) {
    .popup-content {
      padding: 1rem;
      font-size: 0.95rem;
  }
  
  .popup-content h2 {
    font-size: 1.3rem;
  }
  
  .popup-button {
    font-size: 0.95rem;
  }
  
  .close-btn {
    font-size: 1.3rem;
  }
}


.sponsor{
  height: 3000px;
  width: auto;
}


.sponsor-list {
            list-style-type: disc;
            padding-left: 20px;
            margin-bottom: 20px;
        }
        
        .sponsor-list li.copy {
            color: #d2d2d2;
            font-size: 14px;
            font-weight: 300;
            line-height: 24px;
            margin-bottom: 8px;
        }
        
        .sponsor-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 20px;
            width: 100%;
        }
        
        @media (max-width: 768px) {
            .sponsor-grid {
                grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            }
        }
        
.code-terminal {
    --term-accent: #fff200;
    --term-bg: #050505;
    --line-height: 1.45em;
    
    margin-top: -1.2rem;
    padding-top: 0;
    padding-bottom: 0;
    position: relative;
    width: min(100%, 900px);
    height: calc(var(--line-height) * 3 + 1.9rem);
    overflow: hidden;
    padding: 0.95rem 1rem;
    box-sizing: border-box;

    background:
        radial-gradient(circle at top, rgba(255, 242, 0, 0.10), transparent 55%),
        linear-gradient(180deg, #070707 0%, #030303 100%);
    border: 1px solid rgba(255, 242, 0, 0.35);
    border-radius: 14px;
    color: var(--term-accent);
    font-family: "Courier New", Courier, monospace;
    box-shadow:
        inset 0 0 25px rgba(255, 242, 0, 0.08),
        0 0 18px rgba(255, 242, 0, 0.05);
}

/* CRT-Scanlines */
.code-terminal::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        repeating-linear-gradient(
            to bottom,
            rgba(255, 242, 0, 0.06) 0px,
            rgba(255, 242, 0, 0.06) 1px,
            transparent 1px,
            transparent 3px
        );
    opacity: 0.22;
    mix-blend-mode: screen;
    animation: screenFlicker 5s linear infinite;
    z-index: 1;
}

/* leichte Vignette */
.code-terminal::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at center, transparent 45%, rgba(0, 0, 0, 0.28) 100%);
    z-index: 1;
}

.terminal-track {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform 0.72s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.terminal-line {
    min-height: var(--line-height);
    line-height: var(--line-height);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.04em;
    font-size: clamp(0.78rem, 1.25vw, 1.05rem);
    text-shadow: 0 0 7px rgba(255, 242, 0, 0.35);
    transition: opacity 0.45s ease;
}

.terminal-line:nth-child(1) {
    opacity: 0.16;
}

.terminal-line:nth-child(2) {
    opacity: 0.45;
}

.terminal-line:nth-child(3) {
    opacity: 1;
}

.line-text {
    position: relative;
    display: inline-block;
}

.cursor::after {
    content: "▋";
    margin-left: 2px;
    animation: cursorBlink 0.85s steps(1) infinite;
}

.critical {
    font-weight: bold;
    letter-spacing: 0.1em;
    animation: criticalBlink 0.22s steps(1) infinite;
}

.crashed {
    font-weight: bold;
    letter-spacing: 0.08em;
}

.glitch {
    animation: crashTextFlicker 0.11s steps(1) infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    pointer-events: none;
}

.glitch::before {
    left: 2px;
    opacity: 0.8;
    text-shadow: -1px 0 rgba(255, 255, 255, 0.65);
    clip-path: inset(0 0 55% 0);
    animation: glitchTop 0.16s linear infinite alternate-reverse;
}

.glitch::after {
    left: -2px;
    opacity: 0.65;
    text-shadow: 1px 0 rgba(255, 242, 0, 0.7);
    clip-path: inset(48% 0 0 0);
    animation: glitchBottom 0.12s linear infinite alternate-reverse;
}

.code-terminal.alarm {
    animation: alarmPulse 0.32s steps(1) infinite;
}

.code-terminal.crashing {
    animation:
        terminalShake 0.12s linear infinite,
        alarmPulse 0.28s steps(1) infinite;
}

.terminal-fade {
    position: absolute;
    left: 0;
    width: 100%;
    height: 20px;
    pointer-events: none;
    z-index: 3;
}

.terminal-fade-top {
    top: 0;
    background: linear-gradient(to bottom, #050505 0%, rgba(5, 5, 5, 0) 100%);
}

.terminal-fade-bottom {
    bottom: 0;
    background: linear-gradient(to top, #050505 0%, rgba(5, 5, 5, 0) 100%);
}

@keyframes cursorBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes criticalBlink {
    0%, 49% {
        opacity: 1;
        text-shadow:
            0 0 6px rgba(255, 242, 0, 0.9),
            0 0 14px rgba(255, 242, 0, 0.7);
    }
    50%, 100% {
        opacity: 0.12;
        text-shadow: none;
    }
}

@keyframes crashTextFlicker {
    0%, 100% { opacity: 1; }
    20% { opacity: 0.85; }
    21% { opacity: 0.3; }
    22% { opacity: 1; }
    64% { opacity: 0.55; }
    65% { opacity: 1; }
}

@keyframes glitchTop {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(-1px, -1px); }
    50%  { transform: translate(1px, 1px); }
    75%  { transform: translate(2px, -1px); }
    100% { transform: translate(-1px, 0); }
}

@keyframes glitchBottom {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(1px, 1px); }
    50%  { transform: translate(-1px, 0); }
    75%  { transform: translate(-2px, 1px); }
    100% { transform: translate(1px, -1px); }
}

@keyframes alarmPulse {
    0%, 100% {
        box-shadow:
            inset 0 0 25px rgba(255, 242, 0, 0.08),
            0 0 14px rgba(255, 242, 0, 0.04);
    }
    50% {
        box-shadow:
            inset 0 0 30px rgba(255, 242, 0, 0.18),
            0 0 28px rgba(255, 242, 0, 0.18);
    }
}

@keyframes terminalShake {
    0%   { transform: translate(0, 0); }
    25%  { transform: translate(-0.5px, 0.5px); }
    50%  { transform: translate(0.6px, -0.4px); }
    75%  { transform: translate(-0.5px, -0.3px); }
    100% { transform: translate(0.4px, 0.3px); }
}

@keyframes screenFlicker {
    0%, 100% { opacity: 0.20; }
    10% { opacity: 0.24; }
    11% { opacity: 0.18; }
    28% { opacity: 0.23; }
    29% { opacity: 0.20; }
    70% { opacity: 0.26; }
    71% { opacity: 0.18; }
}

@media (max-width: 700px) {
    .code-terminal {
        padding: 0.8rem 0.85rem;
        height: calc(var(--line-height) * 3 + 1.6rem);
        border-radius: 12px;
    }

    .terminal-line {
        font-size: clamp(0.68rem, 2.5vw, 0.9rem);
        letter-spacing: 0.02em;
    }
}

@media (max-width: 420px) {
    .terminal-line {
        font-size: 0.68rem;
    }
}

.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger-menu span {
  width: 25px;
  height: 3px;
  background-color: #fff200;
  margin: 5px 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.nav-links {
  display: flex;
  list-style: none;
  padding-left: 0;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  padding: 15px;
  display: block;
}

/* Nur mobil eingreifen, damit die Haupt-CSS erhalten bleibt */
@media (max-width: 960px) {
  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 32px;
    background-color: transparent;
  }

/* =========================================================
   HAMBURGER MENU
========================================================= */

.hamburger-menu {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  width: 44px;
  height: 44px;
  z-index: 1002;
}

.hamburger-menu span {
  width: 26px;
  height: 3px;
  background-color: #fff200;
  margin: 4px 0;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-links {
  display: flex;
  list-style: none;
  padding-left: 0;
}

.nav-links li a {
  text-decoration: none;
  color: white;
  padding: 15px;
  display: block;
}

/* Mobile-Menü */
@media (max-width: 960px) {
  nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 18px 24px;
    background-color: transparent;
    position: absolute;
    width: 100%;
    z-index: 1000;
  }

  .hamburger-menu {
    display: flex;
  }

  .nav-links {
    display: flex;
    position: absolute;
    top: 72px;
    left: 24px;
    right: 24px;
    width: auto;
    background-color: rgba(8, 9, 13, 0.95);
    border: 1px solid rgba(255, 242, 0, 0.2);
    border-radius: 14px;
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 0;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    z-index: 1001;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links li a {
    padding: 14px 18px;
    color: white;
    border-bottom: none;
  }

  .nav-links li a:hover {
    color: #fff200;
    background: rgba(255, 242, 0, 0.06);
  }

  .hamburger-menu.active span:nth-child(1) {
    transform: translateY(11px) rotate(45deg);
  }

  .hamburger-menu.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active span:nth-child(3) {
    transform: translateY(-11px) rotate(-45deg);
  }
}
}

/* =========================================================
   SPACENIGHT MENU - EIGENE KLASSEN, OHNE KONFLIKTE
========================================================= */

.sn-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 20000;
}

/* Button links oben */
.sn-menu-toggle {
  position: fixed;
  top: 20px;
  left: 20px;
  width: 56px;
  height: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 20002;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.35s ease;
}

/* Die 3 gelben horizontalen Linien */
.sn-menu-toggle span {
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 999px;
  background: #fff200;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

/* Beim Öffnen 90° drehen */
body.sn-menu-open .sn-menu-toggle {
  transform: rotate(90deg);
}

/* Seitenmenü von rechts */
.sn-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(85vw, 340px);
  height: 100vh;
  padding: 88px 0 24px 0;
  background: rgba(8, 9, 13, 0.98);
  border-left: 1px solid rgba(255, 242, 0, 0.2);
  box-shadow: -12px 0 32px rgba(0, 0, 0, 0.35);
  transform: translateX(110%);
  transition: transform 0.35s ease;
  z-index: 20001;
}

/* Offen */
body.sn-menu-open .sn-menu-panel {
  transform: translateX(0);
}

.sn-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sn-menu-list li {
  margin: 0;
  padding: 0;
}

.sn-menu-list li a {
  display: block;
  width: 100%;
  padding: 16px 24px;
  text-align: left;
  color: #ffffff;
  text-decoration: none;
  border: none;
  font-family: 'Montserrat';
  letter-spacing: 0.008em;
}

.sn-menu-list li a:hover {
  color: #fff200;
  background: rgba(255, 242, 0, 0.06);
  border: none;
}

/* Optional: Hintergrund sperren */
body.sn-menu-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .sn-menu-toggle {
    top: 16px;
    left: 16px;
    width: 50px;
    height: 50px;
  }

  .sn-menu-toggle span {
    width: 28px;
  }

  .sn-menu-panel {
    width: min(88vw, 320px);
    padding-top: 80px;
  }
}
/* =========================================================
   FINAL OVERRIDES – SPACENIGHT MENU + TERMINAL
========================================================= */

nav.sn-nav {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  background: transparent !important;
  z-index: 30000 !important;
  pointer-events: none;
}

.sn-menu-toggle {
  position: fixed !important;
  top: 22px !important;
  left: 22px !important;
  right: auto !important;
  width: 56px !important;
  height: 56px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  z-index: 30002 !important;
  -webkit-appearance: none;
  appearance: none;
  transition: transform 0.38s ease;
}

.sn-menu-toggle:focus {
  outline: none;
}

.sn-menu-toggle span {
  display: block !important;
  width: 32px !important;
  height: 3px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  background: #fff200 !important;
  opacity: 1 !important;
  box-shadow: 0 0 10px rgba(255, 242, 0, 0.18);
  transition: transform 0.38s ease, opacity 0.25s ease;
}

body.sn-menu-open .sn-menu-toggle {
  transform: rotate(90deg);
}

.sn-menu-panel {
  position: fixed !important;
  top: 76px !important;
  left: 22px !important;
  right: auto !important;
  width: min(78vw, 340px) !important;
  max-height: calc(100vh - 100px) !important;
  overflow-y: auto;
  padding: 14px 0 !important;
  margin: 0 !important;
  background: rgba(8, 9, 13, 0.96) !important;
  border: 1px solid rgba(255, 242, 0, 0.28) !important;
  border-radius: 18px !important;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.38) !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-18px) scaleY(0.92) !important;
  transform-origin: top left !important;
  transition:
    opacity 0.28s ease,
    transform 0.38s cubic-bezier(0.22, 0.61, 0.36, 1),
    visibility 0.28s ease;
  z-index: 30001 !important;
}

body.sn-menu-open .sn-menu-panel {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translateY(0) scaleY(1) !important;
}

.sn-menu-list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sn-menu-list li {
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.28s ease, transform 0.38s ease;
}

body.sn-menu-open .sn-menu-list li {
  opacity: 1;
  transform: translateX(0);
}

body.sn-menu-open .sn-menu-list li:nth-child(1) { transition-delay: 0.04s; }
body.sn-menu-open .sn-menu-list li:nth-child(2) { transition-delay: 0.08s; }
body.sn-menu-open .sn-menu-list li:nth-child(3) { transition-delay: 0.12s; }
body.sn-menu-open .sn-menu-list li:nth-child(4) { transition-delay: 0.16s; }
body.sn-menu-open .sn-menu-list li:nth-child(5) { transition-delay: 0.20s; }
body.sn-menu-open .sn-menu-list li:nth-child(6) { transition-delay: 0.24s; }
body.sn-menu-open .sn-menu-list li:nth-child(7) { transition-delay: 0.28s; }
body.sn-menu-open .sn-menu-list li:nth-child(8) { transition-delay: 0.32s; }
body.sn-menu-open .sn-menu-list li:nth-child(9) { transition-delay: 0.36s; }

.sn-menu-list li a {
  display: block !important;
  width: 100% !important;
  padding: 14px 22px !important;
  border: none !important;
  color: #ffffff !important;
  text-decoration: none !important;
  font-family: 'Montserrat' !important;
  font-size: 15px !important;
  letter-spacing: 0.04em;
  transition: color 0.2s ease, background 0.2s ease, padding-left 0.2s ease;
}

.sn-menu-list li a:hover,
.sn-menu-list li a:focus {
  color: #fff200 !important;
  background: rgba(255, 242, 0, 0.06) !important;
  padding-left: 28px !important;
  outline: none;
}

body.sn-menu-open {
  overflow-y: scroll !important;
}

@media (max-width: 700px) {
  .sn-menu-toggle {
    top: 16px !important;
    left: 16px !important;
    width: 50px !important;
    height: 50px !important;
  }

  .sn-menu-toggle span {
    width: 29px !important;
  }

  .sn-menu-panel {
    top: 68px !important;
    left: 16px !important;
    width: min(72vw, 250px) !important;
    max-height: calc(100vh - 84px) !important;
  }
}

body main header .time-wrap {
  margin-bottom: 1.35rem !important;
}

.sn-menu-panel {
  width: min(56vw, 255px) !important;
  height: auto !important;
  max-height: calc(100vh - 100px) !important;
  overflow-y: auto !important;
}

.code-terminal {
  --term-accent: #fff200;
  position: relative;
  width: min(100%, 900px);
  height: calc(var(--line-height) * 3 + 1.2rem);
  overflow: hidden;
  padding: 0.4rem 0 !important;
  box-sizing: border-box;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: #fff200 !important;
}

.code-terminal::before,
.code-terminal::after,
.terminal-fade {
  display: none !important;
  content: none !important;
}

.terminal-track {
  z-index: 1;
}

.terminal-line {
  min-height: var(--line-height);
  line-height: var(--line-height);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.04em;
  font-size: clamp(0.82rem, 1.25vw, 1.05rem);
  color: #fff200 !important;
  opacity: 1 !important;
  text-shadow: none !important;
}

.terminal-line:nth-child(1),
.terminal-line:nth-child(2),
.terminal-line:nth-child(3) {
  opacity: 1 !important;
}

.line-text,
.line-text::before,
.line-text::after,
.cursor::after,
.critical,
.crashed,
.glitch,
.glitch::before,
.glitch::after {
  color: #fff200 !important;
  text-shadow: none !important;
}

.critical {
  animation: criticalBlink 0.22s steps(1) infinite;
}

.glitch::before,
.glitch::after {
  opacity: 0.9;
}

.code-terminal.alarm,
.code-terminal.crashing {
  animation: none !important;
}

@keyframes criticalBlink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0.18;
  }
}
