/* =====================================================================
   RIXOS CARPETS – STYLESHEET
   Aufbau:
   1. Design-Tokens (Farben, Schriften, Abstände)
   2. Basis
   3. Buttons & Links
   4. Header & Mobilmenü
   5. Sektionen (Hero → Footer)
   6. Modal
   7. Animationen
   ===================================================================== */

/* ---------- 1. Design-Tokens ---------- */
:root {
  /* Farben */
  --navy-950: #070708;
  --navy-900: #0C0C0D;   /* Hauptfarbe */
  --navy-800: #161618;
  --navy-700: #242427;
  --ivory:    #FAF8F4;
  --cream:    #F3EEE6;
  --beige:    #DCCFBC;
  --sand:     #A8977D;
  --gold:     #C9A548;   /* nur für Akzente */
  --ink:      #141B26;
  --muted:    #5E6672;
  --line-dark:  rgba(20, 27, 38, .14);
  --line-light: rgba(250, 248, 244, .16);

  /* Schriften */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body:    "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Abstände & Layout */
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(88px, 13vw, 180px);
  --max: 1440px;
  --header-h: 92px;

  /* Bewegung */
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- 2. Basis ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

/* Lenis (weiches Scrollen, js/parallax.js) */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto !important; }   /* sonst arbeiten natives und Lenis-Scrollen gegeneinander */
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
em { font-style: italic; }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--cream { background: var(--cream); }
.section--navy  { background: var(--navy-900); color: var(--ivory); }

/* Typografie */
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--sand);
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.eyebrow--gold { color: var(--gold); }

.display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 1;
  letter-spacing: -.02em;
}
.display--sm { font-size: clamp(40px, 5.4vw, 80px); }
.display em { color: var(--sand); font-weight: 300; }
.section--navy .display em,
.story .display em,
.contact .display em { color: var(--beige); }

.lead {
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.8;
  color: var(--muted);
  max-width: 34em;
}

.section-head { margin-bottom: clamp(48px, 7vw, 96px); }
.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 64px;
}
.section-head__aside { max-width: 28em; color: var(--muted); }

/* ---------- 3. Buttons & Links ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 34px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 0;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
}
/* Füll-Effekt beim Hover */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .6s var(--ease-out);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:active { opacity: .85; }

.btn--light { background: var(--ivory); color: var(--navy-900); }
.btn--light::before { background: var(--gold); }

.btn--outline-light { border-color: rgba(250, 248, 244, .45); color: var(--ivory); }
.btn--outline-light::before { background: var(--ivory); }
.btn--outline-light:hover { color: var(--navy-900); border-color: var(--ivory); }

.btn--gold { background: var(--gold); color: var(--navy-900); }
.btn--gold::before { background: var(--ivory); }

.btn--dark { background: var(--navy-900); color: var(--ivory); }
.btn--dark::before { background: var(--gold); }
.btn--dark:hover { color: var(--navy-900); }

.btn--lg { min-height: 66px; padding: 0 52px; font-size: 13px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  padding-block: 8px;
}
.link-arrow::after {
  content: "";
  width: 48px;
  height: 1px;
  background: currentColor;
  transform-origin: left;
  transition: transform .5s var(--ease-out);
}
.link-arrow:hover::after { transform: scaleX(1.6); }

/* ---------- 4. Header ---------- */
/* Immer weiß und immer gleich hoch: beim Scrollen, im Menü und im Kontaktbereich */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 1px 0 rgba(20, 27, 38, .09);
}
.header__inner {
  position: relative;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Originallogo (Datei unverändert), nur mit einem sehr leichten Prägeeindruck */
.logo-plate { position: relative; display: block; flex: 0 0 auto; line-height: 0; }
.logo-plate img { display: block; width: auto; }
.logo-plate::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 1px 2px rgba(90, 70, 30, .2), inset 0 -1px 1px rgba(255, 255, 255, .55);
}
.header__logo img { height: 80px; }

.header__nav { margin-left: auto; }
/* PC-Kopfzeile: kein eigener Punkt „Kontakt“ – dafür gibt es den Knopf „Kontakt herstellen“ (Mobilmenü behält ihn) */
.header__nav li:has(> a[href$="#kontakt"]) { display: none; }
.header__nav ul { display: flex; gap: clamp(20px, 2.6vw, 44px); }
.header__nav a {
  position: relative;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  padding-block: 6px;
  opacity: .85;
  transition: opacity .3s var(--ease);
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease-out);
}
.header__nav a:hover, .header__nav a.is-active { opacity: 1; }
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }

.header .header__cta { min-height: 46px; padding: 0 24px; font-size: 11px; border-color: rgba(20, 27, 38, .55); color: var(--ink); }
.header .header__cta::before { background: var(--ink); }

