/* ============ TRC – The Riders Club — Homepage Styles ============ */

:root {
  --navy: #0a1a2f;
  --navy-deep: #06111f;
  --teal: #12454a;
  --coral: #ff5b3c;
  --coral-dark: #e14526;
  --sand: #a9bcc8;
  --sand-dark: #93aab8;
  --ink: #0b0b0d;
  --white: #ffffff;
  --gray: #6b7280;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-w: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--sand);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  top: 0;
  left: 12px;
  background: var(--coral);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 1000;
  transform: translateY(-150%);
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(12px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
}
.hero-actions .btn::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: 8px;
  height: 2px;
  width: 0;
  background: currentColor;
  transition: width .2s ease;
}
.hero-actions .btn:hover::after { width: calc(100% - 56px); }
.btn-primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: 0 8px 20px -8px rgba(255, 91, 60, 0.6);
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-2px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover { border-color: var(--white); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: rgba(10, 26, 47, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  color: var(--white);
}
.logo-badge {
  height: 42px;
  width: 42px;
  object-fit: contain;
  display: block;
}
.logo-sub {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

.main-nav ul {
  display: flex;
  gap: 36px;
}
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  height: 2px; width: 0;
  background: var(--coral);
  transition: width .2s ease;
}
.main-nav a:hover::after { width: 100%; }
.main-nav a:hover { color: var(--white); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-dropdown { position: relative; }
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
}
.lang-toggle:hover { border-color: rgba(255,255,255,0.6); }
.lang-caret {
  width: 9px;
  height: 6px;
  transition: transform .18s ease;
}
.lang-dropdown:has(.lang-menu.is-open) .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--navy);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 5px;
  display: none;
  flex-direction: row;
  gap: 2px;
  box-shadow: 0 16px 36px -12px rgba(0,0,0,0.5);
  z-index: 10;
}
.lang-menu.is-open { display: flex; }
.lang-option {
  display: block;
  text-align: center;
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.lang-option:hover { background: rgba(255,255,255,0.08); color: var(--white); }
.lang-option.is-active { color: var(--coral); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px; height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    url('../images/backgrounds/hero-wave.jpg') center 60% / cover no-repeat,
    linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(45% 40% at 10% 90%, rgba(18, 69, 74, 0.4) 0%, transparent 70%),
    linear-gradient(100deg, rgba(6, 17, 31, 0.72) 0%, rgba(6, 17, 31, 0.45) 40%, rgba(6, 17, 31, 0.2) 62%, rgba(6, 17, 31, 0.08) 100%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding-top: 110px;
  padding-bottom: 140px;
  max-width: 780px;
}

.hero-diagonal {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  clip-path: polygon(66% 0, 100% 0, 100% 100%, 42% 100%);
  background: linear-gradient(160deg, var(--coral) 0%, var(--coral-dark) 100%);
  opacity: 1;
}
.hero-diagonal::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-35deg, rgba(255,255,255,0.16) 0 3px, transparent 3px 20px);
}
.hero-ring {
  position: absolute;
  top: 16%;
  right: 8%;
  width: 130px;
  height: 130px;
  border: 3px solid rgba(255,255,255,0.85);
  border-radius: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero-ring-logo {
  width: 82%;
  height: 82%;
  object-fit: contain;
  border-radius: 50%;
}
.hero-ring::before {
  content: "";
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  margin-bottom: 18px;
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 30px;
  height: 12px;
  color: var(--coral);
  background-image: repeating-linear-gradient(-45deg, currentColor 0 3px, transparent 3px 7px);
}

.hero-title {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(2.6rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  margin-bottom: 22px;
}

.hero-subtitle {
  color: rgba(255,255,255,0.78);
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- Section shared ---------- */
section { position: relative; z-index: 1; }

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--coral-dark);
  font-weight: 800;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  margin-bottom: 12px;
}
.section-eyebrow::before {
  content: "";
  flex: none;
  width: 30px;
  height: 12px;
  background-image: repeating-linear-gradient(-45deg, currentColor 0 3px, transparent 3px 7px);
}

.section-head {
  max-width: 640px;
  margin-bottom: 48px;
}

.section-head h2, .about-text h2, .fashion-text h2, .contact-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
}

