:root {
  --text: #262225;
  --text-muted: #625b5f;
  --page: #fbf8f4;
  --surface-alt: #f4eee9;
  --surface: #ffffff;
  --border: #ddd3cd;
  --border-control: #81787c;
  --brand: #762b4b;
  --brand-hover: #61223d;
  --brand-active: #4c1a30;
  --link: #6f2747;
  --focus: #b94f13;
  --success: #286446;
  --success-bg: #e8f3ec;
  --warning: #764a08;
  --warning-bg: #fff2cc;
  --error: #983640;
  --error-bg: #fceaec;
  --neutral: #4f5c56;
  --neutral-bg: #edf0ee;
  --info: #2f6074;
  --info-bg: #eaf2f5;
  --pregnancy: #7a4e5c;
  --pregnancy-bg: #f6ecef;
  --family: #76521e;
  --family-bg: #f8f1e3;
  --disabled: #736d70;
  --disabled-bg: #dad5d2;
  --radius-control: 8px;
  --radius-card: 12px;
  --content: 1200px;
  --reading: 68ch;
  --shadow-overlay: 0 12px 32px rgba(38, 34, 37, 0.16);
  --header-offset: 112px;
}

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-offset) + 20px);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--page);
  font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 18px;
  line-height: 1.56;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

img {
  height: auto;
}

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

