/* ═══════════════════════════════════════════════════════════
   Vergleich Theme – Main Stylesheet
   Professional, restrained design system.
   All brand colors injected via CSS custom properties.
   ═══════════════════════════════════════════════════════════ */

/* ─── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-surface);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--color-accent-hover); }
ul, ol { list-style: none; }

/* ─── Typography ────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-primary);
    letter-spacing: -0.01em;
}
h1 { font-size: clamp(1.75rem, 3vw + 0.5rem, 2.75rem); }
h2 { font-size: clamp(1.4rem, 2vw + 0.5rem, 2rem); }
h3 { font-size: clamp(1.1rem, 1.5vw + 0.3rem, 1.4rem); }

/* ─── Layout ────────────────────────────────────────────── */
.container          { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container--wide    { max-width: 1400px; }
.container--narrow  { max-width: 780px; }

.section {
    padding: clamp(3rem, 5vw, 5rem) 0;
}
.section--alt {
    background: var(--color-surface-alt);
}
.section__title {
    text-align: center;
    margin-bottom: 2rem;
}
.section__text {
    text-align: center;
    color: var(--color-text-light);
    max-width: 640px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.6rem 1.4rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 6px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    text-decoration: none;
    white-space: nowrap;
}
.btn--accent {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}
.btn--accent:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: #fff;
}
.btn--primary {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
}
.btn--primary:hover {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    color: #fff;
}
.btn--secondary {
    background: var(--color-primary);
    color: #fff;
    border-color: var(--color-primary);
}
.btn--secondary:hover {
    background: var(--color-primary-light);
    border-color: var(--color-primary-light);
    color: #fff;
}
.btn--outline {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-border);
}
.btn--outline:hover {
    border-color: var(--color-accent);
    background: var(--color-surface-alt);
    color: var(--color-accent);
}
.btn--lg {
    padding: 0.8rem 2rem;
    font-size: 1rem;
}

/* ─── Header ────────────────────────────────────────────── */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow 0.2s;
}
.site-header--scrolled {
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    gap: 2rem;
}
.site-header__brand a,
.site-header__logo-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--color-primary);
    text-decoration: none;
    letter-spacing: -0.02em;
}
.site-header__logo-text:hover { color: var(--color-primary); }
.custom-logo { height: 32px; width: auto; display: block; }

/* Nav */
.site-header__nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-list {
    display: flex;
    align-items: center;
    gap: 0;
}
.nav-list li { position: relative; }
.nav-list > li > a {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 0.85rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
    transition: color 0.15s;
    text-decoration: none;
}
.nav-list li a:hover,
.nav-list li.current-menu-item > a {
    color: var(--color-accent);
}
/* Dropdown arrow */
.nav-list > li.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid currentColor;
    margin-left: 5px;
    opacity: 0.5;
    transition: transform 0.2s;
}
.nav-list > li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
    opacity: 1;
}

/* Standard Dropdown */
.nav-list > li.menu-item-has-children {
    position: relative;
}
.nav-list .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    padding: 0.4rem 0;
    z-index: 200;
}
.nav-list li:hover > .sub-menu { display: block; }
.nav-list .sub-menu a {
    display: block;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--color-text);
    text-decoration: none;
}
.nav-list .sub-menu a:hover { color: var(--color-accent); }

