:root {
  color-scheme: light;
  --ink: #132019;
  --muted: #5c675f;
  --paper: #fbfaf4;
  --white: #ffffff;
  --green: #2f6f4f;
  --green-dark: #174a37;
  --water: #216b7a;
  --sun: #d89b36;
  --clay: #b85f38;
  --line: rgba(19, 32, 25, 0.14);
  --shadow: 0 24px 70px rgba(25, 42, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  color: #fff;
  transition: background 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.compact {
  color: var(--ink);
  background: rgba(251, 250, 244, 0.92);
  box-shadow: 0 10px 30px rgba(32, 42, 35, 0.08);
  backdrop-filter: blur(18px);
}

.brand,
.main-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-logo {
  width: 0;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
  opacity: 0;
  transform: translateX(-8px) scale(0.92);
  transition: width 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled .brand-logo,
.site-header.compact .brand-logo {
  width: 42px;
  opacity: 1;
  transform: translateX(0) scale(1);
}

.main-nav {
  gap: 8px;
}

.main-nav a {
  min-height: 40px;
  padding: 10px 13px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.94rem;
}

.main-nav a[aria-current="page"] {
  background: rgba(47, 111, 79, 0.14);
}

.hero {
  position: relative;
  min-height: 190vh;
  background: #16241c;
}

.hero-media {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.hero-shade {
  position: sticky;
  top: 0;
  height: 100vh;
  margin-top: -100vh;
  background: linear-gradient(180deg, rgba(12, 20, 15, 0.2), rgba(12, 20, 15, 0.08) 42%, rgba(12, 20, 15, 0.74));
  pointer-events: none;
}

.hero-content {
  position: sticky;
  top: 0;
  z-index: 1;
  display: grid;
  min-height: 100vh;
  align-content: end;
  justify-items: start;
  max-width: 900px;
  margin: -100vh auto 0;
  padding: 0 clamp(22px, 6vw, 64px) 12vh;
  color: #fff;
  opacity: var(--hero-progress, 0);
  transform: translateY(calc(52px - var(--hero-progress, 0) * 52px));
}

.hero h1,
.page-hero h1 {
  margin: 0;
  max-width: 840px;
  font-size: clamp(4.4rem, 13vw, 10.5rem);
  line-height: 0.86;
  letter-spacing: 0;
}

.hero p:last-child,
.page-hero p:last-child {
  max-width: 620px;
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.hero p:last-child {
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sun);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-inner {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.intro-section,
.facts-section,
.teaser-section,
.route-section,
.course-section,
.service-section,
.menu-section {
  padding: clamp(58px, 8vw, 104px) 0;
}

.intro-grid,
.menu-layout,
.route-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.intro-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: stretch;
}

.intro-grid h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 700;
}

.intro-photo {
  align-self: stretch;
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.intro-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 74% center;
  transform: scale(1.18);
  transform-origin: 78% 50%;
}

.welcome-info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(24px, 5vw, 44px);
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

.bahnen-page {
  background:
    linear-gradient(180deg, rgba(7, 26, 12, 0.26), rgba(7, 26, 12, 0.42)),
    url("assets/gras-hintergrund.jpg") center top / cover fixed;
}

.bahnen-page .page-hero {
  background:
    linear-gradient(90deg, rgba(7, 26, 12, 0.88), rgba(7, 26, 12, 0.34)),
    url("assets/gras-hintergrund.jpg") center top / cover fixed;
}

.bahnen-page .route-section,
.bahnen-page .course-section {
  background: transparent;
}

.bahnen-page .route-copy h2,
.bahnen-page .route-copy p {
  color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.34);
}

.status-panel,
.weather-card {
  display: grid;
  gap: 12px;
  min-width: 0;
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.status-panel > div {
  display: flex;
  gap: 10px;
  align-items: center;
}

.status-dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--sun);
  box-shadow: 0 0 0 7px rgba(216, 155, 54, 0.15);
}

.status-dot.open {
  background: #2f9b61;
  box-shadow: 0 0 0 7px rgba(47, 155, 97, 0.16);
}

.status-dot.closed {
  background: #ba4e39;
  box-shadow: 0 0 0 7px rgba(186, 78, 57, 0.16);
}

.panel-label {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.status-panel strong,
.weather-card strong {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1;
}

.status-panel strong,
.status-panel span {
  overflow-wrap: anywhere;
}

.status-panel strong {
  font-size: clamp(1.85rem, 3.2vw, 2.9rem);
}

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

.section-heading {
  max-width: 760px;
  margin-bottom: 30px;
}

.fact-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.fact-card span {
  display: block;
  margin-bottom: 44px;
  color: var(--green);
  font-size: clamp(2.3rem, 6vw, 4.4rem);
  font-weight: 900;
  line-height: 0.9;
}

.weather-card {
  color: var(--ink);
}

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

.teaser,
.service-grid article,
.course-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  text-decoration: none;
}

.teaser img,
.service-grid img,
.course-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.teaser div,
.service-grid article,
.course-card div {
  padding: 24px;
}

.teaser span {
  color: var(--green);
  font-weight: 850;
}

.site-footer {
  padding: 42px 0;
  color: #fff;
  background: #132019;
}

.site-footer p,
.site-footer a,
.site-footer address {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer address {
  margin-top: 12px;
  font-style: normal;
  line-height: 1.55;
}

.footer-layout {
  display: grid;
  gap: 24px;
}

.footer-grid {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-map {
  width: 100%;
  height: clamp(240px, 32vw, 360px);
  border: 0;
  border-radius: 8px;
  filter: saturate(0.92);
}

.subpage {
  padding-top: 74px;
}

.page-hero {
  padding: clamp(86px, 13vw, 150px) 0 clamp(52px, 8vw, 90px);
  color: #fff;
  background:
    linear-gradient(90deg, rgba(19, 32, 25, 0.86), rgba(19, 32, 25, 0.22)),
    url("assets/head-minigolf-schloss.jpeg") center / cover;
}

.page-hero h1 {
  font-size: clamp(3.4rem, 9vw, 7.6rem);
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
}

.food-hero {
  position: relative;
  min-height: clamp(540px, 50vw, 720px);
  overflow: hidden;
  background: #302218;
}

.food-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(48, 34, 24, 0.88) 0%, rgba(48, 34, 24, 0.56) 36%, rgba(48, 34, 24, 0.12) 100%),
    linear-gradient(180deg, rgba(48, 34, 24, 0.02), rgba(48, 34, 24, 0.3));
  pointer-events: none;
}

.food-hero-media {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(100%, 2000px);
  height: 100%;
  max-width: 2000px;
  transform: translateX(-50%);
  object-fit: cover;
  object-position: center center;
}

.food-hero .section-inner {
  position: relative;
  z-index: 2;
  max-width: 1120px;
}

.food-hero h1,
.food-hero p {
  max-width: 650px;
}

.bike-hero {
  position: relative;
  display: grid;
  min-height: clamp(520px, 54vw, 760px);
  align-items: end;
  overflow: hidden;
  padding: clamp(88px, 14vw, 156px) 0 clamp(54px, 8vw, 96px);
  color: #fff;
  background: #1a3524;
}

.bike-hero::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(8, 24, 31, 0.88) 0%, rgba(8, 24, 31, 0.48) 44%, rgba(8, 24, 31, 0.1) 100%),
    linear-gradient(180deg, rgba(8, 24, 31, 0.04), rgba(8, 24, 31, 0.38));
  pointer-events: none;
}

