/* ============================================================
   De Toverkar - Main Stylesheet
   A playful, modern design for a family ice cream business
   ============================================================ */

/* ------------------------------------------------------------
   1. CSS Custom Properties
   ------------------------------------------------------------ */
:root {
    /* Brand colors */
    --tk-primary: #2EC4B6;
    --tk-primary-rgb: 46, 196, 182;
    --tk-primary-light: #d4f5f2;
    --tk-secondary: #E71D73;
    --tk-secondary-light: #fce4ef;
    --tk-accent: #FFB627;

    /* Backgrounds */
    --tk-bg: #FAFBFC;
    --tk-bg-alt: #FFF0F5;
    --tk-bg-alt-2: #F0FFFE;

    /* Text */
    --tk-text: #3a3a4a;
    --tk-text-light: #6e6e80;
    --tk-heading: #1e1e2e;

    /* Topbar */
    --tk-topbar-bg: #1a9e93;
    --tk-topbar-text: #ffffff;

    /* Footer */
    --tk-footer-bg: #1e1e2e;
    --tk-footer-text: #c8c8d4;

    /* Typography */
    --tk-font-heading: 'Baloo 2', cursive, system-ui, sans-serif;
    --tk-font-body: 'Nunito', system-ui, sans-serif;

    /* Radii & shadows */
    --tk-radius: 14px;
    --tk-radius-lg: 20px;
    --tk-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    --tk-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.10);

    /* Layout */
    --tk-container-text: 700px;
    --tk-container-wide: 1100px;
}

/* ------------------------------------------------------------
   2. Base Styles
   ------------------------------------------------------------ */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--tk-font-body);
    color: var(--tk-text);
    background: var(--tk-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: rgba(var(--tk-primary-rgb), 0.2);
    color: var(--tk-heading);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: var(--tk-font-heading);
    font-weight: 800;
    color: var(--tk-heading);
    line-height: 1.2;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: var(--tk-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--tk-secondary);
}

/* ------------------------------------------------------------
   3. Topbar
   ------------------------------------------------------------ */
.topbar {
    background: var(--tk-topbar-bg);
    color: var(--tk-topbar-text);
    font-size: 0.8rem;
    padding: 6px 0;
}
.topbar-link {
    color: var(--tk-topbar-text);
    text-decoration: none;
    opacity: 0.85;
    font-size: 0.8rem;
    transition: opacity 0.2s ease;
}
.topbar-link:hover {
    opacity: 1;
    color: var(--tk-topbar-text);
}
.topbar-divider {
    opacity: 0.3;
}

/* USP's - fade rotatie */
.topbar-usps {
    position: relative;
    min-width: 200px;
    height: 20px;
}
.topbar-usp {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    font-size: 0.8rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.topbar-usp.active {
    opacity: 1 !important;
    transform: translateY(0);
}
.topbar-usp i {
    margin-right: 4px;
    font-size: 0.7rem;
}
@media (max-width: 767.98px) {
    .topbar-usps { display: none; }
}

/* ------------------------------------------------------------
   4. Header / Navbar
   ------------------------------------------------------------ */
.navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    transition: box-shadow 0.3s ease;
}
.navbar.scrolled {
    box-shadow: var(--tk-shadow);
}
.navbar-brand img {
    height: 24px;
}

/* Nav link underline animation */
.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--tk-text);
    position: relative;
    padding-bottom: 4px;
}
.navbar-nav .nav-link::after {
    content: '';
    display: block;
    height: 2px;
    border-radius: 1px;
    background: var(--tk-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--tk-heading);
}

/* CTA button in nav - zelfde font-size als nav links */
.nav-cta-btn {
    font-size: 0.9rem !important;
    padding: 6px 16px !important;
    line-height: 1.5;
}
.btn-cta i {
    margin-right: 6px;
    transition: transform 0.2s ease;
}
.btn-cta:hover i {
    transform: translateX(3px);
}

