/* ===== Local Font Faces ===== */

/* Dosis — latin-ext (umlauts etc.) */
@font-face {
    font-family: 'Dosis';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('fonts/dosis-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Dosis — latin */
@font-face {
    font-family: 'Dosis';
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    src: url('fonts/dosis-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Muli — latin-ext */
@font-face {
    font-family: 'Muli';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/muli-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Muli — latin */
@font-face {
    font-family: 'Muli';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('fonts/muli-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Lustria — latin */
@font-face {
    font-family: 'Lustria';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/lustria-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Material Icons */
@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url('fonts/material-icons.woff2') format('woff2');
}
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

/* ===== Reset ===== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

:root {
    /* Color palette */
    --primary-blue: #83a8c0;
    --primary-blue-dark: #6b8a9d;
    --primary-blue-light: #a0c0d4;
    --primary-blue-bg: #e8f1f5;
    --offwhite: #fefdff;
    --accent-green: #3b5249;
    --accent-dark: #34252f;
    --accent-mint: #90ffdc;
    --bright-green: #52c41a;
    --bright-orange: #ff6b35;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #e8e8e8;
    --gray-300: #d9d9d9;
    --gray-600: #595959;
    --gray-700: #434343;
    --gray-800: #262626;
    --white: #ffffff;
}

body {
    font-family: "Muli", sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--gray-50);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Dosis", sans-serif;
    line-height: 1.3;
    font-weight: 600;
}

.section-subtitle,
.investment-meta,
.progress-info,
summary,
.footer-links a,
.author-info p {
    font-family: "Lustria", serif;
}

.stat-item p,
.investment-return,
.investment-tag,
.expert-role,
.step-icon,
.logo {
    font-family: "Muli", sans-serif;
}

.container {
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 2.5rem;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.3s;
    font-family: "Dosis", sans-serif;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Nav Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    min-width: 10rem;
    z-index: 200;
    list-style: none;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu li {
    padding: 0;
}

.nav-dropdown-menu a {
    display: block;
    padding: 0.5rem 1.25rem;
    white-space: nowrap;
    font-size: 0.9rem;
}

.nav-dropdown-menu a:hover {
    background: var(--gray-50);
}

.nav-buttons {
    display: flex;
    gap: 0.75rem;
}

button,
a.btn-primary,
a.btn-secondary {
    padding: 0.625rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-family: "Muli", sans-serif;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-blue);
}

.btn-secondary:hover {
    background-color: var(--primary-blue-bg);
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-blue-dark);
}

/* Hero Section */
.hero {
    background: url("hero-bg-sm.webp") center center / cover no-repeat;
    color: var(--offwhite);
    position: relative;
    min-height: 75vh;
    display: flex;
    align-items: center;
}

@media (min-width: 769px) {
    .hero {
        background-image: url("hero-bg.webp");
    }
}

/* JPG fallback for browsers without WebP */
@supports not (background-image: -webkit-image-set(url("hero-bg-sm.webp") type("image/webp"))) {
    .hero {
        background-image: url("hero-bg-sm.jpg");
    }
    @media (min-width: 769px) {
        .hero {
            background-image: url("hero-bg.jpg");
        }
    }
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(20, 20, 30, 0.82) 0%,
        rgba(20, 20, 30, 0.6) 40%,
        rgba(20, 20, 30, 0.15) 70%,
        transparent 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 36rem;
    padding: 5rem 2rem 5rem clamp(2rem, 6vw, 6rem);
}

.hero-logo {
    height: clamp(4rem, 8vw, 6rem);
    width: auto;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    line-height: 1.15;
    color: #d4e4ef;
}

.hero p {
    font-size: clamp(0.95rem, 2vw, 1.125rem);
    margin-bottom: 2rem;
    line-height: 1.6;
    color: #c0d4e2;
}

.btn-hero {
    display: inline-block;
    padding: 0.875rem 2.25rem;
    border: 2px solid #c0d4e2;
    border-radius: 2rem;
    color: #c0d4e2;
    font-family: 'Muli', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.btn-hero:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-0.125rem);
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

/* Section Styling */
section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 3.5rem;
    color: var(--gray-800);
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--gray-600);
    max-width: 48rem;
    margin: 0 auto 3.5rem;
}

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
}

.step-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(
        135deg,
        var(--accent-mint) 0%,
        var(--primary-blue) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-dark);
}

