/* ==========================================================
   DigyFix — Reparaties & upgrades
   Zelfde kleuren en lettertype als de rest van de site.
   Interactie: repairs.js. Achtergrond: repairs-bg.css + repairs-bg.js.

   Inhoud van dit bestand:
   1. Basis en gedeelde onderdelen
   2. Introductie en snel starten
   3. Merkenband
   4. Apparaten-verkenner
   5. Upgrade-check
   6. Zo werkt het + statuskaartje
   7. Vragen en afsluiter
   8. Tablet en mobiel
   ========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,400..800&display=swap');

/* ----------------------------------------------------------
   1. Basis en gedeelde onderdelen
   ---------------------------------------------------------- */

.repair-page {
    --repair-text: var(--site-text);
    --repair-ink: #0f1b2d;
    --repair-muted: var(--site-muted);
    --repair-line: var(--site-border);
    --repair-blue: var(--site-link);
    --repair-blue-deep: var(--site-surface);
    --repair-blue-soft: var(--site-surface-soft);
    --repair-on-blue: var(--site-muted);
    --repair-tag: #f3c332;
    --repair-tag-hover: #ffd75a;
    --repair-glass: var(--site-surface);
    --repair-page-bg: var(--site-background);
    --repair-glow: 0 1px 2px #0000000f, 0 18px 50px -12px #0000002e;
    --repair-glow-strong: 0 2px 4px #00000014, 0 30px 70px -18px #00000059;

    position: relative;
    color: var(--repair-text);
    color-scheme: dark;
    font-family: 'Archivo', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
}

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

.repair-inner {
    position: relative;
    width: min(1320px, calc(100% - 64px));
    margin: 0 auto;
    padding-bottom: 112px;
}

.repair-page svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

.repair-page a {
    text-decoration: none;
}

.repair-page button {
    font: inherit;
    cursor: pointer;
}

.repair-page a:focus-visible,
.repair-page button:focus-visible,
.repair-page summary:focus-visible {
    outline: 3px solid var(--repair-tag);
    outline-offset: 3px;
}

.repair-section {
    margin-top: 144px;
    scroll-margin-top: 96px;
}

/* Labels met een geel bolletje */
.repair-eyebrow,
.repair-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px;
    color: var(--repair-blue);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.4;
}

.repair-eyebrow {
    padding: 6px 14px 6px 10px;
    border: 1px solid var(--repair-line);
    border-radius: 999px;
    background: var(--repair-glass);
}

.repair-eyebrow::before,
.repair-label::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--repair-tag);
    box-shadow: 0 0 0 4px #f3c33233;
}

.repair-heading h2 {
    max-width: 18ch;
    margin: 0;
    font-size: clamp(2rem, 3.8vw, 3.1rem);
    font-weight: 700;
    font-stretch: 115%;
    letter-spacing: -0.03em;
    line-height: 1.06;
    text-wrap: balance;
}

.repair-heading > p:not(.repair-label) {
    max-width: 52ch;
    margin: 18px 0 0;
    color: var(--repair-muted);
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Knoppen */
.repair-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 14px 22px;
    border: 1px solid var(--repair-tag);
    border-radius: 10px;
    background: var(--repair-tag);
    color: var(--repair-ink);
    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.4;
    box-shadow: 0 10px 24px -12px #f3c332b3;
    transition: background 160ms ease, border-color 160ms ease;
}

.repair-button svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    transition: transform 160ms ease;
}

.repair-button:hover {
    border-color: var(--repair-tag-hover);
    background: var(--repair-tag-hover);
}

.repair-button:hover svg {
    transform: translateX(3px);
}

.repair-button--wide {
    width: 100%;
}

.repair-button--ghost {
    border-color: var(--repair-line);
    background: var(--repair-glass);
    color: var(--repair-text);
    box-shadow: none;
}

.repair-button--ghost:hover {
    border-color: var(--repair-blue);
    background: var(--repair-blue-soft);
}

.repair-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 44px;
    color: var(--repair-blue);
    font-size: 0.98rem;
    font-weight: 600;
}

.repair-link svg {
    width: 18px;
    height: 18px;
    stroke-width: 2;
    transform: rotate(90deg);
    transition: transform 160ms ease;
}

.repair-link:hover svg {
    transform: rotate(90deg) translateX(3px);
}

/* Glazen paneel: gedeeld door kaarten die over de achtergrond liggen */
.repair-quick,
.repair-upgrade,
.repair-tracker,
.repair-faq-list {
    border: 1px solid var(--repair-line);
    background: var(--repair-glass);
    box-shadow: var(--repair-glow);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* ----------------------------------------------------------
   2. Introductie en snel starten
   ---------------------------------------------------------- */

.repair-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 72px;
    min-height: min(760px, calc(100vh - 120px));
    padding: 80px 0 48px;
}