/* ── Mega Menu ─────────────────────────────────────────── */
.nav-list > li.mega-menu {
    position: static;
}
.nav-list > li.mega-menu > .sub-menu {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    width: 100vw;
    min-width: 100vw;
    display: none;
    padding: 1.5rem clamp(2rem, 5vw, 5rem);
    border-radius: 0;
    border: none;
    border-top: 1px solid var(--color-border-light);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    z-index: 200;
}
.nav-list > li.mega-menu:hover > .sub-menu {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.35rem;
}
@media (min-width: 1100px) {
    .nav-list > li.mega-menu:hover > .sub-menu {
        grid-template-columns: repeat(6, 1fr);
    }
}
.nav-list > li.mega-menu > .sub-menu > li { margin: 0; }
.nav-list > li.mega-menu > .sub-menu > li > a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--color-text);
    text-decoration: none;
    transition: background 0.15s;
    gap: 0.3rem;
}
.nav-list > li.mega-menu > .sub-menu > li > a:hover {
    background: var(--color-surface-alt);
    color: var(--color-accent);
}
.mega-menu__img {
    width: 64px;
    height: 48px;
    object-fit: contain;
    border-radius: 4px;
    background: var(--color-surface-alt);
    padding: 3px;
}
.mega-menu__label { line-height: 1.25; font-size: 0.75rem; }
/* Testsieger badge — floating over the card */
.nav-list > li.mega-menu > .sub-menu > li.mega-menu-testsieger > a {
    position: relative;
}
.mega-menu__tag {
    position: absolute;
    top: 4px;
    right: 4px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.15rem 0.4rem;
    border-radius: 8px;
    line-height: 1;
}
.mega-menu__tag--winner {
    background: linear-gradient(135deg, #16804a, #1a9956);
    color: #fff;
    box-shadow: 0 1px 4px rgba(22, 128, 74, 0.3);
}
.mega-menu__tag--winner::before {
    content: '\2605';
    font-size: 0.55rem;
}
.nav-list > li.mega-menu > .sub-menu > li.mega-menu-testsieger > a {
    background: rgba(22, 128, 74, 0.04);
    border: 1px solid rgba(22, 128, 74, 0.12);
}

.nav-cta { margin-left: 0.75rem; }

/* ── Mobile: slide-in from right ───────────────────────── */
.site-header__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.site-header__toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-text);
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
}
.site-header__toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.site-header__toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}
.site-header__toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Close button (mobile only) */
.site-header__close {
    display: none;
    position: fixed;
    top: 1rem;
    right: 1.25rem;
    z-index: 310;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    padding: 0.25rem;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}
.site-header__nav.is-open ~ .site-header__close,
.site-header__close.is-visible {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 900px) {
    .site-header__toggle { display: flex; }
    .site-header__close { display: block; }
    .site-header__nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 300px;
        max-width: 85vw;
        background: var(--color-surface);
        border-left: 1px solid var(--color-border);
        box-shadow: -4px 0 20px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 4rem 1.5rem 2rem;
        align-items: stretch;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.25s ease;
        z-index: 300;
    }
    .site-header__nav.is-open {
        transform: translateX(0);
    }
    .nav-list { flex-direction: column; align-items: stretch; }
    .nav-list > li {
        border-bottom: 1px solid var(--color-border-light);
    }
    .nav-list > li:last-child { border-bottom: none; }
    .nav-list > li > a {
        height: auto;
        padding: 0.85rem 0;
        font-size: 1.1rem;
    }
    .nav-list .sub-menu,
    .nav-list > li.mega-menu > .sub-menu {
        position: static;
        display: none;
        width: auto;
        min-width: 0;
        box-shadow: none;
        border: none;
        border-top: none;
        padding: 0 0 0 0.5rem;
        gap: 0.25rem;
    }
    /* On mobile, open via JS .is-open class, not hover */
    .nav-list li:hover > .sub-menu,
    .nav-list > li.mega-menu:hover > .sub-menu {
        display: none;
    }
    .nav-list li.is-open > .sub-menu {
        display: grid;
        grid-template-columns: 1fr;
    }
    .nav-list > li.mega-menu.is-open > .sub-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .nav-list > li.mega-menu > .sub-menu > li > a {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    .nav-list > li:not(.mega-menu) > .sub-menu a {
        font-size: 0.95rem !important;
        padding: 0.3rem 0 !important;
    }
    .mega-menu__img {
        width: 44px;
        height: 34px;
    }
    .mega-menu__tag { font-size: 0.5rem; }
    .nav-cta {
        margin: 1rem 0 0;
        text-align: center;
    }
}
/* Mobile overlay backdrop */
.site-header__nav.is-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 300px;
    bottom: 0;
    background: rgba(0,0,0,0.3);
    z-index: -1;
}

/* ─── Wissenswertes Article ─────────────────────────────── */
.ww-hero {
    background: var(--color-primary);
    color: #fff;
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.ww-hero__meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}
.ww-hero__category {
    background: rgba(255,255,255,0.15);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.ww-hero__date {
    color: rgba(255,255,255,0.55);
}
.ww-hero__title {
    color: #fff;
    font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
    margin-bottom: 0.75rem;
    line-height: 1.2;
}
.ww-hero__excerpt {
    color: rgba(255,255,255,0.75);
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 600px;
}

/* Featured image */
.ww-featured {
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}
.ww-featured__fig {
    margin: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.ww-featured__img {
    width: 100%;
    height: auto;
    display: block;
}

/* Table of Contents */
.ww-toc {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.5rem;
}
.ww-toc__title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}
.ww-toc__list ol {
    list-style: decimal;
    margin: 0;
    padding-left: 1.25rem;
}
.ww-toc__list li {
    margin-bottom: 0.35rem;
}
.ww-toc__list a {
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}
.ww-toc__list a:hover {
    color: var(--color-accent);
}

/* Article content overrides */
.ww-content h2 {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-light);
}
.ww-content h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.ww-content figure {
    margin: 2rem 0;
    border-radius: 8px;
    overflow: hidden;
}
.ww-content figure img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}
.ww-content figure figcaption {
    font-size: 0.82rem;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 0.5rem;
}
.ww-content .wp-block-image img,
.ww-content p img {
    border-radius: 8px;
    margin: 1.5rem 0;
}

