html{ background:#ffffff; }

@font-face{
  font-family:"Premiumrad Sans";
  src:url("/fonts/Arvo-Regular.ttf") format("truetype");
  font-style:normal;
  font-weight:300;
  font-display:swap;
}

@font-face{
  font-family:"Premiumrad Sans";
  src:url("/fonts/Arvo-Regular.ttf") format("truetype");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}

@font-face{
  font-family:"Premiumrad Sans";
  src:url("/fonts/Arvo-Regular.ttf") format("truetype");
  font-style:normal;
  font-weight:500;
  font-display:swap;
}

@font-face{
  font-family:"Premiumrad Sans";
  src:url("/fonts/Arvo-Bold.ttf") format("truetype");
  font-style:normal;
  font-weight:700;
  font-display:swap;
}

@font-face{
  font-family:"Premiumrad Display";
  src:url("/fonts/Arvo-Regular.ttf") format("truetype");
  font-style:normal;
  font-weight:500;
  font-display:swap;
}

@font-face{
  font-family:"Premiumrad Display";
  src:url("/fonts/Arvo-Bold.ttf") format("truetype");
  font-style:normal;
  font-weight:600;
  font-display:swap;
}

@font-face{
  font-family:"Premiumrad Display";
  src:url("/fonts/Arvo-Bold.ttf") format("truetype");
  font-style:normal;
  font-weight:700;
  font-display:swap;
}

@font-face{
  font-family:"Premiumrad Display";
  src:url("/fonts/Arvo-Bold.ttf") format("truetype");
  font-style:normal;
  font-weight:800;
  font-display:swap;
}

@font-face{
  font-family:"Premiumrad UI";
  src:url("/fonts/Arvo-Regular.ttf") format("truetype");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}

@font-face{
  font-family:"Premiumrad UI";
  src:url("/fonts/Arvo-Regular.ttf") format("truetype");
  font-style:normal;
  font-weight:500;
  font-display:swap;
}

@font-face{
  font-family:"Premiumrad UI";
  src:url("/fonts/Arvo-Bold.ttf") format("truetype");
  font-style:normal;
  font-weight:600;
  font-display:swap;
}

@font-face{
  font-family:"Premiumrad UI";
  src:url("/fonts/Arvo-Bold.ttf") format("truetype");
  font-style:normal;
  font-weight:700;
  font-display:swap;
}

:root{
  --bg:#ffffff;
  --fg:#111318;
  --muted:rgba(17,19,24,0.68);
  --line:rgba(17,19,24,0.10);
  --nav-h:72px;
  --home-top-banner-h:calc(var(--nav-h) * 0.5);
  --app-vh:100vh;
  --font-body:"Premiumrad Sans","Roboto","Avenir Next","Segoe UI","Trebuchet MS",sans-serif;
  --font-display:"Premiumrad Display","Premiumrad Sans","Roboto","Avenir Next","Segoe UI","Trebuchet MS",sans-serif;
  --font-ui:"Premiumrad UI","Premiumrad Display","Premiumrad Sans","Roboto","Avenir Next","Segoe UI","Trebuchet MS",sans-serif;
}

@supports (height: 100dvh){
  :root{
    --app-vh:100dvh;
  }
}

@supports (-webkit-touch-callout: none){
  @media (hover:none) and (pointer:coarse){
    :root{
      --app-vh:100vh;
    }
  }
}

@supports (-webkit-touch-callout: none){
  @supports (height: 100svh){
    @media (hover:none) and (pointer:coarse){
      :root{
        --app-vh:100svh;
      }
    }
  }
}

*{ box-sizing:border-box; }
html,body{
  height:100%;
  overscroll-behavior:none;
  touch-action:auto;
}
body{
  margin:0;
  font-family:var(--font-body);
  font-weight:400;
  letter-spacing:0.008em;
  color:var(--fg);
  background:var(--bg);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}

h1,h2,h3,h4,h5,h6{
  font-family:var(--font-display);
  font-weight:700;
  letter-spacing:0.012em;
}

button,input,select,textarea{
  font-family:var(--font-body);
}

/* Verhindert Safari-Auto-Zoom beim Antippen von Feldern (tritt unter 16px auf) */
input,select,textarea{
  font-size:max(16px,1em);
}

@media (hover:none) and (pointer:coarse){
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]):not([type="file"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
  select,
  textarea{
    font-size:16px !important;
  }
}

input[type="file"]{
  overflow:hidden;
  padding:8px;
  font-weight:400;
  line-height:1.35;
}

input[type="file"]::file-selector-button{
  appearance:none;
  -webkit-appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 16px;
  margin-right:12px;
  border-radius:16px;
  border:1px solid rgba(17,19,24,0.12);
  background-color:rgba(0,0,0,0.02);
  color:rgba(17,19,24,0.92);
  font:inherit;
  font-weight:600;
  letter-spacing:0.1px;
  cursor:pointer;
  transition:background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

input[type="file"]::-webkit-file-upload-button{
  appearance:none;
  -webkit-appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 16px;
  margin-right:12px;
  border-radius:16px;
  border:1px solid rgba(17,19,24,0.12);
  background-color:rgba(0,0,0,0.02);
  color:rgba(17,19,24,0.92);
  font:inherit;
  font-weight:600;
  letter-spacing:0.1px;
  cursor:pointer;
  transition:background-color 220ms ease, border-color 220ms ease, color 220ms ease;
}

input[type="file"]:hover::file-selector-button,
input[type="file"]:focus-visible::file-selector-button{
  background-color:rgba(17,19,24,0.88);
  border-color:rgba(17,19,24,0.88);
  color:#ffffff;
}

input[type="file"]:hover::-webkit-file-upload-button,
input[type="file"]:focus-visible::-webkit-file-upload-button{
  background-color:rgba(17,19,24,0.88);
  border-color:rgba(17,19,24,0.88);
  color:#ffffff;
}

.site-nav .nav-link,
.site-nav .mobile-link,
.cta-primary,
.cta-secondary,
.service-btn,
.footer-col-title{
  font-family:var(--font-ui);
}

.site-nav .nav-left .nav-link,
#mobileMenu .mobile-link{
  letter-spacing:0.05em;
}

.reveal-on-scroll{
  opacity:0;
  filter:blur(6px);
  transform:translate3d(0, var(--reveal-distance, 24px), 0) scale(0.99);
  transition:
    opacity 620ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 860ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 860ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay:var(--reveal-delay, 0ms);
  will-change:opacity, filter, transform;
}

.reveal-on-scroll.is-visible{
  opacity:1;
  filter:blur(0);
  transform:translate3d(0, 0, 0) scale(1);
}

@supports (-webkit-touch-callout: none) {
  @media (hover: none) and (pointer: coarse) {
    body.home-page .reveal-on-scroll{
      filter:none;
      transform:translate3d(0, var(--reveal-distance, 16px), 0);
      transition:
        opacity 460ms cubic-bezier(0.16, 1, 0.3, 1),
        transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
      will-change:opacity, transform;
    }

    body.home-page .reveal-on-scroll.is-visible{
      filter:none;
      transform:translate3d(0, 0, 0);
    }
  }
}

/* LOADING GATE: until animations finish, keep the whole page hidden and pure white */
body.is-loading{
  background:#ffffff;
}

/* Hide ALL page content except the preloader overlay */
body.is-loading > *:not(#preloader){
  opacity:0 !important;
  visibility:hidden !important;
  pointer-events:none !important;
}

/* Ensure preloader sits on pure white */
body.is-loading #preloader{
  background:#ffffff;
}

