:root{
 --primary:#b32025;
 --primary-dark:#8f1a1f;
 --bg:#faf8f6;
 --white:#fff;
 --text:#1d1d1d;
 --muted:#6e6e6e;
}

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

html{
 scroll-behavior:smooth;
}

body{
 font-family:'Inter',sans-serif;
 background:var(--bg);
 color:var(--text);
 line-height:1.6;
}

.container{
 width:min(1200px,90%);
 margin:auto;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000;

    backdrop-filter: blur(15px);
    background: #faf8f6;
    
    border-bottom: 1px solid rgba(0,0,0,.05);

    position: fixed; /* bleibt */
}

.nav-inner{
 display:flex;
 justify-content:space-between;
 align-items:center;
 padding:20px 0;
}

.nav-inner {
    position: relative;
}

.logo-hero{
    text-align:center;
    margin-bottom:40px;
    background-color: #8f1a1f;
    border-radius: 20px;
}

.header-logo-welcome{
    display:block;
    margin:0 auto 1px;

    width:100%;
    max-width:420px; /* größer als das Hero-Logo */

    height:auto;

    opacity:1;
    object-fit:contain;
}

.welcome-subtitle{
    font-family:'Inter',sans-serif;
    font-size:16px;
    color:#fff;
    letter-spacing:4px;
    font-weight:500;
    text-transform:uppercase;
}

@media (max-width: 480px){

    .logo-hero{
        margin-bottom: 25px;
    }

}

@media (max-width:768px){

    .header-logo-welcome{
        max-width:320px;
    }

    .welcome-subtitle{
        font-size:13px;
        letter-spacing:2px;
    }
}

/* ENDE LOGO HERO */

.logo{
    color:var(--primary);
    font-weight:800;
    font-size:1.5rem;

    display:flex;
    align-items:center;
    gap:12px;

    position:relative;
}

.logo-text{
    display:inline-flex;
}

.logo-text span{
    opacity:0;
    transform:translateY(10px);
    animation:letterFade .5s ease forwards;
}

.logo-text span:nth-child(1){ animation-delay:.05s; }
.logo-text span:nth-child(2){ animation-delay:.10s; }
.logo-text span:nth-child(3){ animation-delay:.15s; }
.logo-text span:nth-child(4){ animation-delay:.20s; }
.logo-text span:nth-child(5){ animation-delay:.25s; }
.logo-text span:nth-child(6){ animation-delay:.30s; }
.logo-text span:nth-child(7){ animation-delay:.35s; }
.logo-text span:nth-child(8){ animation-delay:.40s; }
.logo-text span:nth-child(9){ animation-delay:.45s; }
.logo-text span:nth-child(10){ animation-delay:.50s; }

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

.logo-rotator{
    position:relative;
    display:inline-block;
    min-width:130px;
    height:1.5em;
    overflow:hidden;
    font-size:0.8em;
}

/* Basiszustand */
.logo-rotator .word{
    position:absolute;
    left:0;
    top:0;

    opacity:0;
    transform:translateY(-120%);
    filter:blur(6px);

    transition:
        transform .7s ease,
        opacity .7s ease,
        filter .7s ease;

    white-space:nowrap;
    color:var(--primary);
}

/* sichtbar */
.logo-rotator .word.active{
    opacity:1;
    transform:translateY(0);
    filter:blur(0);
}

/* geht nach unten raus */
.logo-rotator .word.exit{
    opacity:0;
    transform:translateY(120%);
    filter:blur(6px);
}

/* ENDE LOGO */

.contact-section{
    background:#8f1a1f;
    color:white;
    padding:120px 0;
    border-radius:20px;
}

/* Section Header in weiß */
.contact-section .section-header h2,
.contact-section .section-header p{
    color:white;
}

/* Card bleibt hell, damit Inhalt lesbar bleibt */
.contact-section .contact-card{
    background:white;
    color:var(--text);
    border-radius:20px;
    padding:60px;
    text-align:center;
    box-shadow:0 20px 60px rgba(0,0,0,.2);
}

/* Button ggf. invertiert (optional schöner Look) */
.contact-section .btn{
    background:var(--primary-dark);
}

