/* ========== Base ========== */
:root{
  --bg: #070707;
  --panel: #0f0f10;
  --panel2:#111214;
  --text: #ffffff;
  --muted: #c9c9c9;

  --red: #d40000;
  --yellow: #ffd400;
  --white: #ffffff;
  --black: #000000;

  --border: rgba(255,255,255,0.10);
  --shadow: 0 10px 30px rgba(0,0,0,0.55);

  --radius: 16px;
  --maxw: 1100px;
}

*{ box-sizing: border-box; }
html{
  min-height: 100%;
  background: radial-gradient(1200px 700px at 20% -10%, rgba(212,0,0,0.20), transparent 55%),
              radial-gradient(900px 600px at 90% 10%, rgba(255,212,0,0.12), transparent 60%),
              var(--bg);
  background-attachment: fixed; /* voorkomt “meeschuiven/herstart” gevoel */
}

body{
  margin:0;
  min-height: 100%;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.45;
  background: transparent;
}

a{ color: inherit; text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  width: min(var(--maxw), calc(100% - 32px));
  margin: 0 auto;
}

.sr-only{
  position:absolute;
  width:1px;height:1px;
  padding:0;margin:-1px;
  overflow:hidden;clip:rect(0,0,0,0);
  border:0;
}

.section-title{
  margin:10px 0 8px;
  font-size: clamp(22px, 2.4vw, 30px);
  letter-spacing: 0.2px;
}

.muted{ color: var(--muted); }

/* ========== Header / Nav ========== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7,7,7,0.70);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-wrap{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  min-width: 0;
}

.brand:hover,
.brand:focus,
.brand:active{
  text-decoration: none !important;
}
.brand__text{
  text-decoration: none !important;
}


.brand__text{
  font-weight: 800;
  letter-spacing: 0.3px;
  font-size: 18px;
  white-space: nowrap;
}

.brand__ducati{
  width: 35px;
  height: auto;
  display:block;
  filter: drop-shadow(0 8px 12px rgba(0,0,0,0.45));
}

.nav{
  display:flex;
  align-items:center;
  gap: 10px;
}

.nav__link{
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid transparent;
  color: var(--text);
  font-weight: 650;
  font-size: 18px;
  opacity: 0.95;
}
.nav__link:hover{
  border-color: var(--border);
  background: rgba(255,255,255,0.06);
  text-decoration:none;
}
.nav__link--home{
  display:flex;
  align-items:center;
  justify-content:center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: linear-gradient(180deg, rgba(212,0,0,0.25), rgba(212,0,0,0.05));
  border-color: rgba(212,0,0,0.35);
}
.home-icon{ font-size: 18px; line-height: 1; }

.nav__link--mobilehome{
  display: none;
}

@media (max-width: 760px){
  .nav__link--mobilehome{
    display: block;
  }
}

.nav-toggle{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle__bar{
  display:block;
  width: 18px;
  height: 2px;
  background: var(--text);
  margin: 4px auto;
  opacity: 0.9;
}

/* ========== Hero video ========== */
.hero{
  position: relative;
  height: clamp(420px, 62vh, 720px);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #000;              /* <-- toevoegen (voorkomt ‘balkjes’/seams) */
}

.hero__video{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;                 /* <-- toevoegen (video is dan geen inline element) */
  object-fit: cover;
  object-position: center;
  transform: translateZ(0) scale(1.05);  /* <-- ietsje meer + GPU hint */
  -webkit-transform: translateZ(0) scale(1.05);
}


.hero__overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,0.78), rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.55)),
    radial-gradient(900px 600px at 20% 20%, rgba(212,0,0,0.25), transparent 55%),
    radial-gradient(900px 600px at 70% 10%, rgba(255,212,0,0.13), transparent 55%);
}

.hero__content{
  position: relative;
  height: 100%;
  display:flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px 0;
}

.hero__title{
  margin:0;
  font-size: clamp(26px, 3.45vw, 46px);
  line-height: 1.05;
  letter-spacing: -0.6px;
  text-shadow: 0 14px 40px rgba(0,0,0,0.65);
}

.hero__subtitle{
  margin-top: 8px;
  max-width: 48ch;
  color: rgba(255,255,255,0.90);
  font-size: clamp(15px, 2vw, 18px);
}