.step h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.step p {
    color: var(--gray-600);
    font-size: 1rem;
}

/* Investment Cards */
.bg-white {
    background-color: var(--white);
}

.investments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.investment-card {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.investment-card:hover {
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12);
    transform: translateY(-0.25rem);
}

.investment-image {
    width: 100%;
    height: 15rem;
    object-fit: cover;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.investment-card .investment-image-wrapper {
    position: relative;
    overflow: hidden;
    background: var(--primary-blue);
}

.investment-content {
    padding: 1.5rem;
}

.investment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.investment-tag {
    padding: 0.375rem 0.875rem;
    border-radius: 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.tag-renewable {
    background-color: var(--bright-green);
    color: var(--white);
}

.tag-real-estate {
    background-color: var(--gray-700);
    color: var(--white);
}

.tag-sports {
    background-color: var(--bright-orange);
    color: var(--white);
}

.investment-return {
    font-weight: 600;
    color: var(--gray-600);
    font-size: 0.875rem;
}

.investment-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--gray-800);
}

.investment-card p {
    color: var(--gray-600);
    margin-bottom: 1rem;
    font-size: 0.9375rem;
}

.investment-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.progress-bar-container {
    margin-bottom: 1.25rem;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 0.5rem;
    background-color: var(--gray-200);
    border-radius: 0.25rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(
        90deg,
        var(--accent-mint) 0%,
        var(--primary-blue) 100%
    );
    border-radius: 0.25rem;
    transition: width 0.3s;
}

.investment-card button {
    width: 100%;
    padding: 0.875rem;
    font-weight: 600;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--primary-blue-dark) 100%
    );
    color: var(--offwhite);
    text-align: center;
    padding: 4rem 0;
}

.cta-section h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background-color: var(--offwhite);
    color: var(--accent-dark);
    font-size: 1.125rem;
    padding: 1rem 2.5rem;
}

.cta-section .trust-line {
    font-size: 0.875rem;
    margin-top: 1.5rem;
    opacity: 0.9;
    font-family: "Lustria", serif;
}

/* Stats Section */
.stats-section {
    background-color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 3rem;
    text-align: center;
}

.stat-item .stat-number {
    font-family: 'Dosis', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    background: linear-gradient(
        135deg,
        var(--primary-blue) 0%,
        var(--accent-mint) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--gray-600);
    font-size: 1rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 0.75rem;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: linear-gradient(
        135deg,
        var(--accent-mint) 0%,
        var(--primary-blue) 100%
    );
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 2rem;
    color: var(--accent-dark);
}

.feature-icon .material-icons {
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
    color: var(--gray-800);
}

.feature-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Expert Section */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

/* About Us Section */
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.about-card {
    background: var(--white);
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.08);
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--gray-800);
}

.about-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

.expert-card {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.expert-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.12);
}

.expert-image-container {
    position: relative;
    width: 100%;
    height: 16rem;
    overflow: hidden;
    background: var(--primary-blue);
}

.expert-image {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: auto;
    max-width: none;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.expert-content {
    padding: 1.5rem;
}

.expert-role {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.expert-role.renewable {
    background-color: var(--bright-green);
    color: var(--white);
}

.expert-role.real-estate {
    background-color: var(--gray-700);
    color: var(--white);
}

.expert-role.sports {
    background-color: var(--bright-orange);
    color: var(--white);
}

.expert-role.finance {
    background-color: var(--primary-blue);
    color: var(--white);
}

.expert-role.legal {
    background-color: #2c5f8a;
    color: var(--white);
}

.expert-role.capital-market {
    background-color: #c4a8d8;
    color: #3d2a50;
}

.expert-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--gray-800);
}

