/* =========================================================================
   EVOLTE GmbH — Firmenseite (Apple-artiges Scroll-Erlebnis)
   Weiße Produktflächen + dunkle Cinematic-Bänder. Akzent: EVOLTE-Gelb.
   Hell + Dunkel. Motion respektiert prefers-reduced-motion.
   ========================================================================= */

:root {
  --accent:      #FFEF28;
  --accent-ink:  #1a1710;
  --accent-soft: rgba(255, 239, 40, 0.18);

  --bg:          #FFFFFF;
  --bg-2:        #F5F5F7;
  --surface:     #FFFFFF;
  --text:        #1D1D1F;
  --text-soft:   #6E6E73;
  --text-mut:    #86868B;
  --line:        rgba(0, 0, 0, 0.09);
  --line-strong: rgba(0, 0, 0, 0.16);

  /* dunkle Bänder — im Hellmodus fix dunkel */
  --band:        #08080A;
  --band-2:      #0E0E11;
  --band-text:   #F5F5F7;
  --band-soft:   #A1A1A6;
  --band-line:   rgba(255, 255, 255, 0.12);

  --maxw:  1120px;
  --pad:   clamp(1.25rem, 5vw, 3.5rem);
  --radius: 26px;
  --ease:  cubic-bezier(.22, 1, .36, 1);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html[data-theme="dark"] {
  --bg:          #000000;
  --bg-2:        #0A0A0C;
  --surface:     #101014;
  --text:        #F5F5F7;
  --text-soft:   #A1A1A6;
  --text-mut:    #86868B;
  --line:        rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.2);
  --band:        #000000;
  --band-2:      #0A0A0C;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0; font-family: var(--font); background: var(--bg); color: var(--text);
  line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; transition: background-color .4s var(--ease), color .4s var(--ease);
}
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; line-height: 1.05; text-wrap: balance; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--accent); color: var(--accent-ink); padding: .6rem 1.1rem;
  border-radius: 0 0 12px 12px; font-weight: 600; z-index: 200; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 980px; font-weight: 600; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s;
}
.btn--lg { padding: 1.05rem 2.1rem; font-size: 1.08rem; }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { transform: translateY(-2px); background: #fff35c; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { transform: translateY(-2px); border-color: currentColor; }
.btn--onDark { color: var(--band-text); border-color: rgba(255,255,255,.28); }
.btn--onDark:hover { border-color: #fff; }

.tlink {
  display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; color: var(--text);
  transition: gap .25s var(--ease);
}
.tlink svg { width: 19px; height: 19px; transition: transform .25s var(--ease); }
.tlink:hover { gap: .6rem; }
.tlink--accent { color: #a98a00; }
html[data-theme="dark"] .tlink--accent { color: var(--accent); }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(30px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal--scale { transform: translateY(30px) scale(.96); }
.js .reveal--scale.in { transform: none; }

/* =========================================================================
   NAV
   ========================================================================= */
.nav { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid transparent; transition: background-color .3s, border-color .3s; }
.nav.stuck {
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
}
.nav__inner { max-width: var(--maxw); margin-inline: auto; padding: .7rem var(--pad); display: flex; align-items: center; gap: 1.5rem; }
.nav__brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; letter-spacing: .04em; }
.nav__mark { width: 26px; height: 26px; object-fit: contain; display: block; }
.nav__links { display: flex; gap: 1.7rem; margin-left: auto; font-size: .92rem; }
.nav__links a { color: var(--text-soft); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: .7rem; }
.theme-toggle { width: 38px; height: 38px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); cursor: pointer; display: grid; place-items: center; transition: border-color .2s, transform .2s; }
.theme-toggle:hover { border-color: currentColor; transform: translateY(-1px); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle__moon { display: none; }
html[data-theme="dark"] .theme-toggle__sun { display: none; }
html[data-theme="dark"] .theme-toggle__moon { display: block; }
@media (max-width: 860px) { .nav__links { display: none; } }
@media (max-width: 460px) { .nav__cta { display: none; } }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; overflow: hidden; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.hero__grid { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2rem; }
.hero__kicker { font-size: .82rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--text-mut); margin-bottom: 1.2rem; }
.hero__title { font-size: clamp(2.7rem, 6.6vw, 5.4rem); max-width: 14ch; }
.hero__title em { font-style: normal; background: linear-gradient(180deg, transparent 60%, var(--accent-soft) 60%); }
.hero__lead { margin-top: 1.6rem; max-width: 40ch; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--text-soft); }
.hero__actions { margin-top: 2.2rem; display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__stage { position: relative; display: grid; place-items: center; }
.hero__glow { position: absolute; inset: -10% -10% -20% -10%; z-index: 0; background: radial-gradient(closest-side, var(--accent-soft), transparent 72%); filter: blur(6px); }
.hero__bike { position: relative; z-index: 1; width: 100%; max-width: 620px; height: auto; will-change: transform; }
.hero__mark { position: absolute; right: 4%; top: 6%; width: 46px; height: 46px; opacity: .9; z-index: 2; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; text-align: left; }
  .hero__title { max-width: 18ch; }
  .hero__stage { margin-top: 1rem; }
}

/* =========================================================================
   DUNKLES STATEMENT-BAND
   ========================================================================= */
.band { position: relative; background: var(--band); color: var(--band-text); overflow: hidden; }
.band--tall { padding: clamp(6rem, 16vw, 12rem) 0; }
.band__inner { max-width: 840px; margin-inline: auto; padding-inline: var(--pad); text-align: center; }
.band__eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.4rem; }
.band__title { font-size: clamp(2.4rem, 6.4vw, 5.4rem); color: var(--band-text); }
.band__title .dim { color: #6b6b70; }
.band__sub { margin: 1.6rem auto 0; max-width: 46ch; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--band-soft); }
.band__watermark { position: absolute; z-index: 0; right: -8vw; bottom: -14vw; width: 46vw; max-width: 560px; opacity: .06; pointer-events: none; }
.band__inner { position: relative; z-index: 1; }