/* Map sauber integriert */
.contact-section .map-wrapper{
    margin-top:0px;
    border-radius:20px;
    overflow:hidden;
}

.contact-grid{
    display:grid;
    grid-template-columns:420px 1fr;
    gap:30px;
    min-height:500px;
}

.contact-card,
.map-wrapper{
    height:100%;
}

.contact-card{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.map-wrapper{
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 20px 50px rgba(0,0,0,.15);
}

.map-wrapper iframe{
    width:100%;
    height:100%;
    display:block;
    min-height:100%;
}

@media(max-width:900px){

    .contact-grid{
        grid-template-columns:1fr;
        min-height:auto;
    }

    .map-wrapper{
        height:350px;
    }
}

/* ENDE CONTACT  SECTION */

nav ul{
 display:flex;
 list-style:none;
 gap:30px;
}

nav a{
 text-decoration:none;
 color:var(--text);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero{
 height:100vh;
 position:relative;
 z-index: 1;
 overflow:hidden;
 display:flex;
 align-items:center;
 justify-content:center;
}

.hero-bg{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-logo{
    position:absolute;
    /*top:20px;
    left:20px;

    width:400px; */     /* Größe anpassen */
    height:auto;

    opacity:0.75;     /* leichte Transparenz */

    z-index:2;
    object-fit:contain;
}

@media (max-width:768px){

    .hero-logo{
        width:300px;
        max-width:80vw;
        height:auto;

        top:60px;
        left:50%;
        transform:translateX(-50%);
    }

}

.hero::after{
 content:'';
 position:absolute;
 inset:0;
 background:rgba(0,0,0,.45);
}

.hero-content{
 position:relative;
 z-index:2;
 color:white;
 text-align:center;
}

.hero h1{
 font-size:clamp(3rem,8vw,6rem);
 margin-bottom:20px;
}

.hero p{
 font-size:1.2rem;
 margin-bottom:30px;
}

.btn{
 display:inline-flex;
 align-items:center;
 gap:10px;
 background:var(--primary);
 color:white;
 text-decoration:none;
 padding:16px 32px;
 border-radius:999px;
}

section{
 padding:120px 0;
}

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

.section-header h2{
 font-size:2.8rem;
 margin-bottom:10px;
 color: #8f1a1f;
}

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

.card{
 background:#8f1a1f;
 padding:40px;
 border-radius:20px;
 box-shadow:0 10px 30px rgba(0,0,0,.05);
}

.card h3{
  color: #1d1d1d;
}

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

.gallery img{
 width:100%;
 height:350px;
 object-fit:cover;
 border-radius:20px;
}

.menu{
 max-width:1000px;
 margin:auto;
}

details{
 background:white;
 border-radius:20px;
 margin-bottom:20px;
 overflow:hidden;
 box-shadow:0 5px 20px rgba(0,0,0,.05);
}

summary{
    cursor:pointer;
    padding:25px 30px;
    font-size:1.3rem;
    font-weight:700;
    color: #fff;
    list-style:none;

    display:flex;
    justify-content:space-between;
    align-items:center;
    background-color: #b32025;
}

summary::-webkit-details-marker{
    display:none;
}

summary::after{
    content:"⌄";
    font-size:1.5rem;
    font-weight:300;
    transition:.3s ease;
}

details[open] summary::after{
    transform:rotate(180deg);
}

.menu-item{
 display:flex;
 justify-content:space-between;
 align-items:flex-start;
 padding:20px 30px;
 border-top:1px solid #8f1a1f;
 background-color: #f9be39;
}

.price{
 color:var(--primary);
 font-weight:700;
}

.contact-card{
 max-width:700px;
 margin:auto;
 background:white;
 border-radius:20px;
 padding:60px;
 text-align:center;
}

.map-wrapper{
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.map-wrapper iframe{
    display:block;
}

/* =========================
   SCROLL BANDS
========================= */

.scroll-bars{
    position:fixed;
    inset:0;
    overflow:hidden;
    pointer-events:none;
    z-index:0;
}

.scroll-bar{
    position:absolute;
    left:0;
    height:120px;
    background:#8f1a1f;
    border-radius:999px;
    opacity:.09;
    will-change:transform;
}

/* hinterste Ebene */

.bar1{
    top:22%;
    width:1400px;
    opacity:.15;
}

/* Ebene 2 */

.bar2{
    top:30%;
    width:1000px;
    opacity:.4;
    background: #f9be39;
}

/* Ebene 3 */

.bar3{
    top:38%;
    width:1600px;
    opacity:.5;
}

/* vorderste Ebene */

.bar4{
    top:46%;
    width:1200px;
    opacity:.2;
    background: #f9be39;
}


/* Content über den Bändern */
/* burger menu fix, hier wieder nav, einfügen */
.hero,
section,
footer{
    position:relative;
    z-index:1;
}

/* Cards noch etwas hervorheben */

.card,
.contact-card,
details{
    position:relative;
    z-index:2;
    background:#f9be39;
}

.scroll-bar{
    box-shadow:
        0 0 40px rgba(179,32,37,.08);
}

/* ENDE BARS */

.gallery-slider{
    position:relative;
    width:100%;
    max-width:1000px;
    margin:auto;
    height:550px;
    overflow:hidden;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.gallery-slider .slide{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;

    opacity:0;
    transition:opacity 1.2s ease;

    pointer-events:none;
}

.gallery-slider .slide.active{
    opacity:1;
}

@media(max-width:768px){

    .gallery-slider{
        height:350px;
    }

}

/* ENDE GALLERY */

footer{
 text-align:center;
 padding:40px;
 color:#666;
}

.footer-link{
 color:#00ffe1;
 text-decoration:none;
}

/* ENDE FOOTER */

.cookie-banner{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    background:var(--primary); /* gleiche Farbe wie Jakobsruhe */
    color:white;
    z-index:9999;

    padding:18px 25px;
    display:none;

    align-items:center;
}

.cookie-content{
    max-width:1200px;
    margin:auto;

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

.cookie-content p{
    margin:0;
    font-size:0.95rem;
    line-height:1.4;
}

.cookie-content a{
    color:white;
    text-decoration:underline;
    font-weight:600;
}

.cookie-actions{
    display:flex;
    align-items:center;
    gap:12px;
}

.cookie-btn{
    background:white;
    color:var(--primary);
    border:none;
    padding:10px 18px;
    border-radius:999px;
    font-weight:700;
    cursor:pointer;
}

.cookie-close{
    background:transparent;
    border:none;
    color:white;
    font-size:18px;
    cursor:pointer;
    opacity:0.8;
}

.cookie-close:hover{
    opacity:1;
}

@media(max-width:768px){
    .cookie-content{
        flex-direction:column;
        align-items:flex-start;
    }

    .cookie-banner{
        position:fixed;

        left:12px;
        right:12px;
        bottom:12px;

        width:auto;

        border-radius:16px;

        z-index:999999;

        box-shadow:0 10px 30px rgba(0,0,0,.25);
    }

}


/* ENDE COOKIE BANNER */

@media(max-width:768px){

 nav ul{
  gap:15px;
  font-size:.9rem;
 }

 .menu-item{
  flex-direction:column;
  gap:10px;
 }

}

/* NAV MENÜ MOBIL */

/* =========================
   BURGER MENU
========================= */

.burger{
    display:none;
    flex-direction:column;
    gap:5px;
    background:none;
    border:none;
    cursor:pointer;
    z-index:10003;
}

.burger span{
    width:28px;
    height:3px;
    background:#b32025;
    border-radius:999px;
    transition:.3s;
}

.burger.active span:nth-child(1){
    transform:translateY(8px) rotate(45deg);
}

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

.burger.active span:nth-child(3){
    transform:translateY(-8px) rotate(-45deg);
}

.mobile-overlay{
    position:fixed;
    inset:0;

    background:rgba(0,0,0,.4);

    opacity:0;
    visibility:hidden;

    transition:.35s ease;

    z-index:9998;
}

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

.mobile-menu{

    position:fixed;

    top:0;
    right:-320px;

    width:280px;
    height:100vh;

    background:white;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    gap:30px;

    transition:right .4s cubic-bezier(.22,1,.36,1);

    box-shadow:
        -15px 0 40px rgba(0,0,0,.15);

    z-index:9999;
}

.mobile-menu.active{
    right:0;
}

.mobile-menu a{

    text-decoration:none;
    color:#111;

    font-size:1.1rem;
    font-weight:600;

    transition:.2s ease;
}

.mobile-menu a:hover{
    color:#b32025;
}

@media(max-width:768px){

    .burger{
        display:flex;
    }

    nav ul{
        display:none;
    }
}

.nav-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.3s;
    z-index:9999;
}

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

@media (max-width: 768px) {

    .burger {
        display: flex;
    }

    #navMenu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        background: #f9be39;
        display: flex;
        flex-direction: column;
        gap: 0;

        max-height: 0;
        overflow: hidden;

        transition: max-height 0.35s ease;

        box-shadow: 0 10px 30px rgba(0,0,0,.12);
        border-bottom-left-radius: 20px;
        border-bottom-right-radius: 20px;
    }

    #navMenu.active {
        max-height: 500px;
    }

    #navMenu li {
        list-style: none;
        border-top: 1px solid #8f1a1f;
    }

    #navMenu a {
        display: block;
        padding: 14px 20px;
        text-decoration: none;
        color: #1d1d1d;
        font-weight: 600;
    }

    #navMenu a:hover {
        background: rgba(179,32,37,0.08);
        color: #b32025;
    }
}


