/* ─── Packages grid ─── */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
    padding-top: 1rem;
}

.package-card {
    background: var(--color-white);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.package-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(13,13,13,0.08);
}
.package-card--featured {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(1,151,175,0.08);
}

.package-card__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 1rem;
    border-radius: 100px;
    white-space: nowrap;
}

.package-card__header { margin-bottom: 1.5rem; }
.package-card__name { font-size: 1.5rem; margin-bottom: 0.75rem; }
.package-card__price {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text);
    line-height: 1;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}
.package-card--featured .package-card__price { color: var(--color-accent); }
.package-card__sub { font-size: 0.8rem; font-family: var(--font-body); font-weight: 400; color: var(--color-muted-on-light); }
.package-card__desc { font-size: 0.875rem; color: rgba(13,13,13,0.6); margin-top: 0.5rem; }

.package-card__list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
}
.package-card__list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.875rem;
    color: rgba(13,13,13,0.75);
}
.package-card__list .check-icon {
    flex-shrink: 0;
}

/* ─── Addons table ─── */
.addons-table-wrapper { overflow-x: auto; }
.addons-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.addons-table th {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-muted-on-dark);
    padding: 0.75rem 1rem;
    text-align: left;
    border-bottom: 1px solid rgba(245,244,240,0.1);
}
.addons-table td {
    padding: 1rem;
    color: rgba(245,244,240,0.8);
    border-bottom: 1px solid rgba(245,244,240,0.06);
}
.addons-table tr:last-child td { border-bottom: none; }
.addons-table tr:hover td { background: rgba(245,244,240,0.03); }
.addons-table__price { font-family: var(--font-heading); font-weight: 600; color: var(--color-accent) !important; }
.addons-table__note {
    font-size: 0.8rem;
    color: var(--color-muted-on-dark);
    margin-top: 1.5rem;
    max-width: none;
}

/* ─── Meer lucht op alle secties ─── */
.pricing-packages,
.addons-table-section,
.hosting-section {
    padding-block: clamp(6rem, 9vw, 9rem);
}

/* ─── Meer ruimte in het final CTA blok ─── */
.cta-section { padding-block: 8rem; }
.cta-section .section__label   { margin-bottom: 1.5rem; }
.cta-section .cta-section__title { margin-bottom: 1.75rem; }
.cta-section .cta-section__text  { margin-bottom: 3rem; }

/* ─── Hero actions ─── */
.page-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* ─── Packages intro ─── */
.packages-intro {
    color: rgba(13,13,13,0.65);
    font-size: 0.95rem;
    max-width: 60ch;
    margin-inline: auto;
    margin-top: 1rem;
}

/* ─── Package scope note ─── */
.package-card__keuzehulp {
    font-size: 0.78rem;
    color: var(--color-muted-on-light);
    background: rgba(1,151,175,0.06);
    border-left: 2px solid var(--color-accent);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    padding: 0.6rem 0.875rem;
    margin-top: 0.75rem;
    line-height: 1.55;
    max-width: none;
}
.package-card--featured .package-card__keuzehulp {
    background: rgba(1,151,175,0.1);
    color: rgba(13,13,13,0.65);
}

.package-card__scope-note {
    font-size: 0.72rem;
    color: var(--color-muted-on-light);
    margin-top: 0.75rem;
    line-height: 1.5;
    max-width: none;
}

/* ─── Clean code sectie ─── */
.clean-code-section {
    padding-block: clamp(3rem, 5vw, 4.5rem);
    text-align: center;
}
.clean-code-section__inner {
    max-width: 620px;
    margin-inline: auto;
    background: rgba(1,151,175,0.05);
    border: 1px solid rgba(1,151,175,0.18);
    border-radius: var(--radius-lg);
    padding: clamp(2.25rem, 4vw, 3rem) clamp(1.75rem, 4vw, 3rem);
}
.clean-code-section__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 0 auto 1.25rem;
    background: rgba(1,151,175,0.12);
    border-radius: 50%;
    color: var(--color-accent);
}
.clean-code-section__title { font-size: clamp(1.1rem, 1.8vw, 1.35rem); margin-bottom: 0.85rem; }
.clean-code-section__text {
    color: rgba(13,13,13,0.65);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 50ch;
    margin-inline: auto;
}

