/* ============================================================
   3P Partners AG — Designsystem
   People. Planet. Performance.
   ============================================================ */

:root {
  --ink: #0a0a0a;
  --navy: #1e1b4f;
  --navy-deep: #14123a;
  --accent: #e9693d;
  --accent-soft: rgba(233, 105, 61, 0.12);
  --paper: #f6f5f2;
  --paper-2: #ecebe6;
  --white: #ffffff;
  --muted: #6f6d67;
  --line: rgba(10, 10, 10, 0.14);
  --line-light: rgba(255, 255, 255, 0.16);
  --font-display: "Funnel Display", "Inter", system-ui, sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(2.6rem, 6.8vw, 6.5rem);
  --fs-h1: clamp(2rem, 6.2vw, 4.25rem);
  --fs-h2: clamp(1.75rem, 3.2vw, 2.9rem);
  --fs-h3: clamp(1.15rem, 1.6vw, 1.5rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --container: 1400px;
  --gutter: clamp(20px, 4vw, 56px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-text);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

img {
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--accent);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 400;
  padding: 12px 20px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Typografie ---------- */

.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 62ch;
}

.section--dark .lead {
  color: rgba(255, 255, 255, 0.72);
}

.muted {
  color: var(--muted);
}

/* ---------- Layout ---------- */

.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.section {
  padding: clamp(72px, 10vw, 152px) 0;
  position: relative;
}

.section--dark {
  background: var(--navy);
  color: #fff;
}

.section--ink {
  background: var(--ink);
  color: #fff;
}

.section--paper-2 {
  background: var(--paper-2);
}

.section--tight {
  padding: clamp(56px, 7vw, 96px) 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 96px);
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 88px);
}

.section-head__title {
  font-size: var(--fs-h2);
  max-width: 22ch;
}

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
}

.section--dark .rule,
.section--ink .rule {
  background: var(--line-light);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 72px);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 40px);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 40px);
}

/* ---------- Buttons ---------- */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 17px 30px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.45s var(--ease), border-color 0.45s var(--ease),
    background-color 0.45s var(--ease);
}

.btn__arrow {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  transition: transform 0.45s var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(5px);
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--ink);
}

.section--dark .btn--primary:hover,
.section--ink .btn--primary:hover {
  background: #fff;
  color: var(--ink);
}

.btn--ghost {
  border-color: currentColor;
  color: inherit;
}

.btn--ghost:hover {
  background: currentColor;
}

.btn--ghost:hover .btn__label {
  color: var(--paper);
}

.section--dark .btn--ghost:hover .btn__label,
.section--ink .btn--ghost:hover .btn__label {
  color: var(--navy);
}

.btn--link {
  padding: 8px 0;
  border-radius: 0;
  border: 0;
  color: inherit;
}

.btn--link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 0.5s var(--ease);
}

.btn--link:hover::after {
  transform-origin: left;
  animation: link-swipe 0.6s var(--ease);
}

@keyframes link-swipe {
  0% {
    transform: scaleX(1);
    transform-origin: right;
  }
  49% {
    transform: scaleX(0);
    transform-origin: right;
  }
  50% {
    transform: scaleX(0);
    transform-origin: left;
  }
  100% {
    transform: scaleX(1);
    transform-origin: left;
  }
}

/* ---------- Header ---------- */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  color: #fff;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease),
    border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}

.header.is-scrolled {
  background: rgba(246, 245, 242, 0.94);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  border-color: var(--line);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: clamp(72px, 9vw, 96px);
}

.header__brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.header__brand img {
  height: 30px;
  width: auto;
}

.header__brand .logo--dark {
  display: none;
}

.header.is-scrolled .header__brand .logo--light {
  display: none;
}

.header.is-scrolled .header__brand .logo--dark {
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
}

.nav-link {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 0;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  opacity: 1;
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.8vw, 28px);
}

.header__lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.header__lang a {
  opacity: 0.55;
  transition: opacity 0.3s;
}

.header__lang a:hover {
  opacity: 1;
}

.header__lang .is-active {
  opacity: 1;
  color: var(--accent);
}

.header__login {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  transition: background-color 0.4s var(--ease), color 0.4s var(--ease);
}

.header__login:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.header__cta {
  display: inline-flex;
}

.burger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.burger span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 2px;
  background: currentColor;
  transition: transform 0.45s var(--ease), opacity 0.3s;
}

.burger span:nth-child(1) {
  top: 17px;
}

