:root {
  --bg: #f7f8f6;
  --card: rgba(255, 255, 255, .95);
  --text: #1f2937;
  --muted: #6b7280;
  --accent: #4f9a5b;
  --accent2: #7dbb8c;
  --accent-dark: #2f7d3f;
  --line: rgba(107, 114, 128, .18);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at 10% 8%, rgba(79, 154, 91, .14), transparent 28%),
    radial-gradient(circle at 88% 16%, rgba(125, 187, 140, .1), transparent 32%),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a {
  color: inherit;
}

.container {
  width: min(1160px, calc(100% - 36px));
  margin: auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 900;
  letter-spacing: -.04em;
  text-decoration: none;
}

nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

nav a {
  text-decoration: none;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, .88);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.nav.nav-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.nav-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.nav-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-breadcrumb {
  display: none;
}

.hero,
.subhero {
  min-height: calc(100vh - 76px);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 52px;
  align-items: start;
  padding: 76px 0;
}

.subhero {
  min-height: calc(86vh - 76px);
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  padding-bottom: 62px;
}

.badge {
  display: inline-flex;
  padding: 9px 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  color: var(--accent);
  background: rgba(79, 154, 91, .1);
  margin-bottom: 24px;
  font-weight: 700;
  font-size: 14px;
}

h1 {
  font-size: clamp(44px, 7vw, 84px);
  line-height: .94;
  letter-spacing: -.07em;
  margin-bottom: 26px;
}

body.page-home h1 {
  font-size: clamp(44px, 8vw, 92px);
  line-height: .92;
  letter-spacing: -.075em;
}

h2 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: .98;
  letter-spacing: -.055em;
  margin-bottom: 18px;
}

h3 {
  font-size: 23px;
  letter-spacing: -.025em;
  margin-bottom: 10px;
}

.lead {
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  max-width: 720px;
}

.hero-points,
.actions,
.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.actions {
  gap: 12px;
  margin-top: 34px;
}

.card-actions {
  margin-top: 18px;
}

.pill {
  border: 1px solid var(--line);
  background: rgba(79, 154, 91, .06);
  border-radius: 12px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

a.pill:hover,
.service-card:hover {
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 12px;
  border: 1px solid var(--line);
  text-decoration: none;
  font-weight: 850;
  line-height: 1.2;
  text-align: center;
}

.btn-primary {
  background: var(--accent-dark);
  color: #fff;
  border-color: transparent;
}

.btn-secondary {
  background: rgba(243, 244, 246, .9);
  color: var(--text);
}

.btn svg {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  fill: currentColor;
}

.btn:focus-visible,
.pill:focus-visible,
.service-card:focus-visible,
.gallery-item:focus-visible,
.services-arrow:focus-visible,
.menu-toggle:focus-visible {
  outline: 3px solid rgba(47, 125, 63, .32);
  outline-offset: 3px;
}

.hero-image {
  min-height: 560px;
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(31, 41, 55, .16);
  border: 1px solid rgba(255, 255, 255, .72);
}

body.page-home .hero-image {
  min-height: 610px;
  border-color: var(--line);
  background: url("img/photo-2024-05-06-16-33-34-rotated.jpg") center/cover;
  box-shadow: 0 24px 60px rgba(31, 41, 55, .08);
  position: relative;
  overflow: hidden;
}

body.page-home .hero-image::after {
  content: "Fitness | Parkour | Wiesbaden";
  position: absolute;
  left: 22px;
  bottom: 22px;
  color: #fff;
  font-weight: 900;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .7), 0 1px 2px rgba(0, 0, 0, .9);
}

body.page-test .test-hero {
  align-items: center;
}

.test-hero-copy {
  position: relative;
  z-index: 2;
}

.test-slider {
  min-height: 610px;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(31, 41, 55, .12);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: #e5ebe4;
}

.test-slider-track,
.test-slide,
.test-slide img {
  position: absolute;
  inset: 0;
}

.test-slide {
  opacity: 0;
  transition: opacity .45s ease;
}

