/* ============================================================
   Investment Circle — Stylesheet
   Marke: dunkel, Gold/Tiefblau, premium, ruhig (copy/brand-kit.md)
   ============================================================ */

/* ---------- Fonts (lokal gehostet, OFL) ---------- */
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-v40-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Playfair Display';
  src: url('../fonts/playfair-display-v40-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-v20-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-v20-latin-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-v20-latin-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design-Token ---------- */
:root {
  --night: #0A111F;
  --navy: #111E33;
  --royal: #1E4470;
  --gold: #C9A24B;
  --gold-2: #E6CD8C;
  --ivory: #F3EFE6;
  --muted: #9FAEC4;
  --line: rgba(201, 162, 75, .22);
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, 'Segoe UI', Arial, sans-serif;
  --wrap: 1160px;
  --radius: 6px;
}

/* ---------- Reset / Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  color: var(--ivory);
  background: var(--night);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: rgba(201, 162, 75, .35); color: var(--ivory); }

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--gold); color: var(--night);
  padding: 10px 18px; font-weight: 600; font-size: 15px;
}
.skip-link:focus { left: 16px; top: 16px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Typografie ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.22; letter-spacing: .01em; overflow-wrap: break-word; }
h1 { font-size: clamp(34px, 5.2vw, 62px); }

/* Anker-Ziele nicht unter dem fixen Header verschwinden lassen */
[id] { scroll-margin-top: 100px; }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: clamp(21px, 2.2vw, 25px); }

.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); }

.gold-rule {
  width: 64px; height: 1px; border: 0;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 26px 0;
}
.center .gold-rule { margin-left: auto; margin-right: auto; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-block;
  font-family: var(--sans); font-size: 15px; font-weight: 600;
  letter-spacing: .06em;
  padding: 15px 32px;
  border-radius: 3px;
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease, color .25s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #a9853a);
  color: #131313;
}
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -70%;
  width: 44%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent);
  transform: skewX(-20deg);
}
/* Transition nur im Hover-Zustand: Rückweg beim Verlassen springt unsichtbar zurück */
.btn-gold:hover::after { left: 130%; transition: left .65s ease; }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(201, 162, 75, .28); }
.btn-ghost {
  border: 1px solid rgba(201, 162, 75, .55);
  color: var(--gold-2);
}
.btn-ghost:hover { background: rgba(201, 162, 75, .1); border-color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: border-color .35s ease;
  border-bottom: 1px solid transparent;
}
/* Blur/Hintergrund auf Pseudo-Element: backdrop-filter direkt auf dem Header
   machte ihn zum Containing Block für das fixed positionierte Mobilmenü */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 17, 31, .88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity .35s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header.scrolled::before { opacity: 1; }
.nav-bar { display: flex; align-items: center; justify-content: space-between; height: 84px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand-emblem {
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(201, 162, 75, .35);
  overflow: hidden; flex-shrink: 0;
}
.brand-name { font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: .04em; line-height: 1.15; }
.brand-name small {
  display: block;
  font-family: var(--sans); font-size: 10.5px; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-top: 3px;
}

.nav-links { display: flex; align-items: center; gap: 34px; font-size: 15px; color: var(--muted); }
.nav-links a { position: relative; transition: color .2s ease; }
.nav-links a:hover { color: var(--gold-2); }
.nav-links a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -7px;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s ease;
}
.nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); transform-origin: left; }

/* Einfache Navigation der Unterseiten (kein Overlay-Menü nötig) */
.nav-simple { display: flex; align-items: center; font-size: 15px; color: var(--muted); }
.nav-simple a { display: inline-flex; align-items: center; gap: 8px; transition: color .2s ease; }
.nav-simple a:hover { color: var(--gold-2); }
.nav-cta { margin-left: 10px; padding: 11px 22px; font-size: 13.5px; }