/* ENDE NAV MENÜ MOBIL */

.welcome-box{
    background: #8f1a1f;
    padding:70px;
    border-radius:30px;
    box-shadow:0 15px 40px rgba(0,0,0,.06);
    opacity: .95;
}

.background-logo{
    position:fixed;
    inset:0;
    display:flex;
    justify-content:center;
    align-items:center;
    pointer-events:none;
    z-index:0;
    overflow:hidden;
}

.background-logo img{
    width:min(80vw, 900px);
    opacity:0.45;
    filter:grayscale(10%);
}

.contact-info-note{
    grid-column:1 / -1;

    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.2);

    padding:20px 25px;
    border-radius:16px;

    color:#fff;
    text-align:center;

    font-size:1rem;
    line-height:1.6;
}

.contact-info-note a{
    color:#fff;
    font-weight:700;
    text-decoration:underline;
}

.opening-hours{
    grid-column:1 / -1;

    background:#f9be39;
    border-radius:20px;

    padding:30px;
    margin-top:10px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);
}

.opening-hours h3{
    color:var(--primary);
    margin-bottom:20px;
    text-align:center;
}

.hours-row{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:12px 0;

    border-bottom:1px solid #ececec;

    color:#1d1d1d;
}

.hours-row:last-child{
    border-bottom:none;
}

