:root {
  --primary-50: #e9fafb;
  --primary-100: #c9f2f5;
  --primary-200: #99e5ea;
  --primary-300: #5fd3db;
  --primary-400: #3ac5ce;
  --primary-500: #20bcc8;
  --primary-600: #1a9aa4;
  --primary-700: #167c84;
  --primary-800: #135f66;
  --primary-900: #0f4a50;
  --ink-50: #f2f2f2;
  --ink-100: #e0e0e0;
  --ink-200: #c4c4c4;
  --ink-300: #9e9e9e;
  --ink-400: #6e6e6e;
  --ink-500: #4d4d4d;
  --ink-600: #383838;
  --ink-700: #2b2b2b;
  --ink-800: #1f1f1f;
  --ink-900: #141414;
  --bg: #ffffff;
  --bg-alt: var(--primary-50);
  --surface: #ffffff;
  --surface-soft: #f8fcfd;
  --surface-mint: var(--primary-50);
  --surface-sky: var(--primary-50);
  --surface-peach: var(--primary-100);
  --surface-yellow: var(--primary-100);
  --text: var(--ink-600);
  --text-soft: var(--ink-400);
  --line: rgba(33, 65, 75, 0.09);
  --accent: var(--primary-500);
  --accent-dark: var(--primary-700);
  --accent-warm: var(--primary-600);
  --accent-warm-dark: var(--primary-800);
  --color-primary: var(--primary-500);
  --color-text: var(--ink-600);
  --color-on-primary: var(--primary-900);
  --shadow-soft: 0 14px 32px rgba(120, 148, 158, 0.10);
  --shadow-card: 0 18px 42px rgba(120, 148, 158, 0.12);
  --radius-xl: 40px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 16px;
  --shell: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(205, 241, 243, 0.38), transparent 32%),
    #ffffff;
  color: var(--text);
  font-family: "Nunito Sans", sans-serif;
  line-height: 1.65;
}

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

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

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

:focus-visible {
  outline: 3px solid rgba(26, 165, 176, 0.28);
  outline-offset: 3px;
}

.shell {
  width: min(calc(100% - 32px), var(--shell));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 16px 0;
  transition: padding 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 10px 12px 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 24px rgba(120, 148, 158, 0.08);
  backdrop-filter: blur(16px);
  z-index: -1;
}

.site-header--scrolled {
  padding: 10px 0;
}

.site-header--scrolled::before {
  box-shadow: 0 10px 28px rgba(120, 148, 158, 0.10);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

/* Wrapper für Customizer Selective Refresh: Kinder verhalten sich wie direkte Kinder von .brand */
.brand__partial-wrap {
  display: contents;
}

.brand__logo {
  width: auto;
  height: 64px;
  object-fit: contain;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), #6ad4da);
  color: #fff;
  font-family: "Baloo 2", cursive;
  font-size: 1.65rem;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(32, 188, 200, 0.18);
}

.brand__text {
  display: grid;
  line-height: 1;
  min-width: 0;
}

.brand__text strong,
.brand__text span {
  font-family: "Baloo 2", cursive;
}

.brand__text strong {
  font-size: 1.25rem;
}

.brand__text span {
  color: var(--text-soft);
  font-size: 1.05rem;
}

.site-nav__toggle {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.site-nav__toggle-label {
  font-size: 0.98rem;
}

.site-nav__toggle-icon {
  display: grid;
  gap: 5px;
}

.site-nav__toggle-icon span {
  display: block;
  width: 22px;
  height: 2.5px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-nav {
  min-width: 0;
}

.cuyl-menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.cuyl-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.cuyl-menu a:hover,
.cuyl-menu a:focus-visible {
  background: rgba(26, 165, 176, 0.12);
  color: var(--accent-dark);
  transform: translateY(-1px);
}

.site-main {
  overflow: clip;
}

.hero,
.section,
.page-hero {
  padding: 64px 0;
}

.page-content {
  padding: 48px 0 72px;
}

.page-content--legal {
  padding-top: 6px;
}

.page-content--trial {
  padding-top: 34px;
}

.page-content--about {
  padding-top: 16px;
}

.hero {
  padding-top: 56px;
}

.hero__grid,
.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 42px;
  align-items: center;
}

.hero--photo {
  position: relative;
  padding-top: 148px;
  padding-bottom: 0;
  overflow: hidden;
  background: #20bcc8;
}

.hero--photo .hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 46px;
  align-items: center;
  position: relative;
  z-index: 2;
  min-height: 600px;
  padding-bottom: 128px;
}

.hero__bg {
  position: absolute;
  inset: 0 0 0 0;
  background:
    radial-gradient(circle 420px at 12% 18%, rgba(255, 255, 255, 0.18), transparent 68%),
    radial-gradient(circle 280px at 88% 8%, rgba(255, 255, 255, 0.16), transparent 62%),
    linear-gradient(135deg, #37cbd1 0%, #21b9c3 42%, #78dce1 100%);
  z-index: 0;
}

.hero__bg::before,
.hero__bg::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero__bg::before {
  left: -14%;
  right: -14%;
  bottom: -188px;
  height: 318px;
  border-radius: 50% 50% 0 0 / 68% 68% 0 0;
  background: #ffffff;
}

.hero__bg::after {
  left: -10%;
  right: -10%;
  bottom: -116px;
  height: 250px;
  border-radius: 48% 52% 0 0 / 70% 64% 0 0;
  background: rgba(255, 255, 255, 0.24);
}

.hero--photo .hero__copy {
  max-width: 540px;
  color: #ffffff;
}

.hero__kicker {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.35;
  text-transform: uppercase;
}

.hero--photo .hero__lead {
  max-width: 32rem;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.55;
}

.hero__visual {
  position: relative;
  align-self: stretch;
  min-height: 560px;
  isolation: isolate;
}

.hero__visual::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -4%;
  width: 116%;
  height: 88%;
  background: rgba(255, 255, 255, 0.82);
  border-radius: 44% 56% 54% 46% / 42% 34% 66% 58%;
  transform: rotate(-3deg);
  z-index: 1;
}

.hero__visual::after {
  content: "";
  position: absolute;
  right: -8%;
  bottom: 44px;
  width: 110%;
  height: 38%;
  background: rgba(255, 255, 255, 0.25);
  clip-path: ellipse(62% 56% at 54% 100%);
  z-index: 0;
}

.hero__visual-dot {
  position: absolute;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
  z-index: 4;
}

.hero__visual-dot--one {
  top: 4%;
  left: 10%;
  width: 58px;
  height: 58px;
}

.hero__visual-dot--two {
  right: 2%;
  top: 18%;
  width: 38px;
  height: 38px;
}

.hero__photo {
  position: absolute;
  right: -4%;
  top: 8%;
  margin: 0;
  width: min(780px, 108%);
  height: min(520px, 45vw);
  min-height: 455px;
  overflow: hidden;
  border-radius: 44% 56% 54% 46% / 42% 34% 66% 58%;
  transform: rotate(-3deg);
  z-index: 2;
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  transform: rotate(3deg) scale(1.08);
  filter: saturate(1.08) contrast(1.02) brightness(1.04);
}

.hero__usp {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  margin-top: -118px;
  padding-top: 18px;
  padding-bottom: 34px;
  isolation: isolate;
}

.hero__usp::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -84px;
  width: 100vw;
  height: calc(100% + 90px);
  background: #ffffff;
  border-radius: 50% 50% 0 0 / 22% 22% 0 0;
  transform: translateX(-50%);
  z-index: -1;
}

.hero__usp-item {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 86px;
  padding: 16px 18px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(32, 188, 200, 0.12);
  box-shadow: 0 14px 34px rgba(28, 127, 137, 0.08);
  color: var(--text);
}

.hero__usp-icon {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  color: var(--accent);
}

