/* Pedal Pushers – Premium UI + glas, bløde skygger, gradients */
:root {
  /* Surfaces – klassisk kølig premium hvid, neutral (ingen béj) */
  --bg: #f6f6f5;
  --bg-elevated: #ffffff;
  --bg-dark: #0f0f0e;
  --bg-dark-elevated: #181816;
  /* Bløde, diffuse skygger (lave, meget udvaskede) */
  --shadow-soft: 0 2px 40px -12px rgba(0, 0, 0, 0.1), 0 8px 48px -20px rgba(0, 0, 0, 0.05);
  --shadow-lift: 0 4px 28px -10px rgba(0, 0, 0, 0.08), 0 1px 3px -1px rgba(0, 0, 0, 0.04);
  --shadow-ambient: 0 12px 48px -16px rgba(0, 0, 0, 0.07);
  --shadow-cta: 0 8px 28px -6px rgba(200, 95, 40, 0.22), 0 2px 8px -2px rgba(0, 0, 0, 0.08);
  /* Indre glans / crease til knapper */
  --inset-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.42);
  --inset-depth: inset 0 -1px 0 rgba(0, 0, 0, 0.08);
  --inset-warm: inset 0 0 24px -8px rgba(0, 0, 0, 0.05);
  /* Hairlines */
  --line: 1px solid rgba(15, 15, 15, 0.08);
  --line-strong: 1px solid rgba(15, 15, 15, 0.1);
  --line-glass: 1px solid rgba(255, 255, 255, 0.55);
  --line-on-dark: 1px solid rgba(255, 255, 255, 0.12);
  --line-on-dark-soft: 1px solid rgba(255, 255, 255, 0.06);
  --text: #0f0f0e;
  --text-secondary: rgba(15, 15, 15, 0.62);
  --text-muted: rgba(15, 15, 15, 0.48);
  --cream: #e8e7e4;
  /* Én fælles lyse flade (bike / kontakt) – kølig neutral, ingen béjtråd */
  --surface-cream-100: #f0f0ef;
  --surface-cream-200: #e8e8e6;
  --surface-cream-300: #e0e0de;
  --gradient-surface-cream: linear-gradient(
    175deg,
    var(--surface-cream-100) 0%,
    var(--surface-cream-200) 50%,
    var(--surface-cream-300) 100%
  );
  /* Statisk orange “glow” (bro / cykler / kontakt) – mærkbar men ikke skrigende */
  --glow-warm-center: radial-gradient(
    ellipse 95% 75% at 48% 38%,
    rgba(200, 107, 50, 0.1) 0%,
    rgba(200, 107, 50, 0.03) 48%,
    transparent 68%
  );
  --glow-warm-tl: radial-gradient(
    ellipse 85% 65% at 6% 18%,
    rgba(200, 107, 50, 0.16) 0%,
    rgba(200, 107, 50, 0.04) 45%,
    transparent 70%
  );
  --glow-warm-br: radial-gradient(
    ellipse 70% 55% at 94% 82%,
    rgba(200, 107, 50, 0.12) 0%,
    transparent 62%
  );
  /* Mellem: mærkbar varme uden at drukne S-kurve / lodret streg (undgår 0,14–0,16+ lag) */
  --glow-bike-soft-tl: radial-gradient(
    ellipse 92% 70% at 10% 22%,
    rgba(200, 107, 50, 0.09) 0%,
    rgba(200, 107, 50, 0.025) 48%,
    transparent 64%
  );
  --glow-bike-soft-br: radial-gradient(
    ellipse 58% 48% at 90% 85%,
    rgba(200, 107, 50, 0.06) 0%,
    transparent 60%
  );
  --line-cream-top: 1px solid rgba(255, 255, 255, 0.65);
  --line-cream-bottom: 1px solid rgba(0, 0, 0, 0.06);
  --orange: #c86b32;
  --orange-deep: #8a4518;
  --link: #1d3d2e;
  --link-hover: #6b3a14;
  /* Radius system 16–24 */
  --r-12: 12px;
  --r-16: 16px;
  --r-20: 20px;
  --r-24: 24px;
  --radius-pill: 999px;
  /* Layout */
  --max: 1200px;
  --header-h: 3.5rem; /* slank topbar, ~30% under 80px + kompakt padding */
  --gutter: 1.5rem;
  --gutter-lg: 2rem;
  --space-section-y: clamp(5.75rem, 16vw, 12rem);
  --space-block: clamp(2.75rem, 6.5vw, 4.25rem);
  /* Typography – Inter, tech hierarchy */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --track-tight: -0.045em;
  --track-title: -0.032em;
  --track-body: -0.011em;
  --glass-blur: 22px;
}

@media (min-width: 1024px) {
  :root {
    --gutter: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

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

html {
  /* Lenis håndterer scroll; "smooth" her giver ofte ekstra vægt for anchor-jumps */
  scroll-behavior: auto;
}

a.skip-link,
input,
textarea,
select,
button:disabled {
  cursor: auto !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  /* Ankre under fast header */
  scroll-padding-top: calc(var(--header-h) + 0.35rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.55;
  letter-spacing: var(--track-body);
  color: var(--text);
  /* Fin neutral gradient – hvidt lys, meget subtil dybde (til glas) */
  background: linear-gradient(168deg, #ffffff 0%, #f5f5f4 40%, #ebebea 100%);
  /* fixed = tung repainting ved scroll; scroll er billigere og føles hurtigere */
  background-attachment: scroll;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01" on, "cv05" on;
  /* Notch & hjemindikator */
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

a {
  color: var(--link);
  text-decoration: none;
  text-underline-offset: 0.2em;
}

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

/* —— Grid 12 (fluid) —— */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
  row-gap: var(--space-block);
  width: 100%;
}

.span-12 {
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .span-lg-5 {
    grid-column: span 5;
  }
  .span-lg-6 {
    grid-column: span 6;
  }
  .start-lg-7 {
    grid-column: 7 / span 6;
  }
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding-inline: 0.25rem;
}

@media (min-width: 768px) {
  .wrap {
    width: min(100% - 3.5rem, var(--max));
  }
}

.eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 1rem;
  line-height: 1.4;
}

.eyebrow-on-dark {
  color: rgba(255, 255, 255, 0.45);
}

/* Header: fast topp – hero fylder hele viewport og ligger *under*, så glas altid mørknere over mørkt foto (ikke body-gradient) */
.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 100;
  min-height: var(--header-h);
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.28);
  border-bottom: none;
  box-shadow: none;
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  backdrop-filter: blur(8px) saturate(1.1);
  transition: background 0.35s ease;
  padding-top: env(safe-area-inset-top, 0);
}

.site-header.is-scrolled {
  background: rgba(0, 0, 0, 0.38);
}

.header-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: min(1120px, 100%);
  margin-inline: auto;
  min-height: var(--header-h);
  height: var(--header-h);
  padding: 0 clamp(1.5rem, 3.35vw, 2.5rem);
  box-sizing: border-box;
  gap: 0.4rem 0.65rem;
}

.brand {
  --mx: 0px;
  --my: 0px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center; /* vertikal midte i slank bar */
  gap: 0.45rem;
  text-decoration: none;
  color: #ffffff;
  flex-shrink: 0;
  line-height: 1.2;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: opacity 0.2s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand picture {
  display: block;
  flex-shrink: 0;
  line-height: 0;
}

.brand:hover {
  text-decoration: none;
  opacity: 0.95;
}

.brand-logo {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 9px;
  box-shadow: none;
}

.brand-text {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.5rem;
  line-height: 1.1;
  max-width: min(65vw, 20rem);
}

.brand-name {
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #ffffff;
  white-space: nowrap;
}

.brand-tag {
  font-size: 0.65625rem;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  min-width: 0;
}

.site-nav__main {
  position: static;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem 1.2rem;
  z-index: 0;
  max-width: none;
  padding: 0;
  margin: 0 0.25rem 0 0;
}

@media (min-width: 721px) {
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, max-content) 1fr minmax(0, max-content);
    align-items: center;
    column-gap: 0.5rem 0.9rem;
  }

  .site-nav {
    display: contents;
  }

  .brand {
    grid-column: 1;
  }

  .nav-toggle {
    display: none !important;
  }

  .site-nav__main {
    grid-column: 2;
    justify-self: center;
    margin: 0;
    padding: 0 0.5rem;
    justify-content: center;
    gap: 0.25rem 1.5rem;
  }

  .nav-cta {
    grid-column: 3;
    justify-self: end;
  }
}

