/* ====================== RESET & GLOBAL ====================== */
html {
    scroll-behavior: smooth;
}

@font-face {
    font-family: 'Zentaiges';
    src: url('fonts/Zentaiges.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f1efe7;
    color: #333;
    line-height: 1.6;
}

/* ====================== TYPOGRAPHY & HEADINGS ====================== #6e7e69*/
h2 {
    font-size: 2.8rem;
    color:  #5c6858;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    text-align: center;
    margin-top: 1rem;
}

h2::after {
    content: '';
    position: absolute;
    width: 150px;
    height: 4px;
    background: #5c6858;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

/* ====================== LAYOUT & SECTIONS ====================== */
section {
    padding: 3.8rem 2rem;
    background-color: #f1efe7;
    text-align: center;
}

/* ====================== NAVIGATION ====================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(241, 239, 231, 0.97);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 45px ;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-item a {
    color: #5c6858;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.25rem;
    transition: color 0.3s;
}

.nav-item a:hover {
    color: #8e9682;
}


/* ====================== HAMBURGER MENU ====================== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    z-index: 1002;
    position: absolute;
    right: 20px;
    top: 40px;           /* weiter nach unten (war 20px) */
}

.hamburger span {
    width: 28px;
    height: 3px;
    background-color: #5c6858;
    transition: all 0.3s ease;
}

/* ====================== MOBILE MENU ====================== */
.mobile-menu {
    display: none;
    position: fixed;
    top: 61px;
    left: 0;
    width: 100%;
    background: #f1efe7;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    z-index: 999;
    padding: 20px 0;
    max-height: 85vh;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu .nav-list {
    flex-direction: column;
    gap: 4px;           /* Abstand zwischen den Links */
    padding: 0 20;
    margin: 0;
}

.mobile-menu .nav-item a {
    font-size: 1.25rem;     /* kleiner */
    color: #5c6858;
    text-decoration: nmageone;
    padding: 2px 2px;     /* weniger Abstand */
    display: block;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s;
}

.mobile-menu .nav-item a:hover {
    background-color: rgba(138, 160, 127, 0.15);
    color: #2c3729;
    padding-left: 24px;     /* schöner Hover-Effekt */
}

/* Scroll to top */
.scroll-top {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #6e7e69;
    color: white;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
}

.scroll-top:hover {
    background-color: #8e9682;
}

/* ====================== HERO SECTION ====================== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(65%);
}

.hero-overlay {
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 100%;
    padding: 0 20px;
    z-index: 2;
}

.hero-logo {
    width: 800px;
    height: auto;
    margin-bottom: 1.8rem;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.45));
    position: relative;
    top: -20px;
    left: 360px;
}

.hero-text {
    color: rgb(211, 208, 201);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero-text h1.logo-text {
    font-family: 'Zentaiges', cursive;
    font-size: 4.5rem;
    margin: 0 0 0.5rem 0;
}

/* ====================== PHILOSOPHIE ====================== */

#philosophie .text {
    padding: 1rem 2rem;
    text-align: center;
    line-height: 1.8;
}

#philosophie .section-image img {
    width: 30%;
    height: 30%;
    object-fit: cover;
    border-radius: 8px;
}

@media (min-width: 769px) {
    #philosophie .text {
        line-height: 1.2;
    }

#philosophie .section-image img {
    width: 7%;
    height: 7%;
    object-fit: cover;
    border-radius: 8px;
}
}

/* ====================== ÜBER UNS ====================== */
#ueberuns {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

#ueberuns .section-content {
    display: flex;
    align-items: center;
    gap: 2.2rem;
    min-height: 380px;
}

#ueberuns .section-image,
#ueberuns .section-text {
    flex: 1;
}

#ueberuns .section-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

#ueberuns .section-text {
    padding: 1rem 2rem;
    text-align: left;
}


#ueberuns .section-text p {
    margin-top: 5;
    line-height: 1.8;
}

@media (min-width: 769px) {
    #ueberuns .section-text {
        line-height: 2;
    }
}

/* überuns text mittig nur für smartphone ansicht */
@media (max-width: 768px) {
    #ueberuns .section-text {
        text-align: center;
    }
}

/* ====================== PRODUKTE ====================== */
.product-grid {
    display: flex;
    gap: 4rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 624px; /* 280 + 280 + 64 (4rem) */
    margin: 0 auto;
}

.product-card {
    background-color: #fff;
    width: 280px;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    line-height: 0.5rem;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* ====================== BESTELLUNG ====================== */
.termin-box {
    max-width: 680px;
    margin: 0 auto 3rem;
    background: white;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(90, 107, 85, 0.15);
    overflow: hidden;
    padding: 1.5rem;
}

.termin-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.termin-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.4rem 2rem;
    margin-bottom: 10px;
    background: #f9faf7;
    border-radius: 14px;
    border-left: 6px solid #5c6858;
    transition: all 0.3s ease;
    font-size: 1.35rem;
}

