/* =============================================================
   VIVITAS shared.css — Design-System v1.0
   Heritage Ink & Gold · Editorial · Medizinisch-seriös
   ============================================================= */

/* ── Skip-to-content ─────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--color-ink, #0B1F3A);
  color: #fff;
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  text-decoration: none;
  z-index: 9999;
  border: 2px solid var(--color-gold, #C9A84C);
}

/* ── Google Fonts ─────────────────────────────────────────── */


/* ── Design Tokens ────────────────────────────────────────── */
:root {
  /* Farben */
  --ink:          #0B1F3A;
  --ink-deep:     #060e1d;
  --paper:        #F5F0E8;
  --paper-warm:   #FBF7F0;
  --paper-2:      #FFFDF8;
  --gold:         #C9A84C;
  --gold-light:   #E2C47A;
  --gold-pale:    rgba(201, 168, 76, 0.12);
  --gold-dim:     rgba(201, 168, 76, 0.18);
  --white:        #FFFFFF;
  --muted:        rgba(11, 31, 58, 0.46);
  --border:       rgba(11, 31, 58, 0.08);
  --border-gold:  rgba(201, 168, 76, 0.18);
  --border-inv:   rgba(245, 240, 232, 0.12);

  /* Typografie */
  --D: 'Cormorant Garamond', Georgia, serif;
  --B: 'Syne', system-ui, sans-serif;

  /* Layout */
  --max-w: 1400px;
  --px:    clamp(1.25rem, 4vw, 3rem);
  --ease:  cubic-bezier(.4, 0, .2, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--B);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--paper-2);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  overflow-x: hidden;
}

img, video, svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

/* ── Grain Overlay ────────────────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

/* ── Typografie-Scale ─────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--D);
  font-weight: 300;
  line-height: 1.15;
  color: inherit;
}

h1 {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  letter-spacing: -.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -.015em;
}

h3 {
  font-size: clamp(1.45rem, 2.8vw, 2.2rem);
  letter-spacing: -.01em;
}

h4 {
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  letter-spacing: -.005em;
}

p {
  font-family: var(--B);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
}

p.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.75;
}

/* ── Layout-Utilities ─────────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--px);
}

.section-pad {
  padding-block: 6rem;
}

.section-pad-lg {
  padding-block: 8rem;
}

/* ── Labels / Eyebrows ────────────────────────────────────── */
.kicker {
  display: inline-block;
  font-family: var(--B);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}

.kicker-with-line {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: var(--B);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
}

.kicker-with-line::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav-vivitas {
  position: sticky;
  top: 0;
  z-index: 900;
  height: 64px;
  background: var(--ink-deep);
  border-bottom: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
}

.nav-vivitas .wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-vivitas .nav-logo {
  font-family: var(--D);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--paper);
  white-space: nowrap;
}

.nav-vivitas .nav-logo span {
  color: var(--gold);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-family: var(--B);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, .7);
  transition: color .25s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-light);
}

.nav-lang {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.nav-lang a {
  font-family: var(--B);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, .45);
  padding: .2rem .45rem;
  border: 1px solid transparent;
  border-radius: 2px;
  transition: all .2s var(--ease);
}

.nav-lang a:hover,
.nav-lang a[aria-current="true"] {
  color: var(--gold);
  border-color: var(--border-gold);
}

.nav-cta {
  flex-shrink: 0;
}

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .4rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--paper);
  transition: all .25s var(--ease);
}