.hero__usp-icon svg {
  display: block;
  width: 42px;
  height: 42px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__usp-item strong {
  max-width: 14ch;
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.18;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.intro__copy h2,
.hero-stage h2,
.cta-band h2,
.site-footer h2,
.page-hero h1 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.hero h1 {
  font-size: clamp(2.9rem, 5.8vw, 4.8rem);
  max-width: 10.5ch;
}

.hero__lead,
.hero__subcopy,
.section-copy,
.intro__copy p,
.hero-stage p,
.story-card p,
.value-card p,
.course-card p,
.trust-strip p,
.step-card p,
.cta-copy,
.site-footer p,
.page-hero__lead,
.prose {
  color: var(--text-soft);
  font-size: 1.07rem;
}

.hero__copy {
  max-width: 640px;
}

.hero__lead {
  max-width: 34rem;
}

.hero__subcopy {
  margin-top: 16px;
  max-width: 36rem;
}

.hero__actions,
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:active {
  transform: translateY(0) scale(0.98);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent), #64d2d8);
  color: #fff;
  box-shadow: 0 12px 26px rgba(32, 188, 200, 0.18);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(33, 65, 75, 0.14);
  color: var(--text);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: rgba(26, 165, 176, 0.3);
  background: #ffffff;
}

.button--small {
  min-height: 36px;
  padding: 0 16px;
  font-size: 0.82rem;
  background: linear-gradient(135deg, var(--accent), #64d2d8);
  color: #fff;
  box-shadow: 0 6px 14px rgba(32, 188, 200, 0.14);
}

.hero__actions .button--primary {
  min-width: 248px;
}

.hero__actions .button--secondary {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(33, 65, 75, 0.18);
}

.hero__social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.hero__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid rgba(33, 65, 75, 0.08);
  color: var(--accent-dark);
  box-shadow: 0 8px 18px rgba(120, 148, 158, 0.08);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.hero__social-link:hover,
.hero__social-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(32, 188, 200, 0.3);
  background: #ffffff;
  box-shadow: 0 12px 22px rgba(120, 148, 158, 0.12);
}

.hero__social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.prose button,
.prose input[type="submit"],
.prose .wp-element-button,
.cuyl-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #64d2d8);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(32, 188, 200, 0.16);
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.prose button:hover,
.prose input[type="submit"]:hover,
.prose .wp-element-button:hover,
.cuyl-form button:hover,
.prose button:focus-visible,
.prose input[type="submit"]:focus-visible,
.prose .wp-element-button:focus-visible,
.cuyl-form button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(26, 165, 176, 0.25);
  filter: saturate(1.05);
}

.prose button:active,
.prose input[type="submit"]:active,
.prose .wp-element-button:active,
.cuyl-form button:active {
  transform: translateY(0) scale(0.98);
}

.story-card h3,
.value-card h3,
.course-card h3,
.trust-strip h3,
.step-card h3,
.site-footer__nav a,
.site-footer__meta a {
  font-weight: 800;
}

.hero-panel {
  position: relative;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 14px -10px -14px 18px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 214, 168, 0.18), transparent 32%),
    radial-gradient(circle at left center, rgba(94, 207, 213, 0.10), transparent 36%);
  z-index: 0;
}

.hero-panel__inner {
  position: relative;
  z-index: 1;
  padding: 28px 28px 24px;
  border-radius: 30px;
  background: linear-gradient(180deg, #ffffff 0%, var(--primary-50) 100%);
  border: 1px solid rgba(33, 65, 75, 0.06);
  box-shadow: 0 18px 38px rgba(120, 148, 158, 0.10);
}

.hero-panel__logo {
  width: min(220px, 62%);
  margin-bottom: 18px;
}

.hero-panel__eyebrow {
  margin: 0 0 12px;
  color: var(--accent-warm-dark);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(2rem, 3.3vw, 3.1rem);
  line-height: 1.04;
}

.hero-panel__copy {
  margin: 14px 0 0;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.hero-panel__list {
  display: grid;
  gap: 12px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.hero-panel__item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(33, 65, 75, 0.08);
}

.hero-panel__item img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.hero-panel__item strong {
  display: block;
  margin-bottom: 3px;
  color: var(--text);
  font-weight: 800;
}

.hero-panel__item span {
  color: var(--text-soft);
  font-size: 0.95rem;
}

.hero-panel__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  margin-top: 18px;
}

.hero-panel__pill,
.hero-panel__note {
  margin: 0;
  font-size: 0.9rem;
}

.hero-panel__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #6ad6dc);
  color: #fff;
  box-shadow: 0 10px 18px rgba(32, 188, 200, 0.16);
}

.hero-panel__note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
}

.hero-panel__note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(26, 165, 176, 0.4);
  box-shadow: 0 0 0 6px rgba(26, 165, 176, 0.1);
}

.section--home-panel {
  padding-top: 58px;
  padding-bottom: 4px;
  background: #ffffff;
}

.hero-panel--homepage {
  max-width: 1120px;
  margin: 0 auto;
}

.hero-panel--homepage::before {
  display: none;
}

.hero-panel--homepage .hero-panel__inner {
  border-left: 8px solid var(--accent);
  background: #ffffff;
}

.hero-panel--homepage .hero-panel__list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hero-stage {
  position: absolute;
  inset: 58px 36px 26px 18px;
  padding: 34px 34px 30px;
  padding-right: 112px;
  border-radius: 40px;
  background:
    radial-gradient(circle at top right, rgba(32, 188, 200, 0.10), transparent 36%),
    linear-gradient(180deg, #ffffff 0%, #f4fbfc 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
  z-index: 2;
}

.hero-stage__logo {
  width: min(210px, 58%);
  margin-bottom: 18px;
}

.hero-stage__eyebrow {
  margin: 0 0 10px;
  color: var(--accent-warm-dark);
  font-size: 0.95rem;
  font-weight: 800;
}

.hero-stage h2 {
  font-size: clamp(2.1rem, 3.3vw, 3.2rem);
  line-height: 1;
}

.hero-stage__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.hero-stage__chips span,
.hero-ribbon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
}

.hero-stage__chips span {
  background: rgba(26, 165, 176, 0.1);
  color: var(--accent-dark);
}

.hero-bubble {
  position: absolute;
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  z-index: 3;
}

.hero-bubble strong {
  font-size: 1.02rem;
}

.hero-bubble img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.hero-bubble--one {
  top: 10px;
  left: 0;
  max-width: 220px;
  background: var(--surface-yellow);
}

.hero-bubble--two {
  top: 90px;
  right: 0;
  width: 188px;
  background: var(--surface-sky);
}

.hero-bubble--three {
  right: 0;
  bottom: -14px;
  width: 214px;
  background: var(--surface-mint);
}

.hero-ribbon {
  position: absolute;
  left: 52px;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-400));
  color: #fff;
  box-shadow: 0 10px 22px rgba(32, 188, 200, 0.18);
}

.section--soft {
  background:
    radial-gradient(circle at 12% 10%, rgba(32, 188, 200, 0.10), transparent 32%),
    #ffffff;
}

.section--warm {
  background:
    radial-gradient(circle at 92% 12%, rgba(94, 207, 213, 0.14), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f3fbfc 100%);
}

.section--cta {
  padding: 48px 0;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading--inline {
  max-width: 760px;
}

.intro__copy h2,
.section-heading h2,
.cta-band h2,
.site-footer h2,
.page-hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 4rem);
}

.intro {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 32px;
  align-items: start;
}

.intro__copy {
  max-width: none;
  position: sticky;
  top: 100px;
}

.intro__copy h2 {
  max-width: 15ch;
}

.intro__copy .text-link {
  margin-top: 8px;
}

.intro__cards,
.values-grid,
.course-grid,
.trust-strip,
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.intro__cards {
  grid-template-columns: 1fr;
  align-content: start;
  gap: 16px;
}

