/* ==========================================================
   WIEKE LOGISTICS
   Juridische pagina's
   Privacyverklaring / Cookiebeleid / Algemene voorwaarden

   Bestand:
   /assets/css/09-legal.css
   ========================================================== */


/* ==========================================================
   01. BASIS
   ========================================================== */

.wieke-legal {
    --legal-orange: #EB6709;
    --legal-orange-dark: #c95105;
    --legal-purple: #595673;
    --legal-purple-dark: #44415c;
    --legal-purple-light: #f2f1f7;
    --legal-bg: #f6f7f9;
    --legal-white: #ffffff;
    --legal-text: #333640;
    --legal-muted: #6b6e78;
    --legal-border: #e3e4e8;
    --legal-shadow: 0 18px 45px rgba(50, 52, 66, 0.08);
    --legal-radius: 22px;
    --legal-radius-small: 14px;

    background: var(--legal-bg);
    color: var(--legal-text);
    line-height: 1.75;
}

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

.wieke-legal a {
    color: var(--legal-purple);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.wieke-legal a:hover,
.wieke-legal a:focus {
    color: var(--legal-orange);
}

.wieke-legal a:focus-visible {
    outline: 3px solid rgba(235, 103, 9, 0.28);
    outline-offset: 4px;
    border-radius: 5px;
}


/* ==========================================================
   02. HERO
   ========================================================== */

.wieke-legal__hero {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    background:
        linear-gradient(
            120deg,
            #44415c 0%,
            #595673 55%,
            #66617f 100%
        );
    padding: 78px 0 82px;
}

.wieke-legal__hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 5px;
    background: linear-gradient(
        90deg,
        var(--legal-orange),
        #f48a35
    );
}

.wieke-legal__hero-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.wieke-legal__hero-shape {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.wieke-legal__hero-shape--one {
    width: 420px;
    height: 420px;
    right: -130px;
    top: -210px;
}

.wieke-legal__hero-shape--two {
    width: 230px;
    height: 230px;
    right: 19%;
    bottom: -160px;
    background: rgba(235, 103, 9, 0.10);
}

.wieke-legal__hero-route {
    position: absolute;
    width: 580px;
    height: 260px;
    right: 4%;
    top: 30px;
    opacity: 0.12;
    transform: rotate(-7deg);
    border: 2px dashed rgba(255, 255, 255, 0.7);
    border-left-color: transparent;
    border-bottom-color: transparent;
    border-radius: 50%;
}

.wieke-legal__hero-inner {
    position: relative;
    z-index: 2;
    max-width: 1180px;
    margin: 0 auto;
}

.wieke-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 28px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.92rem;
}

.wieke-breadcrumb a {
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
}

.wieke-breadcrumb a:hover {
    color: #ffffff;
}

.wieke-section-label--light {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    color: #ffffff;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.11em;
}

.wieke-section-label--light::before {
    content: "";
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--legal-orange);
}

.wieke-legal__title {
    max-width: 850px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(2.45rem, 5vw, 4.4rem);
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.wieke-legal__intro {
    max-width: 780px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(1.05rem, 1.7vw, 1.22rem);
    line-height: 1.7;
}

.wieke-legal__updated {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 28px;
    padding: 9px 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(8px);
    font-size: 0.88rem;
}

.wieke-legal__updated svg {
    display: block;
    color: #ffb47e;
}


/* ==========================================================
   03. PAGINA-LAYOUT
   ========================================================== */

.wieke-legal__body {
    padding: 64px 0 90px;
}

.wieke-legal__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 42px;
    align-items: start;
    max-width: 1180px;
    margin: 0 auto;
}

.wieke-legal__content {
    min-width: 0;
}


/* ==========================================================
   04. CONTENTSECTIES
   ========================================================== */

.wieke-legal__section {
    position: relative;
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 22px;
    margin-bottom: 24px;
    padding: 34px 36px 36px 30px;
    border: 1px solid var(--legal-border);
    border-radius: var(--legal-radius);
    background: var(--legal-white);
    box-shadow: var(--legal-shadow);
}

