/* ============================================================
   SouthwestX Incubator — Landing Page
   System: white + light grey base, BLACK for large accent
   surfaces, a single vivid accent (#B793EA) used with discipline.
   ============================================================ */

:root {
  /* ---- Neutrals ---- */
  --color-white: #FFFFFF;         /* default page bg */
  --color-grey-50: #F7F7F9;
  --color-grey-100: #F3F3F6;      /* alt section bg — "hellgrau" */
  --color-grey-150: #ECECEF;
  --color-ink: #111111;           /* body text — black */
  --color-dark: #111111;          /* alias kept for component parity */
  --color-muted: #6E6A78;         /* muted text */
  --color-border: #E6E4EC;        /* hairline borders on light */
  --color-black: #000000;
  --color-surface-dark: #0A0A0A;  /* flächige schwarze Hintergründe */

  /* ---- Single accent ---- */
  --color-accent: #B793EA;        /* THE accent — shines on black */
  --color-accent-press: #A67CE0;  /* hover / pressed */
  --color-primary: #B793EA;       /* alias for component parity */

  --color-white-70: rgba(255, 255, 255, 0.72);
  --color-white-55: rgba(255, 255, 255, 0.55);

  --root-bg-color: var(--color-white);
  --root-text-color: var(--color-ink);

  /* Spacing rhythm */
  --space-xs: 1.5rem;
  --space-sm: 3rem;
  --space-md: 5rem;
  --space-lg: 8rem;
  --space-xl: 12rem;

  /* Radii */
  --radius-control: 0.5rem;
  --radius-img: 0.625rem;
  --radius-block: 1rem;

  --content-max: 73.875rem;
}

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

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

body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--root-bg-color);
  color: var(--root-text-color);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 { letter-spacing: -0.02em; font-weight: 400; }

/* Responsive root font-size steps (mirrors southwestX) */
@media (max-width: 1920px) { html { font-size: 15.68px; } }
@media (max-width: 1440px) { html { font-size: 14.88px; } }
@media (max-width: 1020px) { html { font-size: 13.76px; } }
@media (max-width: 768px)  { html { font-size: 12.48px; } }
@media (max-width: 425px)  { html { font-size: 11.2px; } }

/* ------------------------------------------------------------ Layout helpers */
.container {
  width: min(92%, 80rem);
  margin-inline: auto;
}

.section { padding-block: var(--space-lg); }
.section--sm { padding-block: var(--space-md); }

/* Light-first section system.
   --white / --grey are the two dominant tones.
   --dark / --black are the BLACK accent surfaces (used sparingly).
   Legacy ivory aliases kept so the design grid maps 1:1. */
.section--white,
.section--ivory { background: var(--color-white); }
.section--grey,
.section--ivory-grey { background: var(--color-grey-100); }

.section--dark {
  background: var(--color-surface-dark);
  color: var(--color-white);
  /* faint accent glow on black — not a light background, an accent on black */
  background-image:
    radial-gradient(90% 90% at 88% 0%, rgba(183, 147, 234, 0.16) 0%, transparent 55%);
}
.section--black {
  background: var(--color-black);
  color: var(--color-white);
}

/* Eyebrow tagline — signature uppercase kicker.
   Black on light surfaces, accent on black surfaces. */
.eyebrow {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin-bottom: 1.25rem;
}
.section--dark .eyebrow,
.section--black .eyebrow { color: var(--color-accent); }

.section-head { max-width: 55rem; margin-bottom: 3.5rem; }
.section-head h2 {
  font-size: clamp(2.5rem, 5vw, 4.312rem);
  line-height: 1.1;
}
.section-head p {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  color: var(--color-muted);
  max-width: 45rem;
}
.section--dark .section-head p,
.section--black .section-head p { color: var(--color-white-70); }

.lead { font-size: 1.125rem; line-height: 1.7; }

/* Highlight span — black on light, accent on black */
.hl { color: var(--color-ink); }
.section--dark .hl,
.section--black .hl { color: var(--color-accent); }

/* ------------------------------------------------------------ Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  padding: 0 1.3125rem;
  height: 3.25rem;
  font-size: 1rem;
  font-weight: 700;
  border-radius: var(--radius-control);
  border: 1px solid rgba(17, 17, 17, 0.24);
  background: transparent;
  color: var(--color-ink);
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.3s cubic-bezier(.16,1,.3,1), background 0.25s, border-color 0.25s, color 0.25s, box-shadow 0.25s;
}
.btn:hover { background: rgba(17, 17, 17, 0.05); border-color: var(--color-ink); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-filled {
  background: var(--color-accent);
  color: var(--color-black);
  border-color: transparent;
}
.btn-filled:hover { background: var(--color-accent-press); border-color: transparent; box-shadow: 0 10px 26px rgba(183, 147, 234, 0.45); }

/* On black surfaces: outline button in white */
.btn-dark {
  color: var(--color-white);
  border-color: var(--color-white-55);
  background: rgba(255, 255, 255, 0.03);
}
.btn-dark:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.btn-lg { height: 4rem; padding: 0 1.75rem; font-size: 1.125rem; }

/* (rotating ring removed — clean Apple/ewor-style hover: lift + soft glow) */

