@font-face {
  font-family: "newsreader";
  src:
    url("../fonts/newsreader-regular.woff2") format("woff2"),
    url("../fonts/newsreader-regular.woff") format("woff");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "newsreader";
  src:
    url("../fonts/newsreader-italic.woff2") format("woff2"),
    url("../fonts/newsreader-italic.woff") format("woff");
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "inter";
  src:
    url("../fonts/inter-regular.woff2") format("woff2"),
    url("../fonts/inter-regular.woff") format("woff");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "inter";
  src:
    url("../fonts/inter-italic.woff2") format("woff2"),
    url("../fonts/inter-italic.woff") format("woff");
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
}

:root {
  /* · · · Farben – basics · · · */
  --basics-black: #000000;
  --basics-white: #ffffff;
  --basics-charcoal-grey: #1c1c1c;
  --basics-shadow-grey: #2c3749;
  --basics-sky-blue: #387fcf;
  --basics-lake-blue: #4d93e3;

  /* · · · Farben – blue · · · */
  --blue-main: #4c93e3;
  --blue-1: #a3c7f0;
  --blue-2: #bcd7f4;
  --blue-3: #cde1f7;
  --blue-4: #6ab1ff;

  /* · · · Farben – shades-of-blue · · · */
  --shades-of-blue-blue-1: #387fcf;
  --shades-of-blue-blue-2: #4d93e3;
  --shades-of-blue-blue-3: #77b0ef;
  --shades-of-blue-blue-4: #97c4f6;
  --shades-of-blue-blue-5: #b8d6f8;
  --shades-of-blue-blue-6: #e3effd;

  /* · · · Farben – website · · · */
  --website-nav-bg: #ffffff4d;
  --website-pill-bg-blue-1: #beddfb;
  --website-pill-bg-blue-2: #e6f1fb;
  --website-pill-bg-blue-3: #dceaf9;

  /* · · · Gradienten (Figma Styles) · · · */
  --gradient-hero: linear-gradient(
    91deg,
    var(--blue-3) 48.74%,
    var(--blue-2) 62.53%,
    var(--blue-1) 74.12%
  );

  --gradient-main: linear-gradient(
    115deg,
    var(--blue-1) 0%,
    var(--blue-2) 45.673%,
    var(--blue-3) 100%
  );

  --gradient-white: linear-gradient(
    92.3deg,
    var(--blue-3) 48.744%,
    var(--blue-2) 62.531%,
    var(--blue-1) 74.121%
  );
  --gradient-box: linear-gradient(
    139.7deg,
    var(--blue-3) 9.4%,
    #b3d7ff 69.118%,
    #60a7f5 139.09%
  );
  --gradient-icons: linear-gradient(
    -44.7deg,
    var(--shades-of-blue-blue-3) 7.573%,
    var(--shades-of-blue-blue-1) 92.843%
  );

  /* FONT-FAMILY */
  --font-headline: "newsreader", serif;
  --font-body: "inter", sans-serif;

  /* FONT-SIZE */

  --fs-h2-hero: clamp(0.9375rem, 1.042vw, 1.25rem); /* Figma reg-20: 20px */
  --fs-h3: clamp(1.125rem, 1.25vw, 1.5rem); /* Figma H3: 24px */
  --fs-card-kicker: clamp(0.9375rem, 1.042vw, 1.25rem);
  --fs-card-title: clamp(1.125rem, 1.25vw, 1.5rem); /* Figma H3: 24px */
  --fs-card-text: clamp(1rem, 0.833vw, 1rem); /* Figma reg-16: 16px */
  --fs-button: clamp(1rem, 0.833vw, 1rem); /* Figma semi-bold-16: 16px */
  --fs-nav: clamp(1rem, 0.833vw, 1rem); /* Figma reg-16: 16px */

  /* Border Radius */
  --radius-card: 1rem;
  /* 15px */
  --radius-btn: 500px;
  /*  4px */
  --radius-nav-btn: 0.3125rem;
  /*  5px */

  /* Nav */
  --nav-height: 4.5rem;
  /* 72px – Figma */
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  color: var(--basics-black);
  background-color: var(--white-main);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

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

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

ul {
  list-style: none;
}

p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-style: normal;
  font-weight: 300;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

h1 {
  font-family: var(--font-headline);
  font-size: clamp(32px, 1.1rem + 4.5vw, 4rem);
  font-style: normal;
  font-weight: 400;
  color: var(--basics-charcoal-grey);
  line-height: 1.12;
}

h2 {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 3vw, 3rem); /* Figma H2: 48px */
  font-style: normal;
  font-weight: 400;
  line-height: 1.16;
}