.burger span:nth-child(2) {
  bottom: 17px;
}

body.menu-open .burger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.menu-open .burger span:nth-child(2) {
  transform: translateY(-6px) rotate(-45deg);
}

@media (max-width: 1100px) {
  .header__nav,
  .header__login {
    display: none;
  }
  .burger {
    display: block;
  }
  .header__cta {
    display: none;
  }
}

/* ---------- Mobile Menü ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(clamp(72px, 9vw, 96px) + 32px) var(--gutter) 40px;
  background: var(--navy-deep);
  color: #fff;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s var(--ease), visibility 0s 0.5s;
  overflow-y: auto;
}

body.menu-open .menu {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.5s var(--ease);
}

body.menu-open {
  overflow: hidden;
}

.menu__list {
  display: grid;
  gap: clamp(6px, 1.6vh, 16px);
}

.menu__list a {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7vw, 3rem);
  font-weight: 450;
  line-height: 1.05;
  display: inline-flex;
  align-items: baseline;
  gap: 16px;
  transform: translateY(24px);
  opacity: 0;
  transition: transform 0.7s var(--ease), opacity 0.7s var(--ease);
}

body.menu-open .menu__list a {
  transform: translateY(0);
  opacity: 1;
}

.menu__list a span {
  font-family: var(--font-text);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
}

.menu__list a[aria-current="page"] {
  color: var(--accent);
}

.menu__foot {
  margin-top: clamp(32px, 6vh, 64px);
  padding-top: 28px;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.6s var(--ease) 0.25s;
}

body.menu-open .menu__foot {
  opacity: 1;
}

.menu__foot a:hover {
  color: var(--accent);
}

.menu__contact {
  display: grid;
  gap: 4px;
  text-transform: none;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: clamp(140px, 18vh, 220px) 0 clamp(48px, 7vh, 80px);
  color: #fff;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero--page {
  min-height: 78svh;
  align-items: flex-end;
}

.hero--compact {
  min-height: 62svh;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__media--video::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.5) 0%,
    rgba(20, 18, 58, 0.62) 55%,
    rgba(20, 18, 58, 0.86) 100%
  );
}

.hero__media--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.38) 0%,
    rgba(20, 18, 58, 0.7) 100%
  );
}

.hero__inner {
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 22px;
}

.hero__eyebrow::before {
  background: var(--accent);
}

.hero__title {
  font-size: var(--fs-h1);
  max-width: 18ch;
}

.hero__lead {
  margin-top: 26px;
  max-width: 54ch;
  font-size: clamp(1.02rem, 1.3vw, 1.22rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.hero__meta {
  margin-top: clamp(36px, 6vh, 64px);
  padding-top: 32px;
  border-top: 1px solid var(--line-light);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: clamp(24px, 3vw, 48px);
  align-items: end;
}

.hero__list {
  display: grid;
  gap: 10px;
}

.hero__list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero__list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex: 0 0 auto;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(48px, 7vh, 80px);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  writing-mode: vertical-rl;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 64px;
  background: linear-gradient(180deg, var(--accent), transparent);
  animation: scroll-cue 2.4s var(--ease) infinite;
}

@keyframes scroll-cue {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  45% {
    transform: scaleY(1);
    transform-origin: top;
  }
  55% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@media (max-width: 900px) {
  .hero__meta {
    grid-template-columns: 1fr;
  }
  .hero__scroll {
    display: none;
  }
}

/* ---------- Kennzahlen ---------- */

.stats {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    -45deg,
    #0a0a0a 0%,
    #1e1b4f 35%,
    #0a0a0a 70%,
    rgba(30, 27, 79, 0.35) 100%
  );
  background-size: 400% 400%;
  animation: gradient-drift 26s ease infinite;
  opacity: 0.55;
}

@keyframes gradient-drift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.stats__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.counter__value {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 12vw, 10rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: -0.03em;
  color: #fff;
}

.counter__value sup {
  font-size: 0.4em;
  color: var(--accent);
  vertical-align: super;
}

.counter__label {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.62);
}

.stats__figure {
  margin-top: clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}

.stats__figure img {
  width: 100%;
  height: clamp(280px, 46vw, 560px);
  object-fit: cover;
}

