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

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: var(--fw-normal);
    color: #000;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}

.bold { font-weight: var(--fw-strong); }

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

a { color: inherit; text-decoration: none; }

.header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: var(--sp-sm) var(--sp-md);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
}

.logo-icon { width: 36px; height: auto; }
.logo-ratgeber { height: 14px; width: auto; }
.logo-tagline { height: 10px; width: auto; }

.logo-text-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-md);
}

.main-layout {
    display: flex;
    gap: var(--sp-lg);
    align-items: flex-start;
}

.article {
    flex: 1;
    min-width: 0;
    max-width: 840px;
}

.sidebar {
    display: none;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding-bottom: var(--sp-xl);
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content-wrap {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--sp-xl) var(--sp-md) var(--sp-lg);
}

.hero-content {
    max-width: 840px;
    margin: 0 auto;
}

.hero-title {
    font-size: var(--font-3xl);
    line-height: var(--lh-tight);
    font-weight: var(--fw-strong);
    color: #fff;
    margin-bottom: var(--sp-sm);
}

.hero-subtitle {
    font-size: var(--font-lg);
    line-height: var(--lh-normal);
    color: #fff;
    margin-bottom: var(--sp-md);
}

.trust-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-sm);
    margin-bottom: var(--sp-md);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
    color: #fff;
    font-size: var(--font-sm);
    line-height: var(--lh-normal);
}

.trust-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    padding: 6px;
}

.hero-intro-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    border-radius: var(--radius-md);
    padding: var(--sp-md);
    color: #fff;
    font-size: var(--font-base);
    line-height: var(--lh-relaxed);
}

.intro-section {
    margin-bottom: var(--sp-lg);
}

.products-image {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-bottom: var(--sp-md);
}

.quick-nav {
    margin-bottom: var(--sp-md);
}

.quick-nav-label {
    font-size: var(--font-base);
    line-height: var(--lh-snug);
    letter-spacing: 0.9px;
    text-transform: uppercase;
    margin-bottom: var(--sp-xs);
}

.quick-nav-button {
    display: inline-block;
    background: #252222;
    color: #fff;
    font-size: var(--font-xl);
    line-height: var(--lh-snug);
    text-transform: uppercase;
    padding: var(--sp-sm) var(--sp-lg);
    border-radius: var(--radius-md);
    font-weight: var(--fw-medium);
}

.content-image {
    width: 100%;
    border-radius: var(--radius-lg);
    margin-top: var(--sp-md);
    margin-bottom: var(--sp-md);
}

.content-section { margin-bottom: var(--sp-lg); }

.article p {
    font-size: var(--font-base);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--sp-sm);
}

.section-title {
    font-size: var(--font-2xl);
    line-height: var(--lh-snug);
    font-weight: var(--fw-strong);
    margin-bottom: var(--sp-sm);
}

.subsection-title {
    font-size: var(--font-lg);
    line-height: var(--lh-snug);
    font-weight: var(--fw-strong);
    margin-top: var(--sp-md);
    margin-bottom: var(--sp-xs);
}

.criteria-title {
    font-size: var(--font-xl);
    line-height: var(--lh-snug);
    font-weight: var(--fw-strong);
    margin-top: var(--sp-md);
    margin-bottom: var(--sp-xs);
}

.product-card {
    background: #f9f9f9;
    border-radius: var(--radius-lg);
    padding: var(--sp-md);
    margin-bottom: var(--sp-md);
}

.product-card-winner {
    background: #fcf7ef;
    position: relative;
    overflow: visible;
}

.testsieger-badge {
    position: absolute;
    top: -20px;
    right: 20px;
    width: 96px;
    height: auto;
    z-index: 3;
}

.product-card-header {
    margin-bottom: var(--sp-sm);
    margin-right: 100px;
}

.platz-badge {
    display: inline-block;
    padding: 4px var(--sp-md);
    font-size: var(--font-lg);
    font-weight: var(--fw-bold);
    font-family: 'Inter', 'Open Sans', sans-serif;
    line-height: var(--lh-snug);
    margin-bottom: var(--sp-xs);
}