.bike-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.bike-hero .section-inner {
  position: relative;
  z-index: 2;
}

.bike-hero h1,
.bike-hero p {
  max-width: 720px;
}

.bike-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: 0;
}

.bike-hero p:last-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.1rem, 2vw, 1.42rem);
}

.bike-intro-section,
.bike-offer-section {
  padding: clamp(58px, 8vw, 104px) 0;
}

.bike-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.bike-intro-layout > div {
  min-width: 0;
  max-width: 620px;
}

.bike-intro-layout h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 5vw, 4.6rem);
}

.bike-station-photo {
  align-self: stretch;
  min-width: 0;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.bike-station-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bike-offer-section {
  background: #eef3ea;
}

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

.bike-offer-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(25, 42, 31, 0.08);
}

.bike-offer-grid span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
}

.bike-offer-grid article:nth-child(2) span {
  background: var(--water);
}

.bike-offer-grid article:nth-child(3) span {
  color: var(--ink);
  background: var(--sun);
}

.bike-offer-grid article:nth-child(4) span {
  background: var(--clay);
}

.route-layout {
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1fr);
}

.route-map {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.route-map span,
.route-map strong {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  color: var(--green);
  font-weight: 900;
}

.route-map ol {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  padding: 0;
  margin: 18px 0;
  list-style: none;
}

.route-map li {
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green);
  font-weight: 900;
}

.route-map a {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  border-radius: inherit;
  color: #fff;
  text-decoration: none;
  transition: background 180ms ease, transform 180ms ease;
}

.route-map a:hover,
.route-map a:focus-visible {
  background: var(--sun);
  color: var(--ink);
  transform: translateY(-2px);
  outline: 0;
}

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

.course-card {
  display: grid;
  grid-template-columns: 42% 1fr;
}

.course-card img {
  height: 100%;
  min-height: 240px;
}

.course-card span {
  color: var(--clay);
  font-weight: 900;
}

