/* ── Design tokens (same palette as scaleup-financing) ── */
:root {
  --page-gutter: 50px;
  --bottom-bar-height: 72px;
  --bg: #121920;
  --bg-deep: #0d141b;
  --page-light: #ffffff;
  --page-light-deep: #eef3f7;
  --text: #f4f7f6;
  --muted: #a6b2bb;
  --border-light: rgba(18, 53, 74, 0.1);
  --border-dark: rgba(255, 255, 255, 0.1);
  --brand: #2ee878;
  --brand-solid: #2fcb63;
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
  --motion-in-duration: 680ms;
  --motion-in-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --motion-stagger-step: 100ms;
  --font-title: "alaska", "Google Sans", Helvetica, sans-serif;
}

/* Section & card titles */
.hero-title,
.section-title,
.trust-title,
.topic-item-label,
.highlight-title,
.module-title,
.study-partners__text,
.benefit-title,
.cta-final-title,
.feature-trio-title {
  font-family: var(--font-title);
}

@font-face {
  font-family: "Google Sans";
  src: url("./assets/fonts/google-sans/GoogleSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Google Sans";
  src: url("./assets/fonts/google-sans/GoogleSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--page-light);
}

body {
  margin: 0;
  font-family: "Google Sans", Alaska, Helvetica, sans-serif;
  font-weight: 400;
  color: #5f6368;
  background: var(--page-light);
}

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

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

/* ── Layout shell ── */
.page-shell { position: relative; overflow: clip; }

.section-inner,
.footer-inner {
  width: min(1100px, calc(100% - 2 * var(--page-gutter)));
  margin-left: auto;
  margin-right: auto;
}

/* ── Bottom bar (fixed after hero) ── */
.top-header {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: auto;
  z-index: 40;
  padding:
    0
    max(var(--page-gutter), env(safe-area-inset-right, 0px))
    max(16px, env(safe-area-inset-bottom, 0px))
    max(var(--page-gutter), env(safe-area-inset-left, 0px));
  background: transparent;
  border: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.28s ease;
}

.top-header.top-header--show-cta {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.top-header-inner {
  width: 100%;
  max-width: 1100px;
  margin: 0;
  padding: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.header-hslu-link {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 16px 20px;
  max-width: min(320px, 100%);
  margin: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow:
    0 19.4px 8px 0 rgba(18, 53, 74, 0.06),
    0 12px 32px 0 rgba(18, 53, 74, 0.14),
    0 24px 48px 0 rgba(18, 53, 74, 0.08);
  text-decoration: none;
  transition:
    background-color 280ms ease,
    box-shadow 280ms ease;
}

.header-hslu-kicker {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(18, 53, 74, 0.65);
  line-height: 1.2;
  white-space: nowrap;
  text-align: left;
  margin: 0;
  padding: 0;
  transition: color 280ms ease;
}

.header-hslu-logo {
  display: block;
  height: 16px;
  width: auto;
  max-width: 100%;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: left center;
  opacity: 1;
  transition: filter 280ms ease;
}

.top-header.top-header--at-bottom {
  pointer-events: none;
}

.top-header.top-header--at-bottom .header-hslu-link {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition:
    opacity 0.22s ease,
    transform 0.22s ease,
    visibility 0.22s ease;
}

/* Bottom bar over dark sections */
.top-header.top-header--on-dark .header-hslu-link {
  background: rgba(8, 18, 24, 0.55);
}

.top-header.top-header--on-dark .header-hslu-kicker {
  color: rgba(255, 255, 255, 0.85);
}

.top-header.top-header--on-dark .header-hslu-logo {
  filter: brightness(0) invert(1);
  opacity: 1;
}

/* ── Sections ── */
.section { padding: 140px 0; }
.section--light { background: var(--page-light); }
.section--dark { background: var(--bg); }
.section--partners { background: var(--bg-deep); }
#vorteile {
  padding-top: 100px;
  padding-bottom: 100px;
}

/* ── Eyebrow / kickers ── */
.eyebrow,
.section-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-solid);
  margin-bottom: 14px;
}

.section-kicker--light { color: var(--brand); }

/* Hero partner logos */
.hero-partners-label {
  display: inline-block;
  order: -1;
  align-self: flex-start;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 46%);
}

.hero-partners {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  line-height: 0;
  margin-bottom: 22px;
}

.hero-partner-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

.hero-partner-link:hover .hero-partner-logo,
.hero-partner-link:focus-visible .hero-partner-logo {
  opacity: 1;
}

.hero-partner-logo {
  display: block;
  width: auto;
  max-width: none;
  object-fit: contain;
  opacity: 0.8;
  flex-shrink: 0;
}

.hero-partners-attribution .hero-partner-logo--postfinance {
  height: calc(var(--hero-logo-pf) * var(--hero-logo-scale) * 1.2);
}

.hero-partners-attribution .hero-partner-logo--tellco {
  height: calc(var(--hero-logo-tellco) * var(--hero-logo-scale));
}

.hero-partners-attribution .hero-partner-logo--kamuno {
  height: calc(var(--hero-logo-kamuno) * var(--hero-logo-scale));
  opacity: 0.86;
}