.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ------------------------------------------------------------ Navbar (light) */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4rem;
  color: var(--color-ink);
  background: transparent;
  transition: background 0.3s ease-in-out, border-color 0.3s, box-shadow 0.3s;
  border-bottom: 1px solid transparent;
}
.navbar.over {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(1rem);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 1px 24px rgba(17, 17, 17, 0.06);
}
/* Brand: Inter caps wordmark, monochrome (ink on light, white on dark) */
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--color-ink);
}
.brand .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 0.45rem;
  background: var(--color-ink);      /* black tile */
  color: var(--color-accent);        /* the one colored accent */
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
}
.brand .x { color: inherit; }        /* wordmark stays monochrome */

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  position: relative;
  font-size: 1rem;
  color: var(--color-muted);
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 2px;
  background: var(--color-accent);
  opacity: 0;
  transition: opacity 0.2s;
}
.nav-links a:hover { color: var(--color-ink); }
.nav-links a:hover::after { opacity: 1; }
.nav-links .btn { color: var(--color-black); }
.nav-links .btn.btn-filled::after { display: none; }

/* Language switch */
.lang-switch {
  display: inline-flex;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  overflow: hidden;
}
.lang-switch button {
  background: transparent;
  border: 0;
  color: var(--color-muted);
  font-family: inherit;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.lang-switch button.active {
  background: var(--color-ink);
  color: #fff;
}
.lang-switch button:not(.active):hover { color: var(--color-ink); }

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.menu-btn span {
  width: 26px; height: 2px; background: var(--color-ink); display: block;
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 1020px) {
  .navbar { padding: 1rem 2rem; }
  /* On mobile, a backdrop-filter on the navbar would become the containing
     block for the fixed menu overlay (collapsing it to the bar height).
     Use a solid frosted bar instead so the overlay fills the viewport. */
  .navbar.over { backdrop-filter: none; background: rgba(255, 255, 255, 0.97); }
  .menu-btn { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.25rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(6.25rem);
    transform: translateX(100%);
    transition: transform 0.35s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.6rem; color: var(--color-ink); }
  .menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn.open span:nth-child(2) { opacity: 0; }
  .menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ------------------------------------------------------------ Hero (light) */
.hero {
  position: relative;
  min-height: min(920px, 100dvh);
  display: flex;
  align-items: center;
  background: var(--color-white);
  color: var(--color-ink);
  overflow: hidden;
  padding: 10rem 0 5rem;
}
/* neutral white → light-grey wash (no purple background) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-grey-100) 100%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-tagline {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-ink);
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(2.75rem, 7vw, 6rem);
  line-height: 1;
  max-width: 18ch;
}
.hero .hero-desc {
  margin-top: 2rem;
  font-size: 1.5rem;
  line-height: 1.5;
  color: var(--color-muted);
  max-width: 42rem;
}
.hero .btn-row { margin-top: 2.75rem; }

/* giant translucent backdrop word (neutral) */
.hero-ghost {
  position: absolute;
  bottom: -3vw; left: 50%;
  transform: translateX(-50%);
  font-size: clamp(6rem, 17vw, 18rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: rgba(17, 17, 17, 0.04);
  white-space: nowrap;
  z-index: 1;
  pointer-events: none;
  user-select: none;
}

/* ------------------------------------------------------------ Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}
.stat {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  padding-top: 1.25rem;
}
.section--dark .stat, .section--black .stat { border-top-color: rgba(255, 255, 255, 0.22); }
.stat .num {
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-ink);
  letter-spacing: -0.02em;
}
.section--dark .stat .num, .section--black .stat .num { color: var(--color-accent); }
.stat .label {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--color-muted);
}
.section--dark .stat .label, .section--black .stat .label { color: var(--color-white-70); }

@media (max-width: 768px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------ Cards / grids */
.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Default card is LIGHT (white with hairline) */
.card {
  background: var(--color-white);
  color: var(--color-ink);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-block);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
  border-color: var(--color-accent);
}
.section--grey .card, .section--ivory-grey .card { border-color: var(--color-border); }

/* On black surfaces: translucent glass cards */
.section--dark .card, .section--black .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
  color: #fff;
}
.section--dark .card:hover, .section--black .card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.card .idx {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-ink);
}
.section--dark .card .idx, .section--black .card .idx { color: var(--color-accent); }
.card h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.card p { color: var(--color-muted); font-size: 1.0625rem; line-height: 1.6; }
.section--dark .card p, .section--black .card p { color: var(--color-white-70); }

/* explicit light card variant (kept for parity) */
.card-light {
  background: #fff;
  color: var(--color-ink);
  border: 1px solid var(--color-border);
}
.card-light p { color: var(--color-muted); }

/* accent "outcome" tile — accent fill, black text */
.card-accent {
  background: var(--color-accent);
  color: var(--color-black);
  border-color: transparent;
}
.card-accent .idx { color: rgba(0, 0, 0, 0.7); }
.card-accent h3 { color: var(--color-black); }
.card-accent p { color: rgba(0, 0, 0, 0.72); }
.card-accent:hover { box-shadow: 0 18px 40px rgba(183, 147, 234, 0.4); border-color: transparent; }

@media (max-width: 1020px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ Two column */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
@media (max-width: 1020px) { .two-col { grid-template-columns: 1fr; gap: 2.5rem; } }

/* Criteria list */
.crit { display: flex; flex-direction: column; gap: 1.75rem; }
.crit-item { border-left: 2px solid var(--color-accent); padding-left: 1.25rem; }
.crit-item h4 {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-ink); margin-bottom: 0.4rem;
}
.section--dark .crit-item h4, .section--black .crit-item h4 { color: #fff; }
.crit-item p { color: var(--color-muted); font-size: 1.0625rem; }
.section--dark .crit-item p, .section--black .crit-item p { color: var(--color-white-70); }

/* Bulleted feature list */
.feat-list { display: flex; flex-direction: column; gap: 1rem; }
.feat-list li {
  display: flex; gap: 0.85rem; align-items: flex-start;
  font-size: 1.0625rem; line-height: 1.5;
}
.feat-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.6rem; height: 0.6rem;
  margin-top: 0.5rem;
  border-radius: 50%;
  background: var(--color-accent);
}