/* ── Hero-Komponente ──────────────────────────────────────── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
  min-height: 520px;
  background: var(--ink);
  padding-block: 6rem;
  overflow: hidden;
  color: var(--paper);
}

.hero::before {
  content: '';
  position: absolute;
  right: -80px;
  top: 50%;
  translate: 0 -50%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid var(--border-gold);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  right: -120px;
  top: 50%;
  translate: 0 -50%;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  border: 1px solid rgba(201, 168, 76, .07);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content .kicker,
.hero-content .kicker-with-line {
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  color: var(--paper);
  margin-bottom: 1.5rem;
}

.hero-content p {
  color: rgba(245, 240, 232, .75);
  max-width: 52ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  z-index: 2;
}

/* ── Split-Komponente ─────────────────────────────────────── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.split-cell {
  padding: 4rem var(--px);
  border-top: 2px solid var(--gold);
}

.split-cell--dim {
  border-top-color: var(--gold-dim);
}

.split-cell--ink {
  background: var(--ink);
  color: var(--paper);
}

.split-cell--ink p {
  color: rgba(245, 240, 232, .7);
}

.split-cell--paper {
  background: var(--paper);
  color: var(--ink);
}

.split-cell + .split-cell {
  border-left: 1px solid var(--border);
}

.split-cell--ink + .split-cell--ink {
  border-left-color: var(--border-inv);
}

/* ── Services-Grid ────────────────────────────────────────── */
.svc-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border-gold);
}

.svc-item {
  background: var(--paper-2);
  padding: 2.5rem 2rem;
  position: relative;
}

.svc-item::before {
  content: attr(data-num);
  position: absolute;
  top: 1.75rem;
  right: 1.75rem;
  font-family: var(--D);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: .1em;
  color: var(--gold);
  opacity: .7;
}

.svc-item h4 {
  margin-bottom: .75rem;
}

.svc-item p {
  font-size: .9rem;
}

.svc-item--ink {
  background: var(--ink);
  color: var(--paper);
}

.svc-item--ink p {
  color: rgba(245, 240, 232, .65);
}

/* ── CTA-Band ─────────────────────────────────────────────── */
.cta-band {
  position: relative;
  background: var(--gold);
  text-align: center;
  padding-block: 5rem;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  pointer-events: none;
}

.cta-band::after {
  content: '';
  position: absolute;
  inset: 50% auto auto 50%;
  translate: -50% -50%;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .08);
  pointer-events: none;
}

.cta-band .wrap {
  position: relative;
  z-index: 2;
}

.cta-band h2 {
  color: var(--ink-deep);
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(6, 14, 29, .7);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.cta-band .cta-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Trust-Bar ────────────────────────────────────────────── */
.trust-bar {
  height: 48px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--paper-warm);
  overflow: hidden;
}

.trust-bar .wrap {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: 100%;
}

.trust-bar-item {
  font-family: var(--B);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.trust-bar-item::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.trust-bar-sep {
  flex: 1;
  height: 1px;
  background: var(--border-gold);
}

/* ── Footer ───────────────────────────────────────────────── */
.footer-vivitas {
  background: var(--ink-deep);
  color: var(--paper);
  padding-block: 5rem 3rem;
  border-top: 1px solid var(--border-gold);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand .nav-logo {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-family: var(--D);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--paper);
}

.footer-brand .nav-logo span {
  color: var(--gold);
}

.footer-brand p {
  color: rgba(245, 240, 232, .55);
  font-size: .875rem;
  max-width: 30ch;
}

.footer-col h5 {
  font-family: var(--B);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: .6rem;
}

.footer-col ul a {
  font-family: var(--B);
  font-size: .875rem;
  color: rgba(245, 240, 232, .55);
  transition: color .2s var(--ease);
}

.footer-col ul a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid var(--border-inv);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: .8rem;
  color: rgba(245, 240, 232, .3);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  font-size: .8rem;
  color: rgba(245, 240, 232, .3);
  transition: color .2s var(--ease);
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn-primary,
.btn-ghost-light,
.btn-solid-ink,
.btn-outline-ink,
.btn-cta-dark,
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-family: var(--B);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all .25s var(--ease);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}

/* Gold filled — primary CTA */
.btn-primary {
  background: var(--gold);
  color: var(--ink-deep);
  border: 1px solid var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
}

/* Ghost on dark backgrounds */
.btn-ghost-light {
  background: transparent;
  color: var(--paper);
  border: 1px solid var(--border-gold);
}

.btn-ghost-light:hover {
  background: var(--gold-pale);
  border-color: var(--gold);
  color: var(--gold-light);
}

/* Solid ink */
.btn-solid-ink {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}

.btn-solid-ink:hover {
  background: var(--ink-deep);
  border-color: var(--ink-deep);
}

