/* ==========================================================================
   Texeldomeinen – stylesheet
   Simpel, speels, mobielvriendelijk. Geen build, geen frameworks.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
    --sea-deep:  #0a3d5c;
    --sea:       #1e6091;
    --sea-light: #4a9fd1;
    --sea-mist:  #e6f1f8;
    --sand:      #fef8ed;
    --sand-warm: #f5e6c8;
    --coral:     #ff6b5b;
    --coral-dk:  #e54d3c;
    --dune:      #8fbf7a;
    --text:      #0f172a;
    --muted:     #64748b;
    --bg:        #fbfbfb;
    --white:     #ffffff;
    --footer:    #0a2540;
    --border:    #e5eaf0;

    --radius-sm: 10px;
    --radius:    16px;
    --radius-lg: 24px;

    --shadow-sm: 0 1px 2px rgba(10,61,92,.06), 0 2px 8px rgba(10,61,92,.06);
    --shadow:    0 4px 12px rgba(10,61,92,.08), 0 12px 40px rgba(10,61,92,.08);
    --shadow-lg: 0 20px 60px rgba(10,61,92,.15);

    --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-head: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    --container: 1180px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-decoration: none; }
a:hover { color: var(--coral); }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.15; margin: 0 0 .4em; color: var(--sea-deep); letter-spacing: -.015em; }
h1 { font-size: clamp(1.9rem, 4vw + 1rem, 3.4rem); letter-spacing: -.025em; font-weight: 900; }
h2 { font-size: clamp(1.5rem, 1.5vw + 1rem, 2.2rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.skip {
    position: absolute;
    left: -9999px;
    top: auto;
}
.skip:focus {
    left: 1rem; top: 1rem;
    background: var(--sea-deep); color: #fff;
    padding: .5rem 1rem; border-radius: 8px;
    z-index: 1000;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .4em;
    padding: .75em 1.4em;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
    font-family: inherit;
}
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 4px 0 var(--coral-dk); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--coral-dk); color: #fff; }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 0 0 var(--coral-dk); }
.btn-ghost { background: transparent; color: var(--sea-deep); border-color: var(--sea-deep); }
.btn-ghost:hover { background: var(--sea-deep); color: #fff; }
.btn-lg { padding: 1em 1.8em; font-size: 1.05rem; }
.btn-sm { padding: .5em 1em; font-size: .9rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-wow {
    background: linear-gradient(135deg, var(--coral), #ffa047);
    color: #fff;
    font-weight: 700;
    border: none;
    padding: .7em 1.4em;
    animation: wiggle 3s ease-in-out infinite;
}
.btn-wow:hover { transform: scale(1.06) rotate(-1deg); }
@keyframes wiggle {
    0%, 92%, 100% { transform: rotate(0); }
    94% { transform: rotate(-3deg); }
    96% { transform: rotate(3deg); }
    98% { transform: rotate(-2deg); }
}

/* ---------- Header / Nav ---------- */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 50;
    backdrop-filter: blur(10px);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    gap: 1rem;
}
.logo {
    display: inline-flex; align-items: center; gap: .7rem;
    color: var(--sea-deep);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -.02em;
}
.logo:hover { color: var(--sea-deep); }
.logo-mark {
    width: 44px; height: 44px;
    border-radius: 11px;
    box-shadow: var(--shadow-sm);
    display: block;
}

