/* ================================================================
   TORUS 2026 — Updates for Holding/SGE positioning
   Layered on top of torus.css. Loaded second so it wins on conflicts.
   ================================================================ */

:root {
  --torus-brand: #184cd2;
  --torus-text: #2b2b2c;
  --torus-text-soft: #5b5d62;
  --torus-text-muted: #949699;
  --torus-bg-soft: #eff1f5;
  --torus-bg-dark: #0a0f1a;
  --lambda-cyan: #00bfd6;
  --lambda-purple: #6b3df0;
  --lambda-magenta: #e6007e;
  --section-pad-y: 90px;
}

/* ---------- HERO title resize for longer EN title ---------- */
/* Original was 80px for 23-char lines. New EN title has lines up to 36 chars,
   so we scale down and widen the container. clamp() gives smooth responsive. */
.hero-title {
  font-size: clamp(28px, 4.6vw, 60px);
  max-width: 1180px;
}

/* ---------- HERO subtitle (under existing hero title) ---------- */
.hero-sub {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
  line-height: 150%;
  letter-spacing: -0.01em;
  margin-top: 32px;
  font-weight: 400;
}

/* ================================================================
   PORTFOLIO  (replaces old Services section)
   ================================================================ */
.portfolio {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  background-color: var(--torus-bg-soft);
}

.portfolio-intro {
  max-width: 880px;
  margin-bottom: 56px;
}

.portfolio-heading {
  color: var(--torus-text);
  font-size: 44px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 16px 0 18px;
}

.portfolio-lead {
  color: var(--torus-text-soft);
  font-size: 19px;
  line-height: 1.55;
  margin: 0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.portfolio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 40px 36px;
  border-radius: 20px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 360px;
}

.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px rgba(20, 30, 60, 0.12);
}

.portfolio-card--dat {
  background: #ffffff;
  border: 1px solid #e2e6ee;
  color: var(--torus-text);
}

.portfolio-card--lambda {
  background: var(--torus-bg-dark);
  color: #ffffff;
}

.portfolio-card-badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 0.18em;
  font-weight: 700;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(24, 76, 210, 0.10);
  color: var(--torus-brand);
  align-self: flex-start;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
}

.portfolio-card-badge--light {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

.portfolio-card-title {
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
  margin: 0 0 14px;
  position: relative;
  z-index: 2;
}

.portfolio-card-title--light { color: #ffffff; }

.portfolio-card-desc {
  font-size: 16px;
  line-height: 1.55;
  margin: 0 0 22px;
  position: relative;
  z-index: 2;
}

.portfolio-card-desc--light { color: rgba(255, 255, 255, 0.82); }

.portfolio-card-tags {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.portfolio-card-tags li {
  font-size: 12px;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(43, 43, 44, 0.06);
  color: var(--torus-text-soft);
}

.portfolio-card-tags--light li {
  background: rgba(255, 255, 255, 0.10);
  color: rgba(255, 255, 255, 0.85);
}

.portfolio-card-meta {
  margin-top: auto;
  font-size: 13px;
  color: var(--torus-text-muted);
  letter-spacing: 0.02em;
  position: relative;
  z-index: 2;
}

.portfolio-card-cta {
  margin-top: auto;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
}

/* Aurora background in Lambda card */
.portfolio-card-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.aurora-blob--cyan {
  width: 320px; height: 320px;
  background: var(--lambda-cyan);
  top: -80px; right: -80px;
}

.aurora-blob--purple {
  width: 280px; height: 280px;
  background: var(--lambda-purple);
  bottom: -100px; left: -60px;
  opacity: 0.45;
}

.aurora-blob--magenta {
  width: 220px; height: 220px;
  background: var(--lambda-magenta);
  top: 40%; right: 30%;
  opacity: 0.30;
}

/* ================================================================
   TRACK RECORD timeline
   ================================================================ */
.track-record {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  background: #ffffff;
}

.track-record-heading {
  color: var(--torus-text);
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
  max-width: 820px;
}

.track-record-lead {
  color: var(--torus-text-soft);
  font-size: 18px;
  line-height: 1.55;
  max-width: 820px;
  margin: 0 0 48px;
}

.timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 90px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom,
    var(--torus-brand) 0%,
    rgba(24, 76, 210, 0.25) 100%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 28px;
  align-items: start;
  padding: 18px 0;
  position: relative;
}

.timeline-item::after {
  content: "";
  position: absolute;
  box-sizing: border-box;   /* Rand zählt zur Breite → Mitte exakt auf der Linie */
  left: 81px;               /* Mitte (81+20/2=91) = Linienmitte (90+2/2=91) */
  top: 21px;                /* Mitte (21+20/2=31) = Jahreszahl-Mitte */
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid var(--torus-brand);
  box-shadow: 0 0 0 4px rgba(24, 76, 210, 0.08);
}

.timeline-item--current::after {
  background: var(--torus-brand);
}

.timeline-year {
  font-size: 22px;
  font-weight: 700;
  color: var(--torus-brand);
  letter-spacing: 0.02em;
}

.timeline-content h4 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--torus-text);
  letter-spacing: -0.01em;
}

