/* ================================
   VLOOTREGIE EN ACCUSERVICE
   ================================
   Alleen op /vlootregie en /heftruck-accu geladen (css in de meta van de
   pagina, src/sns.php). De klassen met vr- zijn de bouwstenen van beide
   dienstpagina's; die met ac- gebruikt alleen de accupagina.
   Kleuren, letters en maten komen uit style.css; hier staat wat deze pagina
   eigen heeft. De lijsten, de FAQ, de feitenregel, de knoppen en de
   merkenbalk komen rechtstreeks uit style.css. */

/* ---- Labels (mono, klein, kapitaal), zoals overal op de site ---- */
.vr-label {
    font-family: var(--mono-data);
    font-size: var(--tt-xs);
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-cyan-tekst);
    margin: 0 0 16px;
}

.vr-label-licht {
    color: var(--color-cyan);
}

/* ---- Hero: tekst links, team rechts ---- */
.vr-hero {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 88px 32px 72px;
}

.vr-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.vr-hero-kop {
    font-family: var(--cond);
    font-size: var(--tt-2xl);
    font-weight: 700;
    line-height: 1.02;
    letter-spacing: -0.01em;
    margin: 0 0 24px;
    max-width: 14ch;
}

.vr-hero-accent {
    color: var(--color-cyan);
}

.vr-hero-intro {
    font-size: 17px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 48ch;
    margin: 0 0 32px;
}

.vr-hero-acties {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 0;
}

.vr-hero-foto {
    margin: 0;
}

.vr-hero-foto img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
}

/* ---- Secties ---- */
.vr-sectie {
    padding: 96px 32px;
}

.vr-herkenning {
    background: var(--color-white);
}

.vr-kaarten {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 20px;
}

.vr-kaart {
    background: var(--color-white);
    border: 1px solid var(--color-border-gray);
    border-radius: var(--border-radius);
    padding: 28px 26px;
}

.vr-kaart h3 {
    font-family: var(--cond);
    font-size: 21px;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 10px;
}

.vr-kaart p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-gray);
    margin: 0;
}

/* De zin die de vier kaarten afsluit: het antwoord op de herkenning. */
.vr-slotzin {
    font-family: var(--cond);
    font-size: 22px;
    font-weight: 600;
    color: var(--color-navy);
    margin: 40px 0 0;
    padding-left: 18px;
    border-left: 3px solid var(--color-cyan);
    max-width: 40ch;
}

/* ---- Wat erin zit: drie witte kaarten op de lichte grond ---- */
.vr-pakket {
    background: var(--color-light-gray);
    border-top: 1px solid var(--color-border-gray);
    border-bottom: 1px solid var(--color-border-gray);
}

.vr-pakket-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.vr-pakket-kolom {
    background: var(--color-white);
    border: 1px solid var(--color-border-gray);
    border-radius: var(--border-radius);
    padding: 30px 30px 8px;
}

.vr-pakket-kolom .diensten-lijst {
    margin-bottom: 0;
}

.vr-pakket-kolom .diensten-lijst li:last-child {
    border-bottom: 0;
}

/* ---- Zo werkt het ---- */
.vr-stappen {
    background: var(--color-white);
}

.vr-stappen-lijst {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px;
}

.vr-stappen-lijst li {
    border-top: 2px solid var(--color-navy);
    padding-top: 24px;
}

.vr-stap-nr {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--color-navy);
    color: var(--color-cyan);
    font-family: var(--mono-data);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 18px;
}

.vr-stappen-lijst h3 {
    font-family: var(--cond);
    font-size: 21px;
    font-weight: 600;
    color: var(--color-navy);
    margin: 0 0 8px;
}

.vr-stappen-lijst p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--color-text-gray);
    margin: 0;
}

/* ---- Contactpersoon en storing naast elkaar ---- */
.vr-duo {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 72px;
    /* Het navy blok is door de foto hoger; de witte kaart rekt anders mee en
       is dan voor de helft leeg. */
    align-items: start;
}

.vr-functie {
    font-family: var(--mono-data);
    font-size: var(--tt-s);
    color: var(--color-text-gray);
    margin: -6px 0 16px;
}

.vr-contactregel {
    margin: 12px 0 0;
}

.vr-contactregel a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--cond);
    font-size: 20px;
    font-weight: 600;
    color: var(--color-navy);
    text-decoration: none;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.vr-contactregel a:hover {
    text-decoration: underline;
}

.vr-contactregel-licht a {
    color: var(--color-white);
}