@media (max-width: 900px) {
  .stats__inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- Editorial Blöcke ---------- */

.statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.6rem);
  font-weight: 450;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.prose {
  max-width: 72ch;
  display: grid;
  gap: 22px;
  color: var(--muted);
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.section--dark .prose {
  color: rgba(255, 255, 255, 0.72);
}

/* ---------- Nummerierte Schritte ---------- */

.steps {
  display: grid;
  border-top: 1px solid var(--line);
}

.section--dark .steps,
.section--ink .steps {
  border-color: var(--line-light);
}

.step {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(22px, 3vw, 36px) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
  transition: background-color 0.4s var(--ease), padding-left 0.5s var(--ease);
}

.section--dark .step,
.section--ink .step {
  border-color: var(--line-light);
}

.step:hover {
  background: var(--accent-soft);
  padding-left: 16px;
}

.step__num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--accent);
  letter-spacing: 0.1em;
}

.step__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.2;
}

.step__text {
  color: var(--muted);
  font-size: var(--fs-small);
}

.section--dark .step__text,
.section--ink .step__text {
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 768px) {
  .step {
    grid-template-columns: 48px minmax(0, 1fr);
  }
  .step__text {
    grid-column: 2;
  }
}

/* ---------- Feature-Karten ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.feature {
  padding: clamp(24px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 14px;
  align-content: start;
  min-height: 220px;
  transition: background-color 0.45s var(--ease);
}

.feature:hover {
  background: var(--white);
}

.feature__index {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.feature__title {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.15;
}

.feature__text {
  color: var(--muted);
  font-size: var(--fs-small);
}

@media (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- Listen mit Punkten ---------- */

.bullets {
  display: grid;
  gap: 0;
}

.bullets li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
}

.section--dark .bullets li,
.section--ink .bullets li {
  border-color: var(--line-light);
}

.bullets li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex: 0 0 auto;
  transform: translateY(-3px);
}

/* ---------- Projektkarte ---------- */

.map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}

.map {
  position: relative;
  background: var(--navy-deep);
}

.map img {
  width: 100%;
  display: block;
  opacity: 0.92;
}

.hotspot {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.hotspot::before,
.hotspot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.hotspot::before {
  background: var(--accent);
  transform: scale(0.42);
  transition: transform 0.4s var(--ease);
}

.hotspot::after {
  border: 1px solid rgba(233, 105, 61, 0.75);
  animation: pulse 2.6s var(--ease) infinite;
}

.hotspot:hover::before,
.hotspot.is-active::before {
  transform: scale(0.72);
}

@keyframes pulse {
  0% {
    transform: scale(0.5);
    opacity: 0.9;
  }
  100% {
    transform: scale(1.6);
    opacity: 0;
  }
}

.hotspot__tip {
  position: absolute;
  z-index: 3;
  width: min(300px, 74vw);
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 18px 20px;
  display: grid;
  gap: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease),
    visibility 0s 0.4s;
  pointer-events: none;
}

.hotspot__tip.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.hotspot__tip--right {
  left: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(10px);
}

.hotspot__tip--right.is-visible {
  transform: translateY(-50%) translateX(0);
}

.hotspot__tip--left {
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(-10px);
}

.hotspot__tip--left.is-visible {
  transform: translateY(-50%) translateX(0);
}

.hotspot__tip--bottom {
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
}

.hotspot__tip--bottom.is-visible {
  transform: translateX(-50%) translateY(0);
}

.hotspot__name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 550;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.hotspot__meta {
  font-size: 13px;
  color: var(--muted);
}

.hotspot__meta b {
  color: var(--ink);
  font-weight: 600;
}

.map-legend {
  display: grid;
  border-top: 1px solid var(--line);
}

.map-legend__item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  text-align: left;
  background: transparent;
  border-left: 0;
  border-right: 0;
  border-top: 0;
  transition: padding-left 0.4s var(--ease);
}

.map-legend__item:hover,
.map-legend__item.is-active {
  padding-left: 10px;
}

.map-legend__dot {
  width: 10px;
  height: 10px;
  border: 1px solid var(--accent);
  margin-top: 8px;
  position: relative;
}

.map-legend__item.is-active .map-legend__dot,
.map-legend__item:hover .map-legend__dot {
  background: var(--accent);
}

.map-legend__name {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}

.map-legend__meta {
  font-size: 13px;
  color: var(--muted);
}

@media (max-width: 1024px) {
  .map-layout {
    grid-template-columns: 1fr;
  }
  .hotspot__tip {
    display: none;
  }
}

/* ---------- Fokus / Index-Liste ---------- */

.index-list {
  border-top: 1px solid var(--line);
}

.section--dark .index-list {
  border-color: var(--line-light);
}