/* NAV (initially hidden; revealed by JS) */
.site-nav{
  position:fixed;
  top:0;
  left:0;
  right:0;
  z-index:1000;
  height: calc(var(--nav-h) + env(safe-area-inset-top));
  display:block;
  padding: env(safe-area-inset-top) 18px 0;
  /* Glass look (no shadow) */
  background: transparent;
  opacity:0;
  pointer-events:none;
  transition: opacity 420ms ease;
  transform: translateZ(0);
  isolation: isolate;
  overflow: visible;
  --scroll-progress:0;
}

/* Navbar glass layer (pseudo-element so nested backdrop-filter works in Chromium) */
.site-nav::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(246,248,251,0.32) 0%, rgba(246,248,251,0.2) 100%);
  border-bottom: 1px solid rgba(255,255,255,0.34);
  outline: 1px solid rgba(255,255,255,0.18);
  outline-offset: -1px;
  box-shadow:
    0 10px 24px rgba(17,19,24,0.10),
    inset 0 1px 0 rgba(255,255,255,0.42),
    inset 0 -1px 0 rgba(255,255,255,0.1);
  backdrop-filter: blur(30px) saturate(175%);
  -webkit-backdrop-filter: blur(30px) saturate(175%);
  pointer-events:none;
  z-index:-1;
  transition:
    background-color 360ms cubic-bezier(0.16, 1, 0.3, 1),
    border-bottom-color 360ms cubic-bezier(0.16, 1, 0.3, 1);
}

.site-nav::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  background:linear-gradient(90deg, rgba(17,19,24,0.12) 0%, rgba(17,19,24,0.86) 55%, rgba(17,19,24,0.12) 100%);
  transform-origin:left center;
  transform:scaleX(var(--scroll-progress));
  opacity:0.8;
  pointer-events:none;
}

.site-nav.is-scrolled::before{
  background:linear-gradient(180deg, rgba(246,248,251,0.42) 0%, rgba(246,248,251,0.28) 100%);
  border-bottom-color:rgba(17,19,24,0.12);
}
.site-nav.is-visible{
  opacity:1;
  pointer-events:auto;
}

/* iOS WebKit quirk (incl. Chrome on iPhone):
   keep fixed-nav stability tweaks, but preserve a lighter glass blur on touch iOS. */
@supports (-webkit-touch-callout: none) {
  @media (hover: none) and (pointer: coarse) {
    .site-nav{
      transform:none;
    }

    .site-nav::before{
      backdrop-filter:blur(16px) saturate(165%);
      -webkit-backdrop-filter:blur(16px) saturate(165%);
      background:linear-gradient(180deg, rgba(246,248,251,0.52) 0%, rgba(246,248,251,0.38) 100%);
      border-bottom-color:rgba(17,19,24,0.14);
      box-shadow:
        0 8px 20px rgba(17,19,24,0.10),
        inset 0 1px 0 rgba(255,255,255,0.42),
        inset 0 -1px 0 rgba(255,255,255,0.14);
    }
  }
}

.nav-inner{
  /* center the whole navbar grid within the viewport */
  width:100%;
  max-width:1100px;
  margin:0 auto;

  display:grid;
  /* 3-slot layout: left / center-logo / right -> logo stays perfectly centered */
  grid-template-columns: 1fr auto 1fr;
  align-items:center;
  height: var(--nav-h);
  column-gap: 18px;
  transform: translateY(-12px);
  transition: transform 420ms ease;
}

.site-nav.is-visible .nav-inner{
  transform: translateY(0);
}

/* Slots: links / center / rechts */
.nav-slot{
  display:flex;
  align-items:center;
  min-width:0;
}
.nav-slot-left{ justify-content:flex-start; }
.nav-slot-center{ justify-content:center; }
.nav-slot-right{ justify-content:flex-end; }

.nav-left,.nav-right{
  display:flex;
  gap:18px;
  align-items:center;
}
/* Right side icons sit closer together */
.nav-right{
  gap:8px;
}

/* Navbar base link style (prevents default blue/underline) */
.site-nav a.nav-link,
.site-nav a.mobile-link{
  color: rgba(17,19,24,0.85);
  text-decoration:none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  --nav-uline-inset: 10px;
}
.site-nav a.nav-link:hover,
.site-nav a.mobile-link:hover{
  text-decoration:none;
}

/* Navbar underline: expands from center on hover (all nav links) */
.site-nav a.nav-link::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:6px;
  height:2px;
  width:0;
  background: rgba(17,19,24,0.85);
  transform: translateX(-50%);
  transition: width 320ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events:none;
}
.site-nav a.nav-link:hover::after{
  width: calc(100% - var(--nav-uline-inset));
}

/* Desktop left nav: clean text links */
.site-nav .nav-left .nav-link{
  padding:10px 6px;
  border-radius:10px;
}

/* Mobile menu links: button-like rows on glass background */
#mobileMenu .mobile-link{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  text-align:center;

  /* more vertical breathing room */
  padding:14px 18px;

  /* remove "button" frame */
  border:0;
  background: transparent;

  transition: opacity 180ms ease;
}
#mobileMenu .mobile-link + .mobile-link{ margin-top:18px; }
#mobileMenu .mobile-link:hover{
  opacity:0.75;
}

.mobile-login-cta-wrap{
  padding: 14px 18px 20px;
  display: flex;
  justify-content: center;
}

.mobile-login-pill{
  appearance: none;
  border: 1px solid rgba(17,19,24,0.2);
  border-radius: 999px;
  min-height: 46px;
  padding: 0 18px;
  font: inherit;
  font-weight: 700;
  font-size: 15px;
  color: rgba(17,19,24,0.92);
  background: linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(245,248,252,0.88) 100%);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.mobile-login-pill img{
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.88;
}

.mobile-login-pill span{
  display: inline-block;
  line-height: 1;
}

.mobile-login-pill:hover,
.mobile-login-pill:focus-visible{
  border-color: rgba(17,19,24,0.34);
}

/* Nav buttons (CTA look) */
.site-nav .nav-right .nav-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  text-decoration:none;
  /* match logo "ink" tone */
  color: rgba(17,19,24,0.85);
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
  background: transparent !important;
  -webkit-tap-highlight-color: transparent;
  transition: background 180ms ease;
  position: relative;
  --nav-uline-inset: 22px;
}

