/*
Theme Name: BikeTherapie v1
Theme URI: https://bike-therapie.at
Author: BikeTherapie
Description: Schlankes Custom Theme für BikeTherapie.
Version: 1.0.0
Text Domain: biketherapie
*/

:root {
  --bt-green: #65c900;
  --bt-green-dark: #4da800;
  --bt-navy: #071d30;
  --bt-navy-light: #12334a;
  --bt-text: #17212b;
  --bt-muted: #66717c;
  --bt-bg: #ffffff;
  --bt-bg-soft: #f6f8f9;
  --bt-border: #e2e7ea;
  --bt-radius: 20px;
  --bt-width: 1240px;
  --bt-shadow: 0 24px 60px rgba(7,29,48,.08);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bt-bg);
  color: var(--bt-text);
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    Helvetica,
    sans-serif;
  line-height: 1.6;
}

body.bt-intro-active { overflow: hidden; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.bt-container {
  width: min(calc(100% - 48px), var(--bt-width));
  margin-inline: auto;
}

/* INTRO */

.bt-intro {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: grid;
  place-items: center;
  padding: 30px;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.bt-intro.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.bt-intro-logo {
  width: min(850px, 78vw);
  transform: scale(.94) translateY(10px);
  opacity: 0;
  transition:
    transform .65s cubic-bezier(.2,.75,.25,1),
    opacity .5s ease;
}

.bt-intro.is-visible .bt-intro-logo {
  transform: scale(1) translateY(0);
  opacity: 1;
}

.bt-intro.is-leaving { opacity: 0; }

.bt-intro.is-leaving .bt-intro-logo {
  transform: scale(.82) translateY(-35px);
  opacity: 0;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.95);
  border-bottom: 1px solid var(--bt-border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  height: 84px;
}

.site-logo-frame {
  display: flex;
  align-items: center;
  width: 320px;
  height: 76px;
  overflow: hidden;
}

.site-logo img {
  display: block;
  width: 320px;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: .96rem;
  font-weight: 650;
}

.main-nav > a:not(.bt-button) {
  position: relative;
}

.main-nav > a:not(.bt-button)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 0;
  height: 2px;
  background: var(--bt-green);
  transition: width .2s ease;
}

.main-nav > a:not(.bt-button):hover::after { width: 100%; }

.bt-menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 0;
  border-radius: 50%;
  background: var(--bt-bg-soft);
  cursor: pointer;
}

.bt-menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--bt-navy);
  transition: transform .2s ease, opacity .2s ease;
}

.bt-mobile-nav { display: none; }

/* BUTTONS */

.bt-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 25px;
  border-radius: 999px;
  font-weight: 750;
  line-height: 1;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

.bt-button:hover { transform: translateY(-2px); }

.bt-button-primary {
  background: var(--bt-green);
  color: var(--bt-navy);
}

.bt-button-primary:hover {
  background: var(--bt-green-dark);
  color: #fff;
}

.bt-button-secondary {
  background: #fff;
  border: 1px solid var(--bt-border);
  color: var(--bt-navy);
}

/* HERO — restored clean baseline */

.bt-hero {
  position: relative;
  overflow: hidden;
  min-height: 72vh;
  display: flex;
  align-items: center;
  padding: 90px 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(101,201,0,.12), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f8fafb 100%);
}

.bt-hero-content { max-width: 820px; }