/* Zachte waas achter de tekst, zodat de printplaat niet stoort. */
.repair-hero-copy,
.repair-upgrades-intro,
.repair-process-steps {
    position: relative;
    isolation: isolate;
}

.repair-hero-copy::before,
.repair-upgrades-intro::before,
.repair-process-steps::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: -80px -120px -80px -160px;
    background: radial-gradient(closest-side, var(--repair-page-bg) 55%, transparent);
    pointer-events: none;
}

.repair-upgrades-intro::before,
.repair-process-steps::before {
    inset: -60px -60px -60px -100px;
    background: radial-gradient(closest-side, var(--repair-page-bg) 70%, transparent);
}

.repair-hero h1 {
    max-width: 14ch;
    margin: 0;
    font-size: clamp(2.6rem, 5.6vw, 4.8rem);
    font-weight: 700;
    font-stretch: 118%;
    letter-spacing: -0.035em;
    line-height: 1;
    text-wrap: balance;
}

.repair-hero-text {
    max-width: 50ch;
    margin: 26px 0 0;
    color: var(--repair-muted);
    font-size: 1.12rem;
    line-height: 1.7;
}

.repair-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin: 28px 0 20px;
    padding: 0;
    list-style: none;
}

.repair-facts li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
}

.repair-facts svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
    color: var(--repair-blue);
}

/* Snel starten */
/* Compact keuzevak, rechts uitgelijnd in de hero */
.repair-quick {
    justify-self: end;
    width: 100%;
    max-width: 380px;
    padding: 20px;
    border-radius: 18px;
    box-shadow: var(--repair-glow-strong);
}