.site-nav .nav-right button.nav-link{
  font: inherit;
  cursor: pointer;
}

/* Nav-right icon buttons (WhatsApp / Phone) */
.site-nav .nav-right .nav-link img{
  width:28px;
  height:28px;
  display:block;
  object-fit:contain;
}

@media (max-width: 1024px){
  .site-nav .nav-right .nav-link img{ width:26px; height:26px; }
}

/* Ensure nav-right CTAs never show a border/frame in any state */
.site-nav .nav-right .nav-link:focus,
.site-nav .nav-right .nav-link:focus-visible,
.site-nav .nav-right .nav-link:active,
.site-nav .nav-right .nav-link:visited{
  border:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}

.site-nav .nav-right .nav-link:hover{
  background: transparent !important;
}

.site-nav .nav-right .nav-login{
  padding-left: 12px;
  padding-right: 12px;
}

.site-nav .nav-right .nav-login img{
  width: 24px;
  height: 24px;
  opacity: 0.85;
}

/* Burger (mobile) */
.nav-burger{
  display:none;
  align-items:center;
  justify-content:flex-start;
  width:48px;
  height:48px;
  padding:0;
  margin:0;
  border:0;
  background:transparent;
  cursor:pointer;
  -webkit-tap-highlight-color: transparent;
}
.burger-lines{
  display:flex;
  flex-direction:column;
  gap:8px;
  position:relative;
  width:28px;
}
.burger-line{
  display:block;
  height:2px;
  width:28px;
  background: rgba(17,19,24,0.85);
  border-radius: 2px;
  transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1), width 260ms cubic-bezier(0.16, 1, 0.3, 1), opacity 180ms ease;
}
/* lower line a bit shorter */
.burger-line:last-child{
  width:20px;
}

/* Burger open state -> morph into X (driven by aria-expanded) */
.nav-burger[aria-expanded="true"] .burger-lines{
  width:28px;
  height:28px;
}

.nav-burger[aria-expanded="true"] .burger-line{
  position:absolute;
  left:0;
  top:50%;
  width:28px;
  transform-origin: center;
}

.nav-burger[aria-expanded="true"] .burger-line:first-child{
  transform: translateY(-50%) rotate(45deg);
}

.nav-burger[aria-expanded="true"] .burger-line:last-child{
  transform: translateY(-50%) rotate(-45deg);
}

/* Mobile layout: show burger on the left, hide desktop links */
@media (max-width: 1024px){
  /* Mobile: Burger links, Logo exakt zentriert, rechts optional (vorerst ausgeblendet) */
  .nav-left{ display:none; }
  .nav-right{ display:flex; }
  .site-nav .nav-right .nav-login{ display:none !important; }

  .nav-burger{
    display:inline-flex;
    align-self:center;
  }

  /* Grid bleibt 1fr/auto/1fr -> Logo bleibt wirklich mittig */
  .nav-slot-left{ justify-content:flex-start; }
  .nav-slot-center{ justify-content:center; }
  .nav-slot-right{ display:flex; justify-content:flex-end; }

  /* Sicherheit: Logo immer in der Mitte */
  #navLogo{
    justify-self:center;
    align-self:center;
  }
}

/* This is the target for the flying logo */
#navLogo{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  justify-self: center;
  align-self: center;
  height: var(--nav-h);
  padding: 0;
  width:auto;
  line-height: 0;
}
#navLogo img{
  height:48px;
  width:auto;
  display:block;
  /* elegant dark grey */
  filter: grayscale(1) brightness(0.25) contrast(1.05);
}

/* PAGE content */
main{
  /* top padding accounts for fixed glass navbar */
  padding: calc(48px + var(--nav-h) + env(safe-area-inset-top)) 18px 0;
  width:min(1100px,100%);
  margin:0 auto;
  opacity:0;
  visibility:hidden;
  transition: opacity 520ms ease;
}
body:not(.is-loading) main{
  opacity:1;
  visibility:visible;
  transition-delay: 120ms;
}

/* Home hero should sit directly under the fixed nav so glass blur overlays the video. */
body.home-page main{
  padding-top:0;
}

body.home-page.home-top-banner-open main{
  padding-top:var(--home-top-banner-h);
}

.hero{
  position:relative;
  min-height: calc(var(--app-vh) - var(--nav-h) - env(safe-area-inset-top));

  /* Break out of the centered/max-width layout so the background video spans full viewport width */
  width:100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  /* keep hero content below the fixed navbar */
  padding: calc(56px + var(--nav-h) + env(safe-area-inset-top)) 0 56px;
  border-bottom:1px solid var(--line);
  background: transparent;
  display:flex;
  align-items:center;
  overflow:hidden;
}

body.home-page .hero{
  min-height:var(--app-vh);
}

body.home-page.home-top-banner-open .hero{
  min-height:calc(var(--app-vh) - var(--home-top-banner-h));
}