.story-card,
.value-card,
.course-card,
.trust-strip article,
.step-card,
.page-hero__inner,
.prose,
.cta-band {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.story-card,
.value-card,
.course-card,
.trust-strip article,
.step-card,
.page-hero__inner,
.prose {
  padding: 28px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(33, 65, 75, 0.1);
  border-left: 8px solid var(--accent);
}

.story-card {
  position: relative;
  overflow: visible;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 4px 16px;
  align-items: start;
}

.story-card .story-card__icon {
  grid-row: 1 / 3;
}

.story-card h3 {
  align-self: end;
}

.story-card p {
  grid-column: 2;
}

.story-card:nth-child(1) {
  border-left-color: var(--accent);
}

.story-card:nth-child(2) {
  border-left-color: var(--primary-600);
}

.story-card:nth-child(3) {
  border-left-color: var(--primary-700);
}

.story-card__icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0;
  object-fit: contain;
}

.story-card h3,
.value-card h3,
.course-card h3,
.step-card h3 {
  margin: 0 0 10px;
  font-family: "Baloo 2", cursive;
  font-size: 1.58rem;
  line-height: 1.05;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
}

.intro__cards .story-card h3 {
  font-size: clamp(1.4rem, 1.7vw, 1.7rem);
}

.values-grid {
  margin-top: 28px;
}

.value-card:nth-child(1) {
  border-left-color: var(--accent);
}

.value-card:nth-child(2) {
  border-left-color: var(--primary-600);
}

.value-card:nth-child(3) {
  border-left-color: var(--primary-700);
}

.value-card__number,
.step-card__number {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 16px;
  background: rgba(32, 188, 200, 0.09);
  color: var(--accent-dark);
  font-weight: 800;
}

.philosophy-cta {
  margin-top: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  color: var(--accent-dark);
}

.text-link::after,
.course-card a::after {
  content: "→";
}

.course-grid {
  margin-top: 28px;
}

.course-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.course-card p {
  flex: 1;
}

.course-card:nth-child(1) {
  border-left-color: var(--accent);
}

.course-card:nth-child(2) {
  border-left-color: var(--primary-600);
}

.course-card:nth-child(3) {
  border-left-color: var(--primary-700);
}

.course-card__tag {
  margin: 0 0 10px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.course-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--accent-dark);
  font-weight: 800;
}

.course-overview {
  display: grid;
  gap: 24px;
}

.course-overview-card,
.course-detail__panel,
.course-browser__filters,
.course-browser__map-panel {
  padding: 28px;
  border: 1px solid rgba(33, 65, 75, 0.1);
  border-left: 8px solid var(--accent);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
}

.page-content--courses {
  padding-top: 30px;
}

.course-overview__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  min-width: min(100%, 280px);
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
}

.course-overview__stat {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(33, 65, 75, 0.08);
  text-align: center;
}

.course-overview__stat strong {
  display: block;
  color: var(--text);
  font-family: "Baloo 2", cursive;
  font-size: 1.6rem;
  line-height: 1;
}

.course-overview__stat span {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 700;
}

.course-browser {
  display: grid;
  gap: 14px;
}

.course-browser__main {
  display: grid;
  gap: 12px;
}

.course-browser__filters {
  display: block;
  padding: 16px 18px;
}

.course-browser__summary {
  display: flex;
  align-items: center;
  gap: 20px;
}

.course-browser__summary-title {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.course-browser__summary-title .eyebrow {
  margin: 0;
}

.course-browser__summary-groups {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  gap: 12px 22px;
  min-width: 0;
}

.course-browser__filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
}

.course-browser__filter-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.course-browser__filter-label {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--text-soft);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.course-browser__filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(33, 65, 75, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.course-browser__filter span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(33, 65, 75, 0.08);
  color: var(--text-soft);
  font-size: 0.82rem;
}

.course-browser__filter:hover,
.course-browser__filter:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(26, 165, 176, 0.32);
  box-shadow: 0 12px 24px rgba(81, 108, 117, 0.08);
}

.course-browser__filter--location {
  border-color: color-mix(in srgb, var(--filter-accent) 36%, transparent);
  box-shadow: inset 4px 0 0 var(--filter-accent);
}

.course-browser__filter--location span {
  background: color-mix(in srgb, var(--filter-accent) 14%, #ffffff);
  color: color-mix(in srgb, var(--filter-accent) 74%, #244a52);
}

.course-browser__filter--location:hover,
.course-browser__filter--location:focus-visible {
  border-color: color-mix(in srgb, var(--filter-accent) 58%, transparent);
  background: color-mix(in srgb, var(--filter-accent) 9%, #ffffff);
}

.course-browser__filter.is-active {
  background: linear-gradient(135deg, rgba(32, 188, 200, 0.94), rgba(106, 212, 218, 0.94));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 22px rgba(32, 188, 200, 0.16);
}

.course-browser__filter--location.is-active {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--filter-accent) 92%, #ffffff),
    color-mix(in srgb, var(--filter-accent) 74%, #ffffff)
  );
  box-shadow: 0 10px 22px color-mix(in srgb, var(--filter-accent) 22%, transparent);
}

.course-browser__filter.is-active span {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.course-browser__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(320px, 0.72fr);
  gap: 16px;
  align-items: start;
}

.course-browser__list {
  display: grid;
  gap: 12px;
}

.course-overview-card {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  grid-template-rows: auto;
  align-items: center;
  gap: 0 16px;
  padding: 12px 16px;
  border-left: 4px solid var(--course-accent);
  border-radius: var(--radius-sm);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 251, 253, 0.98) 100%);
  transition: box-shadow 160ms ease, transform 160ms ease;
}

.course-overview-card:hover {
  box-shadow: 0 8px 24px rgba(33, 65, 75, 0.10);
  transform: translateY(-1px);
}

.course-overview-card__image {
  grid-row: 1 / -1;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  width: 140px;
}

.course-overview-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.course-overview-card[hidden],
.course-browser__empty[hidden] {
  display: none;
}

.course-overview-card__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  grid-column: 2;
}

.course-overview-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.course-overview-card__tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
}

.course-overview-card__tag--location {
  border: 1px solid var(--course-accent);
  background: rgba(255, 255, 255, 0.94);
  color: var(--course-accent);
}

.course-overview-card__tag--age {
  background: rgba(32, 188, 200, 0.12);
  color: var(--primary-800);
}

.course-overview-card h2 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: 1.1rem;
  line-height: 1.1;
  flex: 1 0 100%;
}

.course-overview-card__summary {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.85rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;
  flex: 1 0 100%;
}

.course-overview-card__details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  grid-column: 2;
}