.expert-credentials {
    font-family: "Lustria", serif;
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.expert-card p {
    color: var(--gray-600);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* FAQ Section */
.faq-container {
    max-width: 50rem;
    margin: 0 auto;
}

details {
    background-color: var(--white);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

summary {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--gray-800);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

summary::-webkit-details-marker {
    display: none;
}

summary::after {
    content: "+";
    font-size: 1.5rem;
    color: var(--accent-mint);
    transition: transform 0.3s;
}

details[open] summary::after {
    transform: rotate(45deg);
}

summary:hover {
    background-color: var(--gray-50);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--gray-600);
    line-height: 1.7;
    font-size: 1rem;
}

/* Calculator Section */
.calculator-section {
    background: linear-gradient(135deg, rgba(250, 250, 250, 0.95) 0%, rgba(232, 241, 245, 0.92) 100%);
}

.calculator-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.calculator-inputs {
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}

.calc-input-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.calc-input-group label {
    font-family: "Dosis", sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--gray-700);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.investment-type-toggle {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
    gap: 0;
    background: var(--gray-100);
    border-radius: 0.5rem;
    padding: 0.25rem;
}

.toggle-option {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--gray-600);
    font-family: "Dosis", sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.toggle-option.active {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

.toggle-option:hover:not(.active) {
    background: var(--gray-200);
}

.calc-input-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.calc-input-row input[type="range"] {
    flex: 1;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    border-radius: 3px;
    background: var(--gray-200);
    outline: none;
}

.calc-input-row input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-green);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(59, 82, 73, 0.3);
    transition: transform 0.2s;
}

.calc-input-row input[type="range"]::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.calc-input-row input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-green);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(59, 82, 73, 0.3);
}

.calc-number-input {
    width: 7rem;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--gray-300);
    border-radius: 0.5rem;
    font-size: 1rem;
    font-family: "Muli", sans-serif;
    font-weight: 600;
    color: var(--gray-800);
    text-align: right;
    background: var(--white);
}

.calc-number-input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(131, 168, 192, 0.2);
}

.calc-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--gray-600);
    margin-top: -0.25rem;
}

.calc-results {
    background: var(--white);
    border-radius: 1rem;
    padding: 2.75rem;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
}

.calc-results h3 {
    font-size: 1.25rem;
    color: var(--gray-800);
    margin-bottom: 2.25rem;
    padding-bottom: 1.25rem;
    border-bottom: 2px solid var(--gray-100);
}

.calc-result-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2.25rem;
}

.calc-result-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.calc-result-label {
    font-family: "Dosis", sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-600);
}

.calc-result-value {
    font-family: "Dosis", sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-800);
}

.calc-result-value.highlight {
    color: var(--bright-green);
}

.calc-result-value.accent {
    color: var(--primary-blue);
}

.calc-cta-button {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 0.75rem;
    font-size: 1.0625rem;
    font-weight: 600;
    font-family: "Dosis", sans-serif;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
}

.calc-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(59, 82, 73, 0.25);
    color: var(--white);
}

/* Features section CTA (gradient style like calculator button) */
.features-cta {
    display: inline-block;
    padding: clamp(0.9rem, 2vw, 1.25rem) clamp(2.5rem, 6vw, 4rem);
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--primary-blue-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 0.75rem;
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 600;
    font-family: "Dosis", sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
}

.features-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(59, 82, 73, 0.25);
    color: var(--white);
}

/* Legal Page Content (impressum, datenschutz) */
.legal-page-content {
    padding: 4rem 0 3rem;
    min-height: 60vh;
}

.legal-page-content h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--gray-800);
}

.legal-page-content h2 {
    font-size: 1.4rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-blue-dark);
}

.legal-page-content h3 {
    font-size: 1.15rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    color: var(--gray-800);
}

.legal-page-content p,
.legal-page-content li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 0.75rem;
}

.legal-page-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-page-content a {
    color: var(--primary-blue-dark);
    text-decoration: underline;
}

.legal-page-content a:hover {
    color: var(--primary-blue);
}

.legal-page-content .legal-address {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.legal-page-content .legal-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--gray-200, #e0e0e0);
}

.legal-page-content .legal-section:last-child {
    border-bottom: none;
}

.legal-page-content .legal-highlight {
    background: var(--gray-100, #f5f5f5);
    border-left: 3px solid var(--primary-blue);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 0.25rem 0.25rem 0;
}

/* Footer */
footer {
    background-color: var(--gray-800);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.footer-section p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.footer-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-mint);
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--accent-dark);
    color: var(--offwhite);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: rgba(254, 253, 255, 0.05);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid rgba(144, 255, 220, 0.2);
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-0.25rem);
    border-color: var(--accent-mint);
    box-shadow: 0 0.75rem 1.5rem rgba(144, 255, 220, 0.15);
}