/* ── Hero ── */
.hero {
  background: var(--bg);
  padding: 32px 0 clamp(100px, 16vh, 200px);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 80% 40%, rgba(46, 232, 120, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(46, 232, 120, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  min-width: 0;
  max-width: min(1140px, calc(100% - 2 * var(--page-gutter)));
  margin: 0 auto;
  position: relative;
}

.hero-copy-block { max-width: 640px; }
.hero-copy-block {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  min-height: 0;
}

.hero-left {
  position: relative;
  z-index: 2;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-self: stretch;
  padding-bottom: 52px;
  align-items: flex-start;
}

.hero-text-inner {
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
}

.hero-right {
  min-width: 0;
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
}

.hero-visual {
  position: relative;
  flex: 1;
  min-height: min(48vw, 400px);
  max-height: min(72vh, 640px);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 24px;
  isolation: isolate;
}

.hero-visual-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 58% 32%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-title {
  font-size: clamp(36px, 5.5vw, 64px);
  font-weight: 500;
  line-height: 1.08;
  white-space: normal;
  overflow-wrap: anywhere;
  color: var(--text);
  margin: 30px 0 24px;
  margin-top: auto;
  letter-spacing: -0.02em;
}

.hero-lead {
  font-family: "Google Sans", Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: 0.5px;
  color: var(--muted);
  margin: 0 0 30px;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.hero-cta-outline {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.88);
  font-family: "Google Sans", Alaska, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.hero-cta-outline:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.06);
}

.hero-cta-primary {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid var(--brand-solid);
  background: var(--brand-solid);
  color: #fff;
  font-family: "Google Sans", Alaska, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  box-shadow: 0 8px 24px rgba(47, 203, 99, 0.22);
  transition: box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.hero-cta-primary:hover {
  box-shadow: 0 14px 32px rgba(47, 203, 99, 0.34);
  transform: scale(1.03);
}

.hero-reassurance {
  margin: 12px 0 0;
  padding-bottom: 0;
  width: 100%;
  font-size: 13px;
  line-height: 1.5;
  color: rgb(255 255 255 / 30%);
  letter-spacing: 0.01em;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px 16px;
}

.hero-reassurance-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-reassurance-icon {
  width: 12px;
  height: 12px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-hslu-attribution {
  position: static;
  margin: 0 0 16px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  width: fit-content;
  max-width: 100%;
  z-index: 2;
}

.hero-partners-attribution {
  --hero-logo-pf: 22px;
  --hero-logo-tellco: 40px;
  --hero-logo-kamuno: 14px;
  --hero-logo-scale: calc(0.717 * 1.4 * 1.3);
  position: static;
  margin: auto 0 0;
  padding-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  max-width: 100%;
  z-index: 2;
}

.hero-partners-attribution .hero-partners {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-bottom: 0;
}

.hero-partners-attribution .hero-partners-label {
  order: unset;
  margin-bottom: 0;
}

.hero-hslu-attribution__label {
  margin: 0 0 10px;
  padding: 0;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 70%);
  text-align: left;
}

.hero-hslu-attribution__link {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
  line-height: 0;
  text-decoration: none;
}

.hero-hslu-attribution__logo {
  display: block;
  height: 24px;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  object-fit: contain;
  object-position: left top;
  filter: brightness(0) invert(1);
  opacity: 1;
}

/* Trust strip below hero */

.study-intro-block {
  max-width: 780px;
  text-align: center;
  margin: 0 auto;
}

.section--study-intro .section-title {
  margin-bottom: 14px;
}

.section--study-intro .section-lead {
  font-family: "Google Sans", Helvetica, sans-serif;
  margin: 0 auto;
  max-width: 740px;
  padding-bottom: 40px;
}

#themen {
  padding-top: 0px;
  padding-bottom: 100px;
}

#themen .section-inner {
  text-align: center;
}

#themen .section-lead,
#themen .section-body {
  font-family: "Google Sans", Helvetica, sans-serif;
  max-width: none;
}

#themen .section-title {
  margin-bottom: 12px;
}

#themen .section-lead {
  margin: 0 auto;
  max-width: 760px;
}

.topics-flow {
  list-style: none;
  margin: 30px auto 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 980px;
}

.topic-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid rgba(18, 53, 74, 0.1);
  border-radius: 14px;
  background: #fff;
  min-height: 64px;
  text-align: left;
}

.topic-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -11px;
  width: 8px;
  height: 1px;
  background: rgba(20, 44, 51, 0.22);
  transform: translateY(-50%);
}

.topic-item-number {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(47, 203, 99, 0.14);
  color: #2fcb63;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.topic-item-label {
  color: #142c33;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
}

.study-note {
  margin: 32px auto 0;
  width: min(640px, 100%);
  padding: 24px 32px;
  border-radius: 24px;
  background: #f3fbf6;
  border: 1px solid rgba(47, 203, 99, 0.16);
  box-shadow: inset 4px 0 0 #2fcb63;
  text-align: left;
}