.pill-row { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.pill {
  border: 1px solid rgba(17, 17, 17, 0.18);
  border-radius: 625rem;
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
}
.section--dark .pill, .section--black .pill { border-color: rgba(255,255,255,0.25); }
.pill.pill-teal,            /* legacy alias */
.pill.pill-purple {
  background: var(--color-accent); color: var(--color-black); border-color: transparent;
}

/* ------------------------------------------------------------ Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.step {
  position: relative;
}
/* "STEP 0X" sits ABOVE the divider line */
.step .step-no {
  display: block;
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(0,0,0,0.12);
  font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em;
  color: var(--color-muted);
}
.section--dark .step .step-no, .section--black .step .step-no {
  color: var(--color-white-70);
  border-bottom-color: rgba(255,255,255,0.22);
}
/* headline size matches the timeline stepper panels */
.step h4 {
  font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; letter-spacing: -0.01em;
  line-height: 1.15; text-transform: none; color: var(--color-ink); margin-bottom: 0.6rem;
}
.section--dark .step h4, .section--black .step h4 { color: #fff; }
.step p { font-size: 1.0625rem; line-height: 1.55; color: var(--color-muted); }
.section--dark .step p, .section--black .step p { color: var(--color-white-70); }
@media (max-width: 1020px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Timeline */
.timeline { display: flex; flex-direction: column; gap: 0; margin-top: 1rem; }
.phase-label {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-ink);
  padding: 1.5rem 0 0.75rem;
}
.section--dark .phase-label, .section--black .phase-label { color: var(--color-accent); }
.tl-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(0,0,0,0.1);
  align-items: baseline;
}
.section--dark .tl-row, .section--black .tl-row { border-top-color: rgba(255,255,255,0.14); }
.tl-when { font-weight: 700; color: var(--color-ink); font-size: 1.0625rem; }
.section--dark .tl-when, .section--black .tl-when { color: var(--color-accent); }
.tl-body h4 { font-size: 1.1875rem; font-weight: 700; margin-bottom: 0.25rem; }
.tl-body p { color: var(--color-muted); font-size: 1rem; }
.section--dark .tl-body p, .section--black .tl-body p { color: var(--color-white-70); }
@media (max-width: 560px) { .tl-row { grid-template-columns: 1fr; gap: 0.4rem; } }

/* ------------------------------------------------------------ Deal terms grid */
.terms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.term {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-block);
  padding: 2rem;
}
.section--dark .term, .section--black .term {
  background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14);
}
.term .term-label {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-muted); margin-bottom: 0.75rem;
}
.section--dark .term .term-label, .section--black .term .term-label { color: var(--color-white-70); }
.term .term-value {
  font-size: 2rem; font-weight: 700; color: var(--color-ink);
  line-height: 1; margin-bottom: 0.85rem; letter-spacing: -0.02em;
}
.section--dark .term .term-value, .section--black .term .term-value { color: var(--color-accent); }
.term p { font-size: 1rem; color: var(--color-muted); line-height: 1.55; }
.section--dark .term p, .section--black .term p { color: var(--color-white-70); }
@media (max-width: 1020px) { .terms { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .terms { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ Budget donut */
.budget-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
@media (max-width: 1020px) { .budget-wrap { grid-template-columns: 1fr; gap: 3rem; } }
.donut-card { display: flex; align-items: center; gap: 2.5rem; flex-wrap: wrap; }
.donut {
  flex: 0 0 auto;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: conic-gradient(
    var(--color-accent) 0 75%,
    #6E6A78 75% 85%,
    #9A9AA0 85% 90%,
    #BEBEC4 90% 95%,
    #DCDCE1 95% 100%
  );
  position: relative;
}
.donut::after {
  content: "";
  position: absolute; inset: 28%;
  border-radius: 50%;
  background: var(--color-grey-100);
}
.section--white .donut::after, .section--ivory .donut::after { background: var(--color-white); }
.section--dark .donut::after { background: var(--color-surface-dark); }
.section--black .donut::after { background: var(--color-black); }
.legend { display: flex; flex-direction: column; gap: 0.9rem; }
.legend li { display: flex; align-items: center; gap: 0.75rem; font-size: 1rem; }
.legend .dot { width: 0.85rem; height: 0.85rem; border-radius: 3px; flex: 0 0 auto; }
.legend .pct { font-weight: 700; margin-left: auto; }

/* ------------------------------------------------------------ Application columns */
.apply-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.apply-col {
  background: #fff; border: 1px solid var(--color-border);
  border-radius: var(--radius-block); padding: 2.25rem;
}
.section--dark .apply-col, .section--black .apply-col {
  background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.14);
}
.apply-col h3 {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--color-ink); margin-bottom: 1.25rem;
}
.section--dark .apply-col h3, .section--black .apply-col h3 { color: var(--color-accent); }
.apply-col ol { counter-reset: a; display: flex; flex-direction: column; gap: 0.9rem; }
.apply-col ol li { counter-increment: a; display: flex; gap: 0.75rem; font-size: 1.0625rem; }
.section--dark .apply-col ol li, .section--black .apply-col ol li { color: #fff; }
.apply-col ol li::before {
  content: counter(a);
  flex: 0 0 auto;
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  background: var(--color-ink);          /* black chip */
  color: var(--color-accent);            /* accent numeral */
  font-size: 0.8rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
.section--dark .apply-col ol li::before, .section--black .apply-col ol li::before {
  background: rgba(255,255,255,0.12); color: var(--color-accent);
}
@media (max-width: 1020px) { .apply-cols { grid-template-columns: 1fr; } }

/* Application form area */
.apply-form {
  margin-top: 2.5rem;
  background: #fff;
  color: var(--color-ink);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-block);
  padding: clamp(2rem, 4vw, 3.5rem);
}
.apply-form .eyebrow { margin-bottom: 0.75rem; }
.apply-form h3 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.1; }
.apply-form .form-intro { margin-top: 0.85rem; color: var(--color-muted); font-size: 1.125rem; max-width: 42rem; }
.hs-form-frame { margin-top: 2rem; }
.form-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding: 3rem 1.5rem;
  border: 1px dashed rgba(17, 17, 17, 0.2);
  border-radius: var(--radius-img);
  background: var(--color-grey-100);
}
.form-placeholder p { color: var(--color-muted); font-size: 1.0625rem; max-width: 32rem; }
.spinner {
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  border: 3px solid rgba(17, 17, 17, 0.15);
  border-top-color: var(--color-accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Helper text classes */
.block-title { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.25rem; }
.muted { color: var(--color-muted); margin-bottom: 1.25rem; }
.note { margin-top: 1.25rem; color: var(--color-muted); font-size: 0.95rem; }
.foot-note { margin-top: 2.5rem; font-size: 1.0625rem; color: var(--color-muted); }
.section--dark .foot-note, .section--black .foot-note { color: var(--color-white-70); }
.block-note { margin-top: 2rem; color: var(--color-muted); font-size: 1.0625rem; line-height: 1.6; }
.section--dark .block-note, .section--black .block-note { color: var(--color-white-70); }

/* ------------------------------------------------------------ Final CTA */
.cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; inset: 0;
  /* accent glow on black */
  background: radial-gradient(85% 85% at 78% 0%, rgba(183,147,234,0.28) 0%, transparent 55%);
  pointer-events: none;
}
.cta .container { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(2.5rem, 5vw, 4.312rem); font-weight: 700; line-height: 1.1; }
.cta p { margin-top: 1.25rem; font-size: 1.35rem; color: var(--color-white-70); }
.cta .btn-row { justify-content: center; margin-top: 2.5rem; }
.cta-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 2.5rem;
  margin-top: 3.5rem;
}
.cta-meta .meta-item { text-align: left; }
.cta-meta .meta-label {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--color-accent);
}
.cta-meta .meta-val { font-size: 1.15rem; font-weight: 600; margin-top: 0.25rem; }