.hours-row span:first-child{
    font-weight:600;
    color:#1d1d1d;
}

.hours-row span:last-child{
    color:#1d1d1d;
}

/* Aktueller Tag */

.hours-row.today{
    color:#8f1a1f;
}

.hours-row.today span:first-child,
.hours-row.today span:last-child{
    color:#8f1a1f;
    font-weight:700;
}

.today{
    color:var(--primary);
    font-weight:700;
}

.today span:last-child{
    color:var(--primary);
}

.contact-info-note{
    grid-column:1 / -1;

    background:rgba(255,255,255,.12);
    border:1px solid rgba(255,255,255,.2);

    padding:20px 25px;
    border-radius:16px;

    color:#fff;
    text-align:center;

    line-height:1.7;
}

.contact-info-note a{
    color:#fff;
    font-weight:700;
    text-decoration:underline;
}

.social-section{
    padding:80px 0;
}

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

.social-card{
    background:white;
    border-radius:20px;
    padding:35px;
    text-align:center;

    text-decoration:none;
    color:inherit;

    box-shadow:0 10px 30px rgba(0,0,0,.06);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.social-card:hover{
    transform:translateY(-5px);

    box-shadow:0 15px 40px rgba(0,0,0,.12);
}

.social-icon{
    width:70px;
    height:70px;

    margin:0 auto 20px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:#b32025;
    color:white;
}

.social-icon svg{
    width:34px;
    height:34px;
}

.social-card h3{
    color:#b32025;
    margin-bottom:10px;
}

.social-card p{
    color:#666;
}

@media (max-width:768px){

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

    .welcome-box{
        padding:10px;

    }

    .hours-row span:last-child{
        font-size:0.85rem;
        white-space:nowrap;
    }

}