.study-note__text {
  margin: 0;
  padding-top: 0;
  color: #12354a;
  font-size: 15px;
  line-height: 1.65;
  font-family: "Google Sans", Helvetica, sans-serif;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trust-card {
  border-radius: var(--radius-md);
  border: 0;
  background: #fff;
  padding: 22px 22px 20px;
  box-shadow:
    0 10px 40px rgba(18, 44, 51, 0.05),
    0 2px 12px rgba(18, 44, 51, 0.03);
  text-align: center;
}

.trust-icon {
  display: inline-flex;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #2fcb63;
  margin-bottom: 12px;
}

.trust-icon svg {
  width: 50px;
  height: 50px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-icon--privacy {
  margin-bottom: 14px;
}

.trust-icon .trust-benefit-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  margin: 0;
}

.animated-clock-icon {
  width: 40px;
  height: 40px;
  color: #142c33;
  --clock-accent: #2ed66e;
  --clock-loop-duration: 2.8s;
}

.animated-clock-icon .clock-ring {
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-dasharray: 54;
  stroke-dashoffset: 54;
  opacity: 0;
  animation: clock-ring-story var(--clock-loop-duration) cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}

.animated-clock-icon .clock-hour-hand {
  stroke: currentColor;
  stroke-width: 1.5;
  transform-origin: 12px 12px;
  transform: rotate(28deg);
  animation: clock-hour-story var(--clock-loop-duration) ease-in-out infinite;
}

.animated-clock-icon .clock-minute-hand {
  stroke: var(--clock-accent);
  stroke-width: 1.5;
  transform-origin: 12px 12px;
  transform: rotate(0deg);
  animation: clock-minute-story var(--clock-loop-duration) cubic-bezier(0.26, 0.74, 0.2, 1) infinite;
  filter: drop-shadow(0 0 0 rgba(46, 214, 110, 0.14));
}

.animated-clock-icon .clock-center-dot {
  fill: var(--clock-accent);
  stroke: none;
  opacity: 0;
  animation: clock-center-story var(--clock-loop-duration) ease-in-out infinite;
  filter: drop-shadow(0 0 0 rgba(46, 214, 110, 0.14));
}

/* subtle confetti burst after completion */
.animated-clock-icon .clock-confetti .confetti-piece {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  stroke: var(--clock-accent);
  fill: var(--clock-accent);
  stroke-width: 1.1;
  stroke-linecap: round;
}

.animated-clock-icon .clock-confetti .confetti-piece--1 {
  fill: var(--clock-accent);
  animation: clock-confetti-1 var(--clock-loop-duration) ease-out infinite;
}

.animated-clock-icon .clock-confetti .confetti-piece--2 {
  fill: rgba(46, 214, 110, 0.85);
  animation: clock-confetti-2 var(--clock-loop-duration) ease-out infinite;
}

.animated-clock-icon .clock-confetti .confetti-piece--3 {
  fill: rgba(46, 214, 110, 0.58);
  animation: clock-confetti-3 var(--clock-loop-duration) ease-out infinite;
}

.animated-clock-icon .clock-confetti .confetti-piece--4 {
  fill: rgba(46, 214, 110, 0.72);
  animation: clock-confetti-4 var(--clock-loop-duration) ease-out infinite;
}

.animated-clock-icon .clock-confetti .confetti-piece--5 {
  fill: rgba(46, 214, 110, 0.65);
  animation: clock-confetti-5 var(--clock-loop-duration) ease-out infinite;
}

.animated-clock-icon .clock-confetti .confetti-piece--6 {
  fill: rgba(46, 214, 110, 0.68);
  animation: clock-confetti-6 var(--clock-loop-duration) ease-out infinite;
}

.animated-clock-icon .clock-confetti .confetti-piece--7 {
  fill: rgba(46, 214, 110, 0.78);
  animation: clock-confetti-7 var(--clock-loop-duration) ease-out infinite;
}


@keyframes clock-ring-story {
  0% {
    stroke-dashoffset: 54;
    opacity: 0;
  }
  12% {
    stroke-dashoffset: 0;
    opacity: 0.84;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 0.84;
  }
}

@keyframes clock-minute-story {
  0%, 10.7% { transform: rotate(0deg); }
  57.1% { transform: rotate(360deg); }
  100% { transform: rotate(360deg); }
}

@keyframes clock-hour-story {
  0%, 10.7% { transform: rotate(28deg); }
  57.1% { transform: rotate(33deg); }
  100% { transform: rotate(33deg); }
}

@keyframes clock-center-story {
  0% { opacity: 0; }
  12% { opacity: 0.92; }
  56% {
    opacity: 0.92;
    filter: drop-shadow(0 0 0 rgba(46, 214, 110, 0.14));
  }
  64% {
    opacity: 1;
    filter: drop-shadow(0 0 3px rgba(46, 214, 110, 0.28));
  }
  100% {
    opacity: 0.92;
    filter: drop-shadow(0 0 0 rgba(46, 214, 110, 0.14));
  }
}

@keyframes clock-confetti-1 {
  0%, 45% { opacity: 0; transform: translate(0, 0) scale(0.88); }
  56% { opacity: 0.82; transform: translate(0, -2px) scale(1); }
  67%, 100% { opacity: 0; transform: translate(0, -3.6px) scale(0.84); }
}

@keyframes clock-confetti-2 {
  0%, 45% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.88); }
  56% { opacity: 0.76; transform: translate(2.2px, -1.5px) rotate(12deg) scale(1); }
  67%, 100% { opacity: 0; transform: translate(3.6px, -2.7px) rotate(20deg) scale(0.84); }
}

@keyframes clock-confetti-3 {
  0%, 45% { opacity: 0; transform: translate(0, 0) scale(0.88); }
  56% { opacity: 0.72; transform: translate(2.5px, 0.4px) scale(1); }
  67%, 100% { opacity: 0; transform: translate(4px, 0.8px) scale(0.84); }
}

@keyframes clock-confetti-4 {
  0%, 45% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.88); }
  56% { opacity: 0.76; transform: translate(1.6px, 2px) rotate(-10deg) scale(1); }
  67%, 100% { opacity: 0; transform: translate(2.6px, 3.4px) rotate(-18deg) scale(0.84); }
}

@keyframes clock-confetti-5 {
  0%, 45% { opacity: 0; transform: translate(0, 0) scale(0.88); }
  56% { opacity: 0.78; transform: translate(-1.6px, 2px) scale(1); }
  67%, 100% { opacity: 0; transform: translate(-2.6px, 3.4px) scale(0.84); }
}

@keyframes clock-confetti-6 {
  0%, 45% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.88); }
  56% { opacity: 0.72; transform: translate(-2.5px, 0.4px) rotate(11deg) scale(1); }
  67%, 100% { opacity: 0; transform: translate(-4px, 0.8px) rotate(20deg) scale(0.84); }
}

@keyframes clock-confetti-7 {
  0%, 45% { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.88); }
  56% { opacity: 0.76; transform: translate(-2.2px, -1.5px) rotate(-12deg) scale(1); }
  67%, 100% { opacity: 0; transform: translate(-3.6px, -2.7px) rotate(-20deg) scale(0.84); }
}


.trust-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 500;
  color: #12354a;
}

.trust-text {
  margin: 0;
  color: #4a6272;
  font-size: 14px;
  line-height: 1.6;
}

.trust-partner-logos {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 2px;
}

.trust-partner-logo {
  display: block;
  width: auto;
  object-fit: contain;
}

