/* ===========================
   Farbvariablen
   =========================== */

:root {
    --creme: #FEF5E5;
    --tuerkis: #87DBD1;
    --mint: #42C0B5;
    --salbei: #D3D8BA;
    --rot: #D62728;
    --gelb: #FDC738;
    --anthrazit: #3B4448;
    --schwarz: #030404;

    --koralle: #F28C28;
    --rosa: #F76FA8;
    --dunkelblau: #234E70;
    --gruen: #6A9661;
}

/* ===========================
   Grundlayout
   =========================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Josefin Sans', Arial, sans-serif;
    background: var(--creme);
    color: var(--schwarz);
}

/* ===========================
   Sidebar
   =========================== */

.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 260px;
    height: 100%;
    background: var(--anthrazit);
    padding: 24px 20px;
    border-right: 4px solid var(--gelb);
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Sidebar Logo ohne Kreis */
.logo-text-only {
    border: 2px solid var(--gelb);
    padding: 12px;
    margin-bottom: 20px;
    background: rgba(3,4,4,0.2);
}

.logo-main {
    font-family: 'Poiret One';
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
}

.logo-sub {
    font-size: 0.85rem;
    color: var(--mint);
}

.dot {
    width: 10px;
    height: 10px;
    background: var(--gelb);
    border-radius: 50%;
    display: inline-block;
}

/* Pulsierender Hinweis-Link */
.pulse-link {
    animation: pulse 1.6s infinite ease-in-out;
    color: var(--gelb);
    font-weight: 600;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.55; transform: scale(1.04); }
    100% { opacity: 1; transform: scale(1); }
}



/* Navigation mit Art-Déco-Icons */

.nav {
    font-family: 'Poiret One', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    padding: 8px 6px;
    border-radius: 4px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.1s ease;
    font-weight: 600;
}

.nav a:hover {
    background: rgba(66, 192, 181, 0.15);
    color: var(--mint);
    transform: translateX(2px);
}

.nav-icon {
    width: 26px;
    height: 26px;
    border: 2px solid var(--gelb);
    border-radius: 4px;
    position: relative;
}

/* Home-Icon: stilisierte Tür */

.nav-icon-home::before {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    bottom: 4px;
    top: 6px;
    border: 2px solid var(--mint);
    border-bottom: none;
}

/* Gallery-Icon: Filmstreifen */

.nav-icon-gallery::before,
.nav-icon-gallery::after {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    height: 4px;
    border-top: 2px solid var(--mint);
}

.nav-icon-gallery::before {
    top: 6px;
}

.nav-icon-gallery::after {
    bottom: 6px;
}

/* Contact-Icon: Briefumschlag */

.nav-icon-contact::before {
    content: "";
    position: absolute;
    left: 4px;
    right: 4px;
    top: 7px;
    bottom: 7px;
    border: 2px solid var(--mint);
}

.nav-icon-contact::after {
    content: "";
    position: absolute;
    left: 6px;
    right: 6px;
    top: 9px;
    border-top: 2px solid var(--mint);
    transform: skewY(-20deg);
}

.nav-label {
    font-size: 0.95rem;
}

/* ===========================
   Content-Bereich
   =========================== */

.content {
    margin-left: 260px;
    padding: 40px;
    max-width: 1000px;
}

/* Typografie */

h1, h2 {
    font-family: 'Poiret One', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--rot);
    margin-top: 0;
}

.hero {
    margin-bottom: 30px;
}

.hero-inner {
    max-width: 720px;
}

.hero-lead {
    font-size: 1.05rem;
    font-weight: 400;
}

/* Art-Déco-Linien */

.deco-line-center {
    width: 160px;
    height: 3px;
    background: linear-gradient(to right, var(--mint), var(--gelb), var(--mint));
    margin: 16px 0 20px 0;
}

/* Infoboxen & Karten */

