/* ==========================================================================
   Die TestEnte — Main Stylesheet
   Based on dietestente.html reference design
   ========================================================================== */

/* Local Fonts */
@font-face { font-family: 'DM Sans'; font-style: italic; font-weight: 300; font-display: swap; src: url('/assets/fonts/dm-sans-italic-300.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url('/assets/fonts/dm-sans-300.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/dm-sans-400.ttf') format('truetype'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/dm-sans-500.ttf') format('truetype'); }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/syne-400.ttf') format('truetype'); }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/syne-600.ttf') format('truetype'); }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/syne-700.ttf') format('truetype'); }
@font-face { font-family: 'Syne'; font-style: normal; font-weight: 800; font-display: swap; src: url('/assets/fonts/syne-800.ttf') format('truetype'); }

:root {
    --duck-yellow: #F5C518;
    --duck-orange: #E8820C;
    --duck-dark: #1A1410;
    --duck-brown: #3D2B1F;
    --duck-cream: #FDF8EE;
    --duck-light: #FFF9E8;
    --text-muted: #7A6955;
    --border: rgba(61,43,31,0.1);
}

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

body {
    font-family: 'DM Sans', sans-serif;
    background: var(--duck-cream);
    color: var(--duck-dark);
    overflow-x: hidden;
}

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

a { color: var(--duck-dark); text-decoration: none; transition: color 0.2s; }

h1, h2, h3 {
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ==========================================================================
   NAV — Frosted glass cream, fixed
   ========================================================================== */

.site-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; align-items: center; justify-content: space-between;
    padding: 1.2rem 2.5rem;
    background: rgba(253,248,238,0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    width: 100%; max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}

.logo {
    display: flex; align-items: center; gap: 0.6rem;
    font-family: 'Syne', sans-serif;
    font-weight: 800; font-size: 1.3rem;
    color: var(--duck-dark);
    text-decoration: none;
}

.logo-duck {
    width: 38px; height: 38px;
    background: var(--duck-yellow);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    box-shadow: 3px 3px 0 var(--duck-orange);
    transition: transform 0.2s;
}

.logo:hover .logo-duck { transform: rotate(-10deg); }

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

.nav-links a {
    font-size: 0.9rem; font-weight: 500;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--duck-dark); }

.nav-cta {
    background: var(--duck-dark);
    color: var(--duck-yellow) !important;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-weight: 500 !important;
    transition: background 0.2s;
}
.nav-cta:hover { background: var(--duck-brown) !important; color: var(--duck-yellow) !important; }

/* Nav dropdown (desktop) */
.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
    background: none; border: none; cursor: pointer;
    font-family: inherit; font-size: 0.9rem; font-weight: 500;
    color: var(--text-muted); display: flex; align-items: center; gap: 0.25rem;
    transition: color 0.2s;
}
.nav-dropdown-toggle:hover { color: var(--duck-dark); }
.nav-arrow { font-size: 0.75rem; transition: transform 0.2s; }
.nav-dropdown.open .nav-arrow { transform: rotate(180deg); }

.nav-dropdown-menu {
    display: none; position: absolute; top: calc(100% + 0.75rem); left: -0.5rem;
    background: white; border: 1.5px solid var(--border);
    border-radius: 16px; box-shadow: 0 12px 40px rgba(61,43,31,0.12);
    min-width: 220px; padding: 0.5rem; list-style: none; z-index: 1000;
}
.nav-dropdown.open .nav-dropdown-menu { display: block; }

.nav-dropdown-menu a {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 0.6rem 0.75rem; border-radius: 10px;
    color: var(--duck-dark); font-size: 0.9rem;
}
.nav-dropdown-menu a:hover { background: var(--duck-light); color: var(--duck-orange); }
.nav-cat-icon { font-size: 1.1rem; }

.mobile-menu-btn {
    display: none; background: none; border: none;
    cursor: pointer; padding: 0.5rem;
}
.hamburger, .hamburger::before, .hamburger::after {
    display: block; width: 22px; height: 2px;
    background: var(--duck-dark); border-radius: 2px; transition: transform 0.3s;
}
.hamburger { position: relative; }
.hamburger::before, .hamburger::after { content: ''; position: absolute; left: 0; }
.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.desktop-only { display: block; }
.mobile-only { display: none; }

