/* ==========================================================================
   Nichtraucher.de — Complete Design System
   Template-override styles for custom header, footer, and page templates.
   ========================================================================== */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #E07A5F;
    --primary-dark: #C96B52;
    --primary-light: #FEF0EB;
    --secondary: #1A1A2E;
    --secondary-light: #2D2B55;
    --accent: #D4A574;
    --bg: #FDF8F4;
    --bg-warm: #F8F0E8;
    --text: #1A1A2E;
    --text-light: #5C6370;
    --text-muted: #9CA3AF;
    --border: #E8E0D8;
    --success: #059669;
    --success-light: #ECFDF5;
    --amazon: #FF9900;
    --amazon-dark: #E88B00;
    --max-width: 1200px;
    --content: 720px;
    --display: 'Playfair Display', Georgia, serif;
    --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --r: 12px;
    --r-lg: 20px;
}

/* ---------- Reset + Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

body.nr-body {
    margin: 0;
    padding: 0;
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.nr-body img { max-width: 100%; height: auto; display: block; }
.nr-body a { color: var(--primary); text-decoration: none; transition: color .2s; }
.nr-body a:hover { color: var(--primary-dark); }
.nr-body h1, .nr-body h2, .nr-body h3, .nr-body h4 {
    font-family: var(--display);
    color: var(--secondary);
    line-height: 1.25;
    margin: 0 0 .5em;
}

/* ---------- Utilities ---------- */
.wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--r);
    font-family: var(--body);
    font-size: .95rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all .25s;
}

.btn--coral {
    background: var(--primary);
    color: #fff;
}
.btn--coral:hover {
    background: var(--primary-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(224,122,95,.35);
}

.btn--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,.4);
}
.btn--ghost:hover {
    background: rgba(255,255,255,.1);
    border-color: #fff;
    color: #fff;
}

.btn--amazon {
    background: var(--amazon);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(255,153,0,.3);
}
.btn--amazon:hover {
    background: var(--amazon-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,153,0,.4);
}

.section-label {
    display: inline-block;
    font-family: var(--body);
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--primary);
    margin-bottom: 8px;
}

/* ==========================================================================
   HEADER  .hd
   ========================================================================== */
.hd {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--secondary);
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.hd__inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.hd__logo {
    font-family: var(--display);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
}
.hd__logo:hover { color: var(--primary); }

.hd__nav { display: flex; align-items: center; gap: 4px; }

.hd__nav a {
    color: rgba(255,255,255,.8);
    font-size: .9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition: all .2s;
}
.hd__nav a:hover,
.hd__nav a[aria-current="page"] {
    color: #fff;
    background: rgba(255,255,255,.08);
}

.hd__toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ==========================================================================
   FOOTER  .ft
   ========================================================================== */
.ft {
    background: var(--secondary);
    color: rgba(255,255,255,.7);
    padding: 60px 0 0;
}

.ft__grid {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.ft__brand p {
    font-size: .9rem;
    line-height: 1.7;
    color: rgba(255,255,255,.55);
    margin: 12px 0 0;
}

.ft__brand-name {
    font-family: var(--display);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
}

.ft__col h4 {
    font-family: var(--body);
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: rgba(255,255,255,.45);
    margin-bottom: 16px;
}

.ft__col ul { list-style: none; margin: 0; padding: 0; }
.ft__col li { margin-bottom: 10px; }
.ft__col a {
    color: rgba(255,255,255,.7);
    font-size: .9rem;
    text-decoration: none;
    transition: color .2s;
}
.ft__col a:hover { color: var(--primary); }

.ft__disclaimers {
    max-width: var(--max-width);
    margin: 40px auto 0;
    padding: 24px 24px;
    border-top: 1px solid rgba(255,255,255,.08);
}

.ft__disclaimers p {
    font-size: .82rem;
    color: rgba(255,255,255,.45);
    margin: 0 0 12px;
    line-height: 1.6;
    max-width: 720px;
    margin-inline: auto;
    text-align: center;
}
.ft__disclaimers strong { color: rgba(255,255,255,.6); }
.ft__disclaimers a { color: rgba(255,255,255,.6); text-decoration: underline; }
.ft__disclaimers a:hover { color: var(--primary); }

.ft__bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 20px 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    text-align: center;
    font-size: .82rem;
    color: rgba(255,255,255,.35);
}