.site-nav a:not(.nav-cta) {
  --mx: 0px;
  --my: 0px;
  font-size: 0.875rem; /* 14px */
  font-weight: 300;
  letter-spacing: 0.05em;
  text-decoration: none;
  color: #ffffff;
  padding: 0.28rem 0.1rem 0.32rem;
  position: relative;
  text-transform: none;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0.1rem;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.site-nav a:not(.nav-cta):hover {
  color: #ffffff;
  opacity: 0.92;
  transform: translate3d(var(--mx), var(--my), 0);
}

.site-nav a:not(.nav-cta):hover::after {
  opacity: 1;
  transform: scale(1);
}

.nav-cta {
  --mx: 0px;
  --my: 0px;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  margin-left: 0;
  min-height: 0;
  line-height: 1.2;
  background: linear-gradient(175deg, #f0a878 0%, #e58542 35%, #d07022 72%, #b85a18 100%);
  color: #0f0a08 !important;
  text-shadow: none;
  padding: 0.25rem 0.85rem !important;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.8125rem;
  border: 1px solid rgba(255, 200, 140, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 200, 160, 0.12), 0 4px 18px -3px rgba(200, 95, 45, 0.45);
  transform: translate3d(var(--mx), var(--my), 0);
  touch-action: manipulation;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, background 0.25s ease, border-color 0.25s ease;
}

.nav-cta:hover {
  background: linear-gradient(175deg, #f4b288 0%, #e89252 40%, #d67a28 100%);
  color: #0a0604 !important;
  border-color: rgba(255, 220, 180, 0.55);
  box-shadow: 0 0 0 1px rgba(255, 210, 170, 0.2), 0 8px 28px -4px rgba(210, 100, 45, 0.55);
  transform: translate3d(var(--mx), var(--my), 0) scale(1.02) translateY(-0.5px);
}

.nav-cta:not(.cta-magnetic) {
  transform: none;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:not(.cta-magnetic):hover {
  transform: scale(1.02) translateY(-0.5px);
}

.nav-cta.cta-magnetic {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.nav-cta.cta-magnetic::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    520px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 220, 180, 0.18) 35%,
    transparent 60%
  );
  transition: opacity 0.4s ease;
}

.nav-cta.cta-magnetic:hover::before {
  opacity: 1;
}

.nav-cta.cta-magnetic:active {
  transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(0.98);
}

.nav-cta:not(.cta-magnetic):active {
  transform: scale(0.98);
}

.nav-toggle {
  --mx: 0px;
  --my: 0px;
  display: none;
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 2.65rem;
  height: 2.65rem;
  border-radius: var(--r-16);
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-left: auto;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: background 0.2s, border-color 0.2s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  background: #ffffff;
  position: relative;
  transition: transform 0.2s, background 0.25s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-header.is-open .nav-toggle-bars {
  background: transparent;
}
.site-header.is-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}
.site-header.is-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.visually-hidden,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 200;
  top: 1.25rem;
  left: 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--bg-dark);
  color: var(--cream);
  text-decoration: none;
  border-radius: var(--r-12);
  border: var(--line-on-dark);
  clip: auto;
  width: auto;
  height: auto;
}

/* Hero: fuld-bleed foto (z0) – 100vh, starter under fast header (main har ikke top-padding) */
.hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100svh;
  min-height: 100vh;
  color: #e0e0e0;
  overflow: hidden;
  border-bottom: none;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15) inset;
  background: #131110;
}

/* Hero bund: diskret mørk overgang; café kun som svag baggrundstekstur */

.hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  will-change: transform;
  background: #131110;
}

.hero__photo picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.hero__photo-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Lidt zoom + top-tung udsnit så båndet under den faste topbar rammer mørk væg/skygge */
  object-position: 50% 36%;
  transform: scale(1.08);
  transform-origin: 52% 34%;
  will-change: transform;
}

/* Ingen lys/hvid flade hele feltet over – billede + mørk tekstbase bærer kontrasten */
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: transparent;
}

.hero__paths {
  z-index: 2;
}

.hero-grid {
  position: relative;
  z-index: 3;
  min-height: 100dvh;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: min(1120px, 100%);
  margin-inline: auto;
  padding: max(5.5rem, calc(var(--header-h) + env(safe-area-inset-top, 0px) + 2.25rem)) clamp(1.5rem, 3.5vw, 2.5rem) clamp(3.25rem, 6vh, 4.5rem) clamp(1.5rem, 3.2vw, 2.5rem);
  box-sizing: border-box;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: min(38rem, 100%);
  text-align: left;
  margin: 0;
  padding: calc(0.65rem + 15px) clamp(1.15rem, 3.5vw, 2.15rem) 1.35rem 1.35rem;
  box-sizing: border-box;
  will-change: transform;
  isolation: isolate;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.42) 40%, rgba(0, 0, 0, 0.08) 70%, rgba(0, 0, 0, 0) 100%);
  border-radius: 0 0.5rem 0.5rem 0;
}

.hero-content::before {
  content: "";
  position: absolute;
  left: 0.4rem;
  top: 0.65rem;
  bottom: 0.65rem;
  width: 1.5px;
  z-index: 0;
  background: linear-gradient(180deg, #e07a3a 0%, #c86b32 40%, rgba(200, 107, 50, 0.22) 100%);
  border-radius: 1px;
  pointer-events: none;
}

.hero-content > * {
  position: relative;
  z-index: 1;
}

.hero__kicker.hero-kicker,
.hero-kicker {
  position: relative;
  margin: 0 0 1.1rem;
  padding: 0.1rem 0 0.15rem 0;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.hero-title {
  font-size: clamp(2.4rem, 4.1vw, 3.35rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: var(--track-tight);
  margin: 0 0 1.6rem;
  color: #ffffff;
  max-width: none;
  text-wrap: balance;
}

.hero-title-line--primary {
  color: #ffffff;
  font-weight: 600;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.45);
}

.hero-title-line {
  display: block;
}

.hero-title-line + .hero-title-line {
  margin-top: 0.1em;
}

.hero-lead-line {
  display: block;
}

.hero-lead-line + .hero-lead-line {
  margin-top: 0.35em;
}

/* Orange: højere mætning mod mørk base */
.hero-accent {
  display: inline;
  white-space: normal;
  font-weight: 600;
  background: linear-gradient(100deg, #b84812 0%, #e87828 38%, #f59a48 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  max-width: 100%;
  font-size: calc(1.0625rem + 2px);
  line-height: 1.7;
  margin: 0 0 2.2rem;
  color: #e0e0e0;
  font-weight: 450;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.1rem;
  align-items: center;
  margin-top: 0.2rem;
}

/* Orange pil (samme som tidligere ved Bliv medlem) ved Se Advantage Club */
.hero-cta-advantage {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
}

/* Samme drift som den gamle scroll-pil: hop ned + forsvind, loop */
.hero-cta-arrow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
  pointer-events: none;
  user-select: none;
  animation: hero-cta-arrow-drift 2.8s cubic-bezier(0.42, 0, 0.58, 1) infinite;
  will-change: transform, opacity;
}

.hero-cta-arrow__svg {
  display: block;
  width: 1.4rem;
  height: 1.95rem;
  filter: drop-shadow(0 0.5px 0 rgba(255, 200, 160, 0.35)) drop-shadow(0 2px 2px rgba(0, 0, 0, 0.4));
}

@keyframes hero-cta-arrow-drift {
  0% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
  42% {
    transform: translate3d(0, 5px, 0);
    opacity: 0;
  }
  45%,
  58% {
    transform: translate3d(0, 0, 0);
    opacity: 0;
  }
  100% {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

/* Glas-knapper (hero) */
.hero .btn.btn-hero-glass {
  border-radius: var(--r-20);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  transition: all 0.3s ease;
}

.hero .btn.btn-primary.btn-hero-glass {
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  background: linear-gradient(175deg, rgba(240, 170, 125, 0.92) 0%, rgba(220, 125, 70, 0.88) 45%, rgba(200, 95, 45, 0.85) 100%);
  color: #1a0e06 !important;
  box-shadow: 0 10px 32px -10px rgba(200, 100, 45, 0.28), 0 1px 0 rgba(255, 255, 255, 0.5) inset, var(--inset-warm);
  transform: translate3d(var(--mx, 0), var(--my, 0), 0);
}

.hero .btn.btn-primary.btn-hero-glass:hover {
  transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(1.02);
  background: linear-gradient(175deg, rgba(228, 162, 119, 0.92) 0%, rgba(209, 119, 66, 0.88) 45%, rgba(190, 90, 42, 0.85) 100%);
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #100804 !important;
  box-shadow: 0 12px 36px -10px rgba(200, 85, 35, 0.38), 0 1px 0 rgba(255, 255, 255, 0.5) inset, var(--inset-warm);
}

.hero .btn.btn-primary.btn-hero-glass:active {
  transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(0.99);
}

.hero .btn.btn-ghost.btn-hero-glass {
  background: rgba(255, 255, 255, 0.1);
  color: #f2efe9 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 14px 0 rgba(0, 0, 0, 0.2), 0 1px 0 rgba(255, 255, 255, 0.12) inset;
}

.hero .btn.btn-ghost.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 18px 0 rgba(0, 0, 0, 0.25), 0 1px 0 rgba(255, 255, 255, 0.2) inset;
}

.reveal-cta-wrap {
  display: inline-block;
}

.hero__floor-end {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: min(28vh, 12rem);
  min-height: 6.5rem;
  pointer-events: none;
  overflow: hidden;
  isolation: isolate;
}

.hero__floor-end__cafe {
  position: absolute;
  inset: 0;
  background-image: url("images/billede2.png");
  background-image: image-set(url("images/billede2-1280.webp") type("image/webp"), url("images/billede2.png") type("image/png"));
  background-size: cover;
  background-position: 50% 48%;
  transform: scale(1.08);
  filter: blur(18px) saturate(0.9) contrast(0.96) brightness(0.88);
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.2) 35%,
    rgba(0, 0, 0, 0.45) 100%
  );
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.2) 35%, rgba(0, 0, 0, 0.45) 100%);
  opacity: 0.32;
  mix-blend-mode: normal;
}

