/* Dierenartsenpraktijk Attenhoven
   Cobalt blue from the practice's house style with white and a dark navy;
   the plus mark echoes the cross-shaped lamps above the reception desk. */

@font-face {
    font-family: "Bricolage Grotesque";
    src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
    font-weight: 400 800;
    font-stretch: 100%;
    font-display: swap;
}

@font-face {
    font-family: "Figtree";
    src: url("../fonts/figtree-latin.woff2") format("woff2");
    font-weight: 400 700;
    font-display: swap;
}

:root {
    --cobalt: #212eb0;
    --cobalt-bright: #3d4be0;
    --ink: #111436;
    --cobalt-pale: #b9c4ff;
    --paper: #fbfaf7;
    --stone: #eeece5;
    --brick: #b24f33;
    --text: #2a2d4d;
    --muted: #5c607d;
    --line: rgba(17, 20, 54, .14);
    --line-light: rgba(255, 255, 255, .2);

    --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
    --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

    --header-height: 4.25rem;
    --section-space: clamp(4rem, 9vw, 7.5rem);
    --gap: clamp(1.5rem, 4vw, 4rem);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 1rem);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img,
svg {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

[hidden] {
    display: none !important;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-display);
    line-height: 1.05;
    letter-spacing: -.02em;
    text-wrap: balance;
}

h2 {
    color: var(--cobalt);
    font-size: clamp(2.1rem, 5vw, 3.4rem);
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 650;
    line-height: 1.15;
}

p {
    margin: 0 0 1em;
    text-wrap: pretty;
}

a {
    color: inherit;
    text-underline-offset: .18em;
    text-decoration-thickness: .08em;
}

address {
    font-style: normal;
}

:focus-visible {
    outline: 3px solid var(--cobalt-bright);
    outline-offset: 3px;
    border-radius: 4px;
}

.wrap {
    width: min(100% - 2.5rem, 1180px);
    margin-inline: auto;
}

.section {
    padding-block: var(--section-space);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.skip {
    position: absolute;
    left: 1rem;
    top: -4rem;
    z-index: 100;
    padding: .6rem 1rem;
    background: #fff;
    color: var(--cobalt);
    font-weight: 600;
    border-radius: 0 0 .5rem .5rem;
}

.skip:focus {
    top: 0;
}

/* Buttons ---------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    padding: .95rem 1.5rem;
    border: 1.5px solid transparent;
    border-radius: 999px;
    font: 650 1rem/1.1 var(--font-body);
    text-decoration: none;
    cursor: pointer;
    transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}

.btn svg {
    width: 1.15em;
    height: 1.15em;
    flex: none;
}

.btn:active {
    transform: translateY(1px);
}

.btn--small {
    padding: .68rem 1.15rem;
    font-size: .95rem;
}

.btn--light {
    background: #fff;
    color: var(--cobalt);
}

.btn--light:hover {
    background: var(--cobalt-pale);
    color: var(--ink);
}

.btn--cobalt {
    background: var(--cobalt);
    color: #fff;
}

.btn--cobalt:hover {
    background: var(--ink);
}

.btn--ghost {
    border-color: rgba(255, 255, 255, .55);
    color: #fff;
}

.btn--ghost:hover {
    background: #fff;
    border-color: #fff;
    color: var(--cobalt);
}

.btn--outline {
    border-color: var(--cobalt);
    background: none;
    color: var(--cobalt);
}

.btn--outline:hover {
    background: var(--cobalt);
    color: #fff;
}

.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: var(--cobalt);
    font-weight: 650;
    text-decoration: none;
    border-bottom: 2px solid rgba(33, 46, 176, .3);
    padding-bottom: .15rem;
    transition: border-color .18s;
}

.arrow-link:hover {
    border-bottom-color: var(--cobalt);
}

.arrow-link svg {
    width: 1.1em;
    height: 1.1em;
    transition: transform .18s;
}

.arrow-link:hover svg {
    transform: translateX(4px);
}

/* Announcement banner ---------------------------------------------------- */

.announcement {
    background: var(--cobalt-pale);
    color: var(--ink);
    font-weight: 550;
    line-height: 1.4;
}

.announcement__body {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    padding-block: .8rem;
}

.announcement svg {
    flex: none;
    width: 1.3rem;
    height: 1.3rem;
    margin-top: .1rem;
    color: var(--cobalt);
}

.announcement p {
    margin: 0;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

/* Header ----------------------------------------------------------------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--cobalt);
    color: #fff;
}

.site-header__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    min-height: var(--header-height);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: #fff;
    text-decoration: none;
}

.brand__mark {
    width: 2rem;
    height: 2rem;
    fill: #fff;
    flex: none;
}

.brand__text {
    display: grid;
    font: 700 1.5rem/1 var(--font-display);
    letter-spacing: -.02em;
}

.brand__text small {
    font: 500 .68rem/1.2 var(--font-body);
    letter-spacing: .04em;
    opacity: .8;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav ul {
    display: flex;
    gap: 1.6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav li a {
    display: block;
    padding-block: .4rem;
    font-size: .98rem;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.nav li a:hover {
    border-bottom-color: #fff;
}

.nav-toggle {
    display: none;
    width: 2.75rem;
    height: 2.75rem;
    margin-right: -.5rem;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 1.5rem;
    height: 2px;
    margin-inline: auto;
    background: currentColor;
    border-radius: 2px;
    transition: transform .2s, background-color .2s;
}

.nav-toggle__bars {
    position: relative;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle__bars::before {
    top: -7px;
}

.nav-toggle__bars::after {
    top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
    background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
    transform: translateY(-7px) rotate(-45deg);
}

/* Status chip ------------------------------------------------------------ */

.status {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .25rem .5rem;
    margin: 0;
    padding: .5rem 1rem .5rem .8rem;
    border: 1px solid var(--line-light);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font-size: .95rem;
    line-height: 1.3;
}

.status strong {
    font-weight: 650;
}

.status strong:not(:last-child)::after {
    content: " ·";
    font-weight: 400;
    opacity: .7;
}

.status__dot {
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .7);
    flex: none;
}

.status--open .status__dot {
    border-color: #fff;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, .25);
}

.status--phone .status__dot {
    border-color: #fff;
}

/* A long status would wrap inside the chip: headline and detail get a line each instead. */
.status--stacked {
    display: inline-grid;
    grid-template-columns: auto 1fr;
    gap: 0 .5rem;
    padding: .55rem 1rem .6rem .8rem;
    border-radius: 1rem;
}

.status--stacked span:last-child {
    grid-column: 2;
}

.status--stacked strong:not(:last-child)::after {
    content: none;
}

/* Hero ------------------------------------------------------------------- */

.hero {
    background: var(--cobalt);
    color: #fff;
    padding-block: clamp(2.5rem, 7vw, 5.5rem) clamp(3rem, 8vw, 6.5rem);
    overflow: hidden;
}

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: center;
    gap: var(--gap);
}