.vr-storing {
    background: var(--color-navy);
    color: var(--color-white);
    border-radius: var(--border-radius);
    padding: 36px 34px 32px;
}

.vr-storing-kop {
    font-family: var(--cond);
    font-size: var(--tt-l);
    font-weight: 700;
    margin: 0 0 12px;
}

.vr-storing-tekst {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin: 0 0 22px;
}

.vr-storing-foto {
    margin: 0 0 20px;
}

.vr-storing-foto img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.vr-storing-nummers {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 28px;
    margin: 0;
    font-family: var(--mono-data);
    font-size: var(--tt-s);
    color: rgba(255, 255, 255, 0.85);
}

.vr-storing-nummers a {
    color: var(--color-cyan);
    font-weight: 600;
    text-decoration: none;
}

.vr-storing-nummers a:hover {
    text-decoration: underline;
}

/* ---- Vlootscan: de hoofdhandeling, formulier op een witte kaart ---- */
.vr-vlootscan {
    background: var(--color-navy);
    color: var(--color-white);
    padding: 96px 32px;
}

.vr-vlootscan-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 56px;
    align-items: start;
}

.vr-vlootscan-kop {
    font-family: var(--cond);
    font-size: var(--tt-xl);
    font-weight: 700;
    line-height: 1.05;
    margin: 0 0 16px;
    max-width: 14ch;
}

.vr-vlootscan-intro {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 46ch;
    margin: 0 0 28px;
}

.vr-formkaart {
    background: var(--color-white);
    color: var(--color-dark-gray);
    border-radius: var(--border-radius);
    padding: 34px 32px;
    box-shadow: var(--shadow-md);
}

.vr-rij {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0 20px;
}

.vr-veld {
    margin: 0 0 18px;
}

.vr-veld label {
    display: block;
    font-family: var(--mono-data);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-navy);
    margin-bottom: 6px;
}

.vr-veld label span {
    text-transform: none;
    letter-spacing: 0;
    color: var(--color-medium-gray);
}

.vr-veld input,
.vr-veld select,
.vr-veld textarea {
    width: 100%;
    padding: 13px 14px;
    border: 1px solid var(--color-border-gray);
    border-radius: 8px;
    background: var(--color-white);
    font-family: var(--font-family);
    font-size: 16px;   /* 16px voorkomt dat iOS bij focus inzoomt */
    color: var(--color-dark-gray);
}

.vr-veld select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    /* Eigen pijltje, want het pijltje van het systeem verschilt per browser
       en staat niet uitgelijnd met de invoervelden ernaast. */
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M2 4l4 4 4-4' fill='none' stroke='%231B1540' stroke-width='1.6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.vr-veld textarea {
    resize: vertical;
    min-height: 110px;
}

.vr-veld input:focus-visible,
.vr-veld select:focus-visible,
.vr-veld textarea:focus-visible {
    outline: 3px solid var(--color-cyan);
    outline-offset: 2px;
    border-color: var(--color-navy);
}

.vr-hint {
    margin: -6px 0 18px;
    font-size: 14px;
    color: var(--color-text-gray);
}

.vr-versturen {
    margin: 8px 0 0;
}

.vr-versturen .btn {
    width: 100%;
}

.vr-form-voet {
    margin: 14px 0 0;
    font-family: var(--mono-data);
    font-size: var(--tt-s);
    color: var(--color-text-gray);
    text-align: center;
}

/* Onzichtbaar voor mensen, wel invulbaar voor een bot. Niet display:none,
   want sommige bots slaan verborgen velden juist over. */
.vr-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.vr-bevestiging {
    border-left: 3px solid var(--color-cyan);
    padding-left: 22px;
}

.vr-form-kop {
    font-family: var(--cond);
    font-size: var(--tt-l);
    font-weight: 700;
    color: var(--color-navy);
    margin: 0 0 10px;
}

.vr-bevestiging p:last-child {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-gray);
    margin: 0;
}

.vr-bevestiging a,
.vr-fout a {
    color: var(--color-red-tekst);
    font-weight: 600;
}

.vr-fout {
    margin: 0 0 24px;
    padding: 14px 18px;
    border-left: 3px solid var(--color-red);
    background: var(--color-light-gray);
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-dark-gray);
}