.hero__floor-end__fade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(19, 17, 16, 0) 0%, rgba(14, 12, 11, 0.55) 50%, rgba(8, 7, 6, 0.88) 100%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 40%, #000 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 40%, #000 100%);
}

@media (prefers-reduced-motion: reduce) {
  .hero .btn.btn-primary.btn-hero-glass:hover,
  .hero .btn.btn-primary.btn-hero-glass:active {
    transform: translate3d(var(--mx, 0), var(--my, 0), 0);
  }
}

@media (max-width: 899px) {
  .hero-content {
    max-width: 100%;
    border-radius: 0 0.4rem 0.4rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .hero__photo {
    will-change: auto;
  }

  .hero__photo-img {
    will-change: auto;
  }

  .hero-cta-arrow {
    animation: none;
    will-change: auto;
  }
}

/* Bro-sektion: samme ambient som cykelsektion (rød tråd) */
.section-bridge__ambient,
.parallax-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(ellipse 88% 65% at 12% 28%, rgba(200, 107, 50, 0.055) 0%, transparent 58%),
    radial-gradient(ellipse 70% 55% at 8% 45%, rgba(0, 0, 0, 0.028) 0%, transparent 52%),
    radial-gradient(ellipse 55% 45% at 96% 30%, rgba(0, 0, 0, 0.025) 0%, transparent 50%);
  pointer-events: none;
  mix-blend-mode: normal;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .section-bridge__ambient,
  .parallax-ambient {
    will-change: auto;
  }
}

/* Find os: samme creme + glow som Butik / værksted (én visuel søjle) */
.section-bridge {
  position: relative;
  z-index: 1;
  background: var(--glow-bike-soft-tl), var(--glow-bike-soft-br), var(--gradient-surface-cream);
  border-top: var(--line-cream-top);
  border-bottom: var(--line-cream-bottom);
  box-shadow: none;
  overflow: visible;
}

.section-bridge--find {
  padding: 0;
  min-height: 0;
}

/* Ingen ekstra top/midte-overlay – matcher section-bike-showcase (billede 2) */
.section-bridge::before,
.section-bridge::after {
  display: none;
}

.section-bridge__split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
}