/* ------------------------------------------------------------ Footer */
.footer { background: var(--color-black); color: #fff; padding-block: var(--space-md); }
.footer .container { display: flex; gap: 4rem; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { min-width: min(18rem, 80vw); flex: 1; }
.footer-brand .brand { font-size: 1.7rem; margin-bottom: 1rem; color: #fff; }
/* On black, invert the mark tile to white so the black-logo lockup stays legible */
.footer-brand .brand .mark { width: 2.4rem; height: 2.4rem; font-size: 1.35rem; background: #fff; color: var(--color-accent); }
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 0.95rem; line-height: 1.65; max-width: 22rem; }
.footer-tag {
  display: block; margin-top: 1.5rem; color: var(--color-accent);
  font-weight: 700; letter-spacing: 0.04em;
}
.footer-links {
  flex: 2;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
  gap: 2.5rem;
}
.footer-col h5 {
  font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1rem;
}
.footer-col a { display: block; color: rgba(255,255,255,0.85); font-size: 0.95rem; padding: 0.35rem 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 3rem; padding-top: 1.75rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
  color: rgba(255,255,255,0.5); font-size: 0.875rem;
}
.footer-legal { display: inline-flex; gap: 0.6rem; align-items: center; }
.footer-legal a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-legal a:hover { color: var(--color-accent); }

/* ------------------------------------------------------------ Legal pages */
.legal { padding-top: 8rem; padding-bottom: var(--space-md); }
.legal .container { width: min(92%, 52rem); }
.legal .eyebrow { margin-bottom: 1rem; }
.legal h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 2.5rem;
}
.legal h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  margin-top: 2.75rem;
  margin-bottom: 0.85rem;
}
.legal h3 { font-size: 1.2rem; font-weight: 700; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal p, .legal li { color: #2c2c2c; font-size: 1.0625rem; line-height: 1.7; }
.legal p { margin-bottom: 1rem; }
.legal ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1rem; }
.legal li { margin-bottom: 0.45rem; }
.legal a { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); text-underline-offset: 2px; }
.legal a:hover { text-decoration-color: var(--color-ink); }
.legal .updated { color: var(--color-muted); font-size: 0.95rem; margin-bottom: 2.5rem; }
.legal .placeholder {
  background: var(--color-grey-100);
  border-left: 3px solid var(--color-accent);
  padding: 0.15rem 1rem;
  border-radius: 0.35rem;
  font-weight: 600;
}
.legal .back-link { display: inline-block; margin-top: 3rem; font-weight: 700; text-decoration: none; }

/* ------------------------------------------------------------ Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .reveal-clip { clip-path: none; opacity: 1; transition: none; }
  .marquee-track { animation: none; }
  html { scroll-behavior: auto; }
}

/* ============================================================
   v3 — new structure components + ewor-style motion
   ============================================================ */

/* ---- ewor-style reveal: clip wipe (for media / feature blocks) ---- */
.reveal-clip {
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transition: clip-path 0.9s cubic-bezier(.16,1,.3,1), opacity 0.9s ease;
}
.reveal-clip.in { clip-path: inset(0 0 0 0); opacity: 1; }

/* ---- Split hero ---- */
.hero { min-height: auto; padding: 9rem 0 4.5rem; align-items: stretch; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; gap: 2.75rem; } }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 { font-size: clamp(2.4rem, 4.4vw, 4.35rem); line-height: 1.03; max-width: 15ch; }
.hero-copy .hero-tagline { margin-bottom: 1.25rem; }
.hero-copy .hero-desc { margin-top: 1.5rem; font-size: 1.25rem; max-width: 38rem; }
.hero-copy .hero-add { margin-top: 1.1rem; color: var(--color-muted); font-size: 1.0625rem; max-width: 38rem; }
.hero-media {
  position: relative;
  border-radius: var(--radius-block);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  background:
    radial-gradient(120% 80% at 72% 8%, rgba(183,147,234,0.38), transparent 58%),
    linear-gradient(180deg, #1b1722 0%, #0a0a0a 100%);
  border: 1px solid var(--color-border);
}
@media (max-width: 1020px) { .hero-media { aspect-ratio: 16 / 12; } }
.hero-media > img { position: absolute; top: -6%; left: 0; width: 100%; height: 112%; object-fit: cover; }
.hero-media .media-hint {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.42); font-size: 0.9rem; line-height: 1.6;
  text-align: center; padding: 2.5rem;
}
.hero-overlay {
  position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.9rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: rgba(255,255,255,0.12);
  border-radius: 0.75rem; overflow: hidden;
  backdrop-filter: blur(12px);
}
.hero-overlay .ov { background: rgba(10,10,10,0.6); padding: 0.85rem 0.85rem; }
.hero-overlay .ov-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.hero-overlay .ov-val { font-size: 0.95rem; font-weight: 700; color: #fff; margin-top: 0.2rem; }
@media (max-width: 520px) { .hero-overlay { grid-template-columns: repeat(2, 1fr); } }

/* ---- Facts bar ---- */
.facts-bar { border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid .fact { padding: 0.5rem 2rem; border-left: 1px solid var(--color-border); }
.facts-grid .fact:first-child { border-left: 0; padding-left: 0; }
.fact .fact-num { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05; }
.fact .fact-label { margin-top: 0.55rem; color: var(--color-muted); font-size: 1rem; line-height: 1.5; }
@media (max-width: 768px) {
  .facts-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem 1.5rem; }
  .facts-grid .fact { border-left: 0; padding: 0; }
}

/* ---- Scorecard ---- */
.scorecard { display: grid; gap: 0; margin-top: 0.5rem; }
.score-item {
  display: grid; grid-template-columns: 3.5rem 1fr; gap: 1.75rem; align-items: start;
  padding: 1.75rem 0; border-top: 1px solid var(--color-border);
}
.score-item:last-of-type { border-bottom: 1px solid var(--color-border); }
.section--dark .score-item, .section--black .score-item { border-color: rgba(255,255,255,0.14); }
.score-no {
  width: 3.5rem; height: 3.5rem; border-radius: 50%;
  border: 1px solid var(--color-accent); color: var(--color-accent);
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.05rem;
}
.score-item h4 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.35rem; }
.score-item p { color: var(--color-muted); font-size: 1.0625rem; max-width: 50rem; }
.section--dark .score-item p, .section--black .score-item p { color: var(--color-white-70); }
@media (max-width: 560px) { .score-item { grid-template-columns: 1fr; gap: 0.75rem; } }