h2.fade-in-h2 {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

h2.fade-in-h2.is-visible {
  opacity: 1;
  transform: translateY(0);
}

p.fade-in-p {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

p.fade-in-p.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* loesung card-big inner animations */
.loesung .card.card-big {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.loesung .card.card-big.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.loesung-fade {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.loesung-fade.is-visible {
  opacity: 1;
}

.card-big-feature.loesung-grow {
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.card-big-feature.loesung-grow.is-visible {
  opacity: 1;
  transform: scale(1);
}

h3 {
  font-family: var(--font-body);
  font-size: var(--fs-h3);
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
}

.kicker {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
}

.kicker.fade-in-kicker {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.kicker.fade-in-kicker.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ——————————————————————————————————————
   NAVIGATION
   —————————————————————————————————————— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #eff6ffbf;
  backdrop-filter: blur(16px);
  border-bottom: 0.8px solid #deeeff;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem; /* 72px – Figma */
  padding-left: 4.5vw;
  padding-right: 4.5vw;
  width: 100%;
  @media (min-width: 1600px) {
    max-width: 1440px;
    margin: 0 auto;
  }
}

.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo img {
  width: 9rem;
  height: auto;
  display: block;
}

/* Figma: gap 145px zwischen den Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 10.068vw, 9.063rem); /* 145px at 1440px */
  list-style: none;
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--fs-nav); /* 16px */
  font-weight: 400;
  line-height: 1.5;
  color: var(--basics-charcoal-grey);
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.nav-link:hover {
  color: var(--basics-sky-blue);
}

.hamburger-menu {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--basics-charcoal-grey);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ——————————————————————————————————————
    UTILITY & BASICS
—————————————————————————————————————— */
.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.justify {
  text-align: justify;
}

.inner {
  padding: 80px 4.5vw 80px 4.5vw;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;

  @media (max-width: 900px) {
    max-width: unset;
    padding: 40px 5vw 40px 5vw;
  }
}

.container-flex {
  display: flex;
  flex-direction: column;
}

.container-grid {
  display: grid;
}

.content-wrap {
  gap: 40px;
  @media (max-width: 1199px) {
    gap: 32px;
  }
  @media (max-width: 999px) {
    gap: 22px;
  }
}

.text-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ——————————————————————————————————————
SITE-SPECIFIC UTILITY
   —————————————————————————————————————— */

.bg-hero {
  background: var(--gradient-hero);
}

.bg-blue {
  background: var(--gradient-main);
}

.bg-white {
  background: var(--basics-white);
}

/* ——————————————————————————————————————
   BUTTON 
   —————————————————————————————————————— */

.button {
  width: 100%;
  max-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 0 0;
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: var(--fs-button);
  font-weight: 400;
  border-radius: var(--radius-btn);
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  text-decoration: none;
  @media (max-width: 400px) {
    max-width: unset;
  }
}
.button-blau {
  background: var(--basics-sky-blue);
  color: var(--basics-white);
  box-shadow: 12px 10px 13px 2px var(--blue-light);
  position: relative;
  isolation: isolate;
  transition: box-shadow 0.3s ease;
}

.button-blau::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    130deg,
    var(--blue-4) 7.17%,
    var(--blue-main) 83.91%
  );
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.button-blau:hover::after {
  opacity: 1;
}

.button-blau:hover {
  box-shadow: 0 4px 4px 0 rgba(16, 87, 167, 0.2);
}

/* BASE CARD */
.card {
  border-radius: var(--radius-card);
  /* 15px */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Figma: card headlines VERTICAL gap: 8px */
.card-headlines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  /* 8px */
}

.headline-wrap {
  display: grid;
  gap: 16px;
}

/* ——————————————————————————————————————
    HERO SECTION
   —————————————————————————————————————— */

.hero {
  position: relative;
  overflow: hidden;
  margin-top: -5rem;
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding-top: 5.1rem;
  .text-wrap {
    max-width: 45rem;
  }

  @media (max-width: 699px) {
    min-height: 64vh;
  }
}

.hero-pills {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  margin-top: -11vh;
  right: 30px;
  @media (max-width: 990px) {
    display: none;
  }
}

.hero-pills .pill {
  width: 380px;
  height: 920px;
  will-change: transform;
}

.pill--3 {
  background: var(--website-pill-bg-blue-3);
  left: calc(100% - 580px);
  top: 190px;
}

.pill--2 {
  background: var(--website-pill-bg-blue-2);
  left: calc(100% - 400px);
  top: 100px;
}

.pill--1 {
  background: var(--website-pill-bg-blue-1);
  left: calc(100% - 200px);
  top: 0;
}

#hero .inner {
  position: relative;
  z-index: 1;
}

/* ——————————————————————————————————————
   SECTION: HERAUSFORDERUNGEN – Stats
   Figma: node 665:1302, bg: basics/white
   h2 rechts, Newsreader 48px/56px
   3 Fakten mit Trennlinien, Inter Bold 80px sky-blue
   —————————————————————————————————————— */

.herausforderungen {
  .text-wrap {
    max-width: 45rem;
    align-self: flex-end;
  }
}

/* h2 rechtsbündig, max-width 740px (Figma) */
.stats-headline {
  color: var(--basics-charcoal-grey);
  text-align: right;
  max-width: 46.25rem; /* 740px */
  margin-left: auto;
}

/* Flex-Row mit 3 Facts und Trennlinien dazwischen */
.facts-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  align-self: center;
  @media (min-width: 1200px) {
    max-width: 85%;
  }
}

.fact {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 24px;
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.fact.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Zahl + Einheit nebeneinander, Baseline-aligned */
.fact-number {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  color: var(--basics-sky-blue);
}

.fact-value {
  font-family: var(--font-body);
  font-size: clamp(3rem, 5.558vw, 5rem); /* 80px at 1440px – Figma bold-80 */
  font-weight: 700;
  line-height: 1;
}

.fact-unit {
  font-family: var(--font-body);
  font-size: var(--fs-h3); /* 24px – Figma */
  font-weight: 700;
  line-height: 1;
  padding-bottom: 0.6rem; /* Baseline mit der großen Zahl alignen */
}

.fact-desc-wrap {
  display: flex;
}

.fact-desc {
  font-weight: 400;
  line-height: 1.5;
  color: var(--basics-shadow-grey);
  text-align: left;
  margin-right: 8px;
}

.fact-info-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27.1px;
  height: 27.1px;
  border-radius: 50%;
  background-color: var(--basics-sky-blue);
  color: var(--basics-white);
  cursor: pointer;
  flex-shrink: 0;
  vertical-align: middle;
  margin-left: 0.25rem;
  border: none;
  padding: 0;
  appearance: none;
}

.loesung .fact-info-button {
  @media (min-width: 900px) {
    top: -15px;
  }

  p {
    font-size: 0.8rem;
  }
}

/* "i" im Kreis */
.fact-info-button .fact-info-icon {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: var(--basics-white);
}

.fact-info-button p br {
  @media (min-width: 1300px) {
    display: none;
  }
}

.fact-info-content {
  background-color: var(--basics-sky-blue);
  color: var(--basics-white);
  position: absolute;
  top: 0;
  left: 0;
  padding: 4px 18px;
  border-radius: var(--radius-btn);
  font-size: 0.8rem;
  font-family: var(--font-body);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

/* Hover auf Button → Content sichtbar.
   Da fact-info-content ein Kind von fact-info-button ist,
   bleibt der Hover aktiv wenn man zur Source-Link fährt. */
.fact-info-button:hover .fact-info-content,
.fact-info-button.is-open .fact-info-content {
  opacity: 1;
  pointer-events: auto;
}

.fact-info-content a:hover {
  text-decoration: underline;
}

/* Vertikale Trennlinie zwischen den Facts – Figma: 173px hoch */
.fact-divider {
  width: 3px;
  height: 10.8125rem; /* 173px */
  background-color: var(--basics-sky-blue);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.06s ease;
}

.fact-divider.is-visible {
  opacity: 1;
}

@media (max-width: 990px) {
  .facts-row {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    margin-top: 22px;
    max-width: max-content;
    align-self: flex-end;
  }

  .fact {
    display: grid;
    grid-template-columns: 3fr 9fr;
    width: min(100%, 30rem);
    column-gap: 1rem;
    gap: 0px 24px;
    width: 100%;
  }

  .fact-divider {
    max-width: 23rem;
    height: 1px;
    width: 100%;
  }

  .fact-number {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
    align-self: start;
    flex-direction: column;
  }

  .fact-value {
    display: block;
    text-align: right;
  }

  .fact-desc-wrap {
    display: contents;
  }

  .fact-unit {
    padding-bottom: 0;
  }

  .fact-desc {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }

  .fact-info-button {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    margin-top: 0;
    align-self: self-end;
    margin-left: 0;
  }

  .fact-info-content {
    left: 40px;
  }

  .stats-headline {
    text-align: left;
    margin-left: 0;
  }
}

@media (max-width: 900px) {
  .card-big-header:has(.fact-info-button) .card-big-h3-wrap {
    display: contents;
  }

  .card-big-header:has(.fact-info-button) .h3-info-row {
    display: contents;
  }

  .card-big-header:has(.fact-info-button) h3 {
    order: 3;
    align-self: flex-start;
    width: 100%;
  }

  .card-big-header:has(.fact-info-button) .card-big-desc {
    order: 4;
    align-self: flex-start;
    width: 100%;
  }

  .card-big-header:has(.fact-info-button) .fact-info-button {
    order: 0;
    align-self: center;
  }
}

.card-3er-wrap {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  width: 100%;
  gap: 6vw;
}

/* Outer card – überschreibt overflow:hidden der base .card */
.card.card-3er {
  background-image: var(--gradient-box);
  border: 1px solid var(--basics-sky-blue);
  border-radius: 1rem; /* 16px – Figma */
  padding: 1rem; /* 16px – Figma */
  box-shadow: 5px 5px 4px 0px rgba(0, 0, 0, 0.1);
  overflow: visible;
  flex: 1;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.card.card-3er.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Inner white box */
.card-3er-inner {
  background: var(--basics-white);
  border: 2px solid var(--basics-white);
  border-radius: 1rem; /* 16px – Figma */
  padding: 1rem; /* 16px – Figma */
  box-shadow: 5px 5px 4px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem; /* 16px – Figma */
  width: 100%;
  height: 100%;
}

.card-3er-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-3er-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-3er-text {
  text-align: center;
}

.card-3er-text p {
  font-family: var(--font-body);
  font-size: var(--fs-card-text); /* 16px – Figma */
  font-weight: 400;
  line-height: 1.5;
  color: var(--basics-charcoal-grey);
}

.card-3er-text strong {
  font-weight: 700;
}

@media (max-width: 900px) {
  .card-3er-wrap {
    flex-direction: column;
    align-items: stretch;
  }

  .card.card-3er {
    flex: none;
  }
}

/* ——————————————————————————————————————
   SECTION: MODULARE SOFTWARE – card-big
  
   —————————————————————————————————————— */

.card.card-big {
  background: var(--basics-white);
  border: 1px solid var(--website-pill-bg-blue-2);
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: 5px 5px 4px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  gap: 24px;
  overflow: visible;
  @media (max-width: 899px) {
    padding: 1.5rem !important;
  }
}

.card-big-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 26px;
}

/* 80×80px Modul-Icon mit gradient-icons */
.card-big-icon {
  width: 72px;
  height: 72px;
  border-radius: 0.556rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  @media (max-width: 899px) {
    width: 3.5rem;
    height: 3.5rem;
    order: 0;
  }
}

.card-big-icon-01 {
  background-image: url("../img/icons/icon-modul-1.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.card-big-icon-02 {
  background-image: url("../img/icons/icon-modul-2.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.card-big-icon img {
  width: 2.25rem;
  height: 2.25rem;
  object-fit: contain;
}

.card-big-h3-wrap {
  flex: 1;
}

/* h3 + info-button nebeneinander */
.h3-info-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* popup öffnet rechts vom button */
.h3-info-row .fact-info-content {
  top: 50%;
  transform: translateY(-50%);
  p {
    padding: 4px 2px;
    line-height: 1.2;
  }
}

/* h3 im card-big: Inter Bold, nicht Newsreader */
.card-big-h3-wrap h3 {
  font-family: var(--font-body);
  font-size: var(--fs-h3);
  font-weight: 520;
  line-height: 1.2;
  color: var(--basics-charcoal-grey);
}

/* Beschreibungstext direkt unter dem Header */
.card-big-desc {
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  font-weight: 300;
  line-height: 1.5;
  color: var(--basics-shadow-grey);
}

/* "Modul 1 / Modul 2" – Inter Semi Bold Italic, sky-blue, ganz rechts */
.card-big-kicker {
  color: var(--basics-sky-blue);
  white-space: nowrap;
  margin-left: auto;
  align-self: flex-start;
  font-family: Inter;
  font-size: 16px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
}

/* 2×2 Feature-Grid */
.card-big-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.card-big-feature {
  background: var(--basics-white);
  border: 2px solid var(--website-pill-bg-blue-2);
  border-radius: 0.5rem;
  padding: 40px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  @media (max-width: 899px) {
    gap: 20px;
    padding: 20px;
  }
}

.card-big-feature-icon {
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-big-feature-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-big-feature-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.card-big-feature-title {
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  font-weight: 500;
  line-height: 1.5;
  color: var(--basics-charcoal-grey);
}

.card-big-feature-text p:not(.card-big-feature-title) {
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  font-weight: 300;
  line-height: 1.5;
  color: var(--basics-shadow-grey);
}

/* Tags-Zeile (Modul 1) */
.card-big-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
}

.tag {
  background: var(--shades-of-blue-blue-6);
  color: var(--basics-sky-blue);
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  font-weight: 400;
  line-height: 1.5;
  padding: 0.5rem 1.125rem;
  border-radius: 0.5rem;
  white-space: nowrap;
}

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

  /* Kicker: erste Zeile, ganz rechts */
  .card-big-kicker {
    order: 0;
    width: 100%;
    text-align: right;
    margin-left: 0;
    max-width: max-content;
  }

  /* Icon + h3 bleiben inline (order 0, default) */
  .card-big-h3-wrap {
    flex: unset;
    order: 3;
  }
}

/* ——————————————————————————————————————
   SECTION: CTA-LOGO

   —————————————————————————————————————— */

.cta-centered {
  align-items: center;
  text-align: center;
}

/* ——————————————————————————————————————
   SECTION: EINSATZBEREICHE – Tab-System

   —————————————————————————————————————— */

.einsatz-grid {
  display: grid;
  grid-template-columns: 2fr 3fr;
  column-gap: 24px;
  row-gap: 24px;
  align-items: start;
}

.einsatzbereiche .inner {
  padding-bottom: 0;
}

.einsatz-tabs-wrap {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.einsatz-panels-wrap {
  position: relative;
}

.einsatz-tab {
  background: var(--basics-white);
  border: 2px solid var(--website-pill-bg-blue-2);
  border-radius: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0;
  box-shadow: 5px 5px 4px 0px rgba(0, 0, 0, 0.1);
  transition: border-color 0.2s ease;
}

.einsatz-tab:hover {
  border-color: var(--basics-sky-blue);
}

.einsatz-tab.active {
  border-color: var(--basics-sky-blue);
}

.einsatz-tabs-wrap:hover .einsatz-tab.active:not(:hover) {
  border-color: var(--website-pill-bg-blue-2);
}

.einsatz-tab-header {
  display: flex;
  align-items: center;
  gap: 0.625rem; /* 10px */
}

.einsatz-tab-icon {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--basics-sky-blue);
}

.einsatz-tab-icon svg {
  width: 2.5rem;
  height: 2.5rem;
}

.einsatz-tab-label {
  font-family: var(--font-body);
  font-size: 1.25rem; /* 20px – Figma reg-20 */
  font-weight: 400;
  line-height: 1;
  color: var(--basics-charcoal-grey);
}

.einsatz-tab.active .einsatz-tab-label {
  font-weight: 600;
}

/* Beschreibung: nur im aktiven Tab sichtbar */
.einsatz-tab-desc {
  display: none;
  margin-top: 0.75rem;
  padding-left: 3.125rem; /* Icon-Breite (40px) + Gap (10px) */
  font-weight: 300;
  line-height: 1.5;
  color: var(--basics-charcoal-grey);
}

.einsatz-tab.active .einsatz-tab-desc {
  display: block;
}

.einsatz-panel {
  display: none;
  flex-direction: column;
  gap: 1rem;
  background: var(--gradient-box);
  border: 2px solid var(--basics-sky-blue);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 5px 5px 4px 0px rgba(0, 0, 0, 0.1);
  width: 100%;
}

.einsatz-panel.active {
  display: flex;
}

/* Feature-Items im Panel */
.einsatz-feature {
  background: var(--basics-white);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.625rem; /* 10px */
  box-shadow: 5px 5px 4px 0px rgba(0, 0, 0, 0.1);
}

.einsatz-feature-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--basics-charcoal-grey);
  margin-top: 0.125rem;
}

.einsatz-feature-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.einsatz-feature-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.einsatz-feature-title {
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  font-weight: 600;
  line-height: 1.5;
  color: var(--basics-charcoal-grey);
}

.einsatz-feature-desc {
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  font-weight: 300;
  line-height: 1.5;
  color: var(--basics-shadow-grey);
}

@media (max-width: 900px) {
  .einsatz-feature {
    padding: 1rem;
  }

  .einsatz-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  /* Unwrap the two columns — tabs and panels become direct flex children */
  .einsatz-tabs-wrap,
  .einsatz-panels-wrap {
    display: contents;
  }

  /* Interleave: tab above its panel via order */
  .einsatz-tab[data-tab="notaufnahme"] {
    order: 1;
  }
  #panel-notaufnahme {
    order: 2;
  }
  .einsatz-tab[data-tab="ambulanz"] {
    order: 3;
  }
  #panel-ambulanz {
    order: 4;
  }
  .einsatz-tab[data-tab="arztpraxis"] {
    order: 5;
  }
  #panel-arztpraxis {
    order: 6;
  }

  /* Show all panels on mobile */
  .einsatz-panel {
    display: flex !important;
    padding: 1rem;
  }

  /* Tabs not interactive on mobile */
  .einsatz-tab {
    cursor: default;
    margin-top: 24px;
    padding: 1.2rem;
  }

  /* Always show description on mobile */
  .einsatz-tab-desc {
    display: block !important;
    padding-left: 0;
  }
}

