/* Standardwerte verhindern einen ungestylten Moment vor dem Laden von JavaScript. */
:root {
    color-scheme: light;
    --bg-main: #f5f0ea;
    --text-main: #2c2520;
    --nav-bg: rgba(245, 240, 234, 0.94);
    --card-bg: #ffffff;
    --card-bg-soft: #eee6da;
    --footer-bg: #e8dfd1;
    --border-color: rgba(130, 94, 52, 0.35);
    --text-muted: #5f554c;
    --input-bg: rgba(44, 37, 32, 0.06);
    --accent-gold: #8a673b;
    --accent-contrast: #ffffff;
    --shadow-color: rgba(44, 37, 32, 0.16);
    --success-bg: #256b3b;
    --success-text: #ffffff;
}

/* --- GLOBALE STYLES & VARIABLEN --- */
:root[data-theme="light"] {
    --bg-main: #f5f0ea;
    --text-main: #2c2520;
    --nav-bg: rgba(245, 240, 234, 0.9);
    color-scheme: light;
    --card-bg: #ffffff;
    --card-bg-soft: #eee6da;
    --footer-bg: #e8dfd1;
    --border-color: rgba(130, 94, 52, 0.35);
    --text-muted: #5f554c;
    --input-bg: rgba(44, 37, 32, 0.06);
    --accent-gold: #8a673b;
    --accent-contrast: #ffffff;
    --shadow-color: rgba(44, 37, 32, 0.16);
    --success-bg: #256b3b;
    --success-text: #ffffff;
}

:root[data-theme="dark"] {
    --bg-main: #12100e;
    --text-main: #f5f0ea;
    --nav-bg: rgba(18, 16, 14, 0.9);
    color-scheme: dark;
    --card-bg: #211d19;
    --card-bg-soft: #2b251f;
    --footer-bg: #0b0a09;
    --border-color: rgba(213, 184, 143, 0.34);
    --text-muted: #d1c8be;
    --input-bg: rgba(255, 255, 255, 0.08);
    --accent-gold: #d5b88f;
    --accent-contrast: #17120e;
    --shadow-color: rgba(0, 0, 0, 0.42);
    --success-bg: #2d7a49;
    --success-text: #ffffff;
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background-color 0.5s ease, color 0.5s ease;
}

h1, h2, h3, h4, .logo, .card-badge {
    font-family: 'Cinzel', serif;
}

/* --- NAVBAR MIT LEUCHTEFFEKT & THEME SWITCH --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.5s ease, border-color 0.5s ease;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-main);
}

.logo span {
    color: var(--accent-gold);
}

.logo-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    height: 1.8rem;
}

.logo-img {
    max-height: 3.6rem;
    height: auto;
    aspect-ratio: auto;
    width: auto;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 20px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px 16px;
    border-radius: 4px;
    opacity: 0.7;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent-gold);
}

.nav-links a.active {
    opacity: 1;
    color: #12100e;
    background-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(197, 168, 128, 0.6), 0 0 40px rgba(197, 168, 128, 0.3);
    font-weight: 500;
    animation: pulseGlow 2s infinite alternate;
}

@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px rgba(197, 168, 128, 0.5); }
    100% { box-shadow: 0 0 25px rgba(197, 168, 128, 0.9), 0 0 10px rgba(197, 168, 128, 0.4); }
}

/* Theme Switcher */
.theme-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}
.theme-switch input { 
    opacity: 0; 
    width: 0; 
    height: 0; 
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #4facfe; /* Tag Himmel */
    transition: .4s;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}
.slider .icon {
    font-size: 14px;
}
.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
input:checked + .slider {
    background-color: #2c3e50; /* Nacht Himmel */
}
input:checked + .slider:before {
    transform: translateX(30px);
    background-color: #f1c40f; /* Mond */
}

/* --- SECTIONS ALLGEMEIN --- */
.main-content {
    flex: 1;
    padding-top: 100px;
}

.section {
    padding: 80px 10%;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 2px;
    color: var(--text-main);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--accent-gold);
    margin: 15px auto 0;
}

.text-center { text-align: center; max-width: 800px; margin: 0 auto; line-height: 1.8; color: var(--text-muted); }

/* --- HERO / MAINPAGE SLIDESHOW --- */
.hero-section-slideshow {
    position: relative;
    height: calc(100vh - 100px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

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

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(18, 16, 14, 0.6) 0%, rgba(18, 16, 14, 0.4) 50%, rgba(197, 168, 128, 0.2) 100%);
    z-index: 3;
}

