/* ============================================================
   DONUM · Private Banking & Family Offices — FINAL (Preview)
   DE = /   ·   EN = /EN
   Design tokens identisch mit dem DONUM Master-Designsystem.
   ============================================================ */
:root {
  --navy-950: #0a1220;
  --navy-900: #0e1a2c;
  --navy-800: #142338;
  --navy-700: #1c3049;
  --cream:    #efe8db;
  --paper:    #f5f0e7;
  --ink:      #1d2634;
  --ink-soft: #4a5568;
  --gold:     #c2a06b;
  --gold-soft:#dcc59a;
  --gold-dim: rgba(194, 160, 107, 0.32);
  --text-on-dark: #e9e2d4;
  --muted-on-dark: #aab4c2;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans:  "Jost", "Segoe UI", sans-serif;
  --fs-hero:  clamp(1.85rem, calc(1rem + 3.2vw), 3.4rem);
  --fs-h2:    clamp(1.6rem, calc(1.05rem + 2.2vw), 2.7rem);
  --fs-h3:    clamp(1.12rem, calc(1rem + 0.7vw), 1.45rem);
  --fs-body:  clamp(1.02rem, calc(0.96rem + 0.25vw), 1.15rem);
  --fs-kicker:clamp(0.72rem, calc(0.68rem + 0.2vw), 0.82rem);
  --container: 74rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4rem, 8.5vw, 8rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0; font-family: var(--sans); font-weight: 300;
  font-size: var(--fs-body); line-height: 1.65; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-mid { max-width: 52rem; margin: 0 auto; padding: 0 var(--gutter); }

.kicker {
  font-family: var(--sans); font-size: var(--fs-kicker); font-weight: 400;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  margin: 0 0 1.1rem;
}
.kicker-ink { color: #8a6f42; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.16; margin: 0 0 1.2rem; }
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); margin-bottom: 0.5rem; }
p  { margin: 0 0 1.05rem; }

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

/* ---------- Scroll-Fortschritt (1:1 aus dem DONUM Master-Design) ---------- */
.progress {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform: scaleX(0);
  transform-origin: left;
  z-index: 60;
  pointer-events: none;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(10, 18, 32, 0.92); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(194,160,107,0.18);
}
.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter);
  height: 4.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; }
/* Logo: proporción natural, nunca recortado ni estirado */
.brand img { height: 1.35rem; width: auto; max-width: 12rem; object-fit: contain; }
.site-footer img { width: auto; object-fit: contain; }
.header-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-link {
  color: var(--muted-on-dark); text-decoration: none; font-size: 0.84rem;
  letter-spacing: 0.13em; text-transform: uppercase; transition: color .25s var(--ease);
  padding: 0.4rem 0;
}
.nav-link:hover, .nav-link:focus-visible { color: var(--gold-soft); }
.nav-secondary { display: flex; align-items: center; gap: 1.2rem; }
.lang-switch { font-size: 0.84rem; letter-spacing: 0.14em; color: var(--muted-on-dark); white-space: nowrap; }
.lang-switch a { color: var(--muted-on-dark); text-decoration: none; padding: 0.5rem 0.15rem; }
.lang-switch a:hover, .lang-switch a:focus-visible { color: var(--gold-soft); }
.lang-switch .active {
  color: #fff; text-decoration: underline; text-underline-offset: 4px;
  text-decoration-color: var(--gold); padding: 0.5rem 0.15rem;
}
@media (max-width: 979px) { .header-nav { display: none; } }
/* Der lange Haupt-CTA im Header nur dort, wo Platz ist; darunter trägt der Hero-CTA */
.header-cta { max-width: 22rem; }
@media (max-width: 1120px) { .nav-secondary .header-cta { display: none; } }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  font-family: var(--sans); font-weight: 400; font-size: 0.86rem;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none;
  padding: 0.9rem 1.7rem; border: 1px solid transparent; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
  min-height: 44px;
}
.btn:focus-visible, .faq-q:focus-visible, .step:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}
.btn-primary { background: var(--gold); color: var(--navy-950); }
.btn-primary:hover { background: var(--gold-soft); }
.btn-outline { border-color: var(--gold-dim); color: var(--gold-soft); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: #fff; }
.btn-small { padding: 0.5rem 1rem; font-size: 0.76rem; min-height: 40px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  background: var(--navy-950); overflow: hidden; padding: 7rem 0 4.5rem;
}
.hero-media, .hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 62% 42%;
}
.hero-media img { animation: heroZoom 1.4s var(--ease) both; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,18,32,0.95) 0%, rgba(10,18,32,0.84) 40%, rgba(10,18,32,0.38) 100%);
}
.hero-inner { position: relative; z-index: 2; }
.hero-content { max-width: 46rem; color: var(--text-on-dark); }
.hero h1 { color: #fff; margin-bottom: 1.3rem; }
.hero h1 .line2 { color: var(--gold-soft); font-style: italic; display: block; margin-top: 0.35rem; }
.hero-sub { max-width: 40rem; color: var(--muted-on-dark); }
.hero-support {
  font-family: var(--serif); font-style: italic; font-size: 1.15rem;
  color: var(--gold-soft); margin: 1.1rem 0 0;
}
.hero-actions { margin-top: 1.9rem; }
@media (max-width: 899px) {
  .hero { min-height: 88vh; padding-top: 6rem; }
  .hero-media, .hero-media img { object-position: 68% 45%; }
  .hero-media::after {
    background: linear-gradient(180deg, rgba(10,18,32,0.93) 0%, rgba(10,18,32,0.78) 55%, rgba(10,18,32,0.45) 100%);
  }
}

/* Hero-Ladeanimation: dezenter Stagger (nur beim Laden, einmalig) */
.hero-anim { opacity: 0; transform: translateY(16px); animation: heroRise 0.75s var(--ease) forwards; }
.hero-anim.d1 { animation-delay: 0.05s; }
.hero-anim.d2 { animation-delay: 0.18s; }
.hero-anim.d3 { animation-delay: 0.34s; }
.hero-anim.d4 { animation-delay: 0.48s; }
.hero-anim.d5 { animation-delay: 0.62s; }
@keyframes heroRise { to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.045); } to { transform: scale(1); } }