.primary-nav ul {
    display: flex; gap: .4rem; list-style: none;
    margin: 0; padding: 0;
}
.primary-nav a {
    display: block;
    padding: .6em 1.1em;
    border-radius: 999px;
    color: var(--text);
    font-weight: 600;
    transition: background .15s, color .15s;
}
.primary-nav a:hover { background: var(--sea-mist); color: var(--sea-deep); }
.primary-nav a[aria-current="page"] { background: var(--sea-deep); color: #fff; }

.nav-toggle {
    display: none;
    width: 44px; height: 44px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    flex-direction: column; justify-content: center; align-items: center;
    gap: 5px; cursor: pointer;
}
.nav-toggle span {
    width: 22px; height: 2px; background: var(--sea-deep); border-radius: 2px;
    transition: transform .2s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 7rem 0 9rem;
    color: #fff;
    overflow: hidden;
    background-color: var(--sea-deep);
    background-image:
        linear-gradient(135deg, rgba(10,61,92,.82) 0%, rgba(10,61,92,.55) 50%, rgba(229,77,60,.4) 100%),
        url("../images/texel-vuurtoren-eierland.jpg");
    background-size: cover;
    background-position: center 40%;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 30%, rgba(255,160,71,.22), transparent 55%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    max-width: 780px;
    text-align: center;
    margin: 0 auto;
}
.hero-text { max-width: none; }
.hero-text .eyebrow { font-size: .85rem; color: #ffd38a; }
.hero-text h1 { margin-bottom: .5em; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.hero-text .lead { font-size: 1.2rem; color: rgba(255,255,255,.94); max-width: 56ch; margin-left: auto; margin-right: auto; }
.underline-wave {
    position: relative;
    color: #ffb84a;
    white-space: nowrap;
}
.underline-wave::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -6px;
    height: 10px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 10'><path d='M0 5 Q15 0 30 5 T60 5 T90 5 T120 5' fill='none' stroke='%23ffb84a' stroke-width='3' stroke-linecap='round'/></svg>") center / 100% 100% no-repeat;
}
.hero-buttons {
    display: flex; flex-wrap: wrap; gap: .75rem; justify-content: center;
    margin: 1.8rem 0 2.2rem;
}
.hero-badges {
    display: flex; flex-wrap: wrap; gap: 2rem; justify-content: center;
    list-style: none; padding: 0; margin: 0;
    font-size: .95rem; color: rgba(255,255,255,.85);
}
.hero-badges li strong {
    display: block; font-size: 1.6rem; color: #fff;
    font-family: var(--font-head);
}

.eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--coral);
    margin-bottom: 1rem;
}

.wave-divider {
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    color: var(--bg);
    line-height: 0;
    pointer-events: none;
}
.wave-divider svg { width: 100%; height: 80px; display: block; }
.wave-divider.flip svg { transform: scaleY(-1); }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-alt { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.no-pad-top { padding-top: 2.5rem; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 3rem; }
.section-header p { color: var(--muted); font-size: 1.05rem; }
.center-cta { text-align: center; margin-top: 3rem; }

/* ---------- Page head ---------- */
.page-head {
    padding: 4rem 0 3rem;
    position: relative;
    color: #fff;
    background-color: var(--sea-deep);
    background-size: cover;
    background-position: center;
}
.page-head::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(10,61,92,.82), rgba(30,96,145,.55));
    pointer-events: none;
}
.page-head .container { position: relative; }
.page-head h1 { margin-bottom: .3em; color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.2); }
.page-head p, .page-head .lead { color: rgba(255,255,255,.92); }
.page-head .eyebrow { color: #ffd38a; }
.page-head-banner-domeinen { background-image: url("../images/texel-schapen-kudde-weiland.jpg"); }
.page-head-banner-contact  { background-image: url("../images/texel-schaap-groningen-dijk.jpg"); }
.page-head-banner-detail   { background-image: url("../images/texel-vuurtoren-eierland.jpg"); background-position: center 35%; }
.set-companions-header { margin-bottom: .3em; }
.set-companion-name {
    display: inline-block;
    font-size: .85em;
    opacity: .85;
    margin-right: .5rem;
}
.page-head-badges { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: 1rem; }
.back-link {
    display: inline-block; margin-bottom: 1rem; font-weight: 600;
    color: rgba(255,255,255,.9);
}
.back-link:hover { color: #ffd38a; }

/* ---------- Domain grid (home) ---------- */
.domain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.domain-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex; flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
    color: var(--text);
    position: relative;
}
.domain-card::before {
    content: "";
    display: block;
    height: 8px;
    background: linear-gradient(90deg, var(--sea-light), var(--coral));
}
.domain-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    color: var(--text);
}
.domain-card-body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; gap: .85rem; }
.domain-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: .5rem; flex-wrap: wrap; }
.domain-card-top h3 { margin: 0; font-size: 1.35rem; word-break: break-word; }
.domain-tag { color: var(--muted); margin: 0; font-size: .95rem; }
.domain-card-stats {
    display: grid; grid-template-columns: 1fr 1fr; gap: .75rem;
    padding: .85rem; background: var(--sea-mist);
    border-radius: var(--radius-sm);
}
.stat-label {
    display: block; font-size: .75rem; text-transform: uppercase;
    letter-spacing: .05em; color: var(--muted); font-weight: 600;
}
.stat strong { font-size: 1.05rem; color: var(--sea-deep); font-family: var(--font-head); }
.domain-card-footer {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: auto; padding-top: .75rem; border-top: 1px dashed var(--border);
}
.price { color: var(--coral); font-weight: 700; font-size: 1.2rem; font-family: var(--font-head); }
.price small { color: var(--muted); font-weight: 400; font-size: .7rem; font-family: var(--font-body); display: block; }
.arrow { font-size: 1.4rem; color: var(--sea-deep); transition: transform .2s; }
.domain-card:hover .arrow { transform: translateX(4px); }

