:root {
  --bg: #f7f4ee;
  --surface: #fffdf8;
  --surface-muted: #ece8df;
  --ink: #18211f;
  --muted: #67736e;
  --line: rgba(24, 33, 31, 0.14);
  --sage: #8fa99a;
  --teal: #176b67;
  --teal-dark: #0e4747;
  --copper: #b87a56;
  --shadow: 0 22px 70px rgba(24, 33, 31, 0.14);
  --max: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

.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;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 28px), var(--max));
  margin: 14px auto 0;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 16px 54px rgba(24, 33, 31, 0.12);
  backdrop-filter: blur(18px);
  transition: transform .25s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.94);
  border-color: var(--line);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 8px;
  background: var(--teal-dark);
  color: #fff;
  font-weight: 760;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 0.98rem;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.main-nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a {
  padding: 9px 13px;
  border-radius: 8px;
  color: rgba(24, 33, 31, 0.78);
  font-size: 0.94rem;
  font-weight: 620;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  background: rgba(23, 107, 103, 0.1);
  color: var(--teal-dark);
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 720;
  line-height: 1;
  transition: transform .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
}

.header-cta {
  background: var(--ink);
  color: #fff;
}

.button-primary {
  background: var(--teal-dark);
  color: #fff;
  box-shadow: 0 16px 38px rgba(14, 71, 71, 0.22);
}

.button-secondary {
  border: 1px solid rgba(24, 33, 31, 0.22);
  background: rgba(255, 253, 248, 0.84);
  color: var(--ink);
}

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

.button svg,
.header-cta svg,
.nav-toggle svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.nav-toggle::before {
  content: "";
  display: block;
  width: 18px;
  height: 14px;
  background:
    linear-gradient(var(--ink), var(--ink)) 0 0 / 18px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 6px / 18px 2px no-repeat,
    linear-gradient(var(--ink), var(--ink)) 0 12px / 18px 2px no-repeat;
}

.nav-toggle svg {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 94svh;
  padding: 136px max(24px, calc((100vw - var(--max)) / 2)) 64px;
  overflow: hidden;
  isolation: isolate;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 56% center;
}

.hero-overlay {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0.98) 0%, rgba(247, 244, 238, 0.9) 36%, rgba(247, 244, 238, 0.24) 68%, rgba(247, 244, 238, 0.04) 100%),
    linear-gradient(0deg, rgba(24, 33, 31, 0.28), rgba(24, 33, 31, 0.02) 48%);
}

.hero-content {
  width: min(650px, 100%);
  padding-bottom: 54px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 22px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 5.7vw, 5.9rem);
  line-height: 0.97;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.1rem, 4vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  line-height: 1.2;
}

.hero-copy {
  max-width: 560px;
  margin-bottom: 30px;
  color: #3b4541;
  font-size: clamp(1.02rem, 1.5vw, 1.24rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-panel {
  position: absolute;
  right: max(24px, calc((100vw - var(--max)) / 2));
  bottom: 34px;
  width: min(360px, calc(100% - 48px));
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-panel span,
.contact-panel span {
  display: block;
  margin-bottom: 8px;
  color: var(--copper);
  font-size: 0.76rem;
  font-weight: 780;
  text-transform: uppercase;
}

.hero-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.hero-panel p,
.service-card p,
.audience-card p,
.reviews-copy p,
.review-note p,
.faq-heading p,
.faq-list p,
.process-step p,
.practice-copy p,
.intro-copy p,
.contact-copy p {
  color: var(--muted);
}

.trust-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-block: 1px solid var(--line);
  background: var(--surface);
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 86px;
  padding: 18px;
  border-right: 1px solid var(--line);
  color: var(--teal-dark);
  font-weight: 720;
  text-align: center;
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item svg {
  width: 22px;
  height: 22px;
  color: var(--copper);
}

.section-pad {
  padding: 112px 24px;
}

.section-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 56px;
}

.intro {
  background: var(--bg);
}

.intro-copy h2 {
  max-width: 840px;
}

.intro-copy p {
  max-width: 760px;
  font-size: 1.12rem;
}

.services {
  background: var(--surface);
}

.audience {
  background: #eef4ef;
}

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

.audience-card {
  padding: 26px;
  border: 1px solid rgba(23, 107, 103, 0.16);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.78);
}

.audience-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 24px;
  color: var(--teal);
}