.test-slide.is-active {
  opacity: 1;
}

.test-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.test-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 41, 55, .02), rgba(31, 41, 55, .48));
}

.test-slide-caption {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 82px;
  z-index: 2;
  display: grid;
  gap: 4px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(31, 41, 55, .38);
}

.test-slide-caption strong {
  font-size: 24px;
  line-height: 1.1;
}

.test-slide-caption span {
  color: rgba(255, 255, 255, .86);
}

.test-slider-controls {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.test-slider-arrow,
.test-slider-dots button {
  border: 1px solid rgba(255, 255, 255, .36);
  background: rgba(255, 255, 255, .88);
  color: var(--text);
  cursor: pointer;
}

.test-slider-arrow {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  font-size: 30px;
  line-height: 1;
}

.test-slider-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(31, 41, 55, .42);
  backdrop-filter: blur(10px);
}

.test-slider-dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
}

.test-slider-dots button.is-active {
  width: 26px;
  background: #fff;
}

body.page-parkour .hero-image {
  background: linear-gradient(180deg, rgba(31, 41, 55, .02), rgba(31, 41, 55, .2)),
    url("img/parkour-training-sideflip.jpg") center/cover;
}

body.page-fitness .hero-image {
  background: linear-gradient(180deg, rgba(31, 41, 55, .05), rgba(31, 41, 55, .18)),
    url("img/fitness-oberseite.jpg") center/cover;
}

section {
  padding: 58px 0;
  scroll-margin-top: 98px;
}

body.page-home section {
  padding: 74px 0;
}

.section-head {
  max-width: 840px;
  margin-bottom: 24px;
}

.muted {
  color: var(--muted);
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

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

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), var(--card));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: 0 12px 30px rgba(31, 41, 55, .08);
}

.card h3 {
  color: var(--text);
}

.detail .card,
.contact-strip,
.contact-box {
  border-radius: 14px;
}

.detail .card {
  box-shadow: 0 10px 26px rgba(31, 41, 55, .06);
}

.detail .section-head h2,
.contact-strip h2,
.contact-box h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
}

.service-card {
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.services-section {
  overflow: hidden;
}

.services-section .section-head,
.gallery-section .section-head,
#partners .section-head {
  max-width: 760px;
}

.services-slider {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.services-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 34%);
  gap: 18px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 2px 18px;
  scrollbar-width: thin;
}

.services-track .service-card {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), var(--card));
  box-shadow: 0 12px 30px rgba(31, 41, 55, .08);
  overflow: hidden;
  scroll-snap-align: start;
}

.services-track .service-card:hover {
  border-color: rgba(79, 154, 91, .42);
  box-shadow: 0 18px 40px rgba(31, 41, 55, .14);
}

.service-card-image {
  min-height: 210px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.service-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 41, 55, .02), rgba(31, 41, 55, .24));
}

.service-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 22px;
}

.service-card-body .card-actions {
  margin-top: auto;
}

.service-card-personal {
  background-image: url("img/rpo-gleitschirm.jpg");
}

.service-card-fitness {
  background-image: url("img/fitness-oberseite.jpg");
}

.service-card-strength {
  background-image: url("img/test-slider-03.png");
}

.service-card-parkour {
  background-image: url("img/parkour-training-sideflip.jpg");
}

.service-card-school {
  background-image: url("img/kids-parkour.jpg");
}

.service-card-kids {
  background-image: url("img/kinder-jugend.jpg");
}

.service-card-workshop {
  background-image: url("img/workshop.jpg");
}

.services-arrow {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--text);
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(31, 41, 55, .1);
}

.services-arrow:hover {
  border-color: rgba(79, 154, 91, .42);
  color: var(--accent-dark);
}

.page-offers .section-head {
  max-width: 780px;
}

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

.offer-card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.offer-card {
  min-height: 430px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), var(--card));
  box-shadow: 0 12px 30px rgba(31, 41, 55, .08);
  overflow: hidden;
}

.offer-card:hover {
  border-color: rgba(79, 154, 91, .42);
  box-shadow: 0 18px 40px rgba(31, 41, 55, .14);
}

