/* AI Blog Platform - Sauberes, schnelles Design */

/* Reddit Sans - lokal, kein Google Fonts Request */
@font-face {
    font-family: 'Reddit Sans';
    src: url('../fonts/reddit-sans-latin.woff2') format('woff2');
    font-weight: 200 900;
    font-style: normal;
    font-display: optional;
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Reddit Sans';
    src: url('../fonts/reddit-sans-latin-ext.woff2') format('woff2');
    font-weight: 200 900;
    font-style: normal;
    font-display: optional;
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Reddit Sans';
    src: url('../fonts/reddit-sans-vietnamese.woff2') format('woff2');
    font-weight: 200 900;
    font-style: normal;
    font-display: optional;
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* Reset & Basics */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Reddit Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 18px;
    line-height: 1.7;
    color: #666;
    background: #fff;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--secondary); }
h1, h2, h3, h4 { line-height: 1.3; font-weight: 400; }
h1 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin: 2rem 0 1rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.4rem); margin: 1.5rem 0 .75rem; }

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.content-wrap { max-width: 780px; margin: 2rem 0; }

/* ===== HEADER ===== */
.site-header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.logo { display: flex; align-items: center; gap: .6rem; }
.logo img { height: 36px; width: auto; }
.logo-icon {
    width: 28px;
    height: 28px;
    color: var(--primary);
    stroke-width: 2;
}
.logo-text {
    font-size: 2.1rem;
    letter-spacing: -.02em;
    line-height: 1;
}
.logo-part1 { color: var(--primary); font-weight: 700; }
.logo-part2 { color: var(--text-dark, #374151); font-weight: 300; }

/* Navigation */
.nav-main { display: flex; gap: .25rem; }
.nav-item { position: relative; }
.nav-item > a {
    display: block;
    padding: .5rem .875rem;
    color: #374151;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 0;
    transition: background .2s, color .2s;
}
.nav-item > a:hover { background: #f3f4f6; color: var(--primary); }

/* Mega Dropdown */
.mega-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 680px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-top: 2px solid var(--primary);
    padding: 0;
    box-shadow: 0 15px 50px rgba(0,0,0,.12);
    z-index: 200;
}
.nav-item:hover .mega-dropdown { display: block; }
.mega-dropdown-header {
    padding: .75rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}
.mega-dropdown-header a {
    font-size: .8rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: .03em;
}
.mega-dropdown-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 1rem 1.5rem 1.25rem;
    gap: 0;
}
.mega-dropdown-grid a {
    display: block;
    padding: .45rem .75rem;
    color: #374151;
    font-size: .875rem;
    transition: background .15s, color .15s;
}
.mega-dropdown-grid a:hover { background: #f3f4f6; color: var(--primary); }

/* Legacy dropdown fallback */
.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: .5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,.1);
    z-index: 200;
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
    display: block;
    padding: .5rem .75rem;
    color: #374151;
    font-size: .875rem;
}
.dropdown a:hover { background: #f3f4f6; color: var(--primary); }

/* Hamburger */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.menu-toggle span {
    width: 24px;
    height: 2px;
    background: #374151;
    border-radius: 2px;
    transition: transform .2s;
}

/* ===== HOME CONTENT ===== */
.home-content { padding: 80px 0 80px; }

/* Section Badge */
.section-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding-top: 8px;
    padding-right: 20px;
    padding-bottom: 6px;
    padding-left: 20px;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 1.7em;
    text-transform: uppercase;
    text-align: left;
    letter-spacing: .05em;
    margin: 0 0 -1px;
}
a.section-badge { text-decoration: none; }
a.section-badge:hover { opacity: .85; color: #fff; }

/* Badge mit Linie darunter */
.section-badge-line {
    border-bottom: 1px solid #d1d5db;
    margin-bottom: 1.5rem;
}

/* Card category label (auf Overlay-Karten) */
.card-cat {
    font-size: 14.4px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: rgba(255,255,255,.85);
}

/* ===== HERO LAYOUT (1. Kategorie) ===== */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 490px;
    gap: 4px;
    margin-top: 1rem;
}