.home-top-banner{
  position:fixed;
  top:calc(var(--nav-h) + env(safe-area-inset-top));
  left:0;
  right:0;
  z-index:920;
  background:var(--home-top-banner-bg, #111318);
  color:var(--home-top-banner-fg, #FFFFFF);
  border-bottom:1px solid rgba(255,255,255,0.18);
}

.home-top-banner[hidden]{
  display:none;
}

.home-top-banner__inner{
  position:relative;
  width:min(1100px, 100%);
  height:var(--home-top-banner-h);
  margin:0 auto;
  padding:0 18px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.home-top-banner__content{
  min-width:0;
  max-width:calc(100% - 56px);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
}

.home-top-banner__text{
  margin:0;
  flex:0 1 auto;
  min-width:0;
  font-size:13px;
  font-weight:500;
  line-height:1.2;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  text-align:center;
}

.home-top-banner__link{
  display:inline-flex;
  align-items:center;
  gap:5px;
  color:inherit;
  font-size:13px;
  font-weight:700;
  line-height:1;
  text-decoration:underline;
  text-underline-offset:2px;
  white-space:nowrap;
}

.home-top-banner__link:hover,
.home-top-banner__link:focus-visible{
  opacity:0.92;
}

.home-top-banner__link-icon{
  width:13px;
  height:13px;
  flex:0 0 13px;
  display:inline-block;
  background-color:currentColor;
  -webkit-mask-image:url('/assets/link.png');
  mask-image:url('/assets/link.png');
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-size:contain;
  mask-size:contain;
  filter:drop-shadow(0 0 0 currentColor);
}

.home-top-banner__close{
  position:absolute;
  top:50%;
  right:18px;
  transform:translateY(-50%);
  border:0;
  background:transparent;
  color:inherit;
  width:28px;
  height:28px;
  padding:0;
  border-radius:999px;
  font-size:20px;
  line-height:1;
  cursor:pointer;
  flex:0 0 28px;
}

.home-top-banner__close:hover,
.home-top-banner__close:focus-visible{
  background:rgba(255,255,255,0.16);
}

/* Fullscreen background video constrained to the hero section */
.hero-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100vw;
  max-height: var(--app-vh);
  object-fit: cover;
  object-position: center;
  z-index: 0;
  pointer-events: none;
  transform: translateZ(0);
}

@supports (-webkit-touch-callout: none){
  @media (hover:none) and (pointer:coarse){
    body.home-page .hero-video{
      transform:none !important;
      will-change:auto;
    }
  }
}


.hero-content{
  position:relative;
  z-index:2;

  /* center content a bit more */
  /* keep a consistent gutter to the viewport edges */
  width: min(820px, calc(100% - 36px));
  margin:0 auto;
  padding:30px 34px;

  /* glass frame */
  border-radius:18px;
  background: rgba(255,255,255,0.28);
  border: 1px solid rgba(255,255,255,0.38);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
}

@media (max-width: 520px){
  .hero-content{
    width: min(820px, calc(100% - 24px));
    padding:22px 18px;
    border-radius:16px;
  }
}
.hero h1{
  margin:0 0 10px;
  font-size:clamp(28px,3.2vw,44px);
  line-height:1.1;
}
.hero p{
  margin:0;
  max-width:60ch;
  color:var(--muted);
  font-size:18px;
  line-height:1.6;
}

.hero-cta,
.hero-trust{
  position:relative;
  z-index:2;
}

/* === Index: Premium CTA buttons === */
.hero-cta,
.section-cta{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

/* === CTA button styles (animated fill + text wipe) === */
.cta-primary,
.cta-secondary{
  position:relative;
  overflow:hidden;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:46px;
  padding:0 16px;
  border-radius:16px;
  text-decoration:none;
  font-weight:600;
  letter-spacing:0.1px;
  -webkit-tap-highlight-color: transparent;

  /* no lift on hover */
  transform:none;
  transition: background-color 220ms ease, border-color 220ms ease;
  z-index: 1;

  /* fill + text-wipe timing */
  --cta-fill: rgba(17,19,24,0.88);
  --cta-text: rgba(17,19,24,0.92);
}

/* fill layer (bottom -> top) */
.cta-primary::before,
.cta-secondary::before{
  content:"";
  position:absolute;
  inset:0;
  background: var(--cta-fill);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index:0;
  pointer-events:none;
}

/* text wipe (bottom -> top) via overlay text (reliable across browsers)
   Requires: each CTA has a `data-text` attribute matching its label.
*/
.cta-primary,
.cta-secondary{
  color: var(--cta-text);
}

.cta-primary::after,
.cta-secondary::after{
  content: attr(data-text);
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0 16px;
  color:#ffffff;
  z-index:2;
  pointer-events:none;

  /* hidden initially, then wipes up */
  clip-path: inset(100% 0 0 0);
  transition: clip-path 420ms cubic-bezier(0.16, 1, 0.3, 1);
}


.cta-primary{
  background-color: rgba(255,255,255,0.34);
  border: 1px solid rgba(17,19,24,0.14);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
}

.cta-secondary{
  background-color: rgba(0,0,0,0.02);
  border: 1px solid rgba(17,19,24,0.12);
}

/* CTA hover/active fill + text wipe */
.cta-primary:hover::before,
.cta-secondary:hover::before,
.cta-primary.is-tap-animating::before,
.cta-secondary.is-tap-animating::before{
  transform: scaleY(1);
}

.cta-primary:hover::after,
.cta-secondary:hover::after,
.cta-primary.is-tap-animating::after,
.cta-secondary.is-tap-animating::after{
  clip-path: inset(0 0 0 0);
}

.cta-primary:active::before,
.cta-secondary:active::before{
  transform: scaleY(1);
}

.cta-primary:active::after,
.cta-secondary:active::after{
  clip-path: inset(0 0 0 0);
}

/* Trust list under hero */
.hero-trust{
  display:flex;
  flex-wrap:wrap;
  gap:8px 18px;
  margin:20px 0 0;
  padding:0;
  list-style:none;
}
.hero-trust li{
  position:relative;
  padding-left:12px;
  color: rgba(17,19,24,0.74);
  font-size:13px;
  font-weight:500;
  line-height:1.35;
}
.hero-trust li::before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:4px;
  height:4px;
  border-radius:50%;
  background: rgba(17,19,24,0.42);
  transform:translateY(-50%);
}

@media (max-width: 1024px){
  .hero-content{
    text-align:center;
  }

  .home-top-banner__inner{
    padding:0 10px;
  }

  .home-top-banner__content{
    max-width:calc(100% - 46px);
    gap:10px;
  }

  .home-top-banner__text{
    font-size:12px;
  }

  .home-top-banner__link{
    font-size:12px;
  }

  .home-top-banner__close{
    right:10px;
  }

  .hero p{
    margin:0 auto;
    max-width:42ch;
  }

  .hero-cta{
    width:100%;
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:10px;
  }

  .hero-cta .cta-primary,
  .hero-cta .cta-secondary{
    min-width:0;
    width:100%;
    height:44px;
    padding:0 10px;
    font-size:14px;
  }

  .hero-cta .cta-primary::after,
  .hero-cta .cta-secondary::after{
    padding:0 10px;
  }

  .hero-trust{
    justify-content:center;
    margin-top:16px;
  }
}

/* === Homepage slideshow: which-one image sequence with swipe === */
.whichone{
  position: relative;
  /* Break out of centered layout so fullscreen media spans viewport width */
  width:100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.whichone__pin{
  height: var(--app-vh);
  width: 100%;
  position: relative;
  overflow: hidden;
  background: var(--bg);
}

/* Solid backdrop layer under the media (extra safety for Safari/compositing) */
.whichone__pin::before{
  content:"";
  position:absolute;
  inset:0;
  background: var(--bg);
  z-index: 0;
  pointer-events:none;
}

/* Soften the transition below the media to avoid a hard visual cut on mobile Safari. */
.whichone__pin::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:clamp(54px, 9vh, 120px);
  background:linear-gradient(180deg, rgba(255,255,255,0) 0%, var(--bg) 100%);
  pointer-events:none;
  z-index:2;
}

.whichone__picture{
  display:block;
  width:100%;
  height:100%;
}

.whichone__sequence{
  width:100%;
  height:100%;
  position:relative;
  overflow:hidden;
  touch-action:pan-y pinch-zoom;
  user-select:none;
  -webkit-user-select:none;
}

.whichone__track{
  display:flex;
  width:100%;
  height:100%;
  transform:translate3d(0, 0, 0);
  transition:transform var(--whichone-slide-duration, 560ms) cubic-bezier(0.22, 1, 0.36, 1);
  will-change:transform;
}

.whichone__track.is-dragging{
  transition:none;
}

.whichone__frame{
  position:relative;
  inset:auto;
  flex:0 0 100%;
  width:100%;
  height:100%;
}

.whichone__frame.is-active{
  pointer-events:auto;
}

.whichone__img{
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform;
  position: relative;
  z-index: 1;
}

.whichone__overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 6vw 10vh;
  pointer-events: none;
  z-index: 2;
}

.whichone__kicker{
  margin: 0;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.28);
  border: 1px solid rgba(255,255,255,0.38);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  color: rgba(17,19,24,0.85);
  font-weight: 600;
  letter-spacing: 0.1px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.10);
  opacity: 0;
  transform: translateY(14px);
  will-change: opacity, transform;
}