/* Sprachmenü (js/i18n.js): wirkt wie ein weiterer Menüpunkt, rechts neben „Kontakt herstellen“ */
.lang { position: relative; flex: 0 0 auto; margin-left: 12px; margin-right: clamp(-44px, -2.8vw, -16px); }   /* klarer Abstand zu „Kontakt herstellen“, rückt in den rechten Rand */
.lang__btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 2px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .2em;
  text-transform: uppercase;
  opacity: .85;
  transition: opacity .3s var(--ease);
}
.lang__btn:hover, .lang.is-open .lang__btn { opacity: 1; }
.lang__btn svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.lang.is-open .lang__btn svg { transform: rotate(180deg); }
.lang__menu {
  position: absolute;
  right: -16px;
  top: calc(100% + 16px);
  z-index: 70;
  min-width: 170px;
  padding: 8px 0;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 16px 36px rgba(20, 27, 38, .14), 0 0 0 1px rgba(20, 27, 38, .06);
}
.lang__menu[hidden] { display: none; }
.lang__menu button {
  display: block;
  width: 100%;
  padding: 10px 22px;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  text-align: left;
  font: 400 14px/1.4 var(--font-body);
  letter-spacing: .03em;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lang__menu button:hover { background: rgba(201, 165, 72, .1); }
.lang__menu button[aria-current] { color: #A67C2E; font-weight: 500; }
/* Telefon/Tablet: in der Kopfzeile direkt links neben dem Menü-Symbol, mit kleinem Abstand */
@media (max-width: 1099px) {
  .lang { margin: 0 0 0 auto; }
  .lang__btn { padding: 10px 4px; font-size: 13px; }
  .lang__menu { right: -54px; top: calc(100% + 14px); }
  .header .burger { margin-left: -30px; margin-right: -8px; }   /* hebt den Abstand der Kopfzeile (40px) fast auf */
}
.header .header__cta:hover { color: var(--ivory); border-color: var(--ink); }

/* Burger */
.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-left: auto;
  z-index: 60;
}
.burger span {
  position: absolute;
  left: 10px; right: 10px;
  height: 1px;
  background: var(--ink);
  transition: transform .5s var(--ease-out), top .5s var(--ease-out);
}
.burger span:first-child { top: 17px; }
.burger span:last-child  { top: 26px; left: 18px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child  { top: 21px; left: 10px; transform: rotate(-45deg); }

/* Mobilmenü */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: var(--navy-900);
  color: var(--ivory);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
  padding: calc(var(--header-h) + 24px) var(--gutter) 15vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity .5s var(--ease), visibility 0s linear .5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transition: opacity .5s var(--ease); }
.mobile-menu li {
  border-bottom: 1px solid var(--line-light);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  transition-delay: calc(var(--i) * 60ms + 100ms);
}
.mobile-menu.is-open li { opacity: 1; transform: none; }
.mobile-menu li:first-child { border-top: 1px solid var(--line-light); }
.mobile-menu a:not(.btn) {
  display: block;
  padding: 17px 0;
  font-family: var(--font-display);
  font-size: clamp(27px, 7.4vw, 38px);
  font-weight: 400;
  line-height: 1.15;
}
.mobile-menu__foot {
  margin-top: 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.mobile-menu.is-open .mobile-menu__foot { opacity: 1; transform: none; transition-delay: .34s; }
.mobile-menu__foot .btn { width: 100%; min-height: 58px; }

/* ---------- 5a. Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--ivory);
  background: var(--navy-900);
  overflow: hidden;
}
/* Parallax-Ebenen (js/parallax.js) */
.hero__bg, .hero__media, .hero__overlay { position: absolute; inset: 0; }
.hero__bg, .hero__fg { will-change: transform; }
.hero__fg {
  position: relative;
  z-index: 1;
  width: 100%;
  align-self: stretch;
  display: flex;
  align-items: flex-end;
}
.hero__fade {          /* Übergang in den hellen Intro-Bereich, wächst beim Scrollen */
  position: absolute;
  left: 0; right: 0;
  bottom: -1px;        /* keine Haarlinie zwischen Hero und Intro */
  height: 70%;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transform-origin: 50% 100%;
  background: linear-gradient(180deg,
    rgba(250, 248, 244, 0)    0%,
    rgba(250, 248, 244, .06) 20%,
    rgba(250, 248, 244, .22) 40%,
    rgba(250, 248, 244, .5)  60%,
    rgba(250, 248, 244, .8)  80%,
    var(--ivory)             100%);
}
.hero__media {
  overflow: hidden;
  transform: scale(1.12);
  opacity: 0;
  transition: transform 2.8s var(--ease-out), opacity 1.6s var(--ease);
}
.is-loaded .hero__media { transform: scale(1.02); opacity: 1; }

.hero__overlay {
  background:
    linear-gradient(to top, rgba(7, 7, 8, .88) 0%, rgba(7, 7, 8, .35) 45%, rgba(7, 7, 8, .25) 100%),
    rgba(12, 12, 13, .2);
}
.hero__content {
  position: relative;
  padding-top: calc(var(--header-h) + 60px);
  padding-bottom: clamp(96px, 14vh, 150px);
}
.hero__eyebrow { color: var(--gold); }
.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(50px, 9.4vw, 152px);
  line-height: .98;
  letter-spacing: -.025em;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .line > span { display: inline-block; }
.hero__title em { color: var(--beige); }
.hero__sub {
  font-size: clamp(16px, 1.3vw, 19px);
  line-height: 1.75;
  color: rgba(250, 248, 244, .78);
  margin-bottom: clamp(36px, 5vw, 52px);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- 5b. Intro ---------- */
.intro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(56px, 8vw, 120px);
  align-items: center;
}
.intro__text .display { margin-bottom: clamp(28px, 4vw, 44px); }
.intro__text .lead { margin-bottom: 40px; }
/* ---------- 5c. Vorteile ---------- */
.benefits__list {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line-dark);
}
.benefit {
  position: relative;
  padding: 36px 0 40px;
  border-bottom: 1px solid var(--line-dark);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 8px 20px;
}
.benefit__num {
  font-family: var(--font-display);
  font-size: 18px;
  font-style: italic;
  color: var(--sand);
  line-height: 1.6;
}
.benefit__title {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.benefit__text { color: var(--muted); max-width: 22em; }
.benefit::after { /* goldene Linie beim Hover */
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .8s var(--ease-out);
}
.benefit:hover::after { transform: scaleX(1); }

/* ---------- 5f. Über RIXOS ---------- */
.story {
  display: grid;
  grid-template-columns: 1fr;
  background: var(--ivory);        /* Milchweiß */
  color: var(--ink);
}
.story .story__claim em { color: var(--sand); }
.story__media { overflow: hidden; aspect-ratio: 4 / 3; }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__panel {
  padding: var(--section) var(--gutter);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* „Über uns“ – große goldene Überschrift, darunter der Claim */
.story__heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(52px, 6.4vw, 92px);
  line-height: 1;
  letter-spacing: -.01em;
  color: #A67C2E;                  /* Gold, auf Milchweiß gut lesbar */
  margin-bottom: clamp(18px, 2.4vw, 28px);
}
.story__panel .story__claim { margin-bottom: clamp(40px, 5vw, 64px); }

/* Fließtext mit Zwischenüberschriften; Schlüsselwörter in Gold */
.story__text { max-width: 36em; }
.story__text h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.15;
  color: var(--ink);
  margin: clamp(36px, 4vw, 52px) 0 16px;
}
.story__text h3:first-child { margin-top: 0; }
.story__text p {
  font-family: var(--font-display);
  font-size: clamp(19px, 1.45vw, 21px);
  font-weight: 400;
  line-height: 1.6;
  color: #3A3F47;
  margin-bottom: 1.1em;
}
.story__text strong { font-weight: 600; color: #A67C2E; }

/* „Wollen wir uns kennenlernen?“ + goldener Knopf */
.story__cta { margin-top: clamp(40px, 5vw, 64px); text-align: center; max-width: 36em; }
.story__cta-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 1.2;
  color: #A67C2E;
  margin-bottom: 18px;
}
.story__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 38px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  color: var(--ivory);
  background: #A67C2E;
  border: 1px solid #A67C2E;
  border-radius: 2px;
  transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease);
}
.story__cta-btn:hover { background: var(--navy-900); border-color: var(--navy-900); color: var(--ivory); }
.story__cta-btn:active { opacity: .85; }

