/* === VARIABLES & RESET === */
:root {
    --color-dark: #c7bba7;
    --color-dark-secondary: #f5f1eb;
    --color-dark-tertiary: #ebe6df;
    --color-gold: #c7663a;
    --color-gold-light: #d88b5f;
    --color-white: #2d2826;
    --color-gray: #6b5d57;
    --color-gray-light: #8a7c76;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-dark);
    color: var(--color-white);
    overflow-x: hidden;
    line-height: 1.6;
}

/* === FLOATING NAVBAR === */
.floating-navbar {
    position: fixed;
    bottom: 10;
    left: 0;
    width: 80%;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(199, 102, 58, 0.2);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 20px 20px;
    box-shadow: 0 4px 16px rgba(199, 102, 58, 0.12);
    border-bottom-right-radius: 30px;
    transition: var(--transition);
}

.floating-navbar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(199, 102, 58, 0.2);
}

.floating-navbar ul {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.floating-navbar li {
    margin: 0 15px;
}

.floating-navbar a {
    text-decoration: none;
    color: var(--color-gray);
    font-weight: 400;
    font-size: 1rem;
    font-family: monospace;
    transition: color 0.3s ease;
}

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


.status-alert {
    color: var(--color-white);
    text-decoration: none; 
    margin-top: 60px;
}

@media (max-width: 1024px) {
    .floating-navbar {
        width: 75%;
    }
}

@media (max-width: 768px) {
    .floating-navbar {
        width: auto;
        padding: 10px;
        border-bottom-right-radius: 15px;
        border-top-right-radius: 15px;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .floating-navbar ul {
        display: none;
    }

    .floating-navbar .burger {
        display: block;
        border-top-right-radius: 30px;
        border-bottom-right-radius: 30px;

    }
}

/* --- Burger-Button --- */
.burger {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-gold);
    cursor: pointer;
}

/* === Navigation Drawer (Fancy Version) === */
.nav-drawer {
    position: fixed;
    top: 0;
    left: -280px;
    width: 260px;
    height: 100%;
    background: rgba(250, 248, 245, 0.98);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-right: 1px solid rgba(199, 102, 58, 0.25);
    padding: 70px 25px 40px;
    box-shadow: 6px 0 20px rgba(0, 0, 0, 0.08);
    transition: left 0.35s cubic-bezier(.4,.0,.2,1);
    z-index: 1100;
}
.nav-drawer.open {
    left: 0;
}

.nav-drawer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-drawer li {
    margin: 24px 0;
}

.nav-drawer a {
    display: block;
    color: var(--color-gray);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 400;
    font-family: monospace;
    letter-spacing: 0.5px;
    padding: 8px 0;
    transition: color 0.25s ease, text-shadow 0.25s ease;
}
.nav-drawer a:hover {
    color: var(--color-gold);
    text-shadow: 0 0 8px rgba(199, 102, 58, 0.3);
}

.nav-drawer li + li {
    border-top: 1px solid rgba(199, 102, 58, 0.15);
    padding-top: 14px;
}

.drawer-close {
    position: absolute;
    top: 20px;
    right: 18px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--color-gold);
    cursor: pointer;
    transition: transform 0.2s ease;
}
.drawer-close:hover {
    transform: rotate(90deg);
}

.drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 40, 38, 0.4);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 1050;
}
.drawer-backdrop.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .floating-navbar ul {
        display: none;
    }
    .burger {
        display: block;
    }
}

/* === HERO SECTION (wie Hauptseite mit Parallax) === */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(rgba(250, 248, 245, 0.056), rgba(250, 248, 245, 0.16)),
                url('../assets/eating-fish.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: grayscale(100%);
}

.parallax-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    will-change: transform;

}

.parallax-image {
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(250, 248, 245, 0.3), rgba(250, 248, 245, 0.4)),
                url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?w=1920&h=1080&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    filter: grayscale(80%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    border: 2px solid rgba(199, 103, 58, 0.057);
    border-radius: 4px;
    padding: 60px 80px;
    transition: var(--transition);
}

.hero-content:hover {
    transform: translate(-50%, -50%) scale(1.02);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: var(--color-white);
    text-shadow: 2px 2px 8px rgba(250, 248, 245, 0.8);
}