/* ---------- Sections ---------- */
.section { padding: var(--section-y) 0; }
.section-cream { background: var(--paper); color: var(--ink); }
.section-navy { background: var(--navy-900); color: var(--text-on-dark); }
.section-navy h2, .section-navy h3 { color: #fff; }
.section-navy-deep { background: var(--navy-950); color: var(--text-on-dark); }
.section-navy-deep h2, .section-navy-deep h3 { color: #fff; }
.muted { color: var(--ink-soft); }
.section-navy .muted, .section-navy-deep .muted { color: var(--muted-on-dark); }

.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; } .split.flip > .split-media { order: -1; } }
/* Fotografías editoriales: wrapper con proporción natural + object-fit cover.
   Cada imagen conserva SIEMPRE su relación de aspecto original. */
.split-media { margin: 0; overflow: hidden; border-radius: 2px; box-shadow: 0 30px 60px rgba(10,18,32,0.18); }
.split-media.ar-169 { aspect-ratio: 16 / 9; }
.split-media.ar-2516 { aspect-ratio: 25 / 16; }
.split-media img {
  width: 100%; height: 100%; display: block;
  object-fit: cover; object-position: center;
}

.statement {
  font-family: var(--serif); font-size: clamp(1.25rem, calc(1rem + 1.2vw), 1.8rem);
  line-height: 1.38; font-style: italic;
}
.statement-gold { color: var(--gold); }

/* ---------- Kontext (rein editorial) ---------- */
.kontext-inner { max-width: 46rem; }
.kontext-inner .statement { margin-top: 1.4rem; }

/* ---------- Für wen ---------- */
.audience-list { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 720px) { .audience-list { grid-template-columns: 1fr 1fr; } }
.audience-list li {
  padding: 1.15rem 1.35rem; border: 1px solid rgba(194,160,107,0.25);
  background: rgba(255,255,255,0.02); font-weight: 400;
}
.audience-list li::before { content: "— "; color: var(--gold); }

/* ---------- Geste, die zurückkehrt ---------- */
.return-points { list-style: none; margin: 1.6rem 0 0; padding: 0; }
.return-points li {
  position: relative; padding: 0.9rem 0 0.9rem 2.4rem;
  border-top: 1px solid rgba(194,160,107,0.35);
}
.return-points li:last-child { border-bottom: 1px solid rgba(194,160,107,0.35); }
.return-points li::before {
  content: counter(rp, decimal-leading-zero); counter-increment: rp;
  position: absolute; left: 0; top: 0.95rem;
  font-family: var(--serif); font-size: 1.05rem; color: var(--gold);
}
.return-points { counter-reset: rp; }

/* ---------- Zitat-Band (Bild vollständig, Text auf massivem Navy) ---------- */
.quote-band { background: var(--navy-950); padding: clamp(3.5rem, 8vw, 6rem) 0; }
.quote-band .container-mid { text-align: center; }
/* Produktbild IMMER vollständig sichtbar – kein Crop, keine Verzerrung */
.quote-band-figure { margin: 0 auto 2.4rem; }
.quote-band-figure img {
  display: block; margin: 0 auto;
  width: auto; height: auto;
  max-width: min(100%, 30rem); max-height: 62vh;
  object-fit: contain;
  border-radius: 2px; box-shadow: 0 30px 60px rgba(0,0,0,0.42);
}
.quote-band .statement { color: var(--text-on-dark); max-width: 44rem; margin-inline: auto; }
.quote-band .statement em { color: var(--gold-soft); }

