/*
Theme Name: Aquatec Service
Version: 1.3.0
Description: Nederlandstalig servicethema voor Aquatec.
Text Domain: aquatec-service
*/
:root{--blue:#150b90;--deep:#110b50;--orange:#ff8b16;--ink:#151735;--ice:#f3f5ff}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font:17px/1.6 system-ui,sans-serif}a{color:inherit}img{max-width:100%;height:auto}.wrap{width:min(1190px,calc(100% - 3rem));margin:auto}.bar{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:84px}.bar img{width:205px;display:block}.bar nav,.foot .wrap{display:flex;align-items:center;gap:clamp(.75rem,3vw,2rem);flex-wrap:wrap}.bar nav a{text-decoration:none;font-weight:650;font-size:.95rem}.bar nav a:hover{text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:.45em}.skip{position:absolute;left:1rem;top:-8rem;z-index:5;background:white;padding:.7rem}.skip:focus{top:1rem}
.hero{position:relative;isolation:isolate;overflow:hidden;background:var(--blue);color:white}.hero-photo{position:absolute;inset:0 0 0 auto;width:64%;height:100%;object-fit:cover;object-position:67% 50%;z-index:-3}.hero:before,.hero:after{content:"";position:absolute;inset:0;z-index:-2}.hero:before{background:linear-gradient(125deg,#2012aa,var(--deep));clip-path:polygon(0 0,66% 0,45% 100%,0 100%)}.hero:after{background:var(--orange);clip-path:polygon(100% 69%,100% 100%,35% 100%);z-index:-1}.hero-layout{display:grid;grid-template-columns:1fr minmax(320px,420px);gap:clamp(2rem,7vw,7rem);align-items:end;padding-block:clamp(3rem,8vw,7rem)}.eyebrow{font-weight:750;letter-spacing:.11em;text-transform:uppercase;font-size:.77rem}.hero h1{font-size:clamp(3rem,6.6vw,6.25rem);font-style:italic;letter-spacing:-.06em;line-height:.96;margin:.35em 0 .45em}.hero h1:after{content:"";display:block;width:6rem;height:.36rem;margin-top:.35em;background:var(--orange);transform:rotate(-5deg);border-radius:1rem}.hero p:not(.eyebrow){max-width:33ch;font-size:1.15rem}.form{background:white;color:var(--ink);padding:clamp(1.25rem,3vw,2rem);border-radius:1rem;box-shadow:0 14px 40px #09053445;scroll-margin-top:1rem}.form h2{color:var(--blue);font-size:2rem;font-style:italic;line-height:1.1;margin:0 0 1rem}.form label{display:block;font-weight:650;font-size:.88rem;margin:.75rem 0 .2rem}.form input,.form textarea{display:block;width:100%;padding:.65rem .75rem;border:1px solid #8990a7;border-radius:.4rem;font:inherit;color:inherit}.form textarea{resize:vertical;min-height:5rem}.button{border:0;border-radius:.45rem;background:var(--blue);color:white;font:inherit;font-weight:750;padding:.75rem 1rem;cursor:pointer;text-decoration:none;display:inline-block}.form button{width:100%;margin-top:1rem}.form small{display:block;margin-top:.55rem}.notice{background:var(--ice);padding:.65rem;border-left:4px solid var(--orange);margin-bottom:1rem}.trap{position:absolute;left:-10000px}
.section{padding-block:clamp(2.5rem,6vw,5rem)}.section h2{color:var(--blue);font-size:clamp(1.75rem,4vw,2.7rem);line-height:1.12;margin:0 0 .85rem}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;margin-top:1.75rem}.cards article{padding:1.25rem;border:1px solid #dfe1f0;border-top:4px solid var(--orange);border-radius:.5rem}.cards h3{margin:0;color:var(--blue)}.cards p{margin:.4rem 0 0}.tint{background:var(--ice)}.foot{background:var(--deep);color:white;padding-block:1.35rem}.foot .wrap{justify-content:space-between}
@media(max-width:750px){.hero-layout,.cards{grid-template-columns:1fr}.hero-layout{gap:1.5rem}.hero-photo{width:100%;opacity:.48;object-position:70% 50%}.hero:before{background:linear-gradient(90deg,#120b62 0%,transparent 100%);clip-path:none}.hero:after{clip-path:polygon(100% 70%,100% 100%,0 100%)}.bar{padding-block:.75rem}.bar img{width:140px}.bar nav{gap:.25rem .75rem}.wrap{width:calc(100% - 2rem)}}


/* The photograph and form have separate grid areas. */
.hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.16fr);
    grid-template-areas: "intro photo" "form photo";
    gap: 1.4rem clamp(1.5rem, 5vw, 4rem);
    align-items: start;
}
.hero-layout > div { grid-area: intro; }
.hero-layout .form { grid-area: form; }
.hero-layout .hero-photo {
    grid-area: photo;
    position: static;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 4;
    object-position: 70% center;
    border-radius: .85rem;
    z-index: auto;
    opacity: 1;
}
.form select {
    display: block;
    width: 100%;
    padding: .65rem .75rem;
    border: 1px solid #8990a7;
    border-radius: .4rem;
    font: inherit;
    color: inherit;
    background: white;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.mobile-actions { display: none; }
@media (max-width: 750px) {
    .hero-layout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "intro" "photo" "form";
    }
    .hero-layout .hero-photo { aspect-ratio: 16 / 10; }
    .mobile-actions {
        display: flex;
        position: fixed;
        inset: auto 0 0;
        z-index: 20;
        padding: .45rem max(.7rem, env(safe-area-inset-right)) calc(.45rem + env(safe-area-inset-bottom)) max(.7rem, env(safe-area-inset-left));
        gap: .5rem;
        background: white;
        box-shadow: 0 -2px 12px #110b5033;
    }
    .mobile-actions a {
        flex: 1;
        min-height: 44px;
        display: grid;
        place-items: center;
        border-radius: .4rem;
        background: var(--blue);
        color: white;
        text-align: center;
        text-decoration: none;
        font-weight: 750;
        font-size: .94rem;
    }
    .mobile-actions a:first-child { background: var(--orange); color: var(--deep); }
    body { padding-bottom: calc(60px + env(safe-area-inset-bottom)); }
}

.hero-layout { grid-template-areas: "intro photo"; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.7rem); overflow-wrap: anywhere; }
.primary-service { background: var(--orange); color: var(--deep); }
.service-page { max-width: 840px; }
.service-page h1 { color: var(--blue); line-height: 1.08; font-size: clamp(2.3rem, 6vw, 4rem); }
.service-page h2, .section .subheading { margin-top: 2rem; }
.service-lead { font-size: 1.2rem; }
.crumb { display: flex; gap: .75rem; align-items: baseline; font-size: .9rem; }
.crumb span::before { content: "/"; margin-right: .75rem; }
.service-page .form { max-width: 640px; margin-top: 1.5rem; }
.service-page .form h2 { margin-top: 0; }
@media (max-width: 750px) { .hero-layout { grid-template-areas: "intro" "photo"; } }