/* ---------- 5h. International ---------- */
.world {
  --fade: clamp(180px, 24vw, 360px);   /* Höhe des Übergangs Creme → Navy */
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--section) + var(--fade));
  background:
    linear-gradient(180deg,
      var(--ivory)    0,               /* nahtlos aus „Über uns“ (Milchweiß) */
      #E7E4DE         calc(var(--fade) * .14),
      #C8C6C1         calc(var(--fade) * .30),
      #9A9894         calc(var(--fade) * .46),
      #5C5B58         calc(var(--fade) * .62),
      #2B2B2A         calc(var(--fade) * .78),
      var(--navy-800) calc(var(--fade) * .90),
      var(--navy-900) var(--fade)),
    var(--navy-900);
}
.world__head { text-align: center; margin-bottom: clamp(40px, 6vw, 72px); }
.world__head .eyebrow { justify-content: center; }
.world__head .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.world__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(46px, 8.4vw, 128px);
  line-height: .95;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.world__map { position: relative; max-width: 1200px; margin: 0 auto clamp(48px, 6vw, 80px); }
.world__map svg { width: 100%; height: auto; display: block; overflow: visible; }
.world__map .grid-dot  { fill: rgba(250, 248, 244, .2); }
.world__map .pt-label {
  fill: rgba(250, 248, 244, .75);
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.world__map .arc {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  opacity: .75;
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  transition: stroke-dashoffset 2.2s var(--ease-out);
  transition-delay: var(--delay);
}
.world__map.is-visible .arc { stroke-dashoffset: 0; }
.world__map .pt { fill: var(--ivory); opacity: 0; transition: opacity .8s var(--ease); transition-delay: calc(var(--delay) + 1.2s); }
.world__map.is-visible .pt { opacity: 1; }
.world__map .origin { fill: var(--gold); }
.world__map .origin-ring {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
}
/* Ring als eigene Ebene über der Karte: die Puls-Animation läuft ohne Neuzeichnen der Karte */
.world__map .origin-pulse {
  position: absolute;
  height: auto;
  aspect-ratio: 1;
  overflow: visible;
  pointer-events: none;
  transform-origin: 50% 50%;
  animation: pulse 3s var(--ease) infinite;
}
.world__map .origin-label {
  fill: var(--gold);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
}
@keyframes pulse {
  0%   { transform: scale(.6); opacity: .9; }
  100% { transform: scale(3); opacity: 0; }
}

.world__markets {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-light);
}
.world__markets li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 300;
  transition: color .4s var(--ease);
}
.world__markets li span { font-family: var(--font-body); font-size: 11px; letter-spacing: .2em; color: var(--gold); }
.world__markets li:hover { color: var(--beige); }

/* ---------- 5i. Kontakt / CTA ---------- */
.contact {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: var(--ivory);
  background: var(--navy-900);
  overflow: hidden;
  text-align: center;
}
.contact__media, .contact__overlay { position: absolute; inset: 0; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; }
.contact__overlay { background: rgba(7, 7, 8, .72); }
.contact__content { position: relative; padding-block: var(--section); }
.contact__content .eyebrow { justify-content: center; }
.contact__content .eyebrow::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.contact__content .display { margin-bottom: 32px; }
.contact__content .lead { color: rgba(250, 248, 244, .75); margin: 0 auto 52px; }

/* ---------- 5j. Footer ---------- */
.footer {
  background: var(--navy-950);
  color: rgba(250, 248, 244, .7);
  padding-top: clamp(72px, 9vw, 120px);
  font-size: 15px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding-bottom: clamp(56px, 7vw, 96px);
}

