@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Jost:wght@300;400;500&display=swap');

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

:root {
  --cream: #faf8f3;
  --warm-white: #f5f1e8;
  --ivory: #ede8da;
  --gold: #b8976a;
  --gold-light: #d4b896;
  --gold-dark: #8a6e48;
  --charcoal: #1a1814;
  --dark: #2d2a25;
  --mid: #6b6458;
  --light-mid: #9a9088;
  --border: #ddd5c2;
  --border-light: #ede8da;
  --shadow: rgba(26,24,20,0.07);
  --shadow-md: rgba(26,24,20,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--cream);
  color: var(--dark);
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAVIGATION ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 56px;
  height: 72px;
  background: rgba(250,248,243,0.95);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 2px 28px var(--shadow-md); }

.nav-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--mid);
  text-decoration: none;
  padding: 8px 18px;
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 18px; right: 18px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s;
}
.nav-links a:hover { color: var(--gold-dark); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--gold-dark); }
.nav-links a.active::after { transform: scaleX(1); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 1px;
  background: var(--charcoal);
  transition: all 0.3s;
}

/* ── PAGE HEADER (Unterseiten) ── */
.page-header {
  padding: 140px 0 80px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 500px; height: 500px;
  border-radius: 50%;
  border: 1px solid rgba(184,151,106,0.12);
  pointer-events: none;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -100px; left: -60px;
  width: 400px; height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(184,151,106,0.08);
  pointer-events: none;
}
.page-header .container { position: relative; z-index: 1; }
.page-header-eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: block;
}
.page-header-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.page-header-title em {
  font-style: italic;
  color: var(--gold-light);
}
.page-header-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-style: italic;
  color: var(--gold-light);
  opacity: 0.75;
  margin-top: 16px;
  max-width: 560px;
}

/* ── SHARED SECTION STYLES ── */
section { padding: 96px 0; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 56px;
}

.section-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 18px;
  display: block;
}

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 16px;
}
.section-title em { font-style: italic; color: var(--gold-dark); }

/* ── FADE ANIMATION ── */
.fade-up {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
footer {
  background: #111009;
  padding: 0;
  border-top: 1px solid rgba(184,151,106,0.15);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--gold-light);
  opacity: 0.7;
  text-decoration: none;
}

.footer-links {
  display: flex;
  gap: 28px;
  list-style: none;
}
.footer-links a {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,248,243,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold-light); }

.footer-note {
  font-size: 12px;
  color: rgba(250,248,243,0.22);
}

/* Social links in footer */
.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.social-btn {
  width: 36px; height: 36px;
  border: 1px solid rgba(184,151,106,0.25);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
}
.social-btn:hover { border-color: var(--gold); background: rgba(184,151,106,0.1); }
.social-btn svg { width: 16px; height: 16px; stroke: var(--gold-light); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; opacity: 0.75; transition: opacity 0.2s; }
.social-btn:hover svg { opacity: 1; }

/* ── BUTTONS ── */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--gold);
  color: var(--gold-dark);
  text-decoration: none;
  padding: 14px 32px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.btn-outline:hover { background: var(--gold); color: var(--charcoal); gap: 18px; }
.btn-outline::after { content: '→'; }

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: var(--charcoal);
  text-decoration: none;
  padding: 16px 36px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.btn-gold:hover { background: var(--gold-light); gap: 18px; }
.btn-gold::after { content: '→'; }

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--gold);
  color: var(--gold-light);
  text-decoration: none;
  padding: 14px 32px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: all 0.3s;
}
.btn-outline-light:hover { background: var(--gold); color: var(--charcoal); gap: 18px; }
.btn-outline-light::after { content: '→'; }

/* ── TEASER CARDS (on startseite) ── */
.teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
}

.teaser-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  padding: 48px 40px;
  text-decoration: none;
  color: inherit;
  display: block;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.teaser-card:hover { box-shadow: 0 16px 56px var(--shadow-md); transform: translateY(-4px); }

.teaser-card-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.teaser-card:hover .teaser-card-bar { transform: scaleX(1); }

.teaser-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 24px;
}

.teaser-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 12px;
  line-height: 1.2;
}

.teaser-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 28px;
}

.teaser-link {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-dark);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s;
}
.teaser-card:hover .teaser-link { gap: 14px; }
.teaser-link::after { content: '→'; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  nav { padding: 0 28px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid var(--border); padding: 16px 0; gap: 0; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 28px; }
  .nav-toggle { display: flex; }
  .container { padding: 0 28px; }
  .teaser-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-inner { flex-direction: column; text-align: center; padding: 32px 28px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
  section { padding: 64px 0; }
  .page-header { padding: 110px 0 60px; }
}