/* ---- Sticky-scroll benefits ---- */
.sticky-wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 4rem; align-items: start; }
@media (max-width: 1020px) { .sticky-wrap { grid-template-columns: 1fr; gap: 2rem; } }
.sticky-head { position: sticky; top: 7rem; align-self: start; }
@media (max-width: 1020px) { .sticky-head { position: static; margin-bottom: 0.5rem; } }
.sticky-head h2 { font-size: clamp(2.5rem, 5vw, 4.312rem); line-height: 1.1; }
.sticky-head p { margin-top: 1.25rem; color: var(--color-muted); font-size: 1.25rem; max-width: 34rem; }
.section--dark .sticky-head p, .section--black .sticky-head p { color: var(--color-white-70); }
.sticky-cards { display: flex; flex-direction: column; gap: 1.25rem; }
.s-card {
  border: 1px solid var(--color-border); border-radius: var(--radius-block);
  padding: 2rem; background: #fff; display: flex; gap: 1.5rem; align-items: flex-start;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.s-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(17,17,17,0.08); border-color: var(--color-accent); }
.s-card .s-idx { font-size: 0.875rem; font-weight: 700; color: var(--color-accent); letter-spacing: 0.08em; min-width: 2.75rem; padding-top: 0.15rem; }
.s-card h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 0.4rem; }
.s-card p { color: var(--color-muted); font-size: 1.0625rem; line-height: 1.6; }
.s-card.s-card-accent { background: var(--color-accent); border-color: transparent; }
.s-card.s-card-accent .s-idx, .s-card.s-card-accent p { color: rgba(0,0,0,0.72); }
.s-card.s-card-accent h3 { color: #000; }
.s-card.s-card-accent:hover { box-shadow: 0 18px 40px rgba(183,147,234,0.4); border-color: transparent; }

/* ---- Interactive stepper ---- */
.stepper-tabs { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.stepper-tab {
  display: inline-flex; align-items: center; gap: 0.55rem;
  border: 1px solid rgba(255,255,255,0.22); background: transparent; color: inherit;
  border-radius: 625rem; padding: 0.6rem 1.1rem; font: inherit; font-weight: 600; font-size: 0.95rem;
  cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.section--white .stepper-tab, .section--grey .stepper-tab { border-color: rgba(17,17,17,0.2); }
.stepper-tab .t-no { font-weight: 700; color: var(--color-accent); }
.stepper-tab:hover { border-color: var(--color-accent); }
.stepper-tab.active { background: var(--color-accent); color: #000; border-color: transparent; }
.stepper-tab.active .t-no { color: #000; }
.stepper-panel {
  border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius-block);
  padding: clamp(1.75rem, 3vw, 2.75rem); min-height: 12rem;
}
.section--white .stepper-panel, .section--grey .stepper-panel { border-color: var(--color-border); background: #fff; }
.stepper-panel .p-when { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.stepper-panel h3 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; margin: 0.5rem 0 0.75rem; }
.stepper-panel p { color: var(--color-white-70); font-size: 1.125rem; max-width: 52rem; line-height: 1.6; }
.section--white .stepper-panel p, .section--grey .stepper-panel p { color: var(--color-muted); }
.step-panel { display: none; }
.step-panel.active { display: block; animation: fadeStep 0.35s ease; }
@keyframes fadeStep { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .stepper-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.5rem; -webkit-overflow-scrolling: touch; }
  .stepper-tab { white-space: nowrap; }
}

/* ---- Marquee (institution names) ---- */
.marquee {
  margin-top: 3rem;
  overflow: hidden;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { font-size: 1.15rem; font-weight: 700; color: var(--color-muted); letter-spacing: 0.02em; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- FAQ accordion ---- */
.faq { max-width: none; margin-top: 0.5rem; }
.faq-item { border-top: 1px solid var(--color-border); }
.faq-item:last-child { border-bottom: 1px solid var(--color-border); }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; font: inherit;
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; color: var(--color-ink); font-size: 1.1875rem; font-weight: 600;
}
.faq-q:hover { color: var(--color-accent-press); }
.faq-ic { flex: 0 0 auto; width: 1.4rem; height: 1.4rem; position: relative; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; background: var(--color-accent); border-radius: 2px; transition: transform 0.3s ease; }
.faq-ic::before { top: 50%; left: 0; right: 0; height: 2px; transform: translateY(-50%); }
.faq-ic::after { left: 50%; top: 0; bottom: 0; width: 2px; transform: translateX(-50%); }
.faq-item.open .faq-ic::after { transform: translateX(-50%) scaleY(0); }
.faq-a { overflow: hidden; height: 0; transition: height 0.35s ease; }
.faq-a-inner { padding: 0 0 1.5rem; color: var(--color-muted); font-size: 1.0625rem; line-height: 1.7; max-width: 48rem; }

/* ---- Application CTA card ---- */
.apply-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .apply-2col { grid-template-columns: 1fr; gap: 2rem; } }
.cta-card { background: var(--color-black); color: #fff; border-radius: var(--radius-block); padding: clamp(2rem, 4vw, 3rem); }
.cta-card h3 { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.6rem; }
.cta-card p { color: rgba(255,255,255,0.7); margin-bottom: 1.75rem; font-size: 1.0625rem; line-height: 1.6; }
.cta-card .btn-row { flex-direction: column; align-items: stretch; }
.cta-card .btn { width: 100%; }

/* ============================================================
   v4 — refinements
   ============================================================ */

/* ---- Facts: tagline above each number ---- */
.fact .fact-tag {
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--color-muted); margin-bottom: 0.4rem;
}

/* ---- Card variants per section ---- */
/* Zielgruppe: white cards, no border (soft shadow for definition) */
#target .card {
  background: var(--color-white);
  border-color: transparent;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05);
}
#target .card:hover {
  border-color: transparent;
  box-shadow: 0 20px 44px rgba(17, 17, 17, 0.09);
}
/* Das Studio (black): outline only — no fill */
#differentiation .card {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
#differentiation .card:hover {
  background: transparent;
  border-color: var(--color-accent);
  box-shadow: none;
}
/* Was ihr bekommt: cards without border */
.s-card {
  border: 0;
  box-shadow: 0 10px 30px rgba(17, 17, 17, 0.05);
}
.s-card:hover {
  border: 0;
  box-shadow: 0 20px 44px rgba(17, 17, 17, 0.09);
}