/* ---------- USP ---------- */
.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.usp {
    background: var(--sand);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--sand-warm);
}
.usp-icon { font-size: 2.4rem; margin-bottom: .5rem; }

/* ---------- Badges ---------- */
.badge {
    display: inline-block;
    padding: .25em .75em;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.badge-set { background: #fde68a; color: #92400e; font-size: .65rem; padding: .2em .6em; }
.badge-sold { background: #e5eaf0; color: #64748b; font-size: .65rem; padding: .2em .6em; }
.badge-bid { background: #d1fae5; color: #065f46; }
.badge-cat { background: var(--sea-mist); color: var(--sea-deep); }

/* ---------- Layout: domeinen pagina ---------- */
.layout-domeinen {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: start;
}
.filters {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    position: sticky;
    top: 90px;
}
.filters h2 { font-size: 1.15rem; margin-bottom: 1rem; }
.filter-form .field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.filter-form .field span { font-size: .85rem; font-weight: 600; color: var(--sea-deep); }
.filter-form input[type=text],
.filter-form input[type=search],
.filter-form input[type=number],
.filter-form input[type=email],
.filter-form select,
.filter-form textarea {
    font: inherit;
    padding: .6em .8em;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    width: 100%;
}
.filter-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5em;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%230a3d5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right .8em center;
    background-size: 12px;
    cursor: pointer;
}
.filter-form input:focus,
.filter-form select:focus,
.filter-form textarea:focus {
    outline: 2px solid var(--sea-light);
    outline-offset: 2px;
    background: var(--white);
}
.field-checks { border: 0; padding: 0; margin: 0 0 1rem; }
.field-checks legend { font-size: .85rem; font-weight: 600; color: var(--sea-deep); margin-bottom: .3rem; }
.field-checks label { display: flex; align-items: center; gap: .5rem; font-size: .95rem; margin-bottom: .3rem; cursor: pointer; }
.filter-actions { display: flex; gap: .5rem; align-items: center; }

/* ---------- Results / domain list ---------- */
.results-top { margin-bottom: 1rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.results-count { color: var(--muted); margin: 0; }
.results-count strong { color: var(--sea-deep); font-size: 1.2rem; }
.sort-dropdown {
    font: inherit; font-size: .9rem;
    padding: .45em 2.2em .45em .8em;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--text);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%230a3d5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right .7em center;
    background-size: 10px;
}
.sort-dropdown:focus { outline: 2px solid var(--sea-light); outline-offset: 2px; }
.empty { padding: 2rem; background: var(--white); border-radius: var(--radius); text-align: center; color: var(--muted); }
.domain-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .5rem; }
.domain-row {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: background .15s, border-color .15s, transform .15s;
    overflow: hidden;
}
.domain-row:hover { border-color: var(--sea-light); background: #fafcfe; transform: translateX(2px); }
.domain-row-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: .50rem 1.25rem;
    color: var(--text);
    position: relative;
    min-height: 52px;
}
.domain-row-link::before {
    content: "";
    position: absolute;
    left: 0; top: 10%; bottom: 10%;
    width: 4px;
    background: linear-gradient(180deg, var(--sea-light), var(--coral));
    border-radius: 0 4px 4px 0;
}
.domain-row-name {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--sea-deep);
    flex: 0 0 auto;
    margin-right: .25rem;
}
.domain-row-badges { display: flex; gap: .35rem; flex-wrap: wrap; }
.domain-row-spacer { flex: 1; }
.domain-row-meta {
    display: flex; gap: 1.2rem;
    font-size: .8rem; color: var(--muted);
    white-space: nowrap;
}
.domain-row-meta span strong { color: var(--sea-deep); font-weight: 700; }
.domain-row-price {
    min-width: 110px;
    text-align: right;
    flex: 0 0 auto;
}
.domain-row-price .price { font-size: 1.05rem; line-height: 1.1; display: block; }
.domain-row-price small { color: var(--muted); font-size: .68rem; }
.domain-row-cta {
    background: var(--sea-deep);
    color: #fff;
    padding: .45em .9em;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background .15s, transform .15s;
    flex-shrink: 0;
}
.domain-row:not(.is-sold):hover .domain-row-cta {
    background: var(--coral);
    transform: translateX(2px);
}
.domain-row.is-sold {
    opacity: .6;
    background: #f8f9fb;
}
.domain-row.is-sold .domain-row-link { cursor: not-allowed; }
.domain-row.is-sold .domain-row-name { text-decoration: line-through; color: var(--muted); }
.domain-row.is-sold .domain-row-link::before { background: #cbd5e1; }
.domain-row-cta-sold { background: #e5eaf0; color: #64748b; cursor: not-allowed; }

/* ---------- Detail ---------- */
.layout-detail {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 2rem;
    align-items: start;
}
.detail-main { display: flex; flex-direction: column; gap: 1.5rem; }
.detail-side { display: flex; flex-direction: column; gap: 1.5rem; position: sticky; top: 90px; }
.card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
}
.card h2 { margin-top: 0; }
.card-price {
    background: linear-gradient(180deg, var(--sand), var(--white));
    border: 2px solid var(--sand-warm);
    text-align: center;
}
.card-price .price-features { text-align: left; }
.detail-side > .card { text-align: center; }
.price-label { font-size: .8rem; font-weight: 700; text-transform: uppercase; color: var(--muted); }
.price-big {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-family: var(--font-head);
    color: var(--coral);
    font-weight: 700;
    margin: .3rem 0 .3rem;
    line-height: 1.1;
}
.price-big.sold-label { color: var(--muted); }
.btn-wrap { text-align: center; margin-top: 1.5rem; }
.bid-option {
    text-align: center;
    margin-top: .75rem;
    font-size: .9rem;
    color: var(--muted);
}
.bid-option p { margin: 0; line-height: 1.4; }
.bid-option a { color: var(--coral); font-weight: 700; }
.bid-option a:hover { text-decoration: underline; }
.price-features { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-direction: column; gap: .4rem; font-size: .9rem; color: var(--muted); }
.card-set { background: #fff7ea; border-color: #fde68a; }
.set-members { list-style: none; padding: 0; margin: .5rem 0 0; }
.set-members li { padding: .5rem 0; border-top: 1px dashed #fde68a; }

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.stat-box {
    background: var(--sea-mist);
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
}
.stat-box strong { display: block; font-size: 1.6rem; color: var(--sea-deep); font-family: var(--font-head); line-height: 1.1; margin: .2rem 0; font-weight: 800; }
.stat-box small { color: var(--muted); font-size: .75rem; line-height: 1.3; display: block; margin-top: .15rem; }
.stat-box-highlight {
    background: linear-gradient(135deg, #fff2d8, #ffe0c0);
    border-color: #ffd38a;
}
.stat-box-highlight strong { color: var(--coral-dk); font-size: 1.8rem; }
.stat-max { font-size: .75rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.meta-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; margin: 0; padding: 1rem 0 0; border-top: 1px dashed var(--border); }
.meta-list div { }
.meta-list dt { font-size: .75rem; text-transform: uppercase; color: var(--muted); font-weight: 700; letter-spacing: .05em; }
.meta-list dd { margin: .25rem 0 0; font-weight: 600; color: var(--sea-deep); }

/* ---------- Wayback chart ---------- */
.wayback-chart {
    display: flex;
    align-items: flex-end;
    gap: .75rem;
    height: 220px;
    padding: 1rem 0;
    border-bottom: 2px solid var(--border);
}
.wayback-bar {
    flex: 1;
    height: var(--h, 10%);
    background: linear-gradient(180deg, var(--sea-light), var(--sea));
    border-radius: 8px 8px 0 0;
    position: relative;
    min-height: 20px;
    transition: transform .2s;
}
.wayback-bar:hover { transform: translateY(-4px); }
.wayback-count {
    position: absolute;
    top: -22px; left: 50%; transform: translateX(-50%);
    font-size: .75rem; font-weight: 700; color: var(--sea-deep);
}
.wayback-year {
    position: absolute;
    bottom: -22px; left: 50%; transform: translateX(-50%);
    font-size: .75rem; color: var(--muted);
}

/* ---------- Contact ---------- */
.layout-contact {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 2rem;
    align-items: start;
}
.contact-form .field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; }
.contact-form .field span { font-weight: 600; color: var(--sea-deep); font-size: .9rem; }
.contact-form input, .contact-form textarea, .contact-form select {
    font: inherit;
    padding: .8em 1em;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    width: 100%;
    color: var(--text);
}
.contact-form select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5em;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path d='M1 1l5 5 5-5' fill='none' stroke='%230a3d5c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 1em center;
    background-size: 12px;
    cursor: pointer;
}
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
    outline: 2px solid var(--sea-light); outline-offset: 2px; background-color: #fff;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
/* ---------- Checkout ---------- */
.form-section-title {
    font-size: 1.1rem;
    margin: 1.8rem 0 .8rem;
    color: var(--sea-deep);
    font-weight: 700;
}
.form-section-title:first-child { margin-top: .5rem; }
.form-row-address { grid-template-columns: 2fr 1fr; display: grid; gap: 1rem; }
.layout-checkout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 2rem;
    align-items: start;
    max-width: 900px;
    margin: 0 auto;
}
.checkout-summary { position: sticky; top: 90px; }
.checkout-lines { margin: 0; padding: 0; }
.checkout-lines div { display: flex; justify-content: space-between; padding: .4rem 0; }
.checkout-lines dt { font-weight: 400; color: var(--text); }
.checkout-lines dd { margin: 0; font-weight: 600; color: var(--sea-deep); }
.checkout-totals { margin-top: .5rem; }
.checkout-total-row dt, .checkout-total-row dd { font-size: 1.15rem; font-weight: 800; }
.checkout-total-row dd { color: var(--coral); }
.checkout-summary hr { border: 0; border-top: 1px dashed var(--border); margin: .75rem 0; }
.payment-logos {
    display: flex; gap: .5rem; flex-wrap: wrap; align-items: center;
    margin-top: 1rem; padding-top: .75rem;
    border-top: 1px dashed var(--border);
}
.payment-logos img { height: 40px; width: auto; }
.process-steps {
    list-style: none;
    counter-reset: step;
    padding: 0;
    margin: .5rem 0 0;
    display: flex;
    flex-direction: column;
    gap: .85rem;
}
.process-steps li {
    counter-increment: step;
    position: relative;
    padding-left: 2.2rem;
    font-size: .92rem;
    line-height: 1.4;
}
.process-steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.6rem;
    height: 1.6rem;
    background: var(--sea-deep);
    color: #fff;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: .8rem;
    font-weight: 700;
}

@media (max-width: 720px) {
    .layout-checkout { grid-template-columns: 1fr; }
    .checkout-summary { position: static; }
}

.contact-info { display: flex; flex-direction: column; gap: 1rem; }
.captcha-intro { margin: 1rem 0 .25rem; }
.field-captcha { max-width: 280px; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.error-list { background: #fee2e2; border: 1px solid #fecaca; color: #991b1b; padding: 1rem 1.5rem; border-radius: var(--radius-sm); margin-bottom: 1rem; }
.card-success { background: #ecfdf5; border-color: #a7f3d0; }
.card-tip { background: var(--sand); border-color: var(--sand-warm); }

/* ---------- Photo CTA (aanbieden) ---------- */
.photo-cta {
    position: relative;
    padding: 6rem 0;
    color: #fff;
    background-color: var(--sea-deep);
    background-image: url("../images/texel-schapen-grazend-landschap.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    overflow: hidden;
}
.photo-cta::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,61,92,.85) 0%, rgba(10,61,92,.75) 100%);
}
.photo-cta .container { position: relative; text-align: center; max-width: 720px; }
.photo-cta h2 { color: #fff; font-size: clamp(1.8rem, 2vw + 1.2rem, 2.6rem); text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.photo-cta .eyebrow { color: #ffd38a; }
.photo-cta p { color: rgba(255,255,255,.95); font-size: 1.1rem; max-width: 58ch; margin: 0 auto 2rem; }
.photo-cta .btn-primary { box-shadow: 0 4px 0 var(--coral-dk), 0 20px 40px rgba(0,0,0,.25); }

/* ---------- Photo strip ---------- */
.photo-strip {
    position: relative;
    padding: 4rem 0 5rem;
    color: #fff;
    text-align: center;
    background-color: var(--sea-deep);
    background-image: url("../images/texel-schapen-molen-ochtendmist.jpg");
    background-size: cover;
    background-position: center;
}
.photo-strip::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,61,92,.55), rgba(10,61,92,.85));
}
.photo-strip .container { position: relative; }
.photo-strip-slogan {
    font-family: var(--font-head);
    font-size: clamp(1.4rem, 1.5vw + 1rem, 2rem);
    font-weight: 800;
    line-height: 1.3;
    max-width: 36ch;
    margin: 0 auto;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

/* ---------- Photo credits ---------- */
.photo-credits {
    background: var(--footer);
    color: #7a8ea4;
    font-size: .75rem;
    text-align: center;
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255,255,255,.06);
    margin: 0;
}
.photo-credits a { color: #a6b8cc; }
.photo-credits a:hover { color: var(--coral); }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--footer);
    color: #c5d4e2;
    padding: 4rem 0 2rem;
    margin-top: 0;
    text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.logo-footer { color: #fff; font-size: 1.6rem; }
.logo-footer:hover { color: #fff; }
.logo-footer .logo-mark { width: 56px; height: 56px; border-radius: 14px; }
.footer-parent {
    display: inline-flex; align-items: center; gap: .75rem;
    font-size: 1.05rem;
    color: #c5d4e2;
    margin: 0;
    flex-wrap: wrap;
    justify-content: center;
}
.parent-brand {
    display: inline-flex; align-items: center;
    vertical-align: middle;
    margin-left: .4rem;
}
.parent-brand:hover { opacity: .8; }
.parent-logo { height: 28px; width: auto; display: inline-block; }
.footer-label {
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .8rem;
    color: #7a8ea4;
    margin: 1rem 0 0;
}
.sister-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem 2.5rem;
}
.sister-list a { color: #c5d4e2; font-weight: 600; }
.sister-list a:hover { color: var(--coral); }
.site-footer hr { width: 100%; max-width: 640px; border: 0; border-top: 1px solid rgba(255,255,255,.08); margin: 1rem 0 0; }
.legal-links {
    list-style: none; padding: 0; margin: 1rem 0 0;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem;
    font-size: .85rem;
}
.legal-links a { color: #7a8ea4; }
.legal-links a:hover { color: var(--coral); }
.copyright { font-size: .9rem; color: #7a8ea4; margin: 1rem 0 0; }

/* ---------- Cookiebar ---------- */
.cookiebar {
    position: fixed;
    left: 50%; bottom: 1.5rem;
    transform: translateX(-50%) translateY(calc(100% + 3rem));
    max-width: 720px;
    width: calc(100% - 2rem);
    background: var(--white);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    border: 2px solid var(--sand-warm);
    z-index: 100;
    transition: transform .4s cubic-bezier(.2,.9,.3,1.2), opacity .3s;
}
.cookiebar.is-visible { transform: translateX(-50%) translateY(0); }
.cookiebar.is-hiding { transform: translateX(-50%) translateY(calc(100% + 3rem)); opacity: 0; }
.cookiebar-inner {
    display: flex; align-items: center; gap: .75rem;
    padding: .85rem 1.25rem;
}
.cookiebar p { margin: 0; font-size: .9rem; flex: 1; }

/* ---------- Responsive ---------- */
/* Tablets + kleine laptops */
@media (max-width: 960px) {
    .layout-domeinen { grid-template-columns: 1fr; gap: 1.5rem; }
    .filters { position: static; }

    .layout-detail { grid-template-columns: 1fr; gap: 1.5rem; }
    .detail-side { position: static; }

    .layout-contact { grid-template-columns: 1fr; gap: 1.5rem; }

    .hero { padding: 5rem 0 6rem; }
    .hero-inner { max-width: 100%; }
}

/* Mobiel */
@media (max-width: 720px) {
    body { font-size: 15px; }

    /* Navigatie */
    .nav-toggle { display: flex; }
    .primary-nav {
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        max-height: 0; overflow: hidden;
        transition: max-height .3s;
    }
    .primary-nav.is-open { max-height: 400px; }
    .primary-nav ul { flex-direction: column; padding: 1rem; gap: 0; }
    .primary-nav a { padding: .9em 1em; border-radius: 10px; }

    /* Layout */
    .section { padding: 2.5rem 0; }
    .no-pad-top { padding-top: 1.5rem; }
    .hero { padding: 3rem 0 4rem; }
    .photo-cta { padding: 3rem 0; }
    .photo-strip { padding: 2.5rem 0 3rem; }
    .page-head { padding: 2.5rem 0 2rem; }
    .card { padding: 1.25rem; }
    .section-header { margin-bottom: 2rem; }

    /* Headings compacter */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.35rem; }

    /* Hero */
    .hero-text .lead { font-size: 1rem; }
    .hero-buttons { margin: 1.2rem 0 1.5rem; }
    .hero-buttons .btn { font-size: .95rem; padding: .7em 1.3em; }
    .hero-badges { gap: 1.5rem; }
    .hero-badges li strong { font-size: 1.3rem; }

    /* Domein lijst — herschreven voor mobiel */
    .domain-list { gap: .5rem; }
    .domain-row-link {
        display: grid;
        grid-template-columns: 1fr auto;
        gap: .3rem .75rem;
        padding: .85rem 1rem;
        min-height: 0;
    }
    .domain-row-link::before {
        width: 3px;
        top: 0; bottom: 0;
        border-radius: 0;
    }
    .domain-row-name {
        grid-column: 1;
        grid-row: 1;
        font-size: 1rem;
        font-weight: 700;
    }
    .domain-row-badges {
        grid-column: 1;
        grid-row: 2;
        display: flex;
        gap: .35rem;
        flex-wrap: wrap;
    }
    .domain-row-badges:empty { display: none; }
    .domain-row-spacer { display: none; }
    .domain-row-meta {
        grid-column: 1 / -1;
        grid-row: 3;
        display: flex;
        gap: 1rem;
        font-size: .78rem;
        flex-wrap: wrap;
        margin-top: .25rem;
        padding-top: .5rem;
        border-top: 1px dashed var(--border);
    }
    .domain-row-price {
        grid-column: 2;
        grid-row: 1 / span 2;
        text-align: right;
        align-self: center;
        min-width: 0;
        margin: 0;
    }
    .domain-row-price .price { font-size: 1.05rem; }
    .domain-row-cta {
        grid-column: 1 / -1;
        grid-row: 4;
        margin-top: .5rem;
        text-align: center;
        justify-self: stretch;
        padding: .5em 1em;
    }

    /* Filters */
    .filters { padding: 1.25rem; }
    .results-top { gap: .5rem; }
    .results-count { font-size: .95rem; }

    /* Domein cards (home) */
    .domain-grid { gap: 1rem; }
    .domain-card-body { padding: 1.25rem; gap: .65rem; }
    .domain-card-top h3 { font-size: 1.2rem; }

    /* Detail pagina */
    .stat-grid { grid-template-columns: repeat(2, 1fr); gap: .65rem; }
    .stat-box { padding: .85rem; }
    .stat-box strong { font-size: 1.3rem; }
    .stat-box-highlight strong { font-size: 1.45rem; }
    .stat-box small { font-size: .7rem; }
    .meta-list { grid-template-columns: 1fr; gap: .75rem; }
    .price-big { font-size: 2rem; }

    /* Forms */
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .form-row .field { margin-bottom: 1rem; }
    .form-row-address { grid-template-columns: 2fr 1fr; display: grid; }
    .form-section-title { margin: 1.5rem 0 .5rem; font-size: 1rem; }

    /* Checkout */
    .layout-checkout { grid-template-columns: 1fr; gap: 1.5rem; }
    .checkout-summary { position: static; }

    /* USPs */
    .usp-grid { gap: 1rem; }
    .usp { padding: 1.5rem; }

    /* Footer */
    .site-footer { padding: 3rem 0 1.5rem; }
    .logo-footer { font-size: 1.3rem; }
    .logo-footer .logo-mark { width: 44px; height: 44px; }
    .sister-list { gap: 1rem 1.5rem; }
    .legal-links { gap: 1rem; font-size: .8rem; }

    /* Wayback (legacy, wordt niet meer gebruikt maar voor de zekerheid) */
    .wayback-chart { height: 140px; gap: .3rem; }
    .wayback-count, .wayback-year { font-size: .6rem; }

    /* Cookiebar */
    .cookiebar { left: .75rem; right: .75rem; bottom: .75rem; }
    .cookiebar-inner { padding: .75rem 1rem; gap: .5rem; }
    .cookiebar p { font-size: .85rem; }
    .btn-wow { padding: .55em 1.1em; font-size: .9rem; }

    /* Tables in privacy/sitemap */
    pre { padding: 1rem; font-size: .8rem; }

    /* Knoppen iets compacter */
    .btn-lg { padding: .85em 1.4em; font-size: 1rem; }
}

/* Hele smalle schermen (< 420px) */
@media (max-width: 420px) {
    .container { padding: 0 1rem; }
    h1 { font-size: 1.55rem; }
    .domain-row-meta { gap: .75rem; font-size: .72rem; }
    .domain-row-price .price { font-size: 1rem; }
    .hero-badges { gap: 1.2rem; }
    .stat-grid { grid-template-columns: 1fr; }
    .form-row-address { grid-template-columns: 1fr; display: grid; }
    .sister-list { flex-direction: column; gap: .75rem; }
    .page-head h1 { line-height: 1.2; }
    .price-big { font-size: 1.75rem; }
}