/* ==========================================================================
   HERO — Full viewport, cream with subtle gradients
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 8rem 2.5rem 4rem;
    position: relative; overflow: visible;
}

.hero-bg {
    position: absolute; inset: 0; overflow: hidden;
    background:
        radial-gradient(ellipse 60% 50% at 70% 50%, rgba(245,197,24,0.15) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(232,130,12,0.08) 0%, transparent 60%);
}

.hero-grid {
    position: absolute; inset: 0; opacity: 0.04;
    background-image:
        linear-gradient(var(--duck-dark) 1px, transparent 1px),
        linear-gradient(90deg, var(--duck-dark) 1px, transparent 1px);
    background-size: 40px 40px;
}

.hero-content {
    position: relative; max-width: 680px;
    animation: fadeUp 0.8s ease both;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--duck-yellow); color: var(--duck-dark);
    padding: 0.35rem 1rem; border-radius: 100px;
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.05em; text-transform: uppercase;
    margin-bottom: 1.5rem;
    box-shadow: 2px 2px 0 var(--duck-orange);
}

.hero h1 {
    font-weight: 800;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1.05; margin-bottom: 1.2rem;
}

.hero h1 em {
    font-style: normal; color: var(--duck-orange); position: relative;
}
.hero h1 em::after {
    content: ''; position: absolute; bottom: 2px; left: 0; right: 0;
    height: 4px; background: var(--duck-yellow);
    border-radius: 2px; opacity: 0.5;
}

.hero-sub {
    font-size: 1.15rem; font-weight: 300;
    color: var(--text-muted); line-height: 1.65;
    max-width: 500px; margin-bottom: 2.5rem;
}

.hero-actions {
    display: flex; gap: 1rem; flex-wrap: wrap; align-items: center;
}

.hero-duck {
    position: absolute; right: 8%; top: 50%;
    transform: translateY(-50%);
    font-size: 12rem; opacity: 0.12;
    animation: float 4s ease-in-out infinite;
    pointer-events: none; user-select: none;
}

@keyframes float {
    0%, 100% { transform: translateY(-50%) rotate(-5deg); }
    50% { transform: translateY(-55%) rotate(5deg); }
}

.hero-search {
    margin-top: 2rem; max-width: 480px;
}

.hero-stats {
    display: flex; gap: 2.5rem; margin-top: 3rem;
    padding-top: 2rem; border-top: 1px solid var(--border);
}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-weight: 800; font-size: 1.8rem; color: var(--duck-dark);
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.2rem; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--duck-dark); color: var(--duck-yellow);
    padding: 0.9rem 1.8rem; border-radius: 100px;
    font-weight: 500; font-size: 1rem; text-decoration: none;
    box-shadow: 4px 4px 0 var(--duck-brown);
    transition: all 0.2s; border: none; cursor: pointer;
    font-family: inherit;
}
.btn-primary:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--duck-brown);
    color: var(--duck-yellow);
}

.btn-secondary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    color: var(--duck-dark); padding: 0.9rem 1.8rem;
    border-radius: 100px; font-weight: 500; font-size: 1rem;
    text-decoration: none; border: 2px solid var(--border);
    transition: all 0.2s; background: transparent;
    cursor: pointer; font-family: inherit;
}
.btn-secondary:hover { border-color: var(--duck-dark); background: var(--duck-light); }

.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.85rem; }

/* ==========================================================================
   USP STRIP — Dark bar with 3 USPs
   ========================================================================== */

.usp-strip {
    background: var(--duck-dark);
    padding: 2rem 2.5rem;
}
.usp-inner {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}
.usp-item {
    display: flex; align-items: flex-start; gap: 1rem;
    color: rgba(255,255,255,0.8);
}
.usp-icon {
    width: 40px; height: 40px; flex-shrink: 0;
    background: var(--duck-yellow); border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
}
.usp-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700; font-size: 0.95rem;
    color: white; margin-bottom: 0.2rem;
}
.usp-text { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.5; }

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
    padding: 5rem 2.5rem; max-width: 1200px; margin: 0 auto;
}

.section-header {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 2.5rem;
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-weight: 700; font-size: 1.8rem;
    letter-spacing: -0.02em;
}

.section-link {
    font-size: 0.9rem; color: var(--duck-orange);
    text-decoration: none; font-weight: 500;
}
.section-link:hover { text-decoration: underline; }

