/* ============================================================
   base.css – Reset, Variables, Typography, Topbar, Nav
============================================================ */

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

/* ── Variables ── */
:root {
  --teal-light:  #1e4a4a;
  --teal-dark:   #153333;
  --gold:        #c9a84c;
  --white:       #ffffff;
  --off-white:   #f7f8fc;
  --text:        #f7f8fc;
  --text-muted:  #000;
  --radius:      14px;
  --transition:  0.25s ease;
}

/* ── Base ── */
html { scroll-behavior: smooth; }
html {
  max-width: 100%;
  overflow-x: clip; /* clip auf html blockiert sticky nicht */
}
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--off-white);
  overflow-x: hidden;
  max-width: 100%;
}
a { text-decoration: none; color: inherit; }
section { padding: 90px 80px; }

/* ── Typography helpers ── */
.section-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--teal-light);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.2;
  color: var(--teal-light);
}
.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 560px;
}

/* ── Topbar ── */
.topbar {
  background: var(--teal-light);
  position: relative;
  z-index: 301; /* über Nav und Dropdown */
  color: var(--gold);
  font-size: 13px;
  padding: 8px 0;
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}
.topbar a { color: var(--gold); transition: color var(--transition); }
.topbar a:hover { color: #fff; }

/* ── Navigation ── */
nav {
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 48px;
  position: sticky;
  top: 0;
  z-index: 300; /* über dem Dropdown-Menü (199) */
  box-shadow: 0 2px 12px rgba(45,74,138,0.06);
  transition: box-shadow 0.3s;
  overflow: visible;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(45,74,138,0.12); }

.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 52px; width: auto; }
.nav-brand {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14px;
  font-weight: 500;
}
.nav-links a {
  color: var(--text);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 3px;
}
.nav-links a:hover { color: var(--gold); }

.nav-cta {
  background: rgba(255,255,255,0.15);
  color: #fff;
  padding: 10px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: background var(--transition);
}
.nav-cta:hover { background: rgba(255,255,255,0.25); }

/* ── Language button ── */
.lang-btn {
  background: var(--gold);
  color: var(--teal-dark);
  border: none;
  padding: 7px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none;
  display: inline-block;
}
.lang-btn:hover { background: #b8943e; color: #fff; }

/* ── Hamburger ── */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
