/* ============================================================
   Ibn Sina Theme — Tradition trifft moderne Heilkunde
   Palette: Dunkelgrün / Gold / Creme
   ============================================================ */

:root {
    --green-dark: #14241A;
    --green: #1A5F3C;
    --gold: #C9A84C;
    --gold-light: #E3CC8B;
    --cream: #F5F0E8;
    --cream-dark: #EDE5D8;
    --sage: #7A9E7E;
    --ink: #1C1C1A;
    --ink-soft: #55554F;
    --white: #FFFFFF;
    --serif: "Playfair Display", Georgia, serif;
    --sans: "Inter", -apple-system, sans-serif;
    --pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='96' viewBox='0 0 96 96'%3E%3Ccircle cx='48' cy='48' r='30' fill='none' stroke='%23C9A84C' stroke-width='0.8'/%3E%3Ccircle cx='48' cy='48' r='18' fill='none' stroke='%23C9A84C' stroke-width='0.6'/%3E%3Ccircle cx='0' cy='0' r='30' fill='none' stroke='%23C9A84C' stroke-width='0.8'/%3E%3Ccircle cx='96' cy='0' r='30' fill='none' stroke='%23C9A84C' stroke-width='0.8'/%3E%3Ccircle cx='0' cy='96' r='30' fill='none' stroke='%23C9A84C' stroke-width='0.8'/%3E%3Ccircle cx='96' cy='96' r='30' fill='none' stroke='%23C9A84C' stroke-width='0.8'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--sans);
    font-weight: 400;
    color: var(--ink);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */

.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    padding: 22px 0;
    transition: background .35s ease, padding .35s ease, box-shadow .35s ease;
}
.site-header.scrolled {
    background: rgba(20, 36, 26, .96);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: .02em;
}
.logo-mark { color: var(--gold); display: inline-flex; cursor: pointer; }
.logo-mark.gold { color: var(--gold); }
.logo-svg { height: 38px; width: auto; display: block; }
.logo-original {
    height: 52px; width: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,.3);
    transition: transform .25s ease, box-shadow .25s ease;
}
.logo-mark:hover .logo-original { transform: scale(1.06); box-shadow: 0 4px 18px rgba(201,168,76,.45); }
.logo-original.big { height: 64px; }
.az-letter {
    font-family: "Playfair Display", Georgia, serif;
    font-weight: 500;
    fill: currentColor;
}
.az-branch path { fill: #7FA984; }
.az-branch path[stroke] { fill: none; stroke: #7FA984; }
.footer-logo-mark .logo-svg { height: 48px; }
.placeholder-logo .logo-svg { height: 56px; }

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.site-nav .nav { display: flex; list-style: none; gap: 6px; align-items: center; }
.site-nav .nav a,
.site-nav > a {
    color: rgba(255,255,255,.85);
    font-size: .92rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 99px;
    transition: color .2s, background .2s;
}
.site-nav .nav a:hover, .site-nav > a:hover { color: var(--gold-light); background: rgba(255,255,255,.06); }
.nav-cta {
    border: 1px solid var(--gold);
    color: var(--gold) !important;
    margin-left: 10px;
}
.nav-cta:hover { background: var(--gold) !important; color: var(--green-dark) !important; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.nav-toggle span {
    width: 24px; height: 2px;
    background: var(--white);
    transition: transform .3s, opacity .3s;
}
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 99px;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .02em;
    transition: transform .25s ease, box-shadow .25s ease, background .25s, color .25s;
    cursor: pointer;
    border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold {
    background: var(--gold);
    color: var(--green-dark);
    box-shadow: 0 6px 24px rgba(201,168,76,.35);
}
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 10px 32px rgba(201,168,76,.45); }
.btn-ghost {
    border: 1.5px solid rgba(255,255,255,.5);
    color: var(--white);
    background: transparent;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-dark {
    background: var(--green-dark);
    color: var(--cream);
}
.btn-dark:hover { background: var(--green); }

/* ---------- Hero ---------- */

.hero {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: var(--green-dark);
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .48;
}
.hero-bg::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(20,36,26,.55) 0%, rgba(20,36,26,.35) 50%, rgba(20,36,26,.92) 100%);
}
.hero-pattern {
    position: absolute; inset: 0;
    background-image: var(--pattern);
    opacity: .07;
    pointer-events: none;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 880px;
    padding: 120px 24px 60px;
}
.hero-kicker {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .35em;
    font-size: .8rem;
    font-weight: 600;
    margin-bottom: 26px;
}
.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2.6rem, 6.5vw, 4.8rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.12;
    margin-bottom: 28px;
}
.hero h1 em {
    font-style: italic;
    color: var(--gold-light);
}
.hero-sub {
    color: rgba(255,255,255,.82);
    font-size: clamp(1.02rem, 2vw, 1.22rem);
    font-weight: 300;
    max-width: 620px;
    margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    color: var(--gold);
    font-size: 1.4rem;
    z-index: 2;
    animation: floaty 2.2s ease-in-out infinite;
}
@keyframes floaty {
    0%,100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, 8px); }
}