.round-grid {
  position: relative;
  display: grid;
  gap: clamp(68px, 9vw, 128px);
  padding: clamp(28px, 5vw, 56px) 0;
}

.round-card {
  position: relative;
  z-index: 1;
  width: min(760px, 74%);
  min-height: 360px;
  scroll-margin-top: 104px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #132019;
  box-shadow: 0 22px 60px rgba(19, 32, 25, 0.2);
  cursor: zoom-in;
  outline: 0;
}

.round-card:nth-child(odd) {
  justify-self: start;
}

.round-card:nth-child(even) {
  justify-self: end;
}

.round-card img {
  width: 100%;
  height: clamp(360px, 56vw, 560px);
  max-height: none;
  object-fit: cover;
  object-position: center;
  background: #132019;
  transition: transform 220ms ease, filter 220ms ease;
}

.round-card div {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 8px;
  padding: 76px 22px 22px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(19, 32, 25, 0.9) 48%, rgba(19, 32, 25, 0.98));
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.round-card span {
  width: fit-content;
  min-height: 32px;
  padding: 7px 11px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--sun);
  font-size: 0.78rem;
  font-weight: 900;
}

.round-card h3,
.round-card p {
  margin: 0;
}

.round-card p {
  color: rgba(255, 255, 255, 0.78);
}

.round-card:hover img,
.round-card:focus img,
.round-card:focus-visible img,
.round-card:focus-within img,
.round-card:target img {
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.035);
}

.round-card:hover div,
.round-card:focus div,
.round-card:focus-visible div,
.round-card:focus-within div,
.round-card:target div {
  opacity: 1;
  transform: translateY(0);
}

.round-card:target > img {
  filter: saturate(1.05) contrast(1.04);
  transform: scale(1.035);
}

.round-card:target > div {
  opacity: 1;
  transform: translateY(0);
}

.image-dialog {
  width: min(1180px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 32px);
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #0f1712;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.image-dialog::backdrop {
  background: rgba(8, 14, 10, 0.72);
  backdrop-filter: blur(8px);
}

.image-dialog img {
  width: 100%;
  max-height: calc(100vh - 116px);
  object-fit: contain;
  background: #0f1712;
}

.image-dialog p {
  margin: 0;
  padding: 14px 18px 18px;
  color: rgba(255, 255, 255, 0.82);
  background: #0f1712;
  font-weight: 800;
}

.dialog-close {
  position: absolute;
  z-index: 2;
  top: 12px;
  right: 12px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.92);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

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

.service-grid article {
  padding: 0;
}

.culinary-story,
.team-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.culinary-photo,
.team-photo {
  min-height: 500px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.culinary-photo img,
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.culinary-photo img {
  object-position: center 56%;
}

.team-section {
  padding: clamp(58px, 8vw, 104px) 0;
  background: #f1efe5;
}

.team-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.88fr);
}

.team-photo img {
  object-position: center 42%;
}

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

.offer-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(25, 42, 31, 0.08);
}

.offer-grid span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  margin-bottom: 30px;
  padding: 0 12px;
  border-radius: 999px;
  color: #fff;
  background: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
}

.offer-grid article:nth-child(2) span {
  background: var(--clay);
}

.offer-grid article:nth-child(3) span {
  background: var(--water);
}

.offer-grid article:nth-child(4) span {
  color: var(--ink);
  background: var(--sun);
}

.menu-card-section {
  padding: clamp(58px, 8vw, 104px) 0;
  background: #f3efe5;
}

.menu-card-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  align-items: center;
  gap: clamp(40px, 8vw, 96px);
  overflow: hidden;
  padding: clamp(38px, 6vw, 74px);
  border: 1px solid rgba(19, 32, 25, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(25, 42, 31, 0.1);
}

.menu-card-layout::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 6px;
  content: "";
  background: linear-gradient(180deg, var(--green), var(--sun));
}

