/* ============================================
   Cykelvagten — redesign i rideout.amsterdam-stil
   Tokens er aflæst direkte fra rideout.amsterdam:
   baggrund #e9ecee, tekst #17161c, header-højde 50px,
   input-radius 0.5rem, gennemgående lette skrifttyper
   med stram tracking og sorte pille-knapper.
   Skrifttypen "Plain" som rideout bruger er en betalt,
   licenseret font — her erstattet af Inter Tight, som
   har samme lette, geometriske udtryk.
   ============================================ */

:root {
  --bg: #e9ecee;
  --bg-soft: #f2f3f2;
  --ink: #17161c;
  --ink-soft: rgba(23,22,28,0.68);
  --pill-bg: #111111;
  --pill-text: #e9ecee;
  --line: rgba(23,22,28,0.12);
  --accent: #ff6a1a;
  --radius: 0.5rem;
  --header-height: 3.75rem;
  --font-head: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --container: 1180px;
  --pad-inline: max(1.25rem, 4vw);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  /* Warm/cool glows placed at several heights (not just the top) so
     the atmospheric tint stays visible all the way down a long page,
     alternating sides like rideout.amsterdam's page-wide gradient. */
  background:
    radial-gradient(60% 34% at 8% 0%, rgba(255,150,40,0.55) 0%, rgba(255,150,40,0.22) 40%, rgba(255,150,40,0) 72%),
    radial-gradient(55% 32% at 94% 5%, rgba(150,180,190,0.34) 0%, rgba(150,180,190,0) 65%),
    radial-gradient(52% 30% at 6% 30%, rgba(255,150,40,0.30) 0%, rgba(255,150,40,0) 70%),
    radial-gradient(52% 30% at 96% 44%, rgba(150,180,190,0.28) 0%, rgba(150,180,190,0) 70%),
    radial-gradient(55% 30% at 8% 62%, rgba(255,150,40,0.26) 0%, rgba(255,150,40,0) 70%),
    radial-gradient(55% 28% at 95% 74%, rgba(150,180,190,0.26) 0%, rgba(150,180,190,0) 70%),
    radial-gradient(58% 30% at 10% 92%, rgba(255,150,40,0.24) 0%, rgba(255,150,40,0) 72%),
    radial-gradient(55% 26% at 92% 100%, rgba(150,180,190,0.22) 0%, rgba(150,180,190,0) 72%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-head);
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.02em;
}

p { margin: 0; line-height: 1.6; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.section-head { max-width: 640px; margin: 0 auto 44px; padding: 0 var(--pad-inline); text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 400; letter-spacing: -0.02em; }
.section-note { margin-top: 14px; font-size: 0.95rem; }

/* ---------- Pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: opacity 0.18s ease, background 0.18s ease;
}
.pill-dark { background: var(--pill-bg); color: var(--pill-text); }
.pill-dark:hover { opacity: 0.82; }
.pill-light { background: var(--bg); color: var(--ink); }
.pill-light:hover { opacity: 0.82; }
.pill-block { width: 100%; justify-content: center; border: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: var(--pill-bg);
  color: var(--pill-text);
}
body { padding-top: var(--header-height); }
.header-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-inline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.22em;
}
.menu-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  color: inherit;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  padding: 8px 0;
}

/* ---------- Fullscreen menu overlay ---------- */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--pill-bg);
  color: var(--pill-text);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px var(--pad-inline);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.28s ease, transform 0.28s ease, visibility 0.28s;
}
.menu-overlay.open { opacity: 1; visibility: visible; transform: translateY(0); }
.menu-overlay-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.menu-overlay-nav a {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 7vw, 3.6rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--pill-text);
}
.menu-overlay-nav a:hover { color: var(--accent); }
.menu-overlay-footer {
  margin-top: 56px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: rgba(233,236,238,0.7);
}