/* ==========================================================================
   HOMEPAGE
   ========================================================================== */

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 50%, #3D1C3A 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}
.hero .wrap { position: relative; z-index: 1; max-width: 800px; text-align: center; }
.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -.02em;
}
.hero h1 span { color: var(--primary); }
.hero__sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,.75);
    margin-bottom: 32px;
    line-height: 1.7;
}
.hero__cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* Trust Strip */
.trust {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}
.trust__inner {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.trust__item { text-align: center; }
.trust__num {
    display: block;
    font-family: var(--display);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}
.trust__label {
    font-size: .8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
}

/* Finder Tiles */
.finder { padding: 64px 0; }
.finder h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}
.finder__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.finder__tile {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 32px 20px;
    text-align: center;
    text-decoration: none;
    transition: all .3s;
}
.finder__tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,.1);
    border-color: var(--primary);
}
.finder__icon { font-size: 2.5rem; margin-bottom: 12px; display: block; }
.finder__tile h3 {
    font-family: var(--body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 4px;
}
.finder__tile:hover h3 { color: var(--primary); }
.finder__tile p {
    font-size: .85rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.5;
}

/* Products Section */
.products { padding: 64px 0; background: var(--bg-warm); }
.products h2 { text-align: center; font-size: 2rem; margin-bottom: 12px; }
.products__sub { text-align: center; color: var(--text-light); margin-bottom: 40px; font-size: 1rem; }

/* Product Hero (Testsieger) */
.product-hero {
    background: #fff;
    border: 2px solid var(--primary);
    border-radius: var(--r-lg);
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 32px;
    margin-bottom: 24px;
    position: relative;
}
.product-hero__badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--primary);
    color: #fff;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.product-hero__img {
    flex-shrink: 0;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-hero__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-hero__info { flex: 1; }
.product-hero__info h3 {
    font-family: var(--body);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.product-hero__price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 16px;
}

/* Product Card Grid */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 24px;
    text-align: center;
    transition: all .3s;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
    border-color: var(--primary);
}
.product-card__img {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-card__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.product-card h4 {
    font-family: var(--body);
    font-size: .95rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}
.product-card__price {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

/* Editorial */
.editorial { padding: 64px 0; }
.editorial h2 { text-align: center; font-size: 2rem; margin-bottom: 40px; }
.editorial__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.editorial__main {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    min-height: 400px;
    background: var(--secondary);
    display: block;
    text-decoration: none;
}
.editorial__main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
    transition: transform .4s;
}
.editorial__main:hover img { transform: scale(1.03); }
.editorial__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px;
    background: linear-gradient(to top, rgba(0,0,0,.6), transparent);
}
.editorial__cat {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 8px;
}
.editorial__overlay h3 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.3;
}
.editorial__side { display: flex; flex-direction: column; gap: 16px; }
.editorial__card {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 16px;
    text-decoration: none;
    transition: all .3s;
}
.editorial__card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    border-color: var(--primary);
}
.editorial__card-img {
    flex-shrink: 0;
    width: 100px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
}
.editorial__card-img img { width: 100%; height: 100%; object-fit: cover; }
.editorial__card-body { flex: 1; min-width: 0; }
.editorial__card-cat {
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--primary);
    margin-bottom: 4px;
}
.editorial__card-body h4 {
    font-family: var(--body);
    font-size: .92rem;
    font-weight: 600;
    color: var(--secondary);
    margin: 0 0 4px;
    line-height: 1.4;
}
.editorial__card-meta {
    font-size: .78rem;
    color: var(--text-muted);
}