.hero__stack{
  display: inline-block; /* knop kan nu dezelfde “content width” krijgen als titel */
  max-width: 100%;
}
.hero__cta{
  width: 100%;
}

/* ========== Buttons ========== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 750;
  letter-spacing: 0.2px;
  transition: transform .08s ease, background .15s ease, border-color .15s ease, opacity .15s ease;
  user-select: none;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: linear-gradient(180deg, rgba(212,0,0,1), rgba(170,0,0,1));
  border-color: rgba(255,255,255,0.12);
  color: #fff;
  <!--
  box-shadow: 0 12px 30px rgba(212,0,0,0.25);
  -->
}
.btn--primary:hover{ opacity: 0.95; text-decoration:none; }

.hero .btn{
  width: fit-content;
  min-width: 0;
}

.hero__content .btn--primary{
  width: min(100%, max-content);
}

@media (min-width: 500px){
  .hero__content .btn--primary{
    width: auto;
  }
}

.btn--ghost{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: #fff;
}
.btn--ghost:hover{
  background: rgba(255,255,255,0.10);
  text-decoration:none;
}

/* ========== Sections ========== */
.intro{
  padding: 0px 0 10px;
}

.intro__text{
  margin: 0;
  max-width: 70ch;
  color: rgba(255,255,255,0.88);
}

/* Intro: tekst links, aanhanger rechts */
.intro__grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: center;
}

.intro__media{
  display:flex;
  justify-content: flex-end;
}