/* CTA box */
.ww-cta {
    text-align: center;
    padding: 2rem;
    margin: 3rem 0;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: 10px;
}
.ww-cta__title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}
.ww-cta__text {
    color: var(--color-text-light);
    margin-bottom: 1.25rem;
}

/* Related articles */
.ww-related {
    margin: 3rem 0 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border-light);
}
.ww-related__title {
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
}
.ww-related__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.25rem;
}
.ww-related__card {
    display: block;
    text-decoration: none;
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.ww-related__card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-color: var(--color-border);
}
.ww-related__img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}
.ww-related__img--product {
    object-fit: contain;
    padding: 0.75rem;
    background: var(--color-surface-alt);
}
.ww-related__card-body {
    padding: 0.85rem;
}
.ww-related__card-body .result-badge {
    margin-top: 0.35rem;
    font-size: 0.65rem;
}
.ww-related__card-title {
    font-size: 0.9rem;
    padding: 0.85rem;
    color: var(--color-text);
    line-height: 1.35;
}

/* ─── Wissenswertes Overview ────────────────────────────── */
.ww-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.ww-overview-card {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border-light);
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.ww-overview-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    border-color: var(--color-border);
}
.ww-overview-card__img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.ww-overview-card__body {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ww-overview-card__title {
    font-size: 1.05rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}
.ww-overview-card__excerpt {
    font-size: 0.88rem;
    color: var(--color-text-light);
    line-height: 1.55;
    flex: 1;
}
.ww-overview-card__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-top: 0.75rem;
}

/* ─── Contact Form ──────────────────────────────────────── */
.contact-form {
    max-width: 600px;
    margin: 2rem 0;
}
.contact-form__row {
    margin-bottom: 1.25rem;
}
.contact-form__row label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 0.35rem;
}
.contact-form__row input,
.contact-form__row select,
.contact-form__row textarea {
    width: 100%;
    padding: 0.6rem 0.85rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    background: var(--color-surface);
    color: var(--color-text);
    transition: border-color 0.15s;
}
.contact-form__row input:focus,
.contact-form__row select:focus,
.contact-form__row textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.contact-form__success {
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin: 2rem 0;
    background: rgba(22, 128, 74, 0.05);
    border: 1px solid rgba(22, 128, 74, 0.15);
    border-radius: 10px;
    color: var(--color-success);
}
.contact-form__success svg {
    margin: 0 auto 1rem;
    display: block;
}
.contact-form__success h3 {
    color: var(--color-success);
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}
.contact-form__success p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ─── Breadcrumbs ───────────────────────────────────────── */
.breadcrumbs {
    background: var(--color-surface-alt);
    border-bottom: 1px solid var(--color-border-light);
    padding: 0.6rem 0;
}
.breadcrumbs__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    list-style: none;
}
.breadcrumbs__list li { display: flex; align-items: center; gap: 0.35rem; }
.breadcrumbs__list li + li::before {
    content: '›';
    color: var(--color-text-muted);
}
.breadcrumbs__list a {
    color: var(--color-text-light);
    text-decoration: none;
}
.breadcrumbs__list a:hover { color: var(--color-accent); }
.breadcrumbs__list [aria-current] {
    color: var(--color-text);
    font-weight: 500;
}

/* ─── Hero ──────────────────────────────────────────────── */
.hero {
    background: #1a1a2e82;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    color: #fff;
    padding: clamp(5rem, 10vw, 9rem) 0;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(27,42,74,0.2) 10%, rgba(27,42,74,0.075) 100%);
    z-index: 0;
}
.hero > * { position: relative; z-index: 1; }
.hero__inner {
    max-width: 720px;
}
.hero__headline {
    color: #fff;
    font-size: clamp(2rem, 4vw + 0.5rem, 3rem);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}
