/* ══════════════════════════════════════════════════════════════
   Up Above — Stylesheet für die SEO-Unterseiten
   Leichtgewichtig, gleicher Look wie die Startseite, kein GSAP.
   ══════════════════════════════════════════════════════════════ */

/* ── Lokale Schriften (Pfade relativ zu /assets/) ── */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/inter-300.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap; src: url('fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('fonts/inter-700.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300; font-display: swap; src: url('fonts/cormorant-300.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 600; font-display: swap; src: url('fonts/cormorant-600.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 300; font-display: swap; src: url('fonts/cormorant-italic-300.woff2') format('woff2'); }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400; font-display: swap; src: url('fonts/cormorant-italic-400.woff2') format('woff2'); }

:root {
  /* ── Theme „Open Sky" (warm & satt) ── */
  --bg: #EFE7D3;            /* warmes Creme */
  --text: #172433;          /* Headlines: tiefes Navy */
  --body: #474338;          /* Fließtext: satt, gut lesbar */
  --gold: #C29A4A;          /* Akzent (Buttons, Links, Linien, aktive Zustände) */
  --accent-hover: #b0863a;
  --on-accent: #172433;     /* Textfarbe auf Gold-Buttons */
  --muted: #474338;
  --faint: #5c5748;
  --border: #d8cdb3;        /* warme Hairlines / Trennlinien */
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--body);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* ─────────────────────────────  Navbar  ───────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, backdrop-filter .35s ease, padding .35s ease, border-color .35s ease;
}
nav.scrolled {
  padding-top: 12px; padding-bottom: 12px;
  background: rgba(239, 231, 211, 0.72);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: rgba(71, 67, 56, 0.08);
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 34px; width: auto; display: block; }

.nav-menu { flex: 1; display: flex; justify-content: center; align-items: center; gap: 38px; }
.nav-link {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--body);
  text-decoration: none;
  padding: 4px 0;
  transition: color .25s ease;
}
.nav-link::after {
  content: '';
  position: absolute; left: 0; right: 100%; bottom: -3px;
  height: 1px; background: var(--gold);
  transition: right .3s ease;
}
.nav-link:hover { color: var(--text); }
.nav-link:hover::after { right: 0; }

/* Dropdown „Leistungen" */
.nav-group { position: relative; display: flex; align-items: center; }
.nav-sub {
  position: absolute;
  top: 100%; left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding: 10px;
  display: flex; flex-direction: column;
  min-width: 260px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(71, 67, 56, 0.14);
  opacity: 0; visibility: hidden;
  transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
  z-index: 20;
}
.nav-group::before {   /* unsichtbare Hover-Brücke */
  content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 12px;
}
.nav-group:hover .nav-sub,
.nav-group:focus-within .nav-sub {
  opacity: 1; visibility: visible;
  transform: translateX(-50%) translateY(4px);
}
.nav-sub a {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem; font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--body);
  text-decoration: none;
  padding: 9px 12px;
  border-radius: 8px;
  white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.nav-sub a:hover { background: rgba(71, 67, 56, 0.06); color: var(--text); }

.nav-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.nav-cta {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem; font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(194, 154, 74, 0.5);
  border-radius: 40px;
  padding: 9px 21px;
  white-space: nowrap;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.nav-cta:hover { background: var(--gold); color: var(--on-accent); border-color: var(--gold); }
.nav-cta-in-menu { display: none; }

.nav-toggle {
  display: none; position: relative;
  width: 28px; height: 20px;
  background: none; border: none; cursor: pointer; padding: 0; flex-shrink: 0;
}
.nav-toggle span {
  position: absolute; left: 0; width: 100%; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform .3s ease, opacity .25s ease, top .3s ease;
}
.nav-toggle span:nth-child(1) { top: 2px; }
.nav-toggle span:nth-child(2) { top: 9px; }
.nav-toggle span:nth-child(3) { top: 16px; }
.nav-toggle.open span:nth-child(1) { top: 9px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 9px; transform: rotate(-45deg); }

/* ─────────────────────────────  Content  ───────────────────────────── */
.sub-main {
  max-width: 820px;
  margin: 0 auto;
  padding: 150px 24px 40px;
}
.sub-eyebrow {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem; font-weight: 400;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.sub-main h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 300;
  line-height: 1.08;
  margin-bottom: 28px;
}
.sub-lead {
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  font-weight: 300;
  color: var(--body);
  line-height: 1.7;
  max-width: 680px;
}

.sub-section { margin-top: 58px; }
.sub-section h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  font-weight: 300;
  line-height: 1.15;
  margin-bottom: 20px;
}
.sub-section h2 em { font-style: italic; color: var(--gold); }
.sub-section p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 680px;
  margin-bottom: 16px;
}
.sub-section p a,
.sub-lead a,
.faq-item p a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(194, 154, 74, 0.35);
  transition: border-color .2s ease;
}
.sub-section p a:hover,
.faq-item p a:hover { border-bottom-color: var(--gold); }

/* Feature-Liste (mit Gold-Häkchen) */
.sub-list { list-style: none; margin: 8px 0 4px; }
.sub-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--body);
  line-height: 1.65;
  max-width: 680px;
}
.sub-list li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--gold); font-size: 0.85rem; font-weight: 500;
}
.sub-list li strong { color: var(--text); font-weight: 500; }