/* Motivation */
.motivation {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
    padding: 80px 0;
    text-align: center;
    color: #fff;
}
.motivation blockquote {
    font-family: var(--display);
    font-size: 1.8rem;
    font-style: italic;
    color: #fff;
    margin: 0 auto 12px;
    max-width: 700px;
    line-height: 1.4;
}
.motivation cite {
    font-style: normal;
    font-size: .9rem;
    color: rgba(255,255,255,.5);
    display: block;
    margin-bottom: 40px;
}
.motivation__stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}
.motivation__stat-num {
    display: block;
    font-family: var(--display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
}
.motivation__stat-label {
    font-size: .82rem;
    color: rgba(255,255,255,.6);
}

/* ==========================================================================
   CATEGORY PAGE
   ========================================================================== */

/* Category Hero */
.cat-hero {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 60%, var(--primary) 100%);
    padding: 48px 0 52px;
    position: relative;
    overflow: hidden;
}
.cat-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 0;
}
.cat-hero .wrap { position: relative; z-index: 1; }
.cat-hero h1 {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.cat-hero h1 span { color: var(--primary); }
.cat-hero__desc {
    color: rgba(255,255,255,.85);
    font-size: 1.05rem;
    max-width: 600px;
    line-height: 1.6;
    margin: 0;
}
.cat-hero__meta {
    margin-top: 16px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.cat-hero__meta span {
    font-size: .85rem;
    color: rgba(255,255,255,.6);
}
.cat-hero__meta strong { color: rgba(255,255,255,.9); }

/* Category Nav */
.cat-nav {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.cat-nav__inner {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.cat-nav__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 20px;
    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--secondary);
    text-decoration: none;
    transition: all .3s;
    white-space: nowrap;
}
.cat-nav__pill:hover,
.cat-nav__pill--active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.cat-nav__pill:hover .cat-nav__count,
.cat-nav__pill--active .cat-nav__count {
    background: rgba(255,255,255,.25);
    color: #fff;
}
.cat-nav__count {
    display: inline-block;
    background: var(--border);
    color: var(--text-muted);
    font-size: .75rem;
    font-weight: 700;
    padding: 1px 8px;
    border-radius: 50px;
    transition: all .3s;
}

/* Category Products */
.cat-products { padding: 48px 0 0; }
.cat-products h2 { font-size: 1.6rem; margin-bottom: 24px; }

.cat-pcard {
    display: flex;
    align-items: center;
    gap: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 20px;
    margin-bottom: 16px;
    transition: all .3s;
    position: relative;
}
.cat-pcard:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    border-color: var(--primary);
}
.cat-pcard__rank {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: .9rem;
}
.cat-pcard__img {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cat-pcard__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.cat-pcard__info { flex: 1; min-width: 0; }
.cat-pcard__info h3 {
    font-family: var(--body);
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 4px;
}
.cat-pcard__price { font-weight: 700; color: var(--primary); }
.cat-pcard__action { flex-shrink: 0; }

/* Featured Article */
.cat-featured { padding: 48px 0; }
.cat-featured__card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    overflow: hidden;
}
.cat-featured__img { min-height: 280px; }
.cat-featured__img img { width: 100%; height: 100%; object-fit: cover; }
.cat-featured__body {
    padding: 32px 32px 32px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cat-featured__body h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.cat-featured__body h3 a { color: var(--secondary); text-decoration: none; }
.cat-featured__body h3 a:hover { color: var(--primary); }
.cat-featured__body p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

/* Category Articles */
.cat-articles { padding: 0 0 64px; }
.cat-articles h2 { font-size: 1.6rem; margin-bottom: 24px; }

.article-row {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: all .2s;
}
.article-row:first-child { border-top: 1px solid var(--border); }
.article-row:hover { background: rgba(224,122,95,.03); }
.article-row__img {
    flex-shrink: 0;
    width: 160px;
    height: 110px;
    border-radius: var(--r);
    overflow: hidden;
}
.article-row__img img { width: 100%; height: 100%; object-fit: cover; }
.article-row__body { flex: 1; min-width: 0; }
.article-row__cat {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--primary);
    margin-bottom: 4px;
}
.article-row__body h3 {
    font-family: var(--body);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 6px;
    line-height: 1.4;
}
.article-row:hover h3 { color: var(--primary); }
.article-row__excerpt {
    font-size: .88rem;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0 0 6px;
}
.article-row__meta {
    font-size: .78rem;
    color: var(--text-muted);
    display: flex;
    gap: 12px;
}

/* Inline Product (between articles) */
.inline-product {
    background: var(--primary-light);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 16px 0;
}
.inline-product__img {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.inline-product__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.inline-product__info { flex: 1; }
.inline-product__info strong { font-size: .9rem; color: var(--secondary); display: block; }
.inline-product__info span { font-size: .82rem; color: var(--text-muted); }
.inline-product__btn {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: .82rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 40px 0;
    flex-wrap: wrap;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: .9rem;
    font-weight: 600;
    color: var(--text);
    background: #fff;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all .3s;
}
.pagination .page-numbers:hover {
    border-color: var(--primary);
    color: var(--primary);
}
.pagination .page-numbers.current {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.pagination .page-numbers.dots {
    border: none;
    background: transparent;
    color: var(--text-muted);
}

/* ==========================================================================
   ARTICLE PAGE
   ========================================================================== */

/* Article Header */
.art-header {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    background: var(--secondary);
}
.art-header__bg {
    position: absolute;
    inset: 0;
}
.art-header__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
}
.art-header__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26,26,46,.85) 0%, rgba(26,26,46,.2) 60%, transparent 100%);
}
.art-header__content {
    position: relative;
    z-index: 1;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px 40px;
    width: 100%;
}
.art-header__cats { margin-bottom: 12px; }
.art-header__cat {
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-decoration: none;
    margin-right: 6px;
}
.art-header__cat:hover { background: var(--primary-dark); color: #fff; }
.art-header h1 {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -.02em;
    max-width: 800px;
    margin-bottom: 16px;
}
.art-header__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .88rem;
    color: rgba(255,255,255,.65);
}
.art-header__meta a { color: var(--primary); font-weight: 600; }
.art-header__meta a:hover { color: #fff; }

/* Article Layout (Content + Sidebar) */
.art-layout {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 24px 64px;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

/* Verdict Box */
.verdict {
    background: var(--success-light);
    border: 2px solid var(--success);
    border-radius: var(--r-lg);
    padding: 28px;
    margin-bottom: 40px;
    display: flex;
    gap: 24px;
    align-items: center;
}
.verdict__badge {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    background: var(--success);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.verdict__info { flex: 1; }
.verdict__info h3 {
    font-family: var(--body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--success);
    margin: 0 0 4px;
}
.verdict__info p {
    font-size: .9rem;
    color: var(--text-light);
    margin: 0 0 12px;
    line-height: 1.5;
}

/* Entry Content */
.entry {
    max-width: var(--content);
}
.entry > p { font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5em; color: var(--text); }
.entry h2 {
    font-size: 1.6rem;
    margin-top: 48px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 3px solid var(--primary);
    display: inline-block;
}
.entry h3 { font-size: 1.3rem; margin-top: 36px; margin-bottom: 12px; }
.entry ul, .entry ol { padding-left: 24px; margin-bottom: 1.5em; }
.entry li { font-size: 1.05rem; line-height: 1.8; margin-bottom: .5em; }
.entry a { color: var(--primary); font-weight: 500; border-bottom: 1px solid rgba(224,122,95,.3); }
.entry a:hover { border-bottom-color: var(--primary); }
.entry blockquote {
    border-left: 4px solid var(--primary);
    margin: 2em 0;
    padding: 16px 24px;
    background: var(--primary-light);
    border-radius: 0 var(--r) var(--r) 0;
    font-style: italic;
}
.entry img { border-radius: var(--r); margin: 2em 0; }

/* Comparison Table */
.comp-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2em 0;
    font-size: .9rem;
}
.comp-table th {
    background: var(--secondary);
    color: #fff;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: .82rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}
.comp-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}
.comp-table tr:nth-child(even) td { background: rgba(0,0,0,.02); }
.comp-table tr:hover td { background: var(--primary-light); }

/* Inline Product Box (in articles) */
.nichtraucher-product-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 24px 0;
    transition: all .3s;
    position: relative;
}
.nichtraucher-product-box:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
    border-color: var(--primary);
}