/* ——————————————————————————————————————
   #zitat
   —————————————————————————————————————— */

.zitat-text {
  color: var(--basics-charcoal-grey, #1c1c1c);
  text-align: center;
  font-family: Newsreader;
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 auto;
  max-width: 75rem;
  margin-top: 10px;
  @media (max-width: 990px) {
    text-align: left;
  }
}

.zitat-text {
  br {
    @media (max-width: 768px) {
      display: none;
    }
  }
}

.zitat-text strong {
  font-weight: 600;
}

.zitat-blue {
  font-weight: 600;
  color: var(--basics-sky-blue);
}

.zitat .zitat-text {
  @media (max-width: 990px) {
    text-align: center;
  }
}

/* ——————————————————————————————————————
   #systemarchitektur
   —————————————————————————————————————— */
#systemarchitektur {
  background: var(--shades-of-blue-blue-5);
}

.sysarch-cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.sysarch-card {
  flex: 1;
  min-width: 11rem;
  background: var(--basics-white);
  border: 2px solid var(--basics-white);
  border-radius: var(--radius-card);
  padding: 2rem 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  box-shadow: 5px 5px 4px 0px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.sysarch-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sysarch-icon img {
  object-fit: contain;
  width: 3.5rem;
  height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.7rem;
}

.sysarch-label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--basics-shadow-grey);
  text-align: center;
}

