/* ==========================================================================
   ORBEA Orca M20i Team Edition — Landing Page
   Radsport Kotnik, Graz
   ========================================================================== */

:root{
  --bg: #0a0a0c;
  --bg-2: #111114;
  --bg-3: #16161a;
  --red: #e11a2c;
  --red-2: #ff3b45;
  --red-dark: #6e0f18;
  --white: #f6f5f2;
  --muted: #a4a3ab;
  --muted-2: #6d6d75;
  --blue: #0064a7;
  --line: rgba(255,255,255,0.09);

  --font-display: "Archivo Black", "Barlow Condensed", sans-serif;
  --font-cond: "Barlow Condensed", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body{
  margin:0;
  width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
h1,h2,h3,h4{ margin:0 0 .4em; line-height:1.05; font-weight: 800; }
p{ margin:0 0 1em; }
ul{ margin:0; padding:0; list-style:none; }
address{ font-style:normal; }
section{ position:relative; }

.eyebrow{
  font-family: var(--font-cond);
  text-transform:uppercase;
  letter-spacing:.14em;
  color: var(--red-2);
  font-weight:700;
  font-size: .85rem;
  margin: 0 0 .8em;
}
.text-red{ color: var(--red-2); }

/* ---------- reveal on scroll ---------- */
.reveal{
  opacity:0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.16,.8,.32,1), transform .7s cubic-bezier(.16,.8,.32,1);
}
.reveal.is-visible{ opacity:1; transform:none; }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5em;
  font-family: var(--font-cond);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.04em;
  border-radius: 999px;
  padding: .95em 1.8em;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor:pointer;
  transition: transform .18s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: normal;
  text-align: center;
  max-width: 100%;
  min-width: 0;
}
.btn--primary{
  background: linear-gradient(135deg, var(--red-2), var(--red));
  color: #fff;
  box-shadow: 0 8px 30px -6px rgba(225,26,44,.6);
}
.btn--primary:hover{ transform: translateY(-2px); box-shadow: 0 12px 34px -6px rgba(225,26,44,.75); }
.btn--ghost{
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: var(--white);
}
.btn--ghost:hover{ border-color:#fff; transform: translateY(-2px); }
.btn--ghost-light{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.5);
  color:#fff;
}
.btn--ghost-light:hover{ background: rgba(255,255,255,.14); }
.btn--lg{ padding: 1.1em 2.2em; font-size: 1.05rem; }
.btn--sm{ padding: .6em 1.3em; font-size:.85rem; }
.btn--block{ width:100%; }

/* ---------- top strip ---------- */
.topbar{
  background: var(--red);
  color:#fff;
  text-align:center;
  font-family: var(--font-cond);
  font-weight:700;
  letter-spacing:.03em;
  font-size:.85rem;
  padding:.45em 1em;
}