.offer-card .service-card-image {
  min-height: 220px;
}

.offer-label,
.detail-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.offer-card h3 {
  margin-bottom: 12px;
}

.fitness-focus {
  display: grid;
  gap: 24px;
}

.fitness-focus .section-head {
  margin-bottom: 0;
}

.fitness-focus-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.fitness-focus-card {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 30px rgba(31, 41, 55, .07);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.fitness-focus-card:hover {
  transform: translateY(-1px);
  border-color: rgba(79, 154, 91, .42);
  box-shadow: 0 18px 40px rgba(31, 41, 55, .12);
}

.fitness-focus-card:focus-visible {
  outline: 3px solid rgba(47, 125, 63, .32);
  outline-offset: 3px;
}

.fitness-focus-card > div {
  padding: 24px;
}

.fitness-focus-image {
  min-height: 260px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.fitness-focus-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 41, 55, .02), rgba(31, 41, 55, .24));
}

.fitness-dummy-support {
  background-image: url("img/test-slider-01.png");
}

.fitness-dummy-women {
  background-image: url("img/test-slider-04.png");
}

.split,
.detail {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 32px;
  align-items: start;
}

.about-section {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  align-items: center;
}

.about-visual {
  min-height: 620px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(31, 41, 55, .02), rgba(31, 41, 55, .38)),
    url("img/handstand.JPG") center/cover;
  box-shadow: 0 24px 60px rgba(31, 41, 55, .12);
  position: relative;
  overflow: hidden;
}

.about-visual-card {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  padding: 0;
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .7), 0 1px 2px rgba(0, 0, 0, .9);
}

.about-visual-card strong {
  font-size: inherit;
  line-height: inherit;
}

.about-content {
  display: grid;
  gap: 18px;
}

.about-content .section-head {
  margin-bottom: 0;
}

.about-content h2 {
  max-width: 720px;
}

.about-card {
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.about-card blockquote {
  position: relative;
  margin-bottom: 22px;
  padding: 10px 0 0 54px;
  color: var(--text);
  font-family: Palatino, "Palatino Linotype", "Book Antiqua", "Times New Roman", serif;
  font-size: 22px;
  line-height: 1.42;
  font-style: italic;
  font-weight: 500;
}

.about-card blockquote::before {
  content: "“";
  position: absolute;
  left: 0;
  top: -18px;
  color: rgba(47, 125, 63, .32);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 86px;
  line-height: 1;
  font-weight: 400;
}

.stat strong {
  font-size: 30px;
  letter-spacing: -.04em;
}

.stats-section {
  border-top: 1px solid rgba(107, 114, 128, .12);
  border-bottom: 1px solid rgba(107, 114, 128, .12);
}

.stats-section .section-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.stats-section h2 {
  font-size: clamp(30px, 4vw, 46px);
}

.stats-section .stat {
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline {
  display: grid;
  gap: 14px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.timeline-item,
.detail-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

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

.experience-section .section-head {
  max-width: 780px;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.experience-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .9));
  box-shadow: 0 12px 30px rgba(31, 41, 55, .07);
}

.experience-card > span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.experience-card h3 {
  max-width: 460px;
  margin-bottom: 16px;
}

.experience-card ul {
  list-style: none;
  display: grid;
  gap: 0;
}

.experience-card li {
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.experience-card li strong {
  color: var(--text);
}

.detail-list {
  list-style: none;
  margin-top: 18px;
}

.detail-list li:last-child {
  border-bottom: 0;
}

.detail-card {
  position: relative;
  overflow: hidden;
}

.detail-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  background: var(--accent-dark);
}

.detail-card > p,
.detail-card .detail-list {
  position: relative;
}

.partners-layout {
  display: grid;
  gap: 18px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.partner-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 10px 24px rgba(31, 41, 55, .06);
}

.partner-label {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.partner-card p {
  max-width: 620px;
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  padding-top: 22px;
}

.partner-link {
  color: var(--accent-dark);
  font-weight: 850;
}

.partner-link:hover {
  border-color: rgba(79, 154, 91, .42);
  background: rgba(79, 154, 91, .12);
}

.use-cases {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .56);
}

.use-cases span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(79, 154, 91, .08);
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
}

