:root {
    --independer-nav-bg: #ffffff;        /* navbar achtergrond */
    --independer-link-color: #333333;    /* normale linkkleur */
    --independer-link-hover: #589CDB;    /* hover / actieve kleur */
    --independer-border-color: #e0e0e0;  /* onderlijn navbar */
    --ortho-blue: rgba(62,110,146);
    --ortho-blue-hover: rgba(75,124,158);
    --ortho-text-color: #ffffff;
}

/* Body & font */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    margin: 0;
    padding: 0;
}

h1, h2, h3 {
    font-weight: 600;
    color: #612172;
}

/* Navbar container */
.navbar {
    background-color: var(--independer-nav-bg);
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--independer-border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo / branding */
.navbar-brand {
    display: flex;
    align-items: center;
}

/* Logo responsive maken */
.navbar-brand img {
    max-height: 200px;      /* standaard formaat */
    height: auto;
    width: auto;
}

/* Bootstrap nav-links override */
.navbar-nav .nav-link {
    color: var(--independer-link-color);
    font-weight: 500;
    padding: 0.4rem 0.6rem;
    transition: color 0.2s;
    border-radius: 4px;
}

/* Hover & focus */
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: var(--independer-link-hover);
    border-bottom: 4px solid #ff7f00; /* oranje onderstreep */
}

/* Actieve link */
.navbar-nav .nav-link.active,
.navbar-nav .nav-item.active .nav-link {
    color: var(--independer-link-hover) !important;
    font-weight: 600;
    background-color: #ffffff; /* FIX */
    border-radius: 4px;
}

/* --- MOBIEL MENU --- */

/* Hamburger icon zichtbaar (jouw CSS blokkeerde dit eerder!) */
.navbar-toggler {
    display: block;
    border: none;
    background: none;
    padding: 0.25rem;
}

/* Hamburger pictogram zichtbaar maken in navbar-dark */
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile gedrag */
@media (max-width: 768px) {
    .navbar-nav {
        flex-direction: column;
        width: 100%;
        margin-top: 0.5rem;
    }
    .navbar-nav .nav-link {
        padding: 0.8rem 1rem;
    }
}

/* --- Mobiele optimalisatie --- */
@media (max-width: 576px) {
    .navbar-brand img {
        max-height: 50px; /* kleiner logo op iPhone */
    }
}




/* Buttons */
/* Basis primaire knop */
.btn-primary {
    background-color: var(--ortho-blue) !important; /* blauwe achtergrond */
    border-color: var(--ortho-blue) !important;     /* blauwe rand */
    color: var(--ortho-text-color) !important;      /* witte tekst */
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    position: relative; /* nodig voor pseudo-element */
}

/* Hover & focus */
.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--ortho-blue-hover) !important; /* hover blauw */
    border-color: var(--ortho-blue-hover) !important;
    color: var(--ortho-text-color);
}

/* Oranje streep onder de knop bij hover */
.btn-primary::after {
    content: "";
    position: absolute;
    bottom: -3px;        /* net onder de knop */
    left: 0;
    height: 3px;         /* dikte streep */
    background-color: #ff7f00; /* oranje */
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.btn-primary:hover::after,
.btn-primary:focus::after {
    width: 100%;
}

/* Grote variant */
.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.25rem;
}

/* Oranje CTA knoppen */
.btn-cta,
.btn-cta2,
.btn-cta3 {
    display: inline-block;
    font-weight: 400;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.375rem;
    text-decoration: none;
    transition: all 0.15s ease-in-out;
}

.btn-cta {
    background-color: #ff7f00;
    border: 1px solid #ff7f00;
   
    padding: 0.9rem 2rem;
    font-size: 1.2rem;
    border-radius: 0.5rem;
}

.btn-cta:hover,
.btn-cta:focus {
    background-color: #e66a00;
    border-color: #e66a00;
}

.btn-cta2 {
    background-color: #BCBC2D;
    border: 1px solid #BCBC2D;
}

