:root {
  --color-brand: #76983b;
  --color-brand-dark: #466229;
  --color-brand-soft: #e9f0df;
  --color-ink: #24312a;
  --color-text: #536059;
  --color-muted: #748078;
  --color-paper: #ffffff;
  --color-cream: #f7f5ef;
  --color-line: rgba(36, 49, 42, 0.13);
  --shadow-soft: 0 24px 70px rgba(35, 49, 42, 0.12);
  --shadow-card: 0 14px 40px rgba(35, 49, 42, 0.09);
  --radius-large: 32px;
  --radius-medium: 22px;
  --container: 1180px;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-accent: "Dancing Script", "Segoe Print", cursive;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-paper);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

a {
  color: var(--color-brand-dark);
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--color-brand);
}

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

h1,
h2,
h3 {
  color: var(--color-ink);
  line-height: 1.15;
}

h2 {
  font-size: clamp(2.15rem, 4vw, 3.55rem);
  letter-spacing: -0.035em;
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  letter-spacing: -0.02em;
}

button,
summary {
  font: inherit;
}

::selection {
  background: var(--color-brand-soft);
  color: var(--color-ink);
}

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

.narrow {
  width: min(calc(100% - 48px), 830px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--color-ink);
  color: #fff;
  transform: translateY(-150%);
  transition: transform 160ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(36, 49, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-header__inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
  color: var(--color-ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--color-ink);
}

.brand__mark {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-brand-soft);
  color: var(--color-brand-dark);
  font-family: var(--font-accent);
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1;
}

.brand__text {
  display: grid;
  color: var(--color-ink);
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.25;
}

.brand__text small {
  margin-top: 3px;
  color: var(--color-muted);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.075em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: 7px;
}

.desktop-nav a {
  padding: 10px 13px;
  border-radius: 999px;
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  background: var(--color-brand-soft);
  color: var(--color-brand-dark);
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  background: var(--color-brand-dark);
  box-shadow: 0 8px 22px rgba(70, 98, 41, 0.18);
  color: #fff;
  font-size: 0.87rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.header-phone::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbe29e;
  box-shadow: 0 0 0 4px rgba(203, 226, 158, 0.16);
}

.header-phone:hover {
  background: var(--color-brand);
  color: #fff;
}

.mobile-menu {
  display: none;
  margin-left: auto;
}

.mobile-menu summary {
  display: grid;
  width: 48px;
  height: 48px;
  cursor: pointer;
  list-style: none;
  place-content: center;
  gap: 5px;
  border: 1px solid var(--color-line);
  border-radius: 50%;
  background: #fff;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary span {
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: var(--color-ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu[open] summary span:first-child {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu[open] summary span:nth-child(2) {
  opacity: 0;
}

.mobile-menu[open] summary span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu__panel {
  position: absolute;
  top: calc(100% + 1px);
  right: 0;
  left: 0;
  display: grid;
  padding: 16px 24px 24px;
  border-bottom: 1px solid var(--color-line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-card);
}

.mobile-menu__panel a {
  padding: 12px 4px;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-ink);
  font-weight: 600;
  text-decoration: none;
}

.mobile-menu__panel a:last-child {
  border-bottom: 0;
  color: var(--color-brand-dark);
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  overflow: hidden;
  background-color: #dfe6db;
  background-position: center;
  background-size: cover;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(23, 35, 28, 0.08), rgba(23, 35, 28, 0.02));
  content: "";
}

.hero--home {
  min-height: min(790px, calc(100vh - 86px));
  background-image: url("/assets/images/content/kinesiologie/moniMain.jpg");
  background-position: 44% center;
}

.hero--home::before {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02) 30%, rgba(255, 255, 255, 0.52) 67%, rgba(255, 255, 255, 0.78));
}

.hero__inner {
  display: flex;
  min-height: inherit;
  align-items: center;
  justify-content: flex-end;
}

