/* --- 1. LOKALE SCHRIFTEN & VARIABLEN --- */
/* Werden nun in den Einstellungen definiert */

:root {
  --color-dark-emerald: #0f1c16;
  --color-gold: #c5a059;
  --color-text-light: #e8e6e1;
  --font-heading: 'Cormorant Garamond', serif;
  --font-text: 'Montserrat', sans-serif;
}

/* --- 2. RESET & BASIS --- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background-color: var(--color-dark-emerald); color: var(--color-text-light); font-family: var(--font-text); line-height: 1.7; overflow-x: hidden; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--color-gold); font-weight: 400; }

/* --- 3. HEADER & LOGO --- */
.site-header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; transition: all 0.4s ease; border-bottom: 1px solid rgba(197, 160, 89, 0.2); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 20px 40px; max-width: 1400px; margin: 0 auto; transition: padding 0.4s ease; }

/* Scroll-Effekt */
.site-header.scrolled, .site-header.scrolled-mobile { background-color: rgba(15, 28, 22, 0.95); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(197, 160, 89, 0.5); }
.site-header.scrolled .header-inner { padding: 10px 40px; }

.logo a {
  color: var(--color-gold); 
  font-family: var(--font-heading); 
  font-size: 1.8rem; 
  text-decoration: none; 
  letter-spacing: 1px; 
}

.logo img {
    max-height: 60px; /* Perfekte, edle Höhe für die Menüleiste */
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

/* Optional: Ein winziger Zoom-Effekt, wenn man mit der Maus über das Logo fährt */
.logo a:hover img {
    transform: scale(1.05);
}

/* --- 4. DESKTOP MENÜ --- */
.site-nav ul { list-style: none; display: flex; gap: 30px; }
.site-nav a { color: var(--color-text-light); text-decoration: none; text-transform: uppercase; letter-spacing: 2px; font-size: 0.85rem; transition: color 0.3s ease; }
.site-nav a:hover { color: var(--color-gold); }

/* --- 5. MOBILE MENÜ (HAMBURGER) --- */
.mobile-toggle { display: none; background: transparent; border: 1px solid var(--color-gold); border-radius: 4px; padding: 10px; cursor: pointer; flex-direction: column; gap: 5px; z-index: 1001; }
.mobile-toggle span { display: block; width: 25px; height: 2px; background-color: var(--color-gold); transition: all 0.3s ease; }

/* Hamburger Animation (wird zu X) */
.mobile-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 991px) {
    .header-inner { padding: 15px 20px; }
    .site-header.scrolled .header-inner { padding: 10px 20px; }
    .mobile-toggle { display: flex; }
    
    .site-nav { position: absolute; top: 100%; left: 0; width: 100%; background-color: rgba(15, 28, 22, 0.98); padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.4s ease; border-bottom: 1px solid transparent; }
    .site-nav.active { max-height: 500px; border-bottom: 1px solid var(--color-gold); padding: 20px 0; }
    
    .site-nav ul { flex-direction: column; align-items: center; gap: 20px; }
}

/* --- 6. SEKTIONEN & BUTTONS --- */
.hero-section { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; background: linear-gradient(rgba(15, 28, 22, 0.7), rgba(15, 28, 22, 0.7)), url('/images/DEIN-BILDNAME.jpg') center/cover no-repeat; padding: 0 20px; }
.hero-content h1 { font-size: 4rem; margin-bottom: 20px; }
.hero-content p { font-size: 1.2rem; max-width: 600px; margin: 0 auto 40px auto; font-weight: 300; }

.content-section { padding: 100px 20px; max-width: 1200px; margin: 0 auto; text-align: center; }

.btn-elegant { display: inline-block; padding: 15px 40px; color: var(--color-gold); border: 1px solid var(--color-gold); text-decoration: none; text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; transition: all 0.4s ease; }
.btn-elegant:hover { background-color: var(--color-gold); color: var(--color-dark-emerald); }

/* --- ÜBER MICH (About Grid) --- */
.about-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px; /* Abstand zwischen Bild und Text */
    max-width: 900px;
    margin: 0 auto;
}