.section-seam {
  position: relative;
  z-index: 0;
  height: 140px;
  background: var(--sand);
  overflow: hidden;
}
.section-seam.seam-dark { background: var(--navy); }
.section-seam::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
}
.section-seam.tilt-b::before {
  clip-path: polygon(0 16px, 100% 72px, 100% 78px, 0 22px);
}
.section-seam.tilt-a::before {
  clip-path: polygon(0 72px, 100% 16px, 100% 22px, 0 78px);
}

/* ---------- About ---------- */
.about {
  padding: 156px 0 80px;
  background: var(--sand);
  overflow: hidden;
  clip-path: polygon(0 0, 100% 56px, 100% 100%, 0 100%);
  margin-top: -56px;
  position: relative;
  z-index: 2;
}
.about::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  clip-path: polygon(28% 0, 100% 0, 100% 100%, 0 100%);
  background: url('../images/backgrounds/palm-leaf.jpg') center / cover no-repeat;
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}
.about-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-body {
  color: #3a3a3f;
  font-size: 1.08rem;
  max-width: 560px;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.stat {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 10px 30px -18px rgba(10, 26, 47, 0.35);
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--coral);
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--gray);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 6px;
}

/* ---------- Offerings / Training ---------- */
.offerings {
  padding: 146px 0 90px;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
  clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%);
  margin-top: -56px;
}
.offerings::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../images/backgrounds/track-texture.jpg') center / cover no-repeat;
  opacity: 0.85;
  z-index: 0;
}
.offerings::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,26,47,0.32) 0%, rgba(10,26,47,0.6) 100%);
  z-index: 0;
}
.offerings .container { position: relative; z-index: 1; }
.offerings .section-eyebrow { color: var(--coral); }
.offerings .section-head h2 { color: var(--white); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.card {
  position: relative;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 30px 24px;
  overflow: hidden;
  transition: transform .2s ease, background .2s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--coral);
  transition: width .25s ease;
}
.card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.07);
}
.card:hover::before {
  width: 100%;
}
.card-icon {
  width: 46px; height: 46px;
  color: var(--coral);
  margin-bottom: 18px;
}
.card-icon svg { width: 100%; height: 100%; }
.card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.card p {
  color: rgba(255,255,255,0.68);
  font-size: 0.95rem;
}

/* ---------- Fashion ---------- */
.fashion {
  padding: 156px 0 100px;
  background: var(--sand);
  clip-path: polygon(0 0, 100% 56px, 100% 100%, 0 100%);
  margin-top: -56px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 24px;
  margin-bottom: 48px;
}

.product-card { color: var(--ink); }

.product-media {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sand-dark);
}

.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity .35s ease;
}

.product-card[data-active-color="black"][data-face="front"] .product-img.black.front,
.product-card[data-active-color="white"][data-face="front"] .product-img.white.front {
  opacity: 1;
}
.product-card[data-active-color="black"][data-face="back"] .product-img.black.back,
.product-card[data-active-color="white"][data-face="back"] .product-img.white.back {
  opacity: 1;
}

.product-flip {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(10, 26, 47, 0.72);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.product-flip:hover { background: var(--coral); border-color: var(--coral); }
.product-flip svg { width: 16px; height: 16px; }
.product-card[data-face="back"] .product-flip { transform: rotate(180deg); }

.product-info {
  margin-top: 14px;
}
.product-info-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.product-info h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.product-price {
  font-weight: 700;
  color: var(--coral-dark);
  font-size: 0.92rem;
  white-space: nowrap;
}
.product-sub {
  display: none;
}
.product-sizes {
  color: var(--gray);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  margin-top: 3px;
}

.product-colors {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}
.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid var(--gray);
  cursor: pointer;
  padding: 0;
}
.color-dot.color-black { background: #0a0a0a; }
.color-dot.color-white { background: #f5efe4; }
.color-dot.is-active { border-color: var(--coral); box-shadow: 0 0 0 2px var(--coral); }

.fashion-cta { text-align: center; }

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--navy);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ---------- Media placeholders ---------- */
.media-placeholder {
  border-radius: var(--radius);
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  min-height: 160px;
  color: rgba(255,255,255,0.92);
}
.media-placeholder span {
  position: relative;
  z-index: 1;
  padding: 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent);
  width: 100%;
}
.media-placeholder::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 14px);
}