/* ---------- Sektionen allgemein ---------- */

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
.section-inner.narrow { max-width: 760px; }

.section-kicker {
    color: var(--green);
    text-transform: uppercase;
    letter-spacing: .3em;
    font-size: .78rem;
    font-weight: 600;
    margin-bottom: 14px;
}
.section-title {
    font-family: var(--serif);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 48px;
    line-height: 1.2;
}
.section-title.small { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 32px; }

/* ---------- Themen-Karten ---------- */

.themes { padding: 110px 0 90px; background: var(--cream); }
.theme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 22px;
}
.theme-card {
    background: var(--white);
    border: 1px solid rgba(20,36,26,.07);
    border-radius: 18px;
    padding: 36px 26px;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
    position: relative;
    overflow: hidden;
}
.theme-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--green));
    opacity: 0;
    transition: opacity .3s;
}
.theme-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 44px rgba(20,36,26,.12);
    border-color: rgba(201,168,76,.4);
}
.theme-card:hover::before { opacity: 1; }
.theme-icon {
    display: inline-flex;
    width: 54px; height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(26,95,60,.08);
    color: var(--green);
    margin-bottom: 20px;
    transition: background .3s, color .3s;
}
.theme-icon svg { width: 26px; height: 26px; }
.theme-card:hover .theme-icon { background: var(--green); color: var(--gold-light); }
.theme-card h3 {
    font-family: var(--serif);
    font-size: 1.22rem;
    margin-bottom: 10px;
    color: var(--ink);
}
.theme-card p { font-size: .92rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------- Artikel-Karten ---------- */

.latest { padding: 90px 0 100px; background: var(--white); }
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
    gap: 32px;
}
.post-card {
    background: var(--white);
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(20,36,26,.08);
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(20,36,26,.13);
}
.post-card-image {
    position: relative;
    aspect-ratio: 16 / 9.5;
    overflow: hidden;
    background: var(--cream-dark);
}
.post-card-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.post-card:hover .post-card-image img { transform: scale(1.05); }
.post-card-placeholder {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: var(--gold);
    font-size: 2rem;
}
.post-card-tag {
    position: absolute;
    top: 14px; left: 14px;
    background: rgba(20,36,26,.85);
    color: var(--gold-light);
    backdrop-filter: blur(4px);
    font-size: .72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 6px 13px;
    border-radius: 99px;
}
.post-card-body { padding: 26px 26px 24px; display: flex; flex-direction: column; flex: 1; }
.post-card-body h3 {
    font-family: var(--serif);
    font-size: 1.28rem;
    line-height: 1.35;
    margin-bottom: 12px;
}
.post-card-body h3 a:hover { color: var(--green); }
.post-card-body p { font-size: .93rem; color: var(--ink-soft); flex: 1; }
.post-card-meta {
    margin-top: 18px;
    font-size: .82rem;
    color: var(--sage);
    display: flex;
    gap: 8px;
    font-weight: 500;
}
.latest-more { text-align: center; margin-top: 52px; }

/* ---------- Zitat ---------- */