.cta-slogan-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem; /* 16px – Figma */
  opacity: 0;
  transform: scale(0.95);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.cta-slogan-logo.is-visible {
  opacity: 1;
  transform: scale(1);
}

.cta-slogan {
  font-family: var(--font-body);
  font-size: var(--fs-nav); /* 16px */
  font-weight: 400;
  line-height: normal;
  color: var(--basics-charcoal-grey);
  max-width: 31.4375rem; /* 503px – Figma */
}

.cta-logo-img {
  width: clamp(14rem, 28.889vw, 26rem); /* 416px at 1440px */
  height: auto;
}

/* ——————————————————————————————————————
   SECTION: ABLAUF – Vom Wartezimmer bis zur fertigen Akte
   —————————————————————————————————————— */

#ablauf {
  position: relative;
  overflow: hidden;
}

#ablauf .inner {
  position: relative;
  z-index: 1;
}

.ablauf-pills {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  @media (max-width: 990px) {
    display: none;
  }
}

.ablauf-pill {
  position: absolute;
  width: 331px;
  height: 827px;
  border-radius: 9999px;
}

.ablauf-pill--1 {
  background: var(--website-pill-bg-blue-3);
  left: -55px;
  top: 316px;
}

.ablauf-pill--2 {
  background: var(--website-pill-bg-blue-2);
  left: 77px;
  top: 201px;
}