.product-badge {
    position: absolute;
    top: -8px;
    left: 16px;
    background: var(--primary);
    color: #fff;
    padding: 3px 12px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.product-image {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-image img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; }
.product-image.img-broken img { display: none; }
.product-image.img-broken { background: var(--bg-warm); border-radius: 8px; }
.product-image.img-broken::after { content: "\2764\FE0F"; font-size: 3rem; opacity: .3; }

.product-info { flex: 1; }
.product-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; color: var(--secondary); line-height: 1.4; }
.product-price { font-size: 1.3rem; font-weight: 800; color: var(--primary); margin-bottom: 14px; }
.product-updated { margin: 4px 0 8px; color: var(--text-muted); font-size: .8rem; }

.product-button {
    display: inline-block;
    background: var(--amazon);
    color: #fff !important;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: .9rem;
    text-decoration: none;
    transition: all .3s;
    box-shadow: 0 2px 8px rgba(255,153,0,.3);
}
.product-button:hover {
    background: var(--amazon-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,153,0,.4);
    color: #fff !important;
}

/* Product Grid + Comparison (shortcode containers) */
.nichtraucher-product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin: 32px 0;
}
.nichtraucher-product-grid .nichtraucher-product-box { flex-direction: column; text-align: center; margin: 0; }
.nichtraucher-product-grid .product-image { width: 100%; height: 180px; }