/* ---------- Hero ---------- */
/* .hero-stack bounds the sticky hero's containing block to just
   "hero + feature-photo", so the hero unsticks and is covered as
   soon as the feature-photo section has scrolled up to fill the
   viewport — instead of staying pinned behind every later section. */
.hero-stack {
  position: relative;
}
.hero {
  position: sticky;
  top: 0;
  z-index: 0;
  max-width: var(--container);
  margin: 0 auto;
  padding: 8vh var(--pad-inline) 7vh;
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  font-size: clamp(3rem, 10vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
}
.hero-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  font-size: 1.1rem;
  color: var(--ink);
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ink); display: inline-block; }
.hero-lede { margin-top: 26px; max-width: 480px; font-size: 1.05rem; }
.hero .pill { margin-top: 36px; }

/* ---------- Full-bleed feature photo sections ---------- */
.feature-photo, .quote-photo {
  position: relative;
  min-height: 74vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  color: var(--pill-text);
}
.feature-photo-bg, .quote-photo-bg {
  position: absolute;
  inset: 0;
  color: var(--ink);
  background: linear-gradient(160deg, #26252c 0%, #17161c 55%, #0e0d11 100%);
}
.feature-photo-bg::after, .quote-photo-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(10,9,12,0.72) 0%, rgba(10,9,12,0.3) 38%, rgba(10,9,12,0) 62%),
    linear-gradient(180deg, rgba(14,13,17,0.3) 0%, rgba(14,13,17,0.42) 45%, rgba(14,13,17,0.9) 100%);
}
.quote-photo-bg::after {
  background:
    radial-gradient(60% 70% at 50% 100%, rgba(10,9,12,0.75) 0%, rgba(10,9,12,0.3) 55%, rgba(10,9,12,0) 75%),
    linear-gradient(180deg, rgba(14,13,17,0.25) 0%, rgba(14,13,17,0.3) 45%, rgba(14,13,17,0.88) 100%);
}
.slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.slideshow .slide.is-active { opacity: 1; }
.slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.feature-photo-bg svg, .quote-photo-bg svg { width: 100%; height: 100%; }
.feature-photo-content, .quote-photo-content {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-inline) 8vh;
  width: 100%;
}
.feature-photo .eyebrow, .quote-photo .eyebrow {
  color: rgba(233,236,238,0.72);
}
.feature-quote {
  font-family: var(--font-head);
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--pill-text);
  max-width: 720px;
  margin-bottom: 30px;
}
.quote-sub { color: rgba(233,236,238,0.68); margin-bottom: 30px; max-width: 480px; }
.quote-photo { align-items: center; text-align: center; }
.quote-photo-content { display: flex; flex-direction: column; align-items: center; padding-bottom: 0; }
.quote-photo-content .feature-quote { margin-left: auto; margin-right: auto; }

/* ---------- Intro ---------- */
.intro { padding: 11vh var(--pad-inline); text-align: center; }
.intro-inner { max-width: 620px; margin: 0 auto; }
.intro-inner p { font-size: 1.15rem; color: var(--ink); margin-bottom: 34px; }

