/* ============================================================
   MARCEL DE WELL — Globales Stylesheet
   Farben, Fonts, Navigation, Footer, Buttons
   ============================================================ */

/* LOKALE FONTS
   Dateien liegen im Ordner /fonts/
   Anleitung zum Download: siehe README.txt
   ------------------------------------------------------------ */
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-LightItalic.woff2') format('woff2');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Cormorant Garamond';
  src: url('fonts/CormorantGaramond-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Outfit';
  src: url('fonts/Outfit-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* VARIABLEN
   ------------------------------------------------------------ */
:root {
  --cream:      #F5F1EB;
  --warm-white: #FAF8F5;
  --ink:        #1A1714;
  --gold:       #B8955A;
  --gold-light: #D4B07A;
  --mid:        #6B6560;
  --border:     rgba(26,23,20,0.12);
  --border-light: rgba(250,248,245,0.12);
}

/* RESET & BASIS
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Outfit', Georgia, serif;
  background: var(--warm-white);
  color: var(--ink);
  font-weight: 300;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* NAVIGATION
   ------------------------------------------------------------ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.4rem 3rem;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(250,248,245,0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  display: flex;
  align-items: center;
}
.nav-logo img {
  /* Darstellungsgröße — die Datei selbst ist doppelt so groß (Retina) */
  height: 44px;
  width: auto;
  display: block;
}
/* Fallback falls kein Logo vorhanden: Textversion */
.nav-logo-text {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.nav-logo-text span { color: var(--gold); }
.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
}
.nav-links a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--ink); }
.nav-cta {
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 0.55rem 1.4rem;
  transition: all 0.25s;
}
.nav-cta:hover { background: var(--gold); color: var(--warm-white); }

/* HAMBURGER (Mobile)
   ------------------------------------------------------------ */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  -webkit-tap-highlight-color: transparent;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--ink);
  transition: all 0.3s ease;
  transform-origin: center;
}
/* Hamburger → X Animation */
.nav-hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  position: fixed;
  top: 61px; left: 0; right: 0;
  background: var(--warm-white);
  border-bottom: 1px solid var(--border);
  padding: 0;
  z-index: 99;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s ease, padding 0.3s ease;
}
.nav-mobile.open {
  display: block;
  max-height: 400px;
  padding: 1rem 0;
}
.nav-mobile ul {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.nav-mobile li a {
  display: block;
  padding: 0.95rem 1.8rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s, background 0.2s;
}
.nav-mobile li:last-child a { border-bottom: none; }
.nav-mobile li a:hover { color: var(--ink); background: var(--cream); }
.nav-mobile .nav-mobile-cta {
  display: block;
  margin: 1rem 1.8rem;
  padding: 0.85rem;
  text-align: center;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid var(--gold);
  transition: all 0.25s;
}
.nav-mobile .nav-mobile-cta:hover { background: var(--gold); color: var(--warm-white); }

/* FOOTER
   ------------------------------------------------------------ */
footer {
  background: var(--ink);
  color: rgba(250,248,245,0.4);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
}
.footer-logo {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1rem;
  font-weight: 300;
  color: rgba(250,248,245,0.55);
  letter-spacing: 0.08em;
}
.footer-social {
  display: flex;
  gap: 1.2rem;
  list-style: none;
}
.footer-social a {
  color: rgba(250,248,245,0.35);
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.footer-social a:hover { color: var(--gold-light);
}
.footer-links {
  display: flex; gap: 2rem; list-style: none;
}
.footer-links a {
  color: rgba(250,248,245,0.35);
  transition: color 0.2s;
}
.footer-links a:hover { color: rgba(250,248,245,0.7); }


/* BUTTONS
   ------------------------------------------------------------ */
.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  padding: 0.9rem 2.2rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 0.25s;
}
.btn-primary:hover { background: var(--gold); color: var(--warm-white); }
.btn-ghost {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  padding-bottom: 2px;
  border-bottom: 1px solid var(--border);
  transition: all 0.2s;
}
.btn-ghost:hover { color: var(--ink); border-color: var(--ink); }

/* GEMEINSAME ELEMENTE
   ------------------------------------------------------------ */
.section-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.section-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.section-sub {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--mid);
}
.divider {
  width: 3rem; height: 1px;
  background: var(--gold);
  margin: 2rem 0;
}
.page-wrap {
  padding-top: 80px; /* nav-Höhe */
}

/* LIGHTBOX
   ------------------------------------------------------------ */
.lightbox-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 500;
  background: rgba(10,8,6,0.92);
  align-items: center;
  justify-content: center;
}
.lightbox-overlay.open { display: flex; }
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  text-align: center;
}
.lightbox-inner img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
}
.lightbox-caption {
  color: rgba(250,248,245,0.7);
  font-size: 0.85rem;
  margin-top: 1rem;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
}
.lightbox-close {
  position: absolute;
  top: -2.5rem; right: 0;
  color: rgba(250,248,245,0.6);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  background: none; border: none;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--warm-white); }
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: none; border: none;
  color: rgba(250,248,245,0.5);
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
}
.lightbox-prev { left: -3.5rem; }
.lightbox-next { right: -3.5rem; }
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--warm-white); }

/* ANIMATIONEN
   ------------------------------------------------------------ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up {
  opacity: 0;
  animation: fadeUp 0.8s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-group .reveal:nth-child(1) { transition-delay: 0s; }
.reveal-group .reveal:nth-child(2) { transition-delay: 0.12s; }
.reveal-group .reveal:nth-child(3) { transition-delay: 0.24s; }
.reveal-group .reveal:nth-child(4) { transition-delay: 0.36s; }
.reveal-group .reveal:nth-child(5) { transition-delay: 0.48s; }
.reveal-group .reveal:nth-child(6) { transition-delay: 0.60s; }


/* RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 860px) {
  nav { padding: 0.9rem 1.5rem; }
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  footer {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  .footer-social { justify-content: center; }
}