.hero__emergency {
    margin: .75rem 0 0;
    color: rgba(255, 255, 255, .86);
    font-size: .95rem;
}

.hero__emergency a {
    color: #fff;
    font-weight: 650;
    white-space: nowrap;
}

.hero h1 {
    margin-block: 1.5rem 1.25rem;
    font-size: clamp(2.5rem, 5.6vw, 4.6rem);
    font-weight: 700;
    letter-spacing: -.01em;
}

.hero h1 em {
    color: var(--cobalt-pale);
    font-style: normal;
}

.hero__lead {
    max-width: 34rem;
    font-size: clamp(1.1rem, 1.6vw, 1.25rem);
    color: rgba(255, 255, 255, .86);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
    margin-top: 2rem;
}

.hero__photo {
    width: 100%;
    max-width: 31rem;
    margin: 0;
    justify-self: end;
}

.hero__photo img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
}

.hero__photo figcaption {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    margin-top: 1rem;
    font-size: .95rem;
    color: rgba(255, 255, 255, .8);
}

.hero__photo figcaption svg {
    width: 1.1rem;
    height: 1.1rem;
}

/* Over ons --------------------------------------------------------------- */

.about__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr);
    align-items: center;
    gap: var(--gap);
}

.about__statement {
    margin-block: 1.75rem 1.5rem;
    color: var(--ink);
    font: 500 clamp(1.4rem, 2.6vw, 2rem)/1.25 var(--font-display);
    letter-spacing: -.01em;
}

.about__copy > p:not(.about__statement) {
    max-width: 38rem;
}

.about__art {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    box-shadow: 1rem 1rem 0 var(--cobalt);
}

.region {
    margin-top: 2.25rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line);
}

.region h3 {
    margin-bottom: .8rem;
    font: 600 .95rem/1.2 var(--font-body);
    letter-spacing: 0;
    color: var(--muted);
}

.region ul {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.region li {
    padding: .35rem .85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .95rem;
    color: var(--ink);
}

/* Team ------------------------------------------------------------------- */

.team {
    padding-top: 0;
}

.team__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: clamp(2rem, 4vw, 3rem);
}

