/* ============================================
   JH VISUALS – main.css
   Palette: warm off-white + sage green + charcoal
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:         #F9F6F1;
  --bg-alt:     #EDE8DF;
  --text:       #1C1A17;
  --text-muted: #4A4540;
  --sage:       #8B9E6B;
  --sage-light: #E8EDD9;
  --sage-mid:   #BEC9A8;
  --gold:       #B8965A;
  --gold-mid:   #D4BC8A;
  --warm:       #C8B89A;
  --serif:      'Cormorant Garamond', Georgia, serif;
  --sans:       'DM Sans', system-ui, sans-serif;
  --radius:     2px;
  --transition: 0.3s ease;
  --max-w:      1200px;
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.75;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  margin-bottom: 1rem;
}

.section-title em { font-style: italic; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2rem;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
}
.btn-primary:hover { background: var(--sage); }

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

.btn-sage {
  background: var(--sage);
  color: #fff;
}
.btn-sage:hover { background: #7a8e5c; }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3rem;
  transition: background 0.4s, border-color 0.4s;
}

.site-nav.scrolled {
  background: rgba(249,246,241,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(125,155,122,0.15);
}

.nav-logo {
  display: flex;
  align-items: center;
  line-height: 1;
}
.nav-logo img {
  height: 28px;
  width: auto;
  display: block;
}
.nav-logo .logo-light { display: none; }
.nav-logo .logo-dark  { display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}
.nav-links a {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 0; height: 1px;
  background: var(--sage);
  transition: width var(--transition);
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { width: 100%; }
.nav-links a.active { color: var(--text); }
.nav-links a.active::after { width: 100%; }

/* Kontakt-Link als Pill */
.nav-links .nav-cta {
  background: var(--sage);
  color: #fff !important;
  padding: 0.5rem 1.2rem;
  border-radius: 100px;
  transition: background var(--transition);
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: #7a8e5c !important; }

/* Mobile Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--text);
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4px, 4.5px); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4px, -4.5px); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 190;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--text);
}
.mobile-menu a:hover { color: var(--sage); }

/* ── FOOTER ── */
.site-footer {
  background: var(--text);
  color: rgba(249,246,241,0.6);
  padding: 3.5rem 3rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}
.footer-brand {
  margin-bottom: 0.8rem;
}
.footer-brand img {
  height: 32px;
  width: auto;
  display: block;
  opacity: 0.9;
}
.footer-tagline {
  font-size: 0.82rem;
  margin-bottom: 1.5rem;
}
.footer-email {
  font-size: 0.82rem;
  color: var(--gold-mid);
  transition: color var(--transition);
}
.footer-email:hover { color: #fff; }
.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer-links a {
  color: rgba(249,246,241,0.75);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--bg); }

/* ── FOOTER IMPRESSUM (§5 TMG – erscheint auf jeder Seite) ── */
.footer-impressum {
  grid-column: 1 / -1;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(249,246,241,0.12);
  margin-top: 0.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 2.5rem;
  font-size: 0.68rem;
  line-height: 1.6;
  color: rgba(249,246,241,0.55);
  letter-spacing: 0.03em;
}
.footer-impressum strong {
  font-weight: 500;
  color: rgba(249,246,241,0.75);
  display: block;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.62rem;
  margin-bottom: 0.2rem;
}
.footer-impressum a {
  color: rgba(249,246,241,0.55);
  text-decoration: none;
}
.footer-impressum a:hover { color: rgba(249,246,241,0.9); }
.footer-impressum-col { min-width: 160px; }

/* Impressum + Datenschutz: eigene Zeile, gesetzlich sichtbar (2-Klick-Regel §5 TMG) */
.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(249,246,241,0.15);
  margin-top: 0.5rem;
}
.footer-legal a {
  color: rgba(249,246,241,0.9);
  transition: color var(--transition);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(249,246,241,0.3);
}
.footer-legal a:hover {
  color: #fff;
  text-decoration-color: rgba(249,246,241,0.8);
}
.footer-copy {
  grid-column: 1 / -1;
  font-size: 0.7rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(249,246,241,0.1);
  margin-top: 1rem;
}

/* ── WA FLOATING BTN ── */
.wa-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 150;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
}
.wa-float svg { width: 26px; height: 26px; fill: #fff; }

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── CONTAINER ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 3rem;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .site-nav { padding: 1.2rem 1.5rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .container { padding: 0 1.5rem; }
  .site-footer { grid-template-columns: 1fr; padding: 3rem 1.5rem 2rem; }
  .footer-links { flex-wrap: wrap; gap: 1rem; }
}

/* ── NAV SOCIAL (Instagram icon) ── */
.nav-social {
  display: flex;
  align-items: center;
  margin-left: 0.8rem;
}
.nav-social a {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  transition: color var(--transition);
}
.nav-social a:hover { color: var(--sage); }
@media (max-width: 900px) { .nav-social { display: none; } }

/* ── FOOTER INSTAGRAM ── */
.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--gold-mid);
  margin-top: 0.5rem;
  transition: color var(--transition);
  letter-spacing: 0.05em;
}
.footer-instagram:hover { color: #fff; }
