/* Base styles */
:root {
    --color-heading: #374151;
    --color-text: #4B5563;

    --color-background: #f5f5f5;
    /* Background */
    /*hellgrau original*/
    /*--color-background: #f8f8f8; */
    /*leichtes beige*/
    /*--color-background: #eae1cf; */
    /*white Rock*/
    /*--color-background: #ffffff;*/
    /*weiss*/
    /*--color-background: #213c4e;*/
    /*--color-background: #536c7c;*/

    --color-navbar-background: rgba(255, 255, 255, 0.95);
    /*original*/
    /*--color-navbar-background: rgba(252, 249, 244, 0.95); */
    --color-navbar-background: #fdfdfd;


    --nav-height-mobile: 4rem;
    --nav-height-desktop: 5rem;
    --bottom-nav-height: 4rem;
    /*--color-logo: #93a492; /* /*grün*/
    /*--color-logo: #213c4e;*/
    /*--color-logo: #c4b99c; */
    /*beige*/
    /*--color-logo: #536c7c;*/
    /*blau*/
    /*--color-logo: #eae1cf; */
    /*white Rock*/
    /*--color-logo: #e4d2ae; */
    /* starkeswhite Rock*/
    --color-logo: #c6b79b;
    /* */


    --infobox-background: #ffffff;
    /*--infobox-background: #eae1cf;*/



    --color-progressline-inactive: #e0e0e0;

    --color-progressline-item-active: #f8fdf8;
    /*grün*/
    --color-progressline-item-active: #e4d2ae34;
    /*white Rock*/
    --color-progressline-item-active: #e4d2ae34;
    /*white Rock*/

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/*Reserviert den Platz für die Scrollbar, aber zeigt sie nur bei Bedarf.*/
html {
    scrollbar-gutter: stable;
}

/*04.08.25*/
html,
body {
    height: 100% - var(--nav-height-desktop);
    /* Damit 100% Höhe überhaupt funktioniert */
    margin: 0;
}


body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text);
    line-height: 1.6;

    /*04.08.25*/
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    /* Höhe immer mindestens Bildschirmhöhe */
}

#content {
    flex: 1;
    /* füllt den Platz zwischen Header und Footer */
}

#iframe-zivil {
    height: 990px
}


#iframe-faest {
    height: 1140px
}





/* Buttons */
.mybutton {
    cursor: pointer;
    background-color: transparent;
    border: none;
    outline: none;
    background-color: var(--color-logo);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 8px;
    font-size: 110%;
    transition: transform 0.4s ease;
}

.mybutton:hover {
    cursor: pointer;
    background-color: var(--color-logo);
    color: white;
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

.mybutton2 {
    cursor: pointer;
    background-color: transparent;
    border: solid;
    outline: none;
    color: var(--color-logo);
    padding: 1.5rem 2rem;
    border-radius: 8px;
    /*font-size: 16px;*/
    font-size: 110%;
    font-weight: 500;
    transition: transform 0.4s ease;
}

.mybutton2:hover {
    cursor: pointer;
    background-color: transparent;
    color: var(--color-logo);
    transform: scale(1.05);
    transition: transform 0.4s ease;
}

.mybutton2:hover::after {
    transition: transform 0.4s ease;
}











/* Navigation */
#header-placeholder {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar {
    width: 100%;
    background-color: var(--color-navbar-background);
    /*background-color: rgba(234, 225, 207, 0.7);*/
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    height: var(--nav-height-desktop);
}

.nav-container {
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
}

.nav-left,
.nav-center,
.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0.75rem;
}

.nav-left {
    justify-self: start;
}

.nav-center {
    justify-self: center;
    position: relative;
}

.nav-right {
    justify-self: end;
}


.navbar a {
    color: var(--color-heading);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s ease;
}

.navbar a {
    position: relative;
}

.navbar a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom center;
    transition: transform 0.3s ease;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-logo) 15%, var(--color-logo) 85%, transparent 100%);

}