.termin-item:hover {
    transform: translateX(10px);
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(138, 160, 127, 0.25);
}

.termin-date {
    font-weight: 600;
    color: #5c6858;
}

.termin-time {
    font-weight: 500;
    color: #5c6858;
    background: rgba(138, 160, 127, 0.12);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 1.15rem;
    white-space: nowrap;
}

.bestell-hinweis,
.produkt-hinweis {
    max-width: 620px;
    margin: 0 auto;
    background: rgba(138, 160, 127, 0.08);
    border: 2px dashed #5c6858;
    padding: 1.8rem 2rem;
    border-radius: 16px;
    font-size: 1.3rem;
    color: #4a5a45;
}

/* ====================== GALERIE ====================== */
#galerie {
    padding: 5rem 2rem;
    background-color: #f1efe7;
}

.collage {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
}

.collage-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease;
}

.collage-item:hover {
    transform: scale(1.04);
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (min-width: 769px) {
/* Grid Positionierung nur bei pc ansicht */
#item1 { grid-column: 1 / span 2; grid-row: 1 / span 2; }
#item2 { grid-column: 3 / span 2; grid-row: 1 / span 1; }
#item3 { grid-column: 3 / span 1; grid-row: 2 / span 1; }
#item4 { grid-column: 3 / span 2; grid-row: 3 / span 1; }
#item5 { grid-column: 4 / span 1; grid-row: 2 / span 1; }
#item6 { grid-column: 3 / span 1; grid-row: 4 / span 1; }
#item7 { grid-column: 4 / span 1; grid-row: 4 / span 1; }
}

/* ====================== KONTAKT ====================== */

#kontakt a,
#kontakt a:visited,
#kontakt a:hover,
#kontakt a:active {
    color: #333;
}

.acon-logo {
    width: 250px;
    height: auto;
    margin-top: 3%;
    border-radius: 2cap;
}

/* ====================== IMPRESSUM ====================== */
.impressum-section {
    max-width: 820px;
    margin: 120px auto 80px;
    padding: 2rem 2.5rem;
    text-align: left;
    line-height: 1.75;
    background-color: #f1efe7;
}

.impressum-section h1 {
    font-size: 2.6rem;
    color: #5c6858;
    text-align: center;
    margin-bottom: 2.8rem;
}

.impressum-section h1::after {
    display: none;
}

.impressum-section h2,
.impressum-section h3 {
    font-size: 1.55rem;
    color: #5c6858;
    margin-top: 2rem;
    margin-bottom: 0.9rem;
    text-align: left;
}

.impressum-section p {
    margin-bottom: 1.1rem;
    color: #444;
}


/* ====================== RESPONSIVE ====================== */

/* Desktop */
@media (min-width: 769px) {
    .hamburger {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Desktop Navigation ausblenden */
    .navbar .nav-list {
        display: none;
    }
    
    .hamburger {
        display: flex;
        position: absolute;
        right: 20px;
        top: 40px;
    }
    
    /* WICHTIG: Mobile Menu bleibt sichtbar */
    .mobile-menu .nav-list {
        display: flex !important;
    }
    
    .hero-logo {
        width: 280px;
        left: 0;
        top: 0;
        margin: 0 auto;
        display: block;
    }
    
    .hero-overlay {
        top: 55%;
        padding: 0 15px;
    }
    
    .hero-text h1.logo-text {
        font-size: 2.8rem;
    }
    
    section {
        padding: 2.8rem 1.2rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    #ueberuns .section-content {
        flex-direction: column;
        min-height: auto;
        gap: 1.5rem;
    }
    
    .product-grid {
        gap: 1.8rem;
    }
    
    .product-card {
        width: 100%;
        max-width: 340px;
    }
    
    .termin-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
        padding: 1.2rem 1.5rem;
        font-size: 1.2rem;
    }
    
    .collage {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .hero-logo {
        width: 300px;
    }
    
    .hero-text h1.logo-text {
        font-size: 2.4rem;
    }
    
    .collage {
        grid-auto-rows: 220px;
    }
}

/* Logo in der Navbar - nur auf Handy */
.mobile-logo {
    display: none;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.mobile-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

/* Auf Smartphone */
@media (max-width: 768px) {
    .mobile-logo {
        display: block;
    }
    
    .hamburger {
        position: fixed;
        right: 20px;
        top: 22px;
    }
    
    /* Etwas mehr Platz oben schaffen */
    .navbar {
        height: 30px;
    }
}