.stars {
    color: var(--accent-mint);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: rgba(254, 253, 255, 0.9);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        var(--accent-mint) 0%,
        var(--primary-blue) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--accent-dark);
}

.author-info .author-name {
    font-family: 'Dosis', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--offwhite);
}

.author-info p {
    font-size: 0.875rem;
    color: rgba(254, 253, 255, 0.6);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.footer-social a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
    color: #fff;
    transform: translateY(-0.125rem);
}

/* Risk Notice */
.risk-notice {
    background: var(--gray-100);
    border-top: 1px solid var(--gray-200);
    padding: 2rem 0;
}

.risk-notice p {
    font-size: 0.78rem;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.risk-notice p:last-child {
    margin-bottom: 0;
}

.btn-footer-register {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.65rem 1.75rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-family: "Muli", sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-footer-register:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

.footer-bottom {
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    font-family: "Muli", sans-serif;
}

/* Partner Logos Section */
.partners-section {
    background-color: var(--offwhite);
    padding: 3rem 0;
    overflow: hidden;
}

.partners-scroll-container {
    overflow: hidden;
    position: relative;
}

.partners-scroll-wrapper {
    display: flex;
    animation: scroll-partners 25s linear infinite;
}

.partners-scroll-wrapper:hover {
    animation-play-state: paused;
}

@keyframes scroll-partners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.partners-track {
    display: flex;
    flex-shrink: 0;
    gap: 3rem;
    align-items: center;
    padding: 0 1.5rem;
}

.partner-logo {
    min-width: 10rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
    border-radius: 0.5rem;
    padding: 0.75rem 1.25rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
    transition: all 0.3s;
}

.partner-logo:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1rem rgba(131, 168, 192, 0.2);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}

.partner-logo img.press-logo {
    height: 2.5rem;
    width: auto;
}

.partner-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--gray-800);
    cursor: pointer;
    padding: 0.5rem;
    -webkit-tap-highlight-color: transparent;
}

/* Logo switching: desktop=SVG, mobile=horizontal color PNG */
.logo-mobile { display: none; }
.logo-desktop { display: block; }

/* ===== Article Card & Modal (shared) ===== */

.article-card {
    background: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.1);
}

.article-card-header {
    position: relative;
    height: 10rem;
    background: var(--primary-blue);
    overflow: hidden;
}

.article-card-header::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    z-index: 1;
}

.article-author-photo {
    position: absolute;
    bottom: 0;
    right: 1.5rem;
    width: 7rem;
    height: 10rem;
    object-fit: cover;
    object-position: top center;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: 2;
}

.article-header-info {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.article-card-tag {
    display: inline-block;
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    font-family: "Dosis", sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(4px);
}

.article-header-name {
    font-family: "Dosis", sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--white);
}

.article-header-role {
    font-family: "Lustria", serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.article-card-body {
    padding: 1.75rem 1.75rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-card-body h4 {
    font-size: 1.125rem;
    color: var(--gray-800);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.article-card-body p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    flex: 1;
}

.article-credentials { display: flex; flex-direction: column; gap: 0.375rem; }
.article-credentials--card { padding-bottom: 1rem; margin-bottom: 0.25rem; }
.article-credentials--modal { margin-top: 0.5rem; }
.article-credentials--modal .credentials-text { color: rgba(255, 255, 255, 0.85); }
.credentials-text {
    font-family: "Lustria", serif;
    font-size: 0.75rem;
    font-style: italic;
    color: var(--gray-600);
}

.article-card-meta {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-200);
    margin-top: auto;
}

.article-read-more {
    font-family: "Dosis", sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.article-read-more:hover { color: var(--primary-blue-dark); }

/* Article Modal Overlay */
.article-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: center;
    align-items: flex-start;
    padding: 3rem 1.5rem;
    overflow-y: auto;
    backdrop-filter: blur(4px);
}

.article-modal-overlay.active { display: flex; }

.article-modal {
    background: var(--white);
    border-radius: 1rem;
    max-width: 48rem;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(1rem); }
    to { opacity: 1; transform: translateY(0); }
}