.trust-partner-logo--postfinance {
  height: 15.12px;
}

.trust-partner-logo--tellco {
  height: 10.08px;
}

.trust-card--partnership .trust-icon {
  color: #2ed66e;
}

.partnership-icon {
  width: 40px;
  height: 40px;
}

.partnership-icon .partnership-icon-line {
  stroke: #142c33;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}

.partnership-title {
  color: #142c33;
}

.partnership-logos {
  position: relative;
  margin-top: 0;
}

.partnership-connector {
  display: block;
  width: 44px;
  height: 1.5px;
  margin: 2px auto 6px;
  background: rgba(46, 214, 110, 0.5);
  border-radius: 999px;
  opacity: 0.55;
}

/* slow story loop when card is in view */
html.js .trust-card--partnership {
  --partnership-loop-duration: 7s;
}

html.js .trust-card--partnership .partnership-icon .partnership-icon-line,
html.js .trust-card--partnership .partnership-title,
html.js .trust-card--partnership .partnership-connector,
html.js .trust-card--partnership .partnership-logo {
  opacity: 0;
  transform: translateY(4px);
}

html.js .trust-card--partnership .partnership-icon .partnership-icon-line {
  transform: none;
  stroke-dashoffset: 40;
}

html.js .trust-card--partnership.is-in-view .partnership-icon .partnership-icon-line {
  animation: partnership-icon-draw-once 650ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

html.js .trust-card--partnership.is-in-view .partnership-title {
  animation: partnership-title-loop var(--partnership-loop-duration) ease-out infinite;
}

html.js .trust-card--partnership.is-in-view .partnership-connector {
  animation: partnership-connector-loop var(--partnership-loop-duration) ease-out infinite;
}

html.js .trust-card--partnership.is-in-view .partnership-logo--postfinance {
  animation: partnership-logo-postfinance-loop var(--partnership-loop-duration) ease-out infinite;
}

html.js .trust-card--partnership.is-in-view .partnership-logo--tellco {
  animation: partnership-logo-tellco-loop var(--partnership-loop-duration) ease-out infinite;
}

@keyframes partnership-icon-draw-once {
  0% {
    opacity: 0;
    stroke-dashoffset: 40;
  }
  10% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes partnership-title-loop {
  0%, 8% {
    opacity: 0;
    transform: translateY(4px);
  }
  14%, 100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes partnership-connector-loop {
  0%, 12% {
    opacity: 0;
    transform: scaleX(0.6);
    box-shadow: 0 0 0 rgba(46, 214, 110, 0);
  }
  19% {
    opacity: 0.65;
    transform: scaleX(1);
    box-shadow: 0 0 4px rgba(46, 214, 110, 0.22);
  }
  28%, 100% {
    opacity: 0.52;
    transform: scaleX(1);
    box-shadow: 0 0 0 rgba(46, 214, 110, 0);
  }
}

@keyframes partnership-logo-postfinance-loop {
  0%, 15% {
    opacity: 0;
    transform: translateY(6px);
  }
  20%, 100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes partnership-logo-tellco-loop {
  0%, 18% {
    opacity: 0;
    transform: translateY(6px);
  }
  24%, 100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animated-lock-icon {
  width: 40px;
  height: 40px;
  --lock-base: #142c33;
  --lock-accent: #2ed66e;
  --lock-bg: #ffffff;
  --lock-loop-duration: 2.2s;
}

.section--dark .animated-lock-icon {
  --lock-base: #ffffff;
  --lock-bg: #1c232a;
}

.section--dark .privacy-box {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
}

.section--dark .privacy-box .trust-icon--privacy {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
}

.section--dark .privacy-box .section-kicker,
.section--dark .privacy-box .section-title,
.section--dark .privacy-box .section-lead,
.section--dark .privacy-box .ifz-points {
  grid-column: 2;
}

.animated-lock-icon .lock-body {
  fill: none;
  stroke: var(--lock-base);
  stroke-width: 1.45;
  opacity: 0;
}

.animated-lock-icon .lock-shackle-wrap {
  transform-box: view-box;
  transform-origin: 9px 10.4px;
  transform: rotate(-14deg);
}

.animated-lock-icon .lock-body-cap {
  fill: var(--lock-bg);
  stroke: none;
  opacity: 0;
}

.animated-lock-icon .lock-shackle {
  fill: none;
  stroke: var(--lock-base);
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
  opacity: 0;
}

.animated-lock-icon .lock-spark {
  stroke: var(--lock-accent);
  fill: var(--lock-accent);
  stroke-width: 1.1;
  stroke-linecap: round;
  opacity: 0;
  transform-origin: center;
}

html.js .trust-card--lock.is-in-view .animated-lock-icon .lock-body,
html.js .trust-card--lock.is-in-view .animated-lock-icon .lock-body-cap,
html.js .section--dark .privacy-box.is-in-view .animated-lock-icon .lock-body,
html.js .section--dark .privacy-box.is-in-view .animated-lock-icon .lock-body-cap {
  animation: lock-body-loop var(--lock-loop-duration) ease-out infinite;
}

html.js .trust-card--lock.is-in-view .animated-lock-icon .lock-shackle-wrap,
html.js .section--dark .privacy-box.is-in-view .animated-lock-icon .lock-shackle-wrap {
  animation: lock-shackle-rotate var(--lock-loop-duration) cubic-bezier(0.24, 0.72, 0.25, 1) infinite;
}

html.js .trust-card--lock.is-in-view .animated-lock-icon .lock-shackle,
html.js .section--dark .privacy-box.is-in-view .animated-lock-icon .lock-shackle {
  animation: lock-shackle-draw var(--lock-loop-duration) ease-out infinite;
}

html.js .trust-card--lock.is-in-view .animated-lock-icon .lock-spark--1,
html.js .section--dark .privacy-box.is-in-view .animated-lock-icon .lock-spark--1 { animation: lock-spark-1 var(--lock-loop-duration) ease-out infinite; }
html.js .trust-card--lock.is-in-view .animated-lock-icon .lock-spark--2,
html.js .section--dark .privacy-box.is-in-view .animated-lock-icon .lock-spark--2 { animation: lock-spark-2 var(--lock-loop-duration) ease-out infinite; }
html.js .trust-card--lock.is-in-view .animated-lock-icon .lock-spark--3,
html.js .section--dark .privacy-box.is-in-view .animated-lock-icon .lock-spark--3 { animation: lock-spark-3 var(--lock-loop-duration) ease-out infinite; }
html.js .trust-card--lock.is-in-view .animated-lock-icon .lock-spark--4,
html.js .section--dark .privacy-box.is-in-view .animated-lock-icon .lock-spark--4 { animation: lock-spark-4 var(--lock-loop-duration) ease-out infinite; }
html.js .trust-card--lock.is-in-view .animated-lock-icon .lock-spark--5,
html.js .section--dark .privacy-box.is-in-view .animated-lock-icon .lock-spark--5 { animation: lock-spark-5 var(--lock-loop-duration) ease-out infinite; }
html.js .trust-card--lock.is-in-view .animated-lock-icon .lock-spark--6,
html.js .section--dark .privacy-box.is-in-view .animated-lock-icon .lock-spark--6 { animation: lock-spark-6 var(--lock-loop-duration) ease-out infinite; }
html.js .trust-card--lock.is-in-view .animated-lock-icon .lock-spark--7,
html.js .section--dark .privacy-box.is-in-view .animated-lock-icon .lock-spark--7 { animation: lock-spark-7 var(--lock-loop-duration) ease-out infinite; }
html.js .trust-card--lock.is-in-view .animated-lock-icon .lock-spark--8,
html.js .section--dark .privacy-box.is-in-view .animated-lock-icon .lock-spark--8 { animation: lock-spark-8 var(--lock-loop-duration) ease-out infinite; }

@keyframes lock-body-loop {
  0% { opacity: 0; }
  14% { opacity: 1; }
  100% { opacity: 1; }
}

@keyframes lock-shackle-rotate {
  0%, 14% { transform: rotate(-14deg); }
  46%, 100% { transform: rotate(0deg); }
}

@keyframes lock-shackle-draw {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
  }
  14% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
  }
}

@keyframes lock-spark-1 {
  0%, 45% { opacity: 0; transform: translate(0, 0) scale(0.88); }
  56% { opacity: 0.82; transform: translate(0, -2px) scale(1); }
  67%, 100% { opacity: 0; transform: translate(0, -3.6px) scale(0.84); }
}

@keyframes lock-spark-2 {
  0%, 45% { opacity: 0; transform: translate(0, 0) scale(0.88); }
  56% { opacity: 0.76; transform: translate(2.2px, -1.5px) scale(1); }
  67%, 100% { opacity: 0; transform: translate(3.6px, -2.7px) scale(0.84); }
}

@keyframes lock-spark-3 {
  0%, 45% { opacity: 0; transform: translate(0, 0) scale(0.88); }
  56% { opacity: 0.72; transform: translate(2.5px, 0.4px) scale(1); }
  67%, 100% { opacity: 0; transform: translate(4px, 0.8px) scale(0.84); }
}

@keyframes lock-spark-4 {
  0%, 45% { opacity: 0; transform: translate(0, 0) scale(0.88); }
  56% { opacity: 0.76; transform: translate(1.6px, 2px) scale(1); }
  67%, 100% { opacity: 0; transform: translate(2.6px, 3.4px) scale(0.84); }
}

@keyframes lock-spark-5 {
  0%, 45% { opacity: 0; transform: translate(0, 0) scale(0.88); }
  56% { opacity: 0.78; transform: translate(-1.6px, 2px) scale(1); }
  67%, 100% { opacity: 0; transform: translate(-2.6px, 3.4px) scale(0.84); }
}

@keyframes lock-spark-6 {
  0%, 45% { opacity: 0; transform: translate(0, 0) scale(0.88); }
  56% { opacity: 0.72; transform: translate(-2.5px, 0.4px) scale(1); }
  67%, 100% { opacity: 0; transform: translate(-4px, 0.8px) scale(0.84); }
}

@keyframes lock-spark-7 {
  0%, 45% { opacity: 0; transform: translate(0, 0) scale(0.88); }
  56% { opacity: 0.76; transform: translate(-2.2px, -1.5px) scale(1); }
  67%, 100% { opacity: 0; transform: translate(-3.6px, -2.7px) scale(0.84); }
}

@keyframes lock-spark-8 {
  0%, 45% { opacity: 0; transform: translate(0, 0) scale(0.88); }
  56% { opacity: 0.68; transform: translate(0, 2px) scale(1); }
  67%, 100% { opacity: 0; transform: translate(0, 3.3px) scale(0.84); }
}

/* ── Section headings ── */
.section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.015em;
  color: #12354a;
  margin: 0 0 20px;
}

.section-title--light { color: var(--text); }

.section-lead {
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.65;
  color: #4a6272;
  margin: 0;
  max-width: 640px;
}

.section-lead--light { color: var(--muted); }

.section-body {
  font-size: 16px;
  line-height: 1.7;
  color: #4a6272;
  margin: 18px 0 0;
  margin-left: 20px;
  margin-right: 20px;
  background-color: rgba(244, 245, 245, 1);
  max-width: 580px;
}

/* ── Two-column layout (hintergrund) ── */
.two-col-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.two-col-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Highlight cards ── */
.highlight-card {
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  background: #fff;
  box-shadow: 0 2px 12px rgba(18, 53, 74, 0.05);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.highlight-card:hover {
  box-shadow: 0 8px 28px rgba(18, 53, 74, 0.1);
  transform: translateY(-2px);
}

.highlight-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(47, 203, 99, 0.1);
  color: var(--brand-solid);
  flex-shrink: 0;
}

.highlight-icon svg { width: 18px; height: 18px; }

.highlight-title {
  font-size: 16px;
  font-weight: 500;
  color: #12354a;
  margin: 0;
}

.highlight-body {
  font-size: 14px;
  line-height: 1.6;
  color: #4a6272;
  margin: 0;
}

/* ── IFZ section ── */
.ifz-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: start;
}

.ifz-points {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ifz-point {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
}

.ifz-point-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
  margin-top: 8px;
}

.section--dark .privacy-box .ifz-point-dot {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  border-radius: 0;
  background: url("./assets/tick-green-icon.svg") center / contain no-repeat;
}

/* Make privacy section content use full row width */
.section--dark .privacy-box .section-title,
.section--dark .privacy-box .section-lead,
.section--dark .privacy-box .ifz-points,
.section--dark .privacy-box .ifz-point {
  width: 100%;
  max-width: none;
}

.ifz-stat-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 200px;
}

.ifz-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
}