.hero__panel {
  width: min(53%, 610px);
  padding: clamp(30px, 4vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-large);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero__eyebrow,
.section-heading__eyebrow {
  display: block;
  margin-bottom: 13px;
  color: var(--color-brand-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero__title {
  margin-bottom: 18px;
  color: var(--color-brand-dark);
  font-family: var(--font-accent);
  font-size: clamp(4rem, 7vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.92;
}

.hero__subtitle {
  max-width: 500px;
  margin-bottom: 28px;
  color: var(--color-ink);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.22;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 20px;
  border: 1px solid var(--color-brand-dark);
  border-radius: 999px;
  background: var(--color-brand-dark);
  color: #fff;
  font-size: 0.91rem;
  font-weight: 650;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover {
  border-color: var(--color-brand);
  background: var(--color-brand);
  color: #fff;
  transform: translateY(-2px);
}

.button--secondary {
  border-color: var(--color-line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--color-ink);
}

.button--secondary:hover {
  border-color: var(--color-brand-soft);
  background: var(--color-brand-soft);
  color: var(--color-brand-dark);
}

.section {
  padding-block: clamp(76px, 9vw, 120px);
}

.section--cream {
  background: var(--color-cream);
}

.section--sage {
  background: var(--color-brand-soft);
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(36px, 5vw, 62px);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 17px;
}

.section-heading p {
  margin-bottom: 0;
  color: var(--color-muted);
  font-size: 1.06rem;
}

.script-heading {
  color: var(--color-brand-dark);
  font-family: var(--font-accent);
  font-size: clamp(3.25rem, 6vw, 5.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
}

.intro-grid,
.profile-grid {
  display: grid;
  align-items: center;
  gap: clamp(38px, 7vw, 84px);
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.35fr);
}

.intro-grid__image,
.profile-grid__image {
  position: relative;
}

.intro-grid__image::after,
.profile-grid__image::after {
  position: absolute;
  z-index: -1;
  right: -18px;
  bottom: -18px;
  width: 58%;
  height: 58%;
  border-radius: var(--radius-medium);
  background: var(--color-brand-soft);
  content: "";
}

.intro-grid__image img,
.profile-grid__image img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-card);
  object-fit: cover;
}

.intro-copy {
  columns: 2 260px;
  column-gap: 38px;
}

.intro-copy p {
  margin-bottom: 0;
  break-inside: avoid;
}

.intro-copy p + p {
  margin-top: 22px;
}

.results-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #233129 url("/assets/images/content/kinesiologie/kinesiologie.jpg") center / cover;
  color: rgba(255, 255, 255, 0.82);
}

.results-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(135deg, rgba(29, 44, 34, 0.96), rgba(47, 68, 52, 0.88));
  content: "";
}

.results-section .section-heading__eyebrow {
  color: #cbe29e;
}

.results-section .script-heading {
  color: #fff;
}

.results-section .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

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

.result-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.result-card h3 {
  margin-bottom: 15px;
  color: #fff;
}

.result-card p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  line-height: 1.65;
}

.result-card a {
  color: #d4e8aa;
}

.contact-band {
  padding-block: clamp(54px, 7vw, 84px);
  background: var(--color-brand-soft);
}

.contact-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.contact-band h2 {
  max-width: 720px;
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.contact-band p {
  margin-bottom: 0;
}

.page-hero {
  min-height: clamp(470px, 62vh, 680px);
  color: #fff;
}

.page-hero::before {
  background: linear-gradient(90deg, rgba(22, 33, 27, 0.65), rgba(22, 33, 27, 0.08) 70%);
}

.page-hero--about {
  background-image: url("/assets/images/content/kinesiologie/ueber.jpg");
  background-position: center;
}

.page-hero--contact {
  background-image: url("/assets/images/content/kinesiologie/markthalle.jpg");
  background-position: center 58%;
}

.page-hero__inner {
  display: flex;
  min-height: inherit;
  align-items: flex-end;
  padding-bottom: clamp(52px, 8vw, 90px);
}

.page-hero__content {
  max-width: 680px;
}

.page-hero__content .hero__eyebrow {
  color: #d7e9b6;
}

.page-hero__content h1 {
  margin-bottom: 10px;
  color: #fff;
  font-family: var(--font-accent);
  font-size: clamp(4.2rem, 9vw, 7.5rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.95;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
}

.page-hero__content p {
  max-width: 580px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.profile-grid__content h2 {
  margin-bottom: 8px;
}

.profile-grid__content > p {
  margin-bottom: 28px;
  color: var(--color-muted);
  font-size: 1.12rem;
}

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

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  position: absolute;
  top: 0.48em;
  left: 0;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-brand-soft);
  color: var(--color-brand-dark);
  content: "✓";
  font-size: 0.73rem;
  font-weight: 800;
  line-height: 1;
}

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

.method-card {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(70, 98, 41, 0.12);
  border-radius: var(--radius-medium);
  background: rgba(255, 255, 255, 0.7);
}

.method-card h3 {
  margin-bottom: 14px;
}

.method-card p {
  margin-bottom: 0;
}

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

.effect-card {
  display: flex;
  min-height: 132px;
  align-items: center;
  gap: 20px;
  padding: 24px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
  background: #fff;
  box-shadow: 0 10px 30px rgba(35, 49, 42, 0.045);
}

.effect-card img {
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  border-radius: 50%;
}

.effect-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.45;
}

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

.contact-card {
  padding: clamp(28px, 4vw, 40px);
  border: 1px solid var(--color-line);
  border-radius: var(--radius-medium);
  background: #fff;
  box-shadow: var(--shadow-card);
}

.contact-card__label {
  display: block;
  margin-bottom: 14px;
  color: var(--color-brand-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.contact-card h2 {
  margin-bottom: 13px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.contact-card p {
  margin-bottom: 20px;
}

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

.contact-card__link {
  display: inline-block;
  font-weight: 650;
}

.route-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 390px;
  overflow: hidden;
  place-items: center;
  border-radius: var(--radius-large);
  background: #405347 url("/assets/images/content/kinesiologie/markthalle.jpg") center 58% / cover;
  color: #fff;
  text-align: center;
}

.route-panel::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: rgba(29, 44, 34, 0.64);
  content: "";
}

.route-panel__content {
  max-width: 650px;
  padding: 40px 24px;
}

.route-panel h2,
.route-panel p {
  color: #fff;
}

.route-panel h2 {
  margin-bottom: 12px;
}

.route-panel p {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.8);
}