/* === Index: Premium section cards === */
.chooser,
.test-ride,
.usps,
.about-teaser,
.location{
  padding:46px 0;
  /* border moves to the full-bleed backdrop below */
  border-bottom:0;
  background: transparent;
  position: relative;
  z-index: 1;
}

.chooser p,
.test-ride p,
.about-teaser p{
  color: var(--muted);
  line-height:1.6;
  max-width:72ch;
}

.about-teaser{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(260px, 520px);
  column-gap:22px;
  row-gap:12px;
  align-items:center;
}

.about-teaser > h2,
.about-teaser > p,
.about-teaser > .section-cta{
  grid-column:1;
}

.about-teaser__media{
  grid-column:2;
  grid-row:1 / span 3;
  margin:0;
  border:1px solid rgba(17,19,24,0.12);
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,0.28);
  box-shadow:0 16px 36px rgba(17,19,24,0.12);
}

.about-teaser__media img{
  display:block;
  width:100%;
  height:100%;
  min-height:260px;
  object-fit:cover;
}

.chooser-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
  margin-top:18px;
}
@media (max-width: 1024px){
  .chooser-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .chooser{
    padding-top:18px;
  }

  .about-teaser{
    grid-template-columns:1fr;
    row-gap:14px;
  }

  .about-teaser > h2,
  .about-teaser > p,
  .about-teaser > .section-cta,
  .about-teaser__media{
    grid-column:1;
    grid-row:auto;
  }

  .about-teaser__media img{
    min-height:220px;
  }
}
@media (max-width: 520px){
  .chooser-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap:10px;
  }

  .chooser-card{
    padding:14px;
    min-width:0;
  }

  .chooser-card h3,
  .chooser-card p{
    min-width:0;
    overflow-wrap:anywhere;
    word-break:normal;
    hyphens:auto;
  }
}

.chooser-card{
  display:block;
  padding:18px;
  border-radius:16px;
  border:1px solid rgba(17,19,24,0.10);
  background: rgba(255,255,255,0.26);
  text-decoration:none;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.chooser-card h3{
  margin:0 0 8px;
  font-size:15px;
  letter-spacing:0.1px;
  color: rgba(17,19,24,0.90);
}
.chooser-card p{
  margin:0;
  color: rgba(17,19,24,0.68);
  line-height:1.5;
  font-size:14px;
}
.chooser-card:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.32);
  border-color: rgba(17,19,24,0.14);
}

/* Steps list */
.steps{
  margin:16px 0 0;
  padding-left:18px;
  color: rgba(17,19,24,0.78);
  line-height:1.7;
}
.steps li{ margin:10px 0; }

.small{ font-size:13px; color: rgba(17,19,24,0.58); }

.test-ride-grid{
  display:grid;
  grid-template-columns:1fr;
  gap:14px;
  align-items:center;
}

.test-ride-copy{
  min-width:0;
}

.test-ride-bike{
  border:0;
  border-radius:0;
  background:transparent;
  overflow:hidden;
  min-height:280px;
  display:grid;
  place-items:end center;
  padding:0;
  contain:paint;
}

.test-ride-bike__stage{
  position:relative;
  width:100%;
  height:100%;
  min-height:260px;
  display:grid;
  place-items:center;
  overflow:hidden;
}

.test-ride-bike__stage::after{
  content:"";
  position:absolute;
  left:50%;
  bottom:12%;
  width:min(340px, 58%);
  height:30px;
  transform:translateX(-50%);
  pointer-events:none;
  background:radial-gradient(ellipse at center, rgba(17,19,24,0.24) 0%, rgba(17,19,24,0.08) 48%, rgba(17,19,24,0) 100%);
  filter:blur(2px);
}

.test-ride-bike__image{
  width:min(860px, 112%);
  max-width:112%;
  height:auto;
  display:block;
  transform:translate3d(calc(100% + clamp(90px, 12vw, 240px)), 0, 0);
  opacity:0;
  backface-visibility:hidden;
  transform-style:preserve-3d;
  will-change:transform, opacity;
  transition:
    transform 980ms cubic-bezier(0.16, 1, 0.3, 1),
    opacity 520ms ease-out;
}

.test-ride-bike__stage.is-entered .test-ride-bike__image{
  transform:translate3d(0, 0, 0);
  opacity:1;
}

@media (prefers-reduced-motion: reduce){
  .test-ride-bike__image{
    transform:none;
    opacity:1;
    animation:none !important;
  }
}

@media (min-width:1025px){
  .test-ride-grid{
    grid-template-columns:1.06fr 0.94fr;
    gap:18px;
    min-height:340px;
  }

  .test-ride-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
  }

  .test-ride-bike__stage{
    min-height:340px;
  }
}

/* USP grid */
.usp-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
  margin-top:18px;
}
@media (max-width: 1024px){
  .usp-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .usp-grid{ grid-template-columns: 1fr; }
}

.usp-card{
  padding:18px;
  border-radius:16px;
  border:1px solid rgba(17,19,24,0.10);
  background: rgba(255,255,255,0.22);
}
.usp-card h3{
  margin:0 0 8px;
  font-size:15px;
  color: rgba(17,19,24,0.90);
}
.usp-card p{
  margin:0;
  color: rgba(17,19,24,0.68);
  line-height:1.6;
  font-size:14px;
}

.usp-carousel-dots{
  display:none;
}

@media (max-width: 767px){
  .usps[data-usp-carousel-active="1"]{
    overflow:hidden;
  }

  .usps[data-usp-carousel-active="1"] .usp-grid{
    display:flex;
    grid-template-columns:none;
    gap:0;
    transform:translate3d(0, 0, 0);
    transition:transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change:transform;
    touch-action:pan-y;
  }

  .usps[data-usp-carousel-active="1"] .usp-grid.is-dragging{
    transition:none;
  }

  .usps[data-usp-carousel-active="1"] .usp-card{
    flex:0 0 100%;
    width:100%;
  }

  .usps[data-usp-carousel-active="1"] .usp-carousel-dots{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin:14px 0 0;
  }

  .usps[data-usp-carousel-active="1"] .usp-carousel-dot{
    appearance:none;
    border:0;
    padding:0;
    margin:0;
    width:8px;
    height:8px;
    border-radius:999px;
    position:relative;
    overflow:hidden;
    background:rgba(17,19,24,0.22);
    transition:
      width 260ms cubic-bezier(0.22, 1, 0.36, 1),
      transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
      background-color 220ms ease;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
  }

  .usps[data-usp-carousel-active="1"] .usp-carousel-dot:focus-visible{
    outline:2px solid rgba(17,19,24,0.55);
    outline-offset:2px;
  }

  .usps[data-usp-carousel-active="1"] .usp-carousel-dot.is-active{
    width:26px;
    transform:translateY(-1px);
    background:rgba(17,19,24,0.14);
  }

  .usps[data-usp-carousel-active="1"] .usp-carousel-dot__fill{
    position:absolute;
    inset:0;
    border-radius:inherit;
    background:rgba(17,19,24,0.7);
    transform-origin:left center;
    transform:scaleX(var(--usp-progress, 0));
  }
}