.navbar a:hover {
    color: var(--color-heading);
}

.navbar a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom center;
    background: linear-gradient(90deg, transparent 0%, var(--color-logo) 15%, var(--color-logo) 85%, transparent 100%);
}


/* Aktiver Tab: Test*/
.navbar a.active {
    color: var(--color-heading);
}

/* Aktiver Tab: Unterstrich*/
.navbar a.active::after {
    transform: scaleX(1);
    background: linear-gradient(90deg, transparent 0%, var(--color-logo) 15%, var(--color-logo) 85%, transparent 100%);
}






/* Logo Styles */
.nav-logo {
    height: 110px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.logo-berg-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.berg-bg {
    position: absolute;
    left: 50%;
    top: 0px;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
}

.logo-link {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.nav-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.logo-link::after {
    display: none;
    /* Entfernt die Hover-Linie für das Logo */
}








/* Mobile Navigation Styles */
.mobile-header {
    position: fixed;
    top: 2rem;
    left: 0;
    right: 0;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 0.3s ease;
    pointer-events: none;
}

.mobile-header.hidden {
    transform: translateY(-150%);
    opacity: 0;
}

.mobile-logo-link {
    pointer-events: auto;
    /* Macht den Link wieder klickbar */
}

.mobile-logo-link .nav-logo {
    height: 52px;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.mobile-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--bottom-nav-height);
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 -2px 4px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-heading);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem;
    min-width: 60px;
    text-align: center;
}

.mobile-nav-logo {
    margin-top: -3.5rem;
    border-radius: 50%;
    padding: 0;
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.1);
    width: 90px;
    /* Gleiche Grösse wie das Logo */
    height: 90px;
    /* Gleiche Grösse wie das Logo */
    display: flex;
    justify-content: center;
    align-items: center;
    /*overflow: hidden; 01.09.25*/
    overflow: visible;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    /* Für ältere Browser */
    background-color: rgba(255, 255, 255, 0.5);


    /* Neues Hintergrundbild */
    position: relative;
    --berg-opacity: 1;
    /* CSS Custom Property */
}

.mobile-nav-logo::before {
    content: '';
    position: absolute;
    top: -80px;
    /* Erweitert das Bild nach oben */
    left: -85px;
    /* Erweitert das Bild nach links */
    right: -85px;
    /* Erweitert das Bild nach rechts */
    bottom: -50px;
    /* Erweitert das Bild nach unten */
    background-image: url('../bilder/berg.svg');
    background-size: cover;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    /* Wichtig hinzufügen */
    z-index: -1;
    /* Hinter dem Logo */
    pointer-events: none;
    /* Berg ist nicht klickbar */
    opacity: var(--berg-opacity);
    transition: opacity 0.3s ease;
}

.nav-logo-small {
    height: 90px;
    width: 90px;
    margin: 0;
    padding: 0;
    object-fit: cover;
    display: block;
    aspect-ratio: 1 / 1;
    pointer-events: auto;
    /* Logo bleibt klickbar */
}




/* Content */
.content {
    max-width: 800px;
    margin: calc(var(--nav-height-mobile) + 4rem) auto 2rem;
    padding: 0 1rem;
    animation: fadeIn 0.8s ease-out;
    text-align: justify;
}













@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* Textstyle: Markdeep Customization */
.markdeep h1,
.markdeep h2,
.markdeep h3 {
    color: var(--color-heading);
    font-weight: 600;
    margin: 2rem 0 1rem;
    position: relative;
}

.markdeep h1 {
    font-size: 1.8rem;
    text-align: center;
    margin: 0 auto;
    margin-bottom: 2rem;
    width: fit-content;
}

.markdeep h1::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-logo) 15%, var(--color-logo) 85%, transparent 100%);
}

.markdeep h2 {
    font-size: 1.4rem;
    margin-top: 3rem;
}

#ueber-uns {
    text-align: center;
}