.ifz-stat-value {
  font-family: "Google Sans", Alaska, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--brand);
  line-height: 1;
}

.ifz-stat-label {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* ── Modules ── */
.modules-header {
  text-align: center;
  margin-bottom: 56px;
}

.modules-header .section-lead { margin: 0 auto; }

.modules-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  counter-reset: none;
}

.module-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 32px 36px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  background: #fff;
  box-shadow: 0 2px 12px rgba(18, 53, 74, 0.05);
  transition: box-shadow 0.22s ease, transform 0.22s ease;
}

.module-card:hover {
  box-shadow: 0 10px 32px rgba(18, 53, 74, 0.1);
  transform: translateY(-2px);
}

.module-number {
  font-family: "Google Sans", Alaska, Helvetica, sans-serif;
  font-size: 48px;
  font-weight: 500;
  color: rgba(18, 53, 74, 0.08);
  line-height: 1;
  flex-shrink: 0;
  width: 56px;
  letter-spacing: -0.03em;
  user-select: none;
}

.module-body { flex: 1; min-width: 0; }

.module-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.module-method {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-solid);
  background: rgba(47, 203, 99, 0.1);
  padding: 3px 10px;
  border-radius: 999px;
}

.module-period {
  font-size: 12px;
  color: #8a9fac;
  letter-spacing: 0.04em;
}

