:root {
  --green-950: #0a3a24;
  --green-900: #104d2f;
  --green-800: #17633b;
  --green-700: #247847;
  --green-100: #dff1e5;
  --green-50: #eff8f2;
  --gold-500: #e8ad2d;
  --gold-300: #f3ce70;
  --cream: #fbf8ee;
  --paper: #fffef9;
  --ink: #173127;
  --muted: #5f7068;
  --line: #dce5df;
  --white: #fff;
  --shadow: 0 22px 60px rgba(19, 63, 39, 0.12);
  --radius-lg: 32px;
  --radius-md: 20px;
  --shell: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

img,
svg {
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.1;
  letter-spacing: -0.035em;
}

h1 {
  font-size: clamp(3rem, 6.2vw, 5.7rem);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.25rem, 4.2vw, 4rem);
}

h3 {
  font-size: 1.35rem;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--green-950);
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 50;
  top: 0;
  width: 100%;
  border-bottom: 1px solid rgba(16, 77, 47, 0.12);
  background: rgba(255, 254, 249, 0.9);
  backdrop-filter: blur(18px);
  transition: box-shadow 180ms ease, background 180ms ease;
}

.site-header.is-sticky,
.site-header.compact {
  position: fixed;
  box-shadow: 0 8px 32px rgba(19, 63, 39, 0.08);
}