.menu-card-preview {
  display: block;
  width: min(100%, 340px);
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(59, 36, 22, 0.22);
  border-radius: 6px;
  background: #d9c395;
  box-shadow: 0 24px 54px rgba(59, 36, 22, 0.2);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.menu-card-preview:hover {
  box-shadow: 0 30px 66px rgba(59, 36, 22, 0.26);
  transform: translateY(-4px);
}

.menu-card-preview:focus-visible,
.menu-card-button:focus-visible {
  outline: 3px solid var(--sun);
  outline-offset: 4px;
}

.menu-card-preview img {
  width: 100%;
  height: auto;
}

.menu-card-content .eyebrow {
  color: var(--clay);
}

.menu-card-content h2 {
  max-width: 620px;
  margin: 0 0 24px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.menu-card-content > p:not(.eyebrow):not(.menu-card-meta) {
  max-width: 570px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.75;
}

.menu-card-button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
  padding: 14px 22px;
  border: 1px solid var(--green);
  border-radius: 6px;
  color: #fff;
  background: var(--green);
  text-decoration: none;
  font-weight: 850;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.menu-card-button:hover {
  border-color: var(--green-dark);
  background: var(--green-dark);
  transform: translateY(-2px);
}

.menu-card-button span {
  font-size: 1.1rem;
  line-height: 1;
}

.menu-card-meta {
  margin: 14px 0 0;
  color: #778078;
  font-size: 0.8rem;
}

.menu-list {
  display: grid;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.menu-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
}

.menu-list div:last-child {
  border-bottom: 0;
}

@media (max-width: 820px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 14px 18px;
  }

  .main-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-content {
    align-content: center;
  }

  .intro-grid,
  .welcome-info-grid,
  .menu-layout,
  .route-layout,
  .culinary-story,
  .team-layout,
  .bike-intro-layout,
  .fact-grid,
  .teaser-grid,
  .service-grid,
  .course-grid,
  .offer-grid,
  .bike-offer-grid,
  .round-grid {
    grid-template-columns: 1fr;
  }

  .menu-card-layout {
    grid-template-columns: 1fr;
  }

  .menu-card-preview {
    width: min(78%, 340px);
    justify-self: center;
  }

  .round-card {
    width: calc(100% - 48px);
    justify-self: end;
  }

  .culinary-photo,
  .team-photo {
    min-height: 420px;
  }

  .food-hero {
    min-height: 640px;
  }

  .bike-hero {
    min-height: 640px;
    align-items: center;
  }

  .bike-hero::before {
    background:
      linear-gradient(180deg, rgba(8, 24, 31, 0.82) 0%, rgba(8, 24, 31, 0.54) 50%, rgba(8, 24, 31, 0.22) 100%),
      linear-gradient(90deg, rgba(8, 24, 31, 0.2), rgba(8, 24, 31, 0.2));
  }

  .bike-hero-media {
    object-position: 62% center;
  }

  .food-hero::before {
    background:
      linear-gradient(180deg, rgba(48, 34, 24, 0.9) 0%, rgba(48, 34, 24, 0.62) 48%, rgba(48, 34, 24, 0.2) 100%),
      linear-gradient(90deg, rgba(48, 34, 24, 0.22), rgba(48, 34, 24, 0.22));
  }

  .food-hero-media {
    width: 100%;
    max-width: none;
    object-position: 58% center;
  }

  .intro-photo {
    min-height: 420px;
  }

  .bike-station-photo {
    min-height: 420px;
  }

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

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

@media (max-width: 520px) {
  .hero h1 {
    font-size: clamp(3.4rem, 20vw, 5rem);
  }

  .hero-content {
    padding-inline: 18px;
  }

  .intro-photo {
    min-height: 360px;
  }

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

  .menu-list div {
    flex-direction: column;
  }

  .menu-card-layout {
    padding: 24px 18px 30px;
  }

  .menu-card-preview {
    width: min(84%, 320px);
  }

  .menu-card-button {
    width: 100%;
  }
}

/* Bahnen · cinematic redesign */
@font-face {
  font-family: "Barlow Condensed Local";
  src: url("assets/fonts/barlow-condensed-latin-ext-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed Local";
  src: url("assets/fonts/barlow-condensed-latin-ext-800-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed Local";
  src: url("assets/fonts/barlow-condensed-latin-ext-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed Local";
  src: url("assets/fonts/barlow-condensed-latin-ext-900-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

@font-face {
  font-family: "Manrope Local";
  src: url("assets/fonts/manrope-latin-ext-400-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Manrope Local";
  src: url("assets/fonts/manrope-latin-ext-600-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Manrope Local";
  src: url("assets/fonts/manrope-latin-ext-700-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope Local";
  src: url("assets/fonts/manrope-latin-ext-800-normal.woff2") format("woff2");
  font-style: normal;
  font-weight: 800;
  font-display: swap;
}

.cinematic-courses {
  --course-ink: #f4f0e5;
  --course-muted: #b7c2bc;
  --course-dark: #031b18;
  --course-deep: #021411;
  --course-panel: #082521;
  --course-line: rgba(239, 237, 225, 0.18);
  --course-orange: #eda51e;
  --course-orange-strong: #f5ae1f;
  --course-cyan: #5fb8c9;
  margin: 0;
  color: var(--course-ink);
  background: var(--course-dark);
  font-family: "Manrope Local", Inter, ui-sans-serif, system-ui, sans-serif;
}

.cinematic-courses main {
  overflow: clip;
}

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

.cinematic-courses h1,
.cinematic-courses h2,
.cinematic-courses h3 {
  color: var(--course-ink);
  font-family: "Barlow Condensed Local", "Arial Narrow", sans-serif;
}

.cinematic-courses p {
  color: var(--course-muted);
}

.course-shell {
  width: min(1240px, calc(100% - 64px));
  margin-inline: auto;
}

.course-skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 12px 16px;
  color: var(--course-deep);
  background: var(--course-orange);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-160%);
}

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

.course-site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 16px clamp(24px, 5vw, 76px);
  border-bottom: 1px solid transparent;
  color: var(--course-ink);
  transition: min-height 180ms ease, background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.course-site-header.is-scrolled {
  min-height: 78px;
  border-color: var(--course-line);
  background: rgba(2, 20, 17, 0.92);
  backdrop-filter: blur(18px);
}

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

.course-brand-mark {
  display: block;
  width: 66px;
  height: 68px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: #f4f2ea;
}

.course-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.18);
}

.course-wordmark {
  display: grid;
  line-height: 0.88;
  text-transform: none;
}

.course-wordmark strong,
.course-wordmark em {
  font-family: "Barlow Condensed Local", "Arial Narrow", sans-serif;
  font-style: normal;
  letter-spacing: 0.045em;
}

.course-wordmark strong {
  color: #dbe5d5;
  font-size: 2rem;
  font-weight: 900;
}

.course-wordmark em {
  margin-top: 5px;
  color: #57a3bf;
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.course-main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
}

.course-main-nav a {
  position: relative;
  padding: 13px 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
}

.course-main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--course-orange);
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 160ms ease, transform 160ms ease;
}

.course-main-nav a:hover::after,
.course-main-nav a:focus-visible::after,
.course-main-nav a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

.course-main-nav a[aria-current="page"] {
  color: var(--course-orange);
}

.course-menu-toggle {
  display: none;
}

.course-hero {
  position: relative;
  height: clamp(680px, 67svh, 760px);
  min-height: 680px;
  overflow: hidden;
  isolation: isolate;
  background: #10231d;
}

.course-hero-video,
.course-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.course-hero-video {
  z-index: -3;
  object-fit: cover;
  object-position: center 46%;
  background: #10231d;
  filter: saturate(0.84) sepia(0.1) hue-rotate(-7deg) contrast(1.08);
}

.course-hero-shade {
  z-index: -2;
  background: rgba(1, 18, 16, 0.48);
  box-shadow: inset 48vw 0 150px rgba(1, 17, 15, 0.62), inset 0 -110px 90px rgba(1, 15, 13, 0.42);
  pointer-events: none;
}

.course-hero-content {
  position: absolute;
  z-index: 2;
  bottom: 142px;
  left: clamp(24px, 6vw, 92px);
  width: min(760px, calc(100% - 48px));
}

.course-kicker {
  margin-bottom: 18px;
  color: var(--course-orange) !important;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  line-height: 1.4;
  text-transform: uppercase;
}

.course-hero .course-kicker {
  text-transform: none;
}

.course-hero h1 {
  width: min(950px, calc(100vw - 100px));
  max-width: none;
  margin-bottom: 28px;
  font-family: "Barlow Condensed Local", "Arial Narrow", sans-serif;
  font-size: clamp(4.2rem, 6.4vw, 5.8rem);
  font-weight: 800;
  letter-spacing: 0.012em;
  line-height: 0.9;
  text-transform: uppercase;
  text-wrap: balance;
  transform: scaleX(0.69);
  transform-origin: left center;
}

.course-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.course-button {
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.course-button i {
  font-size: 1.2rem;
}

.course-button-primary {
  color: #0f1b15;
  background: var(--course-orange);
}

.course-button-primary:hover,
.course-button-primary:focus-visible {
  color: #0b1611;
  background: var(--course-orange-strong);
  transform: translateY(-2px);
}

.course-button-secondary {
  color: var(--course-ink);
  border-color: rgba(255, 255, 255, 0.62);
  background: rgba(3, 19, 17, 0.38);
}

.course-button-secondary:hover,
.course-button-secondary:focus-visible {
  border-color: var(--course-orange);
  background: rgba(3, 19, 17, 0.7);
  transform: translateY(-2px);
}

.course-video-controls {
  position: absolute;
  z-index: 2;
  right: clamp(24px, 6vw, 92px);
  bottom: 34px;
  left: clamp(24px, 6vw, 92px);
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 44px;
  align-items: center;
  gap: 14px;
  color: var(--course-ink);
}

.course-video-controls button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  padding: 0;
  border: 0;
  color: var(--course-ink);
  background: transparent;
  font-size: 1.2rem;
  cursor: pointer;
}

.course-control-fullscreen-label {
  display: none;
}

.course-video-controls .course-control-play {
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 50%;
}

.course-video-tap-hint {
  display: none;
}

.course-video-time {
  min-width: 100px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
}

.course-video-progress {
  width: 100%;
  height: 4px;
  accent-color: var(--course-orange);
  cursor: pointer;
}

.course-story,
.course-explorer,
.course-drone,
.course-visit {
  padding: clamp(82px, 9vw, 136px) 0;
}

.course-story,
.course-explorer,
.course-drone {
  scroll-margin-top: 78px;
}

.course-story {
  background: var(--course-dark);
}

.course-story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(52px, 7vw, 104px);
  align-items: center;
}

.course-story-image {
  position: relative;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--course-line);
  background: var(--course-panel);
}

.course-story-image img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: center;
}

.course-story-image figcaption {
  position: absolute;
  right: 18px;
  bottom: 16px;
  left: 18px;
  width: fit-content;
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(2, 20, 17, 0.82);
  font-size: 0.74rem;
  font-weight: 600;
}

.course-story-copy h2,
.course-section-heading h2,
.course-drone-copy h2,
.course-visit h2 {
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 5vw, 5.4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.96;
}

.course-accent-line {
  display: block;
  width: 64px;
  margin: 0 0 26px;
  border-top: 2px solid var(--course-orange);
}

.course-story-copy > p:last-of-type,
.course-drone-copy > p:not(.course-kicker):not(.course-video-meta),
.course-section-heading > p:last-child {
  max-width: 620px;
  font-size: 1.02rem;
  line-height: 1.8;
}

.course-story-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 38px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--course-line);
}