/* Outline ink — on light backgrounds */
.btn-outline-ink {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.btn-outline-ink:hover {
  background: var(--ink);
  color: var(--paper);
}

/* CTA on gold band — dark filled */
.btn-cta-dark {
  background: var(--ink-deep);
  color: var(--paper);
  border: 1px solid var(--ink-deep);
}

.btn-cta-dark:hover {
  background: var(--ink);
  border-color: var(--ink);
}

/* CTA outline on gold band */
.btn-cta-outline {
  background: transparent;
  color: var(--ink-deep);
  border: 1px solid rgba(6, 14, 29, .4);
}

.btn-cta-outline:hover {
  background: rgba(6, 14, 29, .08);
  border-color: var(--ink-deep);
}

/* ── Fade-up Animations ───────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* Staggered children */
.fade-up-group > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.fade-up-group.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.fade-up-group.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: .1s; }
.fade-up-group.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: .2s; }
.fade-up-group.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: .3s; }
.fade-up-group.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: .4s; }
.fade-up-group.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: .5s; }

/* ── Cookie-Banner ────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: var(--ink-deep);
  border-top: 1px solid var(--border-gold);
  padding: 1.25rem var(--px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

#cookie-banner p {
  font-size: .875rem;
  color: rgba(245, 240, 232, .7);
  margin: 0;
  flex: 1;
  min-width: 200px;
}

#cookie-banner a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: .75rem;
  align-items: center;
  flex-shrink: 0;
}

/* ── RTL Support ──────────────────────────────────────────── */
[dir="rtl"] {
  text-align: right;
}

[dir="rtl"] .wrap,
[dir="rtl"] .nav-vivitas .wrap,
[dir="rtl"] .nav-links,
[dir="rtl"] .nav-lang,
[dir="rtl"] .hero-actions,
[dir="rtl"] .cta-band .cta-actions,
[dir="rtl"] .trust-bar .wrap,
[dir="rtl"] .footer-bottom,
[dir="rtl"] .footer-bottom-links,
[dir="rtl"] .cookie-actions {
  flex-direction: row-reverse;
}

[dir="rtl"] .kicker-with-line {
  flex-direction: row-reverse;
}

[dir="rtl"] .kicker-with-line::before {
  /* Line still appears — now on right side */
}

[dir="rtl"] .split {
  direction: rtl;
}

[dir="rtl"] .svc-item::before {
  right: auto;
  left: 1.75rem;
}

[dir="rtl"] .footer-grid {
  direction: rtl;
}

[dir="rtl"] #cookie-banner {
  flex-direction: row-reverse;
}

/* ── Responsive: 1024px — Nav-Entlastung ─────────────────── */
@media (max-width: 1024px) {
  .nav-logo-tagline { display: none; }
  .nav-logo-name { font-size: .9rem; }
  .nav-links { gap: 1.25rem; }
}

/* ── Responsive: 900px — Hamburger früher ─────────────────── */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ink-deep);
    border-bottom: 1px solid var(--border-gold);
    padding: 1rem var(--px) 1.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: .85rem 0;
    width: 100%;
  }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ── Responsive: 640px ────────────────────────────────────── */
@media (max-width: 640px) {
  .btn-primary,
  .btn-outline-ink,
  .btn-ghost-light,
  .btn-solid-ink,
  .btn-cta-outline {
    white-space: normal;
    word-break: break-word;
  }
  .btn-cta-dark {
    white-space: normal;
    word-break: break-all;
    overflow-wrap: break-word;
    max-width: 100%;
  }
}