.quote-section {
    position: relative;
    background: var(--green-dark);
    padding: 120px 24px;
    text-align: center;
    overflow: hidden;
}
.quote-pattern {
    position: absolute; inset: 0;
    background-image: var(--pattern);
    opacity: .06;
}
.quote-section blockquote {
    position: relative;
    max-width: 820px;
    margin: 0 auto;
}
.quote-section p {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.5rem, 3.4vw, 2.3rem);
    color: var(--cream);
    line-height: 1.45;
    margin-bottom: 28px;
}
.quote-section cite {
    color: var(--gold);
    font-style: normal;
    font-size: .95rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ---------- Newsletter ---------- */

.newsletter {
    background: var(--cream);
    padding: 100px 0;
    text-align: center;
}
.newsletter h2 {
    font-family: var(--serif);
    font-size: clamp(1.8rem, 3.6vw, 2.5rem);
    margin-bottom: 16px;
}
.newsletter p { color: var(--ink-soft); max-width: 520px; margin: 0 auto 36px; }
.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.newsletter-form input {
    flex: 1;
    min-width: 240px;
    padding: 14px 24px;
    border-radius: 99px;
    border: 1.5px solid rgba(20,36,26,.15);
    font-family: var(--sans);
    font-size: .95rem;
    background: var(--white);
    outline: none;
    transition: border-color .2s;
}
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-success, .newsletter-error {
    display: none;
    margin-top: 20px;
    font-weight: 500;
}
.newsletter-success { color: var(--green); }
.newsletter-error { color: #B0413E; }
.newsletter-form.success ~ .newsletter-success { display: block; }
.newsletter-form.error ~ .newsletter-error { display: block; }
.newsletter-form.loading button { opacity: .6; pointer-events: none; }

/* ---------- Archiv / Tag-Seiten ---------- */

.page-hero {
    background: var(--green-dark);
    padding: 170px 0 70px;
    position: relative;
}
.page-hero::after {
    content: "";
    position: absolute; inset: 0;
    background-image: var(--pattern);
    opacity: .05;
    pointer-events: none;
}
.page-hero .section-kicker { color: var(--gold); position: relative; z-index: 1; }
.page-hero .section-title { color: var(--cream); margin-bottom: 28px; position: relative; z-index: 1; }
.tag-description { color: rgba(255,255,255,.75); max-width: 560px; position: relative; z-index: 1; }

.tag-filter { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
.tag-chip {
    font-size: .84rem;
    font-weight: 500;
    padding: 7px 16px;
    border-radius: 99px;
    border: 1px solid rgba(255,255,255,.25);
    color: rgba(255,255,255,.85);
    transition: all .2s;
}
.tag-chip:hover, .tag-chip.active {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--green-dark);
}
.archive { padding: 70px 0 100px; }
.archive-empty {
    text-align: center;
    color: var(--ink-soft);
    padding: 60px 0;
    font-size: 1.05rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    margin-top: 64px;
    font-size: .92rem;
}
.pagination a {
    padding: 10px 22px;
    border-radius: 99px;
    border: 1.5px solid var(--green);
    color: var(--green);
    font-weight: 600;
    transition: all .2s;
}
.pagination a:hover { background: var(--green); color: var(--cream); }
.page-number { color: var(--ink-soft); }

/* ---------- Artikel-Seite ---------- */

.post-header {
    background: var(--green-dark);
    padding: 180px 0 80px;
    text-align: center;
    position: relative;
}
.post-header::after {
    content: "";
    position: absolute; inset: 0;
    background-image: var(--pattern);
    opacity: .05;
    pointer-events: none;
}
.post-kicker {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .25em;
    font-size: .78rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}
.post-title {
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.4rem);
    color: var(--cream);
    line-height: 1.18;
    margin: 22px auto 24px;
    max-width: 820px;
    position: relative;
    z-index: 1;
}
.post-excerpt {
    color: rgba(255,255,255,.78);
    font-size: 1.1rem;
    font-weight: 300;
    max-width: 640px;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
}
.post-meta {
    color: var(--sage);
    font-size: .88rem;
    display: flex;
    gap: 10px;
    justify-content: center;
    font-weight: 500;
    position: relative;
    z-index: 1;
}
.post-feature-image {
    max-width: 1100px;
    margin: -50px auto 0;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}
.post-feature-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 24px 64px rgba(20,36,26,.25);
}
.post-feature-image figcaption {
    text-align: center;
    font-size: .82rem;
    color: var(--ink-soft);
    margin-top: 12px;
}

