:root {
    --blue: #1F3C88;
    --blue-light: #4E7FA8;
    --green: #4CAF50;
    --green-light: #86C857;
    --dark: #0F172A;
    --gray: #64748B;
    --light: #F8FAFC;
}

/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: white;
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 1100px;
    max-width: 92%;
    margin: auto;
}

/* ================= HEADER ================= */

header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    padding: 16px 0;
    transition: 0.3s ease;
}

header.scrolled {
    background: rgba(255,255,255,0.85);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* LOGO */

.logo {
    font-weight: 700;
    font-size: 52px;
    letter-spacing: 1px;
    line-height: 1;
}

.logo .blue {
    background: linear-gradient(to bottom, var(--blue-light), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo .green {
    background: linear-gradient(to bottom, var(--green-light), var(--green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* NAV LINKS */

nav a {
    text-decoration: none;
    margin-left: 35px;
    color: var(--dark);
    font-weight: 500;
    transition: 0.3s;
}
nav a.active {
    color: var(--blue);
    font-weight: 600;
    position: relative;
}

nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--blue), var(--green));
    border-radius: 3px;
}

nav a:hover {
    color: var(--blue);
}

.cta {
    background: var(--green);
    color: white;
    padding: 10px 26px;
    border-radius: 50px;
    font-weight: 600;
}

/* ================= HERO ================= */

.hero {
    position: relative;
    padding: 100px 0 0 0;
    overflow: hidden;
    background: white;
}

/* FOTO ACHTERGROND (SUBTIEL) */

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('img/hero-50plus.jpg');
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    opacity: 0.18;
    z-index: 0;
}

/* LICHTE MERKGRADIENT */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(31,60,136,0.06) 0%,
        rgba(76,175,80,0.05) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 650px;
    padding-bottom: 20px;
}

.hero h1 {
    font-size: 54px;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero h1 span {
    color: var(--blue);
}

.hero p {
    font-size: 19px;
    color: var(--gray);
    margin-bottom: 35px;
}

.primary-btn {
    background: var(--blue);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(31,60,136,0.25);
}

/* HERO WAVE */

.hero-wave {
    display: block;
    width: 100%;
    height: 160px;
    margin-top: -5px;
    position: relative;
    z-index: 2;
}

/* ================= CONTENT SECTIONS ================= */

.section {
    padding: 140px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 80px;
}

.section-title span {
    color: var(--blue);
}

.cards {
    display: flex;
    gap: 50px;
}

.card {
    background: white;
    padding: 55px;
    border-radius: 22px;
    box-shadow: 0 25px 70px rgba(0,0,0,0.05);
    flex: 1;
    transition: 0.4s ease;

    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 35px 90px rgba(0,0,0,0.08);
}

.card h3 {
    margin-bottom: 20px;
    color: var(--blue);
}

.card p {
    color: var(--gray);
    font-size: 17px;
        margin-top: auto;
    align-self: flex-start;
}

/* ================= FOOTER ================= */

footer {
    background: var(--dark);
    color: white;
    padding-top: 0;
    margin-top: 160px;
}

.footer-wave {
    display: block;
    width: 100%;
    height: 160px;
    margin-top: -5px;
}

.footer-content {
    padding: 70px 0 60px 0;
    text-align: center;
    font-size: 14px;
    color: #CBD5E1;
}

footer strong {
    color: white;
}
.whatsapp-btn {
    background: #25D366;
    color: white;
    padding: 16px 28px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: 0.3s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37,211,102,0.35);
}