/* =========================================================================
   PILLARS (gepinnt, dunkel)
   ========================================================================= */
.pillars { background: var(--band-2); color: var(--band-text); }
.pillars__sticky { min-height: 60vh; display: grid; align-items: center; padding: 5rem var(--pad); max-width: var(--maxw); margin-inline: auto; }
.pillars__eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 1.6rem; }
.pillars__stages { position: relative; max-width: 34rem; }
.pillar { margin-bottom: 2.4rem; }
.pillar:last-child { margin-bottom: 0; }
.pillar h3 { font-size: clamp(2rem, 5vw, 3.6rem); color: var(--band-text); margin-bottom: .8rem; }
.pillar p { font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--band-soft); }
.pillars.js-pin { height: 300vh; }
.pillars.js-pin .pillars__sticky { position: sticky; top: 0; min-height: 100vh; }
.pillars.js-pin .pillar { position: absolute; inset: auto 0 0 0; bottom: auto; top: 3.5rem; opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.pillars.js-pin .pillar.on { opacity: 1; transform: none; }

/* =========================================================================
   PRODUKT-FEATURES (abwechselnd) + GALERIE
   ========================================================================= */
.sec { padding: clamp(4rem, 9vw, 8rem) 0; }
.sec-head { max-width: 40rem; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.sec-kicker { font-size: .82rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mut); margin-bottom: 1rem; }
.sec-title { font-size: clamp(2rem, 5vw, 3.4rem); }
.sec-sub { margin-top: 1rem; font-size: 1.15rem; color: var(--text-soft); }

.feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 4vw, 4rem); max-width: var(--maxw); margin: 0 auto; padding: clamp(2rem, 5vw, 4.5rem) var(--pad); }
.feature + .feature { border-top: 1px solid var(--line); }
.feature--rev .feature__media { order: 2; }
.feature__eyebrow { font-size: .82rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--text-mut); margin-bottom: .9rem; }
.feature__title { font-size: clamp(1.9rem, 4vw, 3rem); margin-bottom: 1rem; }
.feature__text { color: var(--text-soft); font-size: 1.15rem; max-width: 34ch; margin-bottom: 1.6rem; }
.feature__media { display: grid; place-items: center; border-radius: 24px; }
.feature__media img { width: 100%; max-width: 560px; height: auto; }
/* Produktfotos haben weissen Hintergrund: im Hellmodus schweben sie frei,
   im Dunkelmodus sitzen sie auf einer weissen Kachel (klare Produkt-Optik). */