/* Dropdown menu styling */
.dropdown-menu-simple {
    border-radius: var(--tk-radius, 12px) !important;
    padding: 8px;
    min-width: 240px;
    animation: dropdownIn 0.15s ease;
}
@keyframes dropdownIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.dropdown-menu-simple .dropdown-item {
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.88rem;
    transition: background 0.15s ease;
}
.dropdown-menu-simple .dropdown-item:hover {
    background: var(--tk-primary-light, #f0f0f0);
}
.dropdown-menu-simple .dropdown-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--tk-primary-light, #f0f0f0);
    color: var(--tk-primary);
    font-size: 0.7rem;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}
.dropdown-menu-simple .dropdown-item:hover .dropdown-icon {
    background: var(--tk-primary);
    color: #fff;
}
/* Dropdown openen bij hover (desktop) */
@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Backdrop blur wanneer mega menu open is */
.mega-menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1019; /* net onder de navbar (1020) */
    transition: opacity 0.2s ease;
}
.mega-menu-backdrop.active {
    display: block;
}

/* ------------------------------------------------------------
   5. Offcanvas Mobile Menu
   ------------------------------------------------------------ */
.offcanvas {
    max-width: 320px;
    border-left: none !important;
    box-shadow: var(--tk-shadow-lg);
}
.offcanvas-header {
    border-bottom: 1px solid #f0f0f5;
}
.offcanvas .nav-link {
    font-size: 1.05rem;
    font-weight: 600;
    padding: 12px 16px;
    color: var(--tk-text);
    border-radius: var(--tk-radius);
    transition: background 0.2s ease;
}
.offcanvas .nav-link:hover {
    background: var(--tk-bg-alt-2);
}
.offcanvas .nav-link i.fa-chevron-right {
    font-size: 0.7rem;
    transition: transform 0.2s ease;
}
.offcanvas .nav-link[aria-expanded="true"] i.fa-chevron-right {
    transform: rotate(90deg);
}
.offcanvas-contact {
    font-size: 0.88rem;
    color: var(--tk-text-light);
    padding: 16px;
    border-top: 1px solid #f0f0f5;
}
.offcanvas .btn-cta {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 8px;
    padding: 12px;
}