.footer__title {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer__list li + li { margin-top: 10px; }
.footer__list a { transition: color .3s var(--ease); }
.footer__list a:hover { color: var(--ivory); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 28px;
  border-top: 1px solid var(--line-light);
  font-size: 12px;
  letter-spacing: .06em;
  color: rgba(250, 248, 244, .45);
}
.footer__bottom a:hover { color: var(--ivory); }

/* ---------- 5j-2. Menüpunkt „Alexis“ (rosa, abgesetzt) ---------- */
.header__nav li.nav-special {
  margin-left: clamp(8px, 1.6vw, 24px);
  padding-left: clamp(20px, 2.4vw, 40px);
  border-left: 1px solid rgba(20, 27, 38, .2);
}
.header__nav .nav-special a { color: #C81E63; opacity: 1; }
.header__nav .nav-special a::after { background: #C81E63; }
.header__nav .nav-special a:hover { color: #A0144D; }
.mobile-menu .nav-special a:not(.btn) { color: #F27BA7; font-style: italic; }

/* ---------- 5j-3. Seite „Alexis“ (alexis.html) ---------- */
.page-alexis {
  --a-bg:    #FBE6E9;   /* zartes Rosé – Hintergrund */
  --a-ink:   #2B0B2A;   /* Pflaume – Text */
  --a-muted: #6E3D66;
  --a-pink:  #D6246E;   /* kräftiges Pink – Akzente, Knopf */
  background: var(--a-bg);
}
/* Kopfzeile nur auf der Alexis-Seite: dunkles Violett, helle Schrift */
.page-alexis:not(.panel-open) .header { background: var(--a-ink); color: var(--ivory); box-shadow: none; }
.page-alexis:not(.panel-open) .header__nav li.nav-special { border-left-color: rgba(250, 248, 244, .22); }
.page-alexis:not(.panel-open) .header__nav .nav-special a { color: #F27BA7; }
.page-alexis:not(.panel-open) .header__nav .nav-special a::after { background: #F27BA7; }
.page-alexis:not(.panel-open) .header__nav .nav-special a:hover { color: #FFA3C4; }
.page-alexis:not(.panel-open) .header .header__cta { border-color: rgba(250, 248, 244, .45); color: var(--ivory); }
.page-alexis:not(.panel-open) .header .header__cta::before { background: var(--ivory); }
.page-alexis:not(.panel-open) .header .header__cta:hover { color: var(--a-ink); border-color: var(--ivory); }
.page-alexis:not(.panel-open) .burger span { background: var(--ivory); }
/* Footer nur auf der Alexis-Seite: Pflaume */
.page-alexis:not(.panel-open) .footer { background: var(--a-ink); color: rgba(255, 255, 255, .78); }
.page-alexis:not(.panel-open) .footer__title { color: #F27BA7; }
.page-alexis:not(.panel-open) .footer__list a:hover,
.page-alexis:not(.panel-open) .footer__bottom a:hover { color: #F27BA7; }
.page-alexis:not(.panel-open) .footer__bottom { color: rgba(255, 255, 255, .55); border-top-color: rgba(242, 123, 167, .25); }
.alexis {
  font-family: "Plus Jakarta Sans", var(--font-body);
  color: var(--a-ink);
  background:
    radial-gradient(60% 30% at 100% 0%, rgba(214, 36, 110, .08), transparent 70%),
    radial-gradient(50% 30% at 0% 60%, rgba(255, 255, 255, .55), transparent 70%),
    var(--a-bg);
  padding: calc(var(--header-h) + clamp(40px, 6vw, 84px)) var(--gutter) clamp(72px, 9vw, 120px);
}
.alexis__inner { max-width: 760px; margin-inline: auto; }
.alexis__title {
  font-weight: 800;
  font-size: clamp(50px, 9.4vw, 104px);
  line-height: .98;
  letter-spacing: -.035em;
  margin-bottom: 18px;
}
.alexis__title em { font-style: normal; color: var(--a-pink); }
.alexis__meta {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--a-muted);
  margin-bottom: clamp(32px, 4vw, 44px);
}
.alexis__meta span { margin-inline: 10px; }
.alexis p.alexis__p {
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.15em;
}
.alexis b { font-weight: 800; color: var(--a-pink); }

/* „Weiterlesen“ – klappt den Rest des Textes auf (funktioniert auch ohne JavaScript) */
.alexis__more summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin: 6px 0 4px;
  padding: 16px 52px;
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 800;
  color: #fff;
  background: var(--a-pink);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 14px 30px -14px rgba(214, 36, 110, .7);
  transition: background-color .3s var(--ease), transform .3s var(--ease-out);
}
.alexis__more summary::-webkit-details-marker { display: none; }
.alexis__more summary:hover { background: #B81A5C; }
.alexis__more summary:active { transform: scale(.97); }
.alexis__more summary:focus-visible { outline: 2px solid var(--a-ink); outline-offset: 4px; }
.alexis__more summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease-out); }
.alexis__more[open] summary svg { transform: rotate(180deg); }
.alexis__more .label-less { display: none; }
.alexis__more[open] .label-more { display: none; }
.alexis__more[open] .label-less { display: inline; }
.alexis__rest { padding-top: 1.15em; }
.alexis__rule { height: 1px; background: rgba(43, 11, 42, .18); margin-top: clamp(28px, 4vw, 40px); }
.alexis__back { display: inline-flex; margin-top: 28px; color: var(--a-ink); }
.alexis__back:hover { color: var(--a-pink); }

/* ---------- 5l. Kontakt-Bereich (js/contact.js) – liegt unter der normalen Kopfzeile ---------- */
.cpanel { position: fixed; inset: var(--header-h) 0 0 0; z-index: 40; visibility: hidden; transition: visibility 0s linear .5s; }
.cpanel.is-open { visibility: visible; transition: none; }
body.panel-open { overflow: hidden; }
.cpanel__sheet {
  position: absolute; inset: 0;
  overflow-y: auto; overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  color: var(--ink);
  background: var(--ivory);
  opacity: 0;
  transform: translateY(20px);
  transition: transform .6s var(--ease-out), opacity .4s var(--ease);
}
.cpanel__sheet:focus { outline: none; }
.cpanel.is-open .cpanel__sheet { transform: none; opacity: 1; }

.cpanel__grid {
  max-width: 1040px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr);
  gap: 48px;
  padding: clamp(40px, 6vw, 80px) var(--gutter) clamp(56px, 7vw, 96px);
}
.cpanel__page-title {
  grid-column: 1 / -1;
  margin-bottom: -8px;
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(38px, 4.4vw, 60px); line-height: 1.08;
}
.cpanel__title {
  color: #B8A356;   /* Goldton aus dem Logo */
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(26px, 2.3vw, 31px); line-height: 1.15;
  margin-bottom: 12px;
}
.cpanel__block + .cpanel__block {
  margin-top: 32px; padding-top: 32px;
  border-top: 1px solid var(--line-dark);
}
.cpanel__mail {
  display: flex; flex-wrap: wrap; column-gap: .35em;   /* passt die Adresse nicht daneben, rückt sie geschlossen in die nächste Zeile */
  font-size: 16px; color: #3F444C;
}
.cpanel__mail a {
  min-width: 0;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(63, 68, 76, .3);
  text-underline-offset: 3px;
  transition: color .3s var(--ease), text-decoration-color .3s var(--ease);
}
.cpanel__mail a:hover { color: #A67C2E; text-decoration-color: currentColor; }
.cpanel__phone { margin-top: 4px; }
.cpanel__copied { margin-top: 6px; font-size: 13px; line-height: 1.45; color: #8A6A28; }

.cpanel__person { display: flex; align-items: flex-start; gap: 18px; margin-top: 16px; }
.cpanel__photo { flex: 0 0 auto; width: 124px; height: 155px; object-fit: cover; object-position: 50% 20%; background: #fff; box-shadow: 0 0 0 1px rgba(20, 27, 38, .08); }
.cpanel__name { font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.2; margin-bottom: 4px; }
.cpanel__whatsapp {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 8px;
  font-size: 16px; color: #3F444C;
  transition: color .3s var(--ease);
}
.cpanel__whatsapp svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cpanel__whatsapp:hover { color: #A67C2E; }

/* Formular */
.cpanel__lead { font-size: 16px; line-height: 1.6; color: var(--muted); margin-bottom: 26px; }
.cpanel__form { position: relative; display: grid; gap: 18px; }
.cpanel__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }   /* Fehlertext verschiebt das Nachbarfeld nicht */
.cpanel__field { display: grid; gap: 7px; }
.cpanel__field span { font-size: 14px; font-weight: 400; color: var(--ink); }
.cpanel__field span i { font-style: normal; color: #A67C2E; }
.cpanel__error { min-height: 0; font-size: 13px; font-weight: 500; color: #C0392B; }
.cpanel__error:empty { display: none; }
.cpanel__field.is-invalid span { color: #C0392B; }
.cpanel__field.is-invalid input,
.cpanel__field.is-invalid textarea { border-color: #D64545; background: #FFF4F3; }
.cpanel__note.is-error { color: #C0392B; font-weight: 500; }
.cpanel__field input, .cpanel__field textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 14px; border-radius: 3px;
  border: 1px solid rgba(20, 27, 38, .16);
  background: #fff;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.cpanel__field textarea { min-height: 120px; resize: vertical; }
.cpanel__field input::placeholder, .cpanel__field textarea::placeholder { color: #9AA0AA; }
.cpanel__field input:hover, .cpanel__field textarea:hover { border-color: rgba(20, 27, 38, .32); }
.cpanel__field input:focus, .cpanel__field textarea:focus {
  outline: none; border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 165, 72, .16);
}
.cpanel__submit {
  justify-self: start;
  min-height: 50px; padding: 0 34px; border-radius: 3px;
  font-size: 15px; font-weight: 400; color: var(--ivory);
  background: var(--navy-900);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.cpanel__submit:hover { background: var(--gold); color: var(--navy-900); }
.cpanel__submit:active { opacity: .85; }
.cpanel__submit:disabled { cursor: progress; opacity: .7; }
.cpanel__note { min-height: 1.4em; font-size: 14px; color: var(--muted); }
.cpanel__note:empty { display: none; }
.cpanel__note a { color: #A67C2E; text-decoration: underline; }
.cpanel__honey { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* Erfolg nach dem Absenden */
.cpanel__success {
  position: relative;
  text-align: center;
  padding: clamp(32px, 5vw, 56px) clamp(16px, 3vw, 32px) clamp(28px, 4vw, 44px);
  border-radius: 20px;
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(201, 165, 72, .16), transparent 70%),
    #fff;
  box-shadow: 0 0 0 1px rgba(201, 165, 72, .25), 0 30px 60px -36px rgba(12, 12, 13, .35);
}
.cpanel__success[hidden], .cpanel__form[hidden] { display: none; }
.cpanel__check { width: 84px; height: 84px; margin: 0 auto 22px; overflow: visible; }
.cpanel__check circle { fill: rgba(201, 165, 72, .1); stroke: var(--gold); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; }
.cpanel__check path { fill: none; stroke: #A67C2E; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.cpanel__success.is-shown .cpanel__check { animation: cpPop .6s var(--ease-out) both; }
.cpanel__success.is-shown .cpanel__check circle { animation: cpDraw .8s var(--ease-out) .05s forwards; }
.cpanel__success.is-shown .cpanel__check path { animation: cpDraw .5s var(--ease-out) .6s forwards; }
@keyframes cpDraw { to { stroke-dashoffset: 0; } }
@keyframes cpPop { from { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.06); opacity: 1; } to { transform: none; } }

.cpanel__success-eyebrow {
  font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase;
  color: #A67C2E; margin-bottom: 12px;
  opacity: 0;
}
.cpanel__success-title {
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(38px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -.01em;
  margin-bottom: 16px;
  color: #A67C2E;
}
.cpanel__success-title .w { display: inline-block; white-space: nowrap; }
/* Jeder Buchstabe steigt weich und unscharf→scharf auf, danach ein goldener Glanz */
.cpanel__success-title .ch {
  display: inline-block;
  opacity: 0; transform: translateY(.45em) rotate(4deg); filter: blur(6px);
}
.cpanel__success.is-shown .cpanel__success-title .ch {
  animation: cpLetter .7s var(--ease-out) forwards, cpGlow 1.2s var(--ease) forwards;
  animation-delay: calc(.75s + var(--i) * 32ms), calc(1.9s + var(--i) * 25ms);
}
@keyframes cpLetter { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes cpGlow {
  0%, 100% { color: #A67C2E; text-shadow: none; }
  45% { color: #E2C98F; text-shadow: 0 0 18px rgba(226, 201, 143, .8); }
}

.cpanel__success-text { color: var(--muted); font-size: 16px; margin-bottom: 26px; opacity: 0; }
.cpanel__success-rule { position: relative; display: block; width: 120px; height: 1px; margin: 0 auto 24px; background: rgba(201, 165, 72, .5); transform: scaleX(0); }
.cpanel__success-rule i { position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; background: var(--gold); transform: translate(-50%, -50%) rotate(45deg); }
.cpanel__again {
  font-size: 12px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--ink); padding: 12px 22px; border-radius: 999px;
  border: 1px solid rgba(20, 27, 38, .15);
  opacity: 0;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.cpanel__again:hover { background: var(--navy-900); border-color: var(--navy-900); color: var(--ivory); }
.cpanel__success.is-shown .cpanel__success-eyebrow { animation: cpFade .6s var(--ease-out) .5s forwards; }
.cpanel__success.is-shown .cpanel__success-text   { animation: cpFade .7s var(--ease-out) 1.75s forwards; }
.cpanel__success.is-shown .cpanel__success-rule   { animation: cpRule .9s var(--ease-out) 1.9s forwards; }
.cpanel__success.is-shown .cpanel__again          { animation: cpFade .6s var(--ease-out) 2.2s forwards; }
@keyframes cpFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cpRule { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  .cpanel__success * { opacity: 1 !important; transform: none !important; filter: none !important; stroke-dashoffset: 0 !important; }
}

/* PC: Kontaktdaten links, Anfrage rechts */
@media (min-width: 900px) {
  .cpanel__grid { max-width: 1120px; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 6vw, 90px); align-items: start; }
}
@media (max-width: 480px) {
  .cpanel__person { gap: 14px; }
  .cpanel__person .cpanel__mail { font-size: 15px; }
  .cpanel__person .cpanel__mail span { width: 100%; }   /* schmale Spalte: „E-Mail:“ steht über der Adresse */
}
@media (max-width: 340px) {
  .cpanel__pair { grid-template-columns: 1fr; }
}

/* ---------- 7. Animationen ---------- */
/* Eingangsanimation beim Laden */
.load-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s var(--ease-out), transform 1.4s var(--ease-out);
  transition-delay: var(--d, 0s);
}
.hero__title .load-in { transform: translateY(105%); }
.is-loaded .load-in { opacity: 1; transform: none; }

/* Fade-In beim Scrollen */
[data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s var(--ease-out), transform 1.2s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .load-in, [data-reveal] { opacity: 1; transform: none; }
}

/* =====================================================================
   RESPONSIVE (Mobile First → größer)
   ===================================================================== */
@media (min-width: 640px) {
  .benefits__list { grid-template-columns: repeat(2, 1fr); column-gap: 48px; }
  .world__markets { grid-template-columns: repeat(3, 1fr); column-gap: 32px; }
  .footer__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .intro__grid { grid-template-columns: 1.05fr .95fr; }
  .story { grid-template-columns: 1fr 1fr; }
  .story__media { aspect-ratio: auto; min-height: 100%; }
  .story__panel { padding-inline: clamp(48px, 7vw, 120px); }
}
@media (min-width: 1100px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; }   /* Marke, Navigation, Kontakt, Folgen, Links */
}

@media (min-width: 1200px) {
  .benefits__list { grid-template-columns: repeat(4, 1fr); column-gap: 40px; }
  .benefit { grid-template-columns: 1fr; padding: 44px 0 56px; }
  .benefit__num { margin-bottom: 28px; }
}

/* Unterhalb 1100px: Burger statt Navigation */
@media (max-width: 1099px) {
  .header__nav, .header__cta { display: none; }
  .burger { display: block; }
}

@media (max-width: 639px) {
  :root { --header-h: 78px; }
  body { font-size: 16px; }
  .header__logo img { height: 66px; }
  .hero__actions .btn { width: 100%; min-height: 58px; }
  .contact__content .btn--lg { width: 100%; padding: 0 20px; }
  .world__map .pt-label, .world__map .origin-label { font-size: 28px; letter-spacing: .12em; }

  /* --- Feinschliff Smartphone --- */
  .benefit { grid-template-columns: 34px 1fr; gap: 4px 12px; padding: 28px 0 30px; }




  /* Footer: zweispaltig statt einer langen Liste */
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__grid > div:nth-child(3) { grid-column: 1 / -1; order: 3; }  /* Kontakt: volle Breite (lange E-Mail) */
  .footer__grid > .footer__links { grid-column: 1 / -1; order: 4; padding-top: 32px; border-top: 1px solid var(--line-light); }   /* eigener, deutlich abgesetzter Block */
  .footer__bottom { flex-direction: column; }
}

/* =====================================================================
   OHNE FOTOS – bisheriges Layout, nur die Bildflächen sind ersetzt
   ===================================================================== */
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.header--solid::before { display: none; }
.link-arrow--back { flex-direction: row-reverse; }
.link-arrow--back::after { transform-origin: right; }   /* die Linie steht links vom Text und wächst vom Text weg */

/* Hero: heller Raum als Hintergrund, links läuft das Foto in den Cremeton aus (dort steht der Text) */
.hero {
  color: var(--ink);
  background: #F8EDE2;
}
.hero__photo { position: absolute; top: 0; right: 0; bottom: 0; display: block; width: 66%; }
.hero__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 50%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .18) 14%, rgba(0, 0, 0, .6) 30%, #000 48%);
  mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .18) 14%, rgba(0, 0, 0, .6) 30%, #000 48%);
}
.x-gold { fill: none; stroke: #B98F3E; stroke-width: 1; }
.hero__title { font-size: clamp(50px, 6.9vw, 112px); margin-bottom: clamp(16px, 2vw, 26px); }
.hero__content { padding-top: calc(var(--header-h) + 40px); }
.hero__sub { color: #4A505A; }
.hero__claim {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 31px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: clamp(18px, 2vw, 26px);
}
.hero__claim em { color: #A67C2E; }

/* Begrüßung: alle Wörter im selben Rasterfeld, die Breite und Höhe ändern sich nie */
.hello {
  display: grid;
  justify-items: start;
  align-items: end;
  line-height: 1.14;
  color: #A67C2E;
  font-style: italic;
  opacity: 0;
  transition: opacity 1.2s var(--ease-out) .2s;
}
.is-loaded .hello { opacity: 1; }
.hello__word {
  grid-area: 1 / 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(.14em);
  filter: blur(6px);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease-out), filter .9s var(--ease);
}
.hello__word.is-active { opacity: 1; transform: none; filter: none; transition-delay: .4s; }   /* erst wenn das alte Wort weg ist */
.hello__word.is-leaving { opacity: 0; transform: translateY(-.12em); filter: blur(6px); transition-duration: .45s; }
.hello__word[lang="zh"] { font-family: "Noto Serif SC", "Songti SC", "SimSun", serif; font-style: normal; }
.hello__word[lang="ar"] { font-family: "Noto Naskh Arabic", "Geeza Pro", "Traditional Arabic", serif; font-style: normal; font-size: .88em; }

/* Über uns: an der Stelle des Fotos steht das X */
.story__media.story__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(40px, 6vw, 64px);
  overflow: hidden;
}
.story__mark > svg {
  display: block;
  width: min(62%, 340px);
  height: auto;
  overflow: visible;
  fill: #FBF9F4;
}

/* 10. Punkt der Liste */
.world__markets li.is-world { grid-column: 1 / -1; font-style: italic; color: var(--gold); }

@media (min-width: 900px) {
  .story__mark > svg { position: sticky; top: 22vh; align-self: flex-start; margin-top: 12vh; }
}
@media (max-width: 899px) {
  .story__media.story__mark { aspect-ratio: auto; }
  .story__mark > svg { width: min(46%, 220px); }
}

/* Footer: Originallogo */
.footer__brand .logo-plate { display: inline-block; margin-bottom: 24px; }
.footer__brand .logo-plate img { height: 88px; margin: 0; }

/* Vier Punkte „Worauf sich unsere Partner verlassen“: etwas größer */
.benefit { padding: 44px 0 50px; gap: 10px 22px; grid-template-columns: 64px 1fr; }
.benefit__num { font-size: 24px; line-height: 1.3; }
.benefit__title { font-size: 15px; letter-spacing: .17em; line-height: 1.5; margin-bottom: 14px; }
.benefit__text { font-size: 18px; line-height: 1.6; color: #4A505A; }
.benefits__list { column-gap: 56px !important; }
@media (min-width: 1200px) {
  .benefit { grid-template-columns: 1fr; padding: 52px 0 60px; }
  .benefit__num { margin-bottom: 26px; }
}
@media (max-width: 639px) {
  .benefit { grid-template-columns: 42px 1fr; gap: 6px 12px; padding: 34px 0 38px; }
  .benefit__num { font-size: 22px; }
  .benefit__title { font-size: 14px; }
  .benefit__text { font-size: 17px; }
}

/* In die Fläche gedrückte Linien: dunkle Kante + helle Lichtkante, kaum sichtbar */
.press { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: hidden; }
.press use { fill: none; stroke-width: 1.2; }
.press__lo { stroke: rgba(120, 92, 42, .15); }
.press__hi { stroke: rgba(255, 255, 255, .95); transform: translateY(1.5px); }
.press .is-fine { stroke-width: .8; opacity: .75; }
.hero__bg .press { transform: translateY(16%); }   /* unterhalb des Textes */
.benefits, .story { position: relative; }
.benefits { overflow: hidden; }
.benefits > .container, .story__panel, .story__media.story__mark { position: relative; }

/* ---------- Impressum & Datenschutz: mattes Schwarz, eingedrückte Wellen, schlichte Schrift ---------- */
.page-legal { --legal-bg: #0B0B0B; background: var(--legal-bg); }

/* Kopfzeile auf diesen Seiten: schwarz wie die Seite (Kontaktbereich offen: wieder weiß) */
.page-legal:not(.panel-open) .header { background: var(--legal-bg); color: var(--ivory); box-shadow: 0 1px 0 rgba(255, 255, 255, .06); }
.page-legal:not(.panel-open) .header__logo::after { display: none; }
.page-legal:not(.panel-open) .header__nav li.nav-special { border-left-color: rgba(250, 248, 244, .22); }
.page-legal:not(.panel-open) .header__nav .nav-special a { color: #F27BA7; }
.page-legal:not(.panel-open) .header__nav .nav-special a::after { background: #F27BA7; }
.page-legal:not(.panel-open) .header .header__cta { border-color: rgba(250, 248, 244, .45); color: var(--ivory); }
.page-legal:not(.panel-open) .header .header__cta::before { background: var(--ivory); }
.page-legal:not(.panel-open) .header .header__cta:hover { color: var(--legal-bg); border-color: var(--ivory); }
.page-legal:not(.panel-open) .burger span { background: var(--ivory); }

.legal {
  position: relative;
  overflow: hidden;
  color: #E9E3D8;
  background: var(--legal-bg);
  font-family: var(--font-body);
  padding: calc(var(--header-h) + clamp(64px, 8vw, 120px)) 0 clamp(96px, 11vw, 150px);
}
.legal__waves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.legal__waves use { fill: none; }
.legal__wave-lo use { stroke: #000; stroke-width: 3; transform: translateY(2px); }
.legal__wave-lo { filter: blur(1.2px); }
.legal__wave-hi use { stroke: #222224; stroke-width: 1.3; }
.legal__waves .is-fine { stroke-width: .9; }
.legal__wave-lo .is-fine { stroke-width: 2; }

.legal__inner { position: relative; max-width: 980px; }
.legal__title {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 70px);
  line-height: 1.1;
  letter-spacing: .01em;
  color: #C9A548;
}
.legal__lead {
  margin: 14px 0 clamp(40px, 5vw, 60px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(201, 165, 72, .85);
}
.legal__grid {
  display: grid;
  gap: 40px 72px;
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, .1);
}
@media (min-width: 760px) { .legal__grid { grid-template-columns: 1fr 1fr; } }
.legal__block h2 {
  margin-bottom: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  color: #F4EEE4;
}
.legal__block p, .legal__block address {
  font-style: normal;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(233, 227, 216, .86);
}
.legal__block a {
  color: #E2C98F;
  text-decoration: underline;
  text-decoration-color: rgba(226, 201, 143, .35);
  text-underline-offset: 3px;
  transition: color .3s var(--ease), text-decoration-color .3s var(--ease);
}
.legal__block a:hover { color: #fff; text-decoration-color: currentColor; }

/* Datenschutzerklärung: langer, gut lesbarer Fließtext */
.legal__doc {
  max-width: 760px;
  padding-top: clamp(32px, 4vw, 48px);
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(233, 227, 216, .86);
}
.legal__doc[hidden] { display: none; }
.legal__doc h2 {
  margin: clamp(40px, 5vw, 56px) 0 12px;
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.4;
  color: #F4EEE4;
}
.legal__doc p, .legal__doc ul, .legal__doc address { margin-bottom: 14px; font-style: normal; }
.legal__doc ul { padding-left: 1.2em; list-style: disc; }
.legal__doc li { margin-bottom: 4px; }
.legal__doc li::marker { color: #C9A548; }
.legal__doc strong { font-weight: 500; color: #F4EEE4; }
.legal__doc a { color: #E2C98F; text-decoration: underline; text-decoration-color: rgba(226, 201, 143, .35); text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal__doc a:hover { color: #fff; }
.legal__box { padding: 18px 22px; border-left: 2px solid #C9A548; background: rgba(255, 255, 255, .035); }
.legal__note { font-size: 14px; color: rgba(201, 165, 72, .9); }
/* Noch zu bestätigende Angaben: deutlich markiert, damit sie vor der Veröffentlichung auffallen */
.legal__todo { padding: 1px 6px; color: #0B0B0B; background: #E2C98F; }
.page-legal .footer { border-top: 1px solid rgba(255, 255, 255, .07); }
.footer__list a[aria-current="page"] { color: var(--ivory); }
@media (max-width: 639px) {
  .legal__waves { width: 260%; left: -80%; }   /* Wellen bleiben auch am Telefon flach */
}
/* Einladung nur auf der Alexis-Seite */
.alexis__tiktok {
  display: inline-flex; align-items: center; gap: 12px;
  margin-top: clamp(24px, 3vw, 32px);
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 800;
  color: var(--a-pink);
}
.alexis__tiktok svg { width: 24px; height: 24px; fill: currentColor; flex: 0 0 auto; }
.alexis__social-icon { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; margin: -8px -4px; transition: color .3s var(--ease); }
.alexis__social-icon:hover { color: #B81A5C; }
.alexis__back { display: flex; width: fit-content; }
.intro { position: relative; overflow: hidden; }
.intro > .container { position: relative; }

/* =====================================================================
   TELEFON – kompakter Aufbau, das X sitzt rechts und läuft über den Rand
   ===================================================================== */
@media (max-width: 639px) {
  :root { --section: 64px; --header-h: 68px; }
  .header__logo img { height: 56px; }

  /* Linien breiter als der Bildschirm, damit die Wellen flach bleiben */
  .press { width: 260%; left: -80%; right: auto; }

  /* Das X bei „Über uns“: etwas mehr als die Hälfte sichtbar */
  .story__mark > svg {
    --x-w: calc(var(--x-h) * 298 / 554);
    position: absolute;
    left: auto;
    right: calc(var(--x-w) * -.38);
    height: var(--x-h);
    width: var(--x-w);
    margin: 0;
    transform: none;
  }

  /* Hero */
  /* Hochformat-Ausschnitt desselben Raums; oben ein heller Schleier, damit die Schrift gut lesbar ist */
  .hero { min-height: clamp(560px, 152vw, 760px); }
  .hero__fg { align-items: center; }
  .hero__photo { width: 100%; }
  .hero__photo img { object-position: 50% 50%; -webkit-mask-image: none; mask-image: none; }
  .hero__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(248, 237, 226, .93) 0%, rgba(248, 237, 226, .86) 50%, rgba(248, 237, 226, .5) 74%, rgba(248, 237, 226, .1) 100%);
  }
  .hero__content { padding-top: calc(var(--header-h) + 28px); padding-bottom: 28px; }
  .hero__title { font-size: clamp(38px, 12.4vw, 60px); margin-bottom: 34px; }   /* Begrüßung steht frei, die Beschreibung folgt als eigene Gruppe */
  .hello { font-size: 1.14em; }
  .hello__word[lang="ar"] { font-size: .84em; }
  .hero__claim { font-size: clamp(17px, 4.9vw, 22px); margin-bottom: 16px; }
  .hero__sub { margin-bottom: 26px; }

  /* Intro: Überschrift und Text gehören zusammen */
  .intro__grid { gap: 0; }

  /* Über uns: das X liegt neben der Überschrift und nimmt keine eigene Höhe ein.
     Unten läuft es aus, damit keine Kante durch den Fließtext geht. */
  .story { overflow: hidden; }
  .story__media.story__mark { position: absolute; inset: 0 0 auto 0; height: 470px; padding: 0; display: block; aspect-ratio: auto; }
  .story__mark > svg {
    --x-h: clamp(350px, 104vw, 440px); top: 26px; fill: #FBF9F4;
    -webkit-mask-image: linear-gradient(#000 52%, transparent 78%);
    mask-image: linear-gradient(#000 52%, transparent 78%);
  }
  .story__panel { padding-block: var(--section); }
  .story__panel .story__claim { margin-bottom: 32px; }

  /* Übergang zur Karte: kürzer, ohne leere Strecke */
  .world { --fade: 110px; padding-top: calc(var(--fade) + 44px); }

  /* Kontakt-Abschnitt nur so hoch wie sein Inhalt */
  .contact { min-height: 0; }
  .contact__content .lead { margin-bottom: 36px; }
}