.article-modal-hero {
    position: relative;
    height: 14rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.article-modal-hero img {
    position: absolute;
    right: 2rem; bottom: 0;
    width: 10rem; height: 14rem;
    object-fit: cover;
    object-position: top center;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

.article-modal-hero-info { position: relative; z-index: 2; }
.article-modal-hero-info .article-card-tag { margin-bottom: 0.75rem; }
.article-modal-hero-info h2 { color: var(--white); font-size: 1.75rem; margin-bottom: 0.25rem; }
.article-modal-hero-info p { color: rgba(255, 255, 255, 0.8); font-family: "Lustria", serif; font-size: 0.875rem; }

.article-modal-close {
    position: absolute;
    top: 1rem; right: 1rem;
    width: 2.5rem; height: 2.5rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--white);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    transition: background 0.3s;
    backdrop-filter: blur(4px);
    padding: 0;
}

.article-modal-close:hover { background: rgba(255, 255, 255, 0.3); }

.article-modal-body {
    padding: 3rem;
    color: var(--gray-700);
    line-height: 1.85;
    font-size: 1.0625rem;
}

.article-modal-body h3 { font-size: 1.25rem; color: var(--gray-800); margin: 2.5rem 0 1.25rem; }
.article-modal-body h3:first-child { margin-top: 0; }
.article-modal-body p { margin-bottom: 1.5rem; }

.article-modal-body blockquote {
    border-left: 3px solid var(--primary-blue);
    padding: 1.25rem 1.75rem;
    margin: 2rem 0;
    background: var(--primary-blue-bg);
    border-radius: 0 0.5rem 0.5rem 0;
    font-family: "Lustria", serif;
    color: var(--gray-800);
    font-size: 1rem;
}

.article-modal-body ul, .article-modal-body ol { margin: 1rem 0 1.25rem 1.5rem; }
.article-modal-body li { margin-bottom: 0.5rem; line-height: 1.7; }
.article-modal-body a { color: var(--primary-blue); text-decoration: underline; transition: color 0.3s; }
.article-modal-body a:hover { color: var(--primary-blue-dark); }
.article-modal-body img { max-width: 100%; height: auto; border-radius: 0.5rem; margin: 1rem 0; }

.articles-loading, .modal-loading {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--gray-600);
    font-family: "Dosis", sans-serif;
    font-size: 1rem;
}

.loading-spinner {
    display: inline-block;
    width: 2rem; height: 2rem;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary-blue);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-bottom: 1rem;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Expert clickable name/photo */
.expert-clickable { cursor: pointer; transition: opacity 0.3s, filter 0.3s; }
.expert-clickable:hover { opacity: 0.85; filter: brightness(1.15); }

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        flex-shrink: 0;
    }

    nav {
        max-width: 100%;
    }

    .logo {
        flex-shrink: 1;
        min-width: 0;
        overflow: hidden;
    }

    .logo-img {
        max-width: 100%;
        height: auto;
        max-height: 2.2rem;
    }

    /* Mobile menu open state */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        padding: 1rem 2rem;
        z-index: 100;
    }

    .nav-links.active li {
        padding: 0.5rem 0;
    }

    /* Mobile dropdown: show inline instead of absolute */
    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 0 1rem;
    }
    .nav-links.active .nav-dropdown-menu {
        display: block;
    }

    .nav-buttons {
        gap: 0.35rem;
    }

    .nav-buttons a.btn-primary,
    .nav-buttons a.btn-secondary {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
        white-space: nowrap;
    }

    .hero {
        min-height: 60vh;
    }

    .hero::before {
        background: linear-gradient(
            to bottom,
            rgba(20, 20, 30, 0.75) 0%,
            rgba(20, 20, 30, 0.5) 50%,
            rgba(20, 20, 30, 0.2) 100%
        );
    }

    .hero-content {
        padding: 3rem 1.5rem;
        max-width: 100%;
    }

    .hero-logo {
        height: 3.5rem;
    }

    section {
        padding: 3rem 0;
    }

    .steps-grid,
    .investments-grid,
    .features-grid,
    .experts-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .calculator-wrapper {
        grid-template-columns: 1fr;
    }

    .calc-result-grid {
        grid-template-columns: 1fr 1fr;
    }

    .calc-number-input {
        width: 6rem;
        font-size: 0.875rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .logo-img {
        height: 2rem;
    }

    .investment-image,
    .expert-image-container {
        height: 12rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