/* ---- Smaller ---- */
@media (max-width: 1024px) {
    .vr-stappen-lijst {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .vr-hero-grid,
    .vr-pakket-grid,
    .vr-duo,
    .vr-vlootscan-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .vr-hero-grid {
        gap: 40px;
    }

    .vr-vlootscan-grid {
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .vr-hero {
        padding: 56px 20px 48px;
    }

    .vr-sectie,
    .vr-vlootscan {
        padding: 60px 20px;
    }

    .vr-formkaart {
        padding: 26px 20px;
    }

    .vr-duo {
        margin-top: 48px;
    }

    .vr-hero-acties .btn {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .vr-stappen-lijst {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}

/* ================================
   ACCUPAGINA
   ================================ */

/* Het typeplaatje van de accu in de hero: wat de bezoeker bij de hand moet
   hebben. In de vorm van het typeplaatje op de machinepagina, een donkerder
   vlak op de navy grond. */
.ac-plaat {
    background: var(--color-plaat);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--border-radius);
    padding: 30px 30px 26px;
}

.ac-plaat-kop {
    font-family: var(--cond);
    font-size: var(--tt-l);
    font-weight: 700;
    color: var(--color-white);
    margin: 0 0 8px;
}

.ac-plaat-tekst {
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

.ac-plaat-tekst a {
    color: var(--color-cyan);
    font-weight: 600;
}

.ac-plaat-velden {
    margin: 20px 0;
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    display: grid;
    gap: 12px;
}

.ac-plaat-velden div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.ac-plaat-velden dt {
    font-family: var(--mono-data);
    font-size: var(--tt-xs);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-cyan);
}

.ac-plaat-velden dd {
    margin: 0;
    font-family: var(--mono-data);
    font-size: var(--tt-s);
    color: var(--color-white);
    text-align: right;
}

/* Negen diensten: drie per rij op een breed scherm. */
.ac-diensten {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Repareren of vervangen: uitleg links, het meetvoorbeeld rechts. */
.ac-keuze {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    gap: 56px;
    align-items: center;
}

.ac-tekst {
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-text-gray);
    max-width: 60ch;
    margin: 0 0 16px;
}

.ac-voorbeeld {
    margin: 0;
    background: var(--color-white);
    border: 1px solid var(--color-border-gray);
    border-radius: var(--border-radius);
    padding: 28px 30px;
}

.ac-voorbeeld dl {
    margin: 0 0 16px;
}

.ac-voorbeeld dl div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border-gray);
}

.ac-voorbeeld dt {
    font-size: 15px;
    color: var(--color-text-gray);
}

.ac-voorbeeld dd {
    margin: 0;
    font-family: var(--mono-data);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-navy);
}

.ac-voorbeeld-uitkomst dd {
    color: var(--color-red-tekst);
    font-size: 20px;
}

.ac-voorbeeld p {
    margin: 0;
    font-size: 14px;
    color: var(--color-text-gray);
}

@media (max-width: 900px) {
    .ac-keuze {
        grid-template-columns: minmax(0, 1fr);
        gap: 32px;
    }
}

/* ---- Formulier in groepen (accupagina) ---- */
.vr-groep {
    border: 0;
    margin: 0 0 8px;
    padding: 0;
}

.vr-groep + .vr-groep {
    border-top: 1px solid var(--color-border-gray);
    padding-top: 22px;
}

/* Een legend staat standaard in de rand van de fieldset, waardoor de lijn
   erboven door de kop liep. Zwevend staat hij er los van. */
.vr-groep legend {
    float: left;
    width: 100%;
    font-family: var(--cond);
    font-size: 20px;
    font-weight: 700;
    color: var(--color-navy);
    padding: 0;
    margin: 0 0 16px;
}

/* Een label boven drie velden samen, in dezelfde vorm als de veldlabels. */
.vr-groep legend + * {
    clear: both;
}

.vr-label-los {
    font-family: var(--mono-data);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-navy);
    margin: 0 0 8px;
}

.vr-label-los span {
    text-transform: none;
    letter-spacing: 0;
    color: var(--color-medium-gray);
}

/* Lengte, breedte en hoogte naast elkaar, ook op een telefoon: het zijn
   korte getallen. */
.vr-rij-drie {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 12px;
}

.vr-veld input[type="file"] {
    padding: 10px 12px;
    font-size: 14px;
    background: var(--color-light-gray);
}

.vr-veld input[type="file"]::file-selector-button {
    margin-right: 12px;
    padding: 8px 14px;
    border: 1px solid var(--color-navy);
    border-radius: 6px;
    background: var(--color-white);
    color: var(--color-navy);
    font-family: var(--cond);
    font-weight: 600;
    cursor: pointer;
}