.course-story-facts div {
  display: grid;
  gap: 4px;
}

.course-story-facts dt {
  color: var(--course-orange);
  font-family: "Barlow Condensed Local", "Arial Narrow", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
}

.course-story-facts dd {
  margin: 0;
  color: var(--course-muted);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.45;
  text-transform: uppercase;
}

.course-explorer {
  background: var(--course-deep);
}

.course-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.65fr);
  column-gap: clamp(38px, 6vw, 90px);
  align-items: end;
  margin-bottom: 48px;
}

.course-section-heading .course-kicker {
  grid-column: 1 / -1;
}

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

.course-section-heading > p:last-child {
  margin-bottom: 4px;
}

.course-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.course-explorer-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
  border: 1px solid var(--course-line);
  background: var(--course-panel);
}

.course-explorer-image {
  position: relative;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 3 / 2;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #021411;
  cursor: zoom-in;
}

.course-explorer-image img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  transition: opacity 160ms ease;
}

.course-explorer-image:hover img,
.course-explorer-image:focus-visible img {
  opacity: 0.94;
}

.course-explorer-image span {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  color: var(--course-ink);
  background: rgba(2, 20, 17, 0.84);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
}

.course-explorer-image.is-changing img {
  opacity: 0.35;
}

.course-explorer-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 68px);
  border-left: 1px solid var(--course-line);
}