.wieke-legal__section:last-child {
    margin-bottom: 0;
}

.wieke-legal__section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    color: #ffffff;
    background:
        linear-gradient(
            135deg,
            var(--legal-orange) 0%,
            #f38b39 100%
        );
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    box-shadow: 0 10px 22px rgba(235, 103, 9, 0.20);
}

.wieke-legal__section-content {
    min-width: 0;
}

.wieke-legal__section-content > :first-child {
    margin-top: 0;
}

.wieke-legal__section-content > :last-child {
    margin-bottom: 0;
}

.wieke-legal__section h2 {
    margin: 1px 0 18px;
    color: var(--legal-purple-dark);
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.wieke-legal__section h3 {
    margin: 28px 0 12px;
    color: var(--legal-purple);
    font-size: 1.08rem;
    line-height: 1.35;
}

.wieke-legal__section p {
    margin: 0 0 16px;
    color: var(--legal-text);
}

.wieke-legal__section ul,
.wieke-legal__section ol {
    margin: 17px 0 20px;
    padding-left: 0;
    list-style: none;
}

.wieke-legal__section li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 29px;
}

.wieke-legal__section li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--legal-orange);
    transform: translateY(-50%);
}

.wieke-legal__small {
    color: var(--legal-muted) !important;
    font-size: 0.9rem;
}


/* ==========================================================
   05. HIGHLIGHT / NOTICE
   ========================================================== */

.wieke-legal__highlight,
.wieke-legal__notice {
    margin: 25px 0;
    border-radius: var(--legal-radius-small);
}

.wieke-legal__highlight {
    display: flex;
    gap: 16px;
    padding: 22px 23px;
    border: 1px solid rgba(235, 103, 9, 0.18);
    border-left: 4px solid var(--legal-orange);
    background:
        linear-gradient(
            135deg,
            #fff7f1 0%,
            #fffaf6 100%
        );
}

.wieke-legal__highlight-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    color: var(--legal-orange);
    background: #ffffff;
    box-shadow: 0 7px 18px rgba(235, 103, 9, 0.10);
}

.wieke-legal__highlight strong,
.wieke-legal__notice strong {
    display: block;
    margin-bottom: 5px;
    color: var(--legal-purple-dark);
}

.wieke-legal__highlight p {
    margin: 0;
}

.wieke-legal__notice {
    padding: 20px 22px;
    border: 1px solid #dedce8;
    background: var(--legal-purple-light);
}

.wieke-legal__notice p {
    margin: 4px 0 0;
}


/* ==========================================================
   06. INFOCARDS
   ========================================================== */

.wieke-legal__cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 24px 0 6px;
}

.wieke-legal__info-card {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-width: 0;
    padding: 21px;
    border: 1px solid var(--legal-border);
    border-radius: 16px;
    background: #fafafd;
}

.wieke-legal__info-card-icon {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    color: var(--legal-orange);
    background: #fff3e9;
}

.wieke-legal__info-card h3 {
    margin: 1px 0 7px;
    font-size: 1rem;
}

.wieke-legal__info-card p {
    margin: 0;
    color: var(--legal-muted);
    font-size: 0.94rem;
}


/* ==========================================================
   07. TABELLEN
   ========================================================== */

.wieke-legal__table-wrapper {
    width: 100%;
    margin: 20px 0;
    overflow-x: auto;
    border: 1px solid var(--legal-border);
    border-radius: 15px;
    background: #ffffff;
}

.wieke-legal__table {
    width: 100%;
    min-width: 620px;
    border-collapse: collapse;
    font-size: 0.94rem;
}

.wieke-legal__table th,
.wieke-legal__table td {
    padding: 15px 17px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--legal-border);
}

.wieke-legal__table th {
    color: #ffffff;
    background: var(--legal-purple);
    font-size: 0.88rem;
    font-weight: 700;
}