.bt-eyebrow {
  margin-bottom: 18px;
  color: var(--bt-green-dark);
  font-size: .84rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bt-eyebrow-light { color: var(--bt-green); }

.bt-hero h1 {
  margin: 0;
  color: var(--bt-navy);
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: .95;
  letter-spacing: -.055em;
}

.bt-hero p {
  max-width: 660px;
  margin: 28px 0 34px;
  color: var(--bt-muted);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.bt-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* SECTIONS */

.bt-section { padding: 90px 0; }
.bt-section-soft { background: var(--bt-bg-soft); }

.bt-section-header {
  max-width: 720px;
  margin-bottom: 42px;
}

.bt-section-header h2,
.bt-about h2 {
  margin: 0 0 12px;
  color: var(--bt-navy);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -.04em;
}

.bt-section-header p,
.bt-about p {
  margin: 0;
  color: var(--bt-muted);
  font-size: 1.1rem;
}

/* CARDS */

.bt-card-grid,
.bt-bike-grid,
.bt-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.bt-card {
  min-height: 290px;
  display: flex;
  flex-direction: column;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.bt-card:hover {
  transform: translateY(-6px);
  border-color: rgba(101,201,0,.55);
  box-shadow: var(--bt-shadow);
}

.bt-card-number {
  display: block;
  margin-bottom: 54px;
  color: var(--bt-green-dark);
  font-weight: 850;
  letter-spacing: .1em;
}

.bt-card h3 {
  margin: 0 0 12px;
  color: var(--bt-navy);
  font-size: 1.45rem;
}

.bt-card p { margin: 0; color: var(--bt-muted); }

.bt-card-link {
  margin-top: auto;
  padding-top: 30px;
  color: var(--bt-navy);
  font-weight: 750;
}

/* ABOUT */

.bt-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.bt-placeholder-image {
  min-height: 450px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--bt-navy), var(--bt-navy-light));
  color: rgba(255,255,255,.65);
  font-weight: 700;
}

.bt-about-content p + p { margin-top: 18px; }

/* BIKES */

.bt-bike-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
}

.bt-bike-image {
  min-height: 250px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #e8ecef, #f7f9fa);
  color: #8c969d;
  font-weight: 750;
}

.bt-bike-content { padding: 25px; }

.bt-bike-content span {
  color: var(--bt-green-dark);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.bt-bike-content h3 {
  margin: 8px 0 6px;
  color: var(--bt-navy);
}

.bt-bike-content p { margin: 0; color: var(--bt-muted); }

/* CTA */

.bt-cta { padding: 100px 0; }

.bt-cta-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 50px;
  padding: 65px;
  border-radius: 30px;
  background: var(--bt-navy);
  color: #fff;
}

.bt-cta-box h2 {
  margin: 0 0 16px;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: .98;
  letter-spacing: -.045em;
}

.bt-cta-box p {
  max-width: 700px;
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 1.08rem;
}

/* CONTACT */

.bt-contact-card {
  padding: 30px;
  border: 1px solid var(--bt-border);
  border-radius: var(--bt-radius);
  background: #fff;
}

.bt-contact-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--bt-muted);
  font-size: .8rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.bt-contact-card strong {
  color: var(--bt-navy);
  font-size: 1.3rem;
}

/* FOOTER */

.site-footer {
  padding: 60px 0 32px;
  background: #061827;
  color: rgba(255,255,255,.68);
}

.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-logo {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
}

.footer-logo img { width: 260px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding-top: 28px;
  font-size: .88rem;
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a:hover { color: var(--bt-green); }

/* MOBILE */

@media (max-width: 980px) {
  .main-nav { gap: 20px; }

  .bt-card-grid,
  .bt-bike-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bt-card-grid .bt-card:last-child,
  .bt-bike-grid .bt-bike-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 780px) {
  .bt-container {
    width: min(calc(100% - 30px), var(--bt-width));
  }

  .header-inner { min-height: 72px; }

  .site-logo {
    height: 72px;
  }

  .site-logo-frame {
    width: 220px;
    height: 64px;
  }

  .site-logo img { width: 220px; }

  .main-nav { display: none; }
  .bt-menu-button { display: block; }

  .bt-mobile-nav {
    display: none;
    padding: 14px 15px 24px;
    background: #fff;
    border-top: 1px solid var(--bt-border);
    box-shadow: 0 25px 35px rgba(7,29,48,.08);
  }

  .bt-mobile-nav.is-open {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .bt-mobile-nav > a:not(.bt-button) {
    padding: 13px 10px;
    font-weight: 650;
  }

  .bt-mobile-nav .bt-button { margin-top: 8px; }

  .bt-menu-button.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .bt-menu-button.is-open span:nth-child(2) { opacity: 0; }

  .bt-menu-button.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .bt-hero {
    min-height: auto;
    padding: 80px 0;
  }

  .bt-section,
  .bt-cta { padding: 75px 0; }

  .bt-card-grid,
  .bt-bike-grid,
  .bt-contact-grid {
    grid-template-columns: 1fr;
  }

  .bt-card-grid .bt-card:last-child,
  .bt-bike-grid .bt-bike-card:last-child {
    grid-column: auto;
  }

  .bt-about {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bt-placeholder-image { min-height: 320px; }

  .bt-cta-box {
    grid-template-columns: 1fr;
    padding: 38px 28px;
    gap: 30px;
  }

  .footer-main,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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