.course-explorer-number {
  margin-bottom: 22px;
  color: var(--course-orange) !important;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.course-explorer-copy h3 {
  margin-bottom: 20px;
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 700;
  line-height: 0.94;
}

.course-explorer-description {
  margin-bottom: 28px;
  font-size: 1rem;
  line-height: 1.7;
}

.course-route-guide {
  display: grid;
  gap: 12px;
}

.course-route {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 15px 16px;
  border: 1px solid var(--course-line);
  background: rgba(2, 20, 17, 0.42);
}

.course-route-swatch {
  position: relative;
  display: block;
  width: 34px;
  height: 12px;
  margin-top: 5px;
}

.course-route-swatch::before {
  position: absolute;
  inset: 5px 0 auto;
  height: 2px;
  background: currentColor;
  content: "";
}

.course-route-swatch::after {
  position: absolute;
  top: 1px;
  right: 0;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid currentColor;
  content: "";
}

.course-route-ideal .course-route-swatch {
  color: var(--course-orange);
}

.course-route-alternative .course-route-swatch {
  color: var(--course-cyan);
}

.course-route-alternative .course-route-swatch::before {
  background: repeating-linear-gradient(
    90deg,
    currentColor 0 6px,
    transparent 6px 10px
  );
}

.course-route p {
  margin-bottom: 4px;
  color: var(--course-ink) !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.course-route-ideal p {
  color: var(--course-orange) !important;
}

.course-route-alternative p {
  color: var(--course-cyan) !important;
}

.course-route div > span {
  display: block;
  color: var(--course-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.course-tip {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 15px 16px;
  border: 1px solid rgba(220, 130, 59, 0.52);
  background: rgba(220, 130, 59, 0.09);
}

.course-tip[hidden] {
  display: none;
}

.course-tip > i {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--course-orange);
  border: 1px solid rgba(220, 130, 59, 0.58);
  border-radius: 50%;
  font-size: 0.9rem;
}

.course-tip p {
  margin-bottom: 4px;
  color: var(--course-orange) !important;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.course-tip span {
  display: block;
  color: var(--course-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.course-explorer-navigation {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
}

.course-explorer-navigation button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--course-line);
  color: var(--course-ink);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
}

.course-explorer-navigation button:hover,
.course-explorer-navigation button:focus-visible {
  border-color: var(--course-orange);
  color: var(--course-orange);
}

.course-number-index {
  display: grid;
  grid-template-columns: repeat(18, minmax(42px, 1fr));
  gap: 0;
  margin: 24px 0 0;
  padding: 0 0 12px;
  overflow-x: auto;
  list-style: none;
  scrollbar-color: var(--course-orange) var(--course-panel);
}

.course-number-index li {
  min-width: 42px;
}

.course-number-index button {
  position: relative;
  width: 100%;
  min-width: 42px;
  min-height: 50px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--course-line);
  color: rgba(255, 255, 255, 0.54);
  background: transparent;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.course-number-index button:hover,
.course-number-index button:focus-visible,
.course-number-index button.is-active {
  color: var(--course-orange);
  border-bottom-color: var(--course-orange);
}

.course-drone {
  background: #08231f;
}

.course-drone-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.68fr) minmax(0, 1.32fr);
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
}

.course-video-meta {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.62) !important;
  font-size: 0.8rem;
}

.course-drone-player {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--course-line);
  background: #0d211d;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.course-drone-player video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course-drone-player > button {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 12px;
  border: 0;
  color: var(--course-ink);
  background: rgba(2, 20, 17, 0.34);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
}