.hero__subheadline {
    color: rgba(255,255,255,0.8);
    font-size: clamp(1rem, 1.5vw + 0.25rem, 1.2rem);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}
.hero__meta {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.75rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.hero__cta {
    font-size: 1rem;
}
.hero--compact {
    padding: clamp(2rem, 4vw, 3.5rem) 0;
    text-align: center;
}
.hero--compact .hero__headline { margin-bottom: 0.5rem; }

/* ─── Info Cards ────────────────────────────────────────── */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}
.info-card {
    background: var(--color-surface-card);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    padding: 1.75rem;
}
.info-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: var(--color-surface-alt);
    color: var(--color-accent);
    margin-bottom: 1rem;
}
.info-card__title {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}
.info-card__text {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ─── Formula Section ───────────────────────────────────── */
.section--formula {
    background: var(--color-surface);
}

/* Top bar showing 60/40 split */
.formula-bar {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    margin: 2rem 0 1.5rem;
    height: 56px;
}
.formula-bar__segment {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 1rem;
    color: #fff;
    font-size: 0.85rem;
}
.formula-bar__segment--public { background: var(--color-accent); }
.formula-bar__segment--own { background: var(--color-primary); }
.formula-bar__weight {
    font-size: 1.3rem;
    font-weight: 800;
}
.formula-bar__label {
    font-weight: 600;
    opacity: 0.9;
}
@media (max-width: 500px) {
    .formula-bar { height: 48px; }
    .formula-bar__weight { font-size: 1rem; }
    .formula-bar__label { font-size: 0.75rem; }
}

/* Two pillars side by side */
.formula-pillars {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}
@media (max-width: 700px) {
    .formula-pillars { grid-template-columns: 1fr; }
}
.formula-pillar {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.5rem;
}
.formula-pillar--public { border-top: 3px solid var(--color-accent); }
.formula-pillar--own { border-top: 3px solid var(--color-primary); }

.formula-pillar__header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.formula-pillar__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    flex-shrink: 0;
}
.formula-pillar--public .formula-pillar__icon {
    background: rgba(37,99,235,0.1);
    color: var(--color-accent);
}
.formula-pillar--own .formula-pillar__icon {
    background: rgba(27,42,74,0.1);
    color: var(--color-primary);
}
.formula-pillar__title {
    font-size: 1rem;
    margin-bottom: 0.1rem;
}
.formula-pillar__weight {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.15rem 0.45rem;
    border-radius: 4px;
}
.formula-pillar--public .formula-pillar__weight {
    color: var(--color-accent);
    background: rgba(37,99,235,0.1);
}
.formula-pillar--own .formula-pillar__weight {
    color: var(--color-primary);
    background: rgba(27,42,74,0.1);
}
.formula-pillar__text {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.5;
}
.formula-pillar__items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Sources inside public pillar */
.formula-source {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.75rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
}
.formula-source__icon {
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.formula-source__body { flex: 1; min-width: 0; }
.formula-source__top {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.formula-source__name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
}
.formula-source__weight {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-accent);
    background: rgba(37,99,235,0.08);
    padding: 0.1rem 0.35rem;
    border-radius: 3px;
}
.formula-source__note {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-muted);
    margin-top: 0.1rem;
}

/* Components inside own pillar */
.formula-comp {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.6rem 0.75rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
}
.formula-comp__weight {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: var(--color-primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}
.formula-comp__body { flex: 1; }
.formula-comp__title {
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.1rem;
}
.formula-comp__text {
    font-size: 0.75rem;
    color: var(--color-text-muted);
    line-height: 1.4;
}

/* Result scale */
.formula-scale {
    border-top: 1px solid var(--color-border-light);
    padding-top: 1.25rem;
}
.formula-scale__title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}
.formula-scale__items {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* ─── Testimonials ──────────────────────────────────────── */
.section--testimonials { background: var(--color-surface-alt); }
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--color-surface-card);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    padding: 1.75rem;
}
.testimonial-card__text {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.65;
    margin-bottom: 1rem;
    font-style: normal;
}
.testimonial-card__author {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-light);
}