.infobox {
    background: var(--salbei);
    padding: 20px 24px;
    border-radius: 10px;
    margin: 20px 0;
    border: 2px solid rgba(59, 68, 72, 0.4);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.card {
    background: rgba(211, 216, 186, 0.9);
    padding: 18px 20px;
    border-radius: 10px;
    border: 2px solid rgba(59, 68, 72, 0.4);
}

ul {
    list-style: disc;
    padding-left: 20px;
}

/* Call-to-Action */

.callout {
    margin: 30px 0 10px;
    padding: 20px 24px;
    border-radius: 10px;
    border: 2px solid var(--mint);
    background: rgba(135, 219, 209, 0.15);
}

.button {
    display: inline-block;
    margin-top: 10px;
    background: var(--mint);
    color: var(--schwarz);
    padding: 10px 18px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.button:hover {
    background: var(--tuerkis);
}


/* ===========================
   Konfetti-Animation
   =========================== */

.confetti-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.confetti {
    position: absolute;
    width: 8px;
    height: 14px;
    border-radius: 2px;
    opacity: 0.9;
    animation: confetti-fall 8s linear infinite;
}

/* Farben & Positionen */

.c1 { background: var(--koralle); left: 10%; animation-delay: 0s; }
.c2 { background: var(--rosa); left: 25%; animation-delay: 1s; }
.c3 { background: var(--dunkelblau); left: 40%; animation-delay: 2s; }
.c4 { background: var(--gruen); left: 55%; animation-delay: 3s; }
.c5 { background: var(--koralle); left: 70%; animation-delay: 4s; }
.c6 { background: var(--rosa); left: 85%; animation-delay: 5s; }
.c7 { background: var(--dunkelblau); left: 50%; animation-delay: 6s; }
.c8 { background: var(--gruen); left: 30%; animation-delay: 7s; }

@keyframes confetti-fall {
    0% {
        transform: translateY(-120%) rotate(0deg);
    }
    50% {
        transform: translateY(20vh) rotate(120deg);
    }
    100% {
        transform: translateY(120vh) rotate(360deg);
    }
}

/* ===========================
   Responsive
   =========================== */

@media (max-width: 800px) {
    .sidebar {
        position: static;
        width: 100%;
        height: auto;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-right: none;
        border-bottom: 4px solid var(--gelb);
    }

    .nav {
        flex-direction: row;
        gap: 16px;
    }

    .content {
        margin-left: 0;
        padding: 20px;
    }

    .logo-block {
        max-width: 55%;
    }

    .confetti-layer {
        display: none; /* optional auf Mobile ausblenden */
    }
}

/* ===========================
   Icons
   =========================== */

.icon {
    width: 26px;
    height: 26px;
    display: inline-block;
    color: var(--gelb); /* oder var(--mint) */
}




/* ===========================
   Lightbox (Art-Déco)
   =========================== */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(3, 4, 4, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
    z-index: 9999;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

/* Lightbox – dezenter Look */
.lightbox img {
    max-width: 90%;
    max-height: 90%;
    border: 2px solid rgba(255, 255, 255, 0.35); /* sehr leichter weißer Rahmen */
    background: none;
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.35); /* weicher, moderner Schatten */
    animation: deco-zoom .2s ease;
}

@keyframes deco-zoom {
    from { transform: scale(.95); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 48px;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    user-select: none;
    padding: 10px;
    transition: color .2s ease;
    z-index: 10000;
}

.lightbox-arrow:hover {
    color: #fff;
}

.lightbox-arrow.left {
    left: 30px;
}

.lightbox-arrow.right {
    right: 30px;
}



/* Galerie-Grid bleibt */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
    margin-top: 20px;
}

.gallery-item {
    display: block;
    width: 100%;
}


.gallery-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: unset;
    border-radius: 6px;
    border: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
}


.gallery-image:hover {
    transform: scale(1.01); /* minimaler Zoom */
    box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

.gallery-choice {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.gallery-choice-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
}

.gallery-choice-thumb {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid rgba(0,0,0,0.15);
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.gallery-choice-title {
    font-family: 'Poiret One';
    font-size: 1.2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--rot);
}

