/* === Fonts === */
@font-face { font-family: 'Great Vibes'; src: url('fonts/great-vibes-latin.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Josefin Sans'; font-weight: 300; src: url('fonts/josefin-sans-latin-300.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Josefin Sans'; font-weight: 400; src: url('fonts/josefin-sans-latin-400.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Rouge Script'; src: url('fonts/rouge-script-latin.woff2') format('woff2'); font-display: swap; }

/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --color-bg: #faf8f5;
    --color-text: #3a3a3a;
    --color-primary: #e8722a;
    --color-primary-light: #f4944d;
    --color-green: #4a7c59;
    --color-dark: #2c2c2c;
    --color-white: #fff;
    --font-heading: 'Great Vibes', cursive;
    --font-body: 'Josefin Sans', sans-serif;
    --nav-height: 70px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-height); }
body { font-family: var(--font-body); color: var(--color-text); background: var(--color-bg); line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { color: var(--color-primary-light); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* === Navigation === */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    height: var(--nav-height); transition: transform 0.3s, box-shadow 0.3s;
    overflow: visible;
}
.nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; height: 100%; }
.nav-logo { display: flex; align-items: center; }
.nav-logo-img { height: 175px; width: auto; position: relative; top: 50%; }
.nav-links { list-style: none; display: flex; gap: 32px; }
.nav-link { color: var(--color-text); font-size: 0.9rem; letter-spacing: 0.5px; text-transform: uppercase; padding: 4px 0; border-bottom: 2px solid transparent; transition: all 0.3s; }
.nav-link:hover, .nav-link.active { color: var(--color-primary); border-bottom-color: var(--color-primary); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--color-dark); margin: 5px 0; transition: 0.3s; }

/* === Hero === */
.hero { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.hero-overlay { position: absolute; inset: 0; background: none; }
.hero-content { position: relative; color: var(--color-white); padding: 80px; background: radial-gradient(ellipse at center, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0) 36%); text-shadow: none; }
.hero-logo { height: 220px; width: auto; margin: 0 auto 24px; filter: brightness(0) invert(1); }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.3rem); opacity: 0.9; margin-bottom: 16px; }
.hero-claim { font-family: var(--font-heading); font-size: clamp(1.1rem, 2.5vw, 4rem); font-style: italic; margin-bottom: 24px; }
.hero-cta { font-size: 1rem; opacity: 0.8; letter-spacing: 1px; text-transform: uppercase; }

/* === Sections === */
.section { padding: 100px 0; }
.section h2 { font-family: var(--font-heading); font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 16px; text-align: center; color: var(--color-green); }
.section-subtitle { text-align: center; font-style: italic; color: var(--color-primary); margin-bottom: 32px; font-size: 1.1rem; }
.section p { max-width: 700px; margin: 0 auto 20px; text-align: center; }

/* === Section Dividers (Parallax with Hintergrund images) === */
.section-divider { height: 50vh; background-size: cover; background-position: center; background-attachment: fixed; }

/* === About === */
.section .about-heading { text-align: center; margin-bottom: 40px; font-size: clamp(2.2rem, 5vw, 3.5rem); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: stretch; }
.about-image img { border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.1); width: 100%; height: 100%; object-fit: cover; }
.about-text { display: flex; flex-direction: column; justify-content: center; }
.about-text p { text-align: left; max-width: none; font-size: 0.95rem; }

/* === Gallery === */
.gallery { columns: 3; column-gap: 12px; margin-top: 40px; }
.gallery-item { break-inside: avoid; margin-bottom: 12px; border-radius: 6px; overflow: hidden; cursor: pointer; }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.03); }

/* === Button === */
.btn {
    display: inline-block; margin: 24px auto; padding: 14px 32px;
    background: var(--color-primary); color: var(--color-white);
    border-radius: 4px; font-size: 1rem; text-align: center;
    transition: background 0.3s;
}
.btn:hover { background: var(--color-primary-light); color: var(--color-white); }
.section .btn { display: block; width: fit-content; margin: 24px auto 0; }

/* === Anfahrt === */
.anfahrt-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; margin-top: 40px; }
.anfahrt-info h3 { font-family: var(--font-heading); margin-bottom: 8px; color: var(--color-green); }
.anfahrt-info p { text-align: left; max-width: none; margin-bottom: 24px; }
.anfahrt-map img { border-radius: 8px; width: 100%; height: auto; transition: opacity 0.3s; }
.anfahrt-map a:hover img { opacity: 0.85; }

/* === Instagram === */
.section-instagram { background: var(--color-green); color: var(--color-white); text-align: center; }
.section-instagram h2 { color: var(--color-white); }
.section-instagram .section-subtitle { color: var(--color-primary-light); }
.section .btn.btn-instagram { background: var(--color-primary); color: var(--color-white); margin: 24px auto 30px; }
.btn-instagram:hover { background: var(--color-primary-light); color: var(--color-white); }
.instagram-placeholder { padding: 60px 24px; border: 2px dashed rgba(255,255,255,0.2); border-radius: 8px; margin-top: 32px; }
.instagram-placeholder a { color: var(--color-primary-light); }
.instagram-hint { font-size: 0.85rem; opacity: 0.5; margin-top: 12px; }

/* === Footer === */
.footer { background: var(--color-dark); color: rgba(255,255,255,0.8); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.footer-col h4 { color: var(--color-primary); margin-bottom: 12px; font-family: var(--font-heading); }
.footer-col a { color: rgba(255,255,255,0.7); }
.footer-col a:hover { color: var(--color-primary-light); }
.social-links { display: flex; gap: 16px; justify-content: center; }
.social-links a { color: rgba(255,255,255,0.7); transition: color 0.3s; }
.social-links a:hover { color: var(--color-primary-light); }
.footer-bottom { text-align: center; margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 0.85rem; opacity: 0.6; }

/* === Lightbox === */
.lightbox {
    display: none; position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.95); align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 90vh; object-fit: contain; border-radius: 4px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
    position: absolute; background: none; border: none; color: white;
    font-size: 2.5rem; cursor: pointer; padding: 16px; opacity: 0.7; transition: opacity 0.3s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { opacity: 1; }
.lightbox-close { top: 16px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* === Responsive === */
@media (max-width: 768px) {
    .nav-links { position: fixed; top: var(--nav-height); left: 0; right: 0; background: #ffffff; flex-direction: column; align-items: center; gap: 0; padding: 0; max-height: 0; overflow: hidden; transition: max-height 0.3s; }
    .nav-links.open { max-height: 300px; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,0.05); }
    .nav-links li { padding: 12px 0; }
    .nav-toggle { display: block; }
    .about-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-text h2, .about-text p { text-align: center; }
    .gallery { columns: 2; }
    .anfahrt-grid { grid-template-columns: 1fr; }
    .anfahrt-info { text-align: center; }
    .anfahrt-info p { text-align: center; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .section-divider { background-attachment: scroll; height: 35vh; }
    .hero-logo { height: 80px; margin: -80px auto 16px; }
    .hero-claim { font-size: clamp(1.8rem, 6vw, 2.5rem); }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-cta { font-size: 0.85rem; }
}
@media (max-width: 480px) {
    .gallery { columns: 1; }
    .footer-grid { grid-template-columns: 1fr; }
}