.index-list li {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: clamp(16px, 3vw, 48px);
  padding: clamp(20px, 2.6vw, 32px) 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.section--dark .index-list li {
  border-color: var(--line-light);
}

.index-list__num {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 0.95rem;
}

.index-list__title {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  font-weight: 500;
  line-height: 1.2;
}

/* ---------- Investoren-Zugang ---------- */

.access {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.access__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}

.access__figure {
  position: relative;
  overflow: hidden;
}

.access__figure img {
  width: 100%;
  height: clamp(320px, 44vw, 560px);
  object-fit: cover;
}

.access__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0;
}

.access__tag {
  padding: 9px 16px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 1024px) {
  .access__inner {
    grid-template-columns: 1fr;
  }
}

/* ---------- News-Karten ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px) clamp(20px, 2.4vw, 36px);
}

.card {
  display: grid;
  gap: 18px;
  align-content: start;
}

.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--paper-2);
}

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.card:hover .card__media img {
  transform: scale(1.06);
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 18, 58, 0.32));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.card:hover .card__media::after {
  opacity: 1;
}

.card__date {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.card__title {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.2;
}

.card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}

.card {
  position: relative;
}

.card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.card__more svg {
  width: 14px;
  height: 14px;
  transition: transform 0.45s var(--ease);
}

.card:hover .card__more svg {
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- Hinweis / Disclaimer ---------- */

.notice {
  border-top: 1px solid var(--line);
  padding-top: clamp(24px, 3vw, 40px);
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 72px);
}

.notice__body {
  display: grid;
  gap: 16px;
  color: var(--muted);
  font-size: var(--fs-small);
}

@media (max-width: 768px) {
  .notice {
    grid-template-columns: 1fr;
  }
}

/* ---------- Kontakt ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 5vw, 96px);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 26px;
}

.contact-info__item {
  display: grid;
  gap: 4px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.contact-info__label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.contact-info__value {
  font-size: 1.05rem;
}

.contact-info__value a:hover {
  color: var(--accent);
}

.form {
  display: grid;
  gap: 24px;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.field {
  position: relative;
  display: grid;
  gap: 8px;
}

.field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 0 14px;
  border-radius: 0;
  transition: border-color 0.35s;
}

.field textarea {
  min-height: 130px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: #c0392b;
}

.form__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: var(--muted);
}

.form__check input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}

.form__check a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form__check a:hover {
  color: var(--accent);
}

.form__status {
  display: none;
  padding: 16px 20px;
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  font-size: var(--fs-small);
}

.form__status.is-visible {
  display: block;
}

@media (max-width: 768px) {
  .contact-layout,
  .form__row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Artikel ---------- */

.article-hero {
  position: relative;
  min-height: 62svh;
  display: flex;
  align-items: flex-end;
  padding: clamp(140px, 18vh, 220px) 0 clamp(36px, 6vh, 64px);
  color: #fff;
  overflow: hidden;
  background: var(--navy-deep);
}

.article-hero__media {
  position: absolute;
  inset: 0;
}

.article-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.42) 0%,
    rgba(20, 18, 58, 0.78) 100%
  );
}

.article-hero__inner {
  position: relative;
  z-index: 1;
}

.article-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 20px;
}

.article-hero__meta .tag {
  padding: 6px 12px;
  border: 1px solid var(--line-light);
  border-radius: 999px;
}

.article-hero h1 {
  font-size: clamp(1.9rem, 4vw, 3.4rem);
  max-width: 26ch;
}

.article-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.article-body__aside {
  position: sticky;
  top: 120px;
  display: grid;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}

.article-body__aside .eyebrow {
  font-size: 10px;
}

.prose-article {
  max-width: 74ch;
  display: grid;
  gap: 22px;
}

.prose-article p {
  color: #3f3e3a;
  line-height: 1.75;
}

.prose-article h2 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  margin-top: clamp(18px, 3vw, 36px);
}

.prose-article h3 {
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  margin-top: 12px;
}

.prose-article ul {
  display: grid;
  gap: 12px;
  padding-left: 0;
}

.prose-article ul li {
  display: flex;
  gap: 14px;
  color: #3f3e3a;
  line-height: 1.7;
}

.prose-article ul li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  flex: 0 0 auto;
  margin-top: 12px;
}

.prose-article ol {
  counter-reset: item;
  display: grid;
  gap: 14px;
}

.prose-article ol li {
  counter-increment: item;
  display: flex;
  gap: 14px;
  color: #3f3e3a;
}

