/* ═══════════════════════════════════
   main.css – Globale Styles
   danny-evers.de
═══════════════════════════════════ */

/* ── CSS Variablen ── */
:root {
  --dark:       #2a2320;
  --dark-mid:   #3a3230;
  --gold:       #b8922a;
  --gold-light: #d4a93c;
  --cream:      #f5efe4;
  --cream-dark: #e8dfd0;
  --text-dark:  #1e1a18;
  --text-mid:   #4a3f38;
  --text-light: #f5efe4;
  --text-muted: #7a6e66;
  --white:      #fdfaf5;
}

/* ── Reset ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--text-dark);
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ── Typografie Basis ── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  line-height: 1.1;
}

p { line-height: 1.8; }

a { color: inherit; }

/* ── Buttons ── */
.btn-primary {
  background: var(--gold);
  color: var(--white);
  padding: 0.9rem 2.2rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184,146,42,0.3);
}

.btn-dark {
  background: var(--dark);
  color: var(--white);
  padding: 1rem 2rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: block;
  text-align: center;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-dark:hover {
  background: var(--dark-mid);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(42,35,32,0.25);
}

.btn-ghost {
  color: rgba(245,239,228,0.65);
  text-decoration: none;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.2s, gap 0.2s;
}

.btn-ghost:hover { color: var(--white); gap: 0.8rem; }
.btn-ghost::after { content: '→'; transition: transform 0.2s; }
.btn-ghost:hover::after { transform: translateX(3px); }

/* ── Section Label ── */
.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.section-label::before {
  content: '';
  width: 1.5rem;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Navigation ── */
#main-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 4rem;
  background: rgba(42,35,32,0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(184,146,42,0.18);
  transition: padding 0.3s;
}

#main-nav.scrolled { padding: 0.8rem 4rem; }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  z-index: 210;
  position: relative;
}

.nav-logo-img {
  height: 28px;
  width: auto;
  display: block;
  filter: brightness(1);
  transition: opacity 0.2s;
}

.nav-logo:hover .nav-logo-img { opacity: 0.85; }

.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

.nav-logo-text em {
  font-style: normal;
  color: var(--gold-light);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: rgba(245,239,228,0.65);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover { color: var(--gold-light); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta {
  background: var(--gold);
  color: var(--dark) !important;
  padding: 0.5rem 1.2rem;
  font-weight: 500 !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

/* ── Hamburger ── */
.hamburger {
  display: none;
  position: relative;
  z-index: 210;
  width: 44px; height: 44px;
  cursor: pointer;
  background: none;
  border: none;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}

.hb-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}

.hb-line {
  display: block;
  height: 2px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: width 0.3s ease, transform 0.35s ease, opacity 0.25s ease;
  transform-origin: right center;
}

.hb-line-1 { width: 28px; }
.hb-line-2 { width: 20px; }
.hb-line-3 { width: 14px; }

.hb-dot {
  position: absolute;
  top: 8px; right: 8px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  transition: transform 0.3s ease, opacity 0.3s;
}

.hamburger.open .hb-line-1 {
  width: 26px;
  transform: rotate(-42deg) translate(-1px, 9px);
}

.hamburger.open .hb-line-2 {
  width: 26px;
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open .hb-line-3 {
  width: 26px;
  transform: rotate(42deg) translate(-1px, -9px);
}

.hamburger.open .hb-dot {
  transform: scale(0);
  opacity: 0;
}

/* ── Mobile Menu ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  display: flex;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.menu-panel-img {
  width: 42%;
  background: var(--dark-mid);
  position: relative;
  overflow: hidden;
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(0.77,0,0.175,1);
}

.mobile-menu.open .menu-panel-img {
  transform: translateX(0);
}

.menu-panel-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-mid) 100%);
  display: flex;
  align-items: flex-end;
  padding: 3rem;
}

.menu-img-caption {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: rgba(245,239,228,0.5);
  line-height: 1.4;
}

.menu-img-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to right, transparent 60%, var(--dark) 100%),
    linear-gradient(to top, rgba(42,35,32,0.6) 0%, transparent 40%);
}

.menu-img-quote {
  position: absolute;
  bottom: 3rem; left: 2.5rem; right: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: rgba(245,239,228,0.7);
  line-height: 1.5;
}

.menu-panel-nav {
  flex: 1;
  background: var(--dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem 4rem 4rem 3.5rem;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.77,0,0.175,1) 0.05s;
  position: relative;
  overflow: hidden;
}

.menu-panel-nav::before {
  content: '';
  position: absolute;
  bottom: -8rem; right: -8rem;
  width: 22rem; height: 22rem;
  border-radius: 50%;
  border: 1px solid rgba(184,146,42,0.12);
  pointer-events: none;
}

.menu-panel-nav::after {
  content: '';
  position: absolute;
  bottom: -5rem; right: -5rem;
  width: 15rem; height: 15rem;
  border-radius: 50%;
  border: 1px solid rgba(184,146,42,0.08);
  pointer-events: none;
}

.mobile-menu.open .menu-panel-nav {
  transform: translateX(0);
}

.menu-nav-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 3rem;
}

.menu-nav-items li {
  border-bottom: 1px solid rgba(184,146,42,0.1);
  overflow: hidden;
}

.menu-nav-items li:first-child {
  border-top: 1px solid rgba(184,146,42,0.1);
}

.menu-nav-items a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 0;
  text-decoration: none;
  color: rgba(245,239,228,0.75);
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 5vw, 2rem);
  font-weight: 700;
  font-style: italic;
  transition: color 0.2s, padding-left 0.2s;
}

.menu-nav-items a:hover {
  color: var(--gold-light);
  padding-left: 0.5rem;
}

.menu-nav-arrow {
  font-size: 1rem;
  font-style: normal;
  opacity: 0;
  transition: opacity 0.2s, transform 0.2s;
  color: var(--gold);
}

.menu-nav-items a:hover .menu-nav-arrow {
  opacity: 1;
  transform: translateX(4px);
}

.menu-domain {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(184,146,42,0.4);
  margin-top: auto;
}

.menu-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--gold);
  color: var(--dark) !important;
  padding: 0.9rem 1.8rem;
  font-family: 'DM Sans', sans-serif !important;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  font-style: normal !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  margin-top: 2rem;
  transition: background 0.2s;
  width: fit-content;
}

.menu-cta-link:hover { background: var(--gold-light); }

/* ── Footer ── */
footer {
  background: var(--dark-mid);
  border-top: 1px solid rgba(184,146,42,0.12);
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: rgba(245,239,228,0.6);
}

.footer-logo span { color: var(--gold-light); }

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  color: rgba(245,239,228,0.35);
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(245,239,228,0.75); }

.footer-domain {
  font-size: 0.72rem;
  color: rgba(184,146,42,0.35);
  letter-spacing: 0.1em;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  #main-nav { padding: 1rem 1.5rem; }
  #main-nav.scrolled { padding: 0.8rem 1.5rem; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .menu-panel-img { width: 38%; }
}

@media (max-width: 520px) {
  .menu-panel-img { display: none; }
  .menu-panel-nav { padding: 6rem 2rem 3rem; }
}