.section-bridge__copy {
  padding: clamp(4.5rem, 12vh, 8rem) clamp(1.5rem, 5vw, 3.25rem);
  max-width: min(100%, var(--max));
  margin-inline: auto;
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.section-bridge__copy-inner {
  max-width: min(40rem, 100%);
  margin: 0;
  text-align: left;
  padding: 0.5rem 0 0.75rem 1.35rem;
  position: relative;
  isolation: isolate;
}

.section-bridge__copy-inner::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: clamp(0.35rem, 0.6vh, 0.55rem);
  bottom: 0.4rem;
  width: 1.5px;
  z-index: 0;
  background: linear-gradient(180deg, #c86b32 0%, rgba(200, 107, 50, 0.48) 45%, rgba(200, 107, 50, 0.14) 100%);
  border-radius: 1px;
  pointer-events: none;
}

/* Samme kicker-rum som "Butik · værksted" */
.section-bridge__kicker.eyebrow,
.section-bridge__kicker {
  margin: 0 0 1.1rem;
  padding: 0.1rem 0 0.15rem 0;
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.section-bridge__title {
  font-family: var(--font);
  font-size: clamp(2.1rem, 3.6vw, 2.9rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: var(--track-tight);
  margin: 0 0 1.6rem;
  padding: 0 0 0 0;
  color: var(--text);
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  display: flex;
  flex-direction: column;
  gap: 0.12em;
}

.section-bridge__title-line {
  display: block;
}

.section-bridge__accent {
  display: inline;
  margin: 0;
  background: linear-gradient(100deg, #7a3f18 0%, #c86b32 38%, #d67a2e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 600;
}

@media (min-width: 600px) {
  .section-bridge__title .section-bridge__title-line + .section-bridge__title-line .section-bridge__accent {
    margin-top: 0.02em;
  }
}

.section-bridge__lede,
.section-bridge__body {
  font-size: 1.0625rem;
  line-height: 1.75;
  letter-spacing: 0.012em;
  color: var(--text-secondary);
  text-wrap: pretty;
  margin: 0;
  max-width: 38rem;
}

.section-bridge__lede {
  font-size: 1.125rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 1.1rem;
}

.section-bridge__body {
  opacity: 0.96;
}

/* Kort-kolonne */
.section-bridge__map-aside {
  position: relative;
  z-index: 2;
  min-height: 0;
  width: 100%;
}

.section-bridge__map-hover {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 400px;
  width: 100%;
  outline: none;
  padding: clamp(0.5rem, 1.2vw, 0.75rem) clamp(0.75rem, 2.5vw, 1.25rem) clamp(0.5rem, 1.2vw, 0.75rem) 0;
  box-sizing: border-box;
}

/* Kort: ren night-mode-ramme – intet gråt glas-lag, skarp 24px-radius */
.section-bridge__map-glass {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #212121;
  border: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: 0 18px 44px -18px rgba(0, 0, 0, 0.45);
  isolation: isolate;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.5s ease,
    border-color 0.35s ease;
}

.section-bridge__map-glass:hover {
  transform: scale(1.008);
  box-shadow: 0 22px 50px -16px rgba(0, 0, 0, 0.5);
  border-color: rgba(230, 126, 34, 0.25);
}

@media (prefers-reduced-motion: reduce) {
  .section-bridge__map-glass {
    transition: none;
  }

  .section-bridge__map-glass:hover {
    transform: none;
  }
}

.section-bridge__map-glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  mix-blend-mode: normal;
}

.section-bridge__map-inner {
  position: relative;
  flex: 1;
  min-height: 400px;
  overflow: hidden;
  border-radius: inherit;
  z-index: 0;
  background: #212121;
}

/* Ingen filter/opacity på kort – kun Maps JSON i JS. */
.section-bridge__map,
.section-bridge__map-iframe {
  width: 100%;
  height: 100%;
  min-height: 260px;
  border: 0;
  display: block;
  background: #212121;
}

.section-bridge__map--fallback {
  position: relative;
  background: #212121;
  overflow: hidden;
}

/* Skjul Googles øverste sted/CTA-stribe i almindelig embed (ingen API-nøgle) */
.section-bridge__map--fallback .section-bridge__map-iframe {
  margin-top: -4.75rem;
  height: calc(100% + 4.75rem);
  min-height: calc(260px + 4.75rem);
}

/* Pulserende glød under pin (JS API) */
.pedal-map-pulse {
  border-radius: 50%;
  will-change: box-shadow, transform;
  animation: pedal-map-pulse-glow 2.2s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pedal-map-pulse-glow {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(230, 126, 34, 0.45),
      0 0 16px 2px rgba(230, 126, 34, 0.2);
  }
  50% {
    box-shadow:
      0 0 0 10px rgba(230, 126, 34, 0),
      0 0 28px 6px rgba(230, 126, 34, 0.35);
  }
}

@media (prefers-reduced-motion: reduce) {
  .pedal-map-pulse {
    animation: none;
    box-shadow: 0 0 20px 4px rgba(230, 126, 34, 0.25);
  }
}

@media (min-width: 900px) {
  .section-bridge__split {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: stretch;
    min-height: min(88vh, 58rem);
  }

  .section-bridge__copy {
    display: flex;
    align-items: center;
    margin-inline: 0;
    max-width: none;
    padding: clamp(5.25rem, 12vh, 8.5rem) clamp(1.75rem, 3.5vw, 2.75rem) clamp(5.25rem, 12vh, 8.5rem) clamp(2.25rem, 4.5vw, 3.75rem);
  }

  .section-bridge__map-aside {
    min-height: 100%;
  }

  .section-bridge__map-hover {
    min-height: 100%;
    padding: clamp(0.5rem, 1.1vh, 0.9rem) clamp(0.75rem, 1.3vw, 1.1rem) clamp(0.5rem, 1.1vh, 0.9rem) clamp(0.15rem, 0.5vw, 0.4rem);
  }

  .section-bridge__map-glass {
    min-height: 0;
  }

  .section-bridge__map-inner {
    min-height: 0;
    flex: 1;
  }

  .section-bridge__map,
  .section-bridge__map-iframe {
    min-height: 0;
    position: absolute;
    inset: 0;
    height: 100%;
  }
}

.club-content .reveal-cta-wrap {
  display: inline-block;
  margin-top: 0.25rem;
}

.club-content .club-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
  margin-top: 0.25rem;
}

.club-cta-row .btn-club {
  margin-top: 0;
}

.contact-form .reveal-cta-wrap {
  display: block;
  width: fit-content;
  margin-top: 0.25rem;
}

/* Buttons – gradient, indre glød, blød skygge */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--r-16);
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.3s ease,
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn:hover {
  border-color: rgba(15, 15, 15, 0.1);
}

.btn-primary {
  position: relative;
  background: linear-gradient(175deg, #f0a878 0%, #e58542 32%, #d07022 70%, #b85a18 100%);
  color: #140a04 !important;
  border: 1px solid rgba(255, 200, 140, 0.35);
  box-shadow: var(--inset-highlight), var(--inset-warm), var(--inset-depth), var(--shadow-cta);
  --mx: 0px;
  --my: 0px;
  transform: translate3d(var(--mx), var(--my), 0);
}

.btn-primary:hover {
  background: linear-gradient(175deg, #f4b288 0%, #e89252 40%, #d67a28 100%);
  color: #140a04 !important;
  border-color: rgba(255, 220, 180, 0.45);
  box-shadow: var(--inset-highlight), 0 0 24px -6px rgba(255, 180, 120, 0.45), var(--inset-depth), 0 10px 32px -8px rgba(200, 90, 35, 0.35);
  transform: translate3d(var(--mx), var(--my), 0) scale(1.02) translateY(-0.5px);
}

.btn-primary:not(.cta-magnetic):hover {
  transform: scale(1.02) translateY(-0.5px);
}

.btn-primary:not(.cta-magnetic) {
  transform: none;
}

.btn-primary:not(.cta-magnetic):active {
  transform: scale(0.98);
}

.btn-ghost {
  --mx: 0px;
  --my: 0px;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  color: #faf8f2 !important;
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 4px 24px -8px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  transform: translate3d(var(--mx), var(--my), 0);
}

.btn-ghost:hover {
  background: linear-gradient(160deg, rgba(255, 200, 160, 0.18) 0%, rgba(255, 160, 100, 0.08) 100%);
  border-color: rgba(255, 220, 200, 0.45);
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 28px -6px rgba(0, 0, 0, 0.15);
  transform: translate3d(var(--mx), var(--my), 0) scale(1.02) translateY(-0.5px);
}

.btn-ghost:active {
  transform: translate3d(var(--mx), var(--my), 0) scale(0.98);
}

/* Primær CTA: magnet + glow (JS sætter --mx, --my, --glow-x, --glow-y) */
.btn-primary.cta-magnetic {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.btn-primary.cta-magnetic::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    520px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(255, 255, 255, 0.5) 0%,
    rgba(255, 220, 180, 0.18) 35%,
    transparent 60%
  );
  transition: opacity 0.4s ease;
}

.btn-primary.cta-magnetic:hover::before {
  opacity: 1;
}

.btn-primary.cta-magnetic:hover {
  transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(1.02) translateY(-0.5px);
}

.btn-primary.cta-magnetic:active {
  transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(0.98);
}

.brand,
.footer-brand,
.nav-toggle,
.site-nav a:not(.nav-cta) {
  touch-action: manipulation;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s, box-shadow 0.2s, border-color 0.2s, opacity 0.2s;
}

.brand:hover {
  transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(1.02) translateY(-0.5px);
}

.brand:active {
  transform: scale(0.98) translateY(0);
}

.site-nav a:not(.nav-cta):active {
  transform: scale(0.98);
}

.nav-toggle:hover {
  transform: scale(1.02);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.nav-toggle:active {
  transform: scale(0.96);
}

.footer-brand:hover {
  transform: scale(1.02) translateY(-0.5px);
}

.footer-brand:active {
  transform: scale(0.98);
}

.contact-links a {
  display: inline-block;
  touch-action: manipulation;
}

.contact-links a:hover {
  transform: translateY(-0.5px);
}

.contact-links a:active {
  transform: scale(0.98);
}

/* Sections */
.section {
  padding: var(--space-section-y) 0;
}

.section-title {
  font-size: clamp(1.75rem, 2.4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: var(--track-title);
  line-height: 1.12;
  margin: 0 0 0.75rem;
  color: var(--text);
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .section-head {
    margin-bottom: 3.5rem;
  }
}

.section-sub {
  color: var(--text-secondary);
  margin: 0.5rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 38rem;
  letter-spacing: 0.01em;
}

.intro-lead {
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--text);
  max-width: 40rem;
  margin: 0;
  letter-spacing: 0.01em;
}

/* Café & fællesskab – fuld sektion, hero-lignende (billede2 som baggrund) */
.community-hero {
  position: relative;
  /* Samme "fuld skærm"-følelse som .hero (tidligere 80vh føltes lille) */
  min-height: min(96vh, 1100px);
  max-height: none;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #f7f3eb;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  /* Bunden tones mod næste sektion (f.eks. Advantage / kontakt) */
  border-bottom: none;
}

.community-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(4.25rem, 12vh, 8rem);
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(240, 240, 238, 0.14) 28%,
    rgba(240, 240, 238, 0.5) 65%,
    var(--surface-cream-100) 100%
  );
}

.community-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #0e0c0a;
  will-change: transform;
}