/* ── Responsive: 768px ────────────────────────────────────── */
@media (max-width: 768px) {
  .section-pad {
    padding-block: 4rem;
  }

  .section-pad-lg {
    padding-block: 5rem;
  }

  /* Nav */
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ink-deep);
    border-bottom: 1px solid var(--border-gold);
    padding: 1rem var(--px) 1.5rem;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: .85rem 0;
    width: 100%;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 4rem;
  }

  .hero-visual {
    display: none;
  }

  .hero::before,
  .hero::after {
    display: none;
  }

  /* Split */
  .split {
    grid-template-columns: 1fr;
  }

  .split-cell + .split-cell {
    border-left: none;
    border-top: 1px solid var(--border);
  }

  .split-cell--ink + .split-cell--ink {
    border-top-color: var(--border-inv);
  }

  /* Services */
  .svc-list {
    grid-template-columns: 1fr !important;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ── Responsive: 480px ────────────────────────────────────── */
@media (max-width: 480px) {
  h1 { font-size: clamp(2rem, 8vw, 2.8rem); }
  h2 { font-size: clamp(1.6rem, 7vw, 2rem); }

  .section-pad {
    padding-block: 3rem;
  }

  .section-pad-lg {
    padding-block: 3.75rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-band .cta-actions {
    flex-direction: column;
  }

  .trust-bar {
    height: auto;
    padding-block: .75rem;
  }

  .trust-bar .wrap {
    flex-wrap: wrap;
    gap: .75rem 1.5rem;
  }

  .trust-bar-sep {
    display: none;
  }

  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  #cookie-banner .cookie-actions {
    flex-direction: row;
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* === HERO VISUAL PHOTO === */
.hero-photo {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: saturate(0.85) contrast(1.05);
}
.hero-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 60%, var(--ink-deep) 100%);
  pointer-events: none;
}

/* === HERO SHIMMER ANIMATION === */
@keyframes shimmer-gold {
  0%   { opacity: 0; transform: translateX(-100%) skewX(-20deg); }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: translateX(400%) skewX(-20deg); }
}
@keyframes float-orb {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.18; }
  50%       { transform: translateY(-30px) scale(1.08); opacity: 0.28; }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.8); opacity: 0.4; }
  100% { transform: scale(1.4); opacity: 0; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  animation: float-orb 8s ease-in-out infinite;
}
.hero-bg .orb-1 {
  width: 600px; height: 600px;
  top: -200px; right: -150px;
  opacity: 0.15;
  animation-delay: 0s;
}
.hero-bg .orb-2 {
  width: 300px; height: 300px;
  bottom: -100px; left: 20%;
  opacity: 0.10;
  animation-delay: -4s;
}
.hero-bg .shimmer-line {
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.15), transparent);
  animation: shimmer-gold 6s ease-in-out infinite;
  animation-delay: 2s;
}
.hero-bg .shimmer-line-2 {
  animation-delay: 5s;
  width: 40px;
}
.hero-bg .ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.2);
  animation: pulse-ring 4s ease-out infinite;
}
.hero-bg .ring-1 {
  width: 400px; height: 400px;
  top: -100px; right: 5%;
  animation-delay: 0s;
}
.hero-bg .ring-2 {
  width: 200px; height: 200px;
  top: 0; right: 15%;
  animation-delay: -2s;
}

/* === TEAM PHOTO CARD === */
.founder-photo {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  filter: saturate(0.9) contrast(1.05);
  border-radius: 2px;
  display: block;
}
.founder-card-with-photo {
  overflow: hidden;
}
.founder-card-with-photo .founder-photo-wrap {
  margin: -2rem -2rem 1.5rem;
  overflow: hidden;
  height: 280px;
}

/* === FADE-UP FIX: bereits sichtbar wenn JS nicht läuft === */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1 !important; transform: none !important; }
}