.nichtraucher-product-comparison {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
    padding: 24px;
    background: var(--bg-warm);
    border-radius: var(--r-lg);
}
.nichtraucher-product-comparison .nichtraucher-product-box { margin: 0; background: #fff; }
.nichtraucher-product-comparison .nichtraucher-product-box:first-child { border: 2px solid var(--primary); }

/* Author Box */
.author-box {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px;
    margin-top: 48px;
    background: var(--bg-warm);
    border-radius: var(--r);
    border-top: 2px solid var(--accent);
}
.author-box__avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border);
}
.author-box__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box__info { flex: 1; }
.author-box__label {
    display: block;
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--primary);
    margin-bottom: 4px;
}
.author-box__name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 8px;
}
.author-box__bio {
    font-size: .92rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Related Posts */
.related { padding: 48px 0; }
.related h2 { font-size: 1.6rem; text-align: center; margin-bottom: 32px; }
.related__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}
.related__card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    text-decoration: none;
    transition: all .3s;
    border-top: 3px solid var(--primary);
}
.related__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}
.related__card-img {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
}
.related__card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.related__card:hover .related__card-img img { transform: scale(1.05); }
.related__card-body { padding: 20px; }
.related__card-cat {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--primary);
    margin-bottom: 6px;
}
.related__card-body h3 {
    font-family: var(--body);
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 6px;
    line-height: 1.4;
}
.related__card-body p {
    font-size: .85rem;
    color: var(--text-muted);
    margin: 0;
}

/* Sidebar */
.sidebar { position: sticky; top: 80px; }

/* TOC (sidebar) */
.toc {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 20px;
    margin-bottom: 24px;
}
.toc__title {
    font-family: var(--body);
    font-size: .9rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.toc__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.toc__list li {
    margin-bottom: 6px;
    padding-left: 12px;
    border-left: 2px solid transparent;
}
.toc__list li.active { border-left-color: var(--primary); }
.toc__list a {
    font-size: .85rem;
    color: var(--text-light);
    text-decoration: none;
    line-height: 1.4;
    display: block;
}
.toc__list a:hover { color: var(--primary); }
.toc__list .toc__sub {
    list-style: none;
    margin: 4px 0 0;
    padding: 0 0 0 12px;
}
.toc__sub a { font-size: .8rem; color: var(--text-muted); }

/* Sidebar Product */
.side-product {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 20px;
    text-align: center;
}
.side-product__label {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--primary);
    margin-bottom: 12px;
}
.side-product__img {
    width: 100px;
    height: 100px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.side-product__img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.side-product h4 {
    font-family: var(--body);
    font-size: .9rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}
.side-product__price {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

/* Mobile Bar */
.mobile-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,.1);
}
.mobile-bar__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 600px;
    margin: 0 auto;
}
.mobile-bar__info { flex: 1; min-width: 0; }
.mobile-bar__info strong {
    display: block;
    font-size: .82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mobile-bar__info span { font-size: .75rem; color: var(--text-muted); }

/* Breadcrumbs */
.breadcrumbs {
    font-size: .82rem;
    margin-bottom: 16px;
}
.breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}
.breadcrumbs li {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.breadcrumbs li + li::before {
    content: '\203A';
    margin: 0 8px;
    color: rgba(255,255,255,.4);
}
.breadcrumbs a { color: rgba(255,255,255,.7); text-decoration: none; }
.breadcrumbs a:hover { color: #fff; }
.breadcrumbs span[aria-current] { color: rgba(255,255,255,.5); }

/* Breadcrumbs in light context */
.breadcrumbs--light a { color: var(--text-muted); }
.breadcrumbs--light a:hover { color: var(--primary); }
.breadcrumbs--light li + li::before { color: var(--border); }
.breadcrumbs--light span[aria-current] { color: var(--text-light); }

/* Affiliate / Medical Disclosures (shortcodes) */
.affiliate-disclosure {
    background: var(--primary-light);
    border-left: 3px solid var(--accent);
    padding: 12px 16px;
    margin-bottom: 28px;
    border-radius: 0 var(--r) var(--r) 0;
}
.affiliate-disclosure small { font-size: .82rem; color: var(--text-light); line-height: 1.5; }
.affiliate-disclosure a { color: var(--primary); font-weight: 500; }
.affiliate-disclosure.medical-disclaimer { border-left-color: #e67e22; margin-top: -16px; }

/* Amazon Search Box */
.nichtraucher-amazon-search { max-width: 600px; margin: 30px auto; }
.amazon-search-wrapper {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.amazon-search-field {
    flex: 1;
    padding: 14px 18px;
    border: 2px solid var(--border);
    border-right: none;
    border-radius: 8px 0 0 8px;
    font-size: 1rem;
    font-family: inherit;
}
.amazon-search-field:focus { outline: none; border-color: var(--amazon); }
.amazon-search-button {
    padding: 14px 24px;
    background: var(--amazon);
    color: #fff;
    border: none;
    border-radius: 0 8px 8px 0;
    font-size: .95rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}
.amazon-search-button:hover { background: var(--amazon-dark); }

/* SEO Text Section */
.seo-text { padding: 64px 0; background: #fff; }
.seo-text h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--secondary);
    margin-bottom: 20px;
    margin-top: 0;
}
.seo-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--secondary);
    margin: 32px 0 12px;
}
.seo-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 1.4em;
    max-width: 800px;
}
.seo-text a { color: var(--primary); font-weight: 500; }
.seo-text a:hover { color: var(--primary-dark); text-decoration: underline; }