/* ---------- Einsatzfelder ---------- */
.usecases { display: grid; gap: 1.2rem; margin-top: 2.4rem; }
@media (min-width: 720px)  { .usecases { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .usecases { grid-template-columns: 1fr 1fr 1fr; } }
.usecase {
  border: 1px solid rgba(194,160,107,0.22); padding: 1.6rem 1.5rem;
  background: linear-gradient(160deg, rgba(255,255,255,0.03), rgba(255,255,255,0));
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.usecase:hover { border-color: rgba(194,160,107,0.5); transform: translateY(-3px); }
.usecase h3 { color: var(--gold-soft); font-family: var(--sans); font-weight: 400; font-size: 1rem; letter-spacing: 0.06em; }
.usecase p { margin: 0; color: var(--muted-on-dark); font-size: 0.97rem; }

/* ---------- Vier Schritte — Komponente 1:1 aus dem DONUM Master-Design ---------- */
.stage { position: relative; overflow: visible; }
.stage-media {
  overflow: hidden;
  aspect-ratio: 25 / 16;
}
.stage-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.stage-scrim {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(8, 14, 26, 0.78) 0%, rgba(8, 14, 26, 0.35) 34%, rgba(8, 14, 26, 0) 55%),
    linear-gradient(0deg, rgba(8, 14, 26, 0.35) 0%, rgba(8, 14, 26, 0) 22%);
}
.stage-head {
  position: absolute;
  top: clamp(1.5rem, 4vw, 3rem);
  left: clamp(1.5rem, 4vw, 3rem);
  max-width: 34rem;
  z-index: 2;
}
.stage-head .kicker { color: var(--gold); }
.stage-head h2 { color: #f3ecdd; text-shadow: 0 2px 18px rgba(8, 14, 26, 0.55); }
.head-sub { display: block; font-size: 0.62em; font-style: italic; color: var(--gold-soft); margin-top: 0.45rem; }

.hotspots { position: absolute; inset: 0; z-index: 3; margin: 0; padding: 0; list-style: none; }
.hotspot-point {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
}
.hotspot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--gold-soft);
  background: rgba(10, 18, 32, 0.72);
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: 1.05rem;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), transform 0.35s var(--ease), color 0.35s var(--ease);
}
.hotspot:hover, .hotspot:focus-visible { background: var(--navy-800); transform: scale(1.08); }
.hotspot:focus-visible { outline: 2px solid var(--gold-soft); outline-offset: 3px; }
.hotspot-point.active .hotspot {
  background: var(--gold);
  color: var(--navy-950);
  border-color: var(--gold);
}
@media (prefers-reduced-motion: no-preference) {
  .hotspot::before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: 50%;
    border: 1px solid rgba(220, 197, 154, 0.5);
    animation: pulse 2.8s var(--ease) infinite;
  }
}
@keyframes pulse {
  0%   { transform: scale(0.82); opacity: 0; }
  35%  { opacity: 1; }
  100% { transform: scale(1.22); opacity: 0; }
}
.hotspot-card {
  position: absolute;
  left: 50%;
  top: calc(100% + 0.9rem);
  translate: -18% 0;
  width: min(19rem, 74vw);
  background: rgba(14, 26, 44, 0.96);
  border: 1px solid var(--gold-dim);
  border-top: 2px solid var(--gold);
  padding: 1.3rem 1.4rem;
  box-shadow: 0 26px 55px -20px rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0s linear 0.4s;
  z-index: 4;
}
.hotspot-point.flip .hotspot-card { translate: -82% 0; }
.hotspot-point.rise .hotspot-card {
  top: auto;
  bottom: calc(100% + 0.9rem);
  transform: translateY(-8px);
}
.hotspot-point:hover .hotspot-card,
.hotspot-point:focus-within .hotspot-card,
.hotspot-point.active .hotspot-card {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.hotspot-card h3 {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  color: #f3ecdd;
  font-size: 1.2rem;
  margin-bottom: 0.55rem;
}
.card-n {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 0.95em;
}
.hotspot-card p { font-size: 0.92rem; color: var(--muted-on-dark); }
.hotspot-card p + p { margin-top: 0.6em; }

/* Mobile: Hotspots bleiben auf dem Foto, EIN Panel darunter */
.step-panel { display: none; }
@media (max-width: 899px) {
  .stage { display: flex; flex-direction: column; }
  .stage-head {
    position: static;
    order: -1;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }
  .stage-head h2 { color: #f3ecdd; text-shadow: none; }
  .stage-scrim { display: none; }
  .hotspots {
    top: auto;
    bottom: 0;
    height: calc((100vw - 2 * var(--gutter)) * 16 / 25);
  }
  .hotspot-card { display: none; }
  .step-panel {
    display: block;
    margin-top: 1.1rem;
    background: var(--navy-800);
    border: 1px solid var(--gold-dim);
    border-top: 2px solid var(--gold);
    padding: 1.4rem 1.4rem 1.5rem;
    transition: opacity 0.24s var(--ease);
  }
  .step-panel.is-switching { opacity: 0; }
  .step-panel h3 {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
    color: #f3ecdd;
    font-size: 1.2rem;
    margin-bottom: 0.55rem;
  }
  .step-panel p { font-size: 0.96rem; color: var(--muted-on-dark); }
  .step-panel p + p { margin-top: 0.6em; }
}

/* ---------- Herkunft (Alps): Bild volle Deckkraft + Text auf massivem Navy ---------- */
.origin-band { background: var(--navy-950); overflow: hidden; }
/* Landschaftsfoto vollständig, volle Deckkraft, Flasche nie beschnitten */
.origin-band-figure { margin: 0; }
.origin-band-figure img { display: block; width: 100%; height: auto; object-fit: contain; }
.origin-band-text {
  text-align: center; color: var(--text-on-dark);
  padding: clamp(2.4rem, 5vw, 3.4rem) var(--gutter) clamp(3rem, 6vw, 4.5rem);
  max-width: var(--container); margin-inline: auto;
}
.origin-band-text .kicker { color: var(--gold-soft); }
.origin-band-text .statement { color: #fff; }
.origin-band-text .muted { color: var(--muted-on-dark); max-width: 34rem; margin-inline: auto; }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 2rem; border-top: 1px solid rgba(29,38,52,0.15); }
.faq-item { border-bottom: 1px solid rgba(29,38,52,0.15); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--serif); font-size: 1.18rem; color: var(--ink);
  padding: 1.2rem 2.6rem 1.2rem 0; position: relative; min-height: 44px;
}
.faq-q::after {
  content: "+"; position: absolute; right: 0.2rem; top: 50%; transform: translateY(-50%);
  font-family: var(--sans); font-weight: 300; font-size: 1.5rem; color: var(--gold);
}
.faq-item.open .faq-q::after { content: "−"; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .45s var(--ease); }
.faq-a p { color: var(--ink-soft); padding-bottom: 1.2rem; margin: 0; max-width: 46rem; }

/* ---------- Anfrage ---------- */
.anfrage-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 980px) { .anfrage-grid { grid-template-columns: 1.05fr 1fr; } }
.form-panel {
  background: var(--navy-800); border: 1px solid rgba(194,160,107,0.25);
  padding: clamp(1.2rem, 3vw, 2.2rem);
}
.form-heading { font-family: var(--serif); font-size: 1.5rem; color: #fff; margin: 0 0 0.35rem; }
.form-note { color: var(--muted-on-dark); font-size: 0.9rem; margin-bottom: 1.2rem; }
.ghl-form-container { min-height: 640px; }
.ghl-form-container iframe { width: 100%; height: 660px; border: none; border-radius: 6px; }
/* Producto con transparencia: SIEMPRE completo, nunca recortado ni deformado */
.anfrage-box { margin: 2.2rem 0 0; max-width: 26rem; }
.anfrage-box img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 24px 40px rgba(0,0,0,0.4)); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950); color: var(--muted-on-dark);
  padding: 3.5rem 0; text-align: center; font-size: 0.85rem;
}
.site-footer img { height: 1.15rem; width: auto; margin: 0 auto 1rem; }
.footer-line { font-family: var(--serif); font-style: italic; color: var(--gold-soft); font-size: 1rem; }
.footer-nav { display: flex; gap: 1.6rem; justify-content: center; margin-top: 1.2rem; flex-wrap: wrap; }
.footer-nav a { color: var(--muted-on-dark); text-decoration: none; letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.75rem; padding: 0.4rem 0; }
.footer-nav a:hover, .footer-nav a:focus-visible { color: var(--gold-soft); }
.footer-copy { margin-top: 1.4rem; font-size: 0.75rem; color: rgba(170,180,194,0.6); }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-anim { opacity: 1; transform: none; animation: none; }
  .hero-media img { animation: none; }
  .usecase, .step { transition: none; }
  html { scroll-behavior: auto; }
}