.markdeep p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.markdeep em {
    color: var(--color-heading);
    font-style: italic;
    font-weight: 500;
}

.markdeep a {
    color: var(--color-heading);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    transition: color 0.3s ease;
}

.markdeep a:hover {
    color: #000;
    color: var(--color-heading);
}

.markdeep a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom center;
    transition: transform 0.3s ease;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-logo) 15%, var(--color-logo) 85%, transparent 100%);
}

.markdeep a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom center;
    background: linear-gradient(90deg, transparent 0%, var(--color-logo) 15%, var(--color-logo) 85%, transparent 100%);
}

.markdeep ul {
    list-style: none;
    padding-left: 1.5rem;
}

.markdeep ul li {
    position: relative;
    margin-bottom: 0.8rem;
}

.markdeep ul li::before {
    content: '•';
    color: var(--color-heading);
    position: absolute;
    left: -1.5rem;
    font-weight: bold;
}

/* Footer */
/*
footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.875rem;
    color: var(--color-text);
    opacity: 0.5;
}
*/

/* Footer bleibt am Ende des Inhalts oder unten am Bildschirm */
footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.875rem;
    color: var(--color-text);
    opacity: 0.5;
    margin-top: auto;
    /* Wichtig: drückt Footer nach unten */
}

/* Auf Mobile: Abstand von unten (z.B. für Navigation Bars) */
@media (max-width: 767px) {
    footer {
        margin-bottom: 5rem;
    }
}





/* Responsive Design */
/* Mobile-spezifische Content-Anpassungen */
@media (max-width: 768px) {

    .nav-left,
    .nav-right {
        position: static;
        padding: 0.25rem;
    }

    .navbar {
        background-color: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        box-shadow: none;
    }

    .nav-container {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.5rem;
    }

    .nav-center {
        order: -1;
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .nav-left,
    .nav-right {
        gap: 1rem;
    }

    .desktop-only {
        display: none;
    }

    .mobile-nav {
        display: flex;
        z-index: 99999;
    }

    .content {
        margin-top: 1rem;
        /*
        margin-bottom: calc(var(--bottom-nav-height));
        padding-bottom: var(--bottom-nav-height);
        */
    }

    .content {
        margin: 0.5rem auto 0;
        /*padding: 0 1rem calc(var(--bottom-nav-height) + 1rem) 1rem; */
        padding: 0 1rem 0 1rem;
    }


    /* Überschrift etwas kleiner auf Mobile */
    .markdeep h1 {
        margin-top: 0.5rem;
        margin-bottom: 1.5rem;
    }

    #iframe-zivil {
        height: 1090px
    }

    #iframe-faest {
        /*height: 1480px*/
        height: 1500px
    }
}


/* Desktop-only Layout MITTELGROSS*/
@media (min-width: 768px) {
    .navbar a {
        font-size: 18px;
    }

    .nav-container {
        justify-content: center;
        gap: 6rem;
        grid-template-columns: 250px auto 250px;
        /* Feste, gleiche Breiten */
        max-width: 760px;
    }

    .nav-left {
        justify-self: end;
        justify-content: flex-end;
        padding-right: 1.5rem;
        width: 300px;
        /* Explizite Breite */
    }

    .nav-center {
        justify-self: center;
    }

    .nav-right {
        justify-self: start;
        justify-content: flex-start;
        padding-left: 1.5rem;
        width: 300px;
        /* Explizite Breite */
    }

    .content {
        margin-top: calc(var(--nav-height-mobile) + 5rem);
    }

    .desktop-only {
        display: flex;
    }

    .mobile-nav {
        display: none;
    }


    .berg-bg {

        width: 250px;
    }

    .logo-link {
        top: 33px
    }

    .nav-logo {
        height: 75px;
        width: 75px;
    }


}