/* Location + map */
.location-grid{
  display:grid;
  grid-template-columns: 1.05fr 1.35fr;
  gap:14px;
  margin-top:18px;
  align-items:stretch;
}
@media (max-width: 1024px){
  .location-grid{ grid-template-columns: 1fr; }
}

.location-card{
  padding:18px;
  border-radius:16px;
  border:1px solid rgba(17,19,24,0.10);
  background: rgba(255,255,255,0.22);
}

/* Last content block before footer: no extra bottom gap */
.location{
  padding-bottom:0;
}
.location-card .address{ margin:10px 0 12px; line-height:1.5; }
.location-card .opening{ margin:10px 0 0; padding-left:18px; color: rgba(17,19,24,0.76); }

.map-wrap{
  position:relative;
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(17,19,24,0.10);
  background: rgba(255,255,255,0.18);
  min-height:var(--map-min-height, 340px);
  box-shadow:0 16px 34px rgba(17,19,24,0.08);
}

.map-wrap--contact{
  --map-min-height:260px;
  margin-top:14px;
}

.map-wrap--compact{
  --map-min-height:180px;
  border-radius:14px;
}

.map-wrap--compact .map-consent{
  padding:14px;
  gap:8px;
}

.map-wrap--compact .map-consent p{
  font-size:13px;
  line-height:1.45;
}

.map-wrap--compact .map-consent .small{
  font-size:12px;
}

.map-wrap--compact .map-consent .cta-secondary{
  min-height:38px;
  padding:0 12px;
  font-size:13px;
}

.legal-map-wrap{
  max-width:760px;
}

.about-map-wrap{
  --map-min-height:250px;
}
.map-embed{
  position:absolute;
  inset:0;
  z-index:1;
}
.map-embed iframe{
  width:100%;
  height:100%;
  border:0;
  display:block;
}

.map-consent{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:10px;
  padding:22px;
  text-align:center;
  background: rgba(255,255,255,0.40);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  z-index:2;
}
.map-consent p{ margin:0; }

.map-consent[hidden],
.map-embed[hidden]{
  display:none !important;
}

/* BRANDS */
.brands{
  padding:42px 0 10px;
  /* border moves to the full-bleed backdrop below */
  background: transparent;
  position: relative;
  z-index: 1;
}

/* Full-bleed section backdrop so the fixed hero video is fully covered while scrolling */
.chooser::before,
.test-ride::before,
.usps::before,
.about-teaser::before,
.location::before,
.brands::before{
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  left:50%;
  width:100vw;
  transform:translateX(-50%);
  background: var(--bg);
  border-bottom:1px solid var(--line);
  z-index:0;
  pointer-events:none;
}


/* Keep section content above the full-bleed backdrop */
.chooser > *,
.test-ride > *,
.usps > *,
.about-teaser > *,
.location > *,
.brands > *{
  position: relative;
  z-index: 1;
}
.brands h2{
  margin:0 0 14px;
  font-size:20px;
  letter-spacing:0.2px;
}
.brands p{
  margin:0 0 22px;
  color:var(--muted);
  line-height:1.6;
  max-width:70ch;
}
.brand-grid{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:14px;
}
.brand-grid .brand-card{
  flex:0 1 calc((100% - (14px * 7)) / 8);
  max-width:calc((100% - (14px * 7)) / 8);
}
@media (max-width:1024px){
  .brand-grid .brand-card{
    flex-basis:calc((100% - (14px * 2)) / 3);
    max-width:calc((100% - (14px * 2)) / 3);
  }
}
@media (max-width:520px){
  .brand-grid .brand-card{
    flex-basis:calc((100% - 14px) / 2);
    max-width:calc((100% - 14px) / 2);
  }
}
.brand-card{
  display:grid;
  place-items:center;
  padding:18px;
  border:1px solid var(--line);
  background:rgba(0,0,0,0.02);
  border-radius:14px;
  text-decoration:none;
  min-height:96px;

  /* CTA-like fill transition */
  position:relative;
  overflow:hidden;
  isolation:isolate;

  transition:transform 180ms ease, border-color 180ms ease;
}

/* fill layer (bottom -> top) */
.brand-card::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(17,19,24,0.88);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1);
  z-index:0;
  pointer-events:none;
}

/* keep content above the fill */
.brand-card > *{
  position:relative;
  z-index:1;
}

.brand-card:hover{
  transform:translateY(-2px);
  border-color:rgba(17,19,24,0.14);
}

.brand-card:hover::before{
  transform: scaleY(1);
}

.brand-card img{
  max-width:100%;
  max-height:42px;
  width:auto;
  height:auto;
  display:block;
  opacity:0.9;
  filter:grayscale(1) contrast(1.05);
  transition: filter 420ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease;
}

/* Make the logo appear white on dark fill */
.brand-card:hover img{
  opacity:1;
  filter: brightness(0) invert(1);
}
.brand-note{
  margin-top:14px;
  font-size:13px;
  color:rgba(17,19,24,0.55);
}