.timeline-content p {
  margin: 0;
  color: var(--torus-text-soft);
  font-size: 16px;
  line-height: 1.55;
}

/* ================================================================
   LAMBDA SHOWCASE — dark panel, aurora gradient brand bridge
   ================================================================ */
.lambda-showcase {
  position: relative;
  background: linear-gradient(180deg, #050810 0%, #0a1224 100%);
  padding: 110px 0 110px;
  color: #ffffff;
  overflow: hidden;
}

.lambda-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.lambda-aurora .aurora-blob--cyan {
  width: 560px; height: 560px;
  top: -180px; left: -120px;
  opacity: 0.35;
}

.lambda-aurora .aurora-blob--purple {
  width: 480px; height: 480px;
  bottom: -160px; right: -100px;
  opacity: 0.32;
}

.lambda-aurora .aurora-blob--magenta {
  width: 380px; height: 380px;
  top: 40%; left: 55%;
  opacity: 0.20;
}

.lambda-container {
  position: relative;
  z-index: 1;
}

.lambda-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
}

.lambda-logo-row {
  margin-bottom: 24px;
}

.lambda-logo {
  height: 56px;
  width: auto;
  display: block;
}

.lambda-headline {
  font-size: 46px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
  max-width: 880px;
  color: #ffffff;
}

.lambda-lead {
  font-size: 19px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 820px;
  margin: 0 0 56px;
}

.lambda-lead strong { color: #ffffff; }

.lambda-steps {
  list-style: none;
  padding: 0;
  margin: 0 0 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.lambda-step {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 24px 22px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lambda-step-num {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--lambda-cyan);
  margin-bottom: 12px;
}

.lambda-step h4 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.lambda-step p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.lambda-section-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 22px;
}

.lambda-partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 44px;
  padding: 22px 26px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 56px;
}

.lambda-partners img {
  height: 28px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.lambda-partners img:hover { opacity: 1; }

.lambda-cases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 56px;
}

.lambda-case {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 16px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lambda-case img {
  height: 44px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  align-self: flex-start;
  background: #ffffff;
  border-radius: 10px;
  padding: 8px 14px;
  box-sizing: content-box;
}

.lambda-case p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.78);
}

.lambda-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.lambda-cta-primary,
.lambda-cta-secondary {
  display: inline-flex;
  align-items: center;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.lambda-cta-primary {
  background: #ffffff;
  color: #0a1224;
}

.lambda-cta-primary:hover {
  transform: translateY(-2px);
}

.lambda-cta-secondary {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.30);
}

.lambda-cta-secondary:hover {
  border-color: #ffffff;
}