.community-bg > picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

.community-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% 42%;
  display: block;
}

.community-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(2, 2, 1, 0.8) 0%,
    rgba(4, 3, 2, 0.55) 32%,
    rgba(6, 5, 4, 0.28) 55%,
    rgba(0, 0, 0, 0.1) 78%,
    rgba(0, 0, 0, 0.04) 100%
  );
}

.community-scrim::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, transparent 30%, rgba(0, 0, 0, 0.14) 100%);
  opacity: 0.6;
}

.community-grid {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  padding: clamp(5.5rem, 14vh, 8.5rem) clamp(1.25rem, 3.5vw, 2.25rem) clamp(4.5rem, 10vh, 6.5rem) clamp(1.5rem, 3.5vw, 2.5rem);
  box-sizing: border-box;
}

.community-content {
  width: 100%;
  max-width: 100%;
  text-align: left;
  margin: 0;
  padding: clamp(0.2rem, 1vw, 0.8rem) 0 0 0;
  box-sizing: border-box;
}

@media (min-width: 600px) {
  .community-content {
    max-width: min(42rem, 60vw, 100%);
  }
}

.community-kicker {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 1.5rem;
  color: rgba(255, 220, 195, 0.82);
}

.community-hero-title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: var(--track-title);
  margin: 0 0 1.25rem;
  color: #faf8f2;
  text-wrap: balance;
  max-width: none;
}

.community-hero .community-lead {
  margin: 0;
  max-width: 100%;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(250, 248, 240, 0.88);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.community-hero .community-line {
  display: block;
}

.community-hero .community-line + .community-line {
  margin-top: 0.45em;
}

@media (max-width: 640px) {
  .community-bg-img {
    object-position: 45% 38%;
  }

  .community-scrim {
    background: linear-gradient(
      105deg,
      rgba(1, 1, 0, 0.86) 0%,
      rgba(5, 4, 3, 0.58) 45%,
      rgba(0, 0, 0, 0.2) 100%
    );
  }

  .community-content {
    max-width: 100%;
  }
}

/* Brand showcase – venstre tekst, højre billeder (samme lyse, neutrale sektion) */
/* Over parallax-plet (0), ellers dækker den løve strålerne. Under indhold (bleed ≥2). */
#canvas-container,
#bridge-canvas-container,
.bike-showcase-canvas,
.section-bridge__paths {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  contain: layout style paint;
}

/* Hero: paths over foto, under mørk tekstbase (foto z0) */
#hero-canvas-container {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
  contain: layout style paint;
}

#hero-canvas-container .bike-showcase-paths__svg,
#canvas-container .bike-showcase-paths__svg,
#bridge-canvas-container .bike-showcase-paths__svg,
#contact-canvas-container .bike-showcase-paths__svg {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  overflow: visible;
}

#hero-canvas-container .bike-showcase-paths__curve,
#canvas-container .bike-showcase-paths__curve,
#bridge-canvas-container .bike-showcase-paths__curve,
#contact-canvas-container .bike-showcase-paths__curve {
  fill: none;
  vector-effect: non-scaling-stroke;
}

/* Hero + kontakt: hvide streger. Bro + butik: samme creme, hvide bevægede streger. */
#hero-canvas-container .bike-showcase-paths__curve,
#canvas-container .bike-showcase-paths__curve,
#bridge-canvas-container .bike-showcase-paths__curve,
#contact-canvas-container .bike-showcase-paths__curve {
  stroke: rgb(255, 255, 255) !important;
}

#hero-canvas-container[data-reduced] .bike-showcase-paths__curve,
#canvas-container[data-reduced] .bike-showcase-paths__curve,
#bridge-canvas-container[data-reduced] .bike-showcase-paths__curve,
#contact-canvas-container[data-reduced] .bike-showcase-paths__curve {
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  #hero-canvas-container .bike-showcase-paths__curve,
  #canvas-container .bike-showcase-paths__curve,
  #bridge-canvas-container .bike-showcase-paths__curve,
  #contact-canvas-container .bike-showcase-paths__curve {
    animation: none;
  }
}

.section-bike-showcase {
  position: relative;
  overflow: visible;
  min-height: 100vh;
  background: var(--glow-bike-soft-tl), var(--glow-bike-soft-br), var(--gradient-surface-cream);
  border-top: var(--line-cream-top);
  border-bottom: var(--line-cream-bottom);
  box-shadow: none;
  padding: 0;
}

/* Three.js DottedSurface: mellem fuld højde og “kun bund” – start ~1/3 nede, tydelig uden at dække overskrift */
#dotted-surface-container.bike-showcase__dotted-surface {
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  contain: layout style paint;
}

/* Find os → Butik: skillebånd (ingen dobbel border, farver møder fladt) */
.section-bridge:has(+ .section-bike-showcase) {
  border-bottom: none;
}

.section-bridge + .section-bike-showcase {
  border-top: none;
  box-shadow: none;
}

/* Samme flade som bro – intet skillebånd; baggrund fortsætter visuelt */
.section-bridge + .section-bike-showcase::before {
  display: none;
}

.bike-showcase-bleed {
  position: relative;
  z-index: 2;
  overflow: visible;
  min-height: 100vh;
  padding: 0;
  box-sizing: border-box;
}

/* Koordinatfelt: 100vh, absolut venstre/centrum/højre (ikke grid – undgå kollaps) */
.bike-showcase__wrap {
  position: relative;
  width: 100%;
  max-width: min(1120px, 100%);
  min-height: 100vh;
  height: auto;
  overflow: visible;
  box-sizing: border-box;
  container-type: inline-size;
  container-name: bike-showcase;
}

.bike-showcase__layout {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: visible;
  isolation: isolate;
}

/* S-kurve (orange) – animeret streg, bagved indhold, z:1 i denne sektion */
.bike-showcase__line-wrap {
  position: absolute;
  top: 4%;
  left: -2%;
  right: -8%;
  height: 58%;
  min-height: 10rem;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
  opacity: 1;
}

.bike-showcase__line-svg {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 12rem;
}

#bike-showcase-line {
  fill: none;
  stroke: var(--orange);
  stroke-opacity: 0.64;
  stroke-width: 1.65;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}

@media (max-width: 480px) {
  .bike-showcase__line-wrap {
    display: none;
  }
}

/* Venstre: maks. ind mod kant + smallere spalte → reelt hul til cykel (ikke <50px) */
.bike-showcase__text-column {
  position: absolute;
  left: 0.5rem;
  top: 20%;
  z-index: 10;
  max-width: 400px;
  width: min(100% - 1.25rem, 400px);
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding-top: 0;
  overflow: visible;
  box-sizing: border-box;
}

.bike-showcase__text-column::before {
  content: "";
  position: absolute;
  left: 0.15rem;
  top: clamp(0.35rem, 0.5vh, 0.5rem);
  bottom: 0.35rem;
  width: 1.5px;
  z-index: 0;
  background: linear-gradient(
    180deg,
    #c86b32 0%,
    rgba(200, 107, 50, 0.52) 38%,
    rgba(200, 107, 50, 0.18) 100%
  );
  border-radius: 1px;
  pointer-events: none;
}

/* Bro-cykel: hero-bike-atelier – kompakt; anker 25% (centrum via translate) */
.bike-showcase__roll {
  position: absolute;
  left: 23%;
  top: 2.5%;
  z-index: 50;
  width: 340px;
  max-width: min(340px, 38vw);
  min-height: 0;
  margin: 0;
  padding: 0;
  pointer-events: none;
  overflow: visible;
  transform: translate(-50%, -50%) scale(0.85);
  transform-origin: center center;
}

.bike-showcase__roll-inner {
  display: block;
  width: 100%;
}

.bike-showcase__roll-inner picture {
  display: block;
  width: 100%;
}

.bike-showcase__roll-img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.1));
  pointer-events: none;
}

