/* ==========================================================================
   MASTER STYLE — GOURMET STUDIO (KOMPLETT & BEREINIGT)
   ========================================================================== */
/* inter-200 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/inter-v20-latin-200.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-200italic - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: italic;
  font-weight: 200;
  src: url('../fonts/inter-v20-latin-200italic.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-300 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/inter-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/inter-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/inter-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/inter-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/inter-v20-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* inter-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/inter-v20-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* --- GLOBAL STYLE & DESIGN SYSTEM --- */
:root {
    --bg-pure: #ffffff;
    --text-dark: #0a0a0a;
    --text-muted: #707070;
    --border-light: #e5e5e5;
    --spacing-large: 140px;
}

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

body {
	font-family: 'Inter', sans-serif;
	background-color: var(--bg-pure);
	color: var(--text-dark);
	line-height: 1.2;
	-webkit-font-smoothing: antialiased;
}

/* --- 1. NAVIGATION (DESKTOP-BASIS) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 6%;
    position: fixed;
    width: 100%;
    top: 0;
    background-color: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    z-index: 1000;
}

.logo {
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 4px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 400;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: opacity 0.4s ease;
}

.nav-links a:hover {
    opacity: 0.4;
}

.nav-links a.active {
    border-bottom: 1px solid var(--text-dark);
    padding-bottom: 4px;
}

/* Hamburger Icon Schaltfläche */
.menu-toggle {
    display: none; /* Standardmäßig auf Desktop unsichtbar */
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1100;
}

.menu-toggle .bar {
    width: 22px;
    height: 1.5px;
    background-color: var(--text-dark);
    transition: all 0.3s ease-in-out;
}

/* --- 2. HERO SEKTIONEN (Kompaktierte Höhe) --- */

.hero-section {
    height: 60vh; 
    background: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.15)), 
                url('images/pizza.webp') center/cover no-repeat;
    display: flex;
    justify-content: flex-start;
    align-items: center; /* Schiebt den gesamten Textblock exakt in die vertikale Mitte */
    padding: 0 6%; /* Symmetrisches Polster für die Seiten */
}

/* --- FINALE MOBILE ANPASSUNG FÜR DEN HERO (Text tiefer gesetzt) --- */
@media (max-width: 992px) {
    .hero-section {
        background-position: 44% center;
        background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.35)), 
                          url('images/pizza.webp');
        
        align-items: flex-end; 
        
        /* padding-bottom von 12vh auf 6vh verringert -> Drückt den Text eine Zeile weiter runter */
        padding: 90px 6% 6vh; 
        
        height: 65vh; 
    }
}

.hero-content {
	color: #ffffff;
	max-width: 900px;

}

.hero-tagline {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    display: block;
    margin-bottom: 20px;
    font-weight: 300;
}
.hero-content h1,
.hero-tagline {
    color: #ffffff !important;
}
.hero-content h1 {
    font-size: clamp(2.5rem, 7vw, 5.5rem);
    font-weight: 200;
    letter-spacing: -2px;
    line-height: 1.05;
    margin-bottom: 25px;
}
.hero-content h2,
.subpage-hero h2 {
    color: #ffffff;
}
.hero-content p {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 300;
    opacity: 0.85;
    max-width: 500px;
}

/* Universal Subpage Hero (350px hoch) */
.subpage-hero {
    height: 350px;
    margin-top: 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.subpage-hero.gallery-hero { background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('images/gewuerze.webp');}
.subpage-hero.ablauf-hero { background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('images/tomaten.webp');}
.subpage-hero.kontakt-hero { background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('images/kontakt.webp');}
.subpage-hero.beispiele-hero { background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('images/basilikum.webp');}
.subpage-hero.legal-hero-1 { background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('images/gewuerze.webp');}
.subpage-hero.legal-hero-2 { background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('images/gewuerze.webp');}
.subpage-hero.contact-hero { background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('images/gewuerze.webp');}
.subpage-hero.preise-hero {  background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('images/gewuerze.webp');}
.subpage-hero.website-hero {  background-image: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url('images/website.webp');}

/* --- 3. MAIN CONTENT SYSTEM (Mathematisches Hintergrund-Muster) --- */
.main-content {
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--spacing-large) 6%;
    background-color: #f9f9f9;
    
    /* Subtile, feine Design-Punkte */
    background-image: radial-gradient(rgba(0, 0, 0, 0.30) 1px, transparent 1px);
    background-size: 30px 30px; /* Abstand der Punkte zueinander */
}