.location-card,
.map-wrap{
  transition:
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 320ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

@media (hover:hover) and (pointer:fine){
  .chooser-card:hover,
  .location-card:hover,
  .map-wrap:hover{
    transform:translateY(-4px);
    border-color:rgba(17,19,24,0.16);
    box-shadow:0 16px 34px rgba(17,19,24,0.08);
  }
}

/* FOOTER */
.site-footer{
  position:relative;
  width:100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  border-top:1px solid var(--line);
  background: var(--bg);
}

.footer-inner{
  width:min(1100px,100%);
  margin:0 auto;
  padding:28px 18px 18px;
  text-align:center;
}

.footer-grid{
  display:grid;
  grid-template-columns:minmax(0, 1.35fr) minmax(150px, 0.82fr) minmax(260px, 1fr);
  gap:24px;
  align-items:start;
}

.footer-brand{
  min-width:0;
  max-width:430px;
  justify-self:center;
}

.footer-logo{
  display:inline-flex;
  text-decoration:none;
  justify-content:center;
}

.footer-logo img{
  height:50px;
  width:auto;
  display:block;
  filter: grayscale(1) brightness(0.25) contrast(1.05);
}

.footer-col{
  display:flex;
  flex-direction:column;
  gap:8px;
  min-width:0;
  align-items:center;
  text-align:center;
}

.footer-nav,
.footer-contact{
  align-items:flex-start;
  text-align:left;
}

.footer-nav{
  justify-self:center;
}

.footer-contact{
  width:100%;
  max-width:320px;
  justify-self:end;
}

.footer-address{
  margin-top:2px;
  line-height:1.5;
  text-underline-offset:2px;
}

.footer-col-title{
  margin:0 0 2px;
  font-size:14px;
  font-weight:700;
  letter-spacing:0.1px;
  color: rgba(17,19,24,0.92);
}

.footer-text{
  margin:0;
  color:var(--muted);
  line-height:1.6;
  font-size:14px;
}

.footer-contact .footer-address{
  font-size:1rem;
}

.footer-col a,
.footer-links a,
.footer-bottom a{
  color: rgba(17,19,24,0.84);
  text-decoration:none;
}

.footer-bottom a,
.footer-bottom a:visited{
  color:rgba(17,19,24,0.66);
  font-weight:600;
}

.footer-cookie-settings{
  appearance:none;
  border:0;
  background:transparent;
  color:rgba(17,19,24,0.66);
  font:inherit;
  font-size:13px;
  font-weight:600;
  padding:0;
  margin:0;
  cursor:pointer;
  text-decoration:none;
}

.footer-col a:hover,
.footer-links a:hover,
.footer-bottom a:hover{
  text-decoration:underline;
  text-underline-offset:2px;
}

.footer-cookie-settings:hover,
.footer-cookie-settings:focus-visible{
  text-decoration:none;
}

.footer-links{
  display:flex;
  flex-direction:column;
  gap:8px;
  align-items:flex-start;
  margin-top:2px;
}

.footer-bottom{
  margin-top:18px;
  padding-top:14px;
  border-top:1px solid var(--line);
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px 14px;
}

.footer-bottom p{
  margin:0;
  font-size:13px;
  color: rgba(17,19,24,0.64);
}

/* Footer legal row must always remain visible (no reveal fade at page end). */
.site-footer .footer-bottom p.reveal-on-scroll{
  opacity:1;
  filter:none;
  transform:none;
}

.cookie-banner{
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:1450;
  width:min(460px, calc(100vw - 32px));
  border:1px solid rgba(17,19,24,0.16);
  border-radius:16px;
  background:rgba(255,255,255,0.96);
  box-shadow:0 18px 44px rgba(12,18,28,0.24);
  padding:14px;
  display:grid;
  gap:10px;
}

.cookie-banner[hidden]{
  display:none;
}

.cookie-banner__title{
  margin:0;
  font-size:16px;
  font-weight:700;
  color:#111318;
}

.cookie-banner__text{
  margin:0;
  font-size:14px;
  line-height:1.55;
  color:rgba(17,19,24,0.78);
}

.cookie-banner__actions{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.cookie-btn{
  min-height:40px;
  border-radius:12px;
  border:1px solid rgba(17,19,24,0.18);
  padding:0 12px;
  font:inherit;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
}

.cookie-btn--primary{
  background:#111318;
  color:#fff;
  border-color:#111318;
}

.cookie-btn--ghost{
  background:#fff;
  color:#111318;
}

.cookie-modal{
  position:fixed;
  inset:0;
  z-index:1500;
}

body.cookie-modal-open{
  overflow:hidden;
}

.cookie-modal[hidden]{
  display:none;
}

.cookie-modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,9,14,0.52);
}

.cookie-modal__panel{
  position:relative;
  margin:calc(var(--nav-h) + 18px) auto 20px;
  width:min(640px, calc(100vw - 32px));
  max-height:calc(100vh - var(--nav-h) - 38px);
  overflow:auto;
  border-radius:16px;
  border:1px solid rgba(17,19,24,0.14);
  background:#fff;
  box-shadow:0 24px 58px rgba(8,14,24,0.33);
  padding:18px;
}

