/*
Theme Name: Lennaerts Schadeherstel
Description: Bewerkbare WordPress-website voor auto-, camper- en caravanschade.
Version: 1.4.2
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: lennaerts-schadeherstel
*/

:root {
  --ls-red: #c51d2d;
  --ls-dark: #191b1f;
  --ls-muted: #51545c;
  --ls-line: #d9dce0;
  --ls-white: #fff;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ls-dark); background: #fff; font: 17px/1.6 system-ui, sans-serif; }
.wp-site-blocks { padding: 0; }
.wp-site-blocks > * + *, .ls-main > * + * { margin-block-start: 0; }
:where(h1,h2,h3,p,figure) { margin: 0; }
:where(h1,h2,h3) { line-height: 1.08; letter-spacing: -.045em; text-wrap: balance; }
h1 { font-size: clamp(2.65rem, 5.5vw, 5.05rem); }
h2 { font-size: clamp(2.05rem, 4vw, 3.6rem); }
h3 { font-size: clamp(1.22rem, 2.2vw, 1.55rem); }
a { color: inherit; text-underline-offset: .21em; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.ls-wrap { width: min(100% - 3rem, 76rem); margin-inline: auto; }
.ls-header, .ls-footer { background: var(--ls-white); color: var(--ls-dark); }
.ls-header { border-bottom: 1px solid var(--ls-line); }
.ls-header-inner, .ls-footer-inner { display: flex; align-items: center; justify-content: space-between; min-height: 5.2rem; gap: 1.3rem; }
.wp-block-image.ls-brand { flex: 0 1 auto; width: clamp(10rem, 25vw, 15.5rem); margin: 0; }
.ls-brand a { display: block; }
.ls-brand img { display: block; width: 100%; height: auto; }
.ls-nav { display: flex; flex-wrap: wrap; gap: .55rem 1.6rem; font-size: .95rem; font-weight: 650; }
.ls-nav a { text-decoration: none; }
.ls-phone a { display: inline-flex; align-items: center; min-height: 44px; color: #a81523; font-weight: 800; white-space: nowrap; }
.ls-contact-card .ls-phone a { font-size: 1.4rem; }
.ls-nav a:hover { text-decoration: underline; }
.ls-hero { position: relative; isolation: isolate; overflow: hidden; background: #24262a; color: var(--ls-white); }
.ls-hero .ls-hero-image { position: absolute; z-index: -2; inset: 0; margin: 0; }
.ls-hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.ls-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg,#14161afc 5%,#14161ad9 30%,#14161a33 85%); }
.ls-hero-inner { min-height: 35rem; display: flex; align-items: center; padding-block: 5rem; }
.ls-hero-copy { max-width: 40rem; }
.ls-hero-copy > p:not(.ls-kicker) { max-width: 33rem; color: #eceef0; font-size: 1.12rem; margin-top: 1.1rem; }
.ls-kicker { margin-bottom: .78rem; color: #a81523; font-size: .76rem; font-weight: 800; letter-spacing: .14em; }
.ls-hero .ls-kicker, .ls-contact .ls-kicker { color: #ff9ca4; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.65rem; }
.wp-block-button__link { display: inline-flex; min-height: 3rem; align-items: center; padding: .65rem 1.12rem; color: #fff; background: var(--ls-red); border: 1px solid transparent; border-radius: .22rem; font: inherit; font-weight: 730; text-decoration: none; }
.wp-block-button__link:hover { background: #a01523; }
.wp-block-button.is-style-outline > .wp-block-button__link { border: 1px solid #fff; color: #fff; background: #191b1f45; }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: #191b1f; }
.ls-section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.ls-services { background: #f0f1f3; }
.ls-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; margin-top: 2rem; }
.ls-card { padding: 1.65rem 1.35rem; background: #fff; border: 1px solid var(--ls-line); border-top: .23rem solid var(--ls-red); border-radius: .25rem; }
.ls-card p, .ls-step p { margin-top: .7rem; color: var(--ls-muted); }
.ls-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem; margin-top: 2rem; }
.ls-step { border-top: 2px solid var(--ls-line); padding-top: 1.1rem; }
.ls-contact { background: #24262a; color: #fff; }
.ls-contact-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.ls-contact-copy > p:last-child { margin-top: 1rem; max-width: 34rem; color: #e5e7eb; }
.ls-contact-card { background: #fff; color: var(--ls-dark); padding: clamp(1.4rem, 4vw, 2.5rem); border-radius: .25rem; }
.ls-contact-card p { margin-top: .75rem; }
.ls-contact-card .wp-block-buttons { margin-top: 1rem; }
.ls-footer { border-top: 1px solid var(--ls-line); }
@media (max-width: 800px) { .ls-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .ls-wrap { width: calc(100% - 2rem); }
  .ls-footer-inner { flex-wrap: wrap; gap: .8rem; padding-block: 1rem; }
  .ls-header-inner { flex-direction: column; align-items: flex-start; padding-block: 1rem; gap: .9rem; }
  .ls-hero-inner { min-height: 31rem; padding-block: 4rem; }
  .ls-hero-image img { object-position: 64% center; }
  .ls-hero::after { background: linear-gradient(90deg,#14161aed,#14161a82), linear-gradient(0deg,#14161ad9,transparent); }
  .ls-grid, .ls-steps, .ls-contact-inner { grid-template-columns: 1fr; }
}

.ls-location { margin-block-start: clamp(2.5rem, 5vw, 4rem); }
.ls-location .ls-location-photo { margin: 1rem 0 0; }
.ls-location-photo img { display: block; width: 100%; height: auto; border-radius: .25rem; }
.ls-location-photo .wp-element-caption { margin: .55rem 0 0; color: #e5e7eb; text-align: left; }