.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 4px;
  width: 46px; height: 46px; cursor: pointer;
  color: var(--ivory);
}
.menu-toggle svg { width: 22px; height: 22px; margin: auto; display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 72% center;
  opacity: 0;
  transition: opacity 1.4s ease;
}
.hero-video.playing { opacity: 1; }
/* Weicher Übergang vom Hero in den Seitenhintergrund */
.hero .hero-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 160px;
  background: linear-gradient(180deg, transparent, var(--night));
  pointer-events: none;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(10, 17, 31, .92) 0%, rgba(10, 17, 31, .68) 38%, rgba(10, 17, 31, .18) 70%, rgba(10, 17, 31, .35) 100%),
    linear-gradient(180deg, rgba(10, 17, 31, .55) 0%, rgba(10, 17, 31, 0) 26%, rgba(10, 17, 31, 0) 62%, rgba(10, 17, 31, .9) 100%);
}
.hero-inner { padding: 160px 0 120px; max-width: 860px; }
.hero h1 {
  text-wrap: balance;
  font-size: clamp(31px, 4.5vw, 57px);
  line-height: 1.16;
}
.hero h1 .h1-kicker {
  display: block;
  font-size: clamp(18px, 1.7vw, 23px);
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--gold-2);
  margin-bottom: 18px;
}
.hero h1 .gold { color: var(--gold-2); }
.hero .lead { margin-top: 28px; max-width: 580px; color: #C6CFDE; font-size: clamp(17px, 2vw, 21px); }
.hero-actions { margin-top: 46px; display: flex; gap: 18px; flex-wrap: wrap; }

.hero-scroll {
  position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%);
  color: var(--gold); opacity: .8;
}
.hero-scroll svg { width: 22px; height: 22px; animation: drift 2.6s ease-in-out infinite; }
@keyframes drift { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* ---------- Werte-Band (Marquee) ---------- */
.ticker {
  position: relative;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(17, 30, 51, .55), rgba(17, 30, 51, .2) 50%, rgba(17, 30, 51, .55));
  overflow: hidden;
  padding: 20px 0;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 46s linear infinite;
}
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track,
.ticker-track.paused { animation-play-state: paused; }
.ticker-group { display: flex; align-items: center; flex-shrink: 0; }
.ticker-item {
  display: flex; align-items: center; gap: 28px;
  padding-right: 28px;
  font-size: 13px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.ticker-item::after { content: "◆"; font-size: 7px; color: var(--gold); opacity: .75; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Sektionen ---------- */
section { padding: 116px 0; }
.section-head { max-width: 700px; margin-bottom: 60px; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 18px; }
.center { text-align: center; }
.center.section-head { margin-left: auto; margin-right: auto; }

/* ---------- Leistungen ---------- */
#investments {
  position: relative;
  background: radial-gradient(900px 460px at 88% 0%, rgba(30, 68, 112, .25), transparent 70%);
}
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card {
  position: relative;
  background: linear-gradient(180deg, var(--navy), rgba(17, 30, 51, .45));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.card::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(201, 162, 75, 0));
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s ease;
  z-index: 1;
}
.card:hover::after { transform: scaleX(1); }
.card:hover { transform: translateY(-6px); border-color: rgba(201, 162, 75, .55); box-shadow: 0 24px 50px rgba(0, 0, 0, .45); }
.card-media { aspect-ratio: 16 / 9; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card-media img { transform: scale(1.045); }
.card-body { padding: 32px 30px 36px; display: flex; flex-direction: column; gap: 16px; flex: 1; }
.card-num { font-size: 12.5px; font-weight: 600; letter-spacing: .22em; color: var(--gold); }
.card-body p { color: var(--muted); font-size: 16px; }
.card-tags { margin-top: auto; padding-top: 10px; font-size: 13.5px; letter-spacing: .04em; color: var(--gold-2); }
.card-list { margin-top: auto; padding-top: 10px; display: grid; gap: 9px; }
.card-list li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--gold-2); }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 10px; height: 1px; background: var(--gold);
}

