:root {
  --ink: #243029;
  --muted: #5f6d64;
  --paper: #fbf7ef;
  --paper-strong: #fffdf8;
  --forest: #183c2b;
  --forest-soft: #dbe9dd;
  --moss: #7f9a62;
  --clay: #bd6f45;
  --clay-dark: #8a4429;
  --sky: #b6d5dc;
  --line: rgba(36, 48, 41, 0.14);
  --shadow: 0 22px 60px rgba(26, 39, 30, 0.16);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

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

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

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

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

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

h1,
h2,
h3 {
  line-height: 1.06;
}

h1 {
  max-width: 940px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 6vw, 5.7rem);
  font-weight: 500;
  margin-bottom: 1.35rem;
}

h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4vw, 4.8rem);
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 1.2rem;
}

h3 {
  font-size: 1.22rem;
  margin-bottom: 0.7rem;
}

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

.skip-link:focus {
  z-index: 999;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  background: var(--paper-strong);
  border: 2px solid var(--forest);
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
  padding: 0.8rem clamp(1rem, 3vw, 2.4rem);
  color: #fff;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(251, 247, 239, 0.96);
  color: var(--ink);
  box-shadow: 0 10px 30px rgba(18, 28, 20, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.9rem;
}

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

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

.brand small {
  color: currentColor;
  font-size: 0.72rem;
  opacity: 0.78;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.95rem;
}

.site-nav a {
  min-height: 42px;
  padding: 0.62rem 0.85rem;
  border-radius: 999px;
  color: currentColor;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.18);
  outline: none;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible,
.site-header.is-open .site-nav a:hover,
.site-header.is-open .site-nav a:focus-visible {
  background: rgba(24, 60, 43, 0.08);
}

.site-nav .nav-cta {
  background: var(--clay);
  color: #fff;
  font-weight: 700;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: var(--clay-dark);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: currentColor;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 8.4rem clamp(1rem, 4vw, 4rem) 1.6rem;
  color: #fff;
}

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

.hero-media {
  background:
    linear-gradient(90deg, rgba(17, 31, 22, 0.78), rgba(17, 31, 22, 0.22) 62%, rgba(17, 31, 22, 0.5)),
    url("assets/images/2017_Sommer_Koppel---34.png") center / cover;
  transform: scale(1.03);
}

.hero-overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 34%),
    radial-gradient(circle at 80% 20%, rgba(182, 213, 220, 0.22), transparent 28%);
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding-bottom: clamp(0.75rem, 4vh, 2.5rem);
}

.eyebrow,
.section-kicker,
.card-label {
  margin-bottom: 0.8rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f1c090;
}

.hero-copy {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.04rem, 1.6vw, 1.28rem);
  margin-bottom: 2rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.82rem 1.15rem;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

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

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

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--clay-dark);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.42);
  color: #fff;
  backdrop-filter: blur(12px);
}

.button-outline {
  border-color: rgba(24, 60, 43, 0.26);
  color: var(--forest);
}

.button-outline:hover,
.button-outline:focus-visible {
  background: var(--forest);
  color: #fff;
}

.hero-panel {
  width: min(960px, calc(100% - 2rem));
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(11, 25, 17, 0.42);
  backdrop-filter: blur(16px);
}

.hero-panel dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.hero-panel div {
  padding: 1rem 1.15rem;
}

.hero-panel div + div {
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-panel dt {
  color: #f1c090;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel dd {
  margin: 0.25rem 0 0;
  color: rgba(255, 255, 255, 0.9);
}

.section,
.section-band,
.contact-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
}

section[id] {
  scroll-margin-top: 88px;
}

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

.section-band {
  background: var(--paper-strong);
}

.intro {
  padding-top: clamp(3rem, 5vw, 4.8rem);
  padding-bottom: clamp(3rem, 5vw, 4.8rem);
}

.intro-grid,
.split-grid,
.rides-layout,
.contact-grid {
  display: grid;
  gap: clamp(2rem, 5vw, 5rem);
}

.intro-grid {
  grid-template-columns: minmax(260px, 0.85fr) 1.15fr;
  align-items: start;
}

.intro-grid p:last-child {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.12rem;
}

.section-heading {
  max-width: 790px;
  margin-bottom: clamp(2rem, 4vw, 3.4rem);
}

.section-heading p:last-child,
.split-copy p,
.rides-layout > div > p,
.contact-grid p {
  color: var(--muted);
  font-size: 1.04rem;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.offer-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: 0 10px 30px rgba(33, 46, 37, 0.08);
}

.offer-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.offer-card div {
  padding: 1.35rem;
}

.offer-card p:last-child,
.course-grid p,
.course-feature p,
.info-panel p,
.ride-cards p {
  color: var(--muted);
}

.split-section {
  background:
    linear-gradient(90deg, rgba(219, 233, 221, 0.72), transparent 38%),
    var(--paper);
}

.split-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  align-items: center;
}

.split-grid.reverse {
  grid-template-columns: minmax(300px, 0.72fr) minmax(0, 1fr);
}

.info-panel,
.contact-card,
.course-feature {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper-strong);
  box-shadow: var(--shadow);
}

.info-panel {
  padding: clamp(1.2rem, 3vw, 2rem);
}

.price-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 1.4rem 0;
  list-style: none;
}

.price-list li {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--line);
}

.price-list strong {
  min-width: max-content;
  color: var(--forest);
}

.note {
  font-size: 0.95rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  color: var(--clay-dark);
  font-weight: 800;
}

.text-link::after {
  content: ">";
  margin-left: 0.45rem;
}

.rides-section {
  background: var(--forest);
  color: #fff;
}