.course-detail__facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.course-overview-card__detail {
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(244, 251, 252, 0.92);
  border: 1px solid rgba(33, 65, 75, 0.08);
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.course-detail__fact {
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(244, 251, 252, 0.92);
  border: 1px solid rgba(33, 65, 75, 0.08);
}

.course-overview-card__detail--wide {
  grid-column: auto;
}

.course-overview-card__detail dt {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.course-detail__fact dt {
  margin: 0 0 4px;
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.course-overview-card__detail dd {
  margin: 0;
  color: var(--text);
  font-size: 0.85rem;
  line-height: 1.3;
  white-space: nowrap;
}

.course-detail__fact dd {
  margin: 0;
  color: var(--text);
  line-height: 1.45;
  white-space: pre-line;
}

.course-overview-card__detail dd strong,
.course-overview-card__detail dd span {
  display: inline;
}

.course-overview-card__detail dd strong {
  font-weight: 700;
}

.course-overview-card__detail dd span {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.course-overview-card__actions {
  grid-column: 3;
  grid-row: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.course-browser__empty {
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px dashed rgba(33, 65, 75, 0.18);
  background: rgba(255, 255, 255, 0.66);
  color: var(--text-soft);
}

.course-browser__empty p {
  margin: 0;
}

.course-browser__map-panel {
  display: grid;
  gap: 14px;
  position: sticky;
  top: 98px;
  padding: 18px;
}

.course-browser__map-copy h3 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: 1.7rem;
  line-height: 0.98;
}

.course-browser__map-copy p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.course-browser__legend {
  display: grid;
  gap: 10px;
}

.course-browser__legend-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.course-browser__legend-dot {
  width: 14px;
  height: 14px;
  margin-top: 7px;
  border: 4px solid rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  background: var(--legend-color);
  box-shadow: 0 0 0 1px rgba(33, 65, 75, 0.08);
  flex-shrink: 0;
}

.course-browser__legend-item strong,
.course-browser__legend-item span {
  display: block;
}

.course-browser__legend-item strong {
  font-size: 1rem;
  font-weight: 800;
}

.course-browser__legend-item span {
  color: var(--text-soft);
  font-size: 0.88rem;
}

.course-browser__map {
  min-height: 390px;
  border-radius: 24px;
  border: 1px solid rgba(33, 65, 75, 0.1);
  overflow: hidden;
}

.course-map-marker {
  display: block;
  width: 32px;
  height: 32px;
  border: 4px solid #fff;
  border-radius: 999px;
  background: var(--pin-color);
  box-shadow: 0 10px 18px rgba(33, 65, 75, 0.18);
  transition: transform 140ms ease, opacity 140ms ease, box-shadow 140ms ease;
}

.course-map-marker.is-dimmed {
  opacity: 0.34;
  transform: scale(0.88);
}

.course-map-marker.is-active {
  transform: scale(1.32);
  box-shadow: 0 14px 28px rgba(33, 65, 75, 0.24);
}

.course-browser .leaflet-popup-content-wrapper {
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(33, 65, 75, 0.16);
}

.course-browser .leaflet-popup-content {
  margin: 14px 16px;
  min-width: 220px;
}

.course-map-popup {
  display: grid;
  gap: 10px;
}

.course-map-popup h4 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: 1.35rem;
  line-height: 1;
}

.course-map-popup p,
.course-map-popup ul {
  margin: 0;
}

.course-map-popup p {
  color: var(--text-soft);
  font-size: 0.92rem;
}

.course-map-popup ul {
  padding-left: 18px;
  color: var(--text);
}

.course-map-popup li + li {
  margin-top: 5px;
}

.course-map-popup a {
  color: var(--accent-dark);
  font-weight: 800;
}

.course-overview__cta {
  margin-top: 2px;
}

.course-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 26px;
  align-items: start;
}

.course-detail__main {
  min-width: 0;
}

.course-detail__image {
  margin: 0 0 20px;
  overflow: hidden;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(243, 249, 251, 0.96) 100%);
  border: 1px solid rgba(33, 65, 75, 0.08);
  box-shadow: 0 28px 48px -42px rgba(22, 43, 51, 0.45);
}

.course-detail__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.course-detail__body {
  height: 100%;
}

.course-detail__aside {
  min-width: 0;
}

.course-detail__panel {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 112px;
}

.course-detail__schedule {
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(33, 65, 75, 0.1);
  border-left: 8px solid var(--accent);
}

.course-detail__schedule h2 {
  margin: 0 0 10px;
  font-family: "Baloo 2", cursive;
  font-size: 1.8rem;
  line-height: 1;
}

.course-detail__schedule p:last-child {
  margin-bottom: 0;
}

.course-detail__actions {
  display: grid;
  gap: 12px;
}

.trust-strip {
  margin-top: 24px;
}

.trust-strip article {
  background: rgba(255, 255, 255, 0.98);
}

.trust-strip h3 {
  margin: 0 0 8px;
  font-family: "Baloo 2", cursive;
  font-size: 1.4rem;
  line-height: 1.05;
}

.steps-grid {
  margin-top: 28px;
}

.step-card:nth-child(1) {
  border-left-color: var(--primary-600);
}

.step-card:nth-child(2) {
  border-left-color: var(--accent);
}

.step-card:nth-child(3) {
  border-left-color: var(--primary-700);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 0;
  padding: 34px 36px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(33, 65, 75, 0.1);
  border-left: 8px solid var(--accent);
  color: var(--text);
}

.cta-band .button--secondary {
  border-color: rgba(33, 65, 75, 0.14);
  background: rgba(255, 255, 255, 0.8);
  color: var(--text);
}

.cta-band .button--secondary:hover,
.cta-band .button--secondary:focus-visible {
  background: #ffffff;
  border-color: rgba(32, 188, 200, 0.3);
}

.cta-band .eyebrow {
  color: var(--accent);
}

.cta-copy {
  color: var(--text-soft);
}

.page-hero {
  padding-top: 44px;
  padding-bottom: 40px;
}

.page-hero--compact {
  padding-top: 18px;
  padding-bottom: 10px;
}

.page-hero__inner {
  background: rgba(255, 255, 255, 0.98);
  border-left-color: var(--accent);
  padding: 34px 30px;
}

.page-hero__inner:has(> h1:only-child) {
  display: flex;
  align-items: center;
  min-height: 0;
  padding: 24px 30px;
}

.page-hero__lead:empty {
  display: none;
  margin: 0;
}

.page-hero__inner:has(> .page-hero__lead:empty) {
  display: flex;
  align-items: center;
  min-height: 0;
  padding: 24px 30px;
}

.page-hero--compact .page-hero__inner {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  align-items: center;
  gap: 14px 28px;
  padding: 24px;
}

.page-hero--compact .eyebrow {
  margin-bottom: 8px;
  grid-column: 1;
}

.page-hero--compact h1 {
  display: flex;
  align-items: center;
  align-self: center;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  grid-column: 1;
  grid-row: 1 / span 2;
  min-height: 1.45em;
}

.page-hero--compact .page-hero__lead {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  max-width: none;
  margin: 0;
}

.page-hero--courses {
  padding-top: 12px;
  padding-bottom: 0;
}

.page-hero--courses .page-hero__inner {
  grid-template-columns: minmax(170px, 0.28fr) minmax(0, 1fr);
  gap: 8px 24px;
  padding: 18px 22px;
}

.page-hero--courses .eyebrow {
  margin-bottom: 6px;
}

.page-hero--courses h1 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.page-hero--courses .page-hero__lead {
  font-size: 1rem;
  line-height: 1.5;
}

.page-hero__lead {
  max-width: 720px;
  margin-top: 10px;
}

.prose {
  max-width: 900px;
  position: relative;
  overflow: hidden;
}

.prose--legal {
  max-width: 820px;
  padding: 34px 36px;
  border-left-width: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99) 0%, rgba(248, 252, 253, 0.99) 100%);
}

.prose--imprint {
  max-width: 780px;
}

.prose--imprint > h1:first-child,
.prose--imprint > h2:first-child,
.prose--imprint > h3:first-child {
  display: none;
}

.prose--imprint p {
  margin: 0 0 1.1rem;
}

.prose--imprint p:last-child {
  margin-bottom: 0;
}

.prose::before,
.prose::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(2px);
}

.prose::before {
  top: -48px;
  right: -36px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(153, 229, 234, 0.22) 0%, rgba(153, 229, 234, 0) 70%);
}

.prose::after {
  bottom: -54px;
  left: -44px;
  width: 210px;
  height: 210px;
  background: radial-gradient(circle, rgba(106, 212, 218, 0.16) 0%, rgba(106, 212, 218, 0) 72%);
}

.prose > * {
  position: relative;
  z-index: 1;
}

.prose > *:first-child {
  margin-top: 0;
}

.prose h2,
.prose h3,
.prose h4 {
  font-family: "Baloo 2", cursive;
  line-height: 1.08;
  color: var(--text);
}

.prose h1 {
  margin: 0 0 10px;
  font-family: "Baloo 2", cursive;
  line-height: 1.04;
  color: var(--text);
}

.prose > h1:first-child {
  display: none;
}

.prose label,
.cuyl-form label,
.form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 800;
}

.prose input[type="text"],
.prose input[type="email"],
.prose input[type="tel"],
.prose input[type="number"],
.prose input[type="date"],
.prose select,
.prose textarea,
.cuyl-form input[type="text"],
.cuyl-form input[type="email"],
.cuyl-form input[type="tel"],
.cuyl-form input[type="number"],
.cuyl-form input[type="date"],
.cuyl-form select,
.cuyl-form textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(33, 65, 75, 0.16);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  transition: border-color 140ms ease, box-shadow 140ms ease, background-color 140ms ease;
}