.gallery-section {
  overflow: hidden;
}

.gallery-section .section-head {
  margin-bottom: 28px;
}

.gallery {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(260px, 1fr));
  gap: 18px;
  padding: 58px 18px;
  background: #555b55;
  box-shadow: inset 0 0 0 6px #555b55, inset 0 18px 34px rgba(0, 0, 0, .2), inset 0 -18px 34px rgba(0, 0, 0, .2);
  position: relative;
}

.gallery::before,
.gallery::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  height: 22px;
  pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, .86) 0 18px, transparent 18px 42px);
  border-radius: 2px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .22));
}

.gallery::before {
  top: 18px;
}

.gallery::after {
  bottom: 18px;
}

.gallery-item {
  min-height: 300px;
  border-radius: 8px;
  border: 0;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 20px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, filter .22s ease;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 34px rgba(0, 0, 0, .22);
  filter: grayscale(1) contrast(1.08);
}

.gallery-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(0, 0, 0, .34);
  filter: grayscale(0) contrast(1);
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(31, 41, 55, .02), rgba(31, 41, 55, .5));
  z-index: 1;
}

.gallery-item:nth-child(1) {
  background-image: url("img/parkour-training-sideflip.jpg");
}

.gallery-item:nth-child(2) {
  background-image: url("img/fitness-oberseite.jpg");
}

.gallery-item:nth-child(3) {
  background-image: url("img/workshop.jpg");
}

.gallery-item:nth-child(4) {
  background-image: url("img/kinder-jugend.jpg");
}

.gallery-item::after {
  content: attr(data-label);
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  font-weight: 950;
  text-shadow: 0 3px 18px rgba(0, 0, 0, .72), 0 1px 2px rgba(0, 0, 0, .9);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.contact-box,
.contact-strip {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: start;
  background: linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .9));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 34px;
  box-shadow: 0 18px 40px rgba(31, 41, 55, .08);
}

.contact-strip {
  grid-template-columns: 1fr auto;
  align-items: center;
}

form {
  display: grid;
  gap: 16px;
}

.form-field,
.checkbox-field {
  display: grid;
  gap: 7px;
}

.checkbox-field {
  grid-template-columns: auto 1fr;
  align-items: start;
}