.repair-quick-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    font-stretch: 112%;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.repair-quick-text {
    margin: 4px 0 14px;
    color: var(--repair-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Alle knoppen op één rij, even breed. */
.repair-quick-options {
    display: grid;
    grid-auto-columns: minmax(0, 1fr);
    grid-auto-flow: column;
    gap: 6px;
    margin-bottom: 12px;
}

.repair-quick-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 56px;
    padding: 8px 6px;
    border: 1px solid var(--repair-line);
    border-radius: 12px;
    background: var(--repair-blue-soft);
    color: var(--repair-text);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.repair-quick-option:hover {
    border-color: var(--repair-blue);
}

.repair-quick-option[aria-pressed='true'] {
    border-color: var(--repair-blue);
    background: var(--repair-blue);
    color: var(--repair-ink);
}

/* ----------------------------------------------------------
   3. Merkenband
   ---------------------------------------------------------- */

.repair-brands {
    overflow: hidden;
    margin-top: 24px;
    padding: 22px 0;
    border-block: 1px solid var(--repair-line);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.repair-brands-track {
    display: flex;
    width: max-content;
    animation: repair-brands 40s linear infinite;
}

.repair-brands:hover .repair-brands-track {
    animation-play-state: paused;
}

.repair-brands ul {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.repair-brands li {
    display: flex;
    align-items: center;
    color: var(--repair-muted);
    font-size: 1.6rem;
    font-weight: 700;
    font-stretch: 125%;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

/* Klein geel blokje tussen de merken */
.repair-brands li::after {
    content: '';
    width: 7px;
    height: 7px;
    margin: 0 36px;
    border-radius: 2px;
    background: var(--repair-tag);
}

@keyframes repair-brands {
    to {
        transform: translateX(-50%);
    }
}

/* ----------------------------------------------------------
   4. Apparaten-verkenner
   ---------------------------------------------------------- */

.repair-explorer {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 12px;
    margin-top: 40px;
    padding: 10px;
    border-radius: 26px;
    background:
        radial-gradient(ellipse 50% 80% at 100% 0%, #2f64c466 0, transparent 70%),
        linear-gradient(to right, #ffffff0d 1px, transparent 1px) 0 0 / 24px 24px,
        linear-gradient(to bottom, #ffffff0d 1px, transparent 1px) 0 0 / 24px 24px,
        var(--repair-blue-deep);
    color: #fff;
    box-shadow: var(--repair-glow-strong);
}

/* Zonder JavaScript: alle panelen gewoon onder elkaar. */
.repair-explorer:not(.is-ready) {
    display: block;
}

.repair-explorer-tabs {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.repair-explorer-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 8px 14px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: var(--repair-on-blue);
    font-size: 0.98rem;
    font-weight: 600;
    text-align: left;
    transition: background 160ms ease, color 160ms ease;
}

.repair-explorer-tab:hover {
    background: #ffffff14;
    color: #fff;
}

.repair-explorer-tab[aria-selected='true'] {
    background: var(--repair-blue-soft);
    color: var(--repair-text);
    box-shadow: inset 3px 0 var(--repair-tag);
}

.repair-explorer-tab[aria-selected='true'] svg {
    color: var(--repair-blue);
}

.repair-explorer .repair-explorer-tab:focus-visible,
.repair-explorer a:focus-visible {
    outline-color: var(--repair-tag);
}

.repair-explorer-panel {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 36px 30px;
}

.repair-explorer-panel[hidden] {
    display: none;
}

/* Korte overgang bij het wisselen van tab */
.repair-explorer.is-ready .repair-explorer-panel:not([hidden]) {
    animation: repair-panel-in 320ms ease both;
}

@keyframes repair-panel-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

.repair-explorer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: var(--repair-tag);
    color: var(--repair-ink);
}

.repair-page .repair-explorer-icon svg {
    width: 24px;
    height: 24px;
}

.repair-explorer-panel h3 {
    margin: 0;
    font-size: clamp(1.6rem, 2.4vw, 2rem);
    font-weight: 700;
    font-stretch: 115%;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.repair-explorer-panel > p {
    max-width: 56ch;
    margin: 10px 0 0;
    color: var(--repair-on-blue);
    font-size: 1rem;
    line-height: 1.6;
}

.repair-explorer-panel ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 28px;
    width: 100%;
    max-width: 640px;
    margin: 20px 0 22px;
    padding: 18px 0 0;
    border-top: 1px solid #ffffff26;
    list-style: none;
}

.repair-explorer-panel li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.98rem;
    line-height: 1.45;
}

.repair-explorer-panel li svg {
    width: 18px;
    height: 18px;
    stroke-width: 2.2;
    color: var(--repair-tag);
}

.repair-explorer-panel .repair-button {
    margin-top: auto;
}

/* ----------------------------------------------------------
   5. Upgrade-check
   ---------------------------------------------------------- */

.repair-upgrades {
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 64px;
}

.repair-upgrades-intro {
    position: sticky;
    top: 112px;
}

.repair-complaints {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.repair-complaint {
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--repair-line);
    border-radius: 999px;
    background: var(--repair-glass);
    color: var(--repair-text);
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.3;
    transition: border-color 160ms ease, background 160ms ease;
}

.repair-complaint:hover {
    border-color: var(--repair-blue);
}

.repair-complaint[aria-pressed='true'] {
    border-color: var(--repair-tag);
    background: var(--repair-tag);
    color: var(--repair-ink);
    font-weight: 600;
}

.repair-upgrades-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 44px;
    margin-top: 16px;
}

.repair-upgrades-result {
    margin: 0;
    color: var(--repair-blue);
    font-size: 0.95rem;
    font-weight: 600;
}

.repair-reset {
    min-height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--repair-muted);
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.repair-reset[hidden] {
    display: none;
}

.repair-upgrade-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.repair-upgrade {
    position: relative;
    padding: 24px 24px 26px;
    border-radius: 18px;
    transition: opacity 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.repair-upgrade h3 {
    margin: 0 0 8px;
    padding-right: 80px;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.35;
}

.repair-upgrade p {
    margin: 0;
    color: var(--repair-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.repair-upgrade.is-dim {
    opacity: 0.4;
}

.repair-upgrade.is-match {
    border-color: var(--repair-blue);
    box-shadow: 0 0 0 1px var(--repair-blue), var(--repair-glow);
}

/* Label "Aanrader" op passende upgrades */
.repair-upgrade.is-match::after {
    content: 'Aanrader';
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--repair-tag);
    color: var(--repair-ink);
    font-size: 0.75rem;
    font-weight: 700;
}

/* ----------------------------------------------------------
   6. Zo werkt het + statuskaartje
   ---------------------------------------------------------- */

.repair-process {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 420px;
    align-items: start;
    gap: 80px;
}

.repair-steps {
    margin: 40px 0 36px;
    padding: 0;
    list-style: none;
}

.repair-step {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    padding: 36px 0;
    border-top: 1px solid var(--repair-line);
}

.repair-step:last-child {
    border-bottom: 1px solid var(--repair-line);
}

.repair-step-number {
    color: var(--repair-muted);
    font-size: 2.8rem;
    font-weight: 300;
    font-stretch: 125%;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.04em;
    line-height: 1;
    transition: color 250ms ease;
}

.repair-step h3 {
    margin: 4px 0 8px;
    color: var(--repair-muted);
    font-size: 1.35rem;
    font-weight: 700;
    font-stretch: 112%;
    line-height: 1.25;
    transition: color 250ms ease;
}

.repair-step p {
    max-width: 52ch;
    margin: 0;
    color: var(--repair-muted);
    font-size: 1rem;
    line-height: 1.65;
}

.repair-step.is-active .repair-step-number {
    color: var(--repair-blue);
}

.repair-step.is-active h3 {
    color: var(--repair-text);
}

/* Statuskaartje, blijft staan tijdens het scrollen */
.repair-tracker {
    position: sticky;
    top: 112px;
    margin: 0;
    padding: 28px;
    border-radius: 24px;
    box-shadow: var(--repair-glow-strong);
}

.repair-tracker-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--repair-line);
}

.repair-tracker-number {
    color: var(--repair-muted);
    font-size: 0.88rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.repair-tracker-device {
    margin: 20px 0 4px;
    font-size: 1.3rem;
    font-weight: 700;
    font-stretch: 112%;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.repair-tracker-problem {
    margin: 0;
    color: var(--repair-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.repair-tracker-bar {
    height: 6px;
    margin: 22px 0 24px;
    overflow: hidden;
    border-radius: 3px;
    background: var(--repair-blue-soft);
}

.repair-tracker-bar span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--repair-blue), var(--repair-tag));
    transition: width 400ms ease;
}

.repair-tracker-steps {
    margin: 0;
    padding: 0;
    list-style: none;
}

.repair-tracker-steps li {
    position: relative;
    padding: 0 0 18px 34px;
    color: var(--repair-muted);
    font-size: 0.95rem;
    line-height: 20px;
    transition: color 250ms ease;
}

.repair-tracker-steps li:last-child {
    padding-bottom: 0;
}

/* Bolletje per status */
.repair-tracker-steps li::before {
    content: '';
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 20px;
    height: 20px;
    border: 2px solid var(--repair-muted);
    border-radius: 50%;
    background: var(--repair-glass);
    transition: background 250ms ease, border-color 250ms ease, box-shadow 250ms ease;
}

/* Lijntje naar het volgende bolletje */
.repair-tracker-steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 0;
    left: 9px;
    width: 2px;
    background: var(--repair-line);
    transition: background 250ms ease;
}

.repair-tracker-steps li.is-done {
    color: var(--repair-text);
}

.repair-tracker-steps li.is-done::before {
    border-color: var(--repair-blue);
    background: var(--repair-blue);
}

.repair-tracker-steps li.is-done::after {
    background: var(--repair-blue);
}

.repair-tracker-steps li.is-current {
    color: var(--repair-text);
    font-weight: 700;
}

.repair-tracker-steps li.is-current::before {
    border-color: var(--repair-tag);
    background: radial-gradient(circle, var(--repair-tag) 0 4px, var(--repair-glass) 4.5px);
    box-shadow: 0 0 0 5px #f3c33240;
}

.repair-tracker figcaption {
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid var(--repair-line);
    color: var(--repair-muted);
    font-size: 0.82rem;
    line-height: 1.5;
}

/* ----------------------------------------------------------
   7. Vragen en afsluiter (naast elkaar)
   ---------------------------------------------------------- */

.repair-closing {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
    align-items: start;
    gap: 48px;
}

.repair-faq-list {
    margin-top: 36px;
    padding: 4px 32px;
    border-radius: 22px;
}

.repair-faq-item + .repair-faq-item {
    border-top: 1px solid var(--repair-line);
}

.repair-faq-item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 76px;
    padding: 20px 0;
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.45;
    cursor: pointer;
    list-style: none;
}

.repair-faq-item summary::-webkit-details-marker {
    display: none;
}

.repair-faq-item summary:hover {
    color: var(--repair-blue);
}

.repair-faq-marker {
    position: relative;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--repair-blue-soft);
    color: var(--repair-text);
    transition: background 180ms ease;
}

.repair-faq-marker::before,
.repair-faq-marker::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 10px;
    width: 12px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transition: transform 200ms ease;
}

.repair-faq-marker::after {
    transform: rotate(90deg);
}

.repair-faq-item[open] .repair-faq-marker {
    background: var(--repair-tag);
    color: var(--repair-ink);
}

.repair-faq-item[open] .repair-faq-marker::after {
    transform: none;
}

.repair-faq-item p {
    max-width: 62ch;
    margin: 0;
    padding: 0 56px 24px 0;
    color: var(--repair-muted);
    font-size: 0.98rem;
    line-height: 1.7;
}

.repair-cta {
    position: sticky;
    top: 112px;
    margin-top: 76px;
    padding: 40px 36px 32px;
    border-radius: 24px;
    background:
        radial-gradient(ellipse 80% 70% at 100% 0%, #2f64c466 0, transparent 70%),
        linear-gradient(to right, #ffffff0f 1px, transparent 1px) 0 0 / 24px 24px,
        linear-gradient(to bottom, #ffffff0f 1px, transparent 1px) 0 0 / 24px 24px,
        var(--repair-blue-deep);
    color: #fff;
    box-shadow: var(--repair-glow-strong);
}

.repair-cta h2 {
    margin: 0 0 14px;
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 700;
    font-stretch: 115%;
    letter-spacing: -0.025em;
    line-height: 1.1;
    text-wrap: balance;
}

.repair-cta p {
    margin: 0 0 28px;
    color: var(--repair-on-blue);
    font-size: 1rem;
    line-height: 1.65;
}

.repair-cta-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: 8px;
    color: #fff;
    font-size: 0.93rem;
    text-decoration: underline !important;
    text-decoration-color: #ffffff80 !important;
    text-underline-offset: 5px;
}

.repair-cta-secondary:hover {
    text-decoration-color: #fff !important;
}

.repair-cta a:focus-visible {
    outline-color: var(--repair-tag);
}

/* ----------------------------------------------------------
   8. Tablet en mobiel
   ---------------------------------------------------------- */

@media (max-width: 1100px) {
    .repair-hero {
        grid-template-columns: 1fr;
        gap: 48px;
        min-height: 0;
    }

    .repair-quick {
        justify-self: start;
        max-width: 480px;
    }

    /* Waas achter de tekst niet buiten het scherm laten steken. */
    .repair-hero-copy::before,
    .repair-upgrades-intro::before,
    .repair-process-steps::before {
        inset: -60px 0 -60px -80px;
    }

    .repair-explorer {
        grid-template-columns: 220px minmax(0, 1fr);
    }

    .repair-explorer-panel {
        padding: 26px 28px;
    }

    .repair-upgrades,
    .repair-process,
    .repair-closing {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .repair-tracker,
    .repair-cta {
        position: static;
    }

    /* Niet meer "sticky", maar wel relative: de waas erachter hoort bij dit blok. */
    .repair-upgrades-intro {
        position: relative;
        top: auto;
    }

    .repair-tracker {
        max-width: 480px;
    }

    .repair-cta {
        margin-top: 0;
    }
}

@media (max-width: 760px) {
    /* Tabs worden een rij die je horizontaal kunt vegen. */
    .repair-explorer {
        grid-template-columns: 1fr;
        min-height: 0;
    }

    .repair-explorer-tabs {
        min-width: 0;
        flex-direction: row;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .repair-explorer-tabs {
        padding: 8px;
        border-radius: 18px;
        background: #ffffff0a;
    }

    .repair-explorer-tab {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .repair-explorer-panel ul {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .repair-inner {
        width: calc(100% - 32px);
        padding-bottom: 64px;
    }

    .repair-section {
        margin-top: 96px;
    }

    .repair-hero {
        padding: 48px 0 16px;
    }

    .repair-hero-text {
        font-size: 1.02rem;
    }

    .repair-quick {
        padding: 18px;
    }

    .repair-quick-option {
        min-height: 52px;
        font-size: 0.72rem;
    }

    .repair-brands li {
        font-size: 1.25rem;
    }

    .repair-brands li::after {
        margin: 0 24px;
    }

    .repair-explorer {
        padding: 8px;
        border-radius: 20px;
    }

    .repair-explorer-panel {
        padding: 22px 16px;
    }

    .repair-explorer-panel .repair-button {
        width: 100%;
    }

    .repair-upgrade-grid {
        grid-template-columns: 1fr;
    }

    .repair-step {
        grid-template-columns: 56px minmax(0, 1fr);
        padding: 28px 0;
    }

    .repair-step-number {
        font-size: 2rem;
    }

    .repair-tracker {
        padding: 22px;
    }

    .repair-faq-list {
        padding: 4px 22px;
    }

    .repair-faq-item p {
        padding-right: 0;
    }

    .repair-cta {
        padding: 32px 24px 24px;
    }
}

/* ----------------------------------------------------------
   Minder beweging
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    .repair-page *,
    .repair-page *::before,
    .repair-page *::after {
        animation: none !important;
        transition: none !important;
    }
}