/* Hier wird dein Bild auf exakt 200px begrenzt */
.about-image img {
    max-width: 200px; 
    width: 100%; /* Wichtig für die Handydarstellung */
    height: auto;
    border-radius: 8px; /* Leichte, edle Abrundung */
}

.about-text {
    flex: 1;
    min-width: 300px;
    text-align: left; /* Fließtext linksbündig liest sich besser */
}

/* Auf dem Handy wird der Text zentriert */
@media (max-width: 768px) {
    .about-text {
        text-align: center;
    }
}

/* --- BILDER-GALERIE (Ehemaliger Insta-Feed) --- */
.custom-feed-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Erzwingt exakt 3 gleich breite Spalten */
    gap: 30px; /* Eleganter Abstand zwischen den Bildern */
    max-width: 1100px;
    margin: 50px auto 0 auto; /* Abstand nach oben zum Button */
    align-items: stretch;
}

.custom-feed-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 9 / 16; /* Zwingt alle Bilder in das typische Instagram-Hochformat */
    object-fit: cover; /* Verhindert, dass Bilder gestaucht werden */
    border-radius: 12px; /* Edle, abgerundete Ecken */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Sanfter Schatten für Tiefe */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

/* Edler Hover-Effekt: Bild zoomt minimal heran, wenn die Maus darüber ist */
.custom-feed-grid img:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(197, 160, 89, 0.2); /* Sanfter, goldener Schimmer */
}

/* TABLET-ANSICHT: 2 Bilder nebeneinander */
@media (max-width: 991px) {
    .custom-feed-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

/* SMARTPHONE-ANSICHT: 1 Bild pro Zeile (untereinander) */
@media (max-width: 768px) {
    .custom-feed-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 20px;
    }
    .custom-feed-grid img {
        max-width: 400px; /* Verhindert, dass die Bilder auf Handys extrem riesig werden */
        margin: 0 auto;
        display: block;
    }
}

/* --- 7. FOOTER --- */
.site-footer {
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid rgba(197, 160, 89, 0.2); /* Feine goldene Trennlinie oben */
    background-color: var(--color-dark-emerald);
    margin-top: 50px;
}

/* Macht aus der Liste eine saubere, zentrierte Zeile */
.site-footer ul {
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px; /* Abstand zwischen den Links */
    margin: 0;
    padding: 0;
    flex-wrap: wrap; /* Bricht auf dem Handy sauber um */
}

/* Das Aussehen der Links (Dezent und etwas kleiner als das Hauptmenü) */
.site-footer a {
    color: var(--color-text-muted); /* Das gedämpfte Grau-Grün */
    text-decoration: none;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--color-gold);
}

/* Optional: Ein winziges Copyright in die Mitte schummeln (Nur per CSS!) */
.site-footer ul::before {
    content: "© 2026 Yummy Food Guide";
    color: var(--color-text-muted);
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-right: 20px;
    cursor: default;
}

@media (max-width: 768px) {
    .site-footer ul {
        flex-direction: column; /* Auf dem Handy alles schön untereinander */
        gap: 15px;
    }
    .site-footer ul::before {
        margin-right: 0;
        margin-bottom: 20px;
    }
}
/* --- 8. UNTERSEITEN (Impressum, Datenschutz) --- */
.component-wrapper {
    max-width: 900px;
    margin: 0 auto;
    
    /* Der wichtige Abstand nach oben, damit der Text unter dem Header startet */
    padding-top: 150px !important; 
    padding-bottom: 100px !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    
    min-height: 70vh; 
    text-align: left;
}

.component-wrapper h1, 
.component-wrapper h2 {
    margin-bottom: 30px;
    color: var(--color-gold);
}

.component-wrapper p, 
.component-wrapper li {
    color: var(--color-text-light);
    margin-bottom: 20px;
    line-height: 1.8;
}

.component-wrapper a {
    color: var(--color-gold);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.component-wrapper a:hover {
    border-bottom: 1px solid var(--color-gold);
}