/* ---- Interactive budget donut ---- */
.donut-interactive { position: relative; width: 240px; height: 240px; margin-inline: auto; flex: 0 0 auto; }
.donut-svg { width: 100%; height: 100%; display: block; }
.donut-track { stroke: #E4E4E8; }
.donut-seg { opacity: 0.5; cursor: pointer; transition: opacity 0.25s ease, stroke-width 0.25s ease; }
.donut-seg.hi { opacity: 1; stroke-width: 6.5; }
.donut-center { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; }
.donut-center .dc-pct { font-size: 2.4rem; font-weight: 700; letter-spacing: -0.02em; color: var(--color-ink); }

.legend-interactive li {
  cursor: pointer; padding: 0.55rem 0.6rem; border-radius: 0.5rem;
  transition: background 0.2s ease;
}
.legend-interactive li.hi { background: rgba(17, 17, 17, 0.05); }
.legend-interactive .lg-name { }
.budget-detail-box { margin-top: 1.75rem; border-top: 1px solid var(--color-border); padding-top: 1.5rem; }
.budget-cat { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.4rem; }
.budget-detail { color: var(--color-muted); font-size: 1.0625rem; line-height: 1.6; margin-bottom: 0.75rem; min-height: 3.2rem; }

/* ---- Stepper tabs: equal width ---- */
.stepper-tabs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.6rem; margin-bottom: 2rem; }
.stepper-tab { justify-content: center; text-align: center; }
@media (max-width: 900px) { .stepper-tabs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .stepper-tabs { grid-template-columns: repeat(2, 1fr); } }