.cookie-modal__close{
  position:absolute;
  top:12px;
  right:12px;
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid rgba(17,19,24,0.18);
  background:#fff;
  color:#111318;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}

.cookie-modal__eyebrow{
  margin:0;
  font-size:12px;
  letter-spacing:0.1em;
  text-transform:uppercase;
  color:rgba(17,19,24,0.58);
}

.cookie-modal h2{
  margin:8px 0 14px;
  font-size:clamp(26px, 3vw, 34px);
  line-height:1.15;
}

.cookie-toggle{
  border:1px solid rgba(17,19,24,0.10);
  border-radius:12px;
  padding:12px;
  margin-top:10px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
}

.cookie-toggle h3{
  margin:0;
  font-size:16px;
}

.cookie-toggle p{
  margin:6px 0 0;
  font-size:13px;
  line-height:1.5;
  color:rgba(17,19,24,0.70);
}

.cookie-toggle input[type="checkbox"]{
  margin-top:2px;
  width:18px;
  height:18px;
}

.cookie-modal__legal{
  margin:12px 0 0;
  font-size:13px;
  color:rgba(17,19,24,0.72);
}

.cookie-modal__legal a{
  color:#0b4f94;
}

.cookie-modal__actions{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.home-popup{
  position:fixed;
  inset:0;
  z-index:1700;
  padding:calc(var(--nav-h) + 14px) 14px 16px;
  display:grid;
  place-items:center;
}

.home-popup[hidden]{
  display:none;
}

body.home-popup-open{
  overflow:hidden;
}

.home-popup__backdrop{
  position:absolute;
  inset:0;
  background:rgba(7, 12, 20, 0.58);
  backdrop-filter:blur(5px);
  -webkit-backdrop-filter:blur(5px);
}

.home-popup__dialog{
  position:relative;
  width:min(580px, calc(100vw - 28px));
  max-height:calc(100vh - var(--nav-h) - 30px);
  overflow:auto;
  border-radius:18px;
  border:1px solid rgba(255, 255, 255, 0.36);
  outline:1px solid rgba(255, 255, 255, 0.26);
  outline-offset:-1px;
  background:linear-gradient(160deg, rgba(255, 255, 255, 0.74), rgba(245, 250, 255, 0.48));
  box-shadow:0 26px 66px rgba(8, 14, 24, 0.38);
  backdrop-filter:blur(22px) saturate(170%);
  -webkit-backdrop-filter:blur(22px) saturate(170%);
  padding:16px;
  display:grid;
  gap:12px;
}

.home-popup__close{
  position:absolute;
  top:10px;
  right:10px;
  width:36px;
  height:36px;
  border-radius:12px;
  border:1px solid rgba(255, 255, 255, 0.62);
  background:linear-gradient(140deg, rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.24));
  box-shadow:0 10px 24px rgba(8, 14, 24, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.68);
  backdrop-filter:blur(12px) saturate(175%);
  -webkit-backdrop-filter:blur(12px) saturate(175%);
  color:rgba(17, 19, 24, 0.88);
  font-size:24px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0;
  cursor:pointer;
  transition:transform 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.home-popup__close:hover{
  transform:translateY(-1px);
  background:linear-gradient(140deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.30));
  border-color:rgba(255, 255, 255, 0.76);
  box-shadow:0 14px 28px rgba(8, 14, 24, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.home-popup__close:focus-visible{
  outline:2px solid rgba(11, 79, 148, 0.55);
  outline-offset:2px;
}

.home-popup__media{
  margin:0;
}

.home-popup__media img{
  display:block;
  width:100%;
  height:auto;
  max-height:min(42vh, 320px);
  object-fit:cover;
  border-radius:14px;
  border:1px solid rgba(17, 19, 24, 0.12);
}

.home-popup__dialog h2{
  margin:0;
  font-size:clamp(24px, 4vw, 34px);
  line-height:1.14;
}

.home-popup__message{
  margin:0;
  font-size:16px;
  line-height:1.65;
  color:rgba(17, 19, 24, 0.84);
}

.home-popup__actions{
  margin-top:8px;
  padding-top:12px;
  border-top:1px solid rgba(17, 19, 24, 0.10);
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
}

.home-popup__actions .cta-primary,
.home-popup__actions .cta-secondary{
  min-width:140px;
}

@media (max-width: 1024px){
  .map-wrap--contact{
    --map-min-height:220px;
  }

  .about-map-wrap{
    --map-min-height:210px;
  }

  .map-wrap--compact{
    --map-min-height:168px;
  }

  .footer-inner{
    padding:24px 14px 16px;
  }

  .footer-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .footer-brand{
    grid-column:auto;
  }

  .footer-nav{
    grid-column:auto;
    justify-self:center;
    align-items:center;
    text-align:center;
  }

  .footer-contact{
    grid-column:auto;
    justify-self:center;
    align-items:center;
    text-align:center;
    width:min(340px, 100%);
  }

  .footer-address{
    margin:6px auto 0;
  }

  .footer-links{
    align-items:center;
  }

  .footer-logo img{
    height:46px;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:center;
  }

  .cookie-banner{
    right:10px;
    left:10px;
    width:auto;
    bottom:10px;
    padding:12px;
  }

  .cookie-modal__panel{
    margin:calc(var(--nav-h) + 10px) auto 10px;
    width:calc(100vw - 20px);
    max-height:calc(100vh - var(--nav-h) - 20px);
    padding:14px;
  }

  .home-popup{
    padding:calc(var(--nav-h) + 8px) 10px 10px;
  }

  .home-popup__dialog{
    width:calc(100vw - 20px);
    max-height:calc(100vh - var(--nav-h) - 16px);
    border-radius:14px;
    padding:12px;
  }

  .home-popup__close{
    top:8px;
    right:8px;
    width:34px;
    height:34px;
    border-radius:10px;
    font-size:22px;
  }
}

/* PRELOADER overlay */
#preloader{
  position:fixed;
  inset:0;
  background:#ffffff;
  display:grid;
  place-items:center;
  z-index:9999;
  overflow:hidden;
}

.preloader-stage{
  position:relative;
  width:min(1100px,92vw);
  height:min(520px,65vh);
}

/* cyclist path */
#lottieCyclist{
  position:absolute;
  left:-220px;
  bottom:16%;
  width:220px;
  height:220px;
  transform:translateX(0);
  opacity:1;
}


.road{
  position:absolute;
  left:-10%;
  right:-10%;
  bottom:18%;
  height:2px;
  background:linear-gradient(90deg, transparent, rgba(17,19,24,0.22), transparent);
  opacity:0.45;
}

/* Mobile menu glass background (when burger opens) */
#mobileMenu{
  position:fixed;
  left:0;
  right:0;

  /* start directly UNDER the fixed navbar so it doesn't cover it */
  top: calc(var(--nav-h) + env(safe-area-inset-top));

  /* sit under the navbar */
  z-index: 999;

  /* element stays transparent; glass/blur lives on ::before for better browser support */
  background: transparent;
  border:0;
  outline:0;

  /* stable stacking context */
  isolation: isolate;
  overflow: visible;
}

#mobileMenu::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(255,255,255,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.45);
  outline: 1px solid rgba(255,255,255,0.28);
  outline-offset: -1px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);

  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);

  pointer-events:none;
  z-index:0;

  /* help Safari/Chrome compose the blur layer */
  transform: translateZ(0);
  will-change: backdrop-filter;
}

/* Keep mobile menu content above the glass layer */
#mobileMenu > *{
  position: relative;
  z-index: 1;
}


/* If your mobile menu uses a different class name, this provides the same look */
.mobile-menu,
.nav-mobile{
  background: rgba(255,255,255,0.55);
  border-top: 1px solid rgba(255,255,255,0.45);
  outline: 1px solid rgba(255,255,255,0.28);
  outline-offset: -1px;
  box-shadow:none;
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
}

body.customer-login-open{
  overflow: hidden;
}

body.customer-login-open > *:not(.customer-login-modal){
  filter: none;
  transition: none;
}

.customer-login-modal{
  position: fixed;
  inset: 0;
  z-index: 1900;
  padding: max(14px, env(safe-area-inset-top))
    max(14px, env(safe-area-inset-right))
    max(14px, env(safe-area-inset-bottom))
    max(14px, env(safe-area-inset-left));
  display: grid;
  place-items: center;
}

.customer-login-modal[hidden]{
  display: none;
}

.customer-login-modal__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(8,11,16,0.34);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.customer-login-modal__dialog{
  position: relative;
  width: min(420px, calc(100vw - 26px));
  border-radius: 20px;
  border: 1px solid rgba(17,19,24,0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(248,250,253,0.96) 100%);
  box-shadow: 0 24px 64px rgba(10,14,22,0.34);
  padding: 18px;
}

.customer-login-modal__close{
  appearance: none;
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(17,19,24,0.2);
  background: rgba(255,255,255,0.85);
  color: rgba(17,19,24,0.84);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.customer-login-modal__eyebrow{
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(17,19,24,0.6);
}

.customer-login-modal__dialog h2{
  margin: 0;
  font-size: 30px;
  line-height: 1.06;
}

.customer-login-form{
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.customer-login-form label{
  display: grid;
  gap: 6px;
  font-weight: 600;
  color: rgba(17,19,24,0.9);
}

.customer-login-form input{
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(17,19,24,0.18);
  border-radius: 13px;
  background: #fff;
  padding: 10px 12px;
  font: inherit;
  color: #111318;
}

.customer-login-form__error{
  margin: 0;
  color: #8b1028;
  font-size: 14px;
  font-weight: 600;
}

.customer-login-form__submit{
  appearance: none;
  border: 1px solid rgba(17,19,24,0.14);
  border-radius: 999px;
  min-height: 46px;
  padding: 0 16px;
  background: #111318;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.customer-login-form__submit:disabled{
  opacity: 0.65;
  cursor: not-allowed;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce){
  #preloader{ display:none !important; }
  .site-nav{ opacity:1; transform:none; pointer-events:auto; }
  .site-nav::after{ display:none; }
  .reveal-on-scroll{
    opacity:1 !important;
    filter:none !important;
    transform:none !important;
    transition:none !important;
  }
}