.ablauf-pill--3 {
  background: var(--website-pill-bg-blue-1);
  left: calc(8.33% + 90px);
  top: 64px;
}

.ablauf .text-wrap {
  text-align: right;
}

.ablauf-card.card-big {
  max-width: 45rem;
  align-self: center;
  width: 100%;
  padding: 60px 70px;
}

.ablauf-steps {
  display: flex;
  flex-direction: column;
}

.ablauf-step {
  display: flex;
  align-items: center;
  gap: 24px;
}

.ablauf-step-num {
  font-family: var(--font-body);
  font-size: clamp(2.5rem, 4.444vw, 4rem); /* 64px at 1440px */
  font-weight: 700;
  color: var(--basics-lake-blue);
  width: 5rem;
  flex-shrink: 0;
  text-align: center;
  line-height: 1;
  padding: 0.25rem 0;
}

.ablauf-step-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-top: 0.5rem;
}

.ablauf-step-title {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--basics-charcoal-grey);
}

.ablauf-step-desc {
  font-family: var(--font-body);
  font-size: var(--fs-nav);
  font-weight: 300;
  line-height: 1.5;
  color: var(--basics-shadow-grey);
}

.ablauf-connector {
  width: 3px;
  height: 60px;
  background: var(--basics-lake-blue);
  margin-left: calc(2.5rem - 1px);
  margin-top: 10px;
  margin-bottom: 10px;
  transform-origin: top center;
}