/* Großes Bild links */
.hero-main {
    position: relative;
    display: block;
    overflow: hidden;
    color: #fff;
}
.hero-main img,
.hero-main-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-main-placeholder {
    background: linear-gradient(135deg, #6b7280, #374151);
}
.hero-main-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 50%, rgba(0,0,0,0) 100%);
}
.hero-main h2 {
    color: #fff;
    font-size: 25.2px;
    line-height: 1.3;
    margin: .3rem 0 0;
}

/* 2x2 Grid rechts */
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
}
.hero-grid-card {
    position: relative;
    display: block;
    overflow: hidden;
    color: #fff;
}
.hero-grid-card img,
.hero-grid-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-grid-placeholder {
    background: linear-gradient(135deg, #6b7280, #374151);
}
.hero-grid-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(0deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 55%, rgba(0,0,0,0) 100%);
}
.hero-grid-card h3 {
    color: #fff;
    font-size: 19.8px;
    line-height: 1.3;
    margin: .2rem 0 0;
}

/* ===== 3-SPALTEN LAYOUT (restliche Kategorien) ===== */
.columns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 2rem;
    margin-top: 5rem;
    margin-bottom: 3rem;
}
.columns-grid .column-section {
    padding: 0;
    display: grid;
    grid-template-rows: subgrid;
    grid-row: span 2;
}
.columns-grid .column-section:has(.column-badge-line) {
    grid-row: span 3;
}

/* Badge mit Linie darunter (wie section-badge-line) */
.column-badge-line {
    border-bottom: 1px solid #d1d5db;
    margin-bottom: 1.5rem;
}

/* Featured Card in Spalte – Bild oben, Text darunter (wie iluminoso) */
.column-featured {
    display: block;
    color: inherit;
    margin-bottom: 1.25rem;
}
.column-featured img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}
.column-featured-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #6b7280, #374151);
}
.column-featured-info {
    padding: .6rem 0 0;
}
.column-featured-cat {
    display: block;
    font-size: 14.58px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--primary);
    margin-bottom: .15rem;
}
.column-featured h3 {
    color: #1a202c;
    font-size: 18px;
    line-height: 1.4;
    margin: 0;
}
.column-featured:hover h3 { color: var(--primary); }

/* Artikelliste unter Featured */
.column-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.column-list li {
    border-bottom: none;
}
.column-list li:last-child { border-bottom: none; }
.column-list-item {
    display: flex;
    gap: 20px;
    padding: .85rem 0;
    color: inherit;
    align-items: center;
}
.column-list-item:hover { color: var(--primary); }
.column-list-thumb {
    flex-shrink: 0;
    width: 92px;
    height: 92px;
    overflow: hidden;
    aspect-ratio: 1/1;
}
.column-list-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.column-list-placeholder {
    width: 100%;
    height: 100%;
    background: #e5e7eb;
}
.column-list-info {
    flex: 1;
    min-width: 0;
}
.column-list-cat {
    display: block;
    font-size: 14.58px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
    color: var(--primary);
    margin-bottom: .1rem;
}
.column-list-title {
    display: block;
    font-size: 16.2px;
    line-height: 1.3;
    color: #666;
}
.column-list-item:hover .column-list-title { color: var(--primary); }

/* ===== ARTICLE CARDS (Kategorie/Autor-Seiten) ===== */
.article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
}
.article-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.article-card {
    position: relative;
    display: block;
    overflow: hidden;
    color: #fff;
}
.article-card img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}
.placeholder-img {
    width: 100%;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, #374151, #1f2937);
}
.article-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(0deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,0) 100%);
}
.article-card h3 {
    color: #fff;
    font-size: 1em;
    line-height: 1.3;
    margin: .3rem 0 0;
    text-shadow: 1px 1px 1px rgba(0,0,0,.2);
}