/* ---- Application form ---- */
.apply-2col { grid-template-columns: 0.72fr 1fr; }
@media (max-width: 900px) { .apply-2col { grid-template-columns: 1fr; } }
.form-card {
  background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius-block);
  padding: clamp(1.75rem, 3vw, 2.5rem);
}
.form-card > h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 1.5rem; }
.apply-form-fields { display: flex; flex-direction: column; gap: 1.1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 520px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; }
.form-field label { font-size: 0.8125rem; font-weight: 600; color: var(--color-muted); }
.form-field input, .form-field textarea {
  font: inherit; font-size: 1rem; color: var(--color-ink);
  background: var(--color-grey-50); border: 1px solid var(--color-border); border-radius: 0.6rem;
  padding: 0.75rem 0.9rem; width: 100%;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-field textarea { resize: vertical; min-height: 7rem; }
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--color-accent); background: #fff;
  box-shadow: 0 0 0 3px rgba(183, 147, 234, 0.25);
}
.form-field input[type="file"] { padding: 0.6rem; background: #fff; cursor: pointer; }
.form-card .btn { width: 100%; margin-top: 0.5rem; }
.form-hint { font-size: 0.85rem; color: var(--color-muted); text-align: center; margin-top: 0.25rem; }

/* ============================================================
   v5 — refinements 2
   ============================================================ */

/* Application form: hidden until "apply" is triggered */
.apply-form-fields[hidden] { display: none; }
.form-intro .form-teaser { color: var(--color-muted); font-size: 1.0625rem; line-height: 1.6; margin-bottom: 1.5rem; }
.form-intro .btn { width: 100%; }

/* Budget donut 30% larger */
.donut-interactive { width: 312px; height: 312px; }
@media (max-width: 420px) { .donut-interactive { width: 260px; height: 260px; } }

/* Stepper tabs: number sits in an accent circle, always left-aligned */
.stepper-tab { justify-content: flex-start; text-align: left; gap: 0.7rem; }
.stepper-tab .t-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.7rem; height: 1.7rem; border-radius: 50%; flex: 0 0 auto;
  background: var(--color-accent); color: #000; font-weight: 700; font-size: 0.85rem;
}
/* active tab: accent outline + subtle fill (keeps the number circle readable) */
.stepper-tab.active { background: rgba(255, 255, 255, 0.07); color: #fff; border-color: var(--color-accent); }
.stepper-tab.active .t-no { color: #000; }
.section--white .stepper-tab.active, .section--grey .stepper-tab.active { background: rgba(17, 17, 17, 0.05); color: var(--color-ink); }

/* Incubation phase (steps 5 & 6): white-filled tabs, black text, accent number circle */
.stepper-tab[data-step="4"], .stepper-tab[data-step="5"] { background: #FFFFFF; color: #000; border-color: transparent; }
.stepper-tab[data-step="4"] .t-no, .stepper-tab[data-step="5"] .t-no { background: var(--color-accent); color: #000; }
.stepper-tab[data-step="4"].active, .stepper-tab[data-step="5"].active { background: #FFFFFF; color: #000; border-color: var(--color-accent); }
.section--dark .p-when-alt, .section--black .p-when-alt { color: #FFFFFF !important; }
/* On light sections the stepper panel sits on white — use ink for the kicker */
.section--white .stepper-panel .p-when, .section--grey .stepper-panel .p-when { color: var(--color-ink); }

/* Network: +50% gap logos→tiles, −25% gap to the section below */
#ecosystem .marquee { margin-top: 4.5rem; }
#ecosystem { padding-bottom: calc(var(--space-lg) * 0.75); }

/* Stepper on small screens: horizontal swipe (avoids clipping) */
@media (max-width: 560px) {
  .stepper-tabs {
    display: flex; grid-template-columns: none;
    overflow-x: auto; padding-bottom: 0.5rem;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .stepper-tab { flex: 0 0 auto; scroll-snap-align: start; }
}

/* ============================================================
   v6 — Static logo wall, team profiles, portfolio
   ============================================================ */

/* ---- Static logo wall (replaces the animated marquee) ---- */
.logo-wall {
  margin-top: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}
.logo-wall-item {
  flex: 0 0 auto;
  min-width: 9.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 4.75rem;
  padding: 1rem 1.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-control);
  background: var(--color-white);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: 0.01em;
  color: var(--color-muted);
  text-align: center;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.logo-wall-item:hover { color: var(--color-ink); border-color: var(--color-accent); }
.section--grey .logo-wall-item { background: var(--color-grey-50); }
@media (max-width: 520px) { .logo-wall-item { flex: 1 1 auto; min-width: 40%; } }

/* ---- Team profile cards ---- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) { .team-grid { grid-template-columns: 1fr; } }
.person-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-block);
  padding: 1.5rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.person-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
  border-color: var(--color-accent);
}
.person-photo {
  flex: 0 0 auto;
  width: 128px;
  height: 128px;
  border-radius: 0.85rem;
  object-fit: cover;
  background: var(--color-grey-100);
}
.person-name { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.person-role { margin-top: 0.4rem; color: var(--color-muted); font-size: 1.0625rem; line-height: 1.5; }
@media (max-width: 460px) {
  .person-card { flex-direction: column; text-align: center; }
  .person-photo { width: 116px; height: 116px; }
}

/* ---- Portfolio cards ---- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) { .portfolio-grid { grid-template-columns: 1fr; } }
.pf-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-block);
  padding: 2.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pf-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
  border-color: var(--color-accent);
}
.pf-card h3 { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.pf-card > p { color: var(--color-muted); font-size: 1.0625rem; line-height: 1.6; }
.pf-contact {
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.pf-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
}
.pf-name { font-weight: 600; }
.pf-name.placeholder {
  background: var(--color-grey-100);
  border-left: 3px solid var(--color-accent);
  padding: 0.1rem 0.6rem;
  border-radius: 0.35rem;
}
.pf-social { display: inline-flex; align-items: center; gap: 0.5rem; margin-left: auto; }
.pf-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-border);
  color: var(--color-muted);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.pf-social a:hover { color: var(--color-accent); border-color: var(--color-accent); background: var(--color-grey-50); }
.pf-social svg { width: 1.05rem; height: 1.05rem; display: block; }
/* Portfolio: mail & LinkedIn icon links hidden — delete this rule to show them again */
.pf-social { display: none; }

/* ============================================================
   v7 — HubSpot embedded form styling (matches the design)
   Scoped to #hubspot-form; applies to the classic HTML embed.
   ============================================================ */
#hubspot-form .hs-form-html:empty { display: none; }
#hubspot-form form,
#hubspot-form .hs-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
#hubspot-form .hs-form-field > label,
#hubspot-form .hs-field-desc {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-muted);
  margin-bottom: 0.4rem;
}
#hubspot-form .hs-form-field { margin-bottom: 0; }
#hubspot-form .hs-input,
#hubspot-form input[type="text"],
#hubspot-form input[type="email"],
#hubspot-form input[type="tel"],
#hubspot-form input[type="number"],
#hubspot-form input[type="url"],
#hubspot-form textarea,
#hubspot-form select {
  font: inherit;
  font-size: 1rem;
  color: var(--color-ink);
  background: var(--color-grey-50);
  border: 1px solid var(--color-border);
  border-radius: 0.6rem;
  padding: 0.75rem 0.9rem;
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
#hubspot-form textarea,
#hubspot-form textarea.hs-input { resize: vertical; min-height: 7rem; }
#hubspot-form .hs-input:focus,
#hubspot-form textarea:focus,
#hubspot-form select:focus {
  outline: none;
  border-color: var(--color-accent);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(183, 147, 234, 0.25);
}
#hubspot-form input[type="file"] { background: #fff; cursor: pointer; }
/* checkboxes / radios / consent lists */
#hubspot-form .inputs-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
#hubspot-form .hs-form-booleancheckbox label,
#hubspot-form .inputs-list label { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.95rem; color: var(--color-ink); font-weight: 400; }
#hubspot-form .hs-input[type="checkbox"],
#hubspot-form .hs-input[type="radio"] { width: auto !important; margin-top: 0.2rem; accent-color: var(--color-accent); }
/* two-column rows */
#hubspot-form .form-columns-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
#hubspot-form .form-columns-2 .hs-form-field { width: 100% !important; }
@media (max-width: 520px) { #hubspot-form .form-columns-2 { grid-template-columns: 1fr; } }
#hubspot-form .hs-form-field > .input { margin: 0; }
/* errors */
#hubspot-form .hs-error-msgs { list-style: none; padding: 0; margin: 0.35rem 0 0; }
#hubspot-form .hs-error-msg,
#hubspot-form label.hs-error-msg { color: #c0392b; font-size: 0.85rem; font-weight: 500; }
/* submit button — accent filled, matches .btn-filled */
#hubspot-form .hs-button,
#hubspot-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.25rem;
  padding: 0 1.75rem;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-black);
  background: var(--color-accent);
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  cursor: pointer;
  width: auto;
  margin-top: 0.4rem;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
#hubspot-form .hs-button:hover,
#hubspot-form input[type="submit"]:hover {
  background: var(--color-accent-press);
  box-shadow: 0 10px 26px rgba(183, 147, 234, 0.45);
  transform: translateY(-2px);
}
#hubspot-form .legal-consent-container,
#hubspot-form .hs-richtext { font-size: 0.85rem; color: var(--color-muted); line-height: 1.55; }
#hubspot-form .hs-richtext a { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }

/* ---- HubSpot multi-step form (hsfc-*) button + accent theming ---- */
#hubspot-form .hsfc-Button {
  border-radius: var(--radius-control) !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  font-size: 1rem !important;
  min-height: 3.25rem !important;
  padding: 0 1.5rem !important;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease !important;
}
/* primary action (Weiter / Senden) = accent filled */
#hubspot-form .hsfc-NavigationRow__Buttons .hsfc-Button:last-child,
#hubspot-form .hsfc-Button[type="submit"] {
  background: var(--color-accent) !important;
  color: #000 !important;
  border: 1px solid transparent !important;
}
#hubspot-form .hsfc-NavigationRow__Buttons .hsfc-Button:last-child:hover,
#hubspot-form .hsfc-Button[type="submit"]:hover {
  background: var(--color-accent-press) !important;
  box-shadow: 0 10px 26px rgba(183, 147, 234, 0.45) !important;
  transform: translateY(-2px);
}
/* secondary action (Zurück) = outline */
#hubspot-form .hsfc-NavigationRow__Buttons .hsfc-Button:first-child:not(:last-child) {
  background: transparent !important;
  color: var(--color-ink) !important;
  border: 1px solid rgba(17, 17, 17, 0.24) !important;
}
#hubspot-form .hsfc-NavigationRow__Buttons .hsfc-Button:first-child:not(:last-child):hover {
  background: rgba(17, 17, 17, 0.05) !important;
  border-color: var(--color-ink) !important;
}
/* accent surfaces inside the hsfc form (progress, selection, focus rings) */
#hubspot-form .hsfc-Step__ProgressBarProgress,
#hubspot-form [class*="ProgressBarProgress"] { background: var(--color-accent) !important; }
#hubspot-form .hsfc-CheckboxField input:checked + *,
#hubspot-form .hsfc-DropdownField__Option--is-focused { border-color: var(--color-accent) !important; }
#hubspot-form a { color: var(--color-ink); text-decoration: underline; text-decoration-color: var(--color-accent); }

/* [hidden] must win over component display rules (e.g. .apply-cols { display: grid }) */
[hidden] { display: none !important; }
