/* GLOBAL */
body {
    margin: 0;
    font-family: sans-serif;
     background: #f5f5f3;   /* warmes off-white */
    color: #111111;        /* weiches schwarz */
     overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

:root {
    --accent: #7a9b8e;
}


/* NAV */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 70px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(12px);
    color: #111;
    z-index: 9999; /* 🔥 höher als alles */
    
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ❌ WRAPPER ENTFERNT */
/* .sections-wrapper { height: 400vh; } */

/* ✅ SECTION (NEU – KEIN STICKY MEHR) */
.section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #f5f5f3;
    display: flex;
    align-items: center;
}



/* optional visuelle Trennung */
.section + .section {
    border-top: 60px solid #7389a1;
}


/* PARALLAX (SOFTER) */
.parallax-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0; 
    pointer-events: none;

    transform: scale(1.1);
    opacity: 1;
}

#section1 {
    background: #f5f5f3; /* dein heller Ton */
}


/* BACKGROUNDS */
#section1 .parallax-bg { position: absolute;
    inset: 0;

    background-image: url("/static/me2.jpg");
    background-size: cover;
    background-position: center;

    
    z-index: 1; }
#section2 .parallax-bg { background-image: url("/static/bg.jpg"); }
#section3 .parallax-bg { background-image: url("/static/bg.jpg"); }
#section4 .parallax-bg { background-image: url("/static/bar2.jpg"); }
#section5 .parallax-bg { background-color: black; }

/* DARK OVERLAY */
.parallax-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.4);
    display: none
}

/* CONTENT */
.content {
    position: relative;
    z-index: 2;

    padding: 140px 80px;
    max-width: 1200px;
    margin: 0 auto;
}

/* TYPO */
.content h1 {
    font-size: 64px;
    margin: 0 0 20px 0;
}

.content p {
    font-size: 22px;
    opacity: 0.8;
    line-height: 1.6;
    color: #555;
}

.fade-in {
    opacity: 0;
    transform: translateY(60px);
    transition: 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}


.menu-button {
    position: fixed;   /* 🔥 DAS fehlt */
    top: 10px;
    left: 20px;

    font-size: 28px;
    color: #111;
    cursor: pointer;            

    background: rgba(255,255,255,0.6);
    padding: 10px 14px;
    border-radius: 8px;
    backdrop-filter: blur(8px);

    z-index: 10001; /* über nav + allem */
}




/* =========================
   CARD STRUCTURE
========================= */

.card-wrapper {
    height: 100%;
    transition: transform 0.4s ease;
}

.card {
    position: relative;
    height: 100%;
    border-radius: 15px;
    overflow: hidden;

    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    outline: 2px solid red;

}

/* =========================
   IMAGE
========================= */

.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* =========================
   TEXT OVERLAY
========================= */

.card h3 {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;

    margin: 0;
    font-size: 22px;
    color: white;
}

/* dunkler Verlauf */
.card::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.7),
        rgba(0,0,0,0.2),
        transparent
    );
}

/* =========================
   LINK RESET
========================= */

.card-link {
    text-decoration: none;
    color: inherit;
    background: red;
    display: block;
    height: 100%;
}

/* =========================
   HOVER EFFECT
========================= */

.card-link:hover .card-wrapper {
    transform: scale(1.08);
}

/* OVERLAY */
.menu-overlay {
    position: fixed;
    inset: 0;

    display: flex;
    justify-content: center;
    align-items: center;

    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(12px);

    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;

    z-index: 9999; /* ✅ nur EIN Wert */
}


/* ACTIVE */
.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* MENU CONTENT */
.menu-content {
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%; 
    transform: translate(-50%, -50%);
    z-index: 1000000;
    
}

/* LINKS */
.menu-content a {
    display: block;
    font-size: 40px;
    color: white;
    text-decoration: none;
    margin: 20px 0;

    opacity: 1;
    transform: translateY(20px);
    transition: 0.4s ease;
}

/* FADE IN */
.menu-overlay.active .menu-content a {
    opacity: 1;
    transform: translateY(0);
}