/* ─── FAQ ───────────────────────────────────────────────── */
.section--faq { background: var(--color-surface-alt); }
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.faq-item {
    border-bottom: 1px solid var(--color-border);
}
.faq-item:first-child {
    border-top: 1px solid var(--color-border);
}
.faq-item__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    color: var(--color-text);
    list-style: none;
}
.faq-item__question::-webkit-details-marker { display: none; }
.faq-item__question::after {
    content: '+';
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--color-text-muted);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.2s;
}
.faq-item[open] > .faq-item__question::after {
    content: '\2212';
}
.faq-item__answer {
    padding: 0 0 1.25rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ─── Blog Grid ─────────────────────────────────────────── */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}
.blog-card {
    background: var(--color-surface-card);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.blog-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.blog-card__image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.blog-card__body {
    padding: 1.25rem;
}
.blog-card__date {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.blog-card__title {
    font-size: 1.05rem;
    margin: 0.4rem 0 0.5rem;
}
.blog-card__title a {
    color: var(--color-text);
    text-decoration: none;
}
.blog-card__title a:hover { color: var(--color-accent); }
.blog-card__excerpt {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ─── Entry Content ─────────────────────────────────────── */
.entry-header { margin-bottom: 2rem; }
.entry-meta {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}
.entry-meta a { color: var(--color-accent); }
.entry-title { margin-bottom: 0; }
.entry-image {
    margin: 0 0 2rem;
    border-radius: 8px;
    overflow: hidden;
}
.entry-content p { margin-bottom: 1.25rem; }
.entry-content h2 { margin: 2rem 0 1rem; }
.entry-content h3 { margin: 1.5rem 0 0.75rem; }
.entry-content ul, .entry-content ol {
    margin: 0 0 1.25rem 1.5rem;
    list-style: revert;
}
.entry-content img { border-radius: 6px; margin: 1rem 0; }
.entry-content blockquote {
    border-left: 3px solid var(--color-accent);
    padding: 0.75rem 1.25rem;
    margin: 1.5rem 0;
    color: var(--color-text-light);
    font-style: italic;
}
.page-title {
    margin-bottom: 2rem;
}

/* ─── Pagination ────────────────────────────────────────── */
.pagination {
    margin-top: 3rem;
    text-align: center;
}
.pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.4rem;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: var(--color-text);
    text-decoration: none;
}
.pagination a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}
.pagination .current {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: #fff;
}

/* ─── Single Product Review ─────────────────────────────── */
.product-hero {
    background: var(--color-primary);
    color: #fff;
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}
.product-hero__inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2.5rem;
    align-items: center;
}
@media (max-width: 768px) {
    .product-hero__inner {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .product-hero__image {
        margin: 0 auto;
    }
}
.product-hero__meta {
    margin-bottom: 0.75rem;
}
.product-hero__title {
    color: #fff;
    font-size: clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
    margin-bottom: 0.25rem;
}
.product-hero__subtitle {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}
.product-hero__rating {
    margin-bottom: 1.5rem;
}
.product-hero__rating .star-rating { gap: 2px; }
.product-hero__rating .star-count { color: rgba(255,255,255,0.6); }
.product-hero__actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .product-hero__actions { justify-content: center; }
}
.product-hero__image {
    position: relative;
    max-width: 240px;
}
.product-hero__image img {
    border-radius: 10px;
    background: #fff;
    padding: 1rem;
}
.product-hero__badge {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 64px;
    height: auto;
}

/* Pros / Cons */
.product-proscons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 2.5rem 0;
}
@media (max-width: 600px) {
    .product-proscons { grid-template-columns: 1fr; }
}
.product-proscons__col {
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--color-border-light);
}
.product-proscons__col--pro {
    background: rgba(22,128,74,0.04);
    border-color: rgba(22,128,74,0.15);
}
.product-proscons__col--con {
    background: rgba(196,43,43,0.04);
    border-color: rgba(196,43,43,0.15);
}
.product-proscons__title {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}
.product-proscons__col .cell-list { font-size: 0.9rem; }
.product-proscons__col .cell-list li { margin-bottom: 0.45rem; }

/* Specs Table */
.product-specs {
    margin: 2.5rem 0;
}
.product-specs__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.product-specs__table {
    width: 100%;
    border-collapse: collapse;
}
.product-specs__table th,
.product-specs__table td {
    padding: 0.75rem 1rem;
    text-align: left;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-border-light);
    vertical-align: top;
}
.product-specs__table th {
    font-weight: 600;
    color: var(--color-text-light);
    width: 40%;
    white-space: nowrap;
}
.product-specs__table tr:nth-child(even) {
    background: var(--color-surface-alt);
}