.section-subtitle {
    font-size: 1rem; color: var(--text-muted); margin-bottom: 2rem;
}

/* ==========================================================================
   CATEGORY CHIPS
   ========================================================================== */

.categories {
    display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 3rem;
}

.cat-chip {
    display: inline-flex; align-items: center; gap: 0.4rem;
    padding: 0.5rem 1.1rem; border-radius: 100px;
    border: 1.5px solid var(--border);
    font-size: 0.85rem; font-weight: 500; color: var(--text-muted);
    cursor: pointer; transition: all 0.2s; text-decoration: none;
    background: transparent; font-family: inherit;
}
.cat-chip:hover, .cat-chip.active {
    background: var(--duck-yellow); border-color: var(--duck-yellow);
    color: var(--duck-dark); box-shadow: 2px 2px 0 var(--duck-orange);
}

/* ==========================================================================
   TEST CARDS
   ========================================================================== */

.cards-grid,
.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.card {
    background: white; border-radius: 16px;
    border: 1.5px solid var(--border); overflow: hidden;
    transition: all 0.25s; cursor: pointer; text-decoration: none;
    color: inherit; display: block;
    animation: fadeUp 0.6s ease both;
}
.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }
.card:nth-child(4) { animation-delay: 0.15s; }

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(61,43,31,0.12);
    border-color: var(--duck-yellow);
}