a {
  color: var(--link);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.button:focus-visible,
.icon-button:focus-visible,
.menu-toggle:focus-visible {
  box-shadow: 0 0 0 2px #fff;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  left: 8px;
  transform: translateY(-160%);
  padding: 10px 16px;
  border-radius: var(--radius-control);
  color: #fff;
  background: var(--brand-active);
  font-weight: 700;
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(calc(100% - 40px), var(--content));
  margin-inline: auto;
}

.narrow {
  max-width: var(--reading);
}

.prototype-strip {
  min-height: 32px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  line-height: 20px;
}

.prototype-strip__inner {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.prototype-label {
  color: var(--neutral);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.utility-links {
  display: flex;
  gap: 18px;
  align-items: center;
  white-space: nowrap;
}

.utility-links a {
  color: var(--text-muted);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(251, 248, 244, 0.98);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 80px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--text);
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-lockup img {
  width: 54px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
}

.brand-lockup__text {
  font-size: 18px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.site-nav {
  margin-left: auto;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 21px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a:not(.button) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--text);
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--brand);
}

.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.icon-button,
.menu-toggle {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border-control);
  border-radius: var(--radius-control);
  color: var(--text);
  background: var(--surface);
  cursor: pointer;
}

.icon-button svg,
.menu-toggle svg,
.inline-icon {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.menu-toggle {
  display: none;
}

.mobile-meta {
  display: none;
}

main {
  display: block;
}

.hero {
  padding-block: 64px 72px;
}

.hero--tint {
  background: var(--surface-alt);
}

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

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

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  gap: 64px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eyebrow--pregnancy {
  color: var(--pregnancy);
}

.eyebrow--family {
  color: var(--family);
}

h1,
h2,
h3,
h4,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

h1 {
  max-width: 18ch;
  font-size: clamp(2.25rem, 4.1vw, 3.5rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
}

h2 {
  max-width: 24ch;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h3 {
  font-size: clamp(1.5rem, 2vw, 1.75rem);
  line-height: 1.28;
}

h4 {
  font-size: 1.25rem;
  line-height: 1.4;
}

.lead {
  max-width: 54ch;
  margin: 20px 0 0;
  font-size: clamp(1.18rem, 1.7vw, 1.38rem);
  line-height: 1.5;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
  margin-top: 28px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-control);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button--primary {
  color: #fff;
  background: var(--brand);
}

.button--primary:hover {
  color: #fff;
  background: var(--brand-hover);
}

.button--primary:active {
  background: var(--brand-active);
}

.button--secondary {
  color: var(--brand);
  background: var(--surface);
  border-color: var(--brand);
}

.button--secondary:hover {
  background: var(--surface-alt);
}

.button[disabled],
.button[aria-disabled="true"] {
  color: var(--disabled);
  background: var(--disabled-bg);
  border-color: var(--disabled-bg);
  cursor: not-allowed;
}

.button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 7px;
  font-weight: 700;
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.image-note {
  margin: 10px 0 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
}

.fact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.fact-row li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 12px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}

.fact-row svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--brand);
  stroke-width: 1.8;
}

.section {
  padding-block: 64px;
}

.section--compact {
  padding-block: 44px;
}

.section--alt {
  background: var(--surface-alt);
}

.section--pregnancy {
  background: var(--pregnancy-bg);
}

.section--family {
  background: var(--family-bg);
}

.section-heading {
  max-width: var(--reading);
  margin-bottom: 32px;
}

.section-heading p {
  max-width: 62ch;
  margin: 16px 0 0;
}

.kicker {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.grid-2,
.grid-3,
.grid-4,
.teacher-grid,
.offer-grid,
.price-grid,
.schedule-grid {
  display: grid;
  gap: 24px;
}

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

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

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

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
}

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

.card > :last-child {
  margin-bottom: 0;
}

.card p {
  margin: 12px 0 0;
}

.card-note,
.booking-option__note {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 22px;
}

.card .text-link,
.card .button {
  margin-top: 18px;
}

.card--pregnancy {
  background: var(--pregnancy-bg);
  border-color: #dfcbd1;
}

.card--family {
  background: var(--family-bg);
  border-color: #e7d9bd;
}

.card--outlined-brand {
  border: 2px solid var(--brand);
}

.event-card {
  display: flex;
  flex-direction: column;
}

.event-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.card__meta {
  margin: 0 0 10px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.card__icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  color: var(--brand);
  background: var(--surface-alt);
  border-radius: 50%;
}

.card__icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step-list--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.step {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.step-label {
  display: block;
  margin-bottom: 18px;
  color: var(--brand);
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.step p {
  margin: 10px 0 0;
  color: var(--text-muted);
}

.media-block {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px;
  align-items: center;
}

.media-block--reverse {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.media-block--reverse .media-block__image {
  order: 2;
}

.media-block__image img,
.photo-card img {
  width: 100%;
  aspect-ratio: 8 / 5;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.media-block__content p {
  max-width: 62ch;
  margin: 18px 0 0;
}

.check-list,
.plain-list,
.link-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 30px;
  margin-top: 10px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--success);
  font-weight: 700;
}

.plain-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.link-list li + li {
  margin-top: 8px;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 32px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status--success { color: var(--success); background: var(--success-bg); }
.status--warning { color: var(--warning); background: var(--warning-bg); }
.status--error { color: var(--error); background: var(--error-bg); }
.status--neutral { color: var(--neutral); background: var(--neutral-bg); }
.status--info { color: var(--info); background: var(--info-bg); }

.work-state {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 9px;
  color: var(--neutral);
  background: var(--neutral-bg);
  border-radius: 6px;
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
}

.notice {
  padding: 20px 22px;
  background: var(--info-bg);
  border-left: 4px solid var(--info);
  border-radius: var(--radius-control);
}

.notice--warning {
  color: var(--text);
  background: var(--warning-bg);
  border-left-color: var(--warning);
}

.notice--error {
  background: var(--error-bg);
  border-left-color: var(--error);
}

.notice--success {
  background: var(--success-bg);
  border-left-color: var(--success);
}

.notice h3,
.notice h4,
.notice p {
  margin: 0;
}

.notice p + p,
.notice h3 + p,
.notice h4 + p {
  margin-top: 8px;
}

.schedule-day h3 {
  margin-bottom: 14px;
}

.schedule-day {
  align-self: start;
}

.course-card + .course-card {
  margin-top: 10px;
}

.course-card {
  min-height: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 16px 18px;
}

.course-card__time {
  display: block;
  margin-bottom: 0;
  font-size: 22px;
  line-height: 30px;
  font-weight: 700;
}

.course-card dl,
.facts-grid {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 5px 12px;
  margin: 0;
}

.course-card dt,
.facts-grid dt {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.course-card dd,
.facts-grid dd {
  margin: 0;
  font-size: 15px;
  line-height: 20px;
}

.exception {
  margin-top: 16px;
  padding: 12px 14px;
  color: var(--error);
  background: var(--error-bg);
  border-radius: var(--radius-control);
  font-size: 15px;
  line-height: 22px;
  font-weight: 700;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.price {
  display: block;
  margin: 18px 0 3px;
  font-size: 36px;
  line-height: 42px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.price-unit {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 24px;
}

.price-card .button,
.price-card .text-link {
  margin-top: auto;
  align-self: flex-start;
}

.teacher-card {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
}

.teacher-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.teacher-card__content {
  padding: 24px 24px 24px 0;
}

.teacher-card__content p {
  margin: 10px 0 0;
}

.teacher-card--portrait {
  grid-template-columns: 164px minmax(0, 1fr);
  padding-left: 20px;
}

.teacher-card--portrait img {
  width: 164px;
  height: 164px;
  min-height: 0;
  border-radius: 50%;
  object-fit: cover;
}

@media (min-width: 1024px) {
  .teacher-grid--three > .teacher-card:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 24px) / 2);
    justify-self: center;
  }
}

.course-card__teacher {
  display: block;
  margin-top: 2px;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.35;
}

.quote {
  margin: 0;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.quote p {
  margin: 0;
  font-size: 20px;
  line-height: 30px;
}

.quote footer {
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 15px;
}

.faq-list {
  max-width: 800px;
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  min-height: 58px;
  display: flex;
  align-items: center;
  padding: 14px 48px 14px 0;
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 12px;
  color: var(--brand);
  font-size: 26px;
  font-weight: 400;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  max-width: 64ch;
  padding: 0 48px 20px 0;
}

.faq-answer p {
  margin: 0;
}

.form-panel {
  max-width: 672px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.form-panel h2,
.form-panel h3 {
  margin-bottom: 12px;
}

.required-note,
.form-help,
.privacy-note {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 22px;
}

.form-grid {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label,
.fieldset legend {
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

.optional {
  color: var(--text-muted);
  font-weight: 400;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 52px;
  padding: 12px 14px;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--border-control);
  border-radius: var(--radius-control);
}

.field textarea {
  min-height: 128px;
  resize: vertical;
}

.field [aria-invalid="true"] {
  border: 2px solid var(--error);
  background: #fff;
}

.field-error {
  display: none;
  margin: 0;
  color: var(--error);
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}

.field-error.is-visible {
  display: block;
}

.fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-grid {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.choice {
  position: relative;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  cursor: pointer;
}

.choice:has(input:checked) {
  border: 2px solid var(--brand);
  background: var(--surface-alt);
}

.choice input {
  width: 20px;
  height: 20px;
  accent-color: var(--brand);
}

.form-errors {
  display: none;
  margin-bottom: 20px;
}

.form-errors.is-visible {
  display: block;
}

.form-success {
  display: none;
}

.form-success.is-visible {
  display: block;
}

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

.is-hidden {
  display: none !important;
}

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

.booking-option {
  display: block;
  min-height: 100%;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border-control);
  border-radius: var(--radius-card);
  cursor: pointer;
}

.booking-option:has(input:checked) {
  border: 2px solid var(--brand);
  background: var(--family-bg);
}

.booking-option input {
  width: 20px;
  height: 20px;
  margin: 0 0 14px;
  accent-color: var(--brand);
}

.booking-option strong,
.booking-option span {
  display: block;
}

.booking-option span {
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 15px;
}

.booking-summary {
  margin-top: 20px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
}

.booking-summary[hidden] {
  display: none;
}

.anchor-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.hero .anchor-nav {
  margin-top: 28px;
}

.anchor-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
}

.split-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
}

.split-panel > * {
  padding: 28px;
  background: var(--surface);
}

.split-panel p {
  margin: 12px 0 0;
}

.gallery-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.gallery-2 img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-card);
}

.gallery-2 img:nth-child(2) {
  min-height: 360px;
}

.site-footer {
  padding: 56px 0 96px;
  color: #fff;
  background: var(--brand-active);
}

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

.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer a {
  color: #fff;
}

.site-footer h2,
.site-footer h3 {
  font-size: 18px;
  line-height: 26px;
}

.site-footer p,
.site-footer li,
.site-footer a {
  font-size: 15px;
  line-height: 23px;
}

.site-footer ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 7px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.footer-brand img {
  width: 50px;
  height: 50px;
  padding: 3px;
  object-fit: cover;
  background: #fff;
  border-radius: 50%;
}

.sticky-cta {
  display: none;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 1199px) {
  .site-nav__list {
    gap: 14px;
  }

  .header-actions .button {
    padding-inline: 14px;
  }

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

@media (max-width: 1023px) {
  :root {
    --header-offset: 96px;
  }

  .container {
    width: min(calc(100% - 64px), var(--content));
  }

  .utility-links {
    display: none;
  }

  .prototype-strip__inner {
    justify-content: center;
  }

  .header-inner {
    min-height: 64px;
  }

  .brand-lockup img {
    width: 44px;
    height: 42px;
  }

  .menu-toggle {
    display: inline-grid;
    margin-left: auto;
  }

  .header-actions {
    display: none;
  }

  .site-nav {
    position: fixed;
    z-index: 300;
    inset: 96px 0 0;
    display: none;
    margin: 0;
    padding: 20px 32px 40px;
    overflow: auto;
    background: var(--page);
    box-shadow: var(--shadow-overlay);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__list {
    display: grid;
    align-items: stretch;
    gap: 0;
  }

  .site-nav__list li {
    border-bottom: 1px solid var(--border);
  }

  .site-nav a:not(.button) {
    width: 100%;
    min-height: 54px;
    padding-block: 10px;
    font-size: 18px;
  }

  .site-nav a[aria-current="page"]::after {
    top: 12px;
    right: auto;
    bottom: 12px;
    left: -12px;
    width: 3px;
    height: auto;
  }

  .mobile-meta {
    display: grid;
    gap: 6px;
    margin-top: 24px;
  }

  .mobile-meta a {
    min-height: 48px;
  }

  .hero-grid,
  .media-block,
  .media-block--reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .media-block--reverse .media-block__image {
    order: initial;
  }

  .hero-media img,
  .media-block__image img,
  .photo-card img {
    aspect-ratio: 8 / 5;
  }

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

  .step-list,
  .step-list--four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .teacher-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 767px) {
  :root {
    --header-offset: 88px;
  }

  body {
    font-size: 18px;
    line-height: 1.55;
    padding-bottom: 72px;
  }

  .container {
    width: min(calc(100% - 40px), var(--content));
  }

  .prototype-strip,
  .prototype-strip__inner {
    min-height: 24px;
  }

  .prototype-label {
    font-size: 12px;
    line-height: 18px;
  }

  .site-nav {
    inset-block-start: 88px;
    padding-inline: 20px;
  }

  .brand-lockup__text {
    font-size: 16px;
  }

  .hero {
    padding-block: 44px 52px;
  }

  .hero-grid {
    gap: 32px;
  }

  h1 {
    font-size: 36px;
    line-height: 42px;
  }

  h2 {
    font-size: 30px;
    line-height: 38px;
  }

  h3 {
    font-size: 24px;
    line-height: 32px;
  }

  .lead {
    font-size: 20px;
    line-height: 30px;
  }

  .hero-actions,
  .section-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button,
  .section-actions .button {
    width: 100%;
  }

  .hero-media img,
  .media-block__image img,
  .photo-card img {
    aspect-ratio: 4 / 5;
  }

  .fact-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fact-row li {
    align-items: flex-start;
    border-radius: var(--radius-control);
  }

  .section {
    padding-block: 64px;
  }

  .section--compact {
    padding-block: 40px;
  }

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

  .grid-2,
  .grid-3,
  .grid-4,
  .teacher-grid,
  .offer-grid,
  .price-grid,
  .schedule-grid,
  .step-list,
  .step-list--four,
  .booking-grid,
  .split-panel,
  .gallery-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .card,
  .step,
  .form-panel,
  .split-panel > * {
    padding: 24px;
  }

  .teacher-card {
    grid-template-columns: 116px minmax(0, 1fr);
    align-items: stretch;
  }

  .teacher-card img {
    min-height: 220px;
  }

  .teacher-card__content {
    padding: 20px 18px 20px 0;
  }

  .teacher-card__content p {
    font-size: 16px;
    line-height: 25px;
  }

  .teacher-card--portrait {
    padding-left: 16px;
  }

  .teacher-card--portrait img {
    width: 112px;
    height: 112px;
    min-height: 0;
    align-self: center;
  }

  .gallery-2 img,
  .gallery-2 img:nth-child(2) {
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .anchor-nav {
    display: grid;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .sticky-cta {
    position: fixed;
    z-index: 100;
    inset: auto 0 0;
    min-height: 72px;
    display: flex;
    align-items: center;
    padding: 10px max(20px, env(safe-area-inset-right)) max(10px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
    background: var(--page);
    border-top: 1px solid var(--border);
    transform: translateY(110%);
    transition: transform 180ms ease-out;
  }

  .sticky-cta.is-visible {
    transform: translateY(0);
  }

  .sticky-cta .button {
    width: 100%;
  }

  body.menu-open .sticky-cta,
  body.form-active .sticky-cta {
    transform: translateY(110%);
  }
}

@media (max-width: 479px) {
  .teacher-card--portrait {
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 22px;
  }

  .teacher-card--portrait img {
    width: 132px;
    height: 132px;
  }

  .teacher-card--portrait .teacher-card__content {
    width: 100%;
    padding: 0;
  }
}

@media (max-width: 359px) {
  .container {
    width: calc(100% - 32px);
  }

  .brand-lockup__text {
    max-width: 96px;
  }

  h1 {
    font-size: 32px;
    line-height: 38px;
  }

  .fact-row {
    grid-template-columns: 1fr;
  }

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

  .teacher-card img {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .teacher-card__content {
    padding: 0 20px 22px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero,
  .section {
    padding-block: 80px;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-block: 80px 88px;
  }

  .section {
    padding-block: 96px;
  }

  .section--compact {
    padding-block: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .prototype-strip,
  .site-header,
  .sticky-cta,
  .site-footer,
  .button,
  .menu-toggle {
    display: none !important;
  }

  body {
    background: #fff;
    padding: 0;
  }
}
html[data-payment-environment="test"] body::after {
  content: "TESTUMGEBUNG – keine echte Zahlung";
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 9999;
  padding: 0.65rem 0.9rem;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #8a174c;
  color: #fff;
  box-shadow: 0 0.35rem 1.2rem rgb(45 30 35 / 25%);
  font: 700 0.78rem/1.2 var(--font-sans, sans-serif);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