/* Section */
.product-section {
    margin: 2.5rem 0;
}
.product-section h2 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}
.product-section p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* Discount box */
.product-discount {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    margin: 2rem 0;
    background: rgba(37,99,235,0.05);
    border: 1px dashed var(--color-accent);
    border-radius: 8px;
}
.product-discount__label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-accent);
    white-space: nowrap;
}
.product-discount__text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
}

.product-hero__proc {
    display: block;
    margin-top: 0.4rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.65);
}
.product-hero__proc .check-rating { vertical-align: middle; }
.product-hero__proc .check--active { color: rgba(255,255,255,0.9); }
.product-hero__proc .check--inactive { color: rgba(255,255,255,0.25); }

/* CTA Box */
.product-cta-box {
    margin: 2.5rem 0;
    padding: 1.5rem;
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: 10px;
}
.product-cta-box__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.product-cta-box__text {
    font-size: 1rem;
}
.product-cta-box__text .result-badge {
    vertical-align: middle;
    margin-left: 0.35rem;
}
.product-cta-box__actions {
    display: flex;
    gap: 0.5rem;
}

/* Back link */
.product-back {
    margin: 2.5rem 0 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border-light);
}

/* Related Products */
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}
.related-card {
    display: flex;
    flex-direction: column;
    background: var(--color-surface-card);
    border: 1px solid var(--color-border-light);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.related-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    border-color: var(--color-border);
}
.related-card__img {
    width: 100%;
    height: 140px;
    object-fit: contain;
    padding: 1rem;
    background: var(--color-surface-alt);
}
.related-card__body {
    padding: 1rem;
}
.related-card__title {
    font-size: 0.95rem;
    color: var(--color-text);
    margin-bottom: 0.4rem;
}
.related-card__rating {
    margin-top: 0.35rem;
}

/* ─── Footer ────────────────────────────────────────────── */
.site-footer {
    background: var(--color-primary);
    color: rgba(255,255,255,0.7);
    padding: 3rem 0 0;
    margin-top: 0;
}
.site-footer__grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
@media (max-width: 768px) {
    .site-footer__grid {
        grid-template-columns: 1fr;
    }
}
.site-footer__logo {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
}
.site-footer__logo-img img,
.site-footer__logo-img .custom-logo {
    height: 28px;
    width: auto;
    filter: brightness(0) invert(1);
    margin-bottom: 0.5rem;
}
.site-footer__tagline {
    font-size: 0.9rem;
    line-height: 1.6;
}
.footer-widget__title {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}
.footer-widget ul { list-style: none; }
.footer-widget li { margin-bottom: 0.4rem; }
.footer-widget a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9rem;
    text-decoration: none;
}
.footer-widget a:hover { color: #fff; }
.site-footer__impressum {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    padding: 1.25rem 0;
    line-height: 1.7;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer__impressum strong {
    color: rgba(255,255,255,0.55);
}
.site-footer__disclaimer {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    padding: 1.25rem 0;
    line-height: 1.6;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
    font-size: 0.85rem;
}
.footer-nav {
    display: flex;
    gap: 1.5rem;
    list-style: none;
}
.footer-nav a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
}
.footer-nav a:hover { color: #fff; }
@media (max-width: 600px) {
    .site-footer__bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}

/* ── Contact Form ── */
.contact-form { max-width: 600px; margin-top: 2rem; }
.contact-form__group { margin-bottom: 1.25rem; }
.contact-form__group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.95rem;
    color: var(--color-heading);
}
.contact-form__group .required { color: #c42b2b; }
.contact-form__group input,
.contact-form__group textarea {
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-form__group input:focus,
.contact-form__group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(22,128,74,0.12);
}
.contact-form__group textarea { resize: vertical; min-height: 140px; }
.contact-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 2rem;
    background: var(--color-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}
.contact-form__submit:hover { background: var(--color-primary-dark, #12693d); transform: translateY(-1px); }
.contact-form__submit:active { transform: translateY(0); }
.contact-success {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: rgba(22,128,74,0.06);
    border: 1px solid rgba(22,128,74,0.2);
    border-radius: 10px;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    color: #15803d;
}
.contact-success p { margin: 0.25rem 0 0; font-size: 0.9rem; color: var(--color-text); }
.contact-error {
    background: rgba(196,43,43,0.06);
    border: 1px solid rgba(196,43,43,0.2);
    border-radius: 10px;
    padding: 0.9rem 1.25rem;
    margin-bottom: 1.5rem;
    color: #c42b2b;
    font-weight: 500;
}