/* Hide wpautop artifacts */
.nichtraucher-product-grid > br,
.nichtraucher-product-comparison > br,
.nichtraucher-product-grid > p,
.nichtraucher-product-comparison > p { display: none !important; }

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

@media (max-width: 1024px) {
    .art-layout { grid-template-columns: 1fr; }
    .sidebar { position: static; display: none; }
    .finder__grid { grid-template-columns: repeat(2, 1fr); }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .related__grid { grid-template-columns: repeat(2, 1fr); }
    .editorial__grid { grid-template-columns: 1fr; }
    .editorial__main { min-height: 300px; }
    .cat-featured__card { grid-template-columns: 1fr; }
    .cat-featured__img { min-height: 200px; }
    .cat-featured__body { padding: 24px; }
    .ft__grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .hd__nav { display: none; }
    .hd__toggle { display: block; }
    .hd.open .hd__nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--secondary);
        padding: 16px 24px;
        border-top: 1px solid rgba(255,255,255,.08);
        box-shadow: 0 8px 30px rgba(0,0,0,.2);
    }
    .hd.open .hd__nav a {
        padding: 12px 0;
        font-size: 1rem;
    }

    .hero { padding: 48px 0 64px; }
    .hero h1 { font-size: 2rem; }
    .hero__sub { font-size: 1rem; }

    .trust__inner { gap: 24px; }
    .trust__num { font-size: 1.2rem; }

    .finder__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .finder__tile { padding: 20px 14px; }

    .product-hero { flex-direction: column; text-align: center; padding: 24px; }
    .product-hero__img { width: 120px; height: 120px; }
    .product-grid { grid-template-columns: 1fr; }

    .editorial__main { min-height: 240px; }
    .editorial__overlay { padding: 20px; }
    .editorial__overlay h3 { font-size: 1.2rem; }
    .editorial__card { flex-direction: column; }
    .editorial__card-img { width: 100%; height: 160px; }

    .motivation blockquote { font-size: 1.3rem; }
    .motivation__stats { gap: 24px; }

    .cat-hero h1 { font-size: 1.6rem; }

    .article-row { flex-direction: column; gap: 12px; }
    .article-row__img { width: 100%; height: 180px; }

    .cat-pcard { flex-wrap: wrap; }
    .cat-pcard__action { width: 100%; }
    .cat-pcard__action .btn { width: 100%; }

    .art-header { min-height: 320px; }
    .art-header h1 { font-size: 1.8rem; }
    .art-header__meta { font-size: .82rem; }

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

    .nichtraucher-product-box { flex-direction: column; text-align: center; padding: 20px; }
    .product-image { width: 120px; height: 120px; }
    .product-button { display: block; width: 100%; text-align: center; }
    .nichtraucher-product-grid { grid-template-columns: 1fr; }

    .author-box { flex-direction: column; align-items: center; text-align: center; }
    .author-box__avatar { width: 70px; height: 70px; }

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

    .mobile-bar { display: block; }
    .ft__grid { grid-template-columns: 1fr; gap: 24px; }
    .ft__grid .ft__brand { text-align: center; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.6rem; }
    .hero__cta { flex-direction: column; }
    .hero__cta .btn { width: 100%; }

    .finder__grid { grid-template-columns: 1fr 1fr; gap: 10px; }
    .finder__tile { padding: 16px 10px; }
    .finder__icon { font-size: 2rem; }

    .trust__inner { flex-direction: column; gap: 12px; }

    .cat-nav__inner { justify-content: flex-start; flex-wrap: nowrap; }

    .product-card { padding: 16px; }
    .product-card__img { width: 80px; height: 80px; }

    .art-header h1 { font-size: 1.5rem; }
}