.bike-showcase__kicker {
  position: relative;
  max-width: 100%;
  margin: 0 0 0.9rem;
  padding: 0.1rem 0 0.15rem 1.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.45);
}

.bike-showcase__kicker-sep {
  color: inherit;
  font-weight: 500;
  padding: 0 0.1em;
}

.bike-showcase__headline {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0 0 1.35rem;
  padding: 0 0 0 1.35rem;
  max-width: 100%;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.55);
}

.bike-showcase__headline::after {
  content: "";
  display: block;
  width: min(3.25rem, 16vw);
  height: 1.5px;
  margin-top: 0.9rem;
  background: linear-gradient(90deg, #c86b32 0%, rgba(200, 107, 50, 0.22) 100%);
  border-radius: 1px;
}

.bike-showcase__headline-line {
  display: block;
  font-family: var(--font);
  font-size: clamp(1.6rem, 2.6vw, 2.05rem);
  font-weight: 500;
  letter-spacing: var(--track-title);
  line-height: 1.12;
  color: var(--text-secondary);
  font-synthesis: none;
}

.bike-showcase__headline-line--emph {
  font-size: clamp(1.9rem, 3.1vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  color: var(--text);
}

.bike-showcase__body {
  position: relative;
  margin: 0.25rem 0 0;
  max-width: 100%;
  font-size: 0.98rem;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.015em;
  color: var(--text-secondary);
  text-wrap: pretty;
  padding: 0.15rem 0 0.5rem 1.35rem;
  text-shadow:
    0 0 0.6em rgba(247, 247, 245, 0.88),
    0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Højre: smallere = større mellemrum + ansigt tættere på højre (cykel i venstre “del” af fri bane) */
.bike-showcase__scene {
  position: absolute;
  right: 0;
  top: 11%;
  bottom: 11%;
  width: 46%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  max-width: none;
  margin: 0;
  align-self: auto;
}

.bike-showcase__layer--full {
  position: relative;
  z-index: 1;
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.bike-showcase-parallax {
  flex: 1 1 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {
  .bike-showcase-parallax {
    will-change: auto;
  }
}

.bike-showcase__frame {
  position: relative;
  flex: 1 1 0;
  min-height: 7.5rem;
  max-height: min(68vh, 42rem);
  border-radius: var(--r-16);
  overflow: hidden;
  background: #0a0b0a;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.bike-showcase__frame picture,
.bike-showcase__frame > .bike-showcase__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

/* Venstrefade: meget kort så motiveret fylde ses; repep: ansigt tættere på i crop */
.bike-showcase__frame--primary {
  box-shadow: 0 20px 48px -20px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(15, 15, 15, 0.08);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 2.5%, black 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 2.5%, black 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.bike-showcase__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
  display: block;
}

.bike-showcase__frame--primary .bike-showcase__img {
  object-position: 32% 38%;
}

@media (max-width: 719px) {
  .section-bike-showcase {
    min-height: 0;
  }

  .bike-showcase-bleed {
    min-height: 0;
    padding: clamp(1.5rem, 4vh, 2.5rem) 0;
  }

  .bike-showcase__wrap {
    min-height: 0;
    overflow: visible;
  }

  .bike-showcase__layout {
    display: flex;
    flex-direction: column;
    gap: 1.25rem 0;
    min-height: 0;
  }

  .bike-showcase__text-column {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
    padding: 0.5rem 0.25rem 0;
    z-index: 10;
  }

  .bike-showcase__line-wrap {
    position: absolute;
    top: 2%;
    height: 40%;
    min-height: 6rem;
    left: 0;
    right: 0;
    z-index: 1;
  }

  .bike-showcase__roll {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    order: -1;
    width: min(100%, 17.5rem);
    max-width: min(17.5rem, 88vw);
    margin: 0 auto 0.35rem;
    z-index: 50;
    transform: scale(0.95);
    transform-origin: center center;
  }

  .bike-showcase__roll-img {
    object-position: 30% 50%;
    filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.1));
  }

  .bike-showcase__body {
    text-shadow: none;
    max-width: none;
  }

  .bike-showcase__scene {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    min-height: min(72vw, 28rem);
    max-width: 100%;
    z-index: 10;
  }

  .bike-showcase__frame {
    min-height: min(56vw, 22rem);
    max-height: none;
  }

  .bike-showcase__frame--primary .bike-showcase__img {
    object-position: 50% 42%;
  }

  .bike-showcase__frame--primary {
    -webkit-mask-image: none;
    mask-image: none;
  }
}


@media (hover: hover) and (pointer: fine) {
  .bike-showcase__frame:hover {
    transform: scale(1.02);
  }
}

/* Advantage – WebP (image-set) + PNG-fallback + mørk lag */
.section-club {
  position: relative;
  color: #e8e4dc;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  min-height: min(50vh, 36rem);
  padding: clamp(2.5rem, 5.5vh, 4rem) 0;
  display: flex;
  align-items: center;
  box-sizing: border-box;
  background-color: #0a0908;
  background-image: linear-gradient(
      180deg,
      rgba(3, 2, 2, 0.72) 0%,
      rgba(5, 4, 3, 0.58) 45%,
      rgba(2, 2, 1, 0.75) 100%
    ),
    url("images/billede4.png");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  background-image: linear-gradient(
      180deg,
      rgba(3, 2, 2, 0.72) 0%,
      rgba(5, 4, 3, 0.58) 45%,
      rgba(2, 2, 1, 0.75) 100%
    ),
    image-set(
      url("images/billede4.webp") type("image/webp") 1x,
      url("images/billede4.png") 1x
    );
}

/* Efter community-hero: undgå dobbelt topkant mod den mørke flade */
.community-hero + .section.section-club {
  border-top: none;
}

.section-club .wrap {
  width: 100%;
}

.club-shell {
  max-width: min(32rem, 100%);
  /* Lidt luft mod højre kant så kortet ikke klistrer helt yderst */
  margin: 0 clamp(0.75rem, 1.75vw, 1.25rem) 0 auto;
  padding: clamp(1.5rem, 3.5vw, 2.25rem);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-24);
  background: linear-gradient(168deg, rgba(40, 38, 35, 0.88) 0%, rgba(18, 17, 15, 0.92) 100%);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: var(--shadow-ambient), 0 0 0 1px rgba(0, 0, 0, 0.35) inset, inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.club-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.club-title {
  font-size: clamp(1.35rem, 1.85vw, 1.65rem);
  font-weight: 600;
  letter-spacing: var(--track-title);
  color: #e0c4a0;
  margin: 0 0 0.4rem;
}

.club-sub {
  margin: 0 0 1.2rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9375rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
  max-width: 28rem;
}

.club-line {
  display: block;
}

.club-line + .club-line {
  margin-top: 0.4em;
}

.club-price-block {
  width: 100%;
  margin: 1.1rem 0 1.2rem;
  padding-top: 1.1rem;
  border-top: var(--line-on-dark);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.price-line {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.price-line--intro {
  padding-top: 0.75rem;
  border-top: var(--line-on-dark-soft);
}

.price-label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  margin-bottom: 0.25rem;
}

.price-value {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #d9a574;
  line-height: 1.2;
  font-feature-settings: "tnum" on;
}

.price-note {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.club-perks {
  margin: 0 0 1.35rem;
  padding: 0;
  list-style: none;
  color: rgba(255, 255, 255, 0.78);
  max-width: 28rem;
}

.club-perks li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.45rem;
  font-size: 0.875rem;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.club-perks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(210, 140, 88, 0.85);
}

.btn-club {
  --mx: 0px;
  --my: 0px;
  position: relative;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
  color: #f0ebe3 !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--r-16);
  min-width: 10.5rem;
  margin-top: 0.25rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 6px 24px -10px rgba(0, 0, 0, 0.35);
  transform: translate3d(var(--mx), var(--my), 0);
  touch-action: manipulation;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s, border-color 0.25s, color 0.2s, box-shadow 0.3s;
}

.btn-club:hover {
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.2) 0%, rgba(0, 0, 0, 0.04) 100%);
  border-color: rgba(255, 220, 200, 0.35);
  color: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 8px 28px -8px rgba(0, 0, 0, 0.3);
  transform: translate3d(var(--mx), var(--my), 0) scale(1.02) translateY(-0.5px);
}

.btn-club:not(.cta-magnetic) {
  transform: none;
}

.btn-club:not(.cta-magnetic):hover {
  transform: scale(1.02) translateY(-0.5px);
}

.btn-club:not(.cta-magnetic):active {
  transform: scale(0.98);
}

.btn-club.cta-magnetic {
  isolation: isolate;
  overflow: hidden;
}

.btn-club.cta-magnetic::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    480px circle at var(--glow-x, 50%) var(--glow-y, 50%),
    rgba(255, 255, 255, 0.22) 0%,
    rgba(255, 180, 120, 0.12) 38%,
    transparent 60%
  );
  transition: opacity 0.45s ease;
}

.btn-club.cta-magnetic:hover::before {
  opacity: 1;
}

.btn-club.cta-magnetic:active {
  transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(0.98);
}

/* Contact – mørk editorial, hero-lignende bund + grain + glasformular */
.section-contact {
  --contact-bg: #131110;
  --contact-surface: rgba(19, 17, 16, 0.97);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.88);
  background: var(--contact-bg);
  background-image: radial-gradient(ellipse 90% 55% at 8% 0%, rgba(200, 95, 45, 0.09) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 95% 100%, rgba(0, 0, 0, 0.45) 0%, transparent 55%),
    linear-gradient(180deg, #141210 0%, #0e0d0b 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* Subtil papir/metal-korn (feTurbulence) */
.section-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.2;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.78' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' fill='%23fff'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}

.section-contact .parallax-ambient {
  z-index: 0;
  opacity: 0.35;
  background: radial-gradient(ellipse 88% 65% at 10% 18%, rgba(200, 107, 50, 0.06) 0%, transparent 55%),
    radial-gradient(ellipse 70% 50% at 90% 88%, rgba(0, 0, 0, 0.25) 0%, transparent 55%);
  mix-blend-mode: screen;
}

.section-contact > .wrap {
  position: relative;
  z-index: 2;
}

@media (min-width: 720px) {
  .section-contact {
    min-height: min(76vh, 58rem);
  }
}

.section-contact .section-title,
.section-contact h2#contact-title {
  font-weight: 600;
  letter-spacing: var(--track-tight);
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.section-contact .intro-lead,
.section-contact .contact-line {
  color: rgba(255, 255, 255, 0.72);
}

.section-contact .address {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9375rem;
}

.section-contact .address strong {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

.contact-line {
  display: block;
}

.contact-line + .contact-line {
  margin-top: 0.4em;
}

.section-contact a {
  color: #e89855;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid rgba(232, 152, 85, 0.4);
  transition: color 0.2s, border-color 0.2s;
}

.section-contact a:hover {
  color: #f0b07a;
  border-bottom-color: rgba(255, 200, 150, 0.55);
}

.contact-grid {
  row-gap: clamp(3.25rem, 7vw, 4.5rem);
  column-gap: clamp(1.5rem, 2.2vw, 2rem);
  align-items: start;
}

/* Tæt 2-kol: tekst 1–5, form 6–12 (ingen tom kolonne, mindre hul i midten) */
@media (min-width: 1024px) {
  .contact-grid .contact-form {
    grid-column: 6 / -1;
  }
}

.address,
.contact-links {
  font-style: normal;
  line-height: 1.75;
  margin: 1.5rem 0 0;
  letter-spacing: 0.01em;
}

.section-contact .contact-links {
  color: rgba(255, 255, 255, 0.6);
}

/* Glass – ét lag, uden roterende kant */
.contact-form {
  --card-r: var(--r-20);
  position: relative;
  z-index: 0;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 2.25rem 1.9rem 2.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--card-r);
  background: rgba(255, 255, 255, 0.03);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  backdrop-filter: blur(20px) saturate(1.15);
  color: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 48px -20px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.contact-form::before,
.contact-form::after {
  display: none;
}

.contact-form > * {
  position: relative;
  z-index: 1;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Floating labels (input før label-tekst) */
.contact-form .form-field--float {
  display: block;
  position: relative;
  margin: 0 0 1.15rem;
  padding: 0;
  gap: 0;
}

.contact-form .form-field__text {
  position: absolute;
  left: 0;
  top: 1.05rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: rgba(255, 255, 255, 0.48);
  transform-origin: 0 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), top 0.28s cubic-bezier(0.22, 1, 0.36, 1), color 0.2s,
    font-size 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-form .form-field--float:focus-within .form-field__text,
.contact-form .form-field--float .form-field__control:focus + .form-field__text,
.contact-form .form-field--float .form-field__control:not(:placeholder-shown) + .form-field__text {
  top: 0;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  transform: translate3d(0, 0, 0) scale(0.95);
}

.contact-form .form-field--textarea .form-field__text {
  top: 1.1rem;
}

.contact-form .form-field--textarea:focus-within .form-field__text,
.contact-form .form-field--textarea .form-field__control:focus + .form-field__text,
.contact-form .form-field--textarea .form-field__control:not(:placeholder-shown) + .form-field__text {
  top: 0.15rem;
  transform: translate3d(0, 0, 0) scale(0.95);
}

.contact-form .form-field__control {
  font: inherit;
  margin: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: block;
  padding: 1.1rem 0 0.65rem;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.18);
  color: #f2f0ec;
  letter-spacing: 0.02em;
  box-shadow: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .form-field__control::placeholder {
  color: transparent;
}

.contact-form .form-field--textarea .form-field__control {
  min-height: 6.25rem;
  padding-top: 1.4rem;
  padding-bottom: 0.5rem;
  resize: vertical;
  line-height: 1.5;
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.contact-form .form-field__hint {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.32);
  font-weight: 450;
}

.contact-form .form-field__control:hover {
  border-bottom-color: rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.24);
}

.contact-form .form-field__control:focus {
  outline: none;
  border-bottom-color: #e87828;
  background: rgba(0, 0, 0, 0.28);
  box-shadow: 0 1px 0 0 #e87828;
}

.contact-form .form-field__control:-webkit-autofill,
.contact-form .form-field__control:-webkit-autofill:hover,
.contact-form .form-field__control:-webkit-autofill:focus {
  -webkit-text-fill-color: #f2f0ec;
  caret-color: #f2f0ec;
  box-shadow: 0 0 0 1000px rgba(22, 20, 19, 0.95) inset, 0 1px 0 0 #e87828;
  border-bottom-color: #e87828;
  transition: background-color 99999s ease-out 0s;
}

/* Send – puls + kraftigere glød og scale ved hover (magnet via --mx/--my) */
.contact-form__submit-wrap {
  margin-top: 0.35rem;
  padding-top: 0.25rem;
}

.contact-form__submit {
  --pulse-glow: 0 0 14px 0 rgba(255, 130, 60, 0.28);
  box-shadow: var(--inset-highlight), var(--inset-warm), var(--inset-depth), var(--shadow-cta), var(--pulse-glow) !important;
  animation: contact-btn-pulse 2.1s ease-in-out infinite;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
  animation: none;
  --pulse-glow: 0 0 24px 4px rgba(255, 130, 60, 0.48);
  transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(1.03) !important;
  box-shadow: var(--inset-highlight), 0 0 32px 6px rgba(255, 150, 80, 0.42), var(--inset-depth), 0 12px 40px -8px rgba(200, 75, 25, 0.45) !important;
}

.contact-form__submit:hover::before,
.contact-form__submit:focus-visible::before {
  opacity: 1;
}

.contact-form__submit:active {
  transform: translate3d(var(--mx, 0), var(--my, 0), 0) scale(0.99) !important;
}

@keyframes contact-btn-pulse {
  0%,
  100% {
    box-shadow: var(--inset-highlight), var(--inset-warm), var(--inset-depth), var(--shadow-cta), 0 0 10px 0 rgba(255, 120, 50, 0.22);
  }
  50% {
    box-shadow: var(--inset-highlight), var(--inset-warm), var(--inset-depth), var(--shadow-cta), 0 0 20px 2px rgba(255, 130, 55, 0.38);
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact-form__submit {
    animation: none;
  }
}

/* Success (efter indsend) */
.contact-form--sent .contact-form__fields {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  white-space: nowrap;
  pointer-events: none;
}

.contact-form--sent {
  min-height: 9rem;
}

.contact-form__success[hidden] {
  display: none !important;
}

.contact-form--sent .contact-form__success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 1rem;
  padding: 1.5rem 0.5rem 1.25rem;
  animation: contact-success-in 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes contact-success-in {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.contact-form__check-wrap {
  color: #e87828;
  line-height: 0;
}

.contact-form__check {
  width: 2.75rem;
  height: 2.75rem;
  display: block;
}

.contact-form__check-path {
  stroke: currentColor;
  stroke-dasharray: 40;
  stroke-dashoffset: 40;
}

.contact-form--sent-anim .contact-form__check-path {
  animation: contact-check-draw 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}

@keyframes contact-check-draw {
  to {
    stroke-dashoffset: 0;
  }
}

.contact-form__success-msg {
  margin: 0;
  max-width: 20rem;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.92);
}

@media (prefers-reduced-motion: reduce) {
  .contact-form--sent-anim .contact-form__check-path {
    animation: none;
    stroke-dashoffset: 0;
  }
  .contact-form--sent .contact-form__success {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Footer */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255, 255, 255, 0.38);
  padding: 2rem 0;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  border-top: var(--line-on-dark);
}

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

.footer-inner a {
  --mx: 0px;
  --my: 0px;
  transform: translate3d(var(--mx), var(--my), 0);
  transition: color 0.2s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s;
}

.footer-brand {
  --mx: 0px;
  --my: 0px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  letter-spacing: -0.01em;
  transform: translate3d(var(--mx), var(--my), 0);
  display: inline-block;
  transition: color 0.2s, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.footer-brand:hover {
  color: #d4a88a;
  text-decoration: none;
}

.footer-copy {
  margin: 0;
}

/* Mobile nav */
@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(20rem, 100vw - 1.5rem);
    background: linear-gradient(195deg, rgba(255, 255, 255, 0.98) 0%, rgba(246, 246, 245, 0.98) 100%);
    backdrop-filter: blur(0) saturate(1);
    -webkit-backdrop-filter: blur(0) saturate(1);
    flex-direction: column;
    align-items: stretch;
    padding: max(5.25rem, calc(0.75rem + env(safe-area-inset-top, 0px))) 1.5rem max(2rem, env(safe-area-inset-bottom, 0px));
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1),
      -webkit-backdrop-filter 0.5s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
    border: 1px solid rgba(15, 15, 15, 0.08);
    border-right: 0;
    border-top-left-radius: var(--r-20);
    border-bottom-left-radius: var(--r-20);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.12);
  }

  .site-header.is-open .site-nav {
    transform: translateX(0);
    backdrop-filter: blur(20px) saturate(1.2);
    -webkit-backdrop-filter: blur(20px) saturate(1.2);
  }

  .site-nav__main {
    position: static;
    transform: none;
    left: auto;
    top: auto;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0;
    padding: 0;
    gap: 0;
  }

  .site-nav a {
    color: var(--text-secondary);
    width: 100%;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(15, 15, 15, 0.08);
  }

  .site-header .site-nav a:not(.nav-cta) {
    color: var(--text-secondary);
    font-weight: 500;
  }

  .site-header .site-nav a:not(.nav-cta):hover {
    color: var(--text);
    opacity: 1;
  }

  .site-nav a:not(.nav-cta)::after {
    display: none;
  }

  .site-nav a:hover {
    color: var(--text);
  }

  .nav-cta {
    margin-top: 1rem;
    text-align: center;
    width: 100% !important;
  }

  .site-header {
    z-index: 150;
  }
}