.post-content {
    padding: 64px 0 24px;
    font-size: 1.08rem;
    line-height: 1.85;
    color: #2A2A26;
}
.gh-content > * + * { margin-top: 1.4em; }
.gh-content h2 {
    font-family: var(--serif);
    font-size: 1.8rem;
    margin-top: 2em;
    color: var(--ink);
}
.gh-content h3 {
    font-family: var(--serif);
    font-size: 1.4rem;
    margin-top: 1.8em;
    color: var(--ink);
}
.gh-content a { color: var(--green); text-decoration: underline; text-decoration-color: rgba(26,95,60,.35); text-underline-offset: 3px; }
.gh-content a:hover { text-decoration-color: var(--green); }
.gh-content blockquote {
    border-left: 3px solid var(--gold);
    padding: 8px 0 8px 28px;
    font-family: var(--serif);
    font-style: italic;
    font-size: 1.18rem;
    color: var(--green-dark);
}
.gh-content img { border-radius: 14px; }
.gh-content ul, .gh-content ol { padding-left: 1.4em; }
.gh-content li + li { margin-top: .5em; }
.gh-content hr {
    border: none;
    margin: 3em auto;
    text-align: center;
    height: auto;
}
.gh-content hr {
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    height: 1px;
    max-width: 280px;
}

/* ---------- Artikel-Audio-Player ---------- */

.gh-content .article-audio {
    display: flex;
    align-items: center;
    gap: 18px;
    background: linear-gradient(135deg, #1d3a28, var(--green-dark));
    border: 1px solid rgba(201,168,76,.4);
    border-radius: 16px;
    padding: 18px 22px;
    margin: 0 0 2.2em;
}
.gh-content .article-audio .aa-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}
.gh-content .article-audio .aa-body { flex: 1; }
.gh-content .article-audio .aa-label {
    display: block;
    color: var(--gold);
    font-family: var(--sans);
    font-size: .82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin-bottom: 8px;
}
.gh-content .article-audio audio {
    width: 100%;
    height: 40px;
    border-radius: 99px;
}

/* ---------- Produkt-Empfehlungsbox (Affiliate) ---------- */

.gh-content .product-box {
    display: flex;
    gap: 24px;
    align-items: center;
    background: linear-gradient(135deg, #fdfbf7 0%, var(--cream) 100%);
    border: 1px solid rgba(201,168,76,.45);
    border-radius: 18px;
    padding: 24px;
    margin: 2.5em 0;
    position: relative;
    box-shadow: 0 8px 28px rgba(20,36,26,.07);
}
.gh-content .product-box-label {
    position: absolute;
    top: -10px; left: 20px;
    background: var(--gold);
    color: var(--green-dark);
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    padding: 3px 12px;
    border-radius: 99px;
}
.gh-content .product-box img {
    width: 130px; height: 130px;
    object-fit: cover;
    border-radius: 14px;
    margin: 0;
    flex-shrink: 0;
}
.gh-content .product-box-info { flex: 1; }
.gh-content .product-box-info h4 {
    font-family: var(--serif);
    font-size: 1.18rem;
    margin: 0 0 6px;
    color: var(--ink);
}
.gh-content .product-box-info p {
    font-size: .9rem;
    color: var(--ink-soft);
    margin: 0 0 16px;
    line-height: 1.5;
}
.gh-content .product-box-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.gh-content .product-box-actions a {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 99px;
    font-size: .86rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}
.gh-content .product-box-actions a:hover { transform: translateY(-2px); }
.gh-content .product-box-actions .pb-iherb {
    background: var(--green);
    color: #fff;
    box-shadow: 0 4px 14px rgba(26,95,60,.3);
}
.gh-content .product-box-actions .pb-amazon {
    background: transparent;
    border: 1.5px solid var(--gold);
    color: #8a6d2f;
}
@media (max-width: 560px) {
    .gh-content .product-box { flex-direction: column; text-align: center; }
    .gh-content .product-box-actions { justify-content: center; }
}

.post-tags { display: flex; flex-wrap: wrap; gap: 10px; padding: 36px 0 8px; }
.post-tags .tag-chip { border-color: rgba(20,36,26,.2); color: var(--ink-soft); }
.post-tags .tag-chip:hover { background: var(--green); border-color: var(--green); color: var(--cream); }

.post-disclaimer {
    margin: 40px 0 80px;
    padding: 20px 26px;
    background: rgba(201,168,76,.1);
    border-left: 3px solid var(--gold);
    border-radius: 0 12px 12px 0;
    font-size: .88rem;
    color: var(--ink-soft);
}

.related { background: var(--cream); padding: 80px 0 100px; }

/* Seiten-Template (Impressum etc.) */
.page-template .post-content { padding-bottom: 90px; }

/* ---------- Footer ---------- */

.site-footer {
    background: var(--green-dark);
    color: rgba(255,255,255,.75);
    padding: 80px 0 0;
}
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 56px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}
.footer-brand h3 {
    font-family: var(--serif);
    color: var(--cream);
    font-size: 1.5rem;
    margin: 12px 0 14px;
}
.footer-brand p { font-size: .9rem; line-height: 1.7; max-width: 300px; }
.footer-col h4 {
    color: var(--gold);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .2em;
    margin-bottom: 20px;
    font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li + li { margin-top: 12px; }
.footer-col a { font-size: .92rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 26px 24px;
    text-align: center;
    font-size: .82rem;
    color: rgba(255,255,255,.45);
}

/* ---------- Weisheiten-Modal ---------- */

.logo-mark .logo-svg, .wisdom-star .logo-svg {
    animation: logoGlow 3.2s ease-in-out infinite;
}
@keyframes logoGlow {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(201,168,76,0)); }
    50% { filter: drop-shadow(0 0 8px rgba(201,168,76,.85)); }
}