/* ================================================================
   TEAM section
   ================================================================ */
.team {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  background: #ffffff;
}

.team-heading {
  color: var(--torus-text);
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 16px 0 18px;
  max-width: 820px;
}

.team-lead {
  color: var(--torus-text-soft);
  font-size: 18px;
  line-height: 1.55;
  max-width: 820px;
  margin: 0 0 48px;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.team-card {
  background: var(--torus-bg-soft);
  border-radius: 18px;
  padding: 28px;
}

.team-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 22px;
  background: #d4d8e0;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-role {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--torus-brand);
  margin-bottom: 8px;
}

.team-name {
  font-size: 26px;
  font-weight: 700;
  color: var(--torus-text);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.team-bio {
  font-size: 15px;
  line-height: 1.6;
  color: var(--torus-text-soft);
  margin: 0;
}

.team-board {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 32px;
  border-radius: 18px;
  border: 1px solid #e2e6ee;
  align-items: start;
}

.team-board-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--torus-brand);
}

.team-board-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--torus-text);
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.team-board-bio {
  font-size: 15px;
  line-height: 1.6;
  color: var(--torus-text-soft);
  margin: 0;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 991px) {
  :root { --section-pad-y: 72px; }
  .portfolio-heading,
  .track-record-heading,
  .team-heading { font-size: 34px; }
  .lambda-headline { font-size: 36px; }
  .lambda-steps { grid-template-columns: 1fr 1fr; }
  .timeline::before { left: 60px; }
  .timeline-item { grid-template-columns: 80px 1fr; gap: 20px; }
  .timeline-item::after { left: 51px; }   /* Mitte 51+20/2=61 = Linienmitte 60+1 */
}

@media (max-width: 767px) {
  :root { --section-pad-y: 56px; }
  .hero-sub { font-size: 17px; margin-top: 24px; }
  .portfolio-grid,
  .lambda-cases,
  .team-grid { grid-template-columns: 1fr; }
  .lambda-steps { grid-template-columns: 1fr; }
  .portfolio-heading,
  .track-record-heading,
  .team-heading { font-size: 28px; }
  .lambda-headline { font-size: 28px; }
  .lambda-lead, .portfolio-lead, .track-record-lead, .team-lead { font-size: 16px; }
  .team-board { grid-template-columns: 1fr; gap: 16px; padding: 24px; }
  .team-card { padding: 22px; }
  .lambda-partners { gap: 22px 28px; padding: 18px 20px; }
  .lambda-partners img { height: 22px; }
  .lambda-cta-primary,
  .lambda-cta-secondary { width: 100%; justify-content: center; }
}

@media (max-width: 479px) {
  .lambda-headline { font-size: 26px; }
  .portfolio-card { padding: 28px 22px; min-height: 0; }
  .lambda-logo { height: 44px; }
  /* Timeline-Layout kommt aus dem 767px-Block (Linie links, gestapelt) */
  .timeline-item::after { width: 12px; height: 12px; left: 1px; }
}

/* ================================================================
   V2 — Former/Now restructure (Hero sub-eyebrow, DAT section, Lambda flow)
   ================================================================ */

/* Hero: eyebrow — beide Zeilen in EINER Pill, gleiche Schriftgrösse (ruhiger) */
.hero-eyebrow {
  margin-bottom: 30px;
  max-width: min(760px, 100%);
}
.hero-eyebrow-line {
  display: block;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  font-weight: 600;
}
.hero-eyebrow-sub {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.82);
  font-weight: 500;
}

/* Section rhythm: track record on soft grey so white/grey/white alternates */
.track-record {
  background: var(--torus-bg-soft);
}

/* ---------------- DAT — factsheet section ---------------- */
.dat {
  padding-top: var(--section-pad-y);
  padding-bottom: var(--section-pad-y);
  background: #ffffff;
}

.dat-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
  margin-top: 16px;
}