/* Headlines & Intros */
.grid-intro, .price-intro, .gallery-intro, .legal-intro, .contact-intro { text-align: center; margin-bottom: 80px; }
.intro-label {
	font-size: 0.85rem;
	text-transform: none;
	letter-spacing: 2px;
	color: var(--text-muted);
	display: block;
	margin-bottom: 15px;
}
.grid-intro h2, .price-intro h2, .gallery-intro h2, .legal-intro h2, .contact-intro h2 {
	font-size: clamp(1.0rem, 2.2vw, 1.5rem);
	font-weight: 300;
	text-transform: none;
	letter-spacing: 2px;
	margin-bottom: 20px;
}
.grid-intro p, .price-intro p, .gallery-intro p, .legal-intro p, .contact-intro p { font-size: 1.05rem; color: var(--text-muted); font-weight: 300; max-width: 650px; margin: 0 auto; }

/* --- 4. HOMEPAGE EDITORIAL GRID & STATEMENT --- */
.editorial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 60px;
    row-gap: 100px;
}

.grid-item { display: flex; flex-direction: column; }
.image-wrapper { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background-color: #f0f0f0; border-radius: 16px; } /* Runder Look für 4 Startseitenbilder */
.image-wrapper img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(15%); transition: transform 0.8s ease; }
.grid-item:hover .image-wrapper img { transform: scale(1.04); }
.item-meta { display: flex; gap: 30px; margin-top: 25px; }
.num { font-size: 0.85rem; font-weight: 500; color: var(--text-muted); padding-top: 4px; }
.item-text h3 { font-size: 1.4rem; font-weight: 500; margin-bottom: 10px; letter-spacing: -0.5px; }
.item-text p { color: var(--text-muted); font-size: 0.95rem; max-width: 420px; }

.statement-section { margin-top: calc(var(--spacing-large) + 40px); padding-top: 100px; border-top: 1px solid var(--border-light); }
.statement-container { display: grid; grid-template-columns: 45% 55%; gap: 40px; }
.statement-left h2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.15; letter-spacing: -1.5px; }
.statement-right { padding-top: 45px; }
.lead-text { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 300; line-height: 1.5; margin-bottom: 35px; }
.body-text { font-size: 1rem; color: var(--text-muted); max-width: 550px; }

/* --- 5. PREISSYSTEM MIT COLOURED PASTEL CARDS & TABELLEN --- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 40px; row-gap: 50px; margin-bottom: 60px; }
.price-card { padding: 40px 35px; display: flex; flex-direction: column; justify-content: space-between; transition: transform 0.4s ease, box-shadow 0.4s ease; position: relative; }
.price-card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08); }
.price-card.highlight { transform: scale(1.02); box-shadow: 0 15px 35px rgba(0, 0, 0, 0.04); }

.price-card:nth-child(1) { background-color: #E6ECE6; }
.price-card:nth-child(2) { background-color: #EAE6EC; }
.price-card:nth-child(3) { background-color: #F6F1E5; }
.price-card:nth-child(4) { background-color: #F9EFEA; }
.price-card:nth-child(5) { background-color: #E6EDF2; }
.price-card:nth-child(6) { background-color: #F3EBEB; }
.price-card:nth-child(7) { background-color: #EAEBE6; }
.price-card:nth-child(8) { background-color: #F2EFE9; }
.price-card:nth-child(9) { background-color: #EAECEE; }

.card-badge { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 2px; color: rgba(0, 0, 0, 0.4); display: block; margin-bottom: 15px; font-weight: 600; }
.price-card h3 { font-size: 1.4rem; font-weight: 500; margin-bottom: 15px; letter-spacing: -0.5px; }
.price-amount { font-size: 2.5rem; font-weight: 200; line-height: 1; margin-bottom: 15px; }
.price-amount .period { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: rgba(0, 0, 0, 0.4); font-weight: 500; }
.card-summary { font-size: 0.9rem; color: #444444; margin-bottom: 30px; font-weight: 300; min-height: 40px; }

/* Die 2x8 Spezifikations-Tabelle */
.card-table { width: 100%; border-collapse: collapse; margin-top: 25px; margin-bottom: 35px; font-size: 0.88rem; font-weight: 300; }
.card-table td { padding: 10px 12px; color: #1a1a1a; }
.card-table td:last-child { text-align: right; font-weight: 500; }
.card-table tr:nth-child(odd) { background-color: rgba(255, 255, 255, 0.35); }
.card-table tr:nth-child(even) { background-color: rgba(0, 0, 0, 0.02); }
.card-table tr:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.05); }