.btn-cta2:hover,
.btn-cta2:focus {
    background-color: #D7D580;
    border-color: #D7D580;
}

.btn-cta3 {
    background-color: purple;
    border: 1px solid purple;
}

.btn-cta3:hover,
.btn-cta3:focus {
    background-color: #5a00b0;
    border-color: #5a00b0;
}

/* Hero card */
.card-background {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px;
    color: white;
    border-radius: 0.375rem;
    overflow: hidden;
    padding: 3rem;
}

.card-background::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 0.375rem;
}

.card-background > .row {
    position: relative;
}



    /* p mag wel normaal wrappen */
.card-background p {
    overflow-wrap: break-word;
    word-break: break-word;
    font-weight: 300;
    font-size: 1.1rem;
    color: #ffffff;
}

.card-background h1 {
   white-space: nowrap;      /* nooit afbreken */
    overflow-wrap: normal;
    word-break: normal;
}

/* Card text */
.card2 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 700;
    color: #4b0082;
    line-height: 1.2;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Responsive hero padding */
@media (max-width: 992px) {
    .card-background .col-6 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    .card-background {
        padding: 1.5rem;
    }
}

/* Zorg ervoor dat de badge uitsteekt boven de rand van de kaart */
.verzekeraar-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
      /* ⭐ Altijd een lichte schaduw */
    box-shadow: 0 4px 16px rgba(0,0,0,.10);
    transition: box-shadow .25s ease, transform .15s ease;
    position: relative;          /* ⭐ nodig voor hover-layer */
    display: block;              /* ⭐ maakt hover betrouwbaar */
    overflow: visible;   /* Zorg ervoor dat de badge buiten de rand van de kaart kan komen */
    z-index: 1;
}

/* ⭐ Hover moet boven border + andere content vallen */
.verzekeraar-card:hover {
    box-shadow: 0 6px 22px rgba(0,0,0,0.12);
    transform: translateY(-3px); /* optioneel, mooi effect */
    z-index: 5;
}

.verzekeraar-logo {
    display: block;
    object-fit: contain;

    /* Laat logo's netjes schalen */
    width: 100%;
    height: 100%;

    /* Minimale zichtbare grootte */
    min-width: 80px;
    min-height: 80px;

    /* Maximale grootte */
    max-width: 150px;
    max-height: 150px;

    margin: 0;
}

@media (max-width: 767px) {
    .verzekeraar-card .col-3 {
        flex: 0 0 35% !important;
        max-width: 45% !important;
    }
}
/* ==========================
   CARD STYLING FOR LOGO TICKER
   ========================== */