.menu-overlay.active a:nth-child(1) { transition-delay: 0.1s; }
.menu-overlay.active a:nth-child(2) { transition-delay: 0.2s; }
.menu-overlay.active a:nth-child(3) { transition-delay: 0.3s; }
.menu-overlay.active a:nth-child(4) { transition-delay: 0.4s; }

.menu-content a:hover {
     color: var(--accent);  
    transform: scale(1.05);
}

/* HERO (NEU – Anna Style) */
.hero {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.hero-strip {
    position: relative;

    width: 100%;
    height: 220px; /* 🔥 DAS ist entscheidend */

    background-image: url("/static/vr.png"); /* dein Streifenbild */
    background-size: cover;
    background-position: center;

    margin: 100px 0;
}


.hero-portrait {
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 480px;
    height: 480px;

    object-fit: cover;
    border-radius: 50%;

    border: 6px solid #f5f5f3; /* passt zu deinem Background */

    z-index: 2;
}

.hero-socials {
    position: absolute;
    top: calc(50% + 290px); /* unter dem Bild */

    left: 50%;
    transform: translateX(-50%);

    display: flex;
    gap: 20px;
}


.hero-socials img {
    width: 50px;
    height: 50px;
}

/* einzelne Icons */
.hero-socials a {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    border-radius: 50%;
    background: #111;
    color: white;
    text-decoration: none;

    font-size: 14px;
    transition: 0.3s;
}

.content.hero {
    margin: 0;           /* ❌ kein zentrieren mehr */
    padding-left: 0px;  /* Abstand zum Rand */
}


.hero-text {
    background: #eeeef3;
    padding: 60px;

    width: 100%;      /* 🔥 steuert wie weit er geht */
    max-width: none; /* ❌ wichtig! */

    border: 1px solid #e5e5e0;
}

/* Hover */
.hero-socials a:hover {
    background: #7a9b8e; /* dein Accent */
}

/* IMAGE GRID */
.hero-images {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 20px;
    
}

.hero-images img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}



/* großes Bild */
.img-large {
    grid-row: span 2;
}

/* TEXT */
.hero-text {
    max-width: 700px;
}

.hero-text h1 {
    font-size: 72px;
    line-height: 1.1;
}

/* STATS */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.stat h1 {
    font-size: 120px;
    font-weight: 300;
    margin: 0;
    transition: transform 0.3s;
}

.stat:hover h1 {
    transform: scale(1.25);
}

.stat h3 {
    font-size: 20px;
    margin: 10px 0;
}

.stat p {
    font-size: 16px;
    color: #aaa;
}

/* BUTTON */
.cta-button {
    padding: 12px 24px;
    border: 1px solid #111;
    border-radius: 30px;
    text-decoration: none;
    color: #111;
}

.cta-button:hover {
    background: #111;
    color: white;
}

/* GALLERY */
.gallery {
    overflow: hidden;
    width: 100%;
    margin-top: 60px;
}

.gallery-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: scrollGallery 30s linear infinite;
}

.gallery img {
    width: 400px;
    height: 260px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.4s ease;
}

.gallery img:hover {
    transform: scale(1.25);
}

@keyframes scrollGallery {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* LIGHTBOX */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.lightbox img {
    max-width: 90%;
    max-height: 90%;
}

.lightbox .close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}



/* =========================
Kacheln
========================= */



.tiles {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;

    margin-top: 60px;
}

/* einzelne Kachel */
.tile {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 2px;
    height: 350px;
    text-decoration: none;
    color: white;
}

/* Bild */
.tile img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform 0.4s ease;
}

/* Text */
.tile span {
    position: absolute;
    bottom: 20px;
    left: 20px;

    font-size: 20px;
    z-index: 2;
}

/* Overlay */
.tile::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.6),
        transparent
    );
}

/* Hover */
.tile:hover img {
    transform: scale(1.08);
}


.contact {
    max-width: 900px;
}

/* Karte */
.contact-card {
    background: #f0f0ed;
    padding: 50px;

    border: 1px solid #e5e5e0;

    margin-top: 40px;

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* einzelne Bereiche */
.contact-item h3 {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #777;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 18px;
    color: #111;
    margin: 0;
}

/* Links */
.contact-item a {
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #ccc;
}

.contact-item a:hover {
    color: var(--accent);
    border-color: var(--accent);
}