.section-heading {
  max-width: 770px;
  margin-bottom: 44px;
}

.section-heading p {
  color: var(--muted);
}

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

.service-card {
  min-height: 245px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f1;
  transition: transform .2s var(--ease), border-color .2s var(--ease), box-shadow .2s var(--ease);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(23, 107, 103, 0.36);
  box-shadow: 0 18px 44px rgba(24, 33, 31, 0.08);
}

.service-card svg {
  width: 30px;
  height: 30px;
  margin-bottom: 28px;
  color: var(--teal);
}

.service-card details,
.faq-list details {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.service-card summary,
.faq-list summary {
  cursor: pointer;
  color: var(--teal-dark);
  font-weight: 760;
  list-style: none;
}

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

.service-card summary::after,
.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--copper);
  font-weight: 800;
}

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

.service-card details div,
.faq-list details p {
  padding-top: 12px;
}

.service-card details p:last-child,
.faq-list details p:last-child {
  margin-bottom: 0;
}

.practice {
  background: linear-gradient(90deg, #e8eee8 0%, #f7f4ee 100%);
}

.practice-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 66px;
  align-items: center;
}

.practice-image {
  min-height: 520px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(14, 71, 71, 0.05), rgba(14, 71, 71, 0.22)),
    url("assets/physiotherapie-kavak-hero.png") center / cover;
  box-shadow: var(--shadow);
}

.practice-copy {
  max-width: 620px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #33403c;
}

.check-list svg {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  color: var(--teal);
}

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

.reviews {
  background: var(--surface);
}

.reviews-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 58px;
  align-items: center;
}

.reviews-copy {
  max-width: 760px;
}

.reviews-copy .button {
  margin-top: 12px;
}

.review-note {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f4ee;
  box-shadow: 0 18px 44px rgba(24, 33, 31, 0.08);
}

.review-note svg {
  width: 32px;
  height: 32px;
  margin-bottom: 24px;
  color: var(--teal);
}

.faq {
  background: var(--surface);
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 58px;
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 118px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  margin-top: 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbf8f1;
}

.faq-list a {
  color: var(--teal-dark);
  font-weight: 740;
}

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

.process-step {
  padding: 30px;
  border-top: 1px solid var(--line);
  background: rgba(255, 253, 248, 0.44);
}

.process-step span {
  display: block;
  margin-bottom: 52px;
  color: var(--copper);
  font-weight: 820;
}

.careers {
  background: #fdfaf3;
}

.careers-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 58px;
  align-items: start;
}

.careers-copy {
  position: sticky;
  top: 118px;
}

.careers-copy p {
  max-width: 610px;
  color: var(--muted);
  font-size: 1.08rem;
}

.careers-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.career-points {
  display: grid;
  gap: 14px;
}

.career-points article {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 16px 42px rgba(24, 33, 31, 0.06);
}

.career-points svg {
  grid-row: span 2;
  width: 28px;
  height: 28px;
  color: var(--teal);
}

.career-points h3 {
  margin-bottom: 8px;
}

.career-points p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact {
  background: var(--teal-dark);
  color: #fff;
}

.contact .eyebrow {
  color: #bed5cf;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 58px;
  align-items: start;
}

.contact-copy p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.76);
}

.contact .button-primary {
  background: #fff;
  color: var(--teal-dark);
}

.contact .button-secondary {
  border-color: rgba(255, 255, 255, 0.26);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.contact-panel {
  margin: 0;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  font-style: normal;
}

.contact-panel span {
  color: #bed5cf;
}

.contact-panel p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.78);
}

.contact-panel p:last-child {
  margin-bottom: 0;
}

.contact-panel strong {
  color: #fff;
}

.hours {
  color: rgba(255, 255, 255, 0.78);
}

.hours strong {
  display: block;
  margin-bottom: 10px;
}

.hours dl {
  display: grid;
  gap: 7px;
  margin: 0;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 7px;
}

.hours div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hours dt,
.hours dd {
  margin: 0;
}

.hours dd {
  text-align: right;
}

.site-footer {
  padding: 30px 24px;
  background: #101716;
  color: #fff;
}