.ph-1, .ph-4 { background: linear-gradient(160deg, #12454a, #0a1a2f); }

.media-placeholder.has-illustration::before,
.media-placeholder.has-photo::before { display: none; }
.media-placeholder.has-illustration,
.media-placeholder.has-photo { background: none; }
.illustration {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.media-placeholder.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph-2, .ph-5 { background: linear-gradient(160deg, #ff5b3c, #b8321a); }
.ph-3, .ph-6 { background: linear-gradient(160deg, #2a4a6b, #0a1a2f); }

.media-placeholder span.tile-badge-soon {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  background: var(--coral);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  width: auto;
}

/* ---------- Print & Grafik ---------- */
.printgrafik {
  padding: 156px 0 100px;
  background: var(--navy);
  color: var(--white);
  clip-path: polygon(0 0, 100% 56px, 100% 100%, 0 100%);
  margin-top: -56px;
}
.printgrafik .section-eyebrow { color: var(--coral); }
.printgrafik .section-head h2 { color: var(--white); }
.printgrafik .section-sub { color: rgba(255,255,255,0.68); }

.pg-combined {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 50px -20px rgba(0,0,0,0.5);
}
.pg-combined img {
  width: 100%;
  height: auto;
  display: block;
}
.pg-credit {
  text-align: center;
  margin-top: 20px;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
}
.pg-credit a {
  color: var(--coral);
  text-decoration: underline;
}
.pg-credit a:hover { color: var(--white); }

/* ---------- Gallery ---------- */
.gallery {
  padding: 156px 0 100px;
  background: var(--white);
  clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%);
  margin-top: -56px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-grid .media-placeholder { aspect-ratio: 4/3; }

.ig-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.ig-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  border: 2px solid var(--coral);
}
.ig-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-who { display: flex; flex-direction: column; margin-right: auto; }
.ig-handle { font-weight: 800; font-size: 1.02rem; }
.ig-sub { color: var(--gray); font-size: 0.85rem; }
.ig-follow-btn { flex: none; }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
}
.ig-grid .ig-tile {
  opacity: 1;
  transition: opacity 1.1s ease;
}
.ig-grid .ig-tile.ig-tile-in {
  opacity: 1;
}
.ig-grid .ig-tile.ig-tile-out {
  opacity: 0;
}
.ig-tile {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 6px;
  display: block;
}
.ig-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.ig-tile:hover img { transform: scale(1.06); }
.ig-tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 47, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0;
  transition: opacity .25s ease;
}
.ig-tile:hover .ig-tile-overlay { opacity: 1; }
.ig-tile-overlay svg { width: 20px; height: 20px; }
.ig-tile-stat { display: flex; align-items: center; gap: 6px; }

/* ---------- Contact ---------- */
.contact {
  padding: 196px 0 160px;
  min-height: 640px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(6, 17, 31, 0.28) 0%, rgba(6, 17, 31, 0.58) 100%),
    url('../images/backgrounds/contact-coast.jpg') center 30% / cover no-repeat;
  color: var(--white);
  clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%);
  margin-top: -56px;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 90px;
  width: 100%;
}
.contact-text .section-eyebrow { color: var(--coral); }
.contact-text h2 { color: var(--white); }
.contact-text p:not(.section-eyebrow):not(.form-note) {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  margin-bottom: 30px;
  max-width: 460px;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 460px;
}
.newsletter-form input {
  flex: 1 1 220px;
  padding: 14px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.06);
  color: var(--white);
  font-size: 0.95rem;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form input:focus {
  outline: none;
  border-color: var(--coral);
}
.form-note {
  margin-top: 16px;
  color: var(--coral);
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
  padding-top: 6px;
}
.contact-line {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.25);
  padding-bottom: 6px;
  transition: border-color .18s ease, color .18s ease;
}
.contact-line:hover { color: var(--coral); border-color: var(--coral); }

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}
.social-links a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  transition: background .18s ease, border-color .18s ease;
}
.social-links svg { width: 18px; height: 18px; }
.social-links a:hover { background: var(--coral); border-color: var(--coral); }

/* ---------- Page Hero (Training) ---------- */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 170px 0 120px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(50% 45% at 85% 15%, rgba(255, 91, 60, 0.3) 0%, transparent 70%),
    radial-gradient(45% 40% at 10% 90%, rgba(18, 69, 74, 0.4) 0%, transparent 70%);
}
.page-hero-inner {
  position: relative;
  max-width: 760px;
}
.page-hero-title {
  font-family: var(--font-display);
  color: var(--white);
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.05;
  margin-bottom: 18px;
}
.page-hero-sub {
  color: rgba(255,255,255,0.78);
  font-size: 1.1rem;
  max-width: 560px;
}