.dat-heading {
  color: var(--torus-text);
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

.dat-lead {
  color: var(--torus-text-soft);
  font-size: 17px;
  line-height: 1.6;
  margin: 0 0 34px;
}

.dat-table {
  margin: 0;
}

.dat-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid #e6e9f0;
}

.dat-row:first-child {
  border-top: 1px solid #e6e9f0;
}

.dat-row dt {
  font-size: 15px;
  color: var(--torus-text-soft);
}

.dat-row dd {
  margin: 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--torus-text);
  font-variant-numeric: tabular-nums;
}

.dat-chart-card {
  background: var(--torus-bg-dark);
  border-radius: 20px;
  padding: 28px 28px 22px;
}

.dat-chart-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-bottom: 18px;
}

.dat-chart-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dat-chart-sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12.5px;
}

.dat-chart svg {
  display: block;
  width: 100%;
  height: auto;
}

.dat-chart-caption {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  font-weight: 600;
}

.dat-footnote {
  margin: 36px 0 0;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--torus-text-muted);
  max-width: 920px;
}

/* ---------------- Lambda: compact flow strip ---------------- */
.lambda-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin: 0 0 56px;
}

.lambda-flow-step {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  padding: 11px 22px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
}

.lambda-flow-arr {
  color: var(--lambda-cyan);
  font-size: 18px;
  font-weight: 700;
}

/* ---------------- Responsive for V2 ---------------- */
@media (max-width: 991px) {
  .dat-grid { grid-template-columns: 1fr; gap: 36px; }
  .dat-heading { font-size: 34px; }
}

@media (max-width: 767px) {
  .dat-heading { font-size: 28px; }
  .dat-lead { font-size: 16px; }
  .dat-chart-card { padding: 20px 18px 16px; }
  .lambda-flow-step { padding: 9px 16px; font-size: 14px; }
  .hero-eyebrow { display: block; max-width: 100%; }
  .hero-eyebrow-line { font-size: 13px; white-space: normal; }

  /* Timeline mobil: Linie + Punkte ganz links, Jahr + Text rechts gestapelt */
  .timeline::before { left: 7px; top: 4px; bottom: 4px; }
  .timeline-item {
    display: block;
    padding-left: 36px;
    padding-top: 4px;
    padding-bottom: 22px;
  }
  .timeline-item::after {
    left: 2px;          /* Punkt 12px breit → Mitte bei 8px = Linienmitte (7+2/2) */
    top: 6px;
    width: 12px;
    height: 12px;
  }
  .timeline-year {
    font-size: 16px;
    margin-bottom: 6px;
  }
  .timeline-content h4 { font-size: 17px; }
}

/* ---- V2.1: light chart panel + proof statement ---- */
.dat-chart-panel {
  align-self: end;
  width: 100%;
}

.dat-chart-panel svg {
  display: block;
  width: 100%;
  height: auto;
}

/* stat tiles: "1.9bn" is wider than old numbers — scale slightly */
.stat-number {
  font-size: 72px;
}

.stat-proof {
  flex-basis: 100%;
  border-left: 3px solid var(--torus-brand);
  padding: 4px 0 4px 20px;
  font-size: 16px;
  line-height: 1.55;
  color: var(--torus-text-soft);
  font-weight: 500;
}

@media (max-width: 991px) {
  .stat-number { font-size: 54px; }
}

@media (max-width: 479px) {
  .stat-number { font-size: 44px; }
  .stat-proof { font-size: 15px; }
}

/* ---- V2.2: equal Former/Now columns + tidy stat tiles ---- */
.welcome-col {
  flex: 1 1 0;
  min-width: 0;
}

.stat {
  white-space: normal;
  flex: 0 0 46%;
}

.stat-label {
  white-space: normal;
  font-size: 15px;
  line-height: 1.4;
  padding-right: 12px;
}