.route-panel .button {
  border-color: #fff;
  background: #fff;
  color: var(--color-ink);
}

.route-panel .button:hover {
  border-color: var(--color-brand-soft);
  background: var(--color-brand-soft);
  color: var(--color-brand-dark);
}

.not-found {
  display: grid;
  min-height: calc(100vh - 86px);
  place-items: center;
  padding-block: 80px;
  background: var(--color-cream);
  text-align: center;
}

.not-found__content {
  max-width: 680px;
}

.not-found__number {
  margin-bottom: 0;
  color: var(--color-brand);
  font-family: var(--font-accent);
  font-size: clamp(6rem, 18vw, 12rem);
  font-weight: 600;
  line-height: 0.8;
}

.not-found h1 {
  margin-bottom: 18px;
}

.not-found p:not(.not-found__number) {
  margin-bottom: 28px;
}

.site-footer {
  padding-top: 70px;
  background: #243129;
  color: rgba(255, 255, 255, 0.68);
}

.site-footer__grid {
  display: grid;
  padding-bottom: 52px;
  gap: 42px;
  grid-template-columns: 1.35fr 0.9fr 0.9fr;
}

.site-footer .brand {
  margin-bottom: 18px;
}

.site-footer .brand__mark {
  background: rgba(203, 226, 158, 0.12);
  color: #cbe29e;
}

.site-footer .brand__text,
.site-footer h2 {
  color: #fff;
}

.site-footer .brand__text small {
  color: rgba(255, 255, 255, 0.52);
}

.site-footer h2 {
  margin-bottom: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.site-footer p {
  margin-bottom: 0;
  font-size: 0.91rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
}

.site-footer a:hover {
  color: #cbe29e;
}

.footer-links {
  display: grid;
  gap: 7px;
}

.footer-links a {
  text-decoration: none;
}

.site-footer__bottom {
  display: flex;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.79rem;
}

.site-footer__bottom p {
  font-size: inherit;
}

:focus-visible {
  outline: 3px solid #a9cb6d;
  outline-offset: 4px;
}

@media (max-width: 1000px) {
  .brand__text small {
    display: none;
  }

  .header-phone {
    padding-inline: 15px;
  }

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

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

  .contact-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 820px) {
  .desktop-nav,
  .header-phone {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .hero--home {
    min-height: 700px;
    background-image: url("/assets/images/content/kinesiologie/moni-mobile.jpg");
    background-position: center 28%;
  }

  .hero--home::before {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02) 42%, rgba(255, 255, 255, 0.92) 77%);
  }

  .hero__inner {
    align-items: flex-end;
    padding-bottom: 26px;
  }

  .hero__panel {
    width: 100%;
    padding: 28px;
    border-radius: 26px;
    background: rgba(255, 255, 255, 0.88);
  }

  .hero__title {
    font-size: clamp(3.6rem, 14vw, 5.4rem);
  }

  .intro-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .intro-grid__image,
  .profile-grid__image {
    max-width: 620px;
  }

  .contact-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero--about {
    background-image: url("/assets/images/content/kinesiologie/ueber-mobile.jpg");
  }

  .page-hero--contact {
    background-image: url("/assets/images/content/kinesiologie/markthalle-mobile.jpg");
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
    line-height: 1.7;
  }

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

  .site-header__inner {
    min-height: 74px;
  }

  .brand__mark {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
    font-size: 1.35rem;
  }

  .brand__text {
    font-size: 0.88rem;
  }

  .hero--home {
    min-height: calc(100svh - 74px);
  }

  .hero__panel {
    padding: 24px;
  }

  .hero__eyebrow,
  .section-heading__eyebrow {
    letter-spacing: 0.14em;
  }

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

  .button {
    width: 100%;
  }

  .section {
    padding-block: 72px;
  }

  .intro-copy {
    columns: auto;
  }

  .results-grid,
  .method-grid,
  .effects-grid,
  .contact-grid,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .result-card {
    padding: 24px;
  }

  .contact-card:last-child {
    grid-column: auto;
  }

  .page-hero {
    min-height: 540px;
  }

  .page-hero::before {
    background: linear-gradient(180deg, rgba(22, 33, 27, 0.1) 20%, rgba(22, 33, 27, 0.76));
  }

  .page-hero__inner {
    padding-bottom: 42px;
  }

  .page-hero__content h1 {
    font-size: clamp(3.8rem, 20vw, 5.7rem);
  }

  .profile-grid__content h2 {
    font-size: 2.2rem;
  }

  .effect-card {
    min-height: auto;
  }

  .route-panel {
    min-height: 440px;
    border-radius: 24px;
  }

  .site-footer {
    padding-top: 56px;
  }

  .site-footer__grid {
    gap: 34px;
  }

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

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

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