.course-drone-player > button i {
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  justify-self: center;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 50%;
  color: var(--course-orange);
  background: rgba(2, 20, 17, 0.64);
  font-size: 2rem;
}

.course-drone-player.is-playing > button {
  display: none;
}

.course-visit {
  background: var(--course-orange);
}

.course-visit-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
}

.course-visit .course-kicker,
.course-visit h2 {
  color: #102019 !important;
}

.course-visit h2 {
  max-width: 820px;
  margin-bottom: 0;
}

.course-visit-actions {
  display: grid;
  gap: 18px;
  justify-items: start;
}

.course-visit .course-button-primary {
  color: var(--course-ink);
  background: var(--course-deep);
}

.course-text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #102019;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.course-text-link:hover,
.course-text-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.course-image-dialog {
  width: min(1160px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100% - 32px);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--course-line);
  color: var(--course-ink);
  background: var(--course-deep);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.62);
}

.course-image-dialog::backdrop {
  background: rgba(0, 10, 9, 0.82);
  backdrop-filter: blur(8px);
}

.course-image-dialog img {
  width: 100%;
  max-height: calc(100vh - 110px);
  object-fit: contain;
  background: #06120f;
}

.course-image-dialog p {
  margin: 0;
  padding: 16px 20px 20px;
  color: var(--course-muted);
  font-size: 0.86rem;
}

.course-dialog-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 50%;
  color: var(--course-ink);
  background: rgba(2, 20, 17, 0.86);
  font-size: 1.2rem;
  cursor: pointer;
}

.course-footer {
  padding: 62px 0;
  border-top: 1px solid var(--course-line);
  background: #010f0d;
}