.platz-gold {
    background: linear-gradient(77deg, #ebd197, #b48811 14%, #a2790d 32%, #efd183 51%, #a2790d 68%, #b48811 86%, #ebd197);
    color: #fff;
}

.platz-silver {
    background: linear-gradient(77deg, #d0c0c0, #eee9e9 17%, #ecd4d4 49%, #eee9e9 86%, #d0c0c0);
    color: #252222;
}

.platz-bronze {
    background: linear-gradient(77deg, #804a00, #895e1a 14%, #9c7a3c 32%, #b08d57 50%, #9c7a3c 67%, #895e1a 88%, #804a00);
    color: #fff;
}

.platz-dark {
    background: linear-gradient(90deg, #000, #413838 49%, #323232);
    color: #fff;
}

.product-title-group {
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: var(--font-lg);
    line-height: var(--lh-snug);
    font-weight: var(--fw-strong);
}

.product-brand {
    font-size: var(--font-lg);
    line-height: var(--lh-snug);
    font-weight: var(--fw-light);
}

.product-card-body {
    margin-bottom: var(--sp-md);
}

.product-card-body p {
    font-size: var(--font-base);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--sp-sm);
}

.product-features {
    list-style: disc;
    padding-left: var(--sp-md);
    margin-bottom: var(--sp-sm);
}

.product-features li {
    font-size: var(--font-base);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--sp-xs);
}

.product-rating-section {
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
    margin-bottom: var(--sp-md);
    align-items: center;
}

.product-image-wrap {
    position: relative;
    display: inline-block;
    background: #fff;
    width: 200px;
    height: 200px;
    flex-shrink: 0;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: var(--sp-xs);
}

.score-badge {
    position: absolute;
    bottom: -15px;
    left: -15px;
    width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.score-circle {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.score-value {
    position: relative;
    font-size: var(--font-base);
    font-weight: var(--fw-strong);
    line-height: var(--lh-tight);
}

.score-label {
    position: relative;
    font-size: var(--font-xs);
    line-height: var(--lh-tight);
}

.rating-table {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    flex: 1;
}

.rating-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: var(--font-sm);
    line-height: var(--lh-snug);
    padding-bottom: var(--sp-xs);
}

.rating-label {
    font-weight: var(--fw-medium);
}

.rating-row-scores {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating-stars {
    color: #f5c518;
    font-size: var(--font-sm);
    letter-spacing: 1px;
    margin: 0 4px;
    white-space: nowrap;
}

.rating-score {
    min-width: 40px;
    text-align: left;
}

.pros-cons {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-md);
    padding-top: var(--sp-md);
    border-top: 1px solid #ddd;
    margin-bottom: var(--sp-md);
}

.pros-cons-heading {
    font-size: var(--font-lg);
    font-weight: var(--fw-strong);
    line-height: var(--lh-snug);
    margin-bottom: var(--sp-xs);
}

.pros-item, .cons-item {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-xs);
    margin-bottom: var(--sp-xs);
    font-size: var(--font-base);
    line-height: var(--lh-normal);
}

.pros-item img, .cons-item img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.order-button {
    display: block;
    background: #252222;
    color: #fff;
    text-align: center;
    font-size: var(--font-xl);
    font-weight: var(--fw-medium);
    line-height: var(--lh-snug);
    text-transform: uppercase;
    padding: var(--sp-sm) var(--sp-md);
    border-radius: var(--radius-md);
    margin: 0 auto;
    max-width: 460px;
}

.recommendation-card {
    margin-bottom: var(--sp-lg);
}

.recommendation-box {
    background: #fcf7ef;
    border-radius: var(--radius-lg);
    padding: var(--sp-lg) var(--sp-md) var(--sp-md);
    box-shadow: 0 0 24px rgba(91, 65, 65, 0.16);
    position: relative;
    overflow: visible;
}

.rec-badge {
    position: absolute;
    top: -10px;
    right: 12px;
    width: 56px;
    height: auto;
    z-index: 3;
}

.rec-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-sm);
    margin-bottom: var(--sp-md);
}

.rec-image-col {
    flex-shrink: 0;
    order: 1;
}

.rec-product-image {
    display: block;
    max-width: 160px;
    height: auto;
    margin: 0 auto;
}

.rec-info-col {
    margin-right: 76px;
}

.rec-product-name {
    display: block;
    font-size: var(--font-lg);
    font-weight: var(--fw-strong);
    line-height: var(--lh-snug);
}

.rec-product-brand {
    display: block;
    font-size: var(--font-lg);
    font-weight: var(--fw-light);
    line-height: var(--lh-snug);
    margin-bottom: var(--sp-xs);
}

.rec-stars {
    font-size: var(--font-base);
    color: #f5c518;
    margin-bottom: var(--sp-sm);
}

.rec-stars span {
    color: #000;
    font-size: var(--font-sm);
}

.rec-pros {
    display: flex;
    flex-direction: column;
}

.rec-pros-detailed {
    margin-bottom: var(--sp-md);
}

.accordion-section {
    margin-bottom: var(--sp-lg);
}

.accordion-item {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.accordion-item + .accordion-item {
    border-top: none;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: var(--sp-sm) 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--font-2xl);
    font-weight: var(--fw-normal);
    line-height: var(--lh-snug);
    color: #000;
}

.accordion-icon {
    font-size: var(--font-2xl);
    line-height: var(--lh-none);
}

.accordion-body {
    display: none;
    padding-bottom: var(--sp-md);
}

.accordion-body.open {
    display: block;
}