.module-title {
  font-size: 20px;
  font-weight: 500;
  color: #12354a;
  margin: 0 0 10px;
  line-height: 1.25;
}

.module-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #4a6272;
  margin: 0;
}

/* Active status badge */
.module-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.module-status--active { color: var(--brand-solid); }

.module-status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* Progress bar */
.module-progress {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.module-progress-bar {
  height: 5px;
  border-radius: 999px;
  background: var(--page-light-deep, #eef3f7);
  position: relative;
  overflow: hidden;
}

.module-progress-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--pct, 0%);
  background: var(--brand-solid);
  border-radius: inherit;
  transition: width 1s var(--motion-in-ease);
}

.module-progress-label {
  font-size: 12px;
  color: #8a9fac;
}

/* ── Partners ── */
.partners-header {
  text-align: center;
  margin-bottom: 48px;
}

.partners-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
  min-width: 180px;
  transition: background 0.2s ease;
}

.partner-item:hover { background: rgba(255, 255, 255, 0.08); }

.partner-logo {
  height: 40px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
}

.partner-logo--text { height: 28px; }

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

/* ── Partner thank-you card (above footer) ── */
.study-partners {
  position: relative;
  background: #fff;
  padding: 72px var(--page-gutter) 64px;
}

.study-partners::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0) 0%,
    rgba(18, 25, 32, 0.07) 100%
  );
  pointer-events: none;
}

.study-partners__card {
  position: relative;
  z-index: 1;
  max-width: 1040px;
  margin: 0 auto;
  padding: 48px 64px;
  background: #fff;
  border: 1px solid rgba(18, 53, 74, 0.07);
  border-radius: 32px;
  text-align: center;
}

.study-partners__logos {
  display: flex;
  justify-content: center;
  margin-bottom: 24px;
}

.study-partners__logo-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 52px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.study-partners__logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.study-partners__logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  line-height: 0;
  text-decoration: none;
}

.study-partners__logo {
  display: block;
  width: auto;
  height: calc(32px * 1.3);
  max-width: none;
  object-fit: contain;
  opacity: 1;
  filter: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.study-partners__logo--kmu-swiss {
  height: calc(32px * 1.2 * 1.3);
  width: auto;
  aspect-ratio: 642 / 515;
}

.study-partners__logo--gryps {
  height: calc(32px * 1.3);
  aspect-ratio: 120 / 32;
}

.study-partners__logo-link:hover .study-partners__logo,
.study-partners__logo-link:focus-visible .study-partners__logo {
  opacity: 0.92;
  transform: scale(1.03);
}

.study-partners__text {
  margin: 0 auto;
  max-width: 760px;
  font-family: "Google Sans", Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: -0.01em;
  color: #5f6f76;
}

/* ── Footer ── */
/* ── Scroll animations ── */
html.js .animate-in {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity var(--motion-in-duration) var(--motion-in-ease),
    transform var(--motion-in-duration) var(--motion-in-ease);
  will-change: opacity, transform;
}

html.js .animate-in.is-in-view {
  opacity: 1;
  transform: none;
  will-change: auto;
}

html.js .section-scroll-reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 700ms var(--motion-in-ease),
    transform 700ms var(--motion-in-ease);
}

html.js .section-scroll-reveal.is-in-view {
  opacity: 1;
  transform: none;
}

