html {
            scroll-behavior: smooth;
            scroll-padding: 42px;
        }
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: ryder;
            line-height: 1.6;
            color: var(--fontcolor);
            overflow-x: hidden;
            background-color: #000000;
        }
        :root {
            --primary: #8a630e;
            --primary-dark: #5a410b;
            --darkgrey: rgba(75, 75, 75, 0.7);
            --schwarz: rgba(0, 0, 0, 0.8);
            --fontcolor: #DDD8B9;
            --extracolor: #343a40;
            --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            --glass-bg: rgba(30, 30, 30, 0.8);
            --glass-border: rgba(138, 99, 14, 0.3);
        }

        @font-face {
            font-family: ryder;
            src: url(./Files/Fonts/ryder-dirty.regular.ttf);
        }
        
        /* Parallax background sections with smoother dual image animation */

        .parallax {
            background-image: url(./Files/Hintergrund/Background_1.webp);
            background-attachment: fixed;
            background-position: center;
            /* background-repeat: no-repeat; */
            background-size: cover;
            height: 30vh;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;

        }
    
                @media (min-width: 819px) {

        .parallax {
            animation: backgroundZoom 20s infinite ease-in-out;
        }
    }

        /* Skalierungsanimation für das Hintergrundbild */
        @keyframes backgroundZoom {
            0%, 100% {
                background-size: 100%;
            }
            50% {
                background-size: 105%;
            }
        }


        .parallax::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image: url(./Files/Hintergrund/Background_2.webp);
            background-attachment: fixed;
            background-position: center;
            background-size: cover;
            opacity: 1;
            z-index: 1;

        }
    
        @media (min-width: 819px) {

        .parallax::before {
            animation: 
                backgroundOverlay 10s infinite ease-in-out,
                backgroundZoom 20s infinite ease-in-out;
        }
    }
        @keyframes backgroundOverlay {
            0%, 5% {
                opacity: 0;
            }
            47%, 52% {
                opacity: 0.3;
            }
            100% {
                opacity: 0;
            }
        }
        
        #home {
            height: 100vh;
        }

        /* Content sections */
        .content {
            padding: 0px 00px;
            text-align: center;
            border-top: 2px solid #242424;
            border-bottom: 2px solid #242424;
            background-color: #0000006b;
            position: relative;
            overflow: hidden;
        }

        /* Contentchildren Animation */
        .contentchildren {
            opacity: 0;
            transform: translateY(60px);
            transition: opacity 0.5s ease-out, transform 0.5s ease-out;
        }

        .contentchildren.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Individual sections */
        #logobild {
            max-width: 80%;
            max-height: 40vh;
            position: relative;
            margin-bottom: 20px;
            z-index: 3;
        }
        
        #section1 {
            scroll-margin-top: 40px;
        }

        #section2 {   
            scroll-margin-top: 40px;
        }
        
        /* ANIMIERTE LINIE - NEU */
        .linie {
            max-width: 800px;
            max-height: 5px;
            margin: 1px auto 1px;
            background-color: var(--primary);
            position: relative;
            overflow: hidden;
            transform-origin: center;
            width: 0;
            opacity: 0;
            transition: width 0.9s ease-out, opacity 0.3s ease-out;
        }

        /* Linie sichtbar und animiert */
        .linie.visible {
            width: 100%;
            max-width: 800px;
            opacity: 1;
        }
        
        #accordiontexto {
            text-align: left;
            margin: 20px;
            color: var(--fontcolor);
        }
        
        #section3 {
            scroll-margin-top: 40px;
        }
        
        #kontaktlink {
            color: inherit;
            font-weight: bold;
            text-decoration: none;
        }
        
        #section4 {
            scroll-margin-top: 40px;
        }
        
        /* Text inside parallax sections */
        .parallax-text {
            color: var(--fontcolor);
            text-align: center;
            padding: 20px;
            border-radius: 10px;
            max-width: 600px;
            position: relative;
            z-index: 3;
        }

        .parallax-text h2 {
            font-family: ryder;
            font-size: 2.5rem;
            margin-bottom: 20px;
        }
        
        #centerabsatz {
            text-align: center;
        }

        /* Content section styling */
        .content h2 {
            font-size: 2.2rem;
            color: #DDD8B9;
            max-width: 800px;
            margin: 50px auto 50px auto;
        }

        .content p {
            max-width: 780px;
            padding-top: 5px;
            margin: 0 auto 40px;
            font-size: 1.2rem;
            text-align: justify;
            font-family: sans-serif;
            color: var(--fontcolor);
        }

        /* Simple navigation */
        nav {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: rgba(0, 0, 0, 0.9); 
            padding: 8px 0;
            z-index: 1000;
            border-bottom-width: 1px;
            border-bottom-style: solid;
            border-bottom-color: var(--primary);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
        }

        nav ul {
            display: flex;
            justify-content: center;
            list-style: none;
        }

        nav li {
            margin: 0 20px;
        }

        nav a {
            color: var(--fontcolor);
            font-family: ryder;
            text-decoration: none;
            font-weight: bold;
            font-size: 1rem;
            transition: color 0.3s;
        }

        nav a:hover {
            color: #96916a;
        }

        /* Mobile menu button */
        .menu-toggle {
            display: none;
            background: none;
            border: none;
            color: var(--fontcolor);
            font-size: 1rem;
            cursor: pointer;
            position: absolute;
            right: 20px;
            top: 50%;
            transform: translateY(-50%);
            font-family: ryder;
            font-weight: bold;
            padding: 5px 10px;
        }

        .menu-toggle span {
            margin-right: 5px;
        }

        /* Accordion Styles */
        #accordioncontainer {
            background-color: var(--glass-bg);
            max-width: 800px;
            margin: 30px auto 30px;
            padding: 20px;
            border-radius: 25px;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }
        
        .accordion {
            max-width: 800px;
            margin: 30px auto;
            text-align: left;
        }

        .accordion-item {
            margin-bottom: 10px;
            border-radius: 5px;
            overflow: hidden;
        }

        .accordion-header {
            background: url(./Files/img/experiment3.svg) center center / 100% rgba(50, 50, 50, 0.7);
            background-position: center center;
            padding: 15px 20px;
            cursor: pointer;
            font-weight: bold;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.3s;
            border: 1px solid var(--glass-border);
            color: var(--fontcolor);
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
        }

        .accordion-header:hover {
            background-color: rgba(90, 65, 11, 0.7);
            border-color: var(--primary);
            background: url(./Files/img/experiment3.svg) center center / 100% rgba(90, 65, 11, 0.7);
            background-position-y: 10%;
        }

        .accordion-header::after {
            content: '+';
            font-size: 1.5rem;
            transition: transform 0.3s;
            color: var(--primary);
        }

        .accordion-header.active::after {
            content: '-';
        }

        .accordion-content {
            padding: 0 20px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease-out, padding 0.3s ease-out;
            background: #24242485;
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            border-left: 1px solid var(--glass-border);
            border-right: 1px solid var(--glass-border);
            border-bottom: 1px solid var(--glass-border);
            border-bottom-left-radius: 5px;
            border-bottom-right-radius: 5px;
        }

        .accordion-content.active {
            padding: 20px;
            max-height: 500px;
            background: #24242485;
        }
        
        #unterburgercenter {
            text-align: center;
        }
        
        #untererblock {
            max-width: 800px; 
            margin: 0 auto;
        }
        
        #listendiv {
            margin: 0px auto 40px; 
            max-width: 800px;
            text-align: left;
            font-size: 1.1rem;
            color: var(--fontcolor);
        }
        
        #listendiv ul {
            list-style-type: disc;
            list-style-position: outside;
            padding-left: 1.5em;
            margin: 0;
        }

        #listendiv li {
            margin-bottom: 10px;
            padding-left: 0.5em;
        }

        /* News Section Styles */
        .news-container {
            max-width: 800px;
            margin: 0 auto 60px;
            position: relative;
            min-height: 800px;
        }

        .news-slide {
            display: none;
            background-color: var(--glass-bg);
            border-radius: 25px;
            overflow: hidden;
            padding: 30px;
            height: 800px;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            flex-direction: column;
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            border: 1px solid var(--glass-border);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
        }

        .news-slide.active {
            display: flex;
        }

        .news-image-container {
            width: 100%;
            margin-bottom: 25px;
            display: flex;
            justify-content: center;
            flex-shrink: 0;
        }

        .news-image {
            width: 300px;
            height: 300px;
            object-fit: cover;
            border-radius: 15px;
            border: 2px solid var(--primary);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
        }

        .news-title {
            color: var(--fontcolor);
            font-size: 2rem;
            margin-bottom: 15px;
            text-align: center;
            font-family: ryder;
            flex-shrink: 0;
            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
        }

        .news-date {
            color: var(--primary);
            font-size: 0.9rem;
            margin-bottom: 20px;
            text-align: center;
            font-style: italic;
            flex-shrink: 0;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
        }

        .news-content {
            color: var(--fontcolor);
            font-size: 1.1rem;
            line-height: 1.7;
            text-align: justify;
            margin-bottom: 30px;
            font-family: sans-serif;
            flex-grow: 1;
            overflow-y: auto;
            padding-right: 5px;
            text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
            padding: 0px 40px 0px 40px;
        }

        /* Navigation buttons for news */
        .news-nav {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 30px;
            margin-top: 30px;
            flex-shrink: 0;
        }

        .news-nav-btn {
            background-color: rgba(138, 99, 14, 0.8);
            background: url(./Files/img/experiment3.svg);
            background-size: cover;
            color: white;
            border: none;
            padding: 12px 25px;
            border-radius: 50px;
            cursor: pointer;
            font-family: ryder;
            font-size: 1rem;
            font-weight: bold;
            transition: all 0.3s ease;
            min-width: 150px;
            text-align: center;
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        }

        .news-nav-btn:hover {
            background-color: rgba(90, 65, 11, 0.9);
            background-position: 12%;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
            border-color: var(--primary);
        }

        .news-nav-btn:disabled {
            visibility: hidden;
            background-color: rgba(75, 75, 75, 0.5);
            transform: none;
            box-shadow: none;
            border-color: rgba(255, 255, 255, 0.05);
        }

        /* Custom scrollbar */
        .news-content::-webkit-scrollbar {
            width: 6px;
        }

        .news-content::-webkit-scrollbar-track {
            background: rgba(0, 0, 0, 0.2);
            border-radius: 3px;
        }

        .news-content::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 3px;
        }

        /* Responsive design */
        @media (min-width: 1921px) {
            .content h2 {
                font-size: 2.3rem;
            }
            .content p {
                font-size: 1.3rem;
            }        
            .accordion-header {
                font-size: 1.3rem;
            }
            #listendiv {
                font-size: 1.3rem;
            }
            .news-content {
                font-size: 1.3rem;
            }
            .news-container {
                max-width: 900px;
                min-height: 850px;
            }
            .news-slide {
                height: 850px;
            }
            .news-image {
                width: 350px;
                height: 350px;
            }
        }

        @media (max-width: 820px) {
            .accordion-header::after {
                content: '+';
                font-size: 1rem;
                transition: transform 0.3s;
            }
            #listendiv {
                max-width: 80%;
                font-size: 1rem;
            }
            #untererblock {
                max-width: 80%;
            }
            .content p {
                font-size: 1rem;
                max-width: 80%;
            }
            .content h2 {
                max-width: 80%;
                font-size: 2rem;
            }
            #accordioncontainer {
                max-width: 80%;
            }
            .linie {
                max-width: 80%;
            }
            .linie.visible {
                max-width: 80%;
            }
            .news-container {
                max-width: 80%;
                min-height: 750px;
            }
            .news-slide {
                padding: 25px;
                height: 750px;
                max-width: 100%;
            }
            .news-title {
                font-size: 1.7rem;
            }
            .news-content {
                font-size: 1rem;
            }
            .news-image {
                width: 250px;
                height: 250px;
            }
        }

        @media (max-width: 768px) {
            .parallax-text h2 {
                font-size: 1.8rem;
            }
            
            .parallax-text p {
                font-size: 1rem;
            }
            
            .menu-toggle {
                display: flex;
                align-items: center;
            }
            
            nav {
                padding: 12px 0;
                min-height: 50px;
            }
            
            nav ul {
                flex-direction: column;
                align-items: center;
                max-height: 0;
                overflow: hidden;
                transition: max-height 0.3s ease-out;
                background-color: rgba(22, 20, 5, 0.95);
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                margin: 0;
                backdrop-filter: blur(10px);
                -webkit-backdrop-filter: blur(10px);
            }
            
            nav ul.active {
                max-height: 300px;
                padding: 10px 0;
                border-top: 1px solid var(--schwarz);
            }
            
            nav li {
                margin: 10px 0;
                width: 100%;
                text-align: center;
            }
            
            nav a {
                display: block;
                padding: 10px 0;
            }
            
            .accordion-header {
                padding: 12px 15px;
                font-size: 1rem;
                border: 1px solid var(--glass-border);
            }
            
            .accordion-content {
                padding: 0 15px;
            }
            
            .accordion-content.active {
                padding: 15px;
            }
            
            @media (max-width: 768px) {
                .parallax {
                    background-attachment: scroll;
                }
                .parallax::before {
                    background-attachment: scroll;
                }
            }
            
            .news-slide {
                padding: 20px;
                height: 700px;
            }
            
            .news-container {
                min-height: 700px;
            }
            
            .news-nav {
                flex-direction: column;
                gap: 15px;
            }
            
            .news-nav-btn {
                width: 100%;
                max-width: 250px;
            }
            
            .news-image {
                width: 200px;
                height: 200px;
            }
        }

        @media (max-width: 600px) {
            #accordioncontainer {
                background-color: var(--glass-bg);
            }
            
            .news-image {
                width: 180px;
                height: 180px;
            }
            
            .news-slide {
                height: 650px;
            }
            
            .news-container {
                min-height: 650px;
            }
        }

        @media (max-width: 450px) {
            #listendiv {
                max-width: 90%;
                font-size: 0.9rem;
            }
            #untererblock {
                max-width: 90%;
            }
            .content p {
                font-size: .9rem;
                max-width: 90%;
                margin-bottom: 10px;
            }
            .content h2 {
                max-width: 90%;
                font-size: 1.7rem;
            }
            #accordioncontainer {
                max-width: 90%;
                padding: 0px;
            }
            #accordiontexto {
                padding: 0px;
            }
            .linie {
                max-width: 90%;
            }
            .linie.visible {
                max-width: 90%;
            }
            .news-container {
                max-width: 90%;
                min-height: 600px;
            }
            .news-slide {
                padding: 15px;
                height: 600px;
            }
            .news-title {
                font-size: 1.5rem;
            }
            .news-content {
                font-size: 0.9rem;
            }
            .news-image {
                width: 150px;
                height: 150px;
            }
        }