/* Ablauf step animations */
.ablauf-step-num.anim {
  opacity: 0;
  transform: translateX(-10px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.ablauf-step-num.anim.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.ablauf-step-text.anim {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ablauf-step-text.anim.is-visible {
  opacity: 1;
}

.ablauf-connector.anim {
  transform: scaleY(0);
  transition: transform 0.25s ease-in;
}
.ablauf-connector.anim.is-visible {
  transform: scaleY(1);
}

@media (max-width: 699px) {
  .ablauf .text-wrap {
    text-align: center;
  }

  .ablauf-card.card-big {
    max-width: 45rem;
    align-self: center;
    width: 100vw;
    padding: 20px 5vw 0 2vw !important;
    border-radius: 0 !important;
    background: transparent;
    border: 0 !important;
    box-shadow: none;
  }

  .ablauf-step {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .ablauf-step-num {
    font-size: clamp(2.5rem, 4.444vw, 4rem);
    padding: 0.25rem 0;
  }

  .ablauf-connector {
    height: 30px;
  }
}

/* ——————————————————————————————————————
   #ueber-uns
   —————————————————————————————————————— */

#ueber-uns {
  position: relative;
  overflow: hidden;
}

.ueber-uns-pills {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  @media (max-width: 990px) {
    display: none;
  }
}

.ueber-uns {
  .text-wrap {
    margin-bottom: 50px;
    gap: 50px;
    @media (max-width: 990px) {
      gap: 12px;
    }
  }
}

.pill {
  position: absolute;
  width: 331px;
  height: 827px;
  border-radius: 9999px;
  will-change: transform;
}

.pill-left {
  background: var(--shades-of-blue-blue-6);
  left: -55px;
  top: 316px;
}

.pill-middle {
  background: var(--shades-of-blue-blue-5);
  left: 77px;
  top: 201px;
}

.pill-right {
  background: var(--shades-of-blue-blue-4);
  left: calc(8.33% + 90px);
  top: 64px;
}

#ueber-uns .inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 250px;
  @media (max-width: 499px) {
    gap: 25vw;
  }
}

.grundprinzipien-wrap {
  display: grid;
  grid-template-columns: 3fr 420px 1fr;
  row-gap: 70px;
  @media (max-width: 990px) {
    grid-template-columns: 1fr 350px;
  }
  @media (max-width: 399px) {
    grid-template-columns: auto 83%;
  }
}

.grundprinzipien-header {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-end;
  text-align: right;
}

.grundprinzipien-header h2,
.grundprinzipien-header .kicker,
.grundprinzipien-header p {
  text-align: right;
}

.grundprinzipien {
  grid-column: 2;
  display: flex;
  flex-direction: column;
}

.prinzipien-list {
  display: flex;
  flex-direction: column;
}

.prinzip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 40px 0;
  border-bottom: 0.5px solid var(--shades-of-blue-blue-5);
  @media (max-width: 990px) {
    text-align: right;
  }
}

.prinzip:first-child {
  border-top: 0.5px solid var(--shades-of-blue-blue-5);
  @media (max-width: 990px) {
    border-top: none;
  }
}

.prinzip:last-child {
  border-top: 0.5px solid var(--shades-of-blue-blue-5);
  @media (max-width: 990px) {
    border-bottom: none;
  }
}

.prinzip-num {
  font-family: var(--font-body);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--basics-lake-blue);
  display: inline-block;
}