.intro__media img{
  width: min(364px, 100%); /* 520 * 0.7 = 364px (30% kleiner) */
  height: auto;
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

/* Belangrijk: verberg de aanhanger zodra menu hamburger wordt (iPhone) */
@media (max-width: 760px){
  .intro__grid{
    grid-template-columns: 1fr;
  }
  .intro__media{
    display:none;
  }
}


/* ========== Offer slider ========== */
.offer{
  padding: 26px 0 44px;
  border-top: 1px solid var(--border);
}

.offer__head{
  display:flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.offer__slider{
  position: relative;
  display:grid;
  grid-template-columns: 52px 1fr 52px;
  gap: 12px;
  align-items:center;
}

.slider{
  display:flex;
  gap: 16px;
  overflow-x: auto;
  padding: 10px 4px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.25) transparent;
}
.slider::-webkit-scrollbar{ height: 10px; }
.slider::-webkit-scrollbar-track{ background: transparent; }
.slider::-webkit-scrollbar-thumb{
  background: rgba(255,255,255,0.22);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.slider-btn{
  width: 52px;
  height: 52px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  font-size: 26px;
  cursor:pointer;
  box-shadow: var(--shadow);
}
.slider-btn:hover{ background: rgba(255,255,255,0.10); }

.card{
  scroll-snap-align: start;
  min-width: min(320px, 82vw);
  max-width: 360px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.card__media{
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0a0a0a;
}
.card__media img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
  filter: contrast(1.03) saturate(1.05);
}

.badge{
  position:absolute;
  top: 12px;
  left: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(212,0,0,0.92);
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 800;
  font-size: 12px;
}
.badge--yellow{
  background: rgba(255,212,0,0.95);
  color: #111;
}

.card__body{
  padding: 14px 14px 16px;
  display:flex;
  flex-direction: column;
  gap: 10px;
}

.card__title{
  margin:0;
  font-size: 18px;
  letter-spacing: 0.1px;
}

.specs{
  margin:0;
  padding: 10px 12px;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 12px;
}
.specs__row{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
}
.specs__row + .specs__row{
  border-top: 1px solid rgba(255,255,255,0.08);
}
.specs dt{
  font-weight: 750;
  color: rgba(255,255,255,0.9);
}
.specs dd{
  margin:0;
  color: rgba(255,255,255,0.85);
}

/* ========== About / Contact ========== */
.about, .contact{
  padding: 25px 0;
  border-top: 1px solid var(--border);
}

.contact__grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-top: 10px;
}

.contact__card{
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.form{
  display:grid;
  gap: 10px;
  margin-top: 10px;
}
.form-row{
  display:grid;
  grid-template-columns: 200px 1fr;
  gap: 12px;
  align-items: center;
}
.form-row label{
  display:block;
  margin:0;
  font-weight: 650;
  color: rgba(255,255,255,0.92);
}
.form-row--message{
  align-items: start;
}
.form-row--message textarea{
  min-height: 110px;
}
.is-hidden{ display:none !important; }

@media (max-width: 640px){
  .form-row{
    grid-template-columns: 1fr;
    gap: 6px;
  }
}
/* label styling moved to .form-row label */
input, textarea{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: var(--text);
  padding: 10px 12px;
  outline: none;
}
input:focus, textarea:focus{
  border-color: rgba(255,212,0,0.55);
  box-shadow: 0 0 0 3px rgba(255,212,0,0.15);
}

select{
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(0,0,0,0.35);
  color: var(--text);
  padding: 10px 12px;
  outline: none;
}

select:focus{
  border-color: rgba(255,212,0,0.55);
  box-shadow: 0 0 0 3px rgba(255,212,0,0.15);
}

.list{
  margin: 10px 0 0;
  padding-left: 18px;
}
.list li{ margin: 8px 0; }

/* ========== Footer ========== */
.site-footer{
  margin-top: 30px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.35);
}

.footer__top{
  padding: 22px 0;
  display:flex;
  align-items:flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.footer__title{
  font-weight: 900;
  letter-spacing: 0.2px;
}
.footer__cols{
  display:flex;
  gap: 26px;
  flex-wrap: wrap;
}
.footer__label{
  color: rgba(255,255,255,0.78);
  font-weight: 800;
  margin-bottom: 6px;
}
.footer__col{ min-width: 180px; }

.footer__bottom{
  padding: 14px 0 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display:flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.78);
}

/* ========== Responsive ========== */
@media (max-width: 900px){
  .contact__grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px){
  .nav-toggle{ display: inline-block; }

  .nav{
    position: absolute;
    right: 16px;
    top: 68px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    width: min(320px, calc(100vw - 32px));
    padding: 10px;
    border-radius: 16px;
    border: 1px solid var(--border);
    background: rgba(10,10,10,0.92);
    box-shadow: var(--shadow);
  }
  .nav--open{ display:flex; }

  .nav__link{
    border-radius: 14px;
    padding: 12px 12px;
  }
  .nav__link--home{
    width: 100%;
    height: auto;
    justify-content: flex-start;
    padding: 12px 12px;
  }

  .offer__slider{
    grid-template-columns: 1fr;
  }
  .slider-btn{
    display:none; /* op mobiel swipe je */
  }
}

/* ===== Intro image behavior (force correct) ===== */

/* Default: desktop/tablet (iPad) -> tekst links, plaatje rechts */
.intro__grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: center;
}

.intro__media{
  display: flex;
  justify-content: flex-end;
}

.intro__media img{
  width: min(364px, 100%); /* 30% kleiner */
  height: auto;
  display: block;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

/* Mobile (hamburger menu): verberg plaatje + 1 kolom */
@media (max-width: 760px){
  .intro__grid{
    grid-template-columns: 1fr;
  }

  /* extra specific zodat hij NOOIT alsnog zichtbaar wordt */
  .intro .intro__media{
    display: none !important;
  }
}

/* iOS fix: date inputs mogen nooit breder worden dan hun kolom */
input[type="date"]{
  box-sizing: border-box;
  max-width: 100%;
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
}

/* extra safe: alle form controls binnen de form-row mogen niet 'overflowen' */
.form-row > input,
.form-row > select,
.form-row > textarea{
  min-width: 0;
}

/* Aanbod titel: desktop/iPad lang, mobiel kort */
.offer-title__short{ display: none; }

@media (max-width: 760px){
  .offer-title__full{ display: none; }
  .offer-title__short{ display: inline; }
}

select{
  background: #000;
}

select option{
  background: #000;
  color: #fff;
}

@media (max-width: 760px){
  .offer__head{
    flex-direction: column;
    align-items: flex-start;
    gap: 4px; /* was groter */
    margin-bottom: 10px;
  }

  .offer__head .muted{
    margin: 0;
    font-size: 12px;
    line-height: 1.2;
  }
}