/* Badges & Meta */
.category-badge {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: .2rem .65rem;
    border-radius: 0;
    font-size: .75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
}
.category-badge.small { font-size: .7rem; padding: .15rem .5rem; }

.article-meta {
    display: flex;
    gap: 1rem;
    font-size: .85rem;
    color: #9ca3af;
    align-items: center;
    flex-wrap: wrap;
}
.author-link {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: #6b7280;
}
.author-thumb { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }
.read-time::before { content: '·'; margin-right: .5rem; }

/* ===== ARTICLE PAGE ===== */
.article-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 100px;
    margin: 0 auto;
    padding-top: 4rem;
    align-items: stretch;
}
.article-content { min-width: 0; }
/* Kategorie-Link über dem Bild (kein Badge) */
.article-cat-link {
    display: inline-block;
    font-size: 18px;
    font-weight: 400;
    color: var(--primary);
    margin-bottom: .5rem;
}
.article-cat-link:hover { color: var(--secondary); }

/* Artikel-Titel (div, nicht h1) */
.article-title {
    font-size: 40px;
    font-weight: 300;
    line-height: 1.3;
    color: #666;
    margin: 0 0 20px;
}

.article-header { margin-bottom: 1.5rem; }

.article-hero-img {
    margin: 2rem 0 3rem;
    padding: 40px 0;
    background: #f3f4f6;
    overflow: visible;
}
.article-hero-img img { width: 100%; margin-left: -40px; aspect-ratio: 16/9; object-fit: cover; display: block; }