.prinzip.anim {
  opacity: 0;
  transition: opacity 0.35s ease;
}

.prinzip.anim.is-visible {
  opacity: 1;
}

@keyframes prinzip-num-pop {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1);
  }
}

.prinzip-num.pop {
  animation: prinzip-num-pop 0.45s ease forwards;
}

.prinzip-title,
.prinzip-desc {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.prinzip-title.is-visible,
.prinzip-desc.is-visible {
  opacity: 1;
}

.prinzip-title {
  font-family: var(--font-body);
  font-size: var(--fs-h3);
  font-weight: 700;
  line-height: 1.2;
  color: var(--basics-charcoal-grey);
}

.prinzip-desc {
  font-size: var(--fs-nav);
  font-weight: 300;
  line-height: 1.5;
  color: var(--basics-charcoal-grey);
}

.antreibt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding-bottom: 40px;
}

.antreibt h2 {
  text-align: center;
}

.antreibt-quote {
  font-family: var(--font-headline);
  font-size: 26px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--basics-charcoal-grey);
  text-align: center;

  margin: 0 auto;
}

.antreibt-quote strong {
  font-weight: 600;
}

.antreibt-blue {
  font-weight: 600;
  color: var(--basics-sky-blue);
}

/* ——————————————————————————————————————
   #faq
   —————————————————————————————————————— */

.faq-card {
  background: var(--basics-white);
  border: 1px solid var(--shades-of-blue-blue-6);
  border-radius: var(--radius-card);
  padding: 48px;
  box-shadow: 5px 5px 4px 0px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  @media (max-width: 990px) {
    padding: 32px;
  }
  @media (max-width: 550px) {
    padding: 28px;
  }
}

.faq-item {
  border-bottom: 1px solid var(--basics-sky-blue);
}

.faq-item:first-child .faq-question {
  padding-top: 0;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
}

.faq-question-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--basics-charcoal-grey);
}

.faq-chevron {
  width: 24px;
  height: 24px;
  border-radius: 9999px;
  background: var(--shades-of-blue-blue-6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--basics-sky-blue);
  transition: background 0.2s ease;
}