/* === WHATSAPP BUTTON === */
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .75rem 1.5rem;
  background: #25D366; color: #fff;
  border: 2px solid #25D366;
  border-radius: 2px; font-family: var(--B);
  font-size: .8rem; font-weight: 600; letter-spacing: .08em;
  text-transform: uppercase; text-decoration: none;
  cursor: pointer; transition: background .2s, border-color .2s;
}
.btn-whatsapp:hover { background: #1da851; border-color: #1da851; color: #fff; }

/* Kicker-Text nie umbrechen */
.kicker-with-line, .kicker { white-space: nowrap; }

/* === NAV LOGO — FULL BRAND === */
.nav-logo {
  display: flex !important;
  align-items: center !important;
  gap: 1rem !important;
  text-decoration: none !important;
  flex-shrink: 0;
}
.nav-logo svg { flex-shrink: 0; }
.nav-logo-text {
  display: flex;
  flex-direction: column;
  gap: .1rem;
  line-height: 1;
}
.nav-logo-name {
  font-family: var(--D);
  font-size: clamp(.95rem, 1.5vw, 1.25rem);
  font-weight: 400;
  color: var(--paper);
  letter-spacing: .02em;
  white-space: nowrap;
}
.nav-logo-tagline {
  font-family: var(--B);
  font-size: .58rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* AR Sprach-Link: arabische Schrift lesbar */
.nav-lang a[hreflang="ar"] {
  font-family: 'Noto Naskh Arabic', 'Noto Sans Arabic', Arial, sans-serif;
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  line-height: 1;
}

/* ── Mobile Nav: Logo + Lang + Hamburger passen ins Display ── */

/* Ab 900px: Hamburger-Modus — kompaktere Abstände */
@media (max-width: 900px) {
  .nav-vivitas .wrap {
    gap: 0.75rem;
  }
  .nav-logo {
    gap: 0.6rem !important;
    min-width: 0;
    flex-shrink: 1 !important;
  }
  .nav-logo svg {
    width: 34px !important;
    height: 34px !important;
  }
  .nav-logo-name {
    font-size: 0.85rem;
  }
}

/* Ab 640px: Tagline weg (ergänzt 1024px-Regel), Name kleiner */
@media (max-width: 640px) {
  .nav-vivitas .wrap {
    gap: 0.5rem;
  }
  .nav-logo svg {
    width: 30px !important;
    height: 30px !important;
  }
  .nav-logo-name {
    font-size: 0.78rem;
  }
  /* Lang-Switcher kompakter */
  .nav-lang {
    gap: 0.3rem;
  }
  .nav-lang a {
    font-size: 9px;
    padding: .15rem .35rem;
  }
  .nav-lang a[hreflang="ar"] {
    font-size: 13px;
  }
}

/* Ab 480px: nur "VIVITAS" sichtbar */
@media (max-width: 480px) {
  .nav-vivitas .wrap {
    gap: 0.4rem;
  }
  .nav-logo {
    gap: 0.4rem !important;
    min-width: 0;
    flex-shrink: 1 !important;
  }
  .nav-logo-text {
    min-width: 0;
    overflow: hidden;
  }
  .nav-logo svg {
    width: 28px !important;
    height: 28px !important;
    flex-shrink: 0;
  }
  .nav-logo-name {
    font-size: 0;
    white-space: nowrap;
  }
  .nav-logo-name::before {
    content: 'VIVITAS';
    font-size: 0.85rem;
  }
  .nav-logo-tagline {
    display: none;
  }
  /* Sprach-Switcher noch kompakter */
  .nav-lang {
    gap: 0.2rem;
    flex-shrink: 0;
  }
  .nav-lang a {
    font-size: 8.5px;
    padding: .12rem .28rem;
    border: none;
  }
  .nav-lang a[aria-current="true"],
  .nav-lang a:hover {
    border: 1px solid var(--border-gold);
  }
  .nav-lang a[hreflang="ar"] {
    font-size: 12px;
  }
  /* Hamburger bleibt kompakt */
  .nav-toggle {
    padding: .3rem;
    flex-shrink: 0;
  }
}

/* ── Testimonials ─────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.testi-card {
  background: var(--paper-warm);
  border: 1px solid var(--border-gold);
  padding: 2rem 1.75rem;
  position: relative;
}
.testi-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem;
  left: 1.75rem;
  font-family: var(--D);
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
  opacity: .4;
}
[dir="rtl"] .testi-card::before {
  left: auto;
  right: 1.75rem;
  content: '\201D';
}
.testi-card blockquote {
  font-family: var(--D);
  font-size: 1.05rem;
  font-style: italic;
  color: var(--ink);
  line-height: 1.6;
  margin-top: 1.25rem;
}
.testi-card cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--B);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-style: normal;
}
@media (max-width: 768px) {
  .testimonials-grid { grid-template-columns: 1fr; }
}