.price-btn { display: block; text-align: center; background-color: var(--text-dark); color: #ffffff; text-decoration: none; padding: 16px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 500; }
.price-btn:hover { background-color: #222222; }

/* --- 6. RECHTSTEXTE (Legal Container) --- */
.legal-text-container { max-width: 750px; margin: 0 auto; background-color: #ffffff; padding: 60px 50px; box-shadow: 0 10px 30px rgba(0,0,0,0.02); }
.legal-text-container h3 { font-size: 1.3rem; font-weight: 500; margin-top: 40px; margin-bottom: 15px; border-bottom: 1px solid var(--border-light); padding-bottom: 10px; }
.legal-text-container h4 { font-size: 1rem; font-weight: 600; margin-top: 25px; margin-bottom: 10px; }
.legal-text-container p { font-size: 0.95rem; color: #333333; line-height: 1.7; margin-bottom: 20px; font-weight: 300; }
.legal-link { color: var(--text-dark); text-decoration: underline; }
.legal-list { margin-left: 20px; margin-bottom: 20px; list-style-type: square; }
.legal-list li { font-size: 0.95rem; color: #333333; margin-bottom: 8px; font-weight: 300; }

/* --- 7. KONTAKTFORMULAR (Asymmetrisches Layout) --- */
.contact-wrap { display: grid; grid-template-columns: 40% 50%; gap: 80px; max-width: 1200px; margin: 0 auto; background-color: #ffffff; padding: 60px; box-shadow: 0 10px 40px rgba(0,0,0,0.02); }
.contact-details { display: flex; flex-direction: column; gap: 40px; }
.detail-block h3 { font-size: 1.1rem; font-weight: 500; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 12px; }
.detail-block p { font-size: 1rem; color: var(--text-muted); line-height: 1.6; font-weight: 300; }
.small-note { font-size: 0.8rem !important; font-style: italic; margin-top: 5px; }
.editorial-form { display: flex; flex-direction: column; gap: 35px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 500; }
.form-group input, .form-group textarea { border: none; border-bottom: 1px solid var(--border-light); padding: 12px 0; font-family: 'Inter', sans-serif; font-size: 1rem; font-weight: 300; color: var(--text-dark); background-color: transparent; outline: none; transition: border-color 0.3s ease; }
.form-group input:focus, .form-group textarea:focus { border-bottom: 1px solid var(--text-dark); }
.form-group input::placeholder, .form-group textarea::placeholder { color: #cccccc; font-weight: 300; }
.form-submit-btn { align-self: flex-start; background-color: var(--text-dark); color: #ffffff; border: none; padding: 16px 40px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 2px; font-weight: 500; cursor: pointer; transition: background-color 0.3s ease; margin-top: 15px; }
.form-submit-btn:hover { background-color: #333333; }

/* --- 8. GALERIE & ADVANCED LIGHTBOX SYSTEM --- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-bottom: 40px; }
.gallery-item { aspect-ratio: 1 / 1; overflow: hidden; background-color: #f5f5f5; cursor: pointer; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(10%); transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.05); }

.lightbox { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.95); z-index: 2000; display: flex; justify-content: center; align-items: center; opacity: 0; pointer-events: none; transition: opacity 0.4s ease; }
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 85%; max-height: 80vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.5); transform: scale(0.95); transition: transform 0.4s ease; }
.lightbox.active img { transform: scale(1); }
.lightbox-close { position: absolute; top: 30px; right: 40px; color: #ffffff; font-size: 3rem; font-weight: 100; cursor: pointer; opacity: 0.6; z-index: 2200; }

.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); color: #ffffff; font-size: 2.5rem; font-weight: 100; cursor: pointer; opacity: 0.4; user-select: none; transition: opacity 0.3s ease, transform 0.3s ease; padding: 20px; z-index: 2100; }
.lightbox-prev { left: 40px; }
.lightbox-next { right: 40px; }
.lightbox-arrow:hover { opacity: 1; }
.lightbox-prev:hover { transform: translateY(-50%) translateX(-5px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(5px); }

/* --- 9. PREMIUM FOOTER --- */
.minimal-footer {
    background-color: #3A3550;
    color: #ffffff;
    padding: 20px 5% 20px;
}

.footer-wrap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
    max-width: 1600px;
    margin: 0 auto;
    padding-bottom: 10px;
    border-bottom: 1px solid #1a1a1a;
}

.footer-col h5 { font-size: 0.79rem; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 25px; color: #707070; }
.footer-col p { font-size: 0.95rem; font-weight: 300; color: #cccccc; }
.footer-col a { color: #ffffff; text-decoration: none; }
.footer-copyright { text-align: center; padding-top: 30px; font-size: 0.7rem; letter-spacing: 2px; color: #ffffff; opacity: 0.9; }
.legal-bottom-links { margin-top: 15px; display: flex; justify-content: center; gap: 15px; align-items: center; }
.legal-bottom-links a { color: #ffffff; text-decoration: none; text-transform: uppercase; font-weight: 300; transition: opacity 0.3s ease; }
.legal-bottom-links a:hover { opacity: 0.5; }
.separator { color: #333333; font-weight: 100; }

/* ==========================================================================
   10. ULTIMATIVES RESPONSIVE-SYSTEM (TABLETS & SMARTPHONES)
   ========================================================================== */
@media (max-width: 992px) {
    /* NAVIGATION STRUKTUR-SWAP */
    .menu-toggle {
        display: flex !important; /* Aktiviert Hamburger auf allen Tablets/Handys */
    }

    .nav-links {
        display: flex !important; /* Verhindert das Verschwinden der Linkbox */
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 35px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.98); /* Heller Luxus-Schleier */
        backdrop-filter: blur(20px);
        z-index: 1050;
        transform: translateY(-100%); /* Aus dem Bildschirm schieben */
        transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    }

    /* Sichtbarkeits-Trigger für JS */
    .nav-links.active {
        transform: translateY(0) !important;
    }

    .nav-links li {
        margin: 0;
    }

    /* Garantiert die Lesbarkeit auf dem weißen Vollbild-Schleier */
    .nav-links a {
        color: #0a0a0a !important; 
        font-size: 1.2rem !important;
        letter-spacing: 3px;
        display: inline-block;
    }

    /* Hamburger zu "X" Animation */
    .menu-toggle.active .bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .menu-toggle.active .bar:nth-child(2) { opacity: 0; }
    .menu-toggle.active .bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

    /* LAYOUT REDUKTIONEN */
    .editorial-grid, .statement-container, .footer-wrap, .contact-wrap {
        grid-template-columns: 1fr !important; /* Wechselt auf 1-spaltig */
        row-gap: 50px;
    }
    .price-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 Spalten auf Tablets */
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .statement-right { padding-top: 0; }
    .main-content { padding: 80px 6%; }
}

@media (max-width: 768px) {
    /* SMARTPHONE OPIMIERUNGEN */
    .price-grid, .gallery-grid {
        grid-template-columns: 1fr !important; /* Volle Breite auf Smartphones */
        gap: 20px;
    }
    .price-card, .legal-text-container, .contact-wrap {
        padding: 30px 20px;
    }
    .lightbox-arrow { font-size: 2rem; padding: 10px; }
    .lightbox-prev { left: 15px; }
    .lightbox-next { right: 15px; }
    .form-submit-btn { width: 100%; text-align: center; }
}