/* ------------------------------------------------------------
   6. Hero Section
   ------------------------------------------------------------ */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(170deg, var(--tk-bg) 0%, var(--tk-bg-alt-2) 100%);
    padding: 48px 0 56px;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    margin-bottom: 16px;
}
.hero-subtitle {
    font-size: 1.1rem;
    color: var(--tk-text-light);
}
.hero-image {
    border-radius: var(--tk-radius-lg);
    box-shadow: var(--tk-shadow-lg);
    transform: rotate(2deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-image:hover {
    transform: rotate(0deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.13);
}

/* Decorative blob behind hero image */
.hero-image-wrap {
    position: relative;
}
.hero-image-wrap::before {
    content: '';
    position: absolute;
    width: 110%;
    height: 110%;
    top: -5%;
    left: -5%;
    border-radius: 50%;
    background: var(--tk-primary-light);
    filter: blur(40px);
    z-index: 0;
    opacity: 0.6;
}
.hero-image-wrap img {
    position: relative;
    z-index: 1;
}

@media (max-width: 767.98px) {
    .hero { padding: 32px 0 40px; }
    .hero-image { transform: rotate(0deg); margin-top: 24px; }
}

/* ------------------------------------------------------------
   7. Section Alternating Backgrounds
   ------------------------------------------------------------ */
.block {
    padding: 64px 0;
    position: relative;
}
.block--bg-pink { background: var(--tk-bg-alt); }
.block--bg-teal { background: var(--tk-bg-alt-2); }
.block--bg-white { background: #fff; }

/* Section titles */
.block-title {
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    text-align: center;
    margin-bottom: 12px;
}
.block-subtitle {
    text-align: center;
    color: var(--tk-text-light);
    max-width: var(--tk-container-text);
    margin: 0 auto 40px;
}

/* ------------------------------------------------------------
   8. Wavy Section Dividers
   ------------------------------------------------------------ */
.block--wave-top::before {
    content: '';
    display: block;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23ffffff' d='M0,20 C360,60 720,0 1080,30 C1260,45 1380,15 1440,20 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    margin-top: -60px;
    position: relative;
    z-index: 1;
}
.block--wave-top-alt::before {
    content: '';
    display: block;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23FAFBFC' d='M0,30 C240,0 480,50 720,20 C960,-10 1200,40 1440,10 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    margin-top: -60px;
    position: relative;
    z-index: 1;
}
.block--wave-top-pink::before {
    content: '';
    display: block;
    height: 60px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23FFF0F5' d='M0,10 C480,55 960,5 1440,35 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat bottom;
    background-size: cover;
    margin-top: -60px;
    position: relative;
    z-index: 1;
}

/* ------------------------------------------------------------
   9. Text Content Blocks
   ------------------------------------------------------------ */
.content-narrow {
    max-width: var(--tk-container-text);
    margin-left: auto;
    margin-right: auto;
}
.content-wide {
    max-width: var(--tk-container-wide);
    margin-left: auto;
    margin-right: auto;
}

/* WYSIWYG content */
.wysiwyg a {
    color: var(--tk-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.wysiwyg img {
    border-radius: var(--tk-radius);
    box-shadow: var(--tk-shadow);
}
.wysiwyg blockquote {
    border-left: 4px solid var(--tk-primary);
    padding: 12px 20px;
    margin: 24px 0;
    font-style: italic;
    color: var(--tk-text-light);
}

/* Info box */
.info-box {
    background: var(--tk-bg-alt-2);
    border-left: 4px solid var(--tk-primary);
    border-radius: 0 var(--tk-radius) var(--tk-radius) 0;
    padding: 20px 24px;
    margin: 24px 0;
}
.info-box--pink {
    background: var(--tk-bg-alt);
    border-left-color: var(--tk-secondary);
}

/* Text + image layout */
.text-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: var(--tk-container-wide);
    margin: 0 auto;
}
.text-image-grid--reverse .text-image-grid__image {
    order: -1;
}
.text-image-grid__image img {
    border-radius: var(--tk-radius-lg);
    box-shadow: var(--tk-shadow-lg);
    transform: rotate(-1.5deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.text-image-grid__image img:hover {
    transform: rotate(0deg);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

@media (max-width: 767.98px) {
    .text-image-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .text-image-grid--reverse .text-image-grid__image {
        order: 0;
    }
    .text-image-grid__image img {
        transform: rotate(0deg);
    }
}

/* ------------------------------------------------------------
   10. Picture Blocks
   ------------------------------------------------------------ */
.picture-block img {
    border-radius: var(--tk-radius);
    box-shadow: var(--tk-shadow);
    transform: rotate(1deg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.picture-block img:hover {
    transform: rotate(0deg);
    box-shadow: var(--tk-shadow-lg);
}
.picture-block figcaption {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--tk-text-light);
    text-align: center;
    margin-top: 10px;
}

/* ------------------------------------------------------------
   10b. Text + Image Pairs
   ------------------------------------------------------------ */
.picture-styled {
    box-shadow: var(--tk-shadow-lg, 0 8px 30px rgba(0,0,0,0.1));
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.picture-styled--right {
    transform: rotate(2deg);
}
.picture-styled--left {
    transform: rotate(-2deg);
}
.picture-styled:hover {
    transform: rotate(0deg) !important;
    box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}

/* Decoratieve blob achter de afbeelding */
.text-image-photo {
    position: relative;
}
.text-image-photo::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 80%;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.15;
    z-index: 0;
}
.text-image-photo--right::before {
    background: var(--tk-primary);
    top: -10%;
    right: -10%;
}
.text-image-photo--left::before {
    background: var(--tk-secondary);
    bottom: -10%;
    left: -10%;
}
.text-image-photo img {
    position: relative;
    z-index: 1;
}

@media (max-width: 991.98px) {
    .picture-styled--right,
    .picture-styled--left {
        transform: rotate(0deg);
    }
}

/* ------------------------------------------------------------
   11. Quote Blocks
   ------------------------------------------------------------ */
.quote-card {
    position: relative;
    max-width: var(--tk-container-text);
    margin: 0 auto;
}
.quote-card__inner {
    background: #fff;
    border-radius: var(--tk-radius-lg, 20px);
    padding: 40px 40px 36px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
}
.quote-card__icon {
    position: absolute;
    top: -20px;
    left: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tk-primary), var(--tk-secondary, var(--tk-primary)));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(var(--tk-primary-rgb), 0.3);
}
.quote-card__text {
    font-family: var(--tk-font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    font-style: italic;
    line-height: 1.6;
    color: var(--tk-heading);
    margin: 0;
    position: relative;
}
.quote-card__author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--tk-primary);
}
.quote-card__line {
    display: inline-block;
    width: 32px;
    height: 2px;
    background: var(--tk-primary);
    border-radius: 2px;
    opacity: 0.5;
}

@media (max-width: 575.98px) {
    .quote-card__inner {
        padding: 32px 24px 28px;
    }
    .quote-card__text {
        font-size: 1.1rem;
    }
    .quote-card__icon {
        top: -16px;
        left: 20px;
        width: 36px;
        height: 36px;
        font-size: 0.85rem;
    }
}

/* ------------------------------------------------------------
   11b. Review Cards
   ------------------------------------------------------------ */
/* Enkele review (groot) */
.review-single {
    max-width: var(--tk-container-text, 750px);
    margin: 0 auto;
}
.review-single__inner {
    background: #fff;
    border-radius: var(--tk-radius-lg, 20px);
    padding: 40px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    position: relative;
    border: 1px solid rgba(0,0,0,0.04);
    text-align: center;
}
.review-single__icon {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tk-primary), var(--tk-secondary, var(--tk-primary)));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(var(--tk-primary-rgb), 0.3);
}
.review-single__stars {
    color: #f59e0b;
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.review-single__text {
    font-family: var(--tk-font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    font-style: italic;
    line-height: 1.6;
    color: var(--tk-heading);
    margin: 0 0 20px;
}
.review-single__footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
}
.review-single__line {
    width: 24px;
    height: 2px;
    background: var(--tk-primary);
    border-radius: 2px;
}
.review-single__name {
    font-weight: 700;
    color: var(--tk-primary);
}
.review-single__meta {
    color: var(--tk-text-light);
}

/* Meerdere reviews (kaarten) */
.review-card {
    background: #fff;
    border-radius: var(--tk-radius, 12px);
    padding: 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0,0,0,0.04);
}
.review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.review-card__stars {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
}
.review-card__text {
    font-size: 0.95rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--tk-heading);
    flex-grow: 1;
    margin-bottom: 16px;
}
.review-card__footer {
    border-top: 1px solid rgba(0,0,0,0.06);
    padding-top: 12px;
}
.review-card__name {
    display: block;
    font-size: 0.88rem;
    color: var(--tk-heading);
}
.review-card__meta {
    display: block;
    font-size: 0.75rem;
    color: var(--tk-text-light);
    margin-top: 2px;
}

@media (max-width: 575.98px) {
    .review-single__inner { padding: 32px 20px; }
    .review-single__text { font-size: 1.05rem; }
}

/* ------------------------------------------------------------
   12. CTA Blocks / Buttons
   ------------------------------------------------------------ */
.btn-primary-tk {
    background: var(--tk-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 700;
    font-family: var(--tk-font-body);
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.btn-primary-tk:hover {
    background: #25b0a3;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(var(--tk-primary-rgb), 0.3);
}
.btn-secondary-tk {
    background: var(--tk-secondary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 700;
    font-family: var(--tk-font-body);
    transition: background 0.2s ease, transform 0.15s ease;
}
.btn-secondary-tk:hover {
    background: #cc1564;
    color: #fff;
    transform: translateY(-1px);
}
.btn-outline-tk {
    background: transparent;
    color: var(--tk-primary);
    border: 2px solid var(--tk-primary);
    border-radius: 50px;
    padding: 10px 26px;
    font-weight: 700;
    font-family: var(--tk-font-body);
    transition: background 0.2s ease, color 0.2s ease;
}
.btn-outline-tk:hover {
    background: var(--tk-primary);
    color: #fff;
}

/* Global button styling */
.btn {
    font-family: var(--tk-font-body) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0;
    transition: all 0.2s ease;
}
.btn:hover {
    transform: translateY(-1px);
}

/* Icon animation on all buttons */
.btn i,
.btn svg {
    transition: transform 0.25s ease;
}
.btn:hover i,
.btn:hover svg {
    transform: translateX(4px);
}

/* CTA card */
.cta-card {
    background: var(--tk-bg-alt-2);
    border-radius: var(--tk-radius-lg);
    padding: 32px;
    text-align: center;
    max-width: var(--tk-container-text);
    margin: 0 auto;
}

/* --- Inhoudsopgave (TOC) --- */
.toc-wrapper {
    position: relative;
    overflow: hidden;
    padding: 48px 0;
    transform: rotate(-0.8deg);
}
.toc-wrapper .container {
    transform: rotate(0.8deg);
}
.toc-bg {
    position: absolute;
    inset: -8px -20px;
    background: var(--tk-toc-bg, var(--tk-primary));
    border-radius: var(--tk-radius-lg);
    transform: rotate(-1.2deg);
    z-index: 0;
}
.toc-header h3 {
    color: #fff;
}
.toc-header p {
    color: rgba(255,255,255,0.7) !important;
}
.toc-item {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(4px);
    border-radius: var(--tk-radius);
    padding: 16px 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    color: var(--tk-text);
    height: 100%;
}
a.toc-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    background: #fff;
    color: var(--tk-primary);
}
.toc-item__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    color: var(--tk-primary);
    font-weight: 800;
    font-size: 0.85rem;
    font-family: var(--tk-font-heading);
}
.toc-item__title {
    font-weight: 600;
    font-size: 0.95rem;
}
.toc-item__arrow {
    font-size: 0.75rem;
    color: var(--tk-primary);
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
a.toc-item:hover .toc-item__arrow {
    opacity: 1;
    transform: translateX(3px);
}

@media (max-width: 767.98px) {
    .toc-bg {
        transform: rotate(-0.8deg);
        inset: -4px -10px;
    }
    .toc-wrapper {
        padding: 32px 0;
    }
}

/* ------------------------------------------------------------
   13. FAQ / Losse elementen
   ------------------------------------------------------------ */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.faq-item {
    background: #fff;
    border-radius: var(--tk-radius, 12px);
    padding: 24px 28px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}
.faq-item__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 16px;
}
.faq-item__header:hover .faq-item__question {
    color: var(--tk-primary);
}
.faq-item__question {
    font-family: var(--tk-font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--tk-heading);
    margin-bottom: 0;
    line-height: 1.4;
    transition: color 0.2s ease;
}
.faq-item__chevron {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 50%;
    background: var(--tk-primary-light, #f0f0f0);
    color: var(--tk-primary);
    font-size: 0.75rem;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.faq-item__header:not(.collapsed) .faq-item__chevron {
    transform: rotate(180deg);
    background: var(--tk-primary);
    color: #fff;
}
.faq-item__answer {
    color: var(--tk-text);
    line-height: 1.7;
    font-size: 0.95rem;
    padding-top: 16px;
}
.faq-item__answer p:last-child {
    margin-bottom: 0;
}
.faq-item__answer a {
    color: var(--tk-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* ------------------------------------------------------------
   14. Smaken Grid + Card Component
   ------------------------------------------------------------ */
/* CSS Grid: 2 cols mobile, 3 tablet, 4 desktop */
.smaken-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
@media (min-width: 768px) {
    .smaken-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 992px) {
    .smaken-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Smaak kaartje v2 */
.smaak-card-v2 {
    background: #fff;
    border-radius: var(--tk-radius, 12px);
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(0,0,0,0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.3s ease;
    height: 100%;
    position: relative;
    opacity: 0.9;
}
.smaak-card-v2:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    opacity: 1 !important;
}

/* Gekleurde accent: lichte achtergrond ipv border */
.smaak-card-v2__accent {
    display: none;
}

.smaak-card-v2__body {
    padding: 14px 16px;
}

/* Header: icon + naam */
.smaak-card-v2__header {
    display: flex;
    align-items: center;
    gap: 8px;
}
.smaak-card-v2__icon {
    font-size: 0.75rem;
    flex-shrink: 0;
}
.smaak-card-v2__name {
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--tk-heading);
    line-height: 1.3;
}

/* Tags */
.smaak-card-v2__tags {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.smaak-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}
.smaak-tag--vegan { background: #e8f5e9; color: #2e7d32; }
.smaak-tag--alcohol { background: #fce4ec; color: #c62828; }
.smaak-tag--kar { background: #fff8e1; color: #f57f17; }

/* Allergenen */
.smaak-card-v2__allergens {
    font-size: 0.68rem;
    color: var(--tk-text-light);
    margin-top: 6px;
    line-height: 1.3;
}
.smaak-card-v2__allergens--ok {
    color: #2e7d32;
}

/* Opmerkingen */
.smaak-card-v2__note {
    font-size: 0.65rem;
    font-style: italic;
    color: var(--tk-text-light);
    margin-top: 4px;
}

/* ------------------------------------------------------------
   15. Instagram Block
   ------------------------------------------------------------ */
.instagram-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
@media (min-width: 768px) {
    .instagram-grid { grid-template-columns: repeat(4, 1fr); }
}
.instagram-grid a {
    display: block;
    overflow: hidden;
    border-radius: var(--tk-radius);
}
.instagram-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.instagram-grid a:hover img {
    transform: scale(1.05);
}

/* ------------------------------------------------------------
   16. Team Block
   ------------------------------------------------------------ */
.team-member {
    text-align: center;
}
.team-member__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--tk-shadow);
    margin-bottom: 12px;
}
.team-member__name {
    font-family: var(--tk-font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--tk-heading);
}
.team-member__role {
    font-size: 0.85rem;
    color: var(--tk-text-light);
}

/* ------------------------------------------------------------
   17. Contact Form
   ------------------------------------------------------------ */
.contact-form {
    max-width: var(--tk-container-text);
    margin: 0 auto;
}
.contact-form .form-control,
.contact-form .form-select {
    border-radius: var(--tk-radius);
    border: 2px solid #e8e8f0;
    padding: 12px 16px;
    font-family: var(--tk-font-body);
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
    border-color: var(--tk-primary);
    box-shadow: 0 0 0 3px rgba(var(--tk-primary-rgb), 0.15);
}
.contact-form label {
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--tk-heading);
}

@media (max-width: 575.98px) {
    .contact-form .btn {
        width: 100%;
    }
}

/* ------------------------------------------------------------
   18. Postcode Check
   ------------------------------------------------------------ */
.postcode-card {
    max-width: 480px;
    margin: 0 auto;
    background: #fff;
    border-radius: var(--tk-radius-lg);
    padding: 32px;
    box-shadow: var(--tk-shadow);
    text-align: center;
}
.postcode-card__icon {
    font-size: 2.4rem;
    margin-bottom: 12px;
}
.postcode-result {
    border-radius: var(--tk-radius);
    padding: 14px 20px;
    margin-top: 16px;
    font-weight: 600;
}
.postcode-result--green { background: #e8f5e9; color: #2e7d32; }
.postcode-result--orange { background: #fff3e0; color: #e65100; }
.postcode-result--red { background: #fce4ec; color: #c62828; }

/* ------------------------------------------------------------
   19. Modal backdrop blur (alle modals)
   ------------------------------------------------------------ */
.modal-backdrop {
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    background-color: rgba(0, 0, 0, 0.3) !important;
}

/* ------------------------------------------------------------
   Inhoudsopgave (TOC) Section
   ------------------------------------------------------------ */
.toc-section {
    position: relative;
    padding: 48px 0;
    overflow: hidden;
}
.toc-bg {
    position: absolute;
    inset: -20px -5%;
    background: var(--tk-bg-alt-2, #f0fffe);
    transform: rotate(-1.5deg);
    z-index: 0;
    border-radius: var(--tk-radius-lg, 20px);
}
.toc-card {
    position: relative;
    z-index: 1;
}
.toc-title {
    font-family: var(--tk-font-heading);
    font-size: 1.3rem;
    color: var(--tk-heading);
    margin-bottom: 8px;
}
.toc-subtitle {
    font-size: 0.88rem;
    color: var(--tk-text-light);
    margin-bottom: 0;
}
.toc-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: #fff;
    border-radius: var(--tk-radius, 12px);
    text-decoration: none;
    color: var(--tk-heading);
    font-weight: 600;
    font-size: 0.85rem;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    height: 100%;
}
.toc-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    color: var(--tk-primary);
}
.toc-item__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--tk-primary-light);
    color: var(--tk-primary);
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
}
.toc-item:hover .toc-item__number {
    background: var(--tk-primary);
    color: #fff;
}
.toc-item__label {
    line-height: 1.3;
}

@media (max-width: 767.98px) {
    .toc-bg { transform: rotate(-1deg); }
    .toc-section { padding: 36px 0; }
}

/* Calculator gradient panel */
.calculator-gradient-panel {
    background: linear-gradient(-45deg, var(--tk-primary), var(--tk-secondary, #E71D73), var(--tk-primary), var(--tk-accent, #FFB627));
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Calculator Modal */
.calculator-modal .modal-content {
    border: none;
    border-radius: var(--tk-radius-lg);
    overflow: hidden;
}
.calculator-modal .modal-header {
    background: var(--tk-bg-alt-2);
    border-bottom: none;
    padding: 20px 24px;
}
.calculator-modal .modal-title {
    font-family: var(--tk-font-heading);
    font-weight: 800;
}
.calculator-summary {
    background: var(--tk-bg-alt-2);
    border-radius: var(--tk-radius);
    padding: 20px;
    position: sticky;
    top: 16px;
}
.calculator-summary__total {
    font-family: var(--tk-font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--tk-primary);
}

@media (max-width: 767.98px) {
    .calculator-modal .modal-dialog {
        margin: 0;
        max-width: 100%;
        min-height: 100vh;
    }
    .calculator-modal .modal-content {
        border-radius: 0;
        min-height: 100vh;
    }
}

/* ------------------------------------------------------------
   20. Sticky Calculator CTA
   ------------------------------------------------------------ */
.sticky-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1040;
    background: var(--tk-primary);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 14px 24px;
    font-weight: 700;
    font-family: var(--tk-font-body);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}
.sticky-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.2);
    color: #fff;
}
.sticky-cta i {
    margin-right: 8px;
}
.sticky-cta::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50px;
    background: var(--tk-primary);
    opacity: 0;
    z-index: -1;
    animation: pulse 2.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0; }
    50% { transform: scale(1.06); opacity: 0.12; }
}

/* ------------------------------------------------------------
   21. Footer (lichte pastel stijl)
   ------------------------------------------------------------ */
.site-footer {
    background: var(--tk-footer-bg, #f0fffe);
    color: var(--tk-footer-text, #2D2D3A);
    padding: 0;
    position: relative;
}
.footer-wave svg {
    display: block;
}
.footer-heading {
    font-family: var(--tk-font-heading);
    font-weight: 800;
    font-size: 1rem;
    color: var(--tk-heading);
    margin-bottom: 16px;
}
.footer-text-muted {
    color: var(--tk-text-light);
    line-height: 1.6;
}
.footer-link {
    color: var(--tk-text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}
.footer-link:hover {
    color: var(--tk-primary);
}
.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Social icon */
.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--tk-primary-light);
    color: var(--tk-primary);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.footer-social-icon:hover {
    background: var(--tk-primary);
    color: #fff;
    transform: translateY(-2px);
}

/* Social media buttons */
.social-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border-radius: var(--tk-radius, 12px) !important;
}
.social-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #fff;
}

/* Footer social icons (kleine ronde knoppen) */
.footer-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    font-size: 0.9rem;
}
.footer-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    color: #fff;
}

/* Pre-footer balken */
.prefooter-newsletter {
    border-top: 1px solid rgba(0,0,0,0.05);
}
.prefooter-socials {
    border-top: 1px solid rgba(0,0,0,0.05);
}

/* Instagram gradient button */
.instagram-btn {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    border: none;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.instagram-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(225, 48, 108, 0.35);
    color: #fff;
}

/* Smaken balk */
.footer-smaken-bar {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: rgba(0, 0, 0, 0.02);
}
.footer-smaak-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(var(--tk-primary-rgb), 0.08);
    color: var(--tk-text);
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease;
}
.footer-smaak-tag:hover {
    background: rgba(var(--tk-primary-rgb), 0.15);
    transform: translateY(-1px);
    color: var(--tk-primary);
}
.footer-smaak-tag--all {
    background: var(--tk-primary);
    color: #fff;
}
.footer-smaak-tag--all:hover {
    background: var(--tk-primary);
    color: #fff;
    filter: brightness(0.9);
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.82rem;
    color: var(--tk-text-light);
}
.footer-bottom a {
    color: var(--tk-text-light);
    text-decoration: none;
}
.footer-bottom a:hover {
    color: var(--tk-primary);
}

/* ------------------------------------------------------------
   22. Decorative Elements
   ------------------------------------------------------------ */
.decorative-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}
.decorative-dots::before,
.decorative-dots::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.12;
}
.decorative-dots::before {
    width: 200px;
    height: 200px;
    background: var(--tk-accent);
    top: 10%;
    right: -60px;
}
.decorative-dots::after {
    width: 150px;
    height: 150px;
    background: var(--tk-secondary);
    bottom: 10%;
    left: -40px;
}