/* ─── Addons tabel intro & sub-tekst ─── */
.addons-table__intro {
    color: rgba(245,244,240,0.6);
    font-size: 0.9rem;
    max-width: 58ch;
    margin-top: 1rem;
}
.addons-table__name {
    display: block;
    color: rgba(245,244,240,0.85);
    font-weight: 500;
    margin-bottom: 0.25rem;
}
.addons-table__sub {
    display: block;
    font-size: 0.78rem;
    color: var(--color-muted-on-dark);
    line-height: 1.45;
}
.addons-table__sub--extra {
    color: var(--color-accent);
    display: block;
    max-height: 0;
    margin-top: 0;
    opacity: 0;
    overflow: hidden;
    transition: opacity 0.3s ease, max-height 0.3s ease, margin-top 0.3s ease;
}
.addons-table__sub--extra.is-visible {
    max-height: 2.5rem;
    margin-top: 0.35rem;
    opacity: 1;
}

/* ─── SEO Setup copywriting toggle ─── */
.seo-toggle-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 0.75rem;
}
.seo-toggle {
    position: relative;
    width: 40px;
    height: 22px;
    padding: 0;
    border: none;
    border-radius: 100px;
    background: rgba(245,244,240,0.15);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.25s ease;
}
.seo-toggle[aria-checked="true"] { background: var(--color-accent); }
.seo-toggle__track { display: block; width: 100%; height: 100%; }
.seo-toggle__thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-white);
    transition: transform 0.25s ease;
}
.seo-toggle[aria-checked="true"] .seo-toggle__thumb { transform: translateX(18px); }
.seo-toggle:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(1,151,175,0.12);
}
.seo-toggle__label {
    font-size: 0.8rem;
    color: rgba(245,244,240,0.6);
}

/* ─── Hosting & Onderhoud sectie ─── */
.hosting-intro {
    color: rgba(245,244,240,0.6);
    font-size: 0.9rem;
    max-width: 60ch;
    margin-top: 1rem;
}
.hosting-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-top: 2.5rem;
}
.hosting-card {
    background: rgba(245,244,240,0.05);
    border: 1px solid rgba(245,244,240,0.1);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    transition: border-color 0.3s;
}
.hosting-card:hover { border-color: rgba(1,151,175,0.35); }
.hosting-card__name {
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}
.hosting-card__price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 0.75rem;
}
.hosting-card__price span {
    font-size: 0.8rem;
    font-weight: 400;
    font-family: var(--font-body);
    color: var(--color-muted-on-dark);
}
.hosting-card__desc {
    font-size: 0.8rem;
    color: rgba(245,244,240,0.5);
    margin-bottom: 1rem;
    line-height: 1.55;
}
.hosting-card__list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
}
.hosting-card__list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: rgba(245,244,240,0.7);
    line-height: 1.4;
}
.hosting-card__list .check-icon { flex-shrink: 0; margin-top: 2px; }
.hosting-card__note {
    font-size: 0.72rem;
    color: var(--color-muted-on-dark);
    line-height: 1.5;
    margin-top: 0.5rem;
    max-width: none;
}

.hosting-note {
    margin-top: clamp(2.5rem, 5vw, 4rem);
    padding-top: clamp(2.5rem, 5vw, 4rem);
    border-top: 1px solid rgba(245,244,240,0.1);
}
.hosting-note__tekst {
    font-size: 0.95rem;
    color: rgba(245,244,240,0.65);
    line-height: 1.7;
    max-width: none;
    margin-bottom: 1rem;
}
.hosting-note__tekst:last-child { margin-bottom: 0; }

/* ─── Betaalproces note ─── */
.betaalproces-note { padding-block: 2rem 3rem; text-align: center; }
.betaalproces-note__tekst {
    font-size: 0.875rem;
    color: var(--color-muted-on-light);
    max-width: 60ch;
    line-height: 1.65;
    font-style: italic;
    margin-inline: auto;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .packages-grid { grid-template-columns: 1fr; max-width: 480px; margin: auto; }
    .hosting-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .page-hero__actions { flex-direction: column; }
    .hosting-grid { grid-template-columns: 1fr; }
}