.person img {
    width: 100%;
    height: clamp(17rem, 36vw, 28rem);
    object-fit: cover;
    object-position: 50% 30%;
}

.person--wide img {
    object-position: 50% 45%;
}

.person__body {
    padding-top: 1.4rem;
    max-width: 36rem;
}

.person h3 {
    color: var(--ink);
    font-size: 1.75rem;
}

.person__role {
    margin: .35rem 0 .9rem;
    color: var(--cobalt);
    font-weight: 650;
}

/* Diensten --------------------------------------------------------------- */

.services {
    background: var(--stone);
}

.services__grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: var(--gap);
}

.services__photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.services__lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2.5rem;
    margin-block: 2rem 1.75rem;
}

.services__lists ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.services__lists li {
    display: flex;
    align-items: baseline;
    gap: .7rem;
    padding-block: .8rem;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font: 550 clamp(1.05rem, 1.7vw, 1.3rem)/1.2 var(--font-display);
}

.services__lists strong {
    display: block;
    font-weight: inherit;
}

.services__lists p {
    margin: .3rem 0 0;
    color: var(--muted);
    font: 400 .95rem/1.45 var(--font-body);
    text-wrap: pretty;
}

.services__lists li::before {
    content: "+";
    color: var(--cobalt);
    font-size: 1.25em;
    font-weight: 700;
    line-height: 1;
}

.services__note {
    max-width: 34rem;
    margin-bottom: 1.5rem;
}

.services__note a {
    color: var(--cobalt);
    font-weight: 600;
}

/* Specialisaties --------------------------------------------------------- */

.specialisations__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: clamp(2rem, 4vw, 3rem);
}

.specialisation {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.specialisation img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.specialisation h3 {
    margin-block: 1.4rem .75rem;
    color: var(--ink);
}

.specialisation p {
    flex: 1;
    margin-bottom: 1.4rem;
}

/* Openingstijden --------------------------------------------------------- */

.hours {
    background: var(--ink);
    color: rgba(255, 255, 255, .88);
}

.hours h2 {
    margin-bottom: 1.25rem;
    color: #fff;
}

.hours__grid {
    display: grid;
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: var(--gap);
}

.hours__photo {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.hours__table {
    width: 100%;
    margin-block: 1.75rem 1.25rem;
    border-collapse: collapse;
    font-variant-numeric: tabular-nums;
}

.hours__table th,
.hours__table td {
    padding: .8rem .5rem;
    text-align: left;
    border-bottom: 1px solid var(--line-light);
}

.hours__table th:first-child {
    padding-left: 0;
}

.hours__table thead th {
    padding-top: 0;
    font: 600 .85rem/1.2 var(--font-body);
    color: rgba(255, 255, 255, .65);
}

.hours__table tbody th {
    font: 600 1.15rem/1.2 var(--font-display);
    color: #fff;
}

.hours__table .is-closed {
    color: rgba(255, 255, 255, .5);
}

.hours__table .is-today th,
.hours__table .is-today td {
    color: var(--cobalt-pale);
}

.hours__today {
    display: inline-block;
    margin-left: .5rem;
    padding: .15rem .5rem;
    border-radius: 999px;
    background: var(--cobalt-pale);
    color: var(--ink);
    font: 650 .72rem/1.3 var(--font-body);
    vertical-align: middle;
}

.hours__note {
    margin-bottom: 1.75rem;
    color: rgba(255, 255, 255, .75);
}

/* Spoed ------------------------------------------------------------------ */

.emergency {
    background: var(--cobalt);
    color: #fff;
    padding-block: clamp(3rem, 7vw, 5.5rem);
}

.emergency h2 {
    color: #fff;
}

.emergency__head p {
    margin: .75rem 0 0;
    font-size: 1.2rem;
}

.emergency__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
    margin-top: clamp(2rem, 4vw, 3rem);
}

.emergency__case {
    padding-top: 1.25rem;
    border-top: 3px solid #fff;
}

.emergency__case h3 {
    margin-bottom: .6rem;
}

.emergency__number {
    display: inline-block;
    font: 700 clamp(1.6rem, 2.6vw, 2.1rem)/1.1 var(--font-display);
    letter-spacing: -.01em;
    white-space: nowrap;
}

.emergency dl {
    margin: 0;
}

.emergency dt {
    font-weight: 500;
}

.emergency dd {
    margin: 0 0 .9rem;
    font-weight: 700;
}

.emergency dd a {
    white-space: nowrap;
}

/* Contact ---------------------------------------------------------------- */

.contact__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: var(--gap);
}