.card-img {
    height: 200px; background: var(--duck-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem; position: relative; overflow: hidden;
}
.card-img > img {
    position: relative; z-index: 1;
    width: 100%; height: 100%; object-fit: cover;
}

.card-img-bg {
    position: absolute; inset: 0;
    background: radial-gradient(ellipse at center, rgba(245,197,24,0.2) 0%, transparent 70%);
}

.card-badge {
    position: absolute; top: 1rem; left: 1rem;
    background: var(--duck-dark); color: var(--duck-yellow);
    padding: 0.3rem 0.7rem; border-radius: 100px;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase;
}

.card-score {
    position: absolute; top: 1rem; right: 1rem;
    width: 44px; height: 44px; background: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem;
    color: var(--duck-dark);
    border: 2px solid var(--duck-yellow);
    box-shadow: 2px 2px 0 var(--duck-orange);
}

.card-body { padding: 1.4rem; }

.card-category {
    font-size: 0.75rem; font-weight: 600; color: var(--duck-orange);
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.5rem;
}

.card-title {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 1.1rem; line-height: 1.3;
    margin-bottom: 0.6rem; color: var(--duck-dark);
}

.card-desc {
    font-size: 0.875rem; color: var(--text-muted);
    line-height: 1.6; margin-bottom: 1.2rem;
    display: -webkit-box; -webkit-line-clamp: 3;
    -webkit-box-orient: vertical; overflow: hidden;
}

.card-footer {
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 1rem; border-top: 1px solid var(--border);
}

.stars {
    display: flex; gap: 2px; color: var(--duck-yellow); font-size: 0.9rem;
}

.card-meta { font-size: 0.78rem; color: var(--text-muted); }

.card-arrow {
    width: 32px; height: 32px; background: var(--duck-light);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; transition: all 0.2s; flex-shrink: 0;
}
.card:hover .card-arrow {
    background: var(--duck-yellow); transform: translateX(3px);
}

/* Featured card */
.card-featured {
    grid-column: 1 / -1;
    display: grid; grid-template-columns: 1fr 1fr;
    background: var(--duck-dark); color: white;
    border-color: var(--duck-dark);
}
.card-featured .card-img {
    height: auto; min-height: 260px;
    background: linear-gradient(135deg, #2A1F15 0%, var(--duck-brown) 100%);
    font-size: 6rem;
}
.card-featured .card-body { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.card-featured .card-category { color: var(--duck-yellow); }
.card-featured .card-title { font-size: 1.6rem; color: white; margin-bottom: 0.8rem; }
.card-featured .card-desc { color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; font-size: 0.95rem; }
.card-featured .card-footer { border-color: rgba(255,255,255,0.1); }
.card-featured .card-meta { color: rgba(255,255,255,0.4); }
.card-featured .stars { color: var(--duck-yellow); }
.card-featured .card-arrow { background: rgba(255,255,255,0.1); color: white; }
.card-featured:hover .card-arrow { background: var(--duck-yellow); color: var(--duck-dark); }
.card-featured:hover { border-color: var(--duck-yellow); }
.card-featured .card-badge { background: var(--duck-yellow); color: var(--duck-dark); }
.card-featured .card-score { border-color: var(--duck-yellow); }

/* ==========================================================================
   COMPACT TEST LIST — Small thumbnail + title + score
   ========================================================================== */

.test-list {
    display: flex; flex-direction: column; gap: 1rem;
    margin-top: 2rem;
}

.test-list-item {
    display: flex; align-items: center; gap: 1.2rem;
    padding: 1rem 1.2rem;
    background: white; border: 1.5px solid var(--border); border-radius: 12px;
    transition: all 0.2s;
    text-decoration: none; color: inherit;
}
.test-list-item:hover {
    border-color: var(--duck-yellow);
    box-shadow: 0 4px 16px rgba(61,43,31,0.08);
    transform: translateY(-2px);
}

.test-list-thumb {
    width: 80px; height: 80px; flex-shrink: 0;
    border-radius: 10px; overflow: hidden;
    background: var(--duck-light);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
}
.test-list-thumb img {
    width: 100%; height: 100%; object-fit: cover;
}

.test-list-body {
    flex: 1; min-width: 0;
}
.test-list-category {
    font-size: 0.7rem; font-weight: 600; color: var(--duck-orange);
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.25rem;
}
.test-list-title {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 0.95rem; line-height: 1.3; margin-bottom: 0.2rem;
    color: var(--duck-dark);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.test-list-verdict {
    font-size: 0.8rem; color: var(--text-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

.test-list-score {
    width: 48px; height: 48px; flex-shrink: 0;
    background: white; border: 2px solid var(--duck-yellow);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1rem;
    color: var(--duck-dark);
    box-shadow: 2px 2px 0 var(--duck-orange);
}

.test-list-arrow {
    width: 32px; height: 32px; flex-shrink: 0;
    background: var(--duck-light); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; transition: all 0.2s;
}
.test-list-item:hover .test-list-arrow {
    background: var(--duck-yellow); transform: translateX(3px);
}

@media (max-width: 600px) {
    .test-list-thumb { width: 64px; height: 64px; }
    .test-list-title { font-size: 0.88rem; }
    .test-list-score { width: 40px; height: 40px; font-size: 0.85rem; }
}

/* ==========================================================================
   FOOTER — Simple single-line
   ========================================================================== */

.site-footer {
    padding: 3rem 2.5rem;
    border-top: 1px solid var(--border);
}

.footer-inner {
    max-width: 1200px; margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
}

.footer-logo {
    font-family: 'Syne', sans-serif;
    font-weight: 800; font-size: 1.1rem; color: var(--duck-dark);
}

.footer-copy { font-size: 0.82rem; color: var(--text-muted); }

.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 0.82rem; color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--duck-dark); }

/* ==========================================================================
   BREADCRUMB
   ========================================================================== */

.breadcrumb { margin-bottom: 1.5rem; }
.breadcrumb ol {
    display: flex; flex-wrap: wrap; align-items: center;
    gap: 0.25rem; list-style: none; font-size: 0.85rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--duck-orange); }
.breadcrumb .separator { color: var(--text-muted); margin: 0 0.25rem; }
.breadcrumb .current { color: var(--duck-dark); font-weight: 500; }

/* ==========================================================================
   TEST DETAIL PAGE
   ========================================================================== */

.test-detail {
    max-width: 800px; margin: 0 auto;
    padding: 7rem 2.5rem 4rem;
}

.test-detail h1 { margin-bottom: 1rem; font-size: clamp(1.8rem, 4vw, 2.5rem); }

.test-detail-meta {
    display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center;
    margin-bottom: 2rem; font-size: 0.9rem; color: var(--text-muted);
}

.test-detail-hero {
    display: flex; align-items: flex-start; gap: 2rem;
    margin-bottom: 2.5rem; padding: 2rem;
    background: var(--duck-light); border-radius: 16px;
    border: 1.5px solid var(--border);
}

.test-detail-emoji { font-size: 5rem; flex-shrink: 0; }

.test-detail-summary { flex: 1; }
.test-detail-summary p { line-height: 1.6; }

.test-detail-score-big {
    width: 80px; height: 80px; border-radius: 50%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    background: white; border: 3px solid var(--duck-yellow);
    box-shadow: 3px 3px 0 var(--duck-orange);
    flex-shrink: 0;
}
.test-detail-score-big .score-value {
    font-family: 'Syne', sans-serif; font-weight: 800;
    font-size: 1.75rem; line-height: 1; color: var(--duck-dark);
}
.test-detail-score-big .score-max {
    font-size: 0.7rem; color: var(--text-muted); line-height: 1;
}

/* Score breakdown */
.scores-grid {
    display: grid; grid-template-columns: 1fr;
    gap: 0.6rem; margin-bottom: 2.5rem;
}
.score-bar-item { display: flex; align-items: center; gap: 0.75rem; }
.score-bar-label {
    font-size: 0.85rem; color: var(--text-muted); min-width: 110px;
    text-transform: capitalize;
}
.score-bar-track {
    flex: 1; height: 8px; background: var(--border);
    border-radius: 4px; overflow: hidden;
}
.score-bar-fill {
    height: 100%; border-radius: 4px;
    background: var(--duck-yellow);
    transition: width 0.6s ease;
}
.score-bar-value {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 0.85rem; min-width: 2rem; text-align: right;
}

/* Pros/Cons */
.pros-cons {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem; margin-bottom: 2.5rem;
}
.pros-list, .cons-list { padding: 1.5rem; border-radius: 16px; }
.pros-list { background: #f0fdf4; border: 1.5px solid #bbf7d0; }
.cons-list { background: #fef2f2; border: 1.5px solid #fecaca; }
.pros-list h3, .cons-list h3 { font-size: 1rem; margin-bottom: 0.75rem; }
.pros-list ul, .cons-list ul { list-style: none; padding: 0; }
.pros-list li, .cons-list li {
    padding: 0.4rem 0; padding-left: 1.5rem;
    position: relative; font-size: 0.9rem; line-height: 1.5;
}
.pros-list li::before { content: '✓'; position: absolute; left: 0; color: #16a34a; font-weight: 700; }
.cons-list li::before { content: '✗'; position: absolute; left: 0; color: #dc2626; font-weight: 700; }

/* Test sections */
.test-section { margin-bottom: 2.5rem; }
.test-section h2 {
    font-size: 1.3rem; margin-bottom: 1rem;
    padding-bottom: 0.5rem; border-bottom: 2px solid var(--duck-yellow);
}
.test-section-content { font-size: 1rem; line-height: 1.8; color: var(--duck-brown); }
.test-section-content p { margin-bottom: 1rem; }

/* Hero product image */
.test-detail-hero-img {
    width: 180px; height: 180px; flex-shrink: 0;
    border-radius: 16px; overflow: hidden;
    background: white; border: 1.5px solid var(--border);
}
.test-detail-hero-img img {
    width: 100%; height: 100%; object-fit: cover;
}

/* Section image gallery */
.test-section-gallery {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1rem; margin-top: 1.5rem;
}
.test-section-gallery.single {
    grid-template-columns: 1fr;
    max-width: 600px;
}

.test-img {
    margin: 0; border-radius: 12px; overflow: hidden;
    border: 1.5px solid var(--border);
    background: white;
    transition: border-color 0.2s;
}
.test-img:hover { border-color: var(--duck-yellow); }

.test-img img {
    width: 100%; height: auto; display: block;
    aspect-ratio: 4/3; object-fit: cover;
}

.test-img figcaption {
    padding: 0.6rem 0.8rem;
    font-size: 0.78rem; color: var(--text-muted);
    line-height: 1.4; text-align: center;
    border-top: 1px solid var(--border);
    background: var(--duck-light);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */

.faq-section { max-width: 700px; margin: 0 auto; }

.faq-item {
    border: 1.5px solid var(--border); border-radius: 12px;
    margin-bottom: 0.75rem; background: white;
    overflow: hidden; transition: border-color 0.3s;
}
.faq-item.active { border-color: var(--duck-yellow); }

.faq-question {
    width: 100%; display: flex; align-items: center;
    justify-content: space-between; padding: 1rem 1.25rem;
    background: none; border: none; cursor: pointer;
    font-family: 'Syne', sans-serif; font-size: 1rem;
    font-weight: 600; color: var(--duck-dark);
    text-align: left; gap: 1rem;
}
.faq-icon {
    font-size: 1.25rem; font-weight: 300; color: var(--text-muted);
    transition: transform 0.3s; flex-shrink: 0;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.active .faq-answer { max-height: 500px; }
.faq-answer-inner {
    padding: 0 1.25rem 1.25rem; font-size: 0.95rem;
    color: var(--duck-brown); line-height: 1.7;
}

/* ==========================================================================
   SEARCH
   ========================================================================== */

.test-search { position: relative; z-index: 200; }
.test-search-input-wrap { position: relative; display: flex; align-items: center; }
.test-search-icon {
    position: absolute; left: 1rem; color: var(--text-muted);
    pointer-events: none; display: flex;
}
.test-search-input-wrap input {
    width: 100%; padding: 0.85rem 2.75rem;
    border: 1.5px solid var(--border); border-radius: 100px;
    font-family: 'DM Sans', sans-serif; font-size: 0.95rem;
    background: white; color: var(--duck-dark); outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.test-search-input-wrap input:focus {
    border-color: var(--duck-yellow);
    box-shadow: 0 0 0 3px rgba(245,197,24,0.2);
}
.test-search-input-wrap input::placeholder { color: var(--text-muted); }

#test-search-clear {
    position: absolute; right: 0.75rem; background: none;
    border: none; cursor: pointer; color: var(--text-muted);
    display: flex; padding: 0.25rem;
}

.test-search-dropdown {
    position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0;
    background: white; border: 1.5px solid var(--border);
    border-radius: 16px; box-shadow: 0 12px 40px rgba(61,43,31,0.12);
    max-height: 400px; overflow-y: auto; list-style: none; z-index: 500;
}
.test-search-result { cursor: pointer; transition: background 0.15s; }
.test-search-result-link {
    display: flex; align-items: center; gap: 0.75rem;
    padding: 0.75rem 1rem; color: inherit; text-decoration: none;
}
.test-search-result:hover, .test-search-result.active { background: var(--duck-light); }
.test-search-result-title { font-weight: 600; font-size: 0.9rem; }
.test-search-result-meta { font-size: 0.8rem; color: var(--text-muted); }
.test-search-highlight { background: rgba(245,197,24,0.3); border-radius: 2px; }
.test-search-empty { padding: 1rem; text-align: center; color: var(--text-muted); font-size: 0.9rem; }
.test-search-separator {
    padding: 0.5rem 1rem 0.25rem; font-size: 0.75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted);
    border-top: 1px solid var(--border);
}
.test-search-separator:first-child { border-top: none; }

/* ==========================================================================
   FILTER BAR (tests/category pages)
   ========================================================================== */

.filter-bar {
    display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2rem;
}
.filter-group {
    display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
}
.filter-label {
    font-size: 0.85rem; font-weight: 600; color: var(--text-muted);
}
.filter-chip {
    padding: 0.4rem 0.9rem; border: 1.5px solid var(--border);
    border-radius: 100px; background: white; font-size: 0.8rem;
    font-weight: 500; color: var(--text-muted); cursor: pointer;
    transition: all 0.2s; font-family: inherit;
}
.filter-chip:hover { border-color: var(--duck-yellow); }
.filter-chip.active {
    background: var(--duck-yellow); border-color: var(--duck-yellow);
    color: var(--duck-dark); box-shadow: 2px 2px 0 var(--duck-orange);
}

/* ==========================================================================
   BADGES
   ========================================================================== */

.badge {
    display: inline-block; padding: 0.3rem 0.7rem; border-radius: 100px;
    font-size: 0.72rem; font-weight: 600;
    letter-spacing: 0.04em; text-transform: uppercase;
}
.badge-testsieger { background: var(--duck-dark); color: var(--duck-yellow); }
.badge-kaufen { background: var(--duck-yellow); color: var(--duck-dark); }
.badge-tipp { background: var(--duck-orange); color: white; }
.badge-ok { background: var(--duck-light); color: var(--duck-brown); }
.badge-nein { background: #fef2f2; color: #dc2626; }

/* ==========================================================================
   AFFILIATE BOXES
   ========================================================================== */

.affiliate-box {
    background: white; border: 1.5px solid var(--border);
    border-radius: 16px; padding: 1.25rem; margin: 1.25rem 0;
    transition: box-shadow 0.3s;
}
.affiliate-box:hover { box-shadow: 0 8px 24px rgba(61,43,31,0.08); }
.affiliate-box-context {
    font-size: 0.8rem; color: var(--duck-orange); font-weight: 600;
    margin-bottom: 0.75rem; text-transform: uppercase; letter-spacing: 0.05em;
}
.affiliate-box-inner { display: flex; align-items: flex-start; gap: 1rem; }
.affiliate-box-img { flex-shrink: 0; }
.affiliate-box-img img { width: 80px; height: 80px; object-fit: contain; }
.affiliate-box-info { flex: 1; min-width: 0; }
.affiliate-box-info h4 { font-size: 0.9rem; font-weight: 500; margin-bottom: 0.5rem; line-height: 1.4; }
.affiliate-box-info h4 a { color: var(--duck-dark); }
.affiliate-box-info h4 a:hover { color: var(--duck-orange); }
.affiliate-box-action {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 0.5rem;
}
.affiliate-box-price {
    font-size: 1.25rem; font-weight: 700;
    font-family: 'Syne', sans-serif; color: var(--duck-dark);
}
.affiliate-box-disclosure {
    font-size: 0.75rem; color: var(--text-muted);
    margin-top: 0.75rem; padding-top: 0.5rem;
    border-top: 1px solid var(--border); font-style: italic;
}
.affiliate-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem;
}
.affiliate-grid-heading {
    font-size: 1.2rem; font-weight: 700; color: var(--duck-dark); margin-bottom: 0.75rem;
}
.affiliate-note {
    font-size: 0.85rem; color: var(--text-muted); background: var(--duck-light);
    padding: 0.75rem 1rem; border-radius: 10px;
    border-left: 3px solid var(--duck-yellow); margin: 1.5rem 0;
}
.affiliate-note a { color: var(--duck-orange); font-weight: 500; }

/* Recommended Products */
.recommended-products {
    margin: 2rem 0; padding: 1.5rem; background: var(--duck-light);
    border: 1.5px solid var(--border); border-radius: var(--radius-card);
}
.recommended-products h3 {
    font-family: 'Syne', sans-serif; font-size: 1.1rem; font-weight: 700;
    color: var(--duck-dark); margin-bottom: 1rem;
}
.recommended-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem;
}
.recommended-card {
    display: flex; align-items: center; gap: 1rem; padding: 1rem;
    background: #fff; border: 1.5px solid var(--border); border-radius: 12px;
    text-decoration: none; color: var(--duck-dark);
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.recommended-card:hover {
    border-color: var(--duck-yellow); box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}
.recommended-img { flex-shrink: 0; }
.recommended-img img { width: 80px; height: 80px; object-fit: contain; border-radius: 8px; }
.recommended-info { flex: 1; min-width: 0; }
.recommended-info h4 {
    font-size: 0.85rem; font-weight: 500; line-height: 1.4;
    margin-bottom: 0.4rem; display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.recommended-price {
    font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem;
    color: var(--duck-orange); display: block; margin-bottom: 0.3rem;
}
.recommended-cta {
    font-size: 0.8rem; font-weight: 600; color: var(--duck-dark);
    background: var(--duck-yellow); padding: 0.25rem 0.6rem;
    border-radius: var(--radius-btn); display: inline-block;
}
.recommended-card:hover .recommended-cta { background: var(--duck-orange); color: #fff; }
.recommended-disclosure {
    font-size: 0.75rem; color: var(--text-muted); margin-top: 0.75rem; margin-bottom: 0;
}

/* Amazon CTA bar */
.amazon-cta {
    margin: 2rem 0;
}
.amazon-cta-sticky {
    position: sticky;
    top: 70px; /* below nav */
    z-index: 50;
    margin: 1.5rem -1.25rem 2rem;
    padding: 0 1.25rem;
}
.amazon-cta-sticky.is-stuck .amazon-cta-bar {
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 20px rgba(61,43,31,0.12);
}
.amazon-cta-sticky.is-stuck .amazon-cta-note {
    opacity: 0; height: 0; margin: 0; overflow: hidden;
}
.amazon-cta-bar {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0.85rem 1.25rem;
    background: white;
    border: 1.5px solid var(--border);
    border-top: 3px solid var(--duck-orange);
    border-radius: 0 0 12px 12px;
    text-decoration: none; color: var(--duck-dark);
    transition: all 0.2s;
    gap: 1rem;
}
.amazon-cta-bar:hover {
    border-color: var(--duck-orange);
    box-shadow: 0 4px 16px rgba(232,130,12,0.12);
}
.amazon-cta-left {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.95rem; font-weight: 500;
}
.amazon-cta-icon {
    font-size: 1.2rem;
}
.amazon-cta-right {
    display: flex; align-items: center; gap: 0.75rem;
    flex-shrink: 0;
}
.amazon-cta-price {
    font-family: 'Syne', sans-serif; font-weight: 700;
    font-size: 1.1rem; color: var(--duck-orange);
}
.amazon-cta-arrow {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: var(--duck-light); border-radius: 50%;
    font-size: 0.85rem; color: var(--duck-orange);
    transition: all 0.2s;
}
.amazon-cta-bar:hover .amazon-cta-arrow {
    background: var(--duck-orange); color: white;
    transform: translateX(3px);
}
.amazon-cta-note {
    text-align: center;
    font-size: 0.75rem; color: var(--text-muted);
    margin-top: 0.5rem;
    transition: opacity 0.2s, height 0.2s, margin 0.2s;
}

@media (max-width: 768px) {
    .amazon-cta-sticky { top: 60px; margin-left: -0.5rem; margin-right: -0.5rem; padding: 0 0.5rem; }
}
@media (max-width: 480px) {
    .amazon-cta-bar { padding: 0.7rem 1rem; gap: 0.5rem; }
    .amazon-cta-left { font-size: 0.85rem; }
    .amazon-cta-price { font-size: 0.95rem; }
}

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */

.legal-page {
    max-width: 800px; margin: 0 auto; padding: 7rem 2.5rem 4rem;
}
.legal-page h1 {
    font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: 1.5rem;
}
.legal-page h2 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 0.75rem; }
.legal-page h3 { font-size: 1.05rem; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-page p { margin-bottom: 1rem; color: var(--duck-brown); line-height: 1.7; }

/* ==========================================================================
   SCROLL TO TOP
   ========================================================================== */

.scroll-top {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--duck-dark); color: var(--duck-yellow);
    border: 2px solid var(--duck-yellow);
    font-size: 1.25rem; cursor: pointer;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    z-index: 50;
    box-shadow: 2px 2px 0 var(--duck-orange);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--duck-yellow); color: var(--duck-dark); }

/* ==========================================================================
   RELATED TESTS
   ========================================================================== */

.related-tests { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.related-tests h2 { margin-bottom: 1.5rem; }

/* ==========================================================================
   UTILITY
   ========================================================================== */

.text-center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1.5rem; }
.mb-3 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.back-link { color: var(--duck-orange); font-weight: 500; font-size: 0.95rem; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
    .site-nav { padding: 1rem 1.2rem; }
    .mobile-menu-btn { display: block; }
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }

    .nav-links {
        display: none; position: absolute;
        top: 100%; left: 0; right: 0;
        background: rgba(253,248,238,0.98);
        backdrop-filter: blur(12px);
        flex-direction: column; padding: 1rem;
        border-top: 1px solid var(--border);
        gap: 0; list-style: none;
    }
    .nav-links.active { display: flex; }
    .nav-links li { width: 100%; }
    .nav-links a { display: block; padding: 0.75rem; width: 100%; }

    .hero { padding: 7rem 1.2rem 3rem; }
    .hero-duck { display: none; }
    .hero-stats { gap: 1.5rem; }

    .section { padding: 3rem 1.2rem; }
    .cards-grid, .test-grid { grid-template-columns: 1fr; }
    .card-featured { grid-template-columns: 1fr; }

    .test-detail { padding: 6rem 1.2rem 3rem; }
    .test-detail-hero { flex-direction: column; align-items: center; text-align: center; }
    .test-detail-hero-img { width: 140px; height: 140px; }
    .test-section-gallery { grid-template-columns: 1fr; }
    .pros-cons { grid-template-columns: 1fr; }

    .usp-inner { grid-template-columns: 1fr; }

    .legal-page { padding: 6rem 1.2rem 3rem; }

    .site-footer { padding: 2rem 1.2rem; }
    .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .filter-bar { flex-direction: column; gap: 1rem; }
}

/* --- Print --- */
@media print {
    .site-nav, .site-footer, .scroll-top, .affiliate-box,
    .test-search, .filter-bar, .usp-strip { display: none; }
    body { background: white; }
    .hero { min-height: auto; padding-top: 2rem; }
    .test-detail, .legal-page { padding-top: 2rem; }
}