/* ---------- header ---------- */
.site-header{
  position: sticky;
  top:0;
  z-index: 100;
  background: rgba(10,10,12,.75);
  backdrop-filter: blur(10px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: padding .25s ease;
}
.header-inner{
  max-width: var(--container);
  margin:0 auto;
  display:flex;
  align-items:center;
  gap: 2rem;
  padding: .9rem 1.5rem;
}
.brand__logo{ height: 26px; width:auto; filter: brightness(0) invert(1); }
.main-nav{ display:flex; gap:1.6rem; margin-left:auto; }
.main-nav a{
  font-family: var(--font-cond);
  text-transform: uppercase;
  font-size:.92rem;
  font-weight:600;
  letter-spacing:.03em;
  color: var(--muted);
  transition: color .15s ease;
}
.main-nav a:hover{ color:#fff; }
.header-cta{ display:flex; align-items:center; gap:1.2rem; }
.tel-link{ font-family: var(--font-cond); font-weight:600; font-size:.95rem; color: var(--muted); }
.tel-link:hover{ color:#fff; }
.nav-toggle{ display:none; }

/* ---------- hero ---------- */
.hero{
  position:relative;
  min-height: 100svh;
  display:flex;
  align-items:center;
  overflow:hidden;
  padding: 3rem 1.5rem 6rem;
}
.hero__bg{
  position:absolute; inset:0;
  background:
    radial-gradient(ellipse 70% 60% at 78% 30%, rgba(225,26,44,.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(0,100,167,.14), transparent 60%),
    var(--bg);
  z-index:0;
}
.hero__glow{
  position:absolute;
  right:-10%; top:10%;
  width:70vw; height:70vw;
  max-width: 900px; max-height:900px;
  background: radial-gradient(circle, rgba(225,26,44,.35), transparent 65%);
  filter: blur(40px);
  z-index:0;
  pointer-events:none;
}
.hero__content{
  position:relative; z-index:1;
  max-width: var(--container);
  margin:0 auto;
  width:100%;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  align-items:center;
  gap: 2rem;
}
.hero__title{
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  text-transform:uppercase;
  letter-spacing: -.01em;
}
.hero__sub{
  max-width: 46ch;
  color: var(--muted);
  font-size: 1.08rem;
}
.price-block{
  display:flex; align-items:baseline; gap:1rem; flex-wrap:wrap;
  margin: 1.6rem 0 1.8rem;
}
.price-block__now{
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.2vw, 3.2rem);
  color:#fff;
  line-height:1;
}
.price-block__meta{ display:flex; flex-direction:column; gap:.3rem; }
.price-block__old{ color: var(--muted-2); text-decoration: line-through; font-family: var(--font-cond); font-size:1.1rem; }
.price-block__save{
  background: var(--red);
  color:#fff;
  font-family: var(--font-cond);
  font-weight:700;
  text-transform:uppercase;
  font-size:.85rem;
  padding:.25em .7em;
  border-radius: 999px;
  width: fit-content;
}
.hero__actions{ display:flex; gap:1rem; flex-wrap:wrap; margin-bottom:1.6rem; }
.hero__trust{ display:flex; gap:1.4rem; flex-wrap:wrap; }
.hero__trust li{
  font-family: var(--font-cond);
  font-size:.92rem;
  color: var(--muted);
  padding-left:1.1em;
  position:relative;
}
.hero__trust li::before{
  content:"";
  position:absolute; left:0; top:.45em;
  width:6px; height:6px; border-radius:50%;
  background: var(--red-2);
}
.hero__bike{ position:relative; }
.hero__bike-img{
  width:100%;
  filter: drop-shadow(0 40px 60px rgba(0,0,0,.55));
  transform: scale(1.08);
}
.scroll-cue{
  position:absolute; bottom: 1.6rem; left:50%; transform:translateX(-50%);
  z-index:1;
  display:flex; flex-direction:column; align-items:center; gap:.5rem;
  color: var(--muted-2);
}
.scroll-cue span{
  width:1px; height:34px;
  background: linear-gradient(var(--red-2), transparent);
  animation: cue 1.6s ease-in-out infinite;
}
.scroll-cue p{ margin:0; font-family: var(--font-cond); text-transform:uppercase; font-size:.75rem; letter-spacing:.14em; }
@keyframes cue{ 0%{opacity:0; transform:translateY(-6px);} 50%{opacity:1;} 100%{opacity:0; transform:translateY(10px);} }

/* ---------- marquee ---------- */
.marquee{
  background: var(--red);
  overflow:hidden;
  padding: .9rem 0;
  transform: rotate(-1.2deg);
  margin: -1.2rem 0;
  position:relative;
  z-index:2;
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
}
.marquee__track{
  display:flex;
  width:max-content;
  gap: 2.2rem;
  align-items:center;
  animation: marquee 26s linear infinite;
}
.marquee__track span{
  font-family: var(--font-display);
  text-transform:uppercase;
  font-size: 1.05rem;
  color:#fff;
  white-space:nowrap;
}
.marquee__track .dot{ font-size:.6rem; opacity:.7; }
@keyframes marquee{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }

/* ---------- section head ---------- */
.section-head{ max-width: var(--container); margin: 0 auto; padding: 5.5rem 1.5rem 2.5rem; }
.section-head h2{ font-size: clamp(1.9rem, 3.4vw, 2.8rem); max-width: 18ch; }
.section-head.light .eyebrow{ color: var(--red-2); }

/* ---------- features ---------- */
.features{ background: var(--bg); padding-bottom: 2rem; }
.feature-grid{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem 5rem;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.feature-card{
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow:hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.feature-card:hover{ transform: translateY(-6px); border-color: rgba(225,26,44,.4); }
.feature-card img{ width:100%; height: 220px; object-fit: cover; }
.feature-card--big{ grid-column: span 2; }
.feature-card--big img{ height: 320px; }
.feature-card__text{ padding: 1.4rem 1.5rem 1.7rem; }
.feature-card__text h3{ font-size: 1.25rem; }
.feature-card__text p{ color: var(--muted); font-size:.95rem; margin:0; }

/* ---------- stat section ---------- */
.stat-section{
  max-width: var(--container);
  margin: 0 auto;
  padding: 2rem 1.5rem 6rem;
  display:grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 3rem;
  align-items:center;
}
.stat-section__image img{ border-radius: 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.big-number{
  display:flex; align-items:flex-end; gap:.4rem;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 8vw, 6.5rem);
  line-height:.85;
  color: var(--red-2);
  margin-bottom:.3rem;
}
.big-number__unit{ font-size: .32em; font-family: var(--font-cond); color: var(--muted); padding-bottom:.25em; }
.stat-section__text p{ color: var(--muted); max-width: 48ch; }

/* ---------- video section ---------- */
.video-section{ background: var(--bg-2); padding-bottom: 5rem; }
.video-grid{
  max-width: var(--container);
  margin:0 auto;
  padding: 0 1.5rem;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.video-card{
  position:relative;
  border-radius: 18px;
  overflow:hidden;
  aspect-ratio: 4/5;
  background:#000;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.6);
}
.video-card video{ width:100%; height:100%; object-fit:cover; }
.video-card__caption{
  position:absolute; left:0; right:0; bottom:0;
  padding: 1.4rem 1.1rem;
  font-family: var(--font-cond);
  font-weight:600;
  text-transform:uppercase;
  font-size:.88rem;
  letter-spacing:.03em;
  background: linear-gradient(to top, rgba(0,0,0,.85), transparent);
}

/* ---------- deal ---------- */
.deal{
  background: linear-gradient(160deg, var(--red-dark), #2a0509 70%);
  padding: 5.5rem 1.5rem;
}
.deal__inner{ max-width: 880px; margin:0 auto; text-align:center; }
.deal__inner h2{ font-size: clamp(1.8rem, 3.6vw, 2.6rem); }
.deal__text{ color: rgba(255,255,255,.82); max-width: 62ch; margin:0 auto 2.4rem; }
.deal__text strong{ color:#fff; }
.deal__price-row{
  display:flex; align-items:center; justify-content:center; gap: 1.6rem; flex-wrap:wrap;
}
.deal__price-old, .deal__price-new{ display:flex; flex-direction:column; gap:.2rem; }
.deal__price-old span, .deal__price-new span{
  font-family: var(--font-cond); text-transform:uppercase; letter-spacing:.08em; font-size:.8rem; color: rgba(255,255,255,.65);
}
.deal__price-old strong{ font-family: var(--font-display); font-size:1.6rem; text-decoration: line-through; color: rgba(255,255,255,.55); }
.deal__price-new strong{ font-family: var(--font-display); font-size: 2.4rem; color:#fff; }
.deal__arrow{ font-size:1.6rem; color: rgba(255,255,255,.5); }
.deal__badge{
  background:#fff; color: var(--red-dark);
  font-family: var(--font-display);
  font-size:.85rem;
  text-align:center;
  line-height:1.15;
  padding: .7rem 1rem;
  border-radius: 999px;
  transform: rotate(-6deg);
}

/* ---------- specs ---------- */
.specs{ background: var(--bg); }
.specs-grid{
  max-width: var(--container);
  margin:0 auto;
  padding: 0 1.5rem 6rem;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}
.specs-col h4{
  font-family: var(--font-cond);
  text-transform:uppercase;
  letter-spacing:.06em;
  color: var(--red-2);
  font-size:1rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: .6rem;
  margin: 2rem 0 1rem;
}
.specs-col h4:first-child{ margin-top:0; }
.specs-col dl{ margin:0; }
.specs-col dl div{
  display:flex; justify-content:space-between; gap: 1rem;
  padding: .5rem 0;
  border-bottom: 1px dashed var(--line);
  font-size:.92rem;
}
.specs-col dt{ color: var(--muted-2); }
.specs-col dd{ margin:0; text-align:right; color: var(--white); font-weight:500; }

/* ---------- buy ---------- */
.buy{ background: var(--bg-2); padding-bottom: 6rem; }
.buy-grid{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.buy-card{
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2.6rem;
}
.buy-card--accent{
  background: linear-gradient(160deg, rgba(225,26,44,.16), rgba(0,0,0,0) 60%), var(--bg-3);
  border-color: rgba(225,26,44,.35);
}
.buy-card__icon{ font-size: 2.2rem; margin-bottom: 1rem; }
.buy-card h3{ font-size: 1.5rem; }
.buy-card p{ color: var(--muted); }
.buy-card__price{ display:flex; align-items:baseline; gap:.7rem; margin: 1.2rem 0 1.6rem; }
.buy-card__price strong{ font-family: var(--font-display); font-size: 1.9rem; }
.buy-card__price span{ color: var(--muted-2); text-decoration: line-through; font-family: var(--font-cond); }
.buy-card__address{ display:block; color: var(--muted); margin-bottom: 1rem; line-height:1.5; }
.buy-card__phone{ display:block; font-family: var(--font-cond); font-size:1.2rem; font-weight:700; margin-bottom: 1.6rem; }
.buy-card__phone:hover{ color: var(--red-2); }

/* ---------- location ---------- */
.location{
  max-width: var(--container);
  margin: 0 auto;
  padding: 6rem 1.5rem;
  display:grid;
  grid-template-columns: 1.3fr .7fr;
  gap: 1.6rem;
  align-items:stretch;
}
.location__map{ border-radius: 22px; overflow:hidden; min-height: 380px; filter: grayscale(.3) contrast(1.1); border: 1px solid var(--line); }
.location__info{
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 2.4rem;
  display:flex; flex-direction:column; justify-content:center; gap:.6rem;
}
.location__logo{ height: 30px; width:auto; align-self: flex-start; flex: 0 0 auto; filter: brightness(0) invert(1); margin-bottom: 1rem; }
.location__addr{ color: var(--muted); font-size:1.05rem; }
.location__tel a{ font-family: var(--font-cond); font-size:1.3rem; font-weight:700; }
.location__tel{ margin-bottom: 1.4rem; }
.location__tel a:hover{ color: var(--red-2); }

/* ---------- footer ---------- */
.site-footer{ background:#000; border-top: 1px solid var(--line); }
.site-footer__inner{
  max-width: var(--container);
  margin:0 auto;
  padding: 3rem 1.5rem;
  text-align:center;
}
.footer-logo{ height: 24px; width:auto; filter: brightness(0) invert(1); opacity:.85; margin-bottom: 1.2rem; }
.site-footer p{ color: var(--muted-2); font-size:.88rem; margin:0 0 .6rem; }
.site-footer a{ color: var(--muted); }
.site-footer a:hover{ color:#fff; }
.footer-disclaimer{ max-width: 70ch; margin-left:auto; margin-right:auto; text-align: center; }
.footer-copy{ margin-top:1rem; }

/* ---------- sticky mobile cta ---------- */
.sticky-cta{
  position: fixed; left:0; right:0; bottom:0;
  z-index: 200;
  display:none;
  align-items:center;
  gap:.7rem;
  padding: .8rem 1rem;
  background: rgba(10,10,12,.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
}
.sticky-cta__price{ display:flex; flex-direction:column; margin-right:auto; line-height:1.1; }
.sticky-cta__price strong{ font-family: var(--font-display); font-size:1.15rem; }
.sticky-cta__price span{ color: var(--muted-2); font-size:.75rem; text-decoration: line-through; }
.sticky-cta .btn{ padding: .7em 1.1em; font-size:.85rem; }

/* ---------- overflow safety net ----------
   Grid/flex items default to min-width:auto, which lets long unbroken
   text (button labels, addresses, headings) force a column wider than
   its track and push the whole page into horizontal scroll. Zeroing it
   out here lets text wrap instead of blowing out the layout. */
.buy-card,
.location__map,
.location__info,
.video-card,
.feature-card,
.specs-col,
.stat-section__image,
.stat-section__text,
.hero__text,
.hero__bike,
.deal__price-old,
.deal__price-new,
.buy-card__price{
  min-width: 0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px){
  .main-nav{ display:none; }
  .hero__content{ grid-template-columns: 1fr; text-align:left; }
  .hero__bike{ order:-1; max-width: 420px; margin: 0 auto -1rem; }
  .feature-grid{ grid-template-columns: repeat(2,1fr); }
  .feature-card--big{ grid-column: span 2; }
  .video-grid{ grid-template-columns: repeat(2,1fr); }
  .stat-section{ grid-template-columns: 1fr; }
  .stat-section__image{ order: 2; }
  .specs-grid{ grid-template-columns: 1fr 1fr; }
  .buy-grid{ grid-template-columns: 1fr; }
  .location{ grid-template-columns: 1fr; }
  .location__map{ min-height: 300px; }
}

@media (max-width: 640px){
  .header-cta .tel-link{ display:none; }
  .feature-grid{ grid-template-columns: 1fr; }
  .feature-card--big{ grid-column: span 1; }
  .video-grid{ grid-template-columns: repeat(2,1fr); gap:.8rem; }
  .specs-grid{ grid-template-columns: 1fr; }
  .hero{ padding-top: 2rem; padding-bottom: 5rem; }
  .price-block{ margin-top:1.2rem; }
  .sticky-cta{ display:flex; }
  body{ padding-bottom: 4.4rem; }
  .marquee{ transform: rotate(0); margin: 0; }
}