.prose textarea,
.cuyl-form textarea {
  min-height: 136px;
  resize: vertical;
}

.prose input::placeholder,
.prose textarea::placeholder,
.cuyl-form input::placeholder,
.cuyl-form textarea::placeholder {
  color: #7c949b;
}

.prose input:focus,
.prose select:focus,
.prose textarea:focus,
.cuyl-form input:focus,
.cuyl-form select:focus,
.cuyl-form textarea:focus {
  border-color: rgba(26, 165, 176, 0.65);
  box-shadow: 0 0 0 4px rgba(26, 165, 176, 0.13);
  background: #fff;
  outline: none;
}

.prose a {
  color: var(--accent-dark);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.philosophy-page {
  display: grid;
  gap: 28px;
}

.philosophy-page__intro {
  display: grid;
  gap: 14px;
}

.philosophy-page__intro h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
}

.philosophy-page__intro p {
  max-width: 56rem;
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.8;
  color: var(--text-soft);
}

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

.philosophy-page__card {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px 22px;
  border: 1px solid rgba(33, 65, 75, 0.1);
  border-left: 8px solid var(--accent);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 48px rgba(33, 65, 75, 0.07);
}

.philosophy-page__card:nth-child(2) {
  border-left-color: var(--primary-600);
}

.philosophy-page__card:nth-child(3) {
  border-left-color: var(--primary-700);
}

.philosophy-page__icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(32, 188, 200, 0.10), rgba(153, 229, 234, 0.24));
}

.philosophy-page__icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.philosophy-page__card h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
}

.philosophy-page__card p {
  margin: 0;
  line-height: 1.75;
  color: var(--text-soft);
}

.form-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.86fr) minmax(0, 1.14fr);
  gap: 24px;
  align-items: start;
}

.form-layout--wide {
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
}

.form-layout--trial {
  gap: 24px;
}

.form-layout--trial-empty {
  grid-template-columns: 1fr;
  max-width: 980px;
}

.trial-autumn-teaser {
  grid-column: 1 / -1;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border: 1px solid rgba(33, 65, 75, 0.1);
  border-left: 8px solid var(--accent);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 48px rgba(33, 65, 75, 0.07);
}

.trial-autumn-teaser .eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 8px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(26, 165, 176, 0.1);
  color: var(--accent-dark);
  font-size: 0.72rem;
}

.trial-autumn-teaser h2 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(1.65rem, 2.4vw, 2.25rem);
  line-height: 1.05;
}

.trial-autumn-teaser p:not(.eyebrow) {
  margin: 6px 0 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.55;
}

.trial-autumn-teaser .button {
  flex: 0 0 auto;
}

.trial-empty-state {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid rgba(33, 65, 75, 0.1);
  border-left: 8px solid var(--accent);
  border-radius: 22px;
  background:
    radial-gradient(circle at 92% 0%, rgba(32, 188, 200, 0.08), transparent 30%),
    rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
}

.trial-empty-state .eyebrow {
  margin-bottom: 10px;
}

.trial-empty-state h2 {
  margin: 0;
  max-width: 18ch;
  font-family: "Baloo 2", cursive;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 0.98;
}

.trial-empty-state p:not(.eyebrow) {
  max-width: 44rem;
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 1.04rem;
  line-height: 1.6;
}

.trial-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

#probetraining-herbst {
  scroll-margin-top: 120px;
}

.info-card,
.form-card {
  padding: 28px;
  border: 1px solid rgba(33, 65, 75, 0.1);
  border-left: 8px solid var(--accent);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-soft);
}

.form-card {
  border-left-color: var(--accent);
}

.form-card--autumn {
  grid-column: 1 / -1;
}

.form-layout--trial-empty .form-card--autumn {
  padding: 32px;
}

.form-card--autumn .form-card__header {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 1fr);
  gap: 10px 28px;
  align-items: end;
}

.form-card--autumn .form-card__header .eyebrow,
.form-card--autumn .form-card__header h2 {
  grid-column: 1;
}

.form-card--autumn .form-card__header p:not(.eyebrow) {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
  color: var(--text-soft);
  font-size: 1.02rem;
  line-height: 1.6;
}

.info-card h2,
.form-card h2 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
}

.form-card__header {
  margin-bottom: 18px;
}

.contact-list,
.info-stack,
.social-links {
  display: grid;
  gap: 14px;
}

.contact-list {
  margin-top: 18px;
}

.contact-list__item {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(33, 65, 75, 0.08);
}

.contact-list__item span {
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-list__item a,
.social-links a {
  font-weight: 800;
  color: var(--accent-dark);
  word-break: break-word;
}

.social-links {
  margin-top: 24px;
}

.social-links h3,
.info-stack h3 {
  margin: 0;
  font-family: "Baloo 2", cursive;
  font-size: 1.55rem;
  line-height: 1.02;
}

.info-stack article {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(33, 65, 75, 0.08);
}

.info-stack article p {
  margin: 8px 0 0;
  color: var(--text-soft);
}

.cuyl-form {
  display: grid;
  gap: 16px;
}

.cuyl-form__consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(33, 65, 75, 0.08);
}

.cuyl-form__consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
}

.cuyl-form__consent span {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

.cuyl-form__consent a {
  color: var(--accent-dark);
  font-weight: 800;
}

.cuyl-form__recaptcha-note,
.cuyl-form__recaptcha-message {
  margin: -4px 0 2px;
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.45;
}

.cuyl-form__recaptcha-note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
}

.cuyl-form__recaptcha-message {
  padding: 9px 11px;
  border-radius: 10px;
  background: rgba(255, 244, 226, 0.95);
  border: 1px solid rgba(169, 104, 28, 0.2);
  color: #8a4b12;
  font-weight: 700;
}

.cuyl-form .cuyl-recaptcha-consent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 0;
  padding: 5px 9px;
  border: 1px solid rgba(32, 188, 200, 0.2);
  border-radius: 999px;
  background: rgba(32, 188, 200, 0.08);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.cuyl-form .cuyl-recaptcha-consent:hover,
.cuyl-form .cuyl-recaptcha-consent:focus-visible {
  transform: none;
  background: rgba(32, 188, 200, 0.13);
  box-shadow: none;
  filter: none;
}

.cuyl-form .cuyl-recaptcha-consent:disabled {
  border-color: rgba(91, 190, 126, 0.22);
  background: rgba(91, 190, 126, 0.12);
  color: #2b7450;
  cursor: default;
}

.cuyl-form__grid {
  display: grid;
  gap: 16px;
}

.cuyl-form__grid > .form-field {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.cuyl-form__grid--2 > .form-field > label,
.cuyl-form__grid--3 > .form-field > label {
  display: flex;
  align-items: flex-end;
  min-height: 2.9em;
}

.cuyl-form__grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cuyl-form__grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-notice {
  margin-bottom: 18px;
  padding: 13px 16px;
  border-radius: 16px;
  font-weight: 800;
}

.form-notice--success {
  background: rgba(224, 247, 234, 0.95);
  border: 1px solid rgba(33, 145, 89, 0.18);
  color: #1f6b48;
}

.form-notice--error {
  background: rgba(255, 241, 241, 0.96);
  border: 1px solid rgba(197, 48, 48, 0.2);
  color: #9b2c2c;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  padding: 56px 0 48px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.16), transparent 32%),
    linear-gradient(135deg, #20bcc8 0%, #1597a3 100%);
  border-top: 0;
  color: #ffffff;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(150px, 0.7fr) minmax(200px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.site-footer h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.site-footer p {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer__intro p {
  font-size: 0.95rem;
  margin-top: 10px;
}

.site-footer__intro .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer__nav,
.site-footer__meta {
  display: grid;
  gap: 12px;
}

.site-footer__nav a,
.site-footer__meta a {
  color: rgba(255, 255, 255, 0.9);
}

.site-footer__nav a:hover,
.site-footer__nav a:focus-visible,
.site-footer__meta a:hover,
.site-footer__meta a:focus-visible {
  color: #ffffff;
}

.site-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.site-footer__bottom-left {
  display: flex;
  align-items: center;
  gap: 22px;
  min-width: 0;
}

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

.site-footer__partner img {
  display: block;
  width: auto;
  max-width: 168px;
  max-height: 38px;
  object-fit: contain;
}

.site-footer__legal {
  display: flex;
  gap: 18px;
}

.site-footer__legal a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
}

.site-footer__legal a:hover,
.site-footer__legal a:focus-visible {
  color: #ffffff;
}

.site-footer__credits-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.85rem;
}