/* Article Body Styles */
.article-body { margin: 2rem 0; color: #666; line-height: 1.7em; }
.article-body p { margin-bottom: 1.5rem; }
.article-body h1 { color: var(--primary); font-size: 40px; font-weight: 300; margin: 53px 0 23px; }
.article-body h2 { color: #1a202c; font-size: 30px; font-weight: 400; margin: 53px 0 23px; }
.article-body h3 { color: #374151; margin: 31px 0 16px; }
.article-body ul, .article-body ol { margin: 1rem 0 1.5rem 1.5rem; }
.article-body li { margin-bottom: .4rem; }
.article-body strong { color: #111827; }
.article-body blockquote {
    border-left: 4px solid var(--accent);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: #fffbeb;
    border-radius: 0;
    font-style: italic;
}

/* ===== SIDEBAR ===== */
.sidebar { min-width: 0; }
.sidebar-sticky-products { position: sticky; top: 80px; margin-top: 40px; }
.sidebar-widget {
    background: transparent;
    border: none;
    padding: 0;
}
.sidebar-widget h3 {
    font-size: 24px;
    font-weight: 400;
    color: #1a202c;
    margin: 10px 0 12px;
    padding-bottom: 0;
    border-bottom: none;
}
.sidebar-widget:first-child h3 { margin-top: 0; }

.sidebar-product {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    padding: 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    transition: transform .2s ease;
    color: inherit;
    align-items: flex-start;
}
.sidebar-product:hover { transform: translateY(-1px); }

/* Sidebar - Neueste Artikel */
.sidebar-latest {
    list-style: none;
    margin: 0;
    padding: 0;
}
.sidebar-latest li {
    border-bottom: 1px solid #e5e7eb;
}
.sidebar-latest li:last-child { border-bottom: none; }
.sidebar-latest-item {
    display: flex;
    gap: .75rem;
    padding: .65rem 0;
    color: inherit;
    align-items: center;
}
.sidebar-latest-item:hover { color: var(--primary); }
.sidebar-latest-thumb {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}
.sidebar-latest-info { flex: 1; min-width: 0; }
.sidebar-latest-cat {
    display: block;
    font-size: 14px;
    color: var(--primary);
    margin-bottom: .15rem;
}
.sidebar-latest-title {
    display: block;
    font-size: 16px;
    line-height: 1.5;
    color: #1a202c;
}
.sidebar-latest-item:hover .sidebar-latest-title { color: var(--primary); }

/* Sidebar - Tags/Kategorien */
.sidebar-tags {
    font-size: 0;
    line-height: 1.5;
}
.sidebar-tag {
    font-size: 16px;
    color: var(--primary);
}
.sidebar-tag:hover { color: var(--secondary); }
.sidebar-tag::after { content: ', '; color: #666; font-size: 16px; }
.sidebar-tag:last-child::after { content: ''; }

/* Sidebar - Autor */
.sidebar-author {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.sidebar-author-photo {
    width: 92px;
    height: 92px;
    min-width: 92px;
    min-height: 92px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}
.sidebar-author-name {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #1a202c;
    line-height: 1.3;
}
.sidebar-author-name:hover { color: var(--primary); }
.sidebar-author-role {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    color: #6b7280;
    margin-top: .15rem;
}

/* Sidebar - mehrere Widgets Abstand */
.sidebar-widget + .sidebar-widget { margin-top: 40px; }
.sidebar-product img { width: 96px; height: 96px; object-fit: cover; flex-shrink: 0; border-radius: 3px; }
.sidebar-product strong { font-size: 18px; color: #333; font-weight: normal; display: block; line-height: 1.4; }
.sidebar-product .price { color: #B12704; font-weight: 700; font-size: 18px; display: block; margin: 3px 0; }
.sidebar-product .rating { font-size: 14px; color: #ff9900; display: block; }

/* ===== PRODUCTS (Inline - im Artikeltext) ===== */
.product-section { margin: 20px 0 50px 0; clear: both; }
.product-section h2 { margin-bottom: 20px; }
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    max-width: 100%;
}
.home-content .product-grid {
    grid-template-columns: repeat(3, 1fr);
}
.product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,.1);
    transition: transform .2s ease;
    color: inherit;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}
.product-card:hover {
    transform: translateY(-2px);
    color: inherit;
}
.product-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 3px;
    margin-bottom: 10px;
    background: #f9f9f9;
}
.product-info { flex: 1; display: flex; flex-direction: column; }
.product-info h4 { font-size: 18px; color: #333; font-weight: normal; margin: 0 0 .5rem; line-height: 1.4; }

.product-rating { display: flex; align-items: center; justify-content: center; gap: .3rem; margin-bottom: .25rem; }
.stars { color: #f59e0b; font-size: .9rem; }
.rating-num { font-size: 14px; color: #ff9900; }
.review-count { font-size: .75rem; color: #9ca3af; }

.product-price { margin-bottom: .5rem; }
.current-price { font-size: 18px; font-weight: 700; color: #B12704; }
.old-price { font-size: .85rem; color: #9ca3af; text-decoration: line-through; margin-right: .5rem; }


/* ===== FAQ ===== */
.faq-section { margin: 3rem 0; }
.faq-list { margin: 1rem 0; }
.faq-item {
    border: none;
    border-radius: 0;
    margin-bottom: 15px;
    overflow: hidden;
}
.faq-item summary {
    padding: 15px 25px;
    font-weight: 600;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #f2f2f2;
    border: 1px solid #ddd;
    border-radius: 4px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: #eee; }
.faq-item summary::before { content: '+'; font-size: 1.3rem; color: #666; font-weight: 300; flex-shrink: 0; }
.faq-item[open] summary::before { content: '−'; }
.faq-answer { padding: 30px; margin-top: 10px; background: #fff; border: 1px solid #ddd; border-radius: 4px; color: #666; }
.faq-answer p { margin-bottom: .75rem; }
.faq-answer a { color: var(--primary); text-decoration: underline; }
.faq-answer ul, .faq-answer ol { padding-left: 1.5em; margin-bottom: .75rem; }
.faq-answer li { margin-bottom: 10px; }

/* Produktboxen innerhalb von FAQ-Antworten */
.faq-answer .product-section { margin: 15px 0 5px; }
.faq-answer .product-section h3 { font-size: 14px; font-weight: 600; margin-bottom: 10px; color: #333; }
.faq-answer .product-grid { gap: 10px; }
.faq-answer .product-card { padding: 10px; }
.faq-answer .product-card img { height: 140px; }
.faq-answer .product-info h4 { font-size: 14px; }
.faq-answer .current-price { font-size: 15px; }

/* ===== ARTICLE VIDEO (9:16, float right) ===== */
.article-video-float {
    float: right;
    width: 280px;
    margin: 0 0 1.5rem 2rem;
}
.article-video-float video { width: 100%; display: block; aspect-ratio: 9/16; background: #000; }

@media (max-width: 768px) {
    .article-video-float { float: none; width: 100%; max-width: 260px; margin: 0 auto 1.5rem; }
}

/* ===== AUTHOR BOX ===== */
.author-box {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: #f3f4f6;
    border: none;
    border-radius: 0;
    margin: 3rem 0;
    align-items: flex-start;
}
.author-box-photo { width: 120px; height: 120px; border-radius: 0; object-fit: cover; flex-shrink: 0; aspect-ratio: 1/1; }
.author-box-info h3 { margin: 0 0 .25rem; font-size: 1.2rem; font-weight: 600; }
.author-box-info h3 a { color: #1a202c; }
.author-box-info h3 a:hover { color: var(--primary); }
.author-expertise { color: var(--primary); font-size: .9rem; font-weight: 500; margin-bottom: .25rem; }
.author-qualifications { color: var(--primary); font-size: .9rem; font-weight: 500; margin-bottom: .5rem; }
.author-box-info p { font-size: .9rem; color: #374151; line-height: 1.6; }

/* Author Profile Page */
/* Author Header - Hero-Bereich */
.author-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #eef1f5 100%);
    border-bottom: 3px solid var(--primary);
    padding: 3rem 0;
    margin-bottom: 0;
}
.author-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    gap: 2.5rem;
    align-items: center;
}
.author-header-photo {
    width: 150px;
    height: 150px;
    aspect-ratio: 1/1;
    object-fit: cover;
    flex-shrink: 0;
    border: 4px solid #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.author-header-meta h1 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 400;
    color: #1a202c;
    margin-bottom: .35rem;
    line-height: 1.3;
}
.author-role {
    font-size: 1rem;
    color: var(--primary);
    font-weight: 500;
    margin-bottom: .25rem;
}
.author-credentials {
    font-size: 1rem;
    color: #6b7280;
}
/* Kennzahlen-Kästen unter Header */
.author-stats-bar {
    background: #fff;
    padding: 3rem 0 1rem;
}
.author-stats-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    gap: 1.5rem;
    justify-content: flex-start;
}
.author-stat-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 2.5rem;
    background: #f8f9fa;
    border: 1px solid #eef0f3;
    text-align: center;
    min-width: 180px;
}
.author-stat-number {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.2;
}
.author-stat-label {
    font-size: 1rem;
    color: #666;
    margin-top: .35rem;
}

/* Author Bio Section */
.author-bio-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.25rem 2rem;
}
.author-section-title {
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    font-weight: 400;
    color: #1a202c;
    margin: 0 0 1.25rem;
}
.author-bio-text {
    color: #666;
    line-height: 1.7;
    font-size: 1rem;
    max-width: 800px;
}
.author-bio-lead {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.author-bio-text p {
    margin-bottom: 1.25rem;
}
.author-bio-text p:last-child {
    margin-bottom: 0;
}

/* Author Expertise Section */
.author-expertise-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem 2.5rem;
}
.author-expertise-tags {
    display: flex;
    gap: .6rem;
    flex-wrap: wrap;
}
.author-expertise-tag {
    font-size: 1rem;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 8px 20px;
    transition: all .2s;
}
.author-expertise-tag:hover {
    background: var(--primary);
    color: #fff;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    padding: .75rem 0;
    background: #f9fafb;
    border-bottom: 1px solid #e5e7eb;
    font-size: .85rem;
}
.breadcrumbs a { color: #6b7280; }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs .sep { margin: 0 .4rem; color: #d1d5db; }
.breadcrumbs .current { color: #374151; }

/* ===== SUBCATEGORY CHIPS ===== */
.subcategory-list { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 2rem; }
.subcategory-chip {
    padding: .4rem 1rem;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 0;
    font-size: .85rem;
    color: #374151;
    transition: all .2s;
}
.subcategory-chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== RELATED ===== */
.related-section {
    background: #f9fafb;
    padding: calc(3rem + 10px) 0 3rem;
    margin-top: 3rem;
    margin-bottom: -4rem;
    border-top: 1px solid #e5e7eb;
}
.related-section h2 { margin-top: 0; margin-bottom: 1.5rem; }
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
@media (max-width: 768px) {
    .related-grid { grid-template-columns: 1fr; }
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin: 2.5rem 0;
}
.page-info { font-size: .9rem; color: #6b7280; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: .6rem 1.25rem;
    margin-top: 20px;
    background: var(--primary);
    color: #fff;
    border-radius: 0;
    font-weight: 600;
    font-size: 1em;
    transition: opacity .2s;
    border: 2px solid var(--primary);
}
.btn:hover { opacity: .9; color: #fff; }
.btn-outline {
    background: transparent;
    color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: #fff; }

/* ===== FOOTER ===== */
.site-footer {
    background: #111827;
    color: #d1d5db;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}
.footer-col h4 { color: #fff; font-size: 1rem; margin-bottom: .75rem; }
.footer-logo { font-size: 2.1rem; letter-spacing: -.02em; display: flex; align-items: center; gap: .6rem; line-height: 1; }
.footer-logo-icon { width: 28px; height: 28px; color: #fff; stroke-width: 2; flex-shrink: 0; }
.footer-logo .logo-part1 { color: #fff; font-weight: 700; }
.footer-logo .logo-part2 { color: #9ca3af; font-weight: 300; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: .4rem; }
.footer-col a { color: #9ca3af; font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-products { padding: 0; }
.footer-products li { margin-bottom: .55rem; }
.footer-product-item { display: flex; align-items: center; gap: .7rem; color: #9ca3af; font-size: .82rem; line-height: 1.25; }
.footer-product-item:hover { color: #fff; }
.footer-product-item img { width: 26px; height: 26px; object-fit: contain; padding: 5px; flex-shrink: 0; background: #fff; }
.footer-product-noimg { width: 36px; height: 36px; flex-shrink: 0; background: #fff; }
.footer-product-title { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: .5rem;
    border-top: 1px solid #374151;
    padding-top: 1.25rem;
    font-size: 12px;
    color: #6b7280;
}
.footer-bottom p { margin: 0; font-size: 12px; line-height: 1; color: #9ca3af; }
.footer-copy { display: flex; align-items: center; gap: 1.25rem; font-size: 12px; color: #9ca3af; }
.footer-copy a { color: #fff; font-size: 12px; }
.footer-copy a:hover { color: var(--primary); }
.footer-legal { display: flex; gap: 1.25rem; align-items: center; }
.footer-legal a { color: #fff; font-size: 12px; }
.footer-legal a:hover { color: var(--primary); }
.affiliate-notice { font-size: 12px; color: #9ca3af; margin: 0; font-style: normal; }

/* ===== INFO-TEXT (aufklappbar im Footer) ===== */
.info-text {
    display: none;
    padding: 1.5rem 0 0;
    color: #d1d5db;
    font-size: 14px;
    line-height: 1.8;
}
.info-text.open { display: block; }
.info-text h1 {
    font-size: 22px;
    font-weight: 400;
    color: #f3f4f6;
    margin: 0 0 1rem;
}
.info-text h2 {
    font-size: 17px;
    font-weight: 400;
    color: #e5e7eb;
    margin: 1.5rem 0 .75rem;
}
.info-text p { margin: 0 0 1rem; max-width: 900px; }

/* Amazon Tag Liste (Sidebar) */
.amazon-tag-list { list-style: disc; padding: 0 0 0 36px; margin: 0; }
.amazon-tag-list li { display: list-item; }
.amazon-tag-list a { color: var(--primary); text-decoration: underline; font-size: 18px; }
.amazon-tag-list a:hover { color: var(--secondary); }

/* ===== PRODUCT SEARCH PAGE ===== */
.product-search-box { margin-bottom: 2rem; }
.product-search-form { display: flex; gap: 0; max-width: 600px; }
.product-search-input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-right: none;
    font-size: 16px;
    font-family: inherit;
    outline: none;
}
.product-search-input:focus { border-color: var(--primary); }
.product-search-btn {
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    border: 1px solid var(--primary);
    font-size: 16px;
    font-family: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s;
}
.product-search-btn:hover { opacity: .9; }
.product-search-redirect { margin-top: 1rem; }
.product-tags { margin-bottom: 2.5rem; }
.product-tags h3 { font-size: 20px; font-weight: 400; color: #1a202c; margin-bottom: 12px; }
.product-tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
.product-tag-chip {
    padding: 6px 14px;
    background: #f2f2f2;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    color: #666;
    transition: all .2s;
}
.product-tag-chip:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.product-section-title { font-size: 24px; font-weight: 400; color: #1a202c; margin: 0 0 1.5rem; }
.category-desc { color: #666; margin-bottom: 1.5rem; line-height: 1.8; }

/* 404 Seite */
.error-page { text-align: center; padding: 4rem 0; }
.error-code { font-size: 120px; font-weight: 700; color: var(--primary); line-height: 1; opacity: .15; }
.error-page h1 { font-size: 32px; font-weight: 300; color: #666; margin: -1rem 0 1rem; }
.error-page p { color: #999; margin-bottom: 2rem; font-size: 18px; }
.error-actions { display: flex; gap: 1rem; justify-content: center; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .article-layout { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .article-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-main {
        display: none;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        flex-direction: column;
        padding: 1rem;
        overflow-y: auto;
        z-index: 300;
    }
    .nav-main.open { display: flex; }
    .menu-toggle { display: flex; }
    .mega-dropdown {
        position: static;
        width: 100%;
        transform: none;
        box-shadow: none;
        border: none;
        border-top: none;
        padding: 0;
    }
    .mega-dropdown-header { display: none; }
    .mega-dropdown-grid {
        grid-template-columns: 1fr;
        padding: .5rem 0 .5rem 1rem;
    }
    .nav-item:hover .mega-dropdown { display: none; }
    .nav-item.open .mega-dropdown { display: block; }
    .dropdown {
        position: static;
        box-shadow: none;
        border: none;
        padding-left: 1rem;
    }
    .nav-item:hover .dropdown { display: none; }
    .nav-item.open .dropdown { display: block; }

    .hero-layout { grid-template-columns: 1fr; }
    .hero-main img, .hero-main-placeholder { min-height: 300px; }
    .hero-grid { grid-template-columns: 1fr 1fr; }
    .hero-grid-card img, .hero-grid-placeholder { min-height: 180px; }
    .columns-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .columns-badges { flex-wrap: wrap; }
    .article-grid { grid-template-columns: 1fr; }
    .article-grid.cols-3 { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .home-content .product-grid { grid-template-columns: repeat(2, 1fr); }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; }

    .author-header-inner { flex-direction: column; text-align: center; gap: 1.5rem; }
    .author-stats-inner { flex-direction: column; gap: .75rem; }
    .author-bio-text { max-width: 100%; }
    .author-box { flex-direction: column; align-items: center; text-align: center; }

    .product-search-form { flex-direction: column; }
    .product-search-input { border-radius: 4px; border-right: 1px solid #ddd; }
    .product-search-btn { border-radius: 4px; }
    .product-tags-list { justify-content: center; }

    .hero-main .hero-main-overlay h2 { font-size: 1.4rem; }

    .article-hero-img { padding: 20px 0; }
    .article-hero-img img { margin-left: -20px; }
}

@media (max-width: 480px) {
    .category-overview { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .hero-grid { grid-template-columns: 1fr; }
    body { font-size: 16px; }
}