.faq-chevron svg {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-chevron {
  background: var(--website-pill-bg-blue-1);
}

.faq-question[aria-expanded="true"] .faq-chevron svg {
  transform: rotate(0deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-answer > p {
  overflow: hidden;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-item.open .faq-answer > p {
  padding-bottom: 24px;
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--basics-charcoal-grey);
}

/* ——————————————————————————————————————
   #kontakt
   —————————————————————————————————————— */

#kontakt .inner {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.kontakt-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.back-to-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--basics-charcoal-grey);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  transition: opacity 0.2s ease;
}

.back-to-top:hover {
  opacity: 0.6;
}

.kontakt-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 72px;
}

.kontakt-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.kontakt-title h2 {
  color: var(--basics-charcoal-grey);
}

.kontakt-subtitle {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: center;
}

.kontakt-subtitle p {
  font-weight: 300;
  line-height: 1.5;
  color: var(--basics-charcoal-grey);
}

.kontakt-subtitle strong {
  font-weight: 600;
}

.kontakt-card {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 3.125rem; /* 50px – Figma */
}

.kontakt-photo {
  width: 164px;
  min-width: 164px;
  height: auto;
  aspect-ratio: 1;
  border-radius: 9999px;
  overflow: hidden;
  background: var(--gradient-main);
  box-shadow: 2.4px 2.4px 1.9px 0px rgba(0, 0, 0, 0.1);
}

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

.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 21rem;
}

.kontakt-name-wrap {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kontakt-name {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: normal;
  color: var(--basics-charcoal-grey);
}

.kontakt-role {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--basics-charcoal-grey);
}

.kontakt-email-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 8px;
  border-top: 1px solid var(--basics-sky-blue);
  color: var(--basics-sky-blue);
}

.kontakt-email-link {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--basics-charcoal-grey);
  transition: opacity 0.2s ease;
}

.kontakt-email-link:hover {
  opacity: 0.6;
}

/* ——————————————————————————————————————
   #cta-logo-bottom
   —————————————————————————————————————— */

.cta-logo-bottom-inner {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-logo-bottom-img {
  width: 11.25rem; /* 180px – Figma */
  height: auto;
}

/* ——————————————————————————————————————
   FOOTER
   —————————————————————————————————————— */

.site-footer-bottom {
  background: var(--basics-shadow-grey);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 40px 4.5vw;
  max-width: 1440px;
  margin: 0 auto;
  @media (max-width: 1599px) {
    max-width: unset;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-col--center {
  align-items: center;
}

.footer-col--right {
  align-items: flex-end;
  @media (max-width: 600px) {
    align-items: flex-start;
  }
}

.footer-brand {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: normal;
  color: var(--basics-white);
}

.footer-address {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--basics-white);
}

.footer-link {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--basics-white);
}

.footer-link:link,
.footer-link:visited,
.footer-link:active {
  color: var(--basics-white);
}

.footer-link:hover {
  color: var(--basics-white);
  text-decoration: underline;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--basics-white);
}

.footer-contact-row:link,
.footer-contact-row:visited,
.footer-contact-row:active {
  color: var(--basics-white);
}

.footer-contact-row:hover {
  color: var(--basics-white);
  text-decoration: underline;
}

@media (max-width: 699px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-col--center {
    align-items: flex-start;
  }

  .footer-col--right {
    align-items: flex-start;
  }
}

/* ——————————————————————————————————————
   MOBILE NAV
   —————————————————————————————————————— */

.mobile-nav {
  display: none;
  flex-direction: column;
  overflow: hidden;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--basics-white);
  max-height: 0;
  opacity: 0;
  padding: 0 4.5vw;
  transition:
    max-height 0.1s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.25s ease,
    padding 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-nav.is-open {
  max-height: 500px;
  opacity: 1;
  padding: 0 4.5vw 1.5rem;
}

.hamburger-menu {
  position: relative;
}

.icon-hamburger,
.icon-close {
  transition: opacity 0.2s ease;
}

.icon-close {
  position: absolute;
  inset: 0;
  margin: auto;
  opacity: 0;
  pointer-events: none;
}

.hamburger-menu[aria-expanded="true"] .icon-hamburger {
  opacity: 0;
}

.hamburger-menu[aria-expanded="true"] .icon-close {
  opacity: 1;
  pointer-events: auto;
}

.site-header.nav-open {
  background: var(--basics-white);
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.mobile-nav-links li {
  border-top: 1px solid #deeeff;
}

.mobile-nav-links li:first-child {
  border-top: none;
}

.mobile-nav-links li:last-child {
  border-bottom: none;
}

.mobile-nav-link {
  display: block;
  text-align: center;
  padding: 1rem 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  color: var(--basics-charcoal-grey);
}

.mobile-nav-link:hover {
  opacity: 0.6;
}

/* ——————————————————————————————————————
   RESPONSIVE
   —————————————————————————————————————— */
@media (max-width: 1199px) {
  .nav-links {
    display: none;
  }

  .mobile-nav {
    display: flex;
  }

  .hamburger-menu {
    display: flex;
  }

  .usp-list {
    flex-direction: column;
    gap: 16px;
  }
}

/* ——————————————————————————————————————
   LEGALPAGE
   —————————————————————————————————————— */

h1.legalpage {
  font-size: clamp(2rem, 3vw, 3rem); /* Figma H2: 48px */
}

.legalpage-hero {
  padding-bottom: 0;
}

.legalpage-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 640px;
}

.legalpage-hero .text-wrap {
  gap: 24px;
}