.wisdom-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(20,36,26,.94);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s ease;
}
.wisdom-modal.open { opacity: 1; pointer-events: auto; }
.wisdom-card {
    position: relative;
    max-width: 680px;
    text-align: center;
    padding: 40px 28px;
    transform: scale(.92) translateY(14px);
    transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.wisdom-modal.open .wisdom-card { transform: scale(1) translateY(0); }
.wisdom-star {
    display: flex;
    justify-content: center;
    color: var(--gold);
    margin-bottom: 28px;
}
.wisdom-star .logo-svg { height: 60px; width: auto; }
.wisdom-text {
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    color: var(--cream);
    line-height: 1.5;
    margin-bottom: 24px;
}
.wisdom-cite {
    display: block;
    color: var(--gold);
    font-style: normal;
    font-size: .9rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    margin-bottom: 36px;
}
.wisdom-next {
    background: transparent;
    border: 1.5px solid var(--gold);
    color: var(--gold);
    padding: 12px 28px;
    border-radius: 99px;
    font-family: var(--sans);
    font-size: .9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .25s;
}
.wisdom-next:hover { background: var(--gold); color: var(--green-dark); }
.wisdom-close {
    position: absolute;
    top: -10px; right: 0;
    background: none;
    border: none;
    color: rgba(255,255,255,.6);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    transition: color .2s, transform .2s;
}
.wisdom-close:hover { color: var(--gold); transform: rotate(90deg); }

/* ---------- Fakt des Tages ---------- */

.daily-fact { background: var(--white); padding: 0 0 100px; }
.fact-card {
    max-width: 760px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--green-dark) 0%, #1d3a28 100%);
    border: 1px solid rgba(201,168,76,.35);
    border-radius: 22px;
    padding: 40px 44px 30px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .3s ease, box-shadow .3s ease;
}
.fact-card::before {
    content: "";
    position: absolute; inset: 0;
    background-image: var(--pattern);
    opacity: .06;
    pointer-events: none;
}
.fact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 52px rgba(20,36,26,.3);
}
.fact-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 22px;
    position: relative;
}
.fact-icon {
    display: inline-flex;
    width: 52px; height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(201,168,76,.15);
    color: var(--gold);
}
.fact-icon svg { width: 26px; height: 26px; }
.fact-kicker {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: .25em;
    font-size: .75rem;
    font-weight: 600;
}
.fact-date { color: rgba(255,255,255,.55); font-size: .85rem; margin-top: 2px; }
.fact-text {
    font-family: var(--serif);
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    color: var(--cream);
    line-height: 1.6;
    position: relative;
    transition: opacity .25s ease;
    min-height: 3.2em;
}
.fact-hint {
    margin-top: 22px;
    color: rgba(255,255,255,.4);
    font-size: .78rem;
    text-align: right;
    position: relative;
}

@media (max-width: 600px) {
    .fact-card { padding: 28px 22px 20px; }
}

/* ---------- Neues aus der Medizin ---------- */