.rides-section .section-kicker {
  color: #f1c090;
}

.rides-layout {
  grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.32fr);
  align-items: start;
}

.rides-layout > div > p {
  color: rgba(255, 255, 255, 0.75);
}

.ride-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.ride-cards article {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.07);
}

.ride-cards span {
  width: max-content;
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  background: var(--sky);
  color: var(--forest);
  font-weight: 900;
}

.ride-cards p {
  color: rgba(255, 255, 255, 0.72);
}

.ride-cards strong {
  color: #f1c090;
  font-size: 1.2rem;
}

.course-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 0.85fr);
  gap: 1.5rem;
  padding: clamp(1.2rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.date-list {
  display: grid;
  gap: 0.7rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.date-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  background: var(--forest-soft);
}

.date-list time {
  font-weight: 850;
}

.date-list a {
  min-width: max-content;
  color: var(--clay-dark);
  font-weight: 850;
}

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

.course-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: var(--paper);
}

.course-grid span {
  display: block;
  margin-top: 1.3rem;
  color: var(--forest);
  font-weight: 850;
}

.portrait-card {
  overflow: hidden;
  margin: 0;
  border-radius: var(--radius);
  background: var(--forest);
  color: #fff;
  box-shadow: var(--shadow);
}

.portrait-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.portrait-card figcaption {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 1.2rem;
}

.portrait-card span {
  color: rgba(255, 255, 255, 0.74);
}

.horses-section {
  background: var(--paper-strong);
}

.horse-experience {
  display: grid;
  gap: 1.1rem;
}

.horse-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.horse-filter {
  min-height: 42px;
  border: 1px solid rgba(24, 60, 43, 0.18);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
}

.horse-filter:hover,
.horse-filter:focus-visible,
.horse-filter.is-active {
  background: var(--forest);
  color: #fff;
  outline: none;
}

.horse-filter span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.45rem;
  margin-left: 0.35rem;
  border-radius: 999px;
  padding: 0.04rem 0.35rem;
  background: rgba(24, 60, 43, 0.08);
  font-size: 0.78rem;
}

.horse-filter.is-active span,
.horse-filter:hover span,
.horse-filter:focus-visible span {
  background: rgba(255, 255, 255, 0.16);
}

.horse-dynamic {
  display: grid;
  grid-template-columns: minmax(320px, 0.84fr) minmax(0, 1.16fr);
  gap: 1rem;
  align-items: start;
}

.horse-feature {
  position: sticky;
  top: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--forest);
  color: #fff;
  box-shadow: var(--shadow);
}

.horse-feature img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.horse-feature-body {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.2rem, 3vw, 1.75rem);
}

.horse-feature-kicker,
.horse-card-kicker {
  color: #f1c090;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.horse-feature h3 {
  margin-bottom: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
}

.horse-feature .horse-tagline {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.12rem;
  font-weight: 800;
}

.horse-feature .horse-description {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.horse-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.horse-facts li {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.34rem 0.58rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.86rem;
  font-weight: 760;
}

.horse-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.horse-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  text-align: left;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.horse-card:hover,
.horse-card:focus-visible,
.horse-card.is-active {
  border-color: rgba(189, 111, 69, 0.8);
  box-shadow: 0 14px 36px rgba(33, 46, 37, 0.12);
  outline: none;
  transform: translateY(-2px);
}

.horse-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.horse-card-body {
  display: grid;
  gap: 0.45rem;
  padding: 0.85rem;
}

.horse-card h3 {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.horse-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.horse-card .horse-card-kicker {
  color: var(--clay-dark);
}

.contact-section {
  background:
    linear-gradient(rgba(24, 60, 43, 0.76), rgba(24, 60, 43, 0.84)),
    url("assets/images/Majushka_Koppel-18.jpg") center / cover;
  color: #fff;
}

.contact-section .section-kicker {
  color: #f1c090;
}

.contact-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  align-items: center;
}

.contact-grid p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.8);
}

.contact-card {
  display: grid;
  gap: 0.25rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  color: var(--ink);
  font-style: normal;
}

.contact-card strong {
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.contact-card a:not(.text-link) {
  color: var(--forest);
  font-weight: 700;
}

.contact-actions .button-secondary {
  color: #fff;
}

.site-footer {
  padding: 1.35rem clamp(1rem, 4vw, 4rem);
  background: #111d16;
  color: rgba(255, 255, 255, 0.78);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-grid p {
  margin: 0;
}

.footer-grid div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-grid a {
  color: #fff;
}

@media (max-width: 960px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 1rem;
    left: 1rem;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(251, 247, 239, 0.98);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: grid;
  }

  .site-nav a {
    border-radius: var(--radius);
  }

  .hero {
    min-height: 92vh;
    padding-top: 8rem;
  }

  .hero-panel dl,
  .intro-grid,
  .split-grid,
  .split-grid.reverse,
  .rides-layout,
  .course-feature,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    border-left: 0;
  }

  .offer-grid,
  .ride-cards,
  .course-grid,
  .horse-dynamic {
    grid-template-columns: 1fr;
  }

  .ride-cards article {
    min-height: 190px;
  }

  .horse-feature {
    position: static;
  }

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

@media (max-width: 620px) {
  .site-header {
    min-height: 68px;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 6rem;
    padding-bottom: 1.25rem;
  }

  .hero-content {
    padding-top: 0;
    padding-bottom: 1.4rem;
  }

  .hero-panel {
    display: none;
  }

  .hero-actions,
  .contact-actions,
  .footer-grid,
  .price-list li,
  .date-list li {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .section,
  .section-band,
  .contact-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

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

  .horse-toolbar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    align-items: flex-start;
  }
}