.contact__form h2 {
    margin-bottom: 1rem;
}

.contact form {
    margin-top: 1.75rem;
}

.field {
    display: grid;
    gap: .4rem;
    margin-bottom: 1.15rem;
}

.field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.field label {
    font-weight: 600;
    color: var(--ink);
}

.field input,
.field textarea {
    width: 100%;
    padding: .85rem 1rem;
    border: 1.5px solid rgba(17, 20, 54, .3);
    border-radius: .6rem;
    background: #fff;
    color: var(--ink);
    font: inherit;
}

.field textarea {
    resize: vertical;
    min-height: 9rem;
}

.field input:focus-visible,
.field textarea:focus-visible {
    outline-offset: 0;
    border-color: var(--cobalt);
    border-radius: .6rem;
}

.field .input-validation-error {
    border-color: var(--brick);
}

.field__error {
    color: var(--brick);
    font-size: .92rem;
    font-weight: 600;
}

.field__error:empty {
    display: none;
}

.field--trap {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.field small,
.admin__group small,
.form-note {
    color: var(--muted);
    font-size: .92rem;
}

.form-note a {
    color: var(--cobalt);
    font-weight: 600;
}

.notice {
    margin-bottom: 1.5rem;
    padding: 1rem 1.25rem;
    border-radius: .6rem;
    border-left: 5px solid;
}

.notice strong {
    display: block;
}

.notice ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.notice--success {
    background: #e8eafb;
    border-color: var(--cobalt);
    color: var(--ink);
}

.notice--error {
    background: #f9e9e3;
    border-color: var(--brick);
    color: #6d2a17;
    font-weight: 600;
}

.notice--error.validation-summary-valid {
    display: none;
}

.contact__list {
    display: grid;
    gap: 1.1rem;
    margin: .5rem 0 2rem;
    padding: 0;
    list-style: none;
    font-size: 1.1rem;
    color: var(--ink);
}

.contact__list li {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    overflow-wrap: anywhere;
}

.contact__list svg {
    width: 1.4rem;
    height: 1.4rem;
    margin-top: .15rem;
    color: var(--cobalt);
    flex: none;
}

.map {
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(var(--stone), var(--stone)) padding-box,
        var(--stone);
    background-image:
        linear-gradient(rgba(17, 20, 54, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 20, 54, .06) 1px, transparent 1px);
    background-size: 2.5rem 2.5rem;
    background-color: var(--stone);
    overflow: hidden;
}

.map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .9rem;
    height: 100%;
    padding: 1.5rem;
    text-align: center;
}

.map__placeholder p {
    margin: 0;
    color: var(--ink);
    font: 650 1.2rem/1.2 var(--font-display);
}

.map__placeholder small {
    max-width: 22rem;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.4;
}

.map__pin {
    width: 2.25rem;
    height: 2.25rem;
    color: var(--cobalt);
}

.map__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .6rem;
}

/* Footer ----------------------------------------------------------------- */

.site-footer {
    background: var(--ink);
    color: rgba(255, 255, 255, .8);
    padding-block: clamp(3rem, 6vw, 4.5rem) 1.5rem;
    font-size: 1rem;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.3fr .7fr;
    gap: 2rem;
}

.site-footer strong {
    display: block;
    margin-bottom: .6rem;
    color: #fff;
    font: 650 1.05rem/1.2 var(--font-display);
}

.site-footer a:not(.brand) {
    text-decoration-color: rgba(255, 255, 255, .35);
}

.site-footer a:not(.brand):hover {
    color: #fff;
    text-decoration-color: #fff;
}

.site-footer__tag {
    max-width: 20rem;
    margin: 1rem 0 0;
}

.social {
    display: flex;
    gap: .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.social a {
    display: grid;
    place-items: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--line-light);
    border-radius: 50%;
}

.social svg {
    width: 1.25rem;
    height: 1.25rem;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: .5rem 2rem;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--line-light);
    font-size: .9rem;
    color: rgba(255, 255, 255, .6);
}

/* Mobile quick actions --------------------------------------------------- */

.quickbar {
    display: none;
}

/* Error page ------------------------------------------------------------- */

.error-page h1 {
    margin-bottom: 1rem;
    color: var(--cobalt);
    font-size: clamp(2.2rem, 6vw, 3.6rem);
}

.error-page p {
    max-width: 36rem;
    margin-bottom: 2rem;
}