/* Desktop-only Layout GROSS */
@media (min-width: 1024px) {
    .navbar a {
        font-size: 20px;
    }


    .nav-container {
        grid-template-columns: 300px auto 300px;
        /* Feste, gleiche Breiten */
        max-width: 800px;
        margin: 0 auto;
    }

    .nav-left {
        justify-content: flex-end;
        /* Links rechtsbündig */
        padding-right: 3.5rem;
        /* Abstand zum Berg */
        width: 350px;
        /* Explizite Breite */
    }

    .nav-right {
        justify-content: flex-start;
        /* Rechts linksbündig */
        padding-left: 3.5rem;
        /* Abstand zum Berg */
        width: 300px;
        /* Explizite Breite */
    }

    .nav-center {
        justify-self: center;
        padding: 0;
    }

    .content {
        margin-top: calc(var(--nav-height-desktop) + 5rem);
    }

    .markdeep h1 {
        font-size: 2.4rem;
    }

    .markdeep h2 {
        font-size: 1.8rem;
    }




    .logo-berg-wrapper {
        top: 10px;
    }

    .berg-bg {
        width: 300px;
    }


    .logo-link {
        top: 35px
    }

    .nav-logo {
        height: 90px;
        width: 90px;
    }

}











/* LOGIN */
input[type="password"],
input[type="text"] {
    font-size: 16px;
    /* Mindestens 16px verhindert Auto-Zoom */
    transform-origin: left top;
    zoom: 1;
}


.nav-links a.protected:hover {
    background-color: #333;
}

.nav-links a.authenticated {
    opacity: 1;
    cursor: pointer;
    background-color: #2ecc71;
}

.login-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.login-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 300px;
}

.login-content h3 {
    margin-top: 0;
    color: #333;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 0.5rem;
}

.btn:hover {
    background-color: #2980b9;
}

.btn-cancel {
    background-color: #95a5a6;
}

.btn-cancel:hover {
    background-color: #7f8c8d;
}

.error-message {
    color: #e74c3c;
    margin-top: 0.5rem;
    display: none;
}

.nav-links a.protected {
    opacity: 0.5;
    cursor: not-allowed;
}


.auth-status {
    background-color: #e8f5e8;
    border: 1px solid #c3e6c3;
    color: #2d5a2d;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: none;
}

.logout-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    float: right;
}

.logout-btn:hover {
    background-color: #c0392b;
}













/*LIST STYLES*/
.info-list-static {
    max-width: 600px;
    margin: auto;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
}

.info-item-static {
    display: flex;
    align-items: center;
}

.info-item-static svg {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
    flex-shrink: 0;
    /*stroke: #4e944f;*/
    stroke: var(--color-logo);
    stroke-width: 1.5px;
}

.info-text-static {
    font-size: 1.1rem;
}










/*TIMELINE STYLES*/
/* NEUE TIMELINE STYLES */
.info-list {
    max-width: 600px;
    margin: auto;
    background: var(--infobox-background);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    gap: 1.5rem;
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 4rem;
}

.info-list b {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    margin-left: -1rem;
}

/* Timeline-Linie */
.timeline-line {
    position: absolute;
    left: 2.5rem;
    top: 4rem;
    width: 3px;
    background-color: var(--color-progressline-inactive);
    border-radius: 2px;
    z-index: 1;
}

.timeline-line-progress {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-logo);
    border-radius: 2px;
    transition: height 0.3s ease;
    height: 0%;
}

/* NEUES FLEXBOX LAYOUT */
.info-item {
    display: flex;
    align-items: flex-start;
    /* Wichtig für responsive Verhalten */
    position: relative;
    z-index: 2;
    margin-left: -1rem;
    margin-bottom: 4rem;
}

/* Icon-Container */
.info-item .icon-container {
    width: 40px;
    height: 40px;
    background-color: var(--infobox-background);
    border: 2px solid var(--color-progressline-inactive);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: border-color 0.3s ease, background-color 0.3s ease;
    z-index: 3;
    position: relative;
}