.med-news { background: var(--cream-dark); padding: 80px 0; }
.med-news-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 36px;
}
.med-news-head .section-title { margin-bottom: 0; }
.med-news-head .section-kicker { margin-bottom: 6px; }
.med-news-icon {
    display: inline-flex;
    width: 56px; height: 56px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: var(--green-dark);
    color: var(--gold);
    flex-shrink: 0;
}
.med-news-icon svg { width: 26px; height: 26px; }
.med-news-list { display: flex; flex-direction: column; gap: 12px; }
.med-news-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--white);
    border: 1px solid rgba(20,36,26,.08);
    border-radius: 14px;
    padding: 18px 24px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
}
.med-news-item:hover {
    transform: translateX(6px);
    box-shadow: 0 10px 30px rgba(20,36,26,.1);
    border-color: rgba(201,168,76,.45);
}
.med-news-item time {
    color: var(--gold);
    font-weight: 600;
    font-size: .85rem;
    background: rgba(201,168,76,.12);
    padding: 5px 12px;
    border-radius: 99px;
    flex-shrink: 0;
}
.med-news-title {
    font-family: var(--serif);
    font-size: 1.08rem;
    color: var(--ink);
    flex: 1;
}
.med-news-arrow { color: var(--sage); font-size: 1.1rem; transition: transform .25s, color .25s; }
.med-news-item:hover .med-news-arrow { transform: translateX(4px); color: var(--gold); }

/* ---------- Atemübung ---------- */

.heart-trigger { cursor: pointer; }
.heart-trigger svg { animation: heartbeat 2.4s ease-in-out infinite; }

/* Schwebender Herz-Button (unten links, jede Seite) */
.heart-fab {
    position: fixed;
    bottom: 22px; left: 22px;
    z-index: 998;
    width: 56px; height: 56px;
    border-radius: 50%;
    background: var(--green-dark);
    border: 1.5px solid var(--gold);
    color: var(--gold);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(0,0,0,.35), 0 0 0 0 rgba(201,168,76,.5);
    animation: fabPulse 2.4s ease-out infinite;
    transition: transform .25s ease;
}
.heart-fab:hover { transform: scale(1.12); }
.heart-fab svg { width: 26px; height: 26px; animation: heartbeat 2.4s ease-in-out infinite; }
@keyframes fabPulse {
    0% { box-shadow: 0 6px 24px rgba(0,0,0,.35), 0 0 0 0 rgba(201,168,76,.45); }
    70% { box-shadow: 0 6px 24px rgba(0,0,0,.35), 0 0 0 16px rgba(201,168,76,0); }
    100% { box-shadow: 0 6px 24px rgba(0,0,0,.35), 0 0 0 0 rgba(201,168,76,0); }
}
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    8% { transform: scale(1.14); }
    16% { transform: scale(1); }
    24% { transform: scale(1.1); }
    32% { transform: scale(1); }
}

.breath-modal {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(20,36,26,.96);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s ease;
}
.breath-modal.open { opacity: 1; pointer-events: auto; }
.breath-close { position: fixed; top: 28px; right: 36px; }
.breath-stage { text-align: center; padding: 24px; }
.breath-circle {
    width: 190px; height: 190px;
    margin: 0 auto 44px;
    border-radius: 50%;
    border: 2px solid var(--gold);
    background: radial-gradient(circle, rgba(201,168,76,.22) 0%, rgba(201,168,76,.05) 70%);
    box-shadow: 0 0 60px rgba(201,168,76,.25), inset 0 0 40px rgba(201,168,76,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 4s ease-in-out;
    will-change: transform;
}
.breath-label {
    font-family: var(--serif);
    font-size: 1.45rem;
    color: var(--cream);
    font-style: italic;
}
.breath-sub {
    color: rgba(255,255,255,.7);
    max-width: 420px;
    margin: 0 auto 30px;
    font-size: .98rem;
    min-height: 1.5em;
}

/* ---------- Quiz-Teaser (Startseite) ---------- */
.quiz-teaser { background: var(--white); padding: 0 0 90px; }
.quiz-teaser-card {
    display: flex;
    align-items: center;
    gap: 28px;
    background: linear-gradient(135deg, var(--green-dark), #1d3a28);
    border-radius: 22px;
    padding: 40px 44px;
    flex-wrap: wrap;
}
.quiz-teaser-icon {
    width: 70px; height: 70px;
    flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    border-radius: 18px;
    background: rgba(201,168,76,.15);
    color: var(--gold);
}
.quiz-teaser-icon svg { width: 34px; height: 34px; }
.quiz-teaser-body { flex: 1; min-width: 240px; }
.quiz-teaser-body .section-kicker { color: var(--gold); margin-bottom: 8px; }
.quiz-teaser-body h2 { font-family: var(--serif); font-size: 1.7rem; color: var(--cream); margin-bottom: 8px; }
.quiz-teaser-body p { color: rgba(255,255,255,.72); font-size: .98rem; line-height: 1.5; }

/* ---------- Gesundheits-Quiz ---------- */

.quiz-section { padding: 70px 0 110px; background: var(--cream); }
.quiz-intro { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 32px; line-height: 1.7; }
.quiz-start { text-align: center; padding: 30px 0; }

.quiz-progress { display: flex; align-items: center; gap: 16px; margin-bottom: 34px; }
.quiz-bar { flex: 1; height: 8px; background: var(--cream-dark); border-radius: 99px; overflow: hidden; }
.quiz-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--green), var(--gold)); transition: width .4s ease; }
.quiz-count { font-size: .85rem; font-weight: 600; color: var(--sage); white-space: nowrap; }