html.js .animate-in-delay-1 { transition-delay: var(--motion-stagger-step); }
html.js .animate-in-delay-2 { transition-delay: calc(var(--motion-stagger-step) * 2); }
html.js .animate-in-delay-3 { transition-delay: calc(var(--motion-stagger-step) * 3); }
html.js .animate-in-delay-4 { transition-delay: calc(var(--motion-stagger-step) * 4); }
html.js .animate-in-delay-5 { transition-delay: calc(var(--motion-stagger-step) * 5); }

/* Hero entrance */
html.js .hero-entrance-line {
  opacity: 0;
  transform: translate3d(0, 20px, 0);
  transition:
    opacity 560ms var(--motion-in-ease),
    transform 560ms var(--motion-in-ease);
}

html.js .hero.hero-anim--ready .hero-entrance-line { opacity: 1; transform: none; }

html.js .hero.hero-anim--ready .hero-copy-block > .hero-entrance-line:nth-child(1) { transition-delay: 80ms; }
html.js .hero.hero-anim--ready .hero-copy-block > .hero-entrance-line:nth-child(2) { transition-delay: 180ms; }
html.js .hero.hero-anim--ready .hero-copy-block > .hero-entrance-line:nth-child(3) { transition-delay: 280ms; }
html.js .hero.hero-anim--ready .hero-copy-block > .hero-entrance-line:nth-child(4) { transition-delay: 360ms; }
html.js .hero.hero-anim--ready .hero-copy-block > .hero-entrance-line:nth-child(5) { transition-delay: 440ms; }
html.js .hero.hero-anim--ready .hero-copy-block > .hero-entrance-line:nth-child(6) { transition-delay: 520ms; }
html.js .hero.hero-anim--ready .hero-partners-attribution.hero-entrance-line { transition-delay: 600ms; }

/* Hero image entrance (same feel as scaleup-financing) */
html.js .hero-visual.hero-entrance-bg .hero-visual-img {
  opacity: 0.82;
  transform: translate3d(34px, 0, 0) scale(1.03);
  transition:
    transform 880ms var(--motion-in-ease),
    opacity 720ms var(--motion-in-ease);
}

html.js .hero-visual.hero-entrance-bg.hero-anim--img-ready .hero-visual-img {
  opacity: 1;
  transform: none;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  html.js .animate-in,
  html.js .hero-entrance-line,
  html.js .hero-visual.hero-entrance-bg .hero-visual-img,
  html.js .section-scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .animated-clock-icon .clock-ring {
    animation: none !important;
    stroke-dashoffset: 0;
    opacity: 0.84;
  }

  .animated-clock-icon .clock-hour-hand,
  .animated-clock-icon .clock-minute-hand,
  .animated-clock-icon .clock-center-dot {
    animation: none !important;
    filter: none !important;
  }

  .animated-clock-icon .clock-minute-hand {
    transform: rotate(0deg);
  }

  .animated-clock-icon .clock-confetti .confetti-piece {
    animation: none !important;
    opacity: 0 !important;
  }

  html.js .trust-card--partnership .partnership-icon .partnership-icon-line,
  html.js .trust-card--partnership .partnership-title,
  html.js .trust-card--partnership .partnership-connector,
  html.js .trust-card--partnership .partnership-logo {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  html.js .trust-card--partnership .partnership-icon .partnership-icon-line {
    stroke-dasharray: none !important;
    stroke-dashoffset: 0 !important;
  }

  .animated-lock-icon .lock-body,
  .animated-lock-icon .lock-body-cap,
  .animated-lock-icon .lock-shackle-wrap,
  .animated-lock-icon .lock-shackle,
  .animated-lock-icon .lock-spark {
    animation: none !important;
    filter: none !important;
  }

  .animated-lock-icon .lock-body,
  .animated-lock-icon .lock-body-cap,
  .animated-lock-icon .lock-shackle {
    opacity: 1 !important;
  }

  .animated-lock-icon .lock-shackle-wrap {
    transform: rotate(0deg) !important;
  }

  .animated-lock-icon .lock-shackle {
    stroke-dashoffset: 0 !important;
  }

  .animated-lock-icon .lock-spark {
    opacity: 0 !important;
  }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  :root { --page-gutter: 28px; }
  .header-actions {
    justify-content: flex-start;
    width: 100%;
  }
  .top-header {
    padding-left: 0;
    padding-right: max(var(--page-gutter), env(safe-area-inset-right, 0px));
    padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
  }
  .top-header-inner {
    width: 100%;
    max-width: none;
  }
  .header-hslu-link {
    align-self: flex-start;
    width: fit-content;
    max-width: calc(100% - var(--page-gutter));
    gap: 6px;
    padding: 12px 14px;
    padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
    border-radius: 0 14px 14px 0;
  }

  .header-hslu-link picture {
    display: block;
    line-height: 0;
  }

  .header-hslu-logo {
    max-width: none;
    width: auto;
    object-position: left top;
  }

  .hero-hslu-attribution {
    width: fit-content;
    max-width: 100%;
    gap: 4px;
  }

  .hero-hslu-attribution__link {
    width: fit-content;
    max-width: none;
  }

  .hero-hslu-attribution__logo {
    max-width: none;
    width: auto;
  }

  .section { padding: 140px 0; }
  .study-partners {
    padding: 64px var(--page-gutter) 56px;
  }

  .study-partners__card {
    padding: 40px 48px;
    border-radius: 28px;
  }
  .topics-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-width: 760px;
  }
  .topic-item:not(:last-child)::after {
    display: none;
  }
  .hero {
    position: relative;
    overflow: hidden;
    background:
      #081218
      url("./assets/heroimg.png")
      65% center / cover no-repeat;
    padding: 44px 0 clamp(80px, 12vh, 130px);
    min-height: clamp(580px, 88svh, 820px);
  }

  .hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to right,
      rgba(8, 18, 24, 0.86) 0%,
      rgba(8, 18, 24, 0.68) 50%,
      rgba(8, 18, 24, 0.45) 100%
    );
    pointer-events: none;
    z-index: 1;
  }
  .hero-grid { max-width: min(1100px, calc(100% - 2 * var(--page-gutter))); }
  .hero-grid { position: relative; z-index: 2; }
  .hero-left {
    position: relative;
    z-index: 3;
    min-height: calc(100dvh - clamp(90px, 14vh, 150px));
    padding-bottom: 52px;
  }
  .hero-right { display: none; }
  .hero-title { white-space: normal; }
  .hero-lead { color: rgba(255, 255, 255, 0.9); }
  .hero-reassurance { color: rgba(255, 255, 255, 0.5); }
  .hero-reassurance { flex-wrap: wrap; }
  .hero-partners-attribution {
    --hero-logo-pf: 25px;
    --hero-logo-tellco: 44px;
    --hero-logo-kamuno: 16px;
    max-width: 100%;
  }
  .hero-partners-attribution .hero-partners {
    max-width: 100%;
    gap: 14px;
  }
  .trust-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .two-col-layout { grid-template-columns: 1fr; gap: 48px; }
  .ifz-layout { grid-template-columns: 1fr; gap: 40px; }
  .ifz-stat-grid { flex-direction: row; flex-wrap: wrap; }
  .ifz-stat { flex: 1 1 140px; }
  .module-card { flex-direction: column; gap: 12px; padding: 26px 24px; }
  .module-number { font-size: 32px; width: auto; }
}

