/* Garage Tyco: licht werkplaatsgrijs, bandenzwart en het groen van "nu open". */
@font-face { font-family: "Red Hat Display"; src: url("../fonts/red-hat-display-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Red Hat Display"; src: url("../fonts/red-hat-display-900.woff2") format("woff2"); font-weight: 900; font-display: swap; }
@font-face { font-family: "Red Hat Text"; src: url("../fonts/red-hat-text-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Red Hat Text"; src: url("../fonts/red-hat-text-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Red Hat Text"; src: url("../fonts/red-hat-text-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --ground: #f4f6f3;
  --paper: #ffffff;
  --field: #e6ebe5;
  --ink: #101412;
  --ink-soft: #414a44;
  --green: #157a3c;
  --green-dark: #0f5c2d;
  --green-soft: #d6eadb;
  --on-green: #ffffff;
  --closed: #a1281f;
  --text: "Red Hat Text", "Segoe UI", Arial, sans-serif;
  --display: "Red Hat Display", "Segoe UI", Arial, sans-serif;
  --wrap: 80rem;
  --gutter: clamp(1rem, 0.6rem + 1.8vw, 2rem);
  --gap: clamp(5rem, 3.4rem + 6vw, 9.5rem);
  --step-0: 1.0625rem;
  --step-1: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);
  --step-2: clamp(1.875rem, 1.45rem + 1.8vw, 3rem);
  --step-3: clamp(1.875rem, 1.1rem + 3.4vw, 3.75rem);
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: var(--step-0); line-height: 1.55; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, table { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
::selection { background: var(--green); color: var(--on-green); }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--ink); color: var(--paper); padding: 0.75rem 1rem; text-decoration: none; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.demo-note { background: var(--ink); color: var(--ground); font-size: 1rem; line-height: 1.4; padding: 0.5rem 1rem; text-align: center; }
.demo-note a { display: inline-block; padding: 0.6875rem 0.5rem; margin: -0.6875rem -0.5rem; color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
.demo-note a:focus-visible { outline: 2px solid currentColor; outline-offset: -0.375rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Woordmerk: de o van Tyco is een band */
.brand { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: var(--ink); }
.wm { display: inline-flex; align-items: center; font-family: var(--display); font-weight: 900; font-size: 1.625rem; line-height: 1; letter-spacing: -0.02em; white-space: nowrap; }
.wm small { font-size: 1rem; font-weight: 700; letter-spacing: 0; margin-right: 0.35rem; color: var(--ink-soft); }
.wm svg { width: 0.92em; height: 0.92em; margin-left: 0.04em; }

/* Kop */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--ground); }
.header-bar { display: flex; align-items: center; gap: 0.5rem; min-height: var(--header-h); }
.main-nav { margin-left: auto; display: none; }
.nav-list { display: flex; gap: 0.25rem; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.8rem; text-decoration: none; font-weight: 500; white-space: nowrap; }
.nav-list a:hover { color: var(--green-dark); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.3em; }
.nav-list a[aria-current="page"] { color: var(--green-dark); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }
.main-nav + .header-actions { margin-left: 0; }
.head-call { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; min-width: 44px; min-height: 44px; padding: 0 0.75rem; background: var(--green); color: var(--on-green); text-decoration: none; font-weight: 700; white-space: nowrap; transition: background-color 160ms var(--ease); }
.head-call svg { width: 20px; height: 20px; flex: none; }
.head-call .label { display: none; }
.head-call:hover { background: var(--green-dark); }
.head-book { display: inline-flex; align-items: center; min-height: 44px; padding: 0 0.75rem; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 700; white-space: nowrap; transition: background-color 160ms var(--ease); }
.head-book:hover { background: #26302b; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; padding: 0; cursor: pointer; }
.menu-toggle svg { width: 26px; height: 26px; }
.menu-toggle [hidden] { display: none; }
.mobile-nav { padding-bottom: 1rem; }
.mobile-nav ul { display: grid; gap: 0.125rem; }
.mobile-nav a { display: flex; align-items: center; min-height: 48px; text-decoration: none; font-size: 1.375rem; font-weight: 700; font-family: var(--display); }
@media (min-width: 30rem) { .header-bar { gap: 1rem; } .header-actions { gap: 0.5rem; } .head-call .label { display: inline; } .head-call, .head-book { padding: 0 1rem; } }
@media (min-width: 72rem) { .main-nav { display: block; } .menu-toggle, .mobile-nav { display: none !important; } }

/* Tekst */
.display { font-family: var(--display); font-weight: 900; font-size: var(--step-3); line-height: 1; letter-spacing: -0.025em; text-wrap: balance; }
.head { font-family: var(--display); font-weight: 900; font-size: var(--step-2); line-height: 1.04; letter-spacing: -0.02em; text-wrap: balance; }
.lead { font-size: var(--step-1); line-height: 1.45; max-width: 36ch; }
main p { max-width: 60ch; }
p + p { margin-top: 0.9em; }
.section { padding-top: var(--gap); }
.section-intro { margin-top: 1.25rem; max-width: 52ch; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 54px; padding: 0.75rem 1.4rem; background: var(--green); color: var(--on-green); text-decoration: none; font-weight: 700; border: 0; cursor: pointer; transition: background-color 160ms var(--ease), transform 160ms var(--ease); }
.button:hover { background: var(--green-dark); }
.button:active { transform: translateY(1px); }
.button svg { width: 22px; height: 22px; flex: none; }
.button--ink { background: var(--ink); color: var(--paper); }
.button--ink:hover { background: #26302b; }
.button--light { background: var(--paper); color: var(--ink); }
.button--light:hover { background: var(--field); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.text-link:hover { color: var(--green-dark); }

/* Status: nu open of gesloten */
.status { display: inline-flex; align-items: center; gap: 0.55rem; font-weight: 700; max-width: 100%; }
.status i { width: 12px; height: 12px; border-radius: 50%; background: var(--green); flex: none; }
.status[data-open="false"] i { background: var(--closed); }
.status span { overflow-wrap: anywhere; }

/* Held */
.hero { padding-top: clamp(1.5rem, 1rem + 2vw, 3.5rem); }
.hero-title { font-size: clamp(1.875rem, 0.9rem + 5.2vw, 5.5rem); line-height: 0.98; max-width: 16ch; margin-bottom: clamp(1.25rem, 1rem + 1.5vw, 2.5rem); }
@media (min-width: 60rem) { .hero-title { max-width: none; } }
.hero-grid { display: grid; gap: 2rem; }
.hero .lead { margin-top: 0; }
.hero .status { margin-top: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.hero-actions .button { flex: 1 1 auto; }
@media (min-width: 36rem) { .hero-actions .button { flex: 0 0 auto; } }
.bio { margin-top: 1.75rem; display: grid; gap: 0.55rem; }
.bio li { display: flex; align-items: center; gap: 0.75rem; font-weight: 500; }
.bio svg { width: 26px; height: 26px; flex: none; }
.frame { position: relative; overflow: hidden; background: var(--field); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo { aspect-ratio: 4 / 3; }
.cap { margin-top: 0.75rem; font-size: 1rem; color: var(--ink-soft); }
@media (prefers-reduced-motion: no-preference) {
  .hero-photo img { animation: slowzoom 22s var(--ease) both; transform-origin: 55% 70%; }
  @keyframes slowzoom { from { transform: scale(1.08); } to { transform: scale(1); } }
}
@media (min-width: 60rem) { .hero-grid { grid-template-columns: 1.1fr 1fr; align-items: start; gap: 3.5rem; } .hero-photo { aspect-ratio: 1 / 1; } }

/* Drie soorten voertuigen */
.vehicles-grid { display: grid; gap: 2.5rem; margin-top: 2rem; }
.vehicle-list { display: grid; gap: 1.75rem; }
.vehicle { display: grid; grid-template-columns: 88px 1fr; gap: 1.1rem; align-items: start; }
.vehicle svg { width: 88px; height: 56px; }
.vehicle h3 { font-family: var(--display); font-weight: 900; font-size: 1.625rem; line-height: 1.1; }
.vehicle p { margin-top: 0.35rem; }
.vehicles-grid .frame { aspect-ratio: 16 / 10; }
@media (min-width: 60rem) { .vehicles-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; } }

/* De garagekalender */
.calendar { margin-top: var(--gap); background: var(--ink); color: var(--paper); padding-block: var(--gap); }
.calendar .head, .calendar p { color: var(--paper); }
.cal-grid { display: grid; gap: 2rem; margin-top: 2rem; }
.months { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0.375rem; }
.month { appearance: none; border: 0; cursor: pointer; min-height: 56px; padding: 0.25rem; background: #1d2420; color: var(--paper); font-weight: 700; font-size: 1.0625rem; display: grid; place-items: center; line-height: 1.1; transition: background-color 160ms var(--ease), color 160ms var(--ease); }
.month small { display: block; font-size: 1rem; font-weight: 500; color: #9fd8b1; }
.month:hover { background: #26302b; }
.month[aria-pressed="true"] { background: var(--green); color: var(--on-green); }
.month[aria-pressed="true"] small { color: var(--on-green); }
.cal-panel { background: #1d2420; padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.cal-panel h3 { font-family: var(--display); font-weight: 900; font-size: 1.625rem; line-height: 1.1; color: var(--paper); }
.tasks { margin-top: 1.25rem; display: grid; gap: 1rem; }
.task { display: grid; grid-template-columns: 36px 1fr; gap: 0.85rem; align-items: start; }
.task svg { width: 36px; height: 36px; color: #9fd8b1; }
.task b { display: block; font-weight: 700; }
.task p { color: #d7ddd9; margin-top: 0.15rem; }
.tags { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.45rem; }
.tags span { padding: 0.15rem 0.6rem; background: #2c3631; color: var(--paper); font-size: 1rem; }
.cal-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.5rem; }
.cal-note { margin-top: 1rem; color: #b8c2bc; font-size: 1rem; }
@media (min-width: 40rem) { .months { grid-template-columns: repeat(12, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .cal-grid { grid-template-columns: 1fr; } }

/* Onderhoud, banden en airco */
.pair { display: grid; gap: 3rem; margin-top: 2.5rem; }
.pair article .frame { aspect-ratio: 3 / 2; }
.pair h3 { margin-top: 1.25rem; font-family: var(--display); font-weight: 900; font-size: 1.625rem; line-height: 1.1; display: flex; align-items: center; gap: 0.65rem; }
.pair h3 svg { width: 40px; height: 40px; flex: none; }
.pair p { margin-top: 0.5rem; }
.ticks { margin-top: 0.85rem; display: grid; gap: 0.45rem; }
.ticks li { display: flex; gap: 0.6rem; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 0.2rem; color: var(--green); }
@media (min-width: 52rem) { .pair { grid-template-columns: 1fr 1fr; gap: 3rem; } }
@media (min-width: 52rem) { .pair.trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }

/* Uren en ligging */
.hours { margin-top: var(--gap); background: var(--paper); padding-block: var(--gap); }
.hours-grid { display: grid; gap: 3rem; margin-top: 2rem; }
.week { display: grid; gap: 0.5rem; margin-top: 1.5rem; }
.day { display: grid; grid-template-columns: 2.75rem 1fr; gap: 0.75rem; align-items: center; }
.day b { font-weight: 700; }
.bar { position: relative; height: 34px; background: var(--field); }
.bar span { position: absolute; top: 0; bottom: 0; background: var(--green-soft); }
.day.today .bar span { background: #9fd0ad; }
.day.today b { color: var(--green-dark); }
.bar em { position: absolute; inset: 0; display: flex; align-items: center; padding-left: 0.6rem; font-style: normal; font-weight: 500; font-size: 1rem; color: var(--ink); white-space: nowrap; }
.day.today .bar em { font-weight: 700; }
.day.closed .bar em { color: var(--ink-soft); }
.scale { display: grid; grid-template-columns: 2.75rem 1fr; gap: 0.75rem; }
.scale div { display: flex; justify-content: space-between; color: var(--ink-soft); font-size: 1rem; }
.where p.address { font-family: var(--display); font-weight: 900; font-size: clamp(1.875rem, 1.45rem + 1.8vw, 3rem); line-height: 1.04; }
.towns { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem; }
.towns li { padding: 0.4rem 0.8rem; background: var(--field); font-weight: 500; }
.towns li.home { background: var(--green); color: var(--on-green); font-weight: 700; }
@media (min-width: 60rem) { .hours-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; } }

/* Vragen */
.faq-grid { display: grid; gap: 2rem; }
.faq { display: grid; gap: 0.5rem; }
.faq details { background: var(--paper); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: 0.85rem 1.1rem; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; transition: transform 200ms var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details > div { padding: 0 1.1rem 1.1rem; }
@media (min-width: 60rem) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 4rem; } }

/* Afsluiter */
.closer { padding-top: var(--gap); }
.closer-grid { display: grid; gap: 1.5rem; align-items: end; }
.closer .actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
@media (min-width: 60rem) { .closer-grid { grid-template-columns: 1.4fr 1fr; } }

/* Dienstenpagina */
.page-hero { padding-top: clamp(1.5rem, 1rem + 2vw, 3.5rem); }
.page-hero-grid { display: grid; gap: 2rem; }
.page-hero .frame { aspect-ratio: 16 / 10; }
@media (min-width: 60rem) { .page-hero-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: start; } }
.split { display: grid; gap: 1.25rem; }
@media (min-width: 60rem) { .split { grid-template-columns: 1fr 1.5fr; gap: 4rem; align-items: start; } }
.price-table { width: 100%; border-collapse: collapse; background: var(--paper); }
.price-table th, .price-table td { text-align: left; padding: 1rem; border-bottom: 2px solid var(--field); vertical-align: top; }
.price-table th { font-weight: 700; }
.price-table td.price { white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.price-table small { display: block; font-size: 1rem; color: var(--ink-soft); font-weight: 400; }
.photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 2rem; }
.photo-row .frame { aspect-ratio: 4 / 3; }
@media (min-width: 52rem) { .photo-row { grid-template-columns: repeat(4, 1fr); } }

/* Contactpagina */
.contact-grid { display: grid; gap: 2.5rem; margin-top: clamp(3rem, 2.5rem + 3vw, 5.5rem); }
.contact-list { display: grid; gap: 1.1rem; }
.contact-list dt { font-weight: 700; }
.contact-list dd a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 0.2em; overflow-wrap: anywhere; }
.form-panel { background: var(--paper); padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.form-grid { display: grid; gap: 1.1rem; margin-top: 1.25rem; }
.two { display: grid; gap: 1.1rem; }
@media (min-width: 36rem) { .two { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.4rem; }
.field label { font-weight: 700; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 0.7rem 0.9rem; border: 2px solid #b9c3bb; border-radius: 0; background: var(--ground); font-size: 1.0625rem; }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--green); outline-offset: 1px; border-color: var(--ink); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: honeypotveld, onzichtbaar */
.form-done { background: var(--ink); color: var(--paper); padding: 1.25rem; }
.form-done a { color: var(--paper); }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: 1fr 1.3fr; gap: 4rem; } }

/* Voet */
.site-footer { background: var(--ink); color: var(--paper); margin-top: var(--gap); padding-top: clamp(3rem, 2rem + 4vw, 6rem); }
.site-footer a { color: var(--paper); }
.foot-grid { display: grid; gap: 2rem; }
.foot-grid h2 { font-size: 1.0625rem; font-weight: 700; margin-bottom: 0.4rem; }
.foot-grid p { color: #c3ccc6; font-size: 1rem; }
.foot-grid a { display: inline-flex; align-items: center; min-height: 44px; }
.foot-name { display: flex; align-items: center; font-family: var(--display); font-weight: 900; font-size: min(15rem, calc((100vw - 2 * var(--gutter)) / 4.2)); line-height: 0.9; letter-spacing: -0.04em; margin-top: 3rem; white-space: nowrap; color: var(--paper); }
.foot-name svg { width: 0.9em; height: 0.9em; margin-left: 0.03em; }
.credits { color: #c3ccc6; font-size: 1rem; padding-block: 1.5rem 2rem; max-width: 62ch; }
@media (min-width: 52rem) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }

/* Beweging */
@media (prefers-reduced-motion: no-preference) {
  .js [data-rise] { opacity: 0; transform: translateY(24px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-rise].is-in { opacity: 1; transform: none; }
  .tyre-spin { transform-origin: 50% 50%; animation: roll 1.6s 0.2s var(--ease) both; }
  @keyframes roll { from { transform: rotate(-200deg); } to { transform: rotate(0deg); } }
  .bar span { transform-origin: left center; animation: grow 900ms var(--ease) both; }
  @keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}

/* Elementen met het attribuut hidden blijven verborgen, ook als een klasse display zet (nakijkronde 27 oktober 2026). */
[hidden] { display: none !important; }