.quiz-q {
    font-family: var(--serif);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 30px;
}
.quiz-options { display: flex; flex-direction: column; gap: 14px; }
.quiz-opt {
    text-align: left;
    padding: 18px 24px;
    border-radius: 14px;
    border: 1.5px solid rgba(20,36,26,.12);
    background: var(--white);
    font-family: var(--sans);
    font-size: 1.02rem;
    color: var(--ink);
    cursor: pointer;
    transition: all .2s ease;
}
.quiz-opt:hover { border-color: var(--gold); transform: translateX(4px); }
.quiz-opt.locked { cursor: default; pointer-events: none; }
.quiz-opt.correct { border-color: var(--green); background: rgba(26,95,60,.1); font-weight: 600; }
.quiz-opt.correct::after { content: " ✓"; color: var(--green); }
.quiz-opt.wrong { border-color: #b0413e; background: rgba(176,65,62,.08); }
.quiz-opt.wrong::after { content: " ✕"; color: #b0413e; }

.quiz-explain {
    margin-top: 26px;
    padding: 22px 26px;
    background: rgba(201,168,76,.12);
    border-left: 3px solid var(--gold);
    border-radius: 0 12px 12px 0;
}
.quiz-explain p { color: #3a3a34; line-height: 1.65; margin-bottom: 18px; }

.quiz-result { text-align: center; padding: 30px 0; }
.result-icon { font-size: 4.5rem; display: block; margin-bottom: 18px; }
.quiz-result h2 { font-family: var(--serif); font-size: 2.2rem; color: var(--ink); margin-bottom: 16px; }
.quiz-result p { font-size: 1.12rem; color: var(--ink-soft); max-width: 480px; margin: 0 auto 34px; line-height: 1.6; }
.result-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-ghost-dark { border: 1.5px solid var(--green); color: var(--green); background: transparent; }
.btn-ghost-dark:hover { background: var(--green); color: var(--cream); }

/* ---------- Tag-Hero Icon ---------- */

.tag-hero-icon {
    display: inline-flex;
    width: 64px; height: 64px;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(201,168,76,.14);
    border: 1px solid rgba(201,168,76,.35);
    color: var(--gold);
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}
.tag-hero-icon svg { width: 30px; height: 30px; }
.tag-hero-icon:empty { display: none; }

/* ---------- Scroll-Animationen ---------- */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; z-index: 110; }
    .site-nav {
        position: fixed;
        inset: 0;
        background: rgba(20,36,26,.98);
        flex-direction: column;
        justify-content: center;
        gap: 8px;
        opacity: 0;
        pointer-events: none;
        transition: opacity .3s ease;
    }
    .nav-open .site-nav { opacity: 1; pointer-events: auto; }
    .site-nav .nav { flex-direction: column; gap: 8px; }
    .site-nav .nav a, .site-nav > a { font-size: 1.2rem; padding: 12px 24px; }
    .nav-cta { margin-left: 0; margin-top: 12px; }

    .hero { min-height: 88vh; }
    .hero-actions .btn { width: 100%; max-width: 320px; }

    .themes { padding: 70px 0 60px; }
    .latest { padding: 60px 0 70px; }
    .quote-section { padding: 80px 24px; }
    .newsletter { padding: 70px 0; }
    .post-header { padding: 140px 0 60px; }
    .page-hero { padding: 130px 0 50px; }
    .post-feature-image { margin-top: -36px; }
}

@media (max-width: 480px) {
    .footer-inner { grid-template-columns: 1fr; gap: 36px; }
    .post-grid { grid-template-columns: 1fr; }
}