@media (max-width: 600px) {
  :root { --page-gutter: 20px; }

  .header-hslu-link {
    gap: 5px;
    padding: 10px 12px;
    padding-left: max(var(--page-gutter), env(safe-area-inset-left, 0px));
  }

  .section,
  .section.section--study-intro,
  .section.section--dark,
  .section.section--partners,
  .section.section--light,
  .section.section--cta-final,
  #vorteile,
  #themen {
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .study-partners {
    padding: 48px var(--page-gutter) 44px;
  }

  .study-partners__card {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .study-partners__logos {
    margin-bottom: 20px;
  }

  .study-partners__logo-list {
    gap: 16px 28px;
  }

  .study-partners__logo,
  .study-partners__logo--gryps {
    height: calc(26px * 1.3);
  }

  .study-partners__logo--kmu-swiss {
    height: calc(26px * 1.2 * 1.3);
  }

  .study-partners__text {
    font-size: 14px;
    line-height: 1.58;
    max-width: 100%;
  }

  .study-partners::after {
    height: 32px;
  }

  .topics-flow {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }
  .topic-item {
    min-height: 56px;
  }
  .study-note {
    margin-top: 24px;
    padding: 20px 22px;
    border-radius: 22px;
    gap: 12px;
  }

  .study-note__text {
    padding-top: 4px;
    font-size: 14px;
    line-height: 1.6;
  }
  .hero {
    background-position: 66% center;
    min-height: max(680px, 100svh);
    min-height: max(680px, 100dvh);
    padding: 32px 0 40px;
    display: flex;
    flex-direction: column;
  }

  .hero-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero-left {
    flex: 1;
    min-height: max(520px, calc(100dvh - 96px));
    padding-bottom: 32px;
  }
  .hero::after {
    background: linear-gradient(
      to bottom,
      rgba(8, 18, 24, 0.82) 0%,
      rgba(8, 18, 24, 0.68) 45%,
      rgba(8, 18, 24, 0.88) 100%
    );
  }
  .trust-grid { grid-template-columns: 1fr; }
  .hero-actions { width: 100%; }
  .hero-actions .hero-cta-primary {
    width: 100%;
    max-width: 100%;
    justify-content: center;
  }
  .hero-reassurance { font-size: 12px; line-height: 1.55; }
  .hero-hslu-attribution {
    margin-bottom: 14px;
    gap: 3px;
  }

  .hero-hslu-attribution__logo {
    height: 20px;
  }
  .hero-partners-attribution {
    width: 100%;
    max-width: 100%;
    --hero-logo-pf: 26px;
    --hero-logo-tellco: 44px;
    --hero-logo-kamuno: 16px;
  }
  .hero-partners-attribution .hero-partners {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    gap: clamp(12px, 4vw, 20px);
  }
  .hero-partners-attribution .hero-partner-link {
    flex: 1 1 0;
    min-width: 0;
    justify-content: center;
  }
  .hero-partners-attribution .hero-partner-logo {
    max-width: 100%;
  }
  .trust-card { text-align: center; }
  .trust-partner-logos { justify-content: center; }
  .partners-grid { gap: 12px; }
  .partner-item { min-width: 140px; padding: 20px 20px; }
}

@media (max-width: 380px) {
  .hero-partners-attribution {
    --hero-logo-pf: 22px;
    --hero-logo-tellco: 38px;
    --hero-logo-kamuno: 14px;
  }

  .hero-partners-attribution .hero-partners {
    gap: 10px;
  }
}

@media (min-width: 1025px) {
  .hero {
    padding-top: 72px;
    padding-bottom: clamp(100px, 16vh, 200px);
  }

  .hero-partners-attribution {
    --hero-logo-pf: 24px;
    --hero-logo-tellco: 42px;
    --hero-logo-kamuno: 15px;
  }

  .hero-partners {
    gap: 14px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    column-gap: clamp(24px, 4vw, 56px);
    row-gap: 60px;
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: max(var(--page-gutter), calc((100vw - 1100px) / 2));
    padding-right: 0;
    box-sizing: border-box;
  }

  .hero-grid {
    align-items: stretch;
    min-height: min(560px, 78vh);
  }

  .hero-left {
    min-height: 100%;
    padding-bottom: 56px;
  }


  .hero-right {
    align-self: stretch;
    min-height: 0;
  }

  .hero-visual {
    max-height: none;
    min-height: 100%;
    border-radius: 28px 0 0 28px;
  }
}
