/* ============================================================
   STYLES.CSS — geteilt von allen Seiten
   Farben hier zentral ändern, gilt überall.
   ============================================================ */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-v21-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/cormorant-garamond-v21-latin-500italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-garamond-v21-latin-600italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-v12-latin-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/plus-jakarta-sans-v12-latin-500.woff2') format('woff2');
}

:root {
  --color-bg:           #EFEFEB;
  --color-fg:           #1B1B18;
  --color-accent:       #2C4A28;
  --color-accent-hover: #3E6338;
  --color-highlight:    #A07825;
  --color-muted:        #888882;
  --color-surface:      #E3E0D8;
  --color-white:        #FAFAF8;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Plus Jakarta Sans', system-ui, sans-serif;

  --max-width:   1100px;
  --pad-x:       clamp(20px, 5vw, 64px);
  --section-pad: clamp(64px, 9vw, 120px);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }

body {
  background-color: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: clamp(15px, 1.55vw, 17px);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ============================================================
   Typografie
   ============================================================ */
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; }
h1 { font-size: clamp(3rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1rem, 1.8vw, 1.4rem); }

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.9rem;
}

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}

.section-mark { position: relative; padding-left: 1.4rem; }
.section-mark::before {
  content: '';
  position: absolute;
  left: 0; top: 0.1em; bottom: 0;
  width: 2px;
  background-color: var(--color-highlight);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.9rem;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background-color 0.25s, transform 0.15s;
}

.btn-solid { background-color: var(--color-accent); color: var(--color-white); }
.btn-solid:hover { background-color: var(--color-accent-hover); transform: translateY(-2px); }

.btn-ghost {
  background-color: transparent;
  color: rgba(255,255,255,0.78);
  border: 1px solid rgba(255,255,255,0.28);
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.65); color: var(--color-white); }

.btn-outline {
  background-color: transparent;
  color: var(--color-fg);
  border: 1px solid var(--color-fg);
}
.btn-outline:hover { background-color: var(--color-fg); color: var(--color-white); }

.btn-whatsapp { background-color: #25D366; color: #fff; }
.btn-whatsapp:hover { background-color: #1ebd5b; transform: translateY(-2px); }

/* ============================================================
   Navigation
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem var(--pad-x);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: background-color 0.5s, border-color 0.5s;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.4s;
  position: relative;
  z-index: 101;
}

.nav-list { list-style: none; display: flex; gap: 2.2rem; }

.nav-list a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-list a:hover { color: rgba(255,255,255,0.9); }

.nav--scrolled {
  background-color: rgba(239, 239, 235, 0.93);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--color-surface);
}

.nav--scrolled .nav-logo { color: var(--color-fg); }
.nav--scrolled .nav-list a { color: var(--color-muted); }
.nav--scrolled .nav-list a:hover { color: var(--color-fg); }

/* ============================================================
   Hamburger (drei Striche → X)
   Der Name kommt daher dass das Symbol ☰ aussieht
   wie ein Hamburger von oben: Brötchen, Patty, Brötchen.
   ============================================================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  position: relative;
  z-index: 101;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: rgba(255,255,255,0.82);
  transition: transform 0.35s ease, opacity 0.25s ease, background-color 0.4s;
  transform-origin: center;
}

.nav--scrolled .hamburger span { background-color: var(--color-fg); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   Mobile Nav Overlay
   ============================================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 95;
  background-color: var(--color-fg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.mobile-nav.open { opacity: 1; pointer-events: all; }

.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 9vw, 3.5rem);
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  padding: 0.25rem 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s;
}

.mobile-nav.open a { opacity: 1; transform: translateY(0); }
.mobile-nav.open a:nth-child(1) { transition-delay: 0.07s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.13s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.19s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.31s; }
.mobile-nav a:hover { color: var(--color-white); }

.mobile-nav-sub {
  position: absolute;
  bottom: 3rem;
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.16);
}

/* ============================================================
   Hero (geteilt, wird pro Seite per Inhalt angepasst)
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;   /* Fallback für ältere Browser */
  height: 100dvh;  /* füllt den sichtbaren Screen exakt — kein weißer Streifen/Überstand mit Mobile-Browser-Leisten */
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(40px, 7vw, 80px);
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  overflow: hidden;
  background-color: #111410;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-color: #1a2412;
  background-image:
    linear-gradient(125deg, rgba(44,74,40,0.4) 0%, rgba(17,20,16,0.95) 100%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.012) 0px, rgba(255,255,255,0.012) 1px, transparent 1px, transparent 14px);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,20,16,0.92) 0%, rgba(17,20,16,0.12) 60%, transparent 100%);
}

.hero-content { position: relative; z-index: 1; }

.hero-line { display: block; overflow: hidden; padding-bottom: 0.18em; margin-bottom: -0.18em; }
.hero-line-inner { display: block; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.scroll-indicator {
  position: absolute;
  bottom: clamp(24px, 4vw, 44px);
  right: var(--pad-x);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.2);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px; height: 44px;
  background: rgba(255,255,255,0.14);
  overflow: hidden;
  position: relative;
}

.scroll-line::after {
  content: '';
  position: absolute;
  left: 0; top: -100%;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.7);
  animation: scrollpulse 2s ease-in-out infinite;
}

@keyframes scrollpulse { 0% { top: -100%; } 100% { top: 110%; } }

/* ============================================================
   Wipe Reveal (Animation-Startzustand, JS übernimmt)
   ============================================================ */
.wipe { will-change: clip-path; }

/* ============================================================
   Footer (geteilt)
   ============================================================ */
.footer {
  padding: 1.8rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  background-color: var(--color-fg);
}

.footer-inner { display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 0.73rem; color: rgba(255,255,255,0.2); }
.footer-links { list-style: none; display: flex; gap: 1.8rem; }
.footer-links a { font-size: 0.73rem; color: rgba(255,255,255,0.2); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.5); }

/* ============================================================
   Responsive (global)
   ============================================================ */
@media (max-width: 800px) {
  .nav-list { display: none; }
  .hamburger { display: flex; }
}