.site-footer__credits-text a {
  color: #ffffff;
  font-weight: 800;
}

.site-footer__credits-text a:hover,
.site-footer__credits-text a:focus-visible {
  color: #ffffff;
}

/* ── Decorative shapes ── */

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

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  top: -60px;
  left: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(32, 188, 200, 0.08) 0%, transparent 70%);
}

.hero::after {
  bottom: -80px;
  right: -50px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(32, 188, 200, 0.10) 0%, transparent 70%);
}

.hero > * {
  position: relative;
  z-index: 1;
}

.section--soft {
  position: relative;
  overflow: hidden;
}

.section--soft::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -30px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(32, 188, 200, 0.10) 0%, transparent 70%);
  pointer-events: none;
}

.section--warm {
  position: relative;
  overflow: hidden;
}

.section--cta {
  position: relative;
  overflow: hidden;
}

.section--cta::before,
.section--cta::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.section--cta::before {
  top: -50px;
  right: 10%;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(32, 188, 200, 0.10) 0%, transparent 70%);
}

.section--cta::after {
  bottom: -30px;
  left: 15%;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(32, 188, 200, 0.08) 0%, transparent 70%);
}

/* Confetti dots via box-shadow on hero */
.hero__copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  box-shadow:
    -20px -30px 0 rgba(32, 188, 200, 0.12),
    60px -60px 0 rgba(32, 188, 200, 0.16),
    -50px 120px 0 rgba(26, 154, 164, 0.12),
    320px -20px 0 rgba(95, 211, 219, 0.14),
    480px 40px 0 rgba(32, 188, 200, 0.12),
    -30px 260px 0 rgba(32, 188, 200, 0.10),
    540px 180px 0 rgba(26, 154, 164, 0.12),
    160px -50px 0 rgba(95, 211, 219, 0.12);
}

.hero__copy {
  position: relative;
}

/* Wave dividers between sections */
.section--soft::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V16c200-22 400-22 600 0s400 22 600 0V48z' fill='%23ffffff' fill-opacity='0.6'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 1;
  border-radius: 0;
}

.section--warm::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 48px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 48' preserveAspectRatio='none'%3E%3Cpath d='M0 48V20c150-26 350-26 600 0s450 26 600 0V48z' fill='%23ffffff' fill-opacity='0.5'/%3E%3C/svg%3E") no-repeat center;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 1;
  border-radius: 0;
}

.section--warm::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: -20px;
  width: 180px;
  height: 180px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(32, 188, 200, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 1080px) {
  .hero__grid,
  .intro {
    grid-template-columns: 1fr;
  }

  .intro__copy {
    position: static;
  }

  .intro__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .story-card {
    grid-template-columns: 1fr;
  }

  .story-card .story-card__icon {
    grid-row: auto;
  }

  .story-card p {
    grid-column: auto;
  }

  .hero-panel::before {
    inset: 16px 0 -16px 18px;
  }

  .page-hero--compact .page-hero__inner {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .page-hero--compact .page-hero__lead,
  .page-hero--compact .eyebrow,
  .page-hero--compact h1 {
    grid-column: auto;
    grid-row: auto;
    align-self: auto;
  }

  .cuyl-form__grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  body.body--menu-open {
    overflow: hidden;
  }

  .site-header {
    z-index: 90;
  }

  .site-header__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding-right: 4px;
  }

  .brand {
    max-width: min(66vw, 230px);
    overflow: hidden;
  }

  .brand:has(.brand__logo) {
    max-width: min(90vw, 340px);
  }

  .brand__logo {
    max-width: 100%;
    flex-shrink: 0;
  }

  .site-nav__toggle {
    display: inline-flex;
    justify-self: end;
    padding: 8px 10px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.72);
  }

  .site-nav {
    grid-column: 1 / -1;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    padding: 0 10px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(33, 65, 75, 0.1);
    box-shadow: 0 22px 44px rgba(70, 92, 99, 0.2);
    backdrop-filter: blur(10px);
    transition: max-height 220ms ease, opacity 180ms ease, padding-top 180ms ease;
  }

  .site-header--menu-open .site-nav {
    max-height: 460px;
    opacity: 1;
    padding-top: 14px;
    padding-bottom: 10px;
    pointer-events: auto;
  }

  .site-header--menu-open .site-nav__toggle-icon span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .site-header--menu-open .site-nav__toggle-icon span:nth-child(2) {
    opacity: 0;
  }

  .site-header--menu-open .site-nav__toggle-icon span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .cuyl-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 8px 0 4px;
  }

  .cuyl-menu a {
    justify-content: center;
    background: rgba(231, 248, 250, 0.9);
    color: var(--text);
  }

  .cuyl-menu a:hover,
  .cuyl-menu a:focus-visible {
    background: rgba(32, 188, 200, 0.16);
    color: var(--accent-dark);
  }

  .intro__cards,
  .values-grid,
  .course-grid,
  .trust-strip,
  .hero-panel--homepage .hero-panel__list,
  .steps-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band {
    display: grid;
  }

  .form-layout {
    grid-template-columns: 1fr;
  }

  .trial-autumn-teaser {
    align-items: stretch;
    flex-direction: column;
  }

  .trial-empty-state,
  .form-card--autumn .form-card__header {
    grid-template-columns: 1fr;
  }

  .trial-empty-state__actions {
    justify-content: stretch;
  }

  .trial-empty-state__actions .button {
    flex: 1 1 220px;
  }

  .trial-autumn-teaser .button {
    width: 100%;
  }

  .form-card--autumn .form-card__header .eyebrow,
  .form-card--autumn .form-card__header h2,
  .form-card--autumn .form-card__header p:not(.eyebrow) {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 760px) {
  .hero,
  .section,
  .page-content,
  .page-hero {
    padding: 48px 0;
  }

  .site-header {
    padding: 12px 0;
  }

  .shell {
    width: min(calc(100% - 20px), var(--shell));
  }

  .site-header::before {
    inset: 7px 6px 0;
  }

  .site-header__inner {
    padding-right: 6px;
  }

  .site-nav__toggle {
    padding: 8px 11px;
  }

  .brand__logo {
    height: 46px;
  }

  .site-nav__toggle-label {
    font-size: 0.94rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-panel::before {
    display: none;
  }

  .story-card,
  .value-card,
  .course-card,
  .trust-strip article,
  .step-card,
  .page-hero__inner,
  .prose,
  .cta-band {
    padding: 24px;
  }

  .cta-band__actions {
    margin-top: 4px;
  }

  .page-content {
    padding: 28px 0 56px;
  }

  .info-card,
  .form-card,
  .course-overview-card,
  .course-detail__panel,
  .course-browser__filters,
  .course-browser__map-panel {
    padding: 14px;
  }

  .course-overview-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .course-overview-card__image {
    grid-row: auto;
    width: 100%;
    aspect-ratio: 16 / 7;
  }

  .course-overview-card__header {
    grid-column: 1;
  }

  .course-overview-card__details {
    grid-column: 1;
    flex-direction: column;
  }

  .course-overview-card__actions {
    grid-column: 1;
    grid-row: auto;
    justify-content: flex-end;
  }

  .cuyl-form__grid--2,
  .cuyl-form__grid--3 {
    grid-template-columns: 1fr;
  }

  .cuyl-form__grid--2 > .form-field > label,
  .cuyl-form__grid--3 > .form-field > label {
    display: block;
    min-height: 0;
  }

  .course-browser__summary {
    flex-direction: column;
    align-items: flex-start;
  }

  .course-browser__summary-title {
    min-height: 0;
  }

  .course-browser__summary-groups {
    width: 100%;
    gap: 10px;
  }

  .course-browser__filter-group {
    width: 100%;
    gap: 8px;
  }

  .course-browser__filter-label {
    min-height: 0;
  }

  .prose::before,
  .prose::after {
    display: none;
  }

  .philosophy-page__grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 40px 0 36px;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 14px;
  }

  .site-footer__intro {
    grid-column: 1 / -1;
  }

  .site-footer__nav,
  .site-footer__meta {
    gap: 10px;
  }

  .site-footer__nav a,
  .site-footer__meta a {
    font-size: 0.96rem;
  }

  .site-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .site-footer__bottom-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 420px) {
  .site-nav__toggle-label {
    display: none;
  }

  .site-nav__toggle {
    min-width: 46px;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .button,
  .hero-panel__pill {
    width: 100%;
  }

  .hero__actions,
  .cta-band__actions {
    flex-direction: column;
  }

  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-footer__intro p {
    max-width: 34ch;
  }

  .site-footer__partner img {
    max-width: 150px;
    max-height: 34px;
  }
}

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

  .course-browser__map-panel {
    display: none;
  }

  .course-detail__grid {
    grid-template-columns: 1fr;
  }

  .course-detail__panel {
    position: static;
  }
}