.hero-content-overlay {
    position: relative;
    z-index: 4;
    max-width: 700px;
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

.hero-content-overlay h1 {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #f5f0ea;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.7);
}

.hero-content-overlay .highlight {
    color: var(--accent-gold);
    text-shadow: 0 0 30px rgba(197, 168, 128, 0.6);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(245, 240, 234, 0.9);
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 35px;
    background: transparent;
    color: #f5f0ea;
    border: 2px solid var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.4s ease;
}

.btn-secondary:hover {
    background: var(--accent-gold);
    color: #12100e;
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.6);
    transform: translateY(-3px);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- FEATURES SECTION --- */
.features-section { background: linear-gradient(135deg, rgba(197, 168, 128, 0.05) 0%, rgba(197, 168, 128, 0.02) 100%); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: var(--card-bg);
    padding: 40px 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    text-align: center;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-main);
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent-gold);
    box-shadow: 0 15px 40px rgba(197, 168, 128, 0.2);
}

/* --- KNOWLEDGE SECTION --- */
.knowledge-section { background: linear-gradient(135deg, rgba(197, 168, 128, 0.03) 0%, transparent 100%); }

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: -40px auto 60px;
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.8;
}

.knowledge-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
}

.knowledge-card {
    background: var(--card-bg);
    padding: 35px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
}

.knowledge-card h3 {
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-bottom: 15px;
}

.knowledge-card p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: justify;
}

.knowledge-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-gold);
    box-shadow: 0 12px 35px rgba(197, 168, 128, 0.15);
}

/* --- HIGHLIGHT SECTION --- */
.highlight-section {
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.08) 0%, rgba(197, 168, 128, 0.03) 100%);
}

.focus-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.focus-item {
    background: var(--card-bg);
    padding: 30px;
    border-left: 4px solid var(--accent-gold);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.focus-item:hover {
    border-left-width: 6px;
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.1);
}

.focus-item strong {
    color: var(--accent-gold);
    display: block;
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.focus-item {
    color: var(--text-muted);
    line-height: 1.6;
}

.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: var(--accent-gold);
    color: #12100e;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 4px;
    transition: all 0.4s ease;
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: transparent;
    color: var(--accent-gold);
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.4);
    transform: translateY(-3px);
    border: 1px solid var(--accent-gold);
}
.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; }
.reveal-card { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 8px; padding: 20px; text-align: center; transition: all 0.4s ease; }
.reveal-card img { width: 100%; height: 250px; object-fit: cover; border-radius: 6px; margin-bottom: 20px; }
.reveal-card h3 { color: var(--accent-gold); margin-bottom: 10px; font-size: 1.5rem; }
.reveal-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; margin-bottom: 10px; }
.reveal-card:hover { transform: translateY(-10px); border-color: var(--accent-gold); box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.stats { display: flex; justify-content: space-around; margin-top: 15px; font-size: 0.85rem; color: var(--text-main); font-weight: 500; border-top: 1px solid var(--border-color); padding-top: 15px; }

/* --- SHOP / NACHZUCHTEN --- */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.shop-card { background: var(--card-bg); border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color); transition: all 0.3s ease; display: flex; flex-direction: column; }
.shop-img-container { height: 280px; overflow: hidden; }
.shop-img-container img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.shop-info { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.shop-info h4 { font-size: 1.2rem; margin-bottom: 8px; color: var(--text-main); }
.shop-info .details { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 15px; flex-grow: 1; }
.shop-info .price { font-size: 1.4rem; font-weight: 700; color: var(--accent-gold); margin-bottom: 20px; }
.btn-shop { width: 100%; padding: 12px; background: var(--text-main); color: var(--bg-main); border: none; font-weight: 600; text-transform: uppercase; cursor: pointer; border-radius: 4px; transition: 0.3s; }
.btn-shop:hover { background: var(--accent-gold); color: #12100e; }
.shop-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.15); }
.shop-card:hover img { transform: scale(1.06); }

/* --- KONTAKT & FAQ --- */
.contact-container { max-width: 600px; margin: 0 auto 60px; }
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 15px; background: var(--input-bg); border: 1px solid var(--border-color); border-radius: 4px; color: var(--text-main); font-family: 'Montserrat', sans-serif; transition: 0.3s; }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent-gold); background: transparent; }