.prose-article ol li::before {
  content: counter(item, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--accent);
  padding-top: 3px;
}

.prose-article a {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(233, 105, 61, 0.5);
  word-break: break-word;
}

.prose-article a:hover {
  color: var(--accent);
}

.sources {
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(22px, 3vw, 32px);
  background: var(--white);
  border-top: 3px solid var(--accent);
  display: grid;
  gap: 12px;
}

.sources h2 {
  font-size: 1.05rem !important;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sources ul {
  gap: 8px;
}

.sources li {
  font-size: 13px;
  color: var(--muted) !important;
}

.sources li::before {
  display: none;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  z-index: 200;
  background: transparent;
  pointer-events: none;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.1s linear;
}

@media (max-width: 1024px) {
  .article-body {
    grid-template-columns: 1fr;
  }
  .article-body__aside {
    position: static;
    order: -1;
  }
}

/* ---------- CTA-Band ---------- */

.cta-band {
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    -45deg,
    #0a0a0a 0%,
    #1e1b4f 40%,
    #0a0a0a 75%,
    rgba(30, 27, 79, 0.35) 100%
  );
  background-size: 400% 400%;
  animation: gradient-drift 26s ease infinite;
  opacity: 0.5;
}

.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: flex-end;
  justify-content: space-between;
}

.cta-band__title {
  font-size: var(--fs-h2);
  max-width: 24ch;
}

.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--ink);
  color: #fff;
  padding: clamp(64px, 9vw, 120px) 0 36px;
  position: relative;
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(4, minmax(0, 0.72fr));
  gap: clamp(28px, 3vw, 48px);
  padding-bottom: clamp(48px, 7vw, 88px);
  border-bottom: 1px solid var(--line-light);
}

.footer__brand img {
  height: 42px;
  width: auto;
}

.footer__tagline {
  margin-top: 22px;
  max-width: 28ch;
  color: rgba(255, 255, 255, 0.6);
  font-size: var(--fs-small);
}

.footer__col h3 {
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
}

.footer__col ul {
  display: grid;
  gap: 12px;
}

.footer__col a {
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.82);
  transition: color 0.3s, padding-left 0.4s var(--ease);
  display: inline-block;
}

.footer__col a:hover {
  color: var(--accent);
  padding-left: 6px;
}

.footer__contact {
  display: grid;
  gap: 12px;
  font-size: var(--fs-small);
  color: rgba(255, 255, 255, 0.82);
}

.footer__contact a:hover {
  color: var(--accent);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 32px;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
}

.footer__linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.footer__linkedin svg {
  width: 15px;
  height: 15px;
}

.footer__linkedin:hover {
  color: var(--accent);
}

@media (max-width: 1100px) {
  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}

/* ---------- Modal ---------- */

.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 10, 10, 0.66);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0s 0.5s;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s var(--ease);
}

.modal__panel {
  position: relative;
  width: min(620px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  background: var(--paper);
  color: var(--ink);
  padding: clamp(28px, 4vw, 52px);
  border-top: 3px solid var(--accent);
  transform: translateY(22px);
  transition: transform 0.6s var(--ease);
}

.modal.is-open .modal__panel {
  transform: translateY(0);
}

.modal__title {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  margin: 18px 0 18px;
}

.modal__body {
  display: grid;
  gap: 14px;
  color: var(--muted);
  font-size: var(--fs-small);
}

.modal__actions {
  margin-top: 28px;
}

.modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.35s, color 0.35s, border-color 0.35s;
}

.modal__close:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.modal__close svg {
  width: 15px;
  height: 15px;
}

/* ---------- Utility / Animationen ---------- */

[data-reveal] {
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(30px);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

.js [data-reveal="fade"] {
  transform: none;
}

.js [data-reveal="left"] {
  transform: translateX(-36px);
}

.js [data-reveal="right"] {
  transform: translateX(36px);
}

.parallax img {
  will-change: transform;
}

.marquee {
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
  background: var(--paper-2);
}

.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 34s linear infinite;
}

.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.5vw, 1.3rem);
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: var(--ink);
}

.marquee__track span::after {
  content: "";
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.text-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.45s var(--ease);
}

.text-link:hover svg {
  transform: translateX(5px);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list span {
  padding: 8px 14px;
  border: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 900px) {
  .section-head,
  .grid-2,
  .grid-3,
  .grid-4,
  .notice,
  .cta-band__inner {
    grid-template-columns: 1fr;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}