/* ---------- Services grid ---------- */
.services { padding: 11vh var(--pad-inline); }
.service-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  padding: 36px 28px;
  border-radius: calc(var(--radius) * 2);
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.grad-1 { background: linear-gradient(160deg, #dfe6e6 0%, #eef1ee 100%); }
.grad-2 { background: linear-gradient(160deg, #e3e0ea 0%, #f0eef2 100%); }
.grad-3 { background: linear-gradient(160deg, #e6e2da 0%, #f2efe9 100%); }
.service-icon { width: 34px; height: 34px; color: var(--ink); margin-bottom: 26px; }
.service-card h3 { font-size: 1.15rem; font-weight: 500; margin-bottom: 8px; }
.service-card p { font-size: 0.92rem; margin-bottom: auto; }
.service-card .tag {
  margin-top: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Process ---------- */
.process { padding: 6vh var(--pad-inline) 11vh; }
.process-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.step-number {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 300;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 16px;
}
.process-step h3 { font-size: 1.1rem; font-weight: 500; margin-bottom: 10px; }
.process-step p { font-size: 0.92rem; }

/* ---------- Pricing ---------- */
.pricing { padding: 11vh var(--pad-inline); }
.pricing-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.price-card {
  background: var(--bg);
  padding: 30px 22px;
  text-align: center;
  border-radius: calc(var(--radius) * 2);
}
.price-featured { background: var(--pill-bg); color: var(--pill-text); }
.price-featured .price, .price-featured h3 { color: var(--pill-text); }
.price-featured .price-desc { color: rgba(233,236,238,0.68); }
.price-card h3 { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); margin-bottom: 12px; }
.price-card .price {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 10px;
}
.price-desc { font-size: 0.85rem; }
.pricing-grid .price-featured h3,
.pricing-grid .price-featured .price { color: var(--pill-text); }
.pricing-grid .price-featured .price-desc { color: rgba(233,236,238,0.68); }

/* ---------- Coverage ---------- */
.coverage { padding: 11vh var(--pad-inline); }
.coverage-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}
.coverage-text h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 400; margin-bottom: 18px; }
.coverage-text p { font-size: 1.02rem; }
.coverage-visual { color: var(--ink); display: flex; justify-content: center; }
.coverage-visual svg { width: 200px; height: 200px; }

/* ---------- Contact ---------- */
.contact { padding: 11vh var(--pad-inline); }
.contact-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 50px;
}
.contact-form {
  background: var(--bg);
  padding: 40px;
  border-radius: calc(var(--radius) * 2);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; }
.form-row { margin-bottom: 20px; }
.form-row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row label { display: block; font-size: 0.85rem; font-weight: 500; margin-bottom: 8px; color: var(--ink); }
.form-row input, .form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--bg-soft);
  color: var(--ink);
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--ink); }
.contact-details h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  color: var(--ink-soft);
  margin: 26px 0 10px;
}
.contact-details h3:first-child { margin-top: 0; }
.contact-details p { color: var(--ink); font-size: 1.05rem; }
.contact-details a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg); padding: 0 var(--pad-inline) 40px; }
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 400;
}
.footer-row:first-child { border-top: 1px solid var(--line); }
.footer-row:hover { color: var(--accent); }
.footer-badge {
  display: flex;
  justify-content: center;
  color: var(--ink);
  padding: 64px 0 32px;
}
.footer-badge svg { animation: rotate 10s linear infinite; }
@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .footer-badge svg { animation: none; }
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 0.95rem;
  margin-bottom: 40px;
}
.footer-links a:hover { color: var(--accent); }
.footer-legal { text-align: center; font-size: 0.8rem; color: var(--ink-soft); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Hover motion ---------- */
.service-card, .price-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover, .price-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(23,22,28,0.08);
}
.pill { transition: opacity 0.18s ease, transform 0.25s ease, background 0.18s ease; }
.pill:hover { transform: scale(1.035); }
.footer-row span { display: inline-block; transition: transform 0.3s ease; }
.footer-row:hover span { transform: translate(4px, -4px); }

/* ---------- Ambient motion on decorative graphics ---------- */
.feature-photo-bg svg, .quote-photo-bg svg {
  animation: drift 14s ease-in-out infinite;
  transform-origin: center;
}
@keyframes drift {
  0%, 100% { transform: scale(1) translateY(0); }
  50% { transform: scale(1.035) translateY(-8px); }
}
.coverage-visual svg { animation: rotate 40s linear infinite; }
@media (prefers-reduced-motion: reduce) {
  .feature-photo-bg svg, .quote-photo-bg svg, .coverage-visual svg { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: 1fr; gap: 36px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .coverage-inner { grid-template-columns: 1fr; text-align: center; }
  .coverage-text p { max-width: 480px; margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .service-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .form-row-split { grid-template-columns: 1fr; }
  .footer-row { font-size: 1.1rem; }
}