.cinematic-courses :is(a, button, input):focus-visible {
  outline: 3px solid var(--course-orange);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .course-site-header {
    min-height: 84px;
    padding-inline: 24px;
  }

  .course-brand-mark {
    width: 54px;
    height: 56px;
  }

  .course-wordmark strong {
    font-size: 1.65rem;
  }

  .course-wordmark em {
    font-size: 0.92rem;
  }

  .course-menu-toggle {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid var(--course-line);
    color: var(--course-ink);
    background: rgba(2, 20, 17, 0.66);
    font: inherit;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
  }

  .course-menu-toggle i {
    font-size: 1.3rem;
  }

  .course-main-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 18px;
    left: 18px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 12px 20px 18px;
    border: 1px solid var(--course-line);
    background: rgba(2, 20, 17, 0.98);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34);
  }

  .course-main-nav.is-open {
    display: flex;
  }

  .course-main-nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--course-line);
  }

  .course-main-nav a:last-child {
    border-bottom: 0;
  }

  .course-story-grid,
  .course-drone-grid {
    grid-template-columns: 1fr;
  }

  .course-story-image {
    min-height: 480px;
  }

  .course-story-image img {
    min-height: 480px;
  }

  .course-explorer-stage {
    grid-template-columns: 1fr;
  }

  .course-explorer-copy {
    min-height: 380px;
    border-top: 1px solid var(--course-line);
    border-left: 0;
  }

  .course-visit-card {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 700px) {
  .course-shell {
    width: min(100% - 36px, 1240px);
  }

  .course-wordmark {
    display: none;
  }

  .course-hero {
    --course-mobile-video-height: clamp(350px, 50svh, 440px);

    height: calc(var(--course-mobile-video-height) + 132px);
    min-height: 0;
    transition: height 200ms ease;
  }

  .course-hero-video {
    bottom: auto;
    height: var(--course-mobile-video-height);
    object-position: center 42%;
    cursor: pointer;
    touch-action: manipulation;
  }

  .course-hero-shade {
    background: rgba(1, 18, 16, 0.58);
    box-shadow: inset 0 -160px 110px rgba(1, 15, 13, 0.52);
    transition: opacity 220ms ease;
  }

  .course-hero-content {
    top: 72px;
    bottom: auto;
    left: 18px;
    width: calc(100% - 36px);
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms ease;
  }

  .course-hero h1 {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
    font-size: clamp(2.75rem, 12vw, 3.15rem);
    line-height: 0.94;
    letter-spacing: -0.018em;
    overflow-wrap: break-word;
    text-wrap: balance;
    transform: none;
    transform-origin: left center;
  }

  .cinematic-courses main h2 {
    max-width: 100%;
    font-size: clamp(2.65rem, 11.7vw, 3rem);
    line-height: 0.98;
    letter-spacing: -0.012em;
    overflow-wrap: break-word;
  }

  .course-hero-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .course-hero-actions .course-button {
    width: 100%;
    min-height: 54px;
    padding: 11px 10px;
    font-size: 0.76rem;
  }

  .course-video-controls {
    top: calc(var(--course-mobile-video-height) - 48px);
    right: 18px;
    bottom: auto;
    left: 18px;
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 8px;
    padding: 6px 7px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(2, 18, 15, 0.82);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.24);
    opacity: 0;
    pointer-events: none;
    transform: translateY(6px);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .course-video-progress {
    --trailer-progress: 0%;

    width: 100%;
    height: 4px;
    margin: 0;
    border-radius: 999px;
    appearance: none;
    -webkit-appearance: none;
    background:
      linear-gradient(
        90deg,
        var(--course-orange) 0 var(--trailer-progress),
        rgba(255, 255, 255, 0.34) var(--trailer-progress) 100%
      );
  }

  .course-video-progress::-webkit-slider-runnable-track {
    height: 4px;
    border-radius: 999px;
    background: transparent;
  }

  .course-video-progress::-webkit-slider-thumb {
    width: 12px;
    height: 12px;
    margin-top: -4px;
    border: 2px solid #fff;
    border-radius: 50%;
    appearance: none;
    -webkit-appearance: none;
    background: var(--course-orange);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  }

  .course-video-progress::-moz-range-track {
    height: 4px;
    border-radius: 999px;
    background: transparent;
  }

  .course-video-progress::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--course-orange);
  }

  .course-video-controls [data-trailer-fullscreen] {
    display: grid;
    width: 34px;
    height: 34px;
    min-width: 34px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    font-size: 1rem;
  }

  .course-video-tap-hint {
    position: absolute;
    z-index: 3;
    top: calc(var(--course-mobile-video-height) - 92px);
    left: 50%;
    display: block;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(2, 18, 15, 0.78);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%);
  }

  .course-hero.is-trailer-playing .course-hero-content {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
  }

  .course-hero.is-trailer-playing {
    height: var(--course-mobile-video-height);
  }

  .course-hero.is-trailer-playing .course-hero-shade {
    opacity: 0.2;
  }

  .course-hero.is-trailer-playing .course-video-controls {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .course-hero.is-trailer-playing .course-video-tap-hint {
    animation: course-video-tap-hint 3.2s ease both;
  }

  .course-story,
  .course-explorer,
  .course-drone,
  .course-visit {
    padding: 78px 0;
  }

  .course-story,
  .course-explorer,
  .course-drone {
    scroll-margin-top: 84px;
  }

  .course-story-grid {
    gap: 42px;
  }

  .course-story-image,
  .course-story-image img {
    min-height: 430px;
  }

  .course-story-copy h2,
  .course-section-heading h2,
  .course-drone-copy h2,
  .course-visit h2 {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .course-story-facts {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .course-section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .course-explorer-copy {
    min-height: 360px;
    padding: 32px 24px;
  }

  .course-explorer-copy h3 {
    font-size: 3.5rem;
  }

  .course-explorer-navigation {
    justify-content: space-between;
  }

  .course-drone-grid {
    gap: 40px;
  }

  .course-drone-player > button span {
    font-size: 0.68rem;
  }

  .course-visit-card {
    gap: 34px;
  }
}

@keyframes course-video-tap-hint {
  0%,
  12% {
    opacity: 0;
    transform: translate(-50%, 5px);
  }

  24%,
  72% {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinematic-courses *,
  .cinematic-courses *::before,
  .cinematic-courses *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