.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 20px; border-bottom: 1px solid var(--border-color); padding-bottom: 20px; }
.faq-item h4 { color: var(--accent-gold); margin-bottom: 10px; font-size: 1.1rem; }
.faq-item p { color: var(--text-muted); line-height: 1.6; }

/* --- BREEDING ANIMALS SECTION --- */
.breeding-animals-section {
    padding: 80px 0;
}

.breeding-animals-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.animal-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.animal-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 12px 35px rgba(197, 168, 128, 0.15);
}

.animal-header {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.animal-header:hover {
    background: rgba(197, 168, 128, 0.05);
}

.animal-image-wrapper {
    flex-shrink: 0;
    width: 220px;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.animal-header:hover .animal-image-wrapper {
    border-color: var(--accent-gold);
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.2);
}

.animal-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.animal-header:hover .animal-main-image {
    transform: scale(1.05);
}

.animal-info {
    flex: 1;
    min-width: 0;
}

.animal-name {
    font-size: 2.2rem;
    color: var(--text-main);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.animal-morph {
    font-size: 1.1rem;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
}

.animal-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    font-size: 0.95rem;
    color: var(--text-main);
}

.stat-item strong {
    color: var(--accent-gold);
}

.animal-description {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1rem;
}

.expand-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.chevron {
    font-size: 2rem;
    color: var(--accent-gold);
    transition: transform 0.3s ease;
}

.animal-card.expanded .chevron {
    transform: rotate(90deg);
}

.animal-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid var(--border-color);
}

.animal-card.expanded .animal-details {
    max-height: 1000px;
    padding: 30px;
}

.gallery-section {
    margin-bottom: 40px;
}

.gallery-section h4 {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.2);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.breeding-info {
    background: rgba(197, 168, 128, 0.08);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-gold);
}

.breeding-info h4 {
    font-size: 1.3rem;
    color: var(--text-main);
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.breeding-info p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.breeding-info p strong {
    color: var(--text-main);
}

/* RESPONSIVES DESIGN */
@media (max-width: 768px) {
    .animal-header {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 20px;
    }

    .animal-image-wrapper {
        width: 180px;
        height: 180px;
    }

    .animal-name {
        font-size: 1.8rem;
    }

    .animal-stats {
        flex-direction: column;
        gap: 10px;
        border-bottom: none;
        padding-bottom: 0;
    }

    .expand-icon {
        width: 35px;
        height: 35px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .animal-card.expanded .animal-details {
        max-height: 2000px;
    }
}

/* --- COMING SOON OVERLAY --- */
.coming-soon-card {
    position: relative;
    min-height: 400px;
}

.coming-soon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(197, 168, 128, 0.15) 0%, rgba(197, 168, 128, 0.08) 100%);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    pointer-events: none;
    z-index: 10;
}

.coming-soon-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.question-mark {
    font-size: 5rem;
    color: var(--accent-gold);
    font-weight: 700;
    opacity: 0.9;
    line-height: 1;
    text-shadow: 0 4px 15px rgba(197, 168, 128, 0.3);
}

.coming-soon-text {
    font-size: 1.4rem;
    color: var(--text-main);
    font-weight: 600;
    letter-spacing: 1px;
    font-family: 'Cinzel', serif;
}

/* --- RECHTLICHES (Impressum / Datenschutz) --- */
.legal-text { max-width: 800px; margin: 0 auto; line-height: 1.8; color: var(--text-muted); }
.legal-text h3 { color: var(--accent-gold); margin: 30px 0 10px 0; }

/* --- UNTERER FOOTER --- */
.main-footer {
    background: var(--footer-bg);
    padding: 40px 8%;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    transition: background 0.5s ease;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-content p { font-size: 0.9rem; color: var(--text-muted); }
.footer-links { display: flex; list-style: none; gap: 25px; }
.footer-links a { text-decoration: none; color: var(--text-muted); font-size: 0.85rem; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--accent-gold); }
/* --- RESPONSIVE NAVIGATION & LAYOUT --- */
.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--card-bg);
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    color: var(--text-main);
}

.menu-toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 10px;
    background: currentColor;
    transition: transform .25s ease, opacity .2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

img { max-width: 100%; }
button, input, textarea, select { font: inherit; }