/* --- About page --- */
.about-layout {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-top: 0;
  padding-bottom: 56px;
}

.about-section__text {
  max-width: 760px;
}

.about-section__text p {
  margin: 0 0 16px;
  line-height: 1.75;
}

.about-section__text h2 {
  font-family: "Baloo 2", cursive;
  font-size: 1.6rem;
  margin: 8px 0 20px;
}

.about-section--highlight {
  background: var(--surface-mint);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.about-team {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 32px;
}

.about-team__member {
  text-align: center;
}

.about-team__photo {
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.about-team__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-team__member h3 {
  font-family: "Baloo 2", cursive;
  font-size: 1.25rem;
  margin: 0 0 4px;
}

.about-team__member p {
  color: var(--text-soft);
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 600px) {
  .about-team {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-section--highlight {
    padding: 24px;
  }

  .about-team__photo {
    width: 180px;
    height: 180px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Homepage redesign */
body.home {
  background: #ffffff;
}

.home .site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 26px 0 0;
}

.home .site-header::before {
  inset: 16px 24px auto;
  height: 86px;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.home .brand__logo {
  width: 116px;
  height: 116px;
  object-fit: contain;
  transform: scale(1.18);
  transform-origin: left center;
  filter: drop-shadow(0 10px 24px rgba(8, 74, 82, 0.18));
}

.home .brand__text strong,
.home .brand__text span,
.home .cuyl-menu a {
  color: rgba(255, 255, 255, 0.92);
}

.home .cuyl-menu a:hover,
.home .cuyl-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.home .site-nav__toggle {
  color: #ffffff;
}

.home .site-nav__toggle-icon span {
  background: #ffffff;
}

.home .hero {
  position: relative;
  padding: 148px 0 0;
  background:
    linear-gradient(135deg, #38ccd2 0%, #20bbc5 46%, #7edfe3 100%);
  overflow: hidden;
}

.home .hero::before,
.home .hero::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  pointer-events: none;
  z-index: 1;
}

.home .hero::before {
  top: 52%;
  left: 48%;
}

.home .hero::after {
  right: 7%;
  top: 30%;
  width: 34px;
  height: 34px;
}

.home .hero h1 {
  width: min(100%, 540px);
  max-width: 540px;
  color: #ffffff;
  font-size: clamp(3.1rem, 4.25vw, 4.9rem);
  line-height: 0.92;
  letter-spacing: -0.015em;
  text-align: center;
}

.home .hero__statement span {
  display: block;
}

.home .hero__statement-line--center {
  text-align: center;
}

.home .hero__statement-line--nowrap {
  font-size: clamp(2.55rem, 3.35vw, 3.45rem);
  white-space: nowrap;
}

.home .hero__lead {
  max-width: 33rem;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
}

.home .hero__actions {
  margin-top: 30px;
}

.home .hero__actions .button--primary {
  background: #138f9b;
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(12, 107, 117, 0.24);
}

.home .hero__actions .button--primary:hover,
.home .hero__actions .button--primary:focus-visible {
  background: #0f7f89;
}

.home .hero__actions .button--secondary {
  background: #ffffff;
  color: #24515a;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 14px 28px rgba(12, 107, 117, 0.12);
}

.home .hero__actions .button--secondary:hover,
.home .hero__actions .button--secondary:focus-visible {
  background: #f3fbfc;
  color: #174852;
}

.home-collage {
  position: relative;
  min-height: 540px;
}

.home-collage::before {
  content: "";
  position: absolute;
  inset: 22px 34px -26px -22px;
  border-radius: 48px;
  background: linear-gradient(135deg, #e7f9fa, #ffffff);
  box-shadow: 0 22px 60px rgba(70, 100, 110, 0.10);
  transform: rotate(-3deg);
}

.home-collage__main,
.home-collage__side,
.home-collage__chip,
.intro__photo,
.course-card__image {
  position: relative;
  overflow: hidden;
  background: var(--surface);
}

.home-collage__main,
.home-collage__side,
.home-collage__chip {
  position: absolute;
  margin: 0;
  border: 10px solid rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.home-collage__main img,
.home-collage__side img,
.home-collage__chip img,
.intro__photo img,
.course-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.16) contrast(1.04) brightness(1.02);
}

.home-collage__main::after,
.home-collage__side::after,
.home-collage__chip::after,
.intro__photo::after,
.course-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(32, 188, 200, 0.2), rgba(153, 229, 234, 0.12));
  mix-blend-mode: screen;
  pointer-events: none;
}

.home-collage__main {
  inset: 18px 8px 68px 70px;
  border-radius: 56px;
  transform: rotate(1.5deg);
}

.home-collage__main img {
  object-position: 54% 42%;
}

.home-collage__side {
  left: 0;
  bottom: 0;
  width: 42%;
  height: 205px;
  border-radius: 34px;
  transform: rotate(-5deg);
}

.home-collage__side img {
  object-position: 52% 50%;
}

.home-collage__chip {
  right: 0;
  top: 52px;
  width: 34%;
  height: 202px;
  border-radius: 999px;
  transform: rotate(7deg);
}

.home-collage__chip img {
  object-position: 55% 53%;
}

.home-collage__caption {
  position: absolute;
  right: 34px;
  bottom: 36px;
  max-width: 265px;
  padding: 14px 18px;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  font-weight: 900;
  line-height: 1.1;
  box-shadow: 0 18px 38px rgba(45, 79, 88, 0.24);
}

.home .section--soft {
  background:
    radial-gradient(circle at 86% 18%, rgba(32, 188, 200, 0.12), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f7fcfd 100%);
}

.home .intro {
  position: relative;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 1fr);
  gap: 48px;
  align-items: center;
  padding-top: 28px;
}

.home .intro::before {
  content: "";
  position: absolute;
  right: -2%;
  top: 50%;
  width: 54%;
  height: 74%;
  border-radius: 46% 54% 42% 58% / 52% 38% 62% 48%;
  background: linear-gradient(135deg, rgba(32, 188, 200, 0.18), rgba(255, 255, 255, 0.4));
  transform: translateY(-50%) rotate(-4deg);
  z-index: 0;
}

.home .intro__copy {
  position: relative;
  z-index: 1;
}

.home .intro__copy h2 {
  max-width: 10ch;
}

.intro__photo {
  position: relative;
  z-index: 1;
  height: 430px;
  margin: 0;
  border-radius: 36% 64% 52% 48% / 50% 42% 58% 50%;
  box-shadow: 0 28px 70px rgba(26, 124, 136, 0.16);
  transform: rotate(1.5deg);
}

.intro__photo img {
  object-position: 50% 48%;
}

.home .intro__cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}

.home .story-card {
  position: relative;
  display: block;
  min-height: 190px;
  padding: 30px;
  border-radius: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(33, 65, 75, 0.1);
  border-left: 8px solid var(--accent);
  box-shadow: 0 18px 42px rgba(36, 91, 101, 0.08);
}

.home .story-card::after {
  display: none;
}

.home .story-card h3 {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  font-size: clamp(1.5rem, 2vw, 1.75rem);
}

.home .story-card::before {
  display: block;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.home .story-card:nth-child(1)::before {
  content: "01";
}

.home .story-card:nth-child(2)::before {
  content: "02";
}

.home .story-card:nth-child(3)::before {
  content: "03";
}

.home .section--warm {
  background:
    radial-gradient(circle at 16% 12%, rgba(32, 188, 200, 0.12), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f3fbfc 100%);
}

.home .section-copy {
  max-width: 36rem;
  font-weight: 800;
}

.home .course-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.home .course-card {
  padding: 24px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
}

.home .course-card::before {
  display: none;
}

.course-card__image {
  height: 235px;
  margin: 0 0 24px;
  border-radius: 24px;
}

.home .course-card h3 {
  font-size: clamp(1.85rem, 2.35vw, 2.2rem);
}

.home .cta-band {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(33, 65, 75, 0.1);
  border-left: 8px solid var(--accent);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 46px rgba(70, 100, 110, 0.09);
}

.home .cta-band__actions {
  margin-top: 0;
}

@media (max-width: 1080px) {
  .home .intro,
  .home .cta-band {
    grid-template-columns: 1fr;
  }

  .home .intro__cards,
  .home .course-grid {
    grid-template-columns: 1fr;
  }

  .hero--photo .hero__layout {
    grid-template-columns: 1fr;
    gap: 36px;
    min-height: 0;
    padding-bottom: 86px;
  }

  .hero--photo .hero__copy {
    max-width: none;
  }

  .hero__visual {
    width: 100%;
    min-height: clamp(410px, 64vw, 560px);
    max-width: 640px;
    margin-inline: auto;
  }

  .hero__photo {
    right: -3%;
    top: 2%;
    width: 106%;
    height: 86%;
    min-height: 0;
  }

  .hero__usp {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: -86px;
  }

  .home .intro::before {
    top: 42%;
    width: 86%;
    height: 44%;
  }
}

@media (max-width: 1180px) {
  .home .site-header {
    padding-top: 10px;
  }

  .home .site-header::before {
    inset: 8px 10px auto;
    height: 78px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 14px 38px rgba(7, 96, 105, 0.14);
    backdrop-filter: blur(16px);
  }

  .home .site-header__inner {
    min-height: 74px;
    padding-inline: 4px 2px;
  }

  .home .brand {
    align-items: center;
  }

  .home .brand__logo {
    width: auto;
    height: 64px;
    object-fit: contain;
    transform: none;
    transform-origin: left center;
    filter: drop-shadow(0 8px 16px rgba(4, 64, 72, 0.22));
  }

  .home .site-nav__toggle {
    display: grid;
    place-items: center;
    width: 56px;
    height: 56px;
    margin-right: 8px;
    padding: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text);
    box-shadow: 0 10px 24px rgba(8, 74, 82, 0.16);
  }

  .home .site-nav__toggle-label {
    display: none;
  }

  .home .site-nav__toggle-icon {
    width: 24px;
    height: 20px;
    place-content: center;
  }

  .home .site-nav__toggle-icon span {
    width: 24px;
    background: var(--text);
  }

  .home .site-nav {
    top: calc(100% + 8px);
    left: 2px;
    right: 2px;
    border-radius: 24px;
    box-shadow: 0 20px 46px rgba(12, 78, 86, 0.18);
  }

  .home .site-header--menu-open .site-nav {
    background: rgba(255, 255, 255, 0.98);
  }

  .home .site-nav .cuyl-menu a,
  .home .site-header--menu-open .cuyl-menu a {
    min-height: 36px;
    justify-content: flex-start;
    padding: 0 12px;
    background: rgba(231, 248, 250, 0.86);
    color: var(--text);
  }

  .home .site-nav .cuyl-menu a:hover,
  .home .site-nav .cuyl-menu a:focus-visible,
  .home .site-header--menu-open .cuyl-menu a:hover,
  .home .site-header--menu-open .cuyl-menu a:focus-visible {
    background: rgba(32, 188, 200, 0.16);
    color: var(--accent-dark);
  }

  .home .site-header--menu-open .cuyl-menu {
    gap: 6px;
    padding: 6px 4px;
  }
}

@media (max-width: 760px) {
  .home .hero {
    padding-top: 112px;
  }

  .home .hero h1 {
    font-size: clamp(2.65rem, 12.5vw, 3.75rem);
    line-height: 0.94;
  }

  .home .hero__statement-line--nowrap {
    font-size: clamp(2.15rem, 10.8vw, 3.2rem);
  }

  .home .hero__lead {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.48;
  }

  .home .hero__actions {
    margin-top: 22px;
    gap: 12px;
  }

  .hero--photo .hero__layout {
    gap: 16px;
    padding-bottom: 46px;
  }

  .hero__visual {
    width: min(100%, 360px);
    min-height: clamp(245px, 66vw, 310px);
    max-width: 360px;
    margin-inline: auto;
  }

  .hero__visual::before {
    right: -10%;
    top: 3%;
    width: 116%;
    height: 80%;
  }

  .hero__visual::after {
    right: -8%;
    bottom: 18px;
    width: 112%;
    height: 32%;
  }

  .hero__visual-dot--one {
    top: 10%;
    left: 6%;
    width: 30px;
    height: 30px;
  }

  .hero__visual-dot--two {
    right: 5%;
    top: 18%;
    width: 22px;
    height: 22px;
  }

  .hero__photo {
    right: -8%;
    top: 7%;
    width: 116%;
    height: 74%;
    border-radius: 44% 56% 54% 46% / 42% 34% 66% 58%;
  }

  .hero__usp {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: -48px;
    padding-top: 8px;
    padding-bottom: 18px;
  }

  .hero__usp::before {
    top: -40px;
    height: calc(100% + 48px);
    border-radius: 50% 50% 0 0 / 12% 12% 0 0;
  }

  .hero__usp-item {
    min-height: 56px;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 20px;
  }

  .hero__usp-icon {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .hero__usp-icon svg {
    width: 32px;
    height: 32px;
  }

  .hero__usp-item strong {
    max-width: none;
  }

  .home-collage {
    min-height: 320px;
  }

  .home .intro {
    padding-top: 8px;
  }

  .home .intro::before {
    display: none;
  }

  .intro__photo {
    height: 320px;
    border-radius: 34px;
    transform: none;
  }

  .home .story-card {
    min-height: 132px;
    padding: 22px;
  }

  .home-collage::before {
    inset: 18px 0 -10px 0;
    border-radius: 22px;
    transform: none;
    box-shadow: 0 16px 40px rgba(70, 100, 110, 0.08);
  }

  .home-collage__main {
    inset: 0;
    border-width: 0;
    border-radius: 22px;
    transform: none;
  }

  .home-collage__side {
    display: none;
  }

  .home-collage__chip {
    display: none;
  }

  .home-collage__caption {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.94);
    color: var(--text);
    box-shadow: 0 14px 34px rgba(45, 79, 88, 0.16);
  }

  .intro__photo {
    height: 310px;
    border-radius: 28px;
  }

  .home .cta-band {
    padding: 28px;
    border-radius: 30px;
  }
}