/* Weißer Hintergrund INNERHALB des Icons um die Linie zu verdecken */
.info-item .icon-container::before {
    content: '';
    position: absolute;
    width: 36px;
    /* Etwas kleiner als der Container */
    height: 36px;
    background-color: var(--infobox-background);
    border-radius: 50%;
    z-index: -1;
    /* Hinter dem Icon-Inhalt */
}

.info-item.active .icon-container {
    border-color: var(--color-logo);
    background-color: var(--color-progressline-item-active);
}

.info-item svg {
    width: 25px;
    height: 25px;
    stroke: var(--color-progressline-inactive);
    stroke-width: 1.5px;
    transition: stroke 0.3s ease, color 0.3s ease;
    color: #e0e0e0;
}

.info-item.active svg {
    stroke: var(--color-logo);
    color: var(--color-logo);
}

/* Content-Wrapper für bessere Struktur */
.info-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-left: 1rem;
    margin-top: 0.4rem;

    /*
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    overflow-x: hidden;
    */
}

/* Header-Bereich mit Zeit und Text */
.info-header {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 0.5rem;
}

.info-time {
    font-size: 1.1rem;
    color: #e0e0e0;
    font-weight: 600;
    flex-shrink: 0;
    min-width: 60px;

}

.info-item.active .info-time {
    color: var(--color-logo);
}

/* ENTFERNEN WENN ZEITEN FÜR FÄSCHT KLAR*/
.seite-faescht .info-time {
    opacity: 0;
}

.info-text {
    font-size: 1.1rem;
    flex: 1;
    line-height: 1.4;
}

/* Description wird normal positioniert und rutscht automatisch nach unten */
.info-description {
    font-size: 0.9em;
    color: var(--color-text);
    opacity: 0.7;
    font-style: italic;
    margin-left: calc(60px + 2rem);
    /* Gleicher Einzug wie info-text */
    margin-top: 0.3rem;
    line-height: 1.3;
}

/* Linien zwischen Icons - Linie geht NUR bis zum oberen Rand des nächsten Icons */
.info-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    /* Startet unter dem aktuellen Icon */
    width: 2px;
    height: calc(100% + 3rem);
    /* Endet am oberen Rand des nächsten Icons */
    background-color: var(--color-progressline-inactive);
    z-index: 1;
    transition: background-color 0.4s ease;
}

.info-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 40px;
    /* Startet unter dem aktuellen Icon */
    width: 2px;
    height: calc(100% + 3rem);
    /* Endet am oberen Rand des nächsten Icons */
    background: var(--color-logo);
    z-index: 2;
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 0.6s ease;
}

.info-item.line-active:not(:last-child)::before {
    transform: scaleY(1);
}

/* Mobile Anpassungen */
@media (max-width: 768px) {
    .info-header {
        flex-direction: row;
        /* GEÄNDERT: row statt column */
        align-items: flex-start;
        /* Text startet auf derselben Zeile wie Zeit */
        gap: 1rem;
        /* Kleinerer Abstand auf Mobile */
    }

    .info-time {
        flex-shrink: 0;
        /* Zeit behält ihre Breite */
        min-width: 50px;
        /* Kleinere Mindestbreite auf Mobile */
    }

    .info-text {
        flex: 1;
        /* Text nimmt restlichen Platz und kann umbrechen */
    }

    .info-description {
        margin-left: calc(50px + 1rem);
        /* Einzug entsprechend der Zeit-Breite */
        margin-top: 0.5rem;
    }

    .info-item {
        margin-bottom: 3rem;
    }

    .info-list {
        padding: 1.5rem;
        padding-left: 3rem;
    }
}






/*OLD STYLES*/
.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/*
        .intro-section {
            text-align: center;
        }
        
        .intro-section h1 {
            color: #2c3e50;
            font-size: 3rem;
            font-weight: 300;
            letter-spacing: 3px;
            margin-bottom: 20px;
        }
        
        .intro-section p {
            color: #7f8c8d;
            font-size: 1.2rem;
            margin-bottom: 40px;
        } */