.wieke-legal__table tbody tr:last-child td {
    border-bottom: 0;
}

.wieke-legal__table tbody tr:nth-child(even) {
    background: #fafafd;
}

.wieke-legal__table code {
    padding: 3px 7px;
    border-radius: 6px;
    color: var(--legal-purple-dark);
    background: #f0eff5;
    font-size: 0.9em;
}


/* ==========================================================
   08. ADRESBLOK
   ========================================================== */

.wieke-legal__address {
    display: grid;
    gap: 4px;
    margin: 22px 0;
    padding: 22px 24px;
    border-left: 4px solid var(--legal-orange);
    border-radius: 0 14px 14px 0;
    color: var(--legal-text);
    background: #f8f8fb;
    font-style: normal;
}

.wieke-legal__address strong {
    margin-bottom: 5px;
    color: var(--legal-purple-dark);
    font-size: 1.02rem;
}

.wieke-legal__address a {
    width: fit-content;
    margin-top: 2px;
    font-weight: 600;
    text-decoration: none;
}


/* ==========================================================
   09. SIDEBAR
   ========================================================== */

.wieke-legal__sidebar {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 20px;
}

.wieke-legal__toc,
.wieke-legal__sidebar-card,
.wieke-legal__related {
    border: 1px solid var(--legal-border);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(50, 52, 66, 0.06);
}

.wieke-legal__toc {
    padding: 23px 23px 20px;
}

.wieke-legal__toc h2,
.wieke-legal__sidebar-card h2,
.wieke-legal__related h2 {
    margin: 0 0 16px;
    color: var(--legal-purple-dark);
    font-size: 1rem;
    line-height: 1.35;
}

.wieke-legal__toc ol {
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: legal-toc;
}

.wieke-legal__toc li {
    counter-increment: legal-toc;
    margin: 0;
    padding: 0;
}

.wieke-legal__toc li::before {
    display: none;
}

.wieke-legal__toc a {
    position: relative;
    display: grid;
    grid-template-columns: 26px 1fr;
    gap: 5px;
    padding: 8px 7px;
    border-radius: 8px;
    color: #555866;
    text-decoration: none;
    font-size: 0.88rem;
    line-height: 1.35;
}

.wieke-legal__toc a::before {
    content: counter(legal-toc, decimal-leading-zero);
    color: var(--legal-orange);
    font-size: 0.73rem;
    font-weight: 800;
    line-height: 1.65;
}

.wieke-legal__toc a:hover,
.wieke-legal__toc a:focus {
    color: var(--legal-purple-dark);
    background: #f7f6fa;
}

.wieke-legal__sidebar-card {
    padding: 24px;
    background:
        linear-gradient(
            150deg,
            #595673 0%,
            #48445f 100%
        );
    color: #ffffff;
}

.wieke-legal__sidebar-card h2 {
    color: #ffffff;
}

.wieke-legal__sidebar-card p {
    margin: 0 0 17px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.92rem;
}

.wieke-legal__sidebar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 17px;
    border-radius: 14px;
    color: #ffffff;
    background: rgba(235, 103, 9, 0.92);
}

.wieke-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffffff !important;
    font-size: 0.91rem;
    font-weight: 700;
    text-decoration: none !important;
}

.wieke-link-arrow span {
    transition: transform 0.2s ease;
}

.wieke-link-arrow:hover span {
    transform: translateX(3px);
}

.wieke-legal__related {
    padding: 22px 23px;
}