/* ---------- Connect ---------- */
.connect {
  padding: 156px 0 100px;
  background: var(--navy);
  color: var(--white);
  clip-path: polygon(0 0, 100% 56px, 100% 100%, 0 100%);
  margin-top: -56px;
}
.connect .section-eyebrow { color: var(--coral); }
.connect .section-head h2 { color: var(--white); }
.connect .section-sub { color: rgba(255,255,255,0.68); }
.connect-grid { grid-template-columns: repeat(3, 1fr); }
.connect-cta { text-align: center; margin-top: 48px; }

/* ---------- Find a Trainer ---------- */
.find-trainer {
  padding: 156px 0 120px;
  background: var(--navy);
  color: var(--white);
  clip-path: polygon(0 56px, 100% 0, 100% 100%, 0 100%);
  margin-top: -56px;
}
.find-trainer .section-eyebrow { color: var(--coral); }
.find-trainer .section-head h2 { color: var(--white); }
.find-trainer .section-sub { color: rgba(255,255,255,0.68); }
.trainer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 8px;
}
.trainer-card {
  background: var(--sand);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  position: relative;
}
.trainer-open-badge {
  display: inline-block;
  background: rgba(255, 91, 60, 0.12);
  color: var(--coral-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.trainer-photo {
  aspect-ratio: 1;
  border-radius: 50%;
  width: 120px;
  margin: 0 auto 18px;
}
.trainer-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.trainer-tag {
  color: var(--coral-dark);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.trainer-langs {
  color: var(--gray);
  font-size: 0.8rem;
  margin-bottom: 12px;
}
.trainer-langs span { font-weight: 600; }
.trainer-bio {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.trainer-btn { width: 100%; color: var(--ink); border-color: var(--ink); }
.trainer-btn:hover { border-color: var(--coral); color: var(--coral); }

/* ---------- Legal page ---------- */
:root[data-lang="de"] .lang-only-en,
:root:not([data-lang]) .lang-only-en { display: none; }
:root[data-lang="en"] .lang-only-de { display: none; }

.legal-page {
  padding: 156px 0 120px;
  background: var(--white);
}
.legal-container {
  max-width: 760px;
}
.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin: 14px 0 40px;
}
.legal-page h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 48px 0 16px;
}
.legal-page h2:first-of-type { margin-top: 0; }
.legal-page h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin: 28px 0 8px;
}
.legal-page p {
  color: #3a3a3f;
  line-height: 1.7;
  margin-bottom: 12px;
}
.legal-page a { color: var(--coral-dark); text-decoration: underline; }
.legal-copyright {
  margin-top: 24px;
  font-weight: 700;
  color: var(--ink);
}

/* ---------- Lightbox ---------- */
.gallery-grid .media-placeholder { cursor: pointer; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 17, 31, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}
.lightbox.is-open { display: flex; }
.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}
.lightbox-content img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: var(--radius);
  display: block;
  margin: 0 auto;
}
.lightbox-close {
  position: fixed;
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  transition: background .18s ease;
}
.lightbox-close:hover { background: var(--coral); border-color: var(--coral); }
.lightbox-cta {
  margin-top: 20px;
  background: var(--navy);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.lightbox-cta p {
  color: var(--white);
  font-weight: 600;
  margin: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 40px 0;
  color: rgba(255,255,255,0.6);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer-nav a { font-size: 0.88rem; color: rgba(255,255,255,0.65); }
.footer-nav a:hover { color: var(--white); }
.footer-copy { font-size: 0.8rem; width: 100%; text-align: center; margin-top: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1100px) {
  .main-nav {
    position: fixed;
    top: 76px; left: 0; right: 0;
    background: var(--navy);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
  }
  .main-nav.is-open { max-height: 500px; overflow-y: auto; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 20px;
  }
  .main-nav a { display: block; padding: 14px 0; }
  .nav-toggle { display: flex; }
}

@media (max-width: 760px) {
  .card-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .trainer-grid { grid-template-columns: 1fr; }

  .hero-ring {
    top: 20px;
    right: 20px;
    width: 64px;
    height: 64px;
  }
  .hero-ring::before { inset: -10px; }

  .about::before { display: none; }
  .about-body { max-width: none; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
}