/* Ablauf-Schritte (nummeriert) */
.sub-steps { list-style: none; counter-reset: step; margin: 12px 0 4px; }
.sub-steps li {
  position: relative;
  padding-left: 46px;
  margin-bottom: 20px;
  font-size: 1rem;
  color: var(--body);
  line-height: 1.6;
  max-width: 680px;
}
.sub-steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute; left: 0; top: -2px;
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(194, 154, 74, 0.5);
  border-radius: 50%;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: var(--gold);
}
.sub-steps li strong { color: var(--text); font-weight: 500; }

.sub-note {
  font-size: 0.92rem;
  font-style: italic;
  color: var(--faint);
  max-width: 680px;
}

/* FAQ */
.faq-item {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  max-width: 720px;
}
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
}
.faq-item p {
  font-size: 0.98rem;
  color: var(--muted);
  line-height: 1.8;
}

/* CTA-Block */
.sub-cta {
  margin-top: 72px;
  padding: 52px 40px;
  border: 1px solid rgba(194, 154, 74, 0.3);
  border-radius: 18px;
  background: rgba(194, 154, 74, 0.04);
  text-align: center;
}
.sub-cta h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 300;
  margin-bottom: 16px;
}
.sub-cta p { color: var(--muted); margin-bottom: 28px; }
.btn-primary {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem; font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--on-accent);
  background: var(--gold);
  border: 1px solid var(--gold);
  border-radius: 40px;
  padding: 14px 34px;
  text-decoration: none;
  transition: background .25s ease, transform .25s ease;
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); }

/* Querlinks zu den anderen Leistungsseiten */
.sub-related {
  margin-top: 40px;
  font-size: 0.9rem;
  color: var(--faint);
}
.sub-related a {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(194, 154, 74, 0.35);
}
.sub-related a:hover { border-bottom-color: var(--gold); }

/* ─────────────────────────────  Footer  ───────────────────────────── */
.site-footer {
  position: relative;
  z-index: 1;
  margin-top: 40px;
  padding: 36px 48px 42px;
  border-top: 1px solid rgba(71, 67, 56, 0.08);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem; font-weight: 300;
  letter-spacing: 0.03em;
  color: var(--body);
  text-decoration: none;
  transition: color .25s ease;
}
.footer-nav a:hover { color: var(--gold); }
.footer-copy {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem; font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--body);
}
.footer-right { display: flex; align-items: center; gap: 20px; }
.footer-legal { display: flex; align-items: center; gap: 16px; }
.footer-legal a {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem; font-weight: 300;
  letter-spacing: 0.04em;
  color: var(--body);
  text-decoration: none;
  transition: color 0.25s;
}
.footer-legal a:hover { color: var(--gold); }
.footer-sep { width: 1px; height: 12px; background: rgba(71, 67, 56, 0.18); }
.footer-ig {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--body);
  transition: color 0.25s, transform 0.25s;
}
.footer-ig:hover { color: var(--gold); transform: translateY(-1px) scale(1.08); }
.footer-ig svg { width: 19px; height: 19px; display: block; }

/* ─────────────────────────────  Mobile  ───────────────────────────── */
@media (max-width: 768px) {
  nav { padding: 11px 20px; gap: 16px; }
  nav.scrolled { padding: 8px 20px; }
  nav.menu-open {
    background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
  }
  .nav-logo { position: relative; z-index: 3; }
  .nav-logo img { height: 27px; }
  .nav-right .nav-cta { display: none; }
  .nav-toggle { display: block; position: relative; z-index: 3; }

  .nav-menu {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 26px; padding: 60px 28px;
    background: rgba(239, 231, 211, 0.94);
    backdrop-filter: blur(22px) saturate(120%);
    -webkit-backdrop-filter: blur(22px) saturate(120%);
    opacity: 0; visibility: hidden;
    transition: opacity .4s ease, visibility .4s ease;
    overflow-y: auto;
  }
  .nav-menu.open { opacity: 1; visibility: visible; }
  .nav-menu > * {
    opacity: 0; transform: translateY(14px);
    transition: opacity .45s ease, transform .45s ease;
  }
  .nav-menu.open > * { opacity: 1; transform: none; }
  .nav-menu.open > *:nth-child(1) { transition-delay: .06s; }
  .nav-menu.open > *:nth-child(2) { transition-delay: .12s; }
  .nav-menu.open > *:nth-child(3) { transition-delay: .18s; }
  .nav-menu.open > *:nth-child(4) { transition-delay: .24s; }

  .nav-group { flex-direction: column; gap: 16px; }
  .nav-link { font-size: 1.4rem; font-weight: 300; color: rgba(71, 67, 56, 0.9); }
  .nav-link::after { display: none; }
  .nav-sub {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: none; border: none; box-shadow: none; backdrop-filter: none;
    padding: 4px 0 0; min-width: 0; gap: 12px; align-items: center;
  }
  .nav-group::before { display: none; }
  .nav-sub a { font-size: 0.9rem; color: var(--body); padding: 0; white-space: normal; }

  .nav-cta-in-menu {
    display: inline-flex; margin-top: 8px;
    font-size: 0.95rem; padding: 13px 30px;
  }

  .sub-main { padding: 120px 22px 24px; }
  .sub-cta { padding: 40px 24px; }
  .site-footer { padding: 28px 22px 34px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .footer-nav { justify-content: center; }
}