/* Reset lg spans on small screens: default span-12 already full width; lg classes only apply 1024+ */
@media (max-width: 1023px) {
  .span-lg-5,
  .span-lg-6,
  .start-lg-7 {
    grid-column: 1 / -1;
  }
}

/* Mindre glas-effekt hvis brugeren beder om reduceret gennemsigtighed */
@media (prefers-reduced-transparency: reduce) {
  .site-header,
  .contact-form,
  .club-shell,
  .btn-ghost,
  .site-nav {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header {
    background: #252322;
  }
  .site-header.is-scrolled {
    background: #2d2c2a;
  }
  .contact-form {
    background: #1a1917;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
  .club-shell {
    background: var(--bg-dark-elevated);
  }
  .btn-ghost {
    background: rgba(0, 0, 0, 0.2);
  }
  .site-nav {
    background: #f8f8f7;
  }
}

/* Mindre bevægelse: kortere overgange (JS magnet køres ikke) */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .btn-primary,
  .btn-ghost,
  .nav-cta,
  .btn-club,
  .brand,
  .nav-toggle,
  .site-nav a:not(.nav-cta),
  .footer-brand,
  .section-contact a {
    transition-duration: 0.12s;
  }
  .btn-primary.cta-magnetic::before,
  .nav-cta.cta-magnetic::before,
  .btn-club.cta-magnetic::before {
    transition-duration: 0.12s;
  }
  .footer-inner a {
    transition-duration: 0.12s;
  }
}

/* —— Mobil (telefon): touch, læsbarhed, ingen vandret scroll —— */
@media (max-width: 720px) {
  body {
    overflow-x: hidden;
  }

  .wrap {
    width: min(100% - 1.5rem, var(--max));
  }

  .header-inner {
    height: auto;
    min-height: var(--header-h);
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }

  .nav-toggle {
    width: 2.4rem;
    height: 2.4rem;
  }

  .btn,
  .btn-primary,
  .btn-ghost,
  .btn-club {
    min-height: 2.75rem;
  }

  .nav-cta {
    min-height: 2.6rem;
  }

  .site-header .nav-cta {
    min-height: 2.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .contact-form .form-field__control {
    font-size: 1rem;
    line-height: 1.45;
  }

  .hero-grid {
    padding-top: max(4.25rem, env(safe-area-inset-top, 0px));
    padding-left: max(0.75rem, env(safe-area-inset-left, 0px));
    padding-right: max(0.75rem, env(safe-area-inset-right, 0px));
  }

  .hero__photo-img {
    object-position: 58% 38%;
    transform: scale(1.1);
    transform-origin: 55% 36%;
  }

  .hero-content {
    max-width: min(100%, 24rem);
    padding-right: 1.1rem;
  }

  .hero-title {
    font-size: clamp(1.7rem, 6.2vw, 2.6rem);
  }

  .hero-lead {
    font-size: calc(1rem + 2px);
    line-height: 1.65;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 22rem;
  }

  .hero .btn.btn-hero-glass {
    width: 100%;
    justify-content: center;
  }

  .section-bridge__title {
    font-size: clamp(1.45rem, 4.6vw, 2.1rem);
  }

  .section-bridge__accent {
    display: block;
    overflow-wrap: anywhere;
    word-break: break-word;
    hyphens: auto;
  }

  .community-hero {
    min-height: min(78dvh, 34rem);
    padding: clamp(2.5rem, 8vh, 3.5rem) 0;
  }

  .community-hero-title {
    font-size: clamp(1.55rem, 5.2vw, 2.15rem);
  }

  .community-hero .community-lead {
    font-size: 1rem;
  }

  .section-club {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .club-content {
    max-width: 100%;
  }

  .section-contact {
    padding-top: 1rem;
  }

  .site-footer {
    padding-bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 480px) {
  .header-inner {
    min-height: var(--header-h);
  }

  .hero-title {
    font-size: clamp(1.55rem, 6.5vw, 2.25rem);
  }

  .hero-content {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .hero-content::before {
    left: 0.3rem;
  }

  .hero__floor-end {
    min-height: 5.5rem;
    height: min(24vh, 9.5rem);
  }

  .section-bridge__title {
    font-size: clamp(1.3rem, 4.5vw, 1.9rem);
  }
}

