/* Bandenhotel Hedel – stylesheet */
:root {
  --navy: #0031a0;
  --navy-dark: #1b1464;
  --blue: #0071bc;
  --yellow: #fcee21;
  --red: #ed1c24;
  --ink: #1d2433;
  --muted: #5b6475;
  --bg-alt: #f2f5fb;
  --radius: 10px;
  --wrap: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: Lato, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
}
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--navy); }
h1, h2, h3 { line-height: 1.2; color: var(--navy); }
h2 { font-size: 2rem; margin: 0 0 1.5rem; }
h3 { font-size: 1.2rem; margin: 1.5rem 0 .4rem; }
p { margin: 0 0 .8rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* Topbar */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.logo img { display: block; width: 190px; }
.nav { display: flex; gap: 6px; flex-wrap: wrap; }
.nav a {
  text-decoration: none; font-weight: 700; font-size: .95rem;
  color: #fff; background: var(--navy);
  padding: 8px 16px; border-radius: 6px;
}
.nav a:hover, .nav a:focus-visible { background: var(--blue); color: #fff; }

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  display: flex; align-items: center;
  background: var(--navy-dark) url("../images/winter-tyres.jpg") center / cover no-repeat;
  padding: 60px 0 80px;
}
.hero__inner { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; width: 100%; }
.hero__card {
  background: var(--yellow);
  border-radius: var(--radius);
  padding: 28px 32px;
  max-width: 520px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.hero__card h1 {
  margin: -28px -32px 20px; padding: 18px 32px;
  background: #fff; border-radius: var(--radius) var(--radius) 0 0;
  font-size: 1.9rem;
}
.hero__card p { margin-bottom: .4rem; color: var(--navy-dark); }
.notice {
  background: var(--red); color: #fff; font-weight: 700;
  padding: 14px 18px; border-radius: 6px; max-width: 260px;
  transform: rotate(-8deg);
  box-shadow: 0 6px 18px rgba(0,0,0,.3);
  margin: 0 0 20px;
}
.hero__down {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  background: rgba(127,127,127,.85); color: #fff; text-decoration: none;
  font-size: 28px; line-height: 1; padding: 2px 22px 10px; border-radius: 6px 6px 0 0;
}

/* Sections */
.section { padding: 70px 0; }
.section--alt { background: var(--bg-alt); }

.features { display: grid; gap: 36px; }
.feature { display: grid; grid-template-columns: 112px 1fr; gap: 28px; align-items: start; }
.feature h3 { margin-top: 8px; }

.tyres { text-align: center; padding: 10px 0 20px; }

.grid2 { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }

.prices { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.prices th, .prices td { padding: 14px 18px; border-bottom: 1px solid #e3e8f2; text-align: left; }
.prices tr:last-child th, .prices tr:last-child td { border-bottom: 0; }
.prices th { font-weight: 400; }
.prices td { font-weight: 700; white-space: nowrap; color: var(--navy); }
.small { font-size: .9rem; color: var(--muted); margin-top: .6rem; }

.btn {
  display: inline-block; text-decoration: none; font-weight: 700;
  background: var(--navy); color: #fff; padding: 10px 18px; border-radius: 6px;
}
.btn:hover { background: var(--blue); color: #fff; }
.btn--ghost { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* Voorwaarden-pagina */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.25rem; margin: 2rem 0 .5rem; }
.legal ol { padding-left: 1.4rem; margin: 0 0 .8rem; }
.legal li { margin-bottom: .35rem; }
.legal .meta { color: var(--muted); font-size: .95rem; }
.back { display: inline-block; margin-bottom: 1rem; }

.info { background: #fff; border-radius: var(--radius); padding: 8px 28px 20px; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.info__icon { float: right; width: 72px; margin: 18px 0 0 12px; }
.info h3 { clear: none; }

/* Footer */
.footer { background: var(--navy-dark); color: #dfe4f5; font-size: .95rem; padding: 32px 0; }
.footer a { color: #fff; }
.footer__inner { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }

/* Mobiel */
@media (max-width: 800px) {
  html { scroll-padding-top: 130px; }
  .topbar__inner { flex-direction: column; gap: 6px; }
  .logo img { width: 150px; }
  .nav a { padding: 6px 12px; font-size: .9rem; }
  .hero { min-height: 0; padding: 40px 0 70px; }
  .hero__inner { flex-direction: column; align-items: stretch; }
  .hero__card { padding: 22px; }
  .hero__card h1 { margin: -22px -22px 16px; padding: 16px 22px; font-size: 1.5rem; }
  .notice { max-width: none; transform: none; }
  .feature { grid-template-columns: 72px 1fr; gap: 18px; }
  .feature img { width: 72px; }
  .grid2 { grid-template-columns: 1fr; gap: 32px; }
  h2 { font-size: 1.6rem; }
}
