/* Local Font Imports */

@font-face {
    font-family: 'Markus Ott';
    src: url('fonts/MarkusOtt.woff2') format('woff2'),
         url('fonts/MarkusOtt.woff') format('woff'),
         url('fonts/MarkusOtt.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Replica Bold';
    src: url('fonts/ReplicaBold.woff2') format('woff2'),
         url('fonts/ReplicaBold.woff') format('woff'),
         url('fonts/ReplicaBold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'OCR-X';
    src: url('fonts/OCRX.woff2') format('woff2'),
         url('fonts/OCRX.woff') format('woff'),
         url('fonts/OCRX.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* 2. Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

body, html {
    height: 100%;
    font-family: 'Replica Bold', Arial, sans-serif;
    overflow-x: hidden;
}

html, body {
    height: -webkit-fill-available; /* iOS Safari Fix */
  }

/* Background Image Slideshow */
.slideshow {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.bg-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.bg-img.active {
    opacity: 1;
}

.desktop, .mobile {
    display: block;
}

/* Container for all content */
.content-container {
    position: relative;
    z-index: 10;
    min-height: 100dvh; /* Neue Einheit für „dynamic viewport height“ */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 10px !important;
    padding-bottom: 40px !important;
}

/* Header Section */
.header {
    text-align: center;
    padding: 0px 20px 20px;
    color: white;
    flex: 0 0 auto;
    margin-top: 0px !important;          
    padding-top: 0 !important;
}

.main-title {
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;  
    text-rendering: optimizeLegibility; 
    font-smooth: always;                 
}


.main-title,
.footer-title {
    transform: translateY(-0.1em); /* schiebt Text 10% nach oben */
    line-height: 1;               /* reduziert extra Abstand */
    display: block;
    overflow: hidden; 
  display: block;
  line-height: 0.9;   /* enger, unter 1 */
  text-edge: cap alphabetic; /* oder */
  leading-trim: both;
}

.main-title {
    font-family: 'Markus Ott', Arial, sans-serif !important;
    font-size: 8rem !important;
    font-weight: 900;
    letter-spacing: 8px;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
}

.main-title {
  transform: translateY(-5px);
}

.footer-title {
  transform: translateY(5px);
}



.description-container {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;           
    align-items: flex-start !important;
    width: 100% !important;      
    max-width: 1000px !important;  
    margin: 10px auto 0 auto !important;
    gap: 200px !important;
    padding: 0 15px !important;                  

}

.description-left {
    flex: 1 1 440px !important;                  
    max-width: 440px !important;  /* ANPASSBAR: Maximale Breite pro Text */
    font-family: 'Replica Bold', Arial, sans-serif !important;
    font-weight: bold !important;
    font-size: 1.3rem !important;
    line-height: 1 !important;
    text-align: right !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 200px !important;  
    cursor: default !important; /* Standard-Pfeil wieder aktiv */
    transition: color 0.3s ease !important;                 /* HINZUGEFÜGT: Mindestbreite */
}

.description-left:hover {
    color: #00FF26 !important;                              /* GRÜNE Hover-Farbe */
}

.description-right {
    flex: 1 1 440px !important;                   /* GEÄNDERT: können schrumpfen (1 1 statt 0 0) */
    max-width: 440px !important;  /* ANPASSBAR: Maximale Breite pro Text */
    font-family: 'Replica Bold', Arial, sans-serif !important;
    font-weight: bold !important;
    font-size: 1.3rem !important;
    line-height: 1 !important;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    min-width: 200px !important;   
    cursor: default !important; /* Standard-Pfeil wieder aktiv */
    transition: color 0.3s ease !important;                /* HINZUGEFÜGT: Mindestbreite */
}

.description-right:hover {
    color: #00FF26 !important;                              /* GRÜNE Hover-Farbe */
}

/* Middle Section */
.middle-section {

    flex: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    margin-top: -200px;          /* GEÄNDERT: von 20px zu -200px */
    padding-top: 0;
}


/* Scrolling Banner */
.scrolling-banner {
    width: 100%;
    height: 40px;
    background: #ffffff;
    overflow: hidden;
    position: fixed !important;      /* GEÄNDERT: zu fixed */
    top: 50vh !important;            /* GEÄNDERT: 50% der Bildschirmhöhe */
    left: 0 !important;              
    transform: translateY(-50%) !important;  /* Zentriert den Banner */
    z-index: 15 !important;          /* HINZUGEFÜGT: über allem anderen */
    /* Alle margin/padding löschen */
}

.scrolling-text {
    position: absolute;
    white-space: nowrap;
    color: #FF4AB1;
    font-family: 'OCR-X', monospace;
    font-size: 2rem !important;
    font-weight: regular;
    line-height: 40px !important;
    left: 0;
    top: 0;
    animation: scrollLeft 120s linear infinite !important;  /* HIER: 300s statt 120s */
    animation-delay: 0s !important;
}

/* Entfernen Sie diese Zeilen: */
/* .scrolling-text::after { ... } */

@keyframes scrollLeft {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }  /* Nur bis zur Hälfte da Text doppelt lang */
}

.year-sup {
    font-size: 0.6em;
    vertical-align: super;
    line-height: 0;
}

/* Footer Section */

.footer-title-link {
    all: unset;       /* entfernt alle Standard-Link-Styles */
    cursor: pointer;  /* damit es klickbar bleibt */
    display: inline;  /* damit es wie Text bleibt */
}

.footer {
    text-align: center;
    padding-bottom: 0px;
    color: white;
    flex: 0 0 auto;
    width: 100% !important;             /* GEÄNDERT: von auto/inline-block zu 100% */
    margin: 0 !important;
    display: block !important;   
}

.footer-description {
    margin-bottom: -10px;
    font-family: 'Replica Bold', Arial, sans-serif !important;
    font-weight: bold !important;
    font-size: 1.3rem !important;
    line-height: 1 !important;
    text-align: center !important;
    color: white !important;
    display: block !important;   

}

.footer-title {
    font-family: 'Markus Ott', Arial, sans-serif !important;
    font-size: 8rem !important;
    line-height: 1 !important;
    font-weight: 900;
    letter-spacing: 8px;
    margin: 0 !important;               /* GEÄNDERT: Komplett alle Margins entfernt */
    padding: 0 !important;
    margin-top: 0px !important;         /* GEÄNDERT: von 20px zu 0px */
    cursor: pointer !important;
    transition: color 0.3s ease !important;
    position: static !important;        /* GEÄNDERT: von relative zu static */
    transform: none !important;         /* ENTFERNT: komplizierte Positionierung */
    width: auto !important;   
    margin-top: -5px !important;
}


.footer-title:hover {
    color: #00FF26 !important;                              /* GRÜNE Hover-Farbe */
}

.media-footer {
    display: none;
    font-family: 'Replica Bold', Arial, sans-serif !important;
    font-weight: bold !important;
    font-size: 1.3rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
    margin: 0 !important;
    padding: 0 !important;
    color: white !important;
}

/* Mobile Styles */



@media (max-width: 650px) {

    .hide-mobile {
        display: none !important;
    }

    
    /* Rest bleibt gleich... */
    .main-title, .footer-title {
        font-size: 4rem !important;
        letter-spacing: 4px !important;
    }

    @media (max-width: 650px) {
        .header {
            text-align: center;
            color: white;
            flex: 0 0 auto;
            /* margin-top: 0px !important; */   /* entfernen */
            /* padding-top: 0 !important; */    /* entfernen */
            padding-top: 25px !important;     /* gewünschter Abstand nach unten */
        }
    }

    .description-container {
        flex-direction: column !important;
        gap: 15px !important;
        margin: 10px auto 0 auto !important;
        padding: 0 20px !important;
    }
    
    .description-left, .description-right {
        flex: none !important;
        width: 100% !important;
        font-size: 1rem !important;
        text-align: center !important;
        max-width: none !important;
    }

    

    .footer-title {
        color: #00FF26 !important;
        font-size: 4rem !important;
        letter-spacing: 4px !important;
    }
    
    .footer-title:hover {
        color: #00FF26 !important;
    }
    
    .footer-title-link {
        color: #00FF26 !important;
    }

    .scrolling-banner {
        height: 35px;
    }

    .scrolling-text {
        font-size: 1.5rem !important;
        line-height: 35px !important;
    }

    .footer-description {
        margin-bottom: 1px;
        auto 0 auto !important;
        font-size: 1rem !important;
    }
}