.logo-card {
    background-color: #ffffff !important;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Titel binnen de card */
.logo-card h2 {
    font-weight: 700;
    font-size: 1.8rem;
    color: #612172;
}


/* ==========================
   CARD STYLING FOR LOGO TICKER
   ========================== */

.logo-card {

    margin-top: 30px !important;  /* witte ruimte boven de carousel card */
    background-color: #ffffff !important;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Titel binnen de card */
.logo-card h2 {
    font-weight: 700;
    font-size: 1.8rem;
    color: #612172;
}


/* ==========================
   INFINITE LOGO TICKER (PERFECT VERSION)
   ========================== */

/* Outer viewport container */
/* ======= LOGO TICKER – 5 GROTE LOGO’S ======= */

/* Outer container */
.logo-ticker {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logo-track {
    display: inline-flex;
    white-space: nowrap;
    align-items: center;
    will-change: transform;
}

.logo-wrapper {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    padding: 0 15px;
}

.logo-wrapper img {
    height: 70px;
    max-height: 70px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    transition: transform .2s;
}

.logo-wrapper img:hover {
    transform: scale(1.08);
}


/* RESPONSIVE */
@media (max-width: 992px) {
    .logo-wrapper { height: 75px; padding: 0 12px; }
    .logo-wrapper img { height: 60px; }
}
@media (max-width: 768px) {
    .logo-wrapper { height: 60px; padding: 0 10px; }
    .logo-wrapper img { height: 50px; }
}
@media (max-width: 480px) {
    .logo-wrapper { height: 50px; padding: 0 8px; }
    .logo-wrapper img { height: 40px; }
}

/* LARGE CTA BUTTON */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    border-radius: 0.5rem;
}



.verzekeraar-naam {
    font-size: 1.25rem;
    font-weight: 600;
    color: #222;
}

.prijs-maand {
    display: flex;
    flex-direction: column;   /* Zet alles onder elkaar */
}

.prijs-maand .label {
    font-size: 0.9rem;
    color: #6c757d;           /* text-muted */
}

.bedrag-blok {
    font-size: 2rem;          /* Groot bedrag */
    font-weight: 700;
    line-height: 1.1;
    color: #612172;
}

.bedrag-blok .per-maand {
    display: block;           /* Zet onder het bedrag */
    font-size: 1rem;
    font-weight: 400;
    color: #6c757d;
}


/* ⭐ Maak verzekeraar-card smaller op grote schermen */
@media (min-width: 1200px) { /* lg = 992px, maar 1200px oogt mooier */
    .verzekeraar-card {
        max-width: 1000px;   /* kies jouw ideale breedte */
        margin-left: auto;
        margin-right: auto;
    }
}
/* Badge stijlen */
.badge {
    position: absolute;  /* Absoluut gepositioneerd ten opzichte van de card */
    top: -15px;          /* Laat de badge verder boven de kaart uitsteken */
    left: 15px;          /* Plaats de badge links binnen de kaart */
    background-color: #007bff; /* Blauwe achtergrond */
    color: white;        /* Witte tekstkleur */
    padding: 5px 15px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 15px;
    text-transform: uppercase;
    z-index: 1;          /* Zorg ervoor dat de badge boven de rand wordt weergegeven */
}



/* Badge voor "Goedkoopste keuze" (groen) */
.badge-success {
    background-color: #28a745; /* Groene kleur */
    color: white;
}

/* Badge voor "100% Percentage" (oranje) */
.badge-warning {
    background-color: #ffc107; /* Oranje kleur */
    color: black;
}

/* Badge voor "Niet meer af te sluiten" (rood) */
.badge-danger {
    background-color: #dc3545; /* Rode kleur */
    color: white;
}

/* Badge voor de standaard (grijs) */
.badge-secondary {
    background-color: #6c757d; /* Grijze kleur */
    color: white;
}


/* ⭐ Sterrenstijl */
.stars-wrapper {
    text-align: left;         /* iPhone werkt beter met left/center */
    margin: 6px 0 10px 0;
}

/* ⭐ iPhone / kleine schermen */
@media (max-width: 767px) {
    .stars-wrapper {
        text-align: left;
        margin-top: -4px;      /* sterren omhoog */
        margin-bottom: 3px;    /* minder ruimte */
        transform: translateY(-6px); /* nog iets hoger */
    }

    .stars-wrapper .star {
        font-size: 22px;       /* iets kleiner = minder hoogte */
        margin: 0 2px;
    }
}

.star {
    font-size: 28px;
    margin: 0 3px;
    display: inline-block;
    font-weight: bold;
}

/* Gouden ster */
.star-gold {
    color: #FFD700; /* goud */
    text-shadow: 0px 0px 3px rgba(0,0,0,0.2);
}

/* Grijze ster outline */
.star-empty {
    color: transparent;
    -webkit-text-stroke: 1.6px #bfbfbf; /* grijze outline */
}

.btn-primary {
    background-color: #ffca28;
    border-color: #ffca28;
    color: #000;
    font-weight: 600;
    padding: .6rem 1.8rem;
    border-radius: 10px;
}

.btn-primary:hover {
    background-color: #ffb300;
    border-color: #ffb300;
}


/* eCard styling */

.ecard {
    background-color: rgba(230,229,245,1) !important; /* overschrijf standaard wit */
    border: 2px solid purple !important;             /* paarse border */
    border-radius: 0.5rem !important;                /* afgeronde hoeken */
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    overflow: hidden;                                /* voorkomt dat child elementen buiten border steken */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.ecard:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}



/* Zorg dat header, body en footer geen eigen borders of achtergrond hebben */
.ecard .card-header,
.ecard .card-body,
.ecard .card-footer {
    background-color: rgba(230,229,245,1) !important;
    border: none !important;
}

.ecard .card-header {
    border-bottom: 2px solid purple;
    font-weight: 800;
    font-size: clamp(1.1rem, 4vw, 2rem);
    white-space: normal;
    word-break: normal;
    color: #612172;
}

.ecard .card-body {
    border-bottom: 2px solid purple;
    font-weight: 300;
    font-size: 1.1rem;
    color: #612172;
     padding-bottom: 0.5rem !important;
}

.ecard .card-footer {
    text-align: center;
}

.ecard p {
    margin-bottom: 0 !important;
    line-height: 1.4;
}

/* Algemene cards */
.card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.25rem;
    padding: 1rem;
    margin: 1rem 0;
    box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.075);
}