/* ---------- Prozess ---------- */
.process { padding-top: 0; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; list-style: none; padding: 0; }
.step {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  transition: border-color .35s ease;
}
.step:hover { border-top-color: rgba(201, 162, 75, .7); }
.step-num {
  display: block;
  font-family: var(--serif);
  font-size: 46px; font-weight: 600; line-height: 1;
  color: rgba(201, 162, 75, .28);
  margin-bottom: 18px;
  transition: color .35s ease;
}
.step:hover .step-num { color: rgba(230, 205, 140, .75); }
.step h3 { font-family: var(--sans); font-size: 17px; font-weight: 600; letter-spacing: .02em; margin-bottom: 10px; }
.step p { font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ---------- Warum wir / Vertrauen ---------- */
.trust {
  background: linear-gradient(120deg, rgba(30, 68, 112, .34), rgba(17, 30, 51, .1) 55%), var(--navy);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.trust-copy p { color: var(--muted); font-size: 18px; }
.trust-media { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }

.values { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.value {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 24px 22px;
  border: 1px solid rgba(201, 162, 75, .16);
  border-radius: var(--radius);
  background: rgba(10, 17, 31, .45);
  transition: border-color .3s ease;
}
.value:hover { border-color: rgba(201, 162, 75, .45); }
.value svg {
  width: 30px; height: 30px; flex-shrink: 0;
  color: var(--gold); margin-top: 2px;
  transition: transform .3s ease, color .3s ease;
}
.value:hover svg { transform: translateY(-3px) scale(1.07); color: var(--gold-2); }
.value strong { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: .02em; }

/* ---------- Über uns ---------- */
#ueber-uns {
  position: relative;
  background: radial-gradient(760px 400px at 12% 100%, rgba(201, 162, 75, .07), transparent 70%);
}
.about-inner { max-width: 800px; margin: 0 auto; text-align: center; }
.about-inner p { font-family: var(--serif); font-size: clamp(20px, 2.6vw, 27px); line-height: 1.6; color: var(--ivory); }
.about-inner p + p { margin-top: 28px; }
.about-inner .gold { color: var(--gold-2); }

/* ---------- CTA ---------- */
.cta { position: relative; padding: 150px 0; overflow: hidden; }
.cta-media { position: absolute; inset: 0; z-index: -2; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10, 17, 31, .93), rgba(10, 17, 31, .62) 50%, rgba(10, 17, 31, .93));
}
.cta-box { max-width: 680px; margin: 0 auto; text-align: center; }
.cta-box p { margin-top: 20px; font-size: 18px; color: #C6CFDE; }
.cta-box .btn { margin-top: 40px; }
.cta-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: #080D18; padding: 76px 0 44px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 13px; }
.footer-brand .brand-emblem { width: 44px; height: 44px; }
.footer-claim { margin-top: 18px; font-size: 14.5px; color: var(--muted); max-width: 340px; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--sans); font-size: 12px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); }
.footer-col a { transition: color .2s ease; }
.footer-col a:hover { color: var(--gold-2); }
/* Kompatibilität: einfache Footer-Zeile (Unterseiten) */
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 28px; font-size: 14.5px; color: var(--muted); }
.footer-links a:hover { color: var(--gold-2); }
.risk-note {
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid rgba(159, 176, 200, .12);
  font-size: 13px; line-height: 1.7; color: #7d8ba1;
  max-width: 920px;
}
.copyright { margin-top: 20px; font-size: 13px; color: #7d8ba1; }

/* ---------- Unterseiten (Impressum / Datenschutz) ---------- */
.page-main { padding: 170px 0 90px; min-height: 70vh; }
.page-main .wrap { max-width: 820px; }
.page-main h1 { font-size: clamp(32px, 4vw, 46px); margin-bottom: 14px; }
.page-main h2 { font-size: 22px; margin: 44px 0 14px; }
.page-main p, .page-main li { color: var(--muted); font-size: 16px; }
.page-main ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; }
.page-main a { color: var(--gold-2); }
.page-main a:hover { text-decoration: underline; }
.page-main address { font-style: normal; color: var(--ivory); line-height: 1.9; }
.page-stand { margin-top: 48px; font-size: 13.5px; color: #7d8ba1; }

/* ---------- Reveal-Animationen (dezent) ----------
   Nur aktiv, wenn JS bestätigt läuft (html.js) — ohne JS bleibt alles sichtbar. */
html.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
html.js .reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-scroll svg { animation: none; }
  .card, .card-media img, .btn { transition: none; }
  .ticker-track { animation: none; width: auto; justify-content: center; }
  .ticker-group { flex-wrap: wrap; justify-content: center; flex-shrink: 1; row-gap: 12px; }
  .ticker-group[aria-hidden="true"] { display: none; }
  .btn-gold::after { display: none; }
  .hero-video { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cards { grid-template-columns: 1fr; max-width: 620px; margin: 0 auto; }
  .trust-grid { grid-template-columns: 1fr; gap: 44px; }
  .values { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  /* Overlay-Menü schon ab 1020px: die volle Desktop-Nav braucht ~1000px Platz */
  .nav-links {
    position: fixed; inset: 0; z-index: 90;
    display: none;
    flex-direction: column; align-items: center; gap: 30px;
    background: #080D18;
    font-size: 19px;
    overflow-y: auto;
    padding: 24px;
  }
  .nav-links.open { display: flex; }
  /* Zentriert, wenn Platz ist; scrollbar statt abgeschnitten (Landscape-Phones) */
  .nav-links > li:first-child { margin-top: auto; }
  .nav-links > li:last-child { margin-bottom: auto; }
  body.menu-open { overflow: hidden; }
  .menu-toggle { display: block; position: relative; z-index: 95; }
  .brand { position: relative; z-index: 95; }
  .nav-cta { margin-left: 0; }

  /* Hero-Overlay verstärken: Textblock reicht hier bis in die helle Bildzone (WCAG AA) */
  .hero::before {
    background:
      linear-gradient(90deg, rgba(10, 17, 31, .95) 0%, rgba(10, 17, 31, .9) 60%, rgba(10, 17, 31, .8) 100%),
      linear-gradient(180deg, rgba(10, 17, 31, .55) 0%, rgba(10, 17, 31, 0) 30%, rgba(10, 17, 31, 0) 60%, rgba(10, 17, 31, .92) 100%);
  }
}

@media (max-width: 760px) {
  section { padding: 84px 0; }
  .brand-name { font-size: 17px; }
  .hero-inner { padding: 140px 0 110px; }
  .hero-media img { object-position: 66% center; }
  .values { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}