.accordion-body p {
    font-size: var(--font-sm);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--sp-xs);
}

.page-footer {
    background: #1a1a1a;
    color: #fff;
    padding: var(--sp-lg) var(--sp-md);
    margin-top: var(--sp-xl);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    flex-direction: column;
    gap: var(--sp-md);
    margin-bottom: var(--sp-md);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
}

.footer-logo .logo-icon { filter: brightness(0) invert(1); }
.footer-logo .logo-ratgeber { filter: brightness(0) invert(1); }
.footer-logo .logo-tagline { filter: brightness(0) invert(1); }

.footer-nav {
    display: flex;
    gap: var(--sp-md);
}

.footer-nav a {
    font-size: var(--font-xs);
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.social-icons a img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: var(--sp-sm);
}

.footer-bottom p {
    font-size: var(--font-xs);
    opacity: 0.6;
}

.toc {
    background: #fcf7ef;
    border-radius: var(--radius-md);
    padding: var(--sp-md);
}

.toc-header {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
    padding-bottom: var(--sp-sm);
    border-bottom: 1px solid #ddd;
    margin-bottom: var(--sp-sm);
}

.toc-icon {
    font-size: var(--font-xl);
}

.toc-title {
    font-size: var(--font-xl);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.toc-body {
    display: flex;
    position: relative;
}

.toc-track {
    position: relative;
    width: 3px;
    flex-shrink: 0;
    margin-right: var(--sp-sm);
}

.toc-track-bg {
    position: absolute;
    inset: 0;
    background: #e8e4e0;
    border-radius: var(--radius-full);
}

.toc-track-indicator {
    position: absolute;
    left: 0;
    width: 3px;
    background: #252222;
    border-radius: var(--radius-full);
    transition: top 0.2s ease, height 0.2s ease;
}

.toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
}

.toc-list li {
    padding: var(--sp-xs) 0;
}

.toc-list li.active a {
    color: #000;
    font-weight: var(--fw-strong);
}

.toc-list a {
    font-size: var(--font-sm);
    line-height: var(--lh-snug);
    color: #252222;
    transition: color 0.2s ease;
}

.mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: #fcf7ef;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column-reverse;
}

.mobile-nav-title {
    display: flex;
    align-items: center;
    gap: var(--sp-xs);
    padding: var(--sp-sm) var(--sp-md);
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--font-sm);
    font-weight: var(--fw-strong);
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #252222;
    width: 100%;
}

.mobile-nav-icon {
    font-size: var(--font-lg);
}

.mobile-nav-arrow {
    margin-left: auto;
    font-size: var(--font-xs);
}

.mobile-nav-border {
    display: none;
    height: 1px;
    background: #ddd;
}

.mobile-nav-links {
    display: none;
    flex-direction: column;
    padding: 0 var(--sp-md) var(--sp-sm);
    max-height: 50vh;
    overflow-y: auto;
}

.mobile-nav.open .mobile-nav-border {
    display: block;
}

.mobile-nav.open .mobile-nav-links {
    display: flex;
}

.mobile-nav-link {
    padding: var(--sp-xs) 0;
    font-size: var(--font-sm);
    line-height: var(--lh-snug);
    color: #252222;
    border-bottom: 1px solid #eee;
}

.mobile-nav-link:last-child {
    border-bottom: none;
}

.mobile-nav-link.active {
    font-weight: var(--fw-strong);
    color: #000;
}

@media (min-width: 768px) {
    .trust-badges {
        grid-template-columns: 1fr 1fr;
    }

    .pros-cons {
        grid-template-columns: 1fr 1fr;
    }

    .rec-top {
        flex-direction: row-reverse;
        align-items: flex-start;
    }

    .rec-image-col {
        order: 0;
        margin-top: var(--sp-xl);
    }

    .rec-info-col {
        flex: 1;
        padding-right: 0;
    }

    .rec-product-image {
        max-width: 200px;
    }

    .rec-badge {
        top: -14px;
        right: 20px;
        width: 72px;
    }

    .product-rating-section {
        flex-direction: row;
        align-items: flex-start;
    }

    .rating-row {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding-bottom: 0;
    }

    .rating-label {
        flex: 1;
    }

    .rating-score {
        text-align: right;
    }

    .footer-top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

@media (min-width: 1024px) {
    .sidebar {
        display: block;
        width: 370px;
        flex-shrink: 0;
        position: sticky;
        top: 90px;
        align-self: flex-start;
    }

    .mobile-nav {
        display: none;
    }

    .main {
        position: relative;
        z-index: 2;
        margin-top: calc(-1 * 80px);
    }

    .trust-badges {
        grid-template-columns: 1fr 1fr;
        max-width: 600px;
    }

    .trust-icon {
        width: 46px;
        height: 46px;
    }
}