.footer-inner {
  width: min(100%, var(--max));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-brand .brand-mark {
  background: #fff;
  color: var(--teal-dark);
}

.footer-brand small {
  color: rgba(255, 255, 255, 0.62);
}

.site-footer nav {
  display: flex;
  gap: 18px;
  color: rgba(255, 255, 255, 0.72);
}

.legal-page {
  min-height: 100svh;
  padding: 130px 24px 70px;
  background: var(--bg);
}

.legal-content {
  width: min(780px, 100%);
  margin: 0 auto;
  overflow-wrap: anywhere;
  word-break: normal;
}

.legal-content h1 {
  max-width: none;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
}

.legal-content h2 {
  overflow-wrap: anywhere;
}

.legal-content section {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.legal-content p {
  color: var(--muted);
}

.legal-content a {
  color: var(--teal-dark);
  font-weight: 700;
}

.legal-note {
  border: 1px solid rgba(184, 122, 86, 0.3);
  border-radius: 8px;
  margin-top: 24px;
  padding: 24px;
  background: rgba(184, 122, 86, 0.08);
}

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

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

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

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

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

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-toggle {
    display: grid;
  }

  .main-nav {
    position: fixed;
    top: 82px;
    left: 14px;
    right: 14px;
    display: grid;
    gap: 4px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(255, 253, 248, 0.98);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .2s var(--ease), transform .2s var(--ease);
  }

  .main-nav.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .main-nav a {
    padding: 14px;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 92svh;
    padding-top: 118px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(247, 244, 238, 0.98) 0%, rgba(247, 244, 238, 0.88) 48%, rgba(247, 244, 238, 0.26) 100%),
      linear-gradient(0deg, rgba(24, 33, 31, 0.18), rgba(24, 33, 31, 0.01) 48%);
  }

  .hero-panel {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 20px;
  }

  .trust-band,
  .audience-grid,
  .service-grid,
  .process-steps,
  .practice-layout,
  .contact-layout,
  .careers-layout,
  .reviews-layout,
  .faq-layout,
  .split {
    grid-template-columns: 1fr;
  }

  .careers-copy {
    position: static;
  }

  .faq-heading {
    position: static;
  }

  .trust-item {
    justify-content: flex-start;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .section-pad {
    padding: 82px 22px;
  }

  .practice-image {
    min-height: 420px;
  }
}

@media (max-width: 640px) {
  .site-header {
    inset: 0 auto auto 10px;
    width: min(calc(100% - 20px), 370px);
    margin: 10px 0 0;
    padding-right: 10px;
  }

  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 0.9rem;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .hero {
    padding: 110px 18px 42px;
  }

  .hero-media img {
    object-position: 68% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(247, 244, 238, 0.99) 0%, rgba(247, 244, 238, 0.92) 56%, rgba(247, 244, 238, 0.5) 100%),
      linear-gradient(0deg, rgba(247, 244, 238, 0.8), rgba(247, 244, 238, 0.12));
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(2.45rem, 13vw, 3.6rem);
  }

  h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .hero-content {
    width: min(354px, 100%);
    padding-bottom: 22px;
  }

  .hero-copy {
    max-width: 354px;
    font-size: 1rem;
    overflow-wrap: break-word;
  }

  .hero-panel {
    width: min(354px, 100%);
  }

  .hero-actions,
  .contact-actions,
  .careers-actions {
    width: min(354px, 100%);
  }

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

  .career-points article {
    grid-template-columns: 1fr;
  }

  .career-points svg {
    grid-row: auto;
    margin-bottom: 18px;
  }

  .button {
    width: 100%;
  }

  .service-card {
    min-height: auto;
    padding: 22px;
  }

  .audience-card,
  .review-note,
  .faq-list details {
    padding: 22px;
  }

  .process-step {
    padding: 24px 0;
    background: transparent;
  }

  .process-step span {
    margin-bottom: 22px;
  }

  .practice-image {
    min-height: 330px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-page {
    padding-inline: 18px;
  }

  .legal-content {
    width: min(354px, 100%);
    max-width: 354px;
    margin-inline: 0;
  }

  .legal-content h1 {
    font-size: 2.65rem;
    line-height: 1.02;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .legal-content h2 {
    font-size: 1.55rem;
    line-height: 1.05;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .legal-content p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