html[data-theme="dark"] .feature__media { background: #fff; padding: clamp(1.4rem, 3vw, 2.5rem); }
html[data-theme="dark"] .hero__stage { background: #fff; border-radius: 28px; padding: clamp(1.6rem, 3vw, 2.6rem); }
html[data-theme="dark"] .hero__glow { display: none; }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; }
  .feature--rev .feature__media { order: 0; }
  .feature__media { order: 0 !important; }
}

/* Horizontale Galerie */
.gallery { padding: clamp(2rem, 4vw, 3rem) 0 clamp(4rem, 8vw, 6rem); }
.gallery__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 360px);
  gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 0 var(--pad) 1.25rem; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  /* Passen alle Karten nebeneinander, stehen sie mittig unter der Ueberschrift
     statt links mit Luecke rechts. "safe" ist Pflicht: bei mehr Karten als Platz
     wuerde reines "center" die erste Karte aus dem Scrollbereich schieben.
     Aeltere Browser ignorieren die Zeile und bleiben beim bisherigen Verhalten. */
  justify-content: safe center;
}
.gcard {
  scroll-snap-align: start; background: var(--bg-2); border-radius: var(--radius);
  padding: 1.6rem 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .3rem;
  border: 1px solid var(--line); transition: transform .35s var(--ease);
}
.gcard:hover { transform: translateY(-4px); }
.gcard__media { aspect-ratio: 4/3; display: grid; place-items: center; margin-bottom: .8rem; background: #fff; border-radius: 16px; }
html[data-theme="dark"] .gcard__media { background: #fff; }
.gcard__media img { width: 88%; height: auto; }
.gcard__brand { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mut); }
.gcard__name { font-size: 1.3rem; font-weight: 600; }
.gcard__desc { color: var(--text-soft); font-size: .98rem; margin: .15rem 0 .9rem; }
.gcard__link { margin-top: auto; }

/* =========================================================================
   MARKEN-WALL
   ========================================================================= */
.brands { background: var(--bg-2); }
.brands__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.brandcell { background: var(--bg); padding: clamp(1.6rem, 3vw, 2.4rem); display: flex; flex-direction: column; gap: .5rem; min-height: 168px; transition: background-color .3s; }
.brandcell:hover { background: var(--bg-2); }
.brandcell__name { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 600; letter-spacing: -0.02em; }
.brandcell__tag { color: var(--text-soft); font-size: 1rem; }
.brandcell__more { margin-top: auto; color: var(--text-mut); font-size: .88rem; font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.brandcell:hover .brandcell__more { color: var(--text); }
@media (max-width: 820px) { .brands__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .brands__grid { grid-template-columns: 1fr; } .brandcell { min-height: 0; } }

/* =========================================================================
   LEBENDE BLÖCKE (Feed)
   ========================================================================= */
.living { padding: clamp(4rem, 9vw, 7rem) 0; }
.living__grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr 1fr; }
@media (max-width: 760px) { .living__grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; transition: transform .35s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.card__icon { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); margin-bottom: 1.2rem; }
html[data-theme="dark"] .card__icon { color: var(--accent); }
.card__icon svg { width: 23px; height: 23px; }
.card__title { font-size: 1.3rem; margin-bottom: 1rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.hours li:last-child { border-bottom: none; }
.hours li span:first-child { color: var(--text-soft); }
.hours li span:last-child { font-variant-numeric: tabular-nums; font-weight: 500; }
.hours-today:not([hidden]) { display: inline-flex; }
.hours-today { align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600; padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.hours-today::before { content: ""; width: 8px; height: 8px; border-radius: 999px; background: currentColor; }
.hours-today.is-open { background: rgba(46,160,67,.12); color: #1a7f37; }
.hours-today.is-closed { background: rgba(0,0,0,.06); color: var(--text-mut); }
html[data-theme="dark"] .hours-today.is-open { background: rgba(63,185,80,.16); color: #56d364; }
.hours-exc:not([hidden]) { display: grid; }
.hours-exc { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); gap: .3rem; }
.hours-exc__title { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mut); }
.hours-exc__row { font-size: .9rem; color: var(--text-soft); font-variant-numeric: tabular-nums; }
.contact { font-style: normal; display: grid; gap: .35rem; color: var(--text-soft); }
.contact__name { font-weight: 600; color: var(--text); font-size: 1.05rem; }
.contact__link { color: var(--text); border-bottom: 2px solid var(--accent); width: fit-content; padding-bottom: 1px; margin-top: .4rem; }
.news { margin-top: clamp(2rem, 4vw, 3rem); }
.news__title { font-size: 1.4rem; margin-bottom: 1.3rem; }
.news__list { display: grid; gap: .75rem; }
.news__item a { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem 1.5rem; padding: 1.2rem 1.5rem; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-2); transition: border-color .3s, transform .3s var(--ease); }
.news__item a:hover { border-color: var(--accent); transform: translateX(4px); }
.news__label { font-weight: 600; font-size: 1.05rem; }
.news__meta { color: var(--text-mut); font-size: .9rem; font-variant-numeric: tabular-nums; }
.feed-note { margin-top: 2rem; font-size: .84rem; color: var(--text-mut); }

/* =========================================================================
   ABSCHLUSS-CTA
   ========================================================================= */
.cta { background: var(--band); color: var(--band-text); text-align: center; }
.cta__inner { padding: clamp(5rem, 12vw, 9rem) var(--pad); display: grid; gap: 1.2rem; justify-items: center; max-width: var(--maxw); margin-inline: auto; }
.cta__logo { width: 100px; height: 100px; display: grid; place-items: center; background: #fff; border-radius: 26px; padding: 15px; box-shadow: 0 18px 44px -16px rgba(0,0,0,.6); margin-bottom: .4rem; }
.cta__logo img { width: 100%; height: 100%; object-fit: contain; }
.cta__title { font-size: clamp(2.4rem, 7vw, 5rem); color: var(--band-text); }
.cta__sub { color: var(--band-soft); font-size: 1.2rem; max-width: 40ch; }
.cta__inner .btn { margin-top: .8rem; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--bg-2); border-top: 1px solid var(--line); }
.footer__inner { padding: 3rem var(--pad); display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: space-between; max-width: var(--maxw); margin-inline: auto; }
.footer__brand { display: flex; align-items: center; gap: 1rem; }
.footer__logo { height: 78px; width: auto; }
.footer__logo--dark { display: none; }
html[data-theme="dark"] .footer__logo--light { display: none; }
html[data-theme="dark"] .footer__logo--dark { display: block; }
.footer__brand strong { display: block; }
.footer__addr { color: var(--text-mut); font-size: .9rem; }
.footer__nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer__nav a { color: var(--text-soft); font-size: .95rem; transition: color .2s; }
.footer__nav a:hover { color: var(--text); }
.footer__copy { color: var(--text-mut); font-size: .85rem; width: 100%; }

/* =========================================================================
   RECHTLICHE SEITEN
   ========================================================================= */
.legal { padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem); }
.legal__wrap { max-width: 760px; }
.legal__title { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: .6rem 0 1.5rem; }
.legal__intro { font-size: 1.15rem; color: var(--text-soft); margin-bottom: 2.5rem; }
.legal__block { margin-bottom: 2.2rem; }
.legal__block h2 { font-size: 1.25rem; margin-bottom: .7rem; }
.legal__block p { color: var(--text-soft); }
.legal__addr { font-style: normal; }
.legal__note { margin: 2.5rem 0 0; padding: 1.25rem 1.5rem; border-radius: 16px; background: var(--accent-soft); color: var(--text); border: 1px solid var(--line); font-size: .95rem; }
.legal__foot { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); color: var(--text-mut); }
mark.todo { background: var(--accent); color: var(--accent-ink); padding: .1rem .45rem; border-radius: 6px; font-weight: 600; font-size: .92em; }

/* =========================================================================
   REDUCED MOTION
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