/* Ice cream pattern (subtle background) */
.bg-pattern {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='3' fill='%232EC4B6' opacity='0.04'/%3E%3C/svg%3E");
}

/* Blob shapes */
.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}
.blob--primary { background: var(--tk-primary); }
.blob--secondary { background: var(--tk-secondary); }
.blob--accent { background: var(--tk-accent); }

/* ------------------------------------------------------------
   23. Animations
   ------------------------------------------------------------ */
.fade-up {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children */
.fade-up-stagger > * {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.fade-up-stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.fade-up-stagger.visible > *:nth-child(2) { transition-delay: 0.06s; }
.fade-up-stagger.visible > *:nth-child(3) { transition-delay: 0.12s; }
.fade-up-stagger.visible > *:nth-child(4) { transition-delay: 0.18s; }
.fade-up-stagger.visible > *:nth-child(5) { transition-delay: 0.24s; }
.fade-up-stagger.visible > *:nth-child(6) { transition-delay: 0.30s; }
.fade-up-stagger.visible > * {
    opacity: 1;
    transform: translateY(0);
}

/* Icon bounce on button hover */
.btn-bounce:hover i {
    animation: iconBounce 0.4s ease;
}
@keyframes iconBounce {
    0%, 100% { transform: translateX(0); }
    40% { transform: translateX(5px); }
    70% { transform: translateX(2px); }
}

/* ------------------------------------------------------------
   24. Design Switcher (Preview Mode)
   ------------------------------------------------------------ */
.design-switcher {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 1050;
    background: #fff;
    border-radius: var(--tk-radius);
    padding: 12px 16px;
    box-shadow: var(--tk-shadow-lg);
    display: flex;
    gap: 8px;
    align-items: center;
}
.design-switcher__dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease;
}
.design-switcher__dot:hover {
    transform: scale(1.15);
}
.design-switcher__dot.active {
    border-color: var(--tk-heading);
}

/* ------------------------------------------------------------
   25. Print Styles
   ------------------------------------------------------------ */
@media print {
    .topbar,
    .navbar,
    .site-footer,
    .sticky-cta,
    .design-switcher,
    .decorative-dots,
    .blob,
    .offcanvas {
        display: none !important;
    }
    .block {
        padding: 24px 0;
        break-inside: avoid;
    }
    body {
        color: #000;
        background: #fff;
    }
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* ------------------------------------------------------------
   26. Responsive Adjustments
   ------------------------------------------------------------ */

/* Small (576px+) */
@media (min-width: 576px) {
    .block { padding: 72px 0; }
}

/* Medium (768px+) */
@media (min-width: 768px) {
    .navbar-brand img { height: 28px; }
    .block { padding: 80px 0; }
}

/* Large (992px+) */
@media (min-width: 992px) {
    .block { padding: 96px 0; }
    .hero { padding: 64px 0 72px; }
}

/* Mobile-specific */
@media (max-width: 575.98px) {
    .block { padding: 48px 0; }
    .block-title { margin-bottom: 8px; }
    .block-subtitle { margin-bottom: 28px; }
    .sticky-cta {
        bottom: 16px;
        right: 16px;
        padding: 12px 18px;
        font-size: 0.88rem;
    }
}