.wieke-legal__related ul {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.wieke-legal__related li {
    margin: 0;
    padding: 0;
}

.wieke-legal__related li::before {
    display: none;
}

.wieke-legal__related a {
    display: block;
    padding: 10px 12px;
    border-radius: 9px;
    color: #555866;
    text-decoration: none;
    font-size: 0.91rem;
}

.wieke-legal__related a:hover {
    color: var(--legal-purple-dark);
    background: #f5f4f8;
}

.wieke-legal__related .is-current a {
    color: #ffffff;
    background: var(--legal-orange);
    font-weight: 700;
}


/* ==========================================================
   10. SCREEN READER
   ========================================================== */

.wieke-legal .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* ==========================================================
   11. TABLET
   ========================================================== */

@media (max-width: 1024px) {

    .wieke-legal__layout {
        grid-template-columns: minmax(0, 1fr) 275px;
        gap: 28px;
    }

    .wieke-legal__section {
        grid-template-columns: 50px minmax(0, 1fr);
        gap: 17px;
        padding: 29px 27px;
    }

    .wieke-legal__section-number {
        width: 44px;
        height: 44px;
    }

    .wieke-legal__sidebar {
        top: 95px;
    }

}


/* ==========================================================
   12. MOBIEL / KLEINE TABLET
   ========================================================== */

@media (max-width: 820px) {

    .wieke-legal__hero {
        padding: 58px 0 62px;
    }

    .wieke-legal__body {
        padding: 42px 0 65px;
    }

    .wieke-legal__layout {
        display: block;
    }

    .wieke-legal__sidebar {
        position: static;
        margin-top: 30px;
    }

    .wieke-legal__toc {
        display: none;
    }

    .wieke-legal__cards {
        grid-template-columns: 1fr;
    }

}


/* ==========================================================
   13. MOBIEL
   ========================================================== */

@media (max-width: 600px) {

    .wieke-legal__hero {
        padding: 46px 0 52px;
    }

    .wieke-breadcrumb {
        margin-bottom: 22px;
        font-size: 0.83rem;
    }

    .wieke-legal__title {
        font-size: clamp(2.05rem, 11vw, 3rem);
    }

    .wieke-legal__intro {
        margin-top: 17px;
        font-size: 1rem;
    }

    .wieke-legal__updated {
        align-items: flex-start;
        border-radius: 12px;
        font-size: 0.8rem;
    }

    .wieke-legal__body {
        padding: 30px 0 52px;
    }

    .wieke-legal__section {
        display: block;
        margin-bottom: 17px;
        padding: 24px 20px;
        border-radius: 17px;
    }

    .wieke-legal__section-number {
        width: 42px;
        height: 42px;
        margin-bottom: 17px;
        border-radius: 12px;
    }

    .wieke-legal__section h2 {
        margin-bottom: 14px;
        font-size: 1.32rem;
    }

    .wieke-legal__section h3 {
        margin-top: 23px;
    }

    .wieke-legal__highlight {
        display: block;
        padding: 19px;
    }

    .wieke-legal__highlight-icon {
        margin-bottom: 13px;
    }

    .wieke-legal__info-card {
        padding: 18px;
    }

    .wieke-legal__address {
        padding: 18px;
    }

    .wieke-legal__sidebar-card,
    .wieke-legal__related {
        border-radius: 16px;
    }

}


/* ==========================================================
   14. PRINT
   ========================================================== */

@media print {

    .wieke-legal {
        background: #ffffff;
    }

    .wieke-legal__hero {
        padding: 20px 0;
        color: #000000;
        background: #ffffff;
    }

    .wieke-legal__hero::after,
    .wieke-legal__hero-background,
    .wieke-breadcrumb,
    .wieke-legal__sidebar {
        display: none !important;
    }

    .wieke-legal__title,
    .wieke-legal__intro,
    .wieke-legal__updated {
        color: #000000;
    }

    .wieke-legal__body {
        padding: 20px 0;
    }

    .wieke-legal__layout {
        display: block;
    }

    .wieke-legal__section {
        display: block;
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #cccccc;
    }

    .wieke-legal__section-number {
        margin-bottom: 15px;
        color: #000000;
        background: none;
        box-shadow: none;
        border: 1px solid #aaaaaa;
    }

    .wieke-legal a {
        color: #000000;
    }

}