.header-inner {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--green-950);
  text-decoration: none;
}

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

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.brand-copy strong {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.brand-copy span {
  color: var(--green-700);
  font-size: 1.48rem;
  font-weight: 760;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a,
.back-link {
  color: var(--green-950);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.main-nav a:not(.nav-cta):hover,
.back-link:hover {
  color: var(--green-700);
}

.nav-cta {
  padding: 12px 20px;
  color: var(--white) !important;
  background: var(--green-800);
  border-radius: 999px;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 800px;
  overflow: hidden;
  background: var(--cream);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-image {
  background-image: url("/assets/hero-physiotherapie.jpg");
  background-position: center;
  background-size: cover;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(251, 248, 238, 0.98) 0%, rgba(251, 248, 238, 0.95) 34%, rgba(251, 248, 238, 0.5) 52%, rgba(251, 248, 238, 0) 73%);
}

.hero-inner {
  position: relative;
  display: flex;
  min-height: 800px;
  align-items: center;
  padding-top: 112px;
}

.hero-copy {
  width: min(660px, 57%);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--green-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 650px;
  margin-bottom: 28px;
  color: var(--green-950);
}

.hero-lead {
  max-width: 590px;
  margin-bottom: 36px;
  color: #40594d;
  font-size: clamp(1.1rem, 1.6vw, 1.32rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 23px;
  border: 0;
  border-radius: 999px;
  font-size: 0.97rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

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

.button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.button-primary {
  color: var(--white);
  background: var(--green-800);
  box-shadow: 0 12px 30px rgba(23, 99, 59, 0.22);
}

.button-primary:hover {
  background: var(--green-900);
}

.button-secondary {
  color: var(--green-950);
  background: var(--white);
}

.text-link {
  color: var(--green-800);
  font-weight: 760;
  text-decoration: none;
}

.text-link span {
  display: inline-block;
  margin-left: 5px;
  transition: transform 160ms ease;
}

.text-link:hover span {
  transform: translateX(4px);
}

.text-link.light {
  color: var(--white);
}

.quick-facts {
  position: relative;
  z-index: 2;
  color: var(--white);
  background: var(--green-950);
}

.quick-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.quick-fact {
  display: flex;
  min-height: 124px;
  align-items: center;
  gap: 18px;
  padding: 26px 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.quick-fact:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.quick-fact > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.quick-fact small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.quick-fact strong,
.quick-fact a {
  color: var(--white);
  font-size: 1.05rem;
  text-decoration: none;
}

.fact-icon {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  place-items: center;
  color: var(--gold-300);
  border: 1px solid rgba(243, 206, 112, 0.4);
  border-radius: 50%;
}

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

.section {
  padding-block: 120px;
}

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(60px, 9vw, 130px);
  align-items: start;
}

.section-heading h2,
.process-intro h2,
.contact-copy h2 {
  color: var(--green-950);
}

.intro-copy {
  padding-top: 38px;
  color: var(--muted);
  font-size: 1.13rem;
}

.intro-copy p:last-child {
  margin-bottom: 0;
}

.services {
  background: var(--green-50);
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.62fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 56px;
}

.section-heading-row h2 {
  margin-bottom: 0;
}

.section-heading-row > p {
  margin-bottom: 8px;
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  position: relative;
  min-height: 290px;
  padding: 34px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(16, 77, 47, 0.08);
  border-radius: var(--radius-md);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-number {
  display: block;
  margin-bottom: 52px;
  color: var(--green-700);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin-bottom: 15px;
  color: var(--green-950);
  font-size: 1.5rem;
}

.service-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.service-card-accent {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  background: var(--green-800);
}

.service-card-accent::before {
  position: absolute;
  top: -70px;
  right: -55px;
  width: 190px;
  height: 190px;
  content: "";
  border: 38px solid rgba(243, 206, 112, 0.16);
  border-radius: 50%;
}

.service-card-accent .eyebrow,
.service-card-accent h3,
.service-card-accent p {
  color: var(--white);
}

.service-card-accent p:not(.eyebrow) {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.process {
  background: var(--paper);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.18fr);
  gap: clamp(70px, 11vw, 150px);
}

.process-intro {
  position: sticky;
  top: 140px;
  align-self: start;
}

.process-intro p:last-child {
  color: var(--muted);
}

.process-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 66px 1fr;
  gap: 24px;
  padding: 34px 0 38px;
  border-bottom: 1px solid var(--line);
}

.process-list li:first-child {
  padding-top: 0;
}

.process-list > li > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  color: var(--green-800);
  background: var(--green-100);
  border-radius: 50%;
  font-size: 0.86rem;
  font-weight: 800;
}

.process-list h3 {
  margin: 0 0 10px;
  color: var(--green-950);
}

.process-list p {
  margin: 0;
  color: var(--muted);
}

.voucher-section {
  padding: 0 0 120px;
}

.voucher-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 34px;
  align-items: center;
  padding: 46px 52px;
  color: var(--white);
  background: linear-gradient(120deg, var(--green-950), var(--green-700));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.voucher-card .eyebrow {
  margin-bottom: 10px;
  color: var(--gold-300);
}

.voucher-card h2 {
  max-width: 690px;
  margin: 0;
  color: var(--white);
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.voucher-mark {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  color: var(--gold-300);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.voucher-mark svg {
  width: 45px;
  height: 45px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.contact {
  color: var(--white);
  background: var(--green-950);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(70px, 10vw, 140px);
}

.contact-copy .eyebrow {
  color: var(--gold-300);
}

.contact-copy h2 {
  color: var(--white);
}

.contact-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.72);
}

.contact-copy .button-primary {
  color: var(--green-950);
  background: var(--gold-300);
  box-shadow: none;
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-content: center;
}

.contact-details article {
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-details h3 {
  margin-bottom: 18px;
  color: var(--gold-300);
  font-size: 1rem;
  letter-spacing: 0;
}

.contact-details address,
.contact-details p {
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
}

.contact-details a {
  color: var(--white);
}

.site-footer {
  padding-block: 38px;
  color: rgba(255, 255, 255, 0.72);
  background: #082e1d;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 50px;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 58px;
  height: 58px;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
}

.footer-brand div {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  color: var(--white);
}

.footer-brand span {
  font-size: 0.8rem;
}

.site-footer nav {
  display: flex;
  gap: 24px;
}

.site-footer nav a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  text-decoration: none;
}

.site-footer nav a:hover,
.site-footer nav a[aria-current="page"] {
  color: var(--white);
}

.copyright {
  margin: 0;
  font-size: 0.82rem;
}

.mobile-call {
  display: none;
}

.legal-main {
  min-height: 70vh;
  padding: 180px 0 110px;
  background: var(--cream);
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.55fr) minmax(0, 1fr);
  gap: clamp(70px, 10vw, 150px);
}

.legal-heading {
  position: sticky;
  top: 140px;
  align-self: start;
}

.legal-heading h1 {
  margin-bottom: 20px;
  color: var(--green-950);
  font-size: clamp(3rem, 5.5vw, 5rem);
}

.legal-heading > p:last-child {
  color: var(--muted);
}

.legal-content section {
  padding: 0 0 34px;
  margin-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.legal-content section:last-child {
  margin-bottom: 0;
}

.legal-content h2 {
  margin-bottom: 16px;
  color: var(--green-950);
  font-size: 1.38rem;
  letter-spacing: -0.02em;
}

.legal-content p {
  color: #4e6258;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.legal-content a {
  color: var(--green-800);
}

.legal-footer .footer-brand {
  color: var(--white);
}

.error-page {
  min-height: 100vh;
  background: var(--cream);
}

.error-main {
  display: flex;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.error-main img {
  margin-bottom: 28px;
  border-radius: 50%;
}

.error-main h1 {
  max-width: 700px;
  margin-bottom: 20px;
  color: var(--green-950);
  font-size: clamp(2.5rem, 5vw, 4.7rem);
}

.error-main > p:not(.eyebrow) {
  margin-bottom: 28px;
  color: var(--muted);
}

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

@media (max-width: 960px) {
  :root {
    --shell: min(100% - 36px, 760px);
  }

  .menu-toggle {
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    padding: 0;
    color: var(--green-950);
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 50%;
  }

  .menu-toggle > span:not(.sr-only) {
    width: 20px;
    height: 2px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(3) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] > span:nth-child(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: fixed;
    top: 92px;
    right: 0;
    left: 0;
    display: flex;
    max-height: 0;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding-inline: 18px;
    overflow: hidden;
    background: var(--paper);
    box-shadow: 0 20px 35px rgba(19, 63, 39, 0.1);
    opacity: 0;
    pointer-events: none;
    transition: max-height 250ms ease, opacity 180ms ease, padding 250ms ease;
  }

  .main-nav.is-open {
    max-height: 520px;
    padding-block: 16px 24px;
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    padding: 14px 8px;
    border-bottom: 1px solid var(--line);
    font-size: 1.08rem;
  }

  .main-nav .nav-cta {
    margin-top: 14px;
    text-align: center;
    border: 0;
  }

  .hero,
  .hero-inner {
    min-height: 740px;
  }

  .hero-image {
    background-position: 60% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(251, 248, 238, 0.98), rgba(251, 248, 238, 0.82) 62%, rgba(251, 248, 238, 0.12));
  }

  .hero-copy {
    width: 74%;
  }

  .quick-facts-grid {
    grid-template-columns: 1fr;
  }

  .quick-fact {
    min-height: 100px;
    border-right: 1px solid rgba(255, 255, 255, 0.13);
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .quick-fact:last-child {
    border-bottom: 0;
  }

  .split-intro,
  .section-heading-row,
  .process-layout,
  .contact-grid,
  .legal-layout {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    padding-top: 0;
  }

  .section-heading-row {
    gap: 20px;
  }

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

  .process-intro,
  .legal-heading {
    position: static;
  }

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

  .voucher-card .button {
    grid-column: 2;
    justify-self: start;
  }

  .contact-details {
    padding-top: 20px;
  }

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

  .copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  :root {
    --shell: calc(100% - 32px);
    --radius-lg: 24px;
  }

  body {
    font-size: 16px;
  }

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

  .brand img {
    width: 52px;
    height: 52px;
  }

  .brand-copy strong {
    font-size: 0.65rem;
  }

  .brand-copy span {
    font-size: 1.2rem;
  }

  .main-nav {
    top: 80px;
  }

  .back-link {
    font-size: 0.85rem;
  }

  .hero {
    display: grid;
    min-height: auto;
    padding-top: 80px;
    background: var(--cream);
  }

  .hero-image {
    position: relative;
    inset: auto;
    grid-area: 1 / 1;
    height: 54vw;
    min-height: 260px;
    max-height: 360px;
    background-position: 70% center;
  }

  .hero-shade {
    display: none;
  }

  .hero-inner {
    min-height: auto;
    padding-block: 48px 58px;
  }

  .hero-copy {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .hero-lead {
    font-size: 1.05rem;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 19px;
  }

  .hero-actions .text-link {
    align-self: center;
  }

  .quick-fact {
    padding: 22px 20px;
  }

  .section {
    padding-block: 82px;
  }

  .split-intro,
  .process-layout,
  .contact-grid,
  .legal-layout {
    gap: 42px;
  }

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

  .service-card {
    min-height: 250px;
  }

  .service-number {
    margin-bottom: 36px;
  }

  .process-list li {
    grid-template-columns: 52px 1fr;
    gap: 14px;
  }

  .process-list > li > span {
    width: 46px;
    height: 46px;
  }

  .voucher-section {
    padding-bottom: 82px;
  }

  .voucher-card {
    grid-template-columns: 1fr;
    padding: 36px 28px;
  }

  .voucher-mark {
    width: 68px;
    height: 68px;
  }

  .voucher-card .button {
    grid-column: 1;
    justify-self: stretch;
  }

  .contact-details {
    grid-template-columns: 1fr;
  }

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

  .site-footer nav {
    flex-wrap: wrap;
  }

  .copyright {
    grid-column: auto;
  }

  .mobile-call {
    position: fixed;
    z-index: 45;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    display: flex;
    min-height: 50px;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    color: var(--green-950);
    background: var(--gold-300);
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(8, 46, 29, 0.3);
    font-size: 0.88rem;
    font-weight: 800;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transform: translateY(18px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .mobile-call.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .mobile-call svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }

  .legal-main {
    padding: 136px 0 80px;
  }

  .legal-heading h1 {
    font-size: 3.1rem;
  }
}

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

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