label {
  font-weight: 800;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 12px 14px;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

input[type="checkbox"] {
  width: auto;
  margin-top: 5px;
}

.required {
  color: #b42318;
}

.small {
  color: var(--muted);
  font-size: 13px;
}

.form-hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.form-status {
  display: none;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 700;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: rgba(79, 154, 91, .12);
  color: var(--accent-dark);
}

.form-status.error {
  background: rgba(180, 35, 24, .1);
  color: #b42318;
}

.modal {
  display: none;
  position: fixed;
  z-index: 100;
  inset: 0;
  background: rgba(31, 41, 55, .55);
  padding: 24px;
  overflow-y: auto;
  align-items: center;
  justify-content: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  width: min(860px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  padding: 34px;
  position: relative;
  box-shadow: 0 24px 60px rgba(31, 41, 55, .22);
}

.modal-content h1 {
  font-size: clamp(32px, 5vw, 48px);
}

.modal-content h2 {
  font-size: 24px;
  margin-top: 22px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-size: 24px;
  cursor: pointer;
}

.legal-page {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 72px 0 86px;
}

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

.legal-content h1 {
  color: var(--text);
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin-bottom: 34px;
}

.legal-content h2 {
  color: var(--text);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: 0;
  margin: 34px 0 10px;
}

.legal-content p {
  max-width: 760px;
  margin-bottom: 14px;
}

.legal-content a {
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.image-strip {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 14px;
  scrollbar-width: thin;
}

.image-tile {
  flex: 1 0 min(360px, 82vw);
  min-height: 300px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background-size: cover;
  background-position: center;
  scroll-snap-align: start;
  box-shadow: 0 14px 32px rgba(31, 41, 55, .1);
}

.impressions .section-head {
  margin-bottom: 20px;
}

.impressions h2 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.04;
}

body.page-not-found .not-found-hero {
  min-height: calc(86vh - 76px);
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: 44px;
  align-items: center;
  padding: 76px 0 58px;
}

body.page-not-found .not-found-panel {
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(47, 125, 63, .92), rgba(31, 41, 55, .88)),
    url("img/parkour-training-sideflip.jpg") center/cover;
  color: #fff;
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 24px 60px rgba(31, 41, 55, .16);
  overflow: hidden;
}

body.page-not-found .not-found-number {
  font-size: clamp(92px, 14vw, 172px);
  line-height: .82;
  font-weight: 950;
  letter-spacing: 0;
  margin-bottom: 28px;
}

body.page-not-found .not-found-steps {
  display: grid;
  gap: 12px;
  list-style: none;
  counter-reset: not-found-step;
  color: rgba(255, 255, 255, .9);
}

body.page-not-found .not-found-steps li {
  counter-increment: not-found-step;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  display: flex;
  gap: 8px;
  align-items: start;
  font-size: 20px;
  line-height: 1.35;
}

body.page-not-found .not-found-steps li::before {
  content: counter(not-found-step) ".";
  flex: 0 0 auto;
  font-weight: 850;
  color: #fff;
  text-align: right;
}

body.page-not-found .not-found-steps li span {
  min-width: 0;
}

@media(max-width:1100px) {
  .offer-card-grid,
  .offer-card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  color: var(--muted);
  font-size: 14px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-row a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 14px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 0;
}

.footer-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

@media(max-width:920px) {
  .nav {
    position: relative;
    align-items: center;
    padding: 14px 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
    padding: 8px 0;
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--line);
    border-top: 0;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 18px 36px rgba(31, 41, 55, .12);
  }

  .nav.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    min-height: 44px;
    justify-content: center;
    width: 100%;
  }

  .mobile-breadcrumb {
    display: block;
    border-top: 1px solid rgba(107, 114, 128, .12);
    background: rgba(255, 255, 255, .86);
    color: var(--muted);
    font-size: 13px;
  }

  .mobile-breadcrumb.is-hidden {
    display: none;
  }

  .mobile-breadcrumb .container {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .mobile-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
  }

  .mobile-breadcrumb [data-breadcrumb-current] {
    color: var(--accent-dark);
    font-weight: 800;
  }

  .hero,
  .subhero,
  .not-found-hero,
  .about-section,
  .split,
  .detail,
  .contact-box,
  .contact-strip {
    grid-template-columns: 1fr;
  }

  .hero,
  .subhero,
  .not-found-hero {
    min-height: auto;
    padding: 56px 0;
  }

  body.page-home .hero .hero-image {
    order: -1;
  }

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

  .about-visual {
    min-height: 430px;
  }

  .test-slider {
    min-height: 430px;
  }

  .not-found-panel {
    min-height: 340px;
  }

  body.page-not-found .not-found-steps li {
    font-size: 18px;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .partners-grid,
  .offer-card-grid,
  .offer-card-grid-4,
  .fitness-focus-grid,
  .experience-grid {
    grid-template-columns: 1fr;
  }

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

  .offer-card .service-card-image {
    min-height: 210px;
  }

  .fitness-focus-card {
    min-height: auto;
  }

  .fitness-focus-image {
    min-height: 230px;
  }

  .services-slider {
    grid-template-columns: 1fr;
  }

  .services-arrow {
    display: none;
  }

  .services-track {
    grid-auto-columns: minmax(260px, 84vw);
  }

  .gallery {
    grid-template-columns: repeat(4, minmax(250px, 78vw));
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 54px 18px;
  }

  .gallery-item {
    min-height: 280px;
    scroll-snap-align: center;
  }

  section,
  body.page-home section {
    padding: 46px 0;
  }

  .contact-strip {
    align-items: stretch;
  }
}