.card-header {
    font-weight: 600;
    color: #612172;
}

/* Verschillen blok */
.verschillen-blok {
    background: #f7f9fc;
    border: 1px solid #dce3ee;
    border-radius: 8px;
    padding: 30px 25px;
    margin: 40px 0;
}

.verschillen-blok h2 {
    margin-top: 0;
    font-size: 1.8rem;
    color: #2a4a7b;
    font-weight: 700;
}

.verschillen-blok p {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
}

.verschillen-blok table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
}

.verschillen-blok th {
    background: #e9eef6;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #2a4a7b;
    border-bottom: 1px solid #dce3ee;
}

.verschillen-blok td {
    padding: 12px;
    border-bottom: 1px solid #eef1f6;
    color: #333;
}

.verschillen-blok tr:last-child td {
    border-bottom: none;
}

/* Formulieren */
.berekening-form {
    background: #e6f3ff;
    border: 1px solid #b5d4f1;
    padding: 20px;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 900px;
    text-align: left;
}

.berekening-form input[type="number"] {
    width: 150px;
    padding: 6px;
    margin-bottom: 15px;
    border: 1px solid #9bbcd4;
    border-radius: 4px;
}

.berekening-form button {
    background: #1b7dd8;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.berekening-form button:hover {
    background: #1569b8;
}

/* Maak het logo responsive en stel een max hoogte in */

.responsive-logo {
    width: auto;               /* Zorg ervoor dat de breedte automatisch schaalt */
    max-width: 100px;           /* Zorg ervoor dat het logo nooit breder wordt dan de container */
    max-height: 50px;         /* Stel de maximale hoogte in voor het logo */
    height: auto;              /* Zorg ervoor dat de hoogte automatisch schaalt */
    display: block;            /* Verwijdert ongewenste ruimte onder de afbeelding */
    margin: 0;            /* Zorg ervoor dat het logo gecentreerd wordt */
}

/* Media queries voor kleinere schermen */
@media (max-width: 576px) {
    .card2 {
        font-size: 1.8rem;
    }
}

@media (min-width: 577px) and (max-width: 820px) {
    .card2 {
        font-size: 2.1rem;
    }
}

@media (min-width: 821px) and (max-width: 1100px) {
    .card2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .card-background .row {
        display: block;
    }
    .card-background .col-6 {
        width: 100%;
    }
    .nav-list {
        flex-direction: column;
        width: 100%;
        display: none;
        margin-top: 0.5rem;
    }
    .nav-list.show {
        display: flex;
    }
    .navbar-toggler {
        display: block;
    }

    .responsive-logo {
        max-height: 80px;  /* Maak het logo iets kleiner voor kleinere schermen */
        max-width: 80%;    /* Zorg ervoor dat het logo op kleinere schermen niet te groot is */
    }

     .badge {
        font-size: 0.875rem;
        padding: 4px 12px;
        top: -8px; /* Kleinere top marge op mobiele schermen */
    }
}