.scroll-hint {
    color: #95a5a6;
    font-size: 1rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

.timeline-section {
    position: relative;

}

.container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline-title {
    text-align: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 50px;
    font-weight: 200;
    letter-spacing: 2px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.timeline-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline {
    position: relative;
    padding: 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 35px;
    top: 0;
    bottom: 0;
    width: 3px;
    /*background: linear-gradient(to bottom, #e74c3c, #f39c12, #f1c40f, #2ecc71, #3498db, #9b59b6, #e91e63, #607d8b); */
    background: linear-gradient(to bottom, var(--color-logo), white);

    opacity: 0.6;
    z-index: 0;
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
    opacity: 0.3;
    transform: translateX(-50px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 10px 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.timeline-item.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.timeline-item.passed {
    opacity: 0.6;
    transform: translateX(-20px) scale(0.98);
}

.timeline-item.upcoming {
    opacity: 0.2;
    transform: translateX(20px) scale(0.95);
}

.icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    margin-right: 30px;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
}

.timeline-item.active .icon {
    transform: scale(1.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.time {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    min-width: 100px;
    margin-right: 30px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.timeline-item.active .time {
    color: var(--color-logo);
    font-size: 1.5rem;
}

.title {
    flex: 1;
    font-size: 1.3rem;
    font-weight: 500;
    color: #34495e;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.timeline-item.active .title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.4rem;
}

.progress-indicator {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.progress-indicator.visible {
    opacity: 1;
}

.progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.progress-dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

/*
        .outro-section {
            background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
            color: white;
            text-align: center;
        }
        
        .outro-section h2 {
            font-size: 2.5rem;
            margin-bottom: 20px;
            font-weight: 300;
        }
        
        .outro-section p {
            font-size: 1.2rem;
            opacity: 0.8;
        } */

/* Responsive Design */
@media (max-width: 768px) {
    .timeline::before {
        left: 25px;
    }

    .timeline-item {
        padding: 15px 20px;
        margin-bottom: 20px;
    }

    .icon {
        width: 45px;
        height: 45px;
        font-size: 20px;
        margin-right: 20px;
    }

    .time {
        font-size: 1.2rem;
        min-width: 80px;
        margin-right: 20px;
    }

    .title {
        font-size: 1.1rem;
    }

    .timeline-title {
        font-size: 2rem;
    }

    .progress-indicator {
        right: 15px;
    }
}







/* PROFILE */
.steckbrief-img img {
    display: block;
    margin: 0 auto 3rem auto;
    width: 33%;
    border-radius: 8px;
    border: 1px solid var(--color-logo);
    background-color: blue;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

#team-bild {

    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
    pointer-events: none;

    aspect-ratio: 1 / 1;
    /* Immer 1:1 */
    object-fit: cover;
    /* Bild füllt den Bereich aus, ohne verzerrt zu wirken */
    width: 100%;
    /* passt sich der Spaltenbreite an */
    height: auto;
    /* Höhe ergibt sich automatisch */
    display: block;
}

#ldh {
    width: 66%;
    margin: auto;
}

#ldh-bild {
    height: 20rem;
    top: 100px;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}






/*Übernachtung*/
.columns {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.column {
    flex: 1;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.column img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.column img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.column-content {
    padding: 15px;
}

.column h3 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.column p {
    color: #666;
    line-height: 1.6;
}

.column a {
    color: var(----color-heading);
}

.column a:hover {
    color: var(--color-heading);
}

.column a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom center;
    background: linear-gradient(90deg, transparent 0%, var(--color-logo) 15%, var(--color-logo) 85%, transparent 100%);
}

.column a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    transform: scaleX(0);
    transform-origin: bottom center;
    transition: transform 0.3s ease;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--color-logo) 15%, var(--color-logo) 85%, transparent 100%);

}

/* Responsive Design */
@media (max-width: 768px) {
    .columns {
        flex-direction: column;
        gap: 15px;
    }

    .steckbrief-img img {
        width: 53%;
    }
}