* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
}

:root {
    --header-green: #2F5541;
    --nav-green: #3D6652;
    --login-green: #2F5541;
    --white: #FFFFFF;
    --text-dark: #212121;
    --gray-input: #F5F5F5;
}

body {
    font-family: Arial, sans-serif;
    background-color: #E8E8E8;
    color: var(--text-dark);
}

.content-wrapper {
    /* max-width: 1280px; */
    margin: 0 auto;
}

/* Header */
.main-header {
    background-color: var(--header-green);
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.main-header > * {
    padding-left: 40px;
    padding-right: 40px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 90px;
    height: auto;
    padding: 7px;
    /* border-radius: 4px; */
    position: absolute;
    overflow: visible;
    margin-top: -0.6px;
    z-index: 2;
}

.logo-text {
    color: var(--white);
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.05em;
}

/* Login Section */
.login-section {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    height: 100%;
}

.login-btn {
    background-color: var(--white);
    color: var(--text-dark);
    border: none;
    padding: 8px 25px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 3px;
    font-weight: 500;
}

.login-btn:hover {
    background-color: #F0F0F0;
}

.user-icon {
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-color: var(--white);
    border-radius: 50%;
    padding: -1px;
    transition: transform 0.2s;
}

.user-icon:hover {
    transform: scale(1.05);
}

/* Login Dropdown */
.login-dropdown {
    position: absolute;
    top: 70px;
    right: 0;
    background-color: var(--white);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: none;
    flex-direction: column;
    gap: 12px;
    width: 250px;
    z-index: 1000;
}

.login-dropdown.active {
    display: flex;
}

.login-input {
    padding: 10px;
    border: 1px solid #DDD;
    border-radius: 3px;
    font-size: 0.95rem;
    background-color: var(--gray-input);
}

/* .login-input::========================================
   NASCH e.V. Website Styles
   Hauptfarbe: #294b44 (Dunkelgrün)
   Akzentfarbe: #D46A4C (Rotorange)
   ======================================== */

/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333333;
    background-color: #f5f5f5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Member-only content - hidden by default */
.member-only {
    display: none;
}

/* ========================================
   TOP STRIPE
   ======================================== */
.top-stripe {
    background: linear-gradient(-45deg, #1f3d33 0%, #294b44 50%, #3d6652 100%);
    padding: 13px 40px;
    width: 100%;
    height: 94%;
}

/* ========================================
   HEADER
   ======================================== */
.main-header {
    position: relative;
    height: 600px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0;
    padding: 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    height: 7rem;
    margin: 0 auto;
}

.logo-container {
    flex-shrink: 0;
}

.logo-img {
    width: 100px;
    height: auto;
    display: block;
}

.login-section {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    flex-direction: column-reverse;
    min-width: 120px;
}

.login-btn {
    background-color: #ffffff;
    color: #294b44;
    border: 2px solid #ffffff;
    padding: 5px 25px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    min-width: 95px;
    text-align: center;
}

.login-btn:hover {
    background-color: #e8f3ed;
    color: #1f3d33;
}

.login-btn.logout {
    background: linear-gradient(135deg, #D46A4C, #c25a3c);
    color: #ffffff;
    border: 2px solid #D46A4C;
}

.login-btn.logout:hover {
    background: linear-gradient(135deg, #ff7c5a, #D46A4C);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 106, 76, 0.3);
}

.user-icon {
    width: 50px;
    height: 50px;
    cursor: pointer;
    filter: brightness(0) invert(-1);
    transition: transform 0.3s ease;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.user-icon:hover {
    transform: scale(1.1);
}

.login-dropdown {
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 20px;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.login-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.login-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

.login-input:focus {
    outline: none;
    border-color: #294b44;
}

.submit-btn {
    width: 100%;
    background-color: #294b44;
    color: #ffffff;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 500;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #1f3d33;
}

/* ========================================
   NAVIGATION
   ======================================== */
.main-nav {
    background-color: #294b44;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    position: sticky;
    top: -1px;
    z-index: 100;
    margin: 0;
    padding: 0;
}

.burger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: rgba(41, 75, 68, 0.9);
    border: 2px solid #ffffff;
    cursor: pointer;
    padding: 12px;
    border-radius: 5px;
    z-index: 101;
    transition: all 0.3s ease;
}

.burger-menu:hover {
    background: rgba(41, 75, 68, 1);
    border-color: rgba(255, 255, 255, 1);
}

body.logged-in .burger-menu {
    border-color: #D46A4C;
}

body.logged-in .burger-menu:hover {
    border-color: #c25a3c;
}

.nav-close {
    display: none;
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 40px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.nav-close:hover {
    transform: rotate(90deg);
}

.burger-menu span {
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 0;
}

.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-overlay.active {
    display: block;
    opacity: 1;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    padding: 18px 30px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffffff, #e0e0e0);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link.member-only {
    background: linear-gradient(135deg, #D46A4C, #c25a3c);
}

.nav-link.member-only::after {
    background: linear-gradient(90deg, #ffffff, #e0e0e0);
}

.nav-link:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link:hover {
    background-color: #2F5541;
}

.nav-link.member-only:hover {
    background: linear-gradient(135deg, #ff7c5a, #D46A4C);
}

.nav-link:hover::after {
    width: 80%;
}

/* ========================================
   MAIN CONTENT
   ======================================== */
.main-content {
    background-color: #fafafa;
}

.section {
    padding: 100px 0;
    background-color: #fafafa;
}

/* Extra Abstand für die erste Section nach Navigation */
#start {
    padding-top: 120px;
}

.section h2 {
    font-size: 32px;
    color: #294b44;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
}

.section-green .section-subtitle {
    color: #D46A4C !important;
    font-weight: 600;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

.section-green .intro-text {
    color: #ffffff;
}

/* Green Member Sections */
.section-green {
    background: linear-gradient(135deg, #2F5541, #294b44);
    padding-bottom: 5rem;
    position: relative;
    box-shadow: 0 4px 12px rgba(41, 75, 68, 0.3);
}

.section-green h2 {
    color: #ffffff;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    align-content: center;
}

.content-text {
    font-size: 16px;
    line-height: 1.8;
}

.section-green .content-text {
    color: #ffffff;
}

.section-green .section-subtitle {
    color: #e0e0e0;
}

.section-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    /* box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); */
}

.registration-image .section-img {
    height: 41.5rem;
}

.registration-image.member-only .section-img {
    height: 70.85rem;
}

/* Verstecke das kleine Bild wenn eingeloggt */
body.logged-in .registration-image:not(.member-only) {
    display: none;
}

/* ========================================
   SCHEDULE
   ======================================== */
.schedule {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 30px;
}

.section-green .schedule {
    background-color: rgba(255, 255, 255, 0.1);
}

.schedule-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.schedule-column {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.schedule-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 30px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.section-green .schedule-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.schedule-item:last-child {
    border-bottom: none;
}

.time {
    font-weight: 700;
    color: #294b44;
    font-size: 16px;
}

.section-green .time {
    color: #ffffff;
    font-weight: 700;
}

.event {
    color: #333;
    line-height: 1.6;
}

.section-green .event {
    color: #e0e0e0;
}

.event strong {
    color: #294b44;
    display: block;
    margin-bottom: 8px;
}

.section-green .event strong {
    color: #ffffff;
}

/* ========================================
   REGISTRATION FORM
   ======================================== */
.registration-grid {
    grid-template-columns: 1fr 1fr;
}

.registration-form {
    background: linear-gradient(135deg, #ffffff, #f5f5f5);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 2px solid #e0e0e0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.member-only {
    background: linear-gradient(135deg, #e8f3ed, #f0f8f4);
    padding: 15px;
    padding-right: 40px;
    border-radius: 5px;
    border-left: 4px solid #294b44;
    border-right: 4px solid #294b44;
    box-shadow: 0 2px 8px rgba(41, 75, 68, 0.08);
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #294b44;
    font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

.form-group input:focus {
    outline: none;
    border-color: #294b44;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 400;
}

.radio-group input[type="radio"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-note {
    font-weight: 700;
    color: #294b44;
    margin: 25px 0 15px 0;
}

.cost-info {
    background-color: #e8f3ed;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.8;
    color: #333;
}

.submit-button {
    width: 100%;
    background: linear-gradient(135deg, #294b44, #3d6652);
    color: #ffffff;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(41, 75, 68, 0.3);
    position: relative;
    overflow: hidden;
}

body.logged-in .submit-button {
    background: linear-gradient(135deg, #D46A4C, #c25a3c);
    box-shadow: 0 4px 12px rgba(212, 106, 76, 0.3);
}

.submit-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(41, 75, 68, 0.4);
}

body.logged-in .submit-button:hover {
    box-shadow: 0 6px 20px rgba(212, 106, 76, 0.4);
}

.submit-button:hover::before {
    width: 300px;
    height: 300px;
}

.submit-button:active {
    transform: translateY(0);
}

/* ========================================
   DOWNLOAD SECTION
   ======================================== */
.section-download {
    background-color: #f5f5f5;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.download-card {
    background-color: #294b44;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(212, 106, 76, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.download-card-white {
    background-color: #ffffff;
}

.download-card-white .download-content {
    color: #333333;
}

.download-card-white .download-content h3 {
    color: #294b44;
}

.download-card-white .download-content p {
    color: #666666;
}

.download-card-green {
    background: linear-gradient(135deg, #3d7a5f, #2F5541);
    /* border: 3px solid #5a9876; */
    box-shadow: 0 4px 12px rgba(41, 75, 68, 0.3);
}



.download-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.download-card:hover::before {
    opacity: 1;
}

.download-img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.download-content {
    padding: 25px;
    color: #ffffff;
}

.download-content h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #ffffff;
}

.download-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #e0e0e0;
}

.download-btn {
    display: inline-block;
    background-color: #D46A4C;
    color: #ffffff;
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.download-btn:hover {
    background-color: #c25a3c;
}

.download-card-white .download-btn {
    background-color: #294b44;
}

.download-card-white .download-btn:hover {
    background-color: #1f3d33;
}

/* ========================================
   FOOTER / KONTAKT
   ======================================== */
.section-footer {
    background: linear-gradient(135deg, #294b44, #1f3d33);
    color: #ffffff;
}

.section-footer h2 {
    color: #ffffff;
}

.section-footer h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 15px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    align-items: end;
}

.footer-col p {
    line-height: 1.8;
    color: #e0e0e0;
}

.footer-col:nth-child(2) p {
    text-align: center;
}

.footer-col:last-child p {
    text-align: right;
}

.footer-col a {
    color: #D46A4C;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: #ffffff;
}

/* ========================================
   HR STYLING
   ======================================== */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, #D46A4C 20%, #D46A4C 80%, transparent);
    margin: 0;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    opacity: 0.3;
}

hr::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: #fafafa;
    border: 2px solid #D46A4C;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(212, 106, 76, 0.2);
}

/* HR nach Mitgliederversammlung nur für nicht-eingeloggte Nutzer */
body.logged-in .hr-after-mitglieder {
    display: none;
}

/* ========================================
   SCROLL PROGRESS BAR
   ======================================== */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 9999;
}

.scroll-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ffffff, #e0e0e0);
    transition: width 0.1s ease;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

body.logged-in .scroll-progress-bar {
    background: linear-gradient(90deg, #D46A4C, #ff8c6b);
    box-shadow: 0 0 10px rgba(212, 106, 76, 0.5);
}

/* ========================================
   BACK TO TOP BUTTON
   ======================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #D46A4C, #c25a3c);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 106, 76, 0.3);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: linear-gradient(135deg, #ff7c5a, #D46A4C);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 106, 76, 0.4);
}

.back-to-top:active {
    transform: translateY(-1px);
}

/* ========================================
   QUIZ MODAL
   ======================================== */
.quiz-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
}

.quiz-modal.active {
    display: block;
}

.quiz-modal-content {
    background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
    margin: 0;
    min-height: 100vh;
    position: relative;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (min-width: 1600px) {
    .main-header {
        max-height: 900px;
    }
    
    .hero-image {
        height: 100%;
        object-position: center top;
    }
}

@media (max-width: 1279px) {
    .container {
        padding: 0 30px;
    }
    
    .content-grid {
        gap: 40px;
    }
    
    .hero-image {
        object-position: center top;
        height: 120%;
    }
    
    .main-header {
        max-height: 500px;
        overflow: hidden;
    }
}

@media (max-width: 1100px) {
    .burger-menu {
        display: flex;
        position: absolute;
        right: 20px;
    }
    
    .main-nav {
        justify-content: center;
        position: relative;
    }
    
    .nav-close {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: linear-gradient(135deg, #294b44, #1f3d33);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 70px;
        transition: right 0.3s ease;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
        z-index: 100;
        overflow-y: auto;
    }
    
    .nav-links.active {
        right: 0;
        z-index: 102;
    }
    
    .nav-link {
        width: 100%;
        text-align: left;
        padding: 20px 30px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link:first-child {
        border-left: none;
    }
    
    .nav-link:last-child {
        border-right: none;
    }
}

@media (max-width: 1080px) {
    .hero-image {
        object-position: center top;
        height: 110%;
    }
    
    .main-header {
        max-height: 400px;
    }
}

@media (max-width: 870px) {
    .hero-image {
        object-position: center top;
        height: 105%;
    }
    
    .main-header {
        max-height: 350px;
    }
    
    .nav-links.active {
        right: 0;
        z-index: 102;
    }
}

@media (max-width: 768px) {
    .hero-image {
        object-position: center top;
        height: 100%;
    }
    
    .main-header {
        max-height: 280px;
    }
    
    .nav-link {
        width: 100%;
        text-align: left;
        padding: 20px 30px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link:first-child {
        border-left: none;
    }
}

@media (max-width: 768px) {
    .content-grid,
    .registration-grid,
    .footer-grid,
    .download-grid {
        grid-template-columns: 1fr;
    }
    
    /* Schedule wird einspaltig */
    .schedule-two-column {
        grid-template-columns: 1fr;
    }
    
    /* Mitgliederversammlung: Beide Spalten untereinander */
    #mitgliederversammlung .schedule-column {
        display: contents;
    }
    
    /* Tagung: Chronologische Sortierung */
    .schedule-tagung {
        display: flex;
        flex-direction: column;
    }
    
    .schedule-tagung .schedule-column {
        display: contents;
    }
    
    .schedule-tagung .schedule-item[data-order="1"] { order: 1; }
    .schedule-tagung .schedule-item[data-order="2"] { order: 2; }
    .schedule-tagung .schedule-item[data-order="3"] { order: 3; }
    .schedule-tagung .schedule-item[data-order="4"] { order: 4; }
    .schedule-tagung .schedule-item[data-order="5"] { order: 5; }
    .schedule-tagung .schedule-item[data-order="6"] { order: 6; }
    .schedule-tagung .schedule-item[data-order="7"] { order: 7; }
    .schedule-tagung .schedule-item[data-order="8"] { order: 8; }
    
    #tagung .schedule-column:first-child .schedule-item:nth-child(6) {
        order: 30;
    }
    
    .nav-link {
        padding: 15px 20px;
        font-size: 14px;
    }
    
    .section h2 {
        font-size: 26px;
    }
} 
   


.submit-btn {
    background-color: var(--login-green);
    color: var(--white);
    border: none;
    padding: 10px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 3px;
    font-weight: 500;
}

.submit-btn:hover {
    background-color: #254438;
}

/* Hero Section */
.hero-section {
    width: 100%;
    height: 654px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 164%;
    object-fit: cover;
    display: block;
    position: relative;
}

/* Navigation */
.main-nav {
    background-color: var(--nav-green);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 0px;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    padding: 18px 30px;
    font-size: 1rem;
    transition: background-color 0.3s;
}

.nav-link:hover {
    background-color: #2F5541;
}

/* Content */
.content {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 40px;
}

.content h2 {
    color: var(--header-green);
    margin-bottom: 20px;
    font-size: 2rem;
}

.content p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-link {
        padding: 18px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 15px 20px;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .logo-img {
        width: 70px;
    }
    
    .hero-section {
        height: 300px;
    }
    
    .main-nav {
        flex-wrap: wrap;
    }
    
    .nav-link {
        padding: 15px 15px;
        font-size: 0.85rem;
        flex: 1 1 auto;
        text-align: center;
    }
    
    .content {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .login-section {
        gap: 10px;
    }
    
    .login-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
    
    .user-icon {
        width: 40px;
        height: 40px;
    }
    
    .nav-link {
        flex: 1 1 50%;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }
}