.flex-block-4 {
  grid-row-gap: 38px;
  align-content: start;
  justify-content: space-between;
}

/* ---- V2.3: team cards in lambda.dev style (round photos, centered) ---- */
.team-card {
  background: transparent;
  border-radius: 0;
  padding: 0 24px;
  text-align: center;
}

.team-photo {
  width: min(300px, 75%);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin: 0 auto 28px;
}

.team-name {
  font-size: 28px;
  margin: 0 0 10px;
}

.team-role {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--torus-brand);
  margin-bottom: 6px;
}

.team-cred {
  font-size: 16px;
  color: var(--torus-text-soft);
  margin-bottom: 16px;
}

.team-bio {
  max-width: 400px;
  margin: 0 auto;
}

@media (max-width: 767px) {
  .team-photo { width: min(240px, 80%); }
  .team-name { font-size: 24px; }
}

/* ---- V2.4: Silbentrennung statt Blocksatz für schmale Textspalten ---- */
.text-block-3,
.text-block-4,
.team-bio,
.dat-lead,
.lambda-lead {
  hyphens: auto;
  -webkit-hyphens: auto;
}

/* Silbentrennung: kurze Wörter (wur-de) nicht brechen */
.text-block-3,
.text-block-4,
.team-bio,
.dat-lead,
.lambda-lead {
  hyphenate-limit-chars: 10 5 4;
  -webkit-hyphenate-limit-before: 5;
  -webkit-hyphenate-limit-after: 4;
}

/* Footer: SGE-Links einzeilig halten */
.footer-link {
  white-space: nowrap;
}

/* ---- Hero-Partikel-Layer ---- */
.hero-content {
  position: relative;
}

.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-content > .w-layout-blockcontainer {
  position: relative;
  z-index: 2;
}

/* ---- DAT: zwei Textboxen (Methode | Marktumfeld) unter der Überschrift ---- */
.dat-textgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 6px 0 44px;
}

.dat-box-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--torus-brand);
  margin: 0 0 12px;
}

.dat-box p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--torus-text-soft);
  hyphens: auto;
  -webkit-hyphens: auto;
}

@media (max-width: 767px) {
  .dat-textgrid { grid-template-columns: 1fr; gap: 28px; margin-bottom: 32px; }
}

/* ================================================================
   LEGAL PAGES (Impressum / Datenschutz)
   ================================================================ */
.legal-header {
  background-color: #00040d;
  padding: 22px 0;
}
.legal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.legal-back {
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.legal-back:hover { border-bottom-color: #fff; }

.legal-main {
  padding: 80px 0 90px;
  background: #ffffff;
}
.legal-eyebrow {
  color: var(--torus-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.legal-title {
  color: var(--torus-text);
  font-size: 40px;
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}
.legal-updated {
  color: var(--torus-text-muted);
  font-size: 14px;
  margin: 0 0 48px;
}
.legal-body {
  max-width: 760px;
}
.legal-body h2 {
  color: var(--torus-text);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 40px 0 12px;
}
.legal-body h3 {
  color: var(--torus-text);
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 8px;
}
.legal-body p,
.legal-body li {
  color: var(--torus-text-soft);
  font-size: 16px;
  line-height: 1.65;
}
.legal-body p { margin: 0 0 14px; }
.legal-body ul { margin: 0 0 14px; padding-left: 22px; }
.legal-body li { margin-bottom: 6px; }
.legal-body a { color: var(--torus-brand); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-body strong { color: var(--torus-text); }
.legal-placeholder {
  background: #fff6d6;
  border: 1px solid #e8d27a;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 0.92em;
  color: #7a5b00;
}

@media (max-width: 767px) {
  .legal-main { padding: 56px 0 64px; }
  .legal-title { font-size: 30px; }
}

/* Footer: kompakte Rechtliches-Links unter dem Copyright */
.footer-legal {
  display: flex;
  gap: 20px;
  margin-top: 14px;
}