/* Text pages (privacy) ---------------------------------------------------- */

.legal__body {
    max-width: 46rem;
}

.legal h1,
.admin h1 {
    margin-bottom: 1.25rem;
    color: var(--cobalt);
    font-size: clamp(2.2rem, 6vw, 3.4rem);
}

.legal h2 {
    margin-block: 2.5rem .75rem;
    font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.legal h3 {
    margin-block: 1.5rem .5rem;
    color: var(--ink);
    font-size: 1.2rem;
}

.legal__lead {
    font-size: 1.15rem;
}

.legal a {
    color: var(--cobalt);
    font-weight: 600;
}

.legal ul {
    margin: 0 0 1em;
    padding-left: 1.2rem;
}

.legal li {
    margin-bottom: .6rem;
}

.legal li strong {
    color: var(--ink);
}

.legal__updated {
    margin-top: 2.5rem;
    color: var(--muted);
    font-size: .95rem;
}

/* Admin (/beheer) --------------------------------------------------------- */

.admin__body {
    max-width: 44rem;
}

.admin__body--narrow {
    max-width: 26rem;
}

.admin__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.admin__state {
    padding: 1rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: .6rem;
    background: #fff;
}

.admin__state strong {
    color: var(--ink);
}

.admin__group {
    margin: 0 0 1.5rem;
    padding: 1.1rem 1.25rem 1.25rem;
    border: 1px solid var(--line);
    border-radius: .6rem;
}

.admin__group legend {
    padding-inline: .4rem;
    color: var(--ink);
    font: 650 1.1rem/1.2 var(--font-display);
}

.admin__group .field {
    margin-bottom: .6rem;
}

.admin__actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1080px) {
    .nav {
        gap: 1.1rem;
    }

    .nav ul {
        gap: 1.05rem;
    }

    .nav li a {
        font-size: .92rem;
    }
}

@media (max-width: 960px) {
    .nav-toggle {
        display: block;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
        padding: .5rem 1.25rem 1.5rem;
        background: var(--cobalt);
        border-top: 1px solid var(--line-light);
        box-shadow: 0 1.5rem 2rem rgba(17, 20, 54, .25);
    }

    .nav.is-open {
        display: flex;
    }

    .nav ul {
        flex-direction: column;
        gap: 0;
    }

    .nav li a {
        padding-block: .85rem;
        font-size: 1.1rem;
        border-bottom: 1px solid var(--line-light);
    }

    .hero__grid,
    .about__grid,
    .services__grid,
    .hours__grid,
    .contact__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero__photo {
        max-width: 34rem;
        justify-self: center;
    }

    .about__art {
        max-width: 26rem;
        aspect-ratio: 1;
        margin-right: 1rem;
    }

    .services__photo,
    .hours__photo {
        aspect-ratio: 3 / 2;
    }

    .team__grid,
    .specialisations__grid,
    .emergency__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .person img {
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .site-footer__grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    /* room for the fixed quick-action bar */
    body {
        padding-bottom: calc(3.5rem + 1px + env(safe-area-inset-bottom));
    }

    .quickbar {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 40;
        display: grid;
        grid-template-columns: 1fr 1.4fr;
        background: #fff;
        border-top: 1px solid var(--line);
        padding-bottom: env(safe-area-inset-bottom);
    }

    .quickbar a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: .5rem;
        min-height: 3.5rem;
        color: var(--cobalt);
        font-weight: 650;
        text-decoration: none;
    }

    .quickbar a + a {
        background: var(--cobalt);
        color: #fff;
    }

    .quickbar svg {
        width: 1.2rem;
        height: 1.2rem;
    }

    .hero__actions .btn {
        flex: 1 1 100%;
    }

    /* The chip wraps on small screens: stack headline and detail instead. */
    .status {
        display: inline-grid;
        grid-template-columns: auto 1fr;
        gap: 0 .5rem;
        padding: .55rem 1rem .6rem .8rem;
        border-radius: 1rem;
    }

    .status span:last-child {
        grid-column: 2;
    }

    .status strong:not(:last-child)::after {
        content: none;
    }

    .services__lists,
    .field-row {
        grid-template-columns: 1fr;
    }

    .services__lists {
        column-gap: 0;
    }

    .hours__table th,
    .hours__table td {
        padding-inline: .25rem;
        font-size: .95rem;
    }

    .hours__table tbody th {
        font-size: 1rem;
    }

    .hours__today {
        display: block;
        width: max-content;
        margin: .25rem 0 0;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        transition-duration: .01ms !important;
    }
}