.hero-subtitle {
    color: var(--color-white);
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    .hero-section {
        height: 50vh;
        min-height: 350px;
    }

    .hero-content {
        padding: 40px 50px;
        max-width: 90%;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .hero-content {
        padding: 30px 35px;
        max-width: 92%;
    }
}

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

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* === MAIN CONTENT (Bento-Grid Style) === */
.impressum-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 15px;
    letter-spacing: -2px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    border-radius: 2px;
}

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

.content-section {
    background: var(--color-dark-secondary);
    border: 1px solid rgba(199, 102, 58, 0.2);
    border-radius: 2px;
    padding: 40px;
    opacity: 0;
    animation: fadeInScale 0.6s forwards;
    animation-delay: calc(var(--section-index) * 0.15s);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    margin-bottom: 8px;
    border-radius: 6px;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.content-section:hover::before {
    transform: scaleX(1);
}

.content-section:hover {
    transform: scaleY(1.04);
    box-shadow: 0 20px 40px rgba(199, 102, 58, 0.2);
    border-color: var(--color-gold);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--color-gold);
    margin-bottom: 25px;
    position: relative;
}

.info-grid {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(199, 102, 58, 0.15);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: var(--color-gray);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
}

.info-value {
    color: var(--color-white);
    font-weight: 400;
    font-size: 1.1rem;
}

.info-value strong {
    color: var(--color-gold);
    font-weight: 700;
}

.contact-list {
    list-style: none;
    margin: 20px 0;
}

.contact-list li {
    padding: 12px 0;
    color: var(--color-white);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
    border-bottom: 1px solid rgba(199, 102, 58, 0.1);
}

.contact-list li:last-child {
    border-bottom: none;
}

.contact-list li:hover {
    color: var(--color-gold);
    transform: translateX(8px);
}

.contact-list li::before {
    content: '→';
    color: var(--color-gold);
    font-weight: bold;
    font-size: 1.3rem;
}

.section-text {
    color: var(--color-gray);
    line-height: 1.8;
    margin: 20px 0;
    font-size: 1rem;
}

.highlight-box {
    background: rgba(199, 102, 58, 0.15);
    border-left: 4px solid var(--color-gold);
    padding: 25px;
    margin: 25px 0;
    border-radius: 2px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.highlight-box::before {
    content: '!';
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 4rem;
    color: rgba(199, 102, 58, 0.1);
    font-weight: 900;
}

.highlight-box:hover {
    background: rgba(199, 102, 58, 0.25);
    border-left-width: 6px;
    box-shadow: 0 5px 15px rgba(199, 102, 58, 0.15);
}

.highlight-box p {
    color: var(--color-white);
    margin: 0;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* === FOOTER (wie Hauptseite) === */
footer {
    background: var(--color-dark-secondary);
    border-top: 1px solid rgba(199, 102, 58, 0.2);
    padding: 60px 20px 30px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-text {
    color: var(--color-gray);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.footer-date {
    color: var(--color-gold);
    font-weight: 600;
    margin-top: 10px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

/* === DECORATIVE ELEMENTS === */
.decoration {
    position: fixed;
    pointer-events: none;
    opacity: 0.06;
    z-index: 0;
    border-radius: 50%;
}

.decoration-1 {
    top: 15%;
    left: -150px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-gold), transparent);
    filter: blur(100px);
    animation: float 25s infinite ease-in-out;
}

.decoration-2 {
    bottom: 15%;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-gold-light), transparent);
    filter: blur(120px);
    animation: float 30s infinite ease-in-out reverse;
}

@keyframes float {
    0%, 100% { 
        transform: translateY(0) scale(1); 
    }
    50% { 
        transform: translateY(-40px) scale(1.1); 
    }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }

    .content-section {
        padding: 35px;
    }
}

@media (max-width: 768px) {
    .impressum-container {
        padding: 80px 20px;
    }

    .section-header {
        margin-bottom: 60px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .content-section {
        padding: 30px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .impressum-container {
        padding: 60px 15px;
    }

    .content-section {
        padding: 25px 20px;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .highlight-box {
        padding: 20px;
    }

    .info-value {
        font-size: 1rem;
    }
}

/* === SECTION INDEX für gestaffelte Animation === */
.content-section:nth-child(1) { --section-index: 0; }
.content-section:nth-child(2) { --section-index: 1; }
.content-section:nth-child(3) { --section-index: 2; }
.content-section:nth-child(4) { --section-index: 3; }
.content-section:nth-child(5) { --section-index: 4; }
.content-section:nth-child(6) { --section-index: 5; }