@media (max-width: 1100px) {
    .navbar { padding-inline: 5%; }
    .nav-right { gap: 18px; }
    .nav-links { gap: 6px; }
    .nav-links a { padding-inline: 10px; }
    .section { padding-inline: 7%; }
}

@media (max-width: 860px) {
    .navbar {
        min-height: 78px;
        padding: 12px 5%;
    }

    .logo-link { height: auto; max-width: calc(100% - 64px); }
    .logo-img { max-height: 50px; max-width: 210px; }
    .menu-toggle { display: flex; margin-left: auto; z-index: 1002; }

    .nav-right {
        position: absolute;
        top: calc(100% + 1px);
        right: 0;
        left: 0;
        display: grid;
        gap: 20px;
        padding: 22px 5% 26px;
        background: var(--nav-bg);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 18px 35px rgba(0,0,0,.18);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-12px);
        pointer-events: none;
        transition: opacity .25s ease, transform .25s ease, visibility .25s;
    }

    .navbar.menu-open .nav-right {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav-links { flex-direction: column; gap: 8px; width: 100%; }
    .nav-links li, .nav-links a { width: 100%; }
    .nav-links a { display: block; padding: 13px 15px; font-size: .95rem; }
    .theme-switch-wrapper { justify-self: end; }

    .main-content { padding-top: 78px; }
    .hero-section-slideshow { height: min(760px, calc(100svh - 78px)); min-height: 560px; padding: 40px 6%; }
    .hero-content-overlay h1 { font-size: clamp(2.5rem, 8vw, 3.6rem); }
    .hero-subtitle { font-size: 1.05rem; }
    .section { padding: 64px 6%; }
    .section-title { font-size: clamp(1.8rem, 6vw, 2.3rem); margin-bottom: 42px; }
    .knowledge-container, .features-grid, .shop-grid, .grid-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

@media (max-width: 600px) {
    .navbar { padding-inline: 4%; }
    .logo-img { max-width: 175px; max-height: 46px; }
    .nav-right { padding-inline: 4%; }
    .section { padding: 50px 5%; }
    .section-title { letter-spacing: 1px; margin-bottom: 34px; }
    .section-intro { margin-top: -20px; margin-bottom: 38px; font-size: 1rem; }

    .hero-section-slideshow { min-height: 520px; padding-inline: 5%; background-position: center; }
    .hero-content-overlay h1 { font-size: clamp(2.15rem, 11vw, 3rem); }
    .hero-subtitle { font-size: .98rem; line-height: 1.6; margin-bottom: 28px; }
    .hero-buttons { flex-direction: column; gap: 12px; width: 100%; }
    .hero-buttons a { width: 100%; padding: 13px 18px; }

    .knowledge-container, .features-grid, .shop-grid, .grid-container, .focus-list { grid-template-columns: 1fr; gap: 20px; }
    .feature-card, .knowledge-card { padding: 26px 20px; }
    .knowledge-card p { text-align: left; }
    .shop-img-container { height: 230px; }
    .reveal-card img { height: 220px; }

    .animal-header { align-items: stretch; }
    .animal-image-wrapper { width: 100%; height: auto; aspect-ratio: 1 / 1; }
    .animal-stats { align-items: center; }
    .animal-card.expanded .animal-details { padding: 20px; }
    .gallery-item img { height: auto; aspect-ratio: 4 / 3; }

    .contact-form input, .contact-form textarea { font-size: 16px; }
    .main-footer { padding: 30px 5%; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 380px) {
    .logo-img { max-width: 145px; }
    .menu-toggle { width: 42px; height: 42px; }
    .hero-content-overlay h1 { font-size: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* --- KONTAKTFORMULAR --- */
.contact-form label:not(.privacy-check) {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: -10px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: var(--input-bg);
    color: var(--text-main);
    font: inherit;
    padding: 14px 16px;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid var(--accent-gold);
    outline-offset: 2px;
}

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

.privacy-check input {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 2px;
}

.privacy-check a {
    color: var(--accent-gold);
}

.website-field {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.form-status {
    display: none;
    margin: 0 0 22px;
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    line-height: 1.5;
}

.form-status.is-visible {
    display: block;
}

.form-status.success {
    border-color: #3f8f5f;
    background: rgba(63, 143, 95, 0.12);
}

.form-status.error {
    border-color: #b85c5c;
    background: rgba(184, 92, 92, 0.12);
}
