/* Basisreset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Open Sans', sans-serif;
    color: #333;
    line-height: 1.6;
}

/* Header & Menü */
header {
    position: static;
    top: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    z-index: 10;
    transition: box-shadow 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header.fixed {
    position: fixed;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Hamburger Menu Styles */
.hamburger {
    display: none;
    border: none;
    background: none;
    cursor: pointer;
    height: 26px;
    width: 32px;
    position: absolute;
    top: 17px;
    right: 15px;
    z-index: 1002;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger:hover span {
    background-color: rgba(0,0,0,0.05);
    background-color: lightgray;
}

.hamburger span {
    display: block;
    height: 4px;
    width: 100%;
    border-radius: 10px;
    background-color: #333;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

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

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mega Navigation Styles */
.mega-nav {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-main {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-main > li {
    position: relative;
}

.nav-main > li > a {
    display: block;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-main > li > a:hover,
.nav-main > li > a.active {
    color: #006400;
    border-bottom: 2px solid #006400;
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    min-width: 250px;
    z-index: 1000;
}

.dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
}

.mega-menu-content {
    padding: 1.5rem;
}

.mega-menu-section h3 {
    color: #006400;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 0.5rem;
}

.mega-menu-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mega-menu-section ul li {
    margin-bottom: 0.5rem;
}

.mega-menu-section ul li a {
    display: block;
    padding: 0.5rem 0;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 400;
}

.mega-menu-section ul li a:hover {
    color: #006400;
    padding-left: 0.5rem;
}

/* Hero-Sektion */
.hero {
    background: url('./assets/flyer-2.jpg') center/cover no-repeat;
    width: 100vw;
    box-sizing: border-box;
}

/* Content-Sektionen */
.content {
    padding: 5rem 1rem;
    max-width: 800px;
    margin: 0 auto;

     ul {
        list-style: none;
        padding-left: 1.5rem;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

     ul li {
        position: relative;
        padding-left: 1.2em;
        margin-bottom: 0.7em;
        font-size: 1.08rem;
        line-height: 1.6;
    }

     ul li::before {
         content: '-';
         position: absolute;
         left: 0;
         top: 0;
         color: #2c3e50;
         font-weight: bold;
         font-size: 1.1em;
         width: 1em;
         display: inline-block;
         transform: none;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: 1rem;
        font-weight: 600;
    }

    p {
        margin-bottom: 1rem;
    }
}

.chat-section {
    height: 80vh;
    overflow: scroll;
    padding: 3rem 0 2rem 0;
    margin: 2rem 0;
}

.chat {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 700px;
    margin: 0 auto;
}

.chat-bubble {
    position: relative;
    max-width: 80%;
    padding: 1.2rem 1.6rem 2.2rem 1.6rem;
    border-radius: 1.2rem;
    background: #fff;
    box-shadow: 0 2px 12px rgba(44,62,80,0.10);
    font-size: 1.1rem;
    line-height: 1.5;
}

.chat-bubble.left {
    align-self: flex-start;
    margin-left: 0;
    margin-right: auto;
}

.chat-bubble.right {
    align-self: flex-end;
    margin-right: 0;
    margin-left: auto;
    background: #eaf3f7;
}

.chat-intro {
    display: block;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.3rem;
}

.chat-message {
    display: block;
    margin-bottom: 0.8rem;
}

.chat-name {
    position: absolute;
    right: 1.2rem;
    bottom: 0.7rem;
    font-size: 0.95em;
    color: #7b8a99;
    font-style: italic;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 1rem;
    font-size: 0.9rem;
    color: #777;
}

.full-width-image {
    display: block;
    margin: 0 auto 2rem auto;
    object-fit: contain;
    img {
        width: 100%;
        height: auto;
    }
}

figcaption {
    font-size: 1rem;
    color: #666;
    text-align: center;
}

/* Scroll-Behavior & Abstand für Header */
body {
    scroll-behavior: smooth;
}
section {
    scroll-margin-top: 70px;
}

form {
  max-width: 400px;
  margin: 1rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;

  input, button {
    padding: 0.75rem;
    font-size: 1rem;
  }
  
  button {
    background-color: #0044aa;
    color: white;
    border: none;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #003388;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Hamburger Menu Styles */
    .hamburger {
        display: flex;
    }

    .hamburger span {
        display: block;
    }

    /* Mobile Navigation */
    .nav-main {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding-top: 4rem;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }

    .nav-main.active {
        right: 0;
    }

    .nav-main > li {
        border-bottom: 1px solid #e0e0e0;
    }

    .nav-main > li > a {
        padding: 1.2rem 2rem;
        font-size: 1.1rem;
        border-bottom: none;
    }

    .nav-main > li > a:hover,
    .nav-main > li > a.active {
        background: #f8f9fa;
        color: #006400;
        border-bottom: none;
    }

    /* Mobile Dropdown Styles */
    .dropdown .mega-menu {
        position: static;
        transform: none;
        width: 100%;
        margin: 0;
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: #f8f9fa;
        opacity: 1;
        visibility: visible;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .mega-menu {
        max-height: 300px;
    }

    .dropdown-toggle {
        position: relative;
    }

    .dropdown-toggle::after {
        content: '+';
        position: absolute;
        right: 2rem;
        font-size: 1.5rem;
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropdown-toggle::after {
        content: '−';
    }

    .mega-menu-content {
        padding: 1rem 2rem;
    }

    .mega-menu-section h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        color: #666;
    }

    .mega-menu-section ul li a {
        padding: 0.7rem 0;
        font-size: 1rem;
    }

    .mega-menu-section ul li a:hover {
        color: #006400;
        padding-left: 0;
        background: rgba(0, 100, 0, 0.1);
    }

    /* Hide dropdown arrow on mobile */
    .dropdown-arrow {
        display: none;
    }

    /* Mobile overlay */
    .nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Desktop Hamburger Hidden */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }

    .nav-overlay {
        display: none;
    }
}

/* Questions Section Styles */
.questions-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-top: 2rem;
}

.questions-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.questions-intro h2 {
    color: #006400;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.questions-intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.intro-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #d32f2f;
    text-align: center;
    background: #fff3e0;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 5px solid #ff9800;
    margin: 2rem 0;
}

/* Question Categories */
.question-categories {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.question-category {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.question-category:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
}

.category-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #006400, #228b22);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(20%);
}

.category-header h3 {
    color: #006400;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

/* Question Cards */
.question-cards {
    display: grid;
    gap: 1.5rem;
}

.question-card {
    background: #fafafa;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.5rem;
    position: relative;
    transition: all 0.3s ease;
}

.question-card:hover {
    background: white;
    border-color: #006400;
    box-shadow: 0 4px 12px rgba(0, 100, 0, 0.1);
}

.question-mark {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #006400, #228b22);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0, 100, 0, 0.3);
}

.question-card p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
    color: #333;
}

.question-card p:last-child {
    margin-bottom: 0;
}

/* Highlight Cards */
.highlight-card {
    /*background: linear-gradient(135deg, #fff8e1, #ffecb3);*/
    border-color: #ff9800;
    position: relative;
}

.highlight-card .question-mark {
    /*background: linear-gradient(135deg, #ff9800, #f57c00);*/
}

.alert-card {
    /*background: linear-gradient(135deg, #ffebee, #ffcdd2);*/
    /*border-color: #f44336;*/
}

.alert-card .question-mark {
    background: linear-gradient(135deg, #f44336, #d32f2f);
}

/* Question Card Content Elements */
.question-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.question-content h4 {
    color: #006400;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.question-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #444;
}

.question-content p:last-child {
    margin-bottom: 0;
}

/* Question Highlights */
.question-highlight {
    background: linear-gradient(135deg, rgba(0, 100, 0, 0.1), rgba(34, 139, 34, 0.05));
    border: 1px solid #006400;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    text-align: center;
    font-size: 1rem;
}

.question-highlight.alert {
    border-color: #f44336;
}

.question-highlight strong {
    color: #006400;
    font-weight: 700;
    font-size: 1.1rem;
}

.question-highlight.alert strong {
    color: #d32f2f;
}

/* Call to Action */
.call-to-action {
    background: linear-gradient(135deg, #006400, #228b22);
    color: white;
    text-align: center;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    margin-top: 3rem;
}

/* Question Notes */
.question-note {
    font-style: italic;
    color: #666;
    font-size: 0.95rem;
    margin-top: 0.5rem;
}

/* Source Citations */
.source {
    font-size: 0.85rem;
    color: #888;
    font-style: italic;
    margin-top: 1rem;
    padding-top: 0.5rem;
    border-top: 1px solid #e0e0e0;
}

/* Comparison Box Styles */
.comparison-box {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
}

.comparison-item:last-child {
    margin-bottom: 0;
}

.comparison-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comparison-item.alert {
    /*background: linear-gradient(135deg, #ffebee, #ffcdd2);*/
    /*border-color: #f44336;*/
}

.comparison-item.alert:hover {
    /*background: linear-gradient(135deg, #ffcdd2, #ef9a9a);*/
}

.comparison-item .label {
    font-weight: 600;
    color: #333;
    flex: 1;
}

.call-to-action h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.call-to-action p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-align: center;
    min-width: 120px;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 100, 0, 0.25);
    background-color: white;
    font-weight: bold;
    color: #006400;
}

.comparison-item .value {
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    text-align: center;
    min-width: 120px;
}

.comparison-item .value.normal {
    background: #e8f5e8;
    color: #006400;
    border: 1px solid #006400;
}

.comparison-item .value.alert {
    background: #ffebee;
    color: #d32f2f;
    border: 1px solid #f44336;
}

/* Statistics Grid */
.statistics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.stat-item {
    background: white;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.stat-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    border-color: #006400;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #006400;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.stat-detail {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

/* Warning Box */
.warning-box {
    background: linear-gradient(135deg, #fff3e0, #ffe0b2);
    border: 2px solid #ff9800;
    border-radius: 10px;
    padding: 1.25rem;
    margin: 1rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.warning-box strong {
    color: #e65100;
    font-weight: 700;
    font-size: 1.05rem;
}

/* Responsive Design for New Components */
@media (max-width: 768px) {
    .comparison-box {
        padding: 1rem;
    }

    .comparison-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .comparison-item .value {
        min-width: auto;
        width: 100%;
    }

    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0.75rem;
    }

    .stat-item {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .warning-box {
        padding: 1rem;
    }

    .question-icon {
        font-size: 1.5rem;
        text-align: center;
    }

    .question-content h4 {
        font-size: 1.2rem;
    }
}

/* Enhanced Question Section Base Styles */
.question-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-top: 2rem;
}

.question-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.question-intro h2 {
    color: #006400;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.question-intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Animation delays for better loading experience */
.comparison-item:nth-child(1) { animation-delay: 0.1s; }
.comparison-item:nth-child(2) { animation-delay: 0.2s; }
.comparison-item:nth-child(3) { animation-delay: 0.3s; }

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

/* Add smooth animations */
.comparison-item,
.stat-item {
    animation: fadeInUp 0.6s ease-out;
}
