/* kleintier-ratgeber.de – Site-Design (ergänzt Astra, ohne Theme-Dateien zu ändern) */

:root {
    --kr-green: #2f6b57;
    --kr-green-dark: #1f4a3c;
    --kr-green-50: #eaf3ef;
    --kr-green-100: #d5e8df;
    --kr-hay: #e7a83e;
    --kr-hay-dark: #c98a1f;
    --kr-hay-50: #fdf3e1;
    --kr-coral: #d9714f;
    --kr-coral-50: #fbece6;
    --kr-ink: #22302b;
    --kr-muted: #5b6b64;
    --kr-bg: #fbf8f2;
    --kr-card: #ffffff;
    --kr-line: #e8e1d3;
    --kr-radius: 16px;
    --kr-radius-sm: 10px;
    --kr-shadow: 0 1px 2px rgba(34, 48, 43, .06), 0 8px 24px rgba(34, 48, 43, .07);
    --kr-shadow-lg: 0 2px 4px rgba(34, 48, 43, .06), 0 18px 40px rgba(34, 48, 43, .12);
    --kr-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --kr-font-head: "Nunito", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* Grundlayout --------------------------------------------------------------------------------------------------- */
body.kr-site {
    background: var(--kr-bg);
    color: var(--kr-ink);
    font-family: var(--kr-font);
    font-size: 17px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
body.kr-site,
body.kr-site .site-content,
body.kr-site .ast-separate-container,
body.kr-site #primary {
    background-color: var(--kr-bg);
}
body.kr-site h1, body.kr-site h2, body.kr-site h3, body.kr-site h4,
body.kr-site .entry-content h1, body.kr-site .entry-content h2, body.kr-site .entry-content h3, body.kr-site .entry-content h4,
body.kr-site .entry-title {
    font-family: var(--kr-font-head);
    font-weight: 800;
    color: var(--kr-ink);
    letter-spacing: -.01em;
    line-height: 1.25;
}
body.kr-site .entry-content h2 { font-size: 1.75rem; margin: 2.4em 0 .7em; }
body.kr-site .entry-content h3 { font-size: 1.3rem; margin: 1.8em 0 .5em; }
body.kr-site .entry-content h4 { font-size: 1.1rem; margin: 1.5em 0 .4em; }
body.kr-site a { color: var(--kr-green); text-underline-offset: .18em; }
body.kr-site a:hover, body.kr-site a:focus { color: var(--kr-green-dark); }
body.kr-site .entry-content a:not(.kr-btn):not(.kr-card a) { text-decoration: underline; text-decoration-color: rgba(47, 107, 87, .35); text-decoration-thickness: 2px; }
body.kr-site .entry-content a:not(.kr-btn):hover { text-decoration-color: var(--kr-green); }
body.kr-site :focus-visible { outline: 3px solid var(--kr-hay); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--kr-green-100); }

/* Header -------------------------------------------------------------------------------------------------------- */
body.kr-site #masthead {
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 var(--kr-line);
}
body.admin-bar.kr-site #masthead { top: 32px; }
body.kr-site .main-header-bar,
body.kr-site .ast-primary-header-bar,
body.kr-site .ast-mobile-header-wrap .ast-primary-header-bar {
    background: rgba(255, 255, 255, .97);
    border-bottom: 0;
}
body.kr-site .site-primary-header-wrap { min-height: 76px; }
.kr-logo { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none !important; }
.kr-logo__mark { width: 44px; height: 44px; flex: none; }
.kr-logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.kr-logo__name { font-family: var(--kr-font-head); font-weight: 800; font-size: 1.32rem; color: var(--kr-ink); letter-spacing: -.01em; }
.kr-logo__name span { color: var(--kr-green); }
.kr-logo__claim { font-size: .74rem; color: var(--kr-muted); margin-top: 3px; letter-spacing: .01em; }
body.kr-site .site-logo-img img.kr-logo__mark { max-width: 44px; }

body.kr-site .main-header-menu .menu-link,
body.kr-site .ast-builder-menu-1 .menu-item > .menu-link {
    font-weight: 600;
    font-size: .95rem;
    color: var(--kr-ink);
    padding: 0 .85em;
}
body.kr-site .ast-builder-menu-1 .menu-item:hover > .menu-link,
body.kr-site .ast-builder-menu-1 .menu-item.current-menu-item > .menu-link,
body.kr-site .ast-builder-menu-1 .menu-item.current-menu-ancestor > .menu-link,
body.kr-site .ast-builder-menu-1 .menu-item.current-post-ancestor > .menu-link {
    color: var(--kr-green);
}
body.kr-site .ast-builder-menu-1 .main-header-menu > .menu-item > .menu-link { position: relative; }
body.kr-site .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-item > .menu-link::after,
body.kr-site .ast-builder-menu-1 .main-header-menu > .menu-item.current-menu-ancestor > .menu-link::after,
body.kr-site .ast-builder-menu-1 .main-header-menu > .menu-item.current-post-ancestor > .menu-link::after {
    content: "";
    position: absolute;
    left: .85em;
    right: .85em;
    bottom: 18px;
    height: 3px;
    border-radius: 3px;
    background: var(--kr-hay);
}
body.kr-site .main-header-menu .sub-menu {
    border: 1px solid var(--kr-line);
    border-radius: var(--kr-radius-sm);
    box-shadow: var(--kr-shadow-lg);
    padding: .4rem 0;
    background: #fff;
}
body.kr-site .main-header-menu .sub-menu .menu-link { padding: .55em 1.2em; font-weight: 500; }
body.kr-site .main-header-menu .sub-menu .menu-item:hover > .menu-link { background: var(--kr-green-50); }

/* Mobile-Menü */
body.kr-site .ast-header-break-point .main-header-bar-navigation,
body.kr-site .ast-mobile-header-content,
body.kr-site #ast-mobile-header .ast-mobile-header-content { background: #fff; border-top: 1px solid var(--kr-line); }
body.kr-site .ast-mobile-header-content .menu-item > .menu-link,
body.kr-site .ast-header-break-point .main-navigation .menu-item > .menu-link {
    color: var(--kr-ink);
    font-weight: 600;
    padding: .8em 20px;
    border-bottom: 1px solid var(--kr-line);
}
body.kr-site .ast-mobile-header-content .sub-menu .menu-link { font-weight: 500; padding-left: 36px; }
body.kr-site .ast-button-wrap .menu-toggle,
body.kr-site .ast-mobile-menu-trigger-minimal { color: var(--kr-green) !important; }
body.kr-site .ast-button-wrap .menu-toggle .ast-mobile-svg { fill: var(--kr-green); }

/* Inhaltsbereich ------------------------------------------------------------------------------------------------ */
body.kr-site.single-post .site-content > .ast-container,
body.kr-site.page:not(.kr-home) .site-content > .ast-container { padding-top: 1.5rem; padding-bottom: 3rem; }
body.kr-site.single-post .entry-content,
body.kr-site.page:not(.kr-home) .entry-content { font-size: 1.06rem; }
body.kr-site .entry-content p, body.kr-site .entry-content li { color: #2c3a35; }
body.kr-site .entry-content ul.wp-block-list li, body.kr-site .entry-content ol.wp-block-list li { margin-bottom: .35em; }
body.kr-site .entry-content ul.wp-block-list li::marker { color: var(--kr-green); }
body.kr-site .entry-content ol.wp-block-list li::marker { color: var(--kr-green); font-weight: 700; }
body.kr-site .entry-content strong { color: var(--kr-ink); }

body.kr-site .entry-header .entry-title,
body.kr-site.single-post .entry-title { font-size: clamp(1.9rem, 4.2vw, 2.7rem); line-height: 1.15; margin-bottom: .4rem; }
body.kr-site.page:not(.kr-home) .entry-title { font-size: clamp(1.8rem, 4vw, 2.4rem); }
body.kr-site.single-post .ast-single-post-order,
body.kr-site.single-post .entry-header { margin-bottom: 1.2rem; }
body.kr-site.single .post-thumb-img-content,
body.kr-site.single .ast-single-post-featured-section { margin: 1.4rem 0 .4rem; }
body.kr-site.single .post-thumb-img-content img,
body.kr-site.single .ast-single-post-featured-section img {
    border-radius: var(--kr-radius);
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    box-shadow: var(--kr-shadow);
}
.kr-credit, body.kr-site .wp-block-image figcaption.wp-element-caption {
    display: block;
    font-size: .74rem;
    line-height: 1.4;
    color: var(--kr-muted);
    margin: .5rem 0 1.4rem;
    text-align: left;
}
.kr-credit a, body.kr-site .wp-block-image figcaption a { color: var(--kr-muted) !important; text-decoration: none !important; }
body.kr-site .entry-content .wp-block-image { margin: 2rem 0 1.5rem; }
body.kr-site .entry-content .wp-block-image img { border-radius: var(--kr-radius); box-shadow: var(--kr-shadow); width: 100%; height: auto; }

/* Brotkrumen & Meta */
.kr-breadcrumb { font-size: .85rem; color: var(--kr-muted); margin: 0 0 1rem; }
.kr-breadcrumb a { color: var(--kr-muted) !important; text-decoration: none; }
.kr-breadcrumb a:hover { color: var(--kr-green) !important; text-decoration: underline; }
.kr-breadcrumb .breadcrumb_last { color: var(--kr-ink); }
.kr-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1.1rem; font-size: .88rem; color: var(--kr-muted); margin: .3rem 0 .2rem; }
.kr-meta__cat {
    background: var(--kr-green-50);
    color: var(--kr-green) !important;
    font-weight: 700;
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: .28rem .7rem;
    border-radius: 99px;
    text-decoration: none !important;
}
.kr-meta__item { display: inline-flex; align-items: center; gap: .35rem; }
.kr-meta__icon { width: 16px; height: 16px; }
.kr-meta a { color: var(--kr-muted); }
body.kr-site.single-post .entry-meta { display: none; }

/* Werbehinweis */
.kr-disclosure {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--kr-line);
    border-radius: var(--kr-radius-sm);
    padding: .75rem 1rem;
    font-size: .84rem !important;
    line-height: 1.55;
    color: var(--kr-muted) !important;
    margin: 0 0 1.6rem !important;
}
.kr-disclosure__icon { width: 20px; height: 20px; flex: none; color: var(--kr-hay-dark); margin-top: 1px; }
.kr-disclosure strong { color: var(--kr-ink); }

/* Inhaltsverzeichnis */
.kr-toc { margin: 1.8rem 0 2rem; }
.kr-toc details { background: #fff; border: 1px solid var(--kr-line); border-radius: var(--kr-radius); padding: 1rem 1.3rem; box-shadow: var(--kr-shadow); }
.kr-toc summary {
    cursor: pointer;
    font-family: var(--kr-font-head);
    font-weight: 800;
    font-size: 1.08rem;
    display: flex;
    align-items: center;
    gap: .55rem;
    list-style: none;
}
.kr-toc summary::-webkit-details-marker { display: none; }
.kr-toc summary::after { content: "–"; margin-left: auto; color: var(--kr-muted); font-weight: 700; }
.kr-toc details:not([open]) summary::after { content: "+"; }
.kr-toc__icon { width: 20px; height: 20px; color: var(--kr-green); }
.kr-toc ol { margin: .8rem 0 .2rem 1.25rem; padding: 0; columns: 2; column-gap: 2.2rem; }
.kr-toc li { margin: 0 0 .35rem; break-inside: avoid; font-size: .95rem; }
.kr-toc li::marker { color: var(--kr-green); font-weight: 700; }
.kr-toc a { text-decoration: none !important; color: var(--kr-ink) !important; }
.kr-toc a:hover { color: var(--kr-green) !important; text-decoration: underline !important; }
html { scroll-padding-top: 100px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Hinweisboxen (> !tipp / !achtung / !fazit) */
body.kr-site .kr-note {
    position: relative;
    border-radius: var(--kr-radius);
    padding: 1.15rem 1.35rem 1.15rem 1.35rem;
    margin: 1.8rem 0;
    background: var(--kr-green-50);
    border-left: 5px solid var(--kr-green);
}
body.kr-site .kr-note p:last-child, body.kr-site .kr-note ul:last-child { margin-bottom: 0; }
body.kr-site .kr-note ul { margin: .3rem 0 .6rem 1.2rem; }
.kr-note__title { display: block; font-family: var(--kr-font-head); font-weight: 800; font-size: 1.05rem; margin-bottom: .35rem; color: var(--kr-green-dark); }
body.kr-site .kr-note--warn { background: var(--kr-coral-50); border-left-color: var(--kr-coral); }
body.kr-site .kr-note--warn .kr-note__title { color: #a6472b; }
body.kr-site .kr-note--key { background: var(--kr-hay-50); border-left-color: var(--kr-hay); }
body.kr-site .kr-note--key .kr-note__title { color: #8a5b0c; }

/* FAQ */
body.kr-site .kr-faq { margin: 1.2rem 0 2rem; display: grid; gap: .7rem; }
.kr-faq details { background: #fff; border: 1px solid var(--kr-line); border-radius: var(--kr-radius-sm); padding: 0; transition: box-shadow .2s; }
.kr-faq details[open] { box-shadow: var(--kr-shadow); }
.kr-faq summary {
    cursor: pointer;
    list-style: none;
    padding: 1rem 3rem 1rem 1.2rem;
    font-weight: 700;
    color: var(--kr-ink);
    position: relative;
}
.kr-faq summary::-webkit-details-marker { display: none; }
.kr-faq summary::after {
    content: "";
    position: absolute;
    right: 1.2rem;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2.5px solid var(--kr-green);
    border-bottom: 2.5px solid var(--kr-green);
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s;
}
.kr-faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.kr-faq__answer { padding: 0 1.2rem 1rem; }
.kr-faq__answer p { margin-bottom: .6rem; }

/* Tabellen */
body.kr-site .entry-content .wp-block-table { margin: 1.6rem 0 2rem; overflow-x: auto; -webkit-overflow-scrolling: touch; }
body.kr-site .entry-content .wp-block-table table,
.kr-compare table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border: 1px solid var(--kr-line);
    border-radius: var(--kr-radius-sm);
    overflow: hidden;
    font-size: .93rem;
    line-height: 1.5;
}
body.kr-site .entry-content .wp-block-table th,
body.kr-site .entry-content .wp-block-table td,
.kr-compare th, .kr-compare td {
    border: 0;
    border-bottom: 1px solid var(--kr-line);
    padding: .7rem .9rem;
    text-align: left;
    vertical-align: top;
}
body.kr-site .entry-content .wp-block-table thead th,
.kr-compare thead th {
    background: var(--kr-green);
    color: #fff !important;
    font-weight: 700;
    font-size: .86rem;
    white-space: nowrap;
}
body.kr-site .entry-content .wp-block-table tbody tr:nth-child(even) td,
.kr-compare tbody tr:nth-child(even) td,
.kr-compare tbody tr:nth-child(even) th { background: #faf7f0; }
body.kr-site .entry-content .wp-block-table tbody tr:last-child td,
.kr-compare tbody tr:last-child td, .kr-compare tbody tr:last-child th { border-bottom: 0; }
body.kr-site .entry-content .wp-block-table tbody td:first-child { font-weight: 600; color: var(--kr-ink); }
.kr-compare { overflow-x: auto; margin: 1.6rem 0 2rem; -webkit-overflow-scrolling: touch; }
.kr-compare caption { caption-side: top; text-align: left; font-weight: 700; padding: 0 0 .6rem; color: var(--kr-muted); font-size: .9rem; }
.kr-compare tbody th { font-weight: 700; white-space: nowrap; }

/* Buttons ------------------------------------------------------------------------------------------------------- */
.kr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .98rem;
    line-height: 1.2;
    padding: .85rem 1.4rem;
    border-radius: 999px;
    text-decoration: none !important;
    border: 2px solid transparent;
    transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
    cursor: pointer;
}
.kr-btn:hover { transform: translateY(-1px); }
body.kr-site a.kr-btn--amazon {
    background: var(--kr-hay);
    color: #2b1d05 !important;
    box-shadow: 0 2px 0 var(--kr-hay-dark);
}
body.kr-site a.kr-btn--amazon:hover { background: #f0b555; color: #2b1d05 !important; }
body.kr-site a.kr-btn--primary { background: var(--kr-green); color: #fff !important; }
body.kr-site a.kr-btn--primary:hover { background: var(--kr-green-dark); color: #fff !important; }
body.kr-site a.kr-btn--ghost { background: #fff; color: var(--kr-green) !important; border-color: var(--kr-green-100); }
body.kr-site a.kr-btn--ghost:hover { border-color: var(--kr-green); }
.kr-btn--small { font-size: .85rem; padding: .6rem 1rem; }
.kr-btn__icon { width: 16px; height: 16px; }

/* Affiliate-Textlinks */
.kr-aff__star { font-size: .8em; margin-left: 1px; text-decoration: none; display: inline-block; }

/* Produktbox ---------------------------------------------------------------------------------------------------- */
body.kr-site .kr-product {
    background: #fff;
    border: 1px solid var(--kr-line);
    border-radius: var(--kr-radius);
    box-shadow: var(--kr-shadow);
    padding: 1.5rem;
    margin: 2rem 0 1.3rem;
    scroll-margin-top: 110px;
}
.kr-product__head { display: flex; gap: 1.1rem; align-items: flex-start; margin-bottom: .9rem; }
.kr-product__visual {
    position: relative;
    flex: none;
    width: 76px;
    height: 76px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--kr-green-50), #f4efe3);
    display: grid;
    place-items: center;
    color: var(--kr-green);
}
.kr-product__icon { width: 40px; height: 40px; }
.kr-product__rank {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--kr-green);
    color: #fff;
    font-weight: 800;
    font-size: .85rem;
    display: grid;
    place-items: center;
    border: 3px solid #fff;
}
.kr-product__title { min-width: 0; }
.kr-badge {
    display: inline-block;
    background: var(--kr-hay-50);
    color: #8a5b0c;
    border: 1px solid #f3dcae;
    font-weight: 700;
    font-size: .72rem;
    letter-spacing: .05em;
    text-transform: uppercase;
    padding: .2rem .6rem;
    border-radius: 99px;
    margin-bottom: .35rem;
}
body.kr-site .entry-content p.kr-product__name { font-family: var(--kr-font-head); font-weight: 800; font-size: 1.28rem; line-height: 1.25; margin: 0 0 .25rem; color: var(--kr-ink); }
body.kr-site .entry-content p.kr-product__for { font-size: .9rem; color: var(--kr-muted); margin: 0; }
body.kr-site .entry-content p.kr-product__text { margin: 0 0 1rem; }
.kr-product__procon { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem 1.4rem; margin-bottom: 1.1rem; }
body.kr-site .entry-content .kr-pros, body.kr-site .entry-content .kr-cons { list-style: none; margin: 0; padding: 0; }
body.kr-site .entry-content .kr-pros li, body.kr-site .entry-content .kr-cons li { position: relative; padding-left: 1.7rem; font-size: .93rem; line-height: 1.5; margin-bottom: .45rem; }
.kr-li-icon { position: absolute; left: 0; top: 2px; width: 18px; height: 18px; padding: 2px; border-radius: 50%; stroke-width: 3; }
.kr-pros .kr-li-icon { color: #fff; background: #3f8f63; }
.kr-cons .kr-li-icon { color: #fff; background: #c46a4f; }
.kr-product__foot { display: flex; justify-content: flex-end; border-top: 1px dashed var(--kr-line); padding-top: 1rem; }
.kr-missing { background: #fee; border: 1px solid #f99; padding: .5rem; }

/* Empfehlungen auf einen Blick */
body.kr-site .kr-picks {
    background: linear-gradient(160deg, var(--kr-green) 0%, var(--kr-green-dark) 100%);
    border-radius: var(--kr-radius);
    padding: 1.4rem 1.4rem 1.5rem;
    margin: 1.8rem 0 2.2rem;
    color: #fff;
}
body.kr-site .entry-content p.kr-picks__title { color: #fff !important; font-family: var(--kr-font-head); font-weight: 800; font-size: 1.15rem; margin: 0 0 1rem; display: flex; align-items: center; gap: .5rem; }
.kr-picks__star { width: 22px; height: 22px; color: var(--kr-hay); fill: var(--kr-hay); }
.kr-picks__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .8rem; }
.kr-pick { background: #fff; border-radius: var(--kr-radius-sm); padding: 1rem .9rem .9rem; display: flex; flex-direction: column; align-items: center; text-align: center; color: var(--kr-ink); }
.kr-pick__label { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #8a5b0c; background: var(--kr-hay-50); padding: .2rem .55rem; border-radius: 99px; }
.kr-pick__icon { width: 54px; height: 54px; border-radius: 14px; background: var(--kr-green-50); color: var(--kr-green); display: grid; place-items: center; margin: .7rem 0 .5rem; }
.kr-pick__icon svg { width: 30px; height: 30px; }
body.kr-site .entry-content p.kr-pick__name { font-weight: 700; font-size: .95rem; line-height: 1.3; margin: 0 0 .4rem; color: var(--kr-ink); flex: 1; }
body.kr-site .entry-content a.kr-pick__more { font-size: .82rem; margin-bottom: .7rem; color: var(--kr-green) !important; }

/* Karten -------------------------------------------------------------------------------------------------------- */
.kr-cards { display: grid; gap: 1.4rem; }
.kr-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.kr-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.kr-card {
    background: #fff;
    border: 1px solid var(--kr-line);
    border-radius: var(--kr-radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}
.kr-card:hover { transform: translateY(-3px); box-shadow: var(--kr-shadow-lg); }
.kr-card__media { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--kr-green-50); }
.kr-card__media img, .kr-card__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.kr-card:hover .kr-card__media img { transform: scale(1.04); }
.kr-card__placeholder { display: grid; place-items: center; height: 100%; color: var(--kr-green); }
.kr-card__placeholder svg { width: 48px; height: 48px; }
.kr-card__body { padding: 1.05rem 1.2rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.kr-card__cat { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--kr-green); margin-bottom: .35rem; }
body.kr-site .kr-card__title { font-size: 1.12rem !important; line-height: 1.32; margin: 0 0 .45rem !important; font-weight: 800; }
body.kr-site .kr-card__title a { color: var(--kr-ink) !important; text-decoration: none !important; }
body.kr-site .kr-card__title a::after { content: ""; position: absolute; inset: 0; }
.kr-card { position: relative; }
.kr-card__title a:hover { color: var(--kr-green) !important; }
body.kr-site .kr-card__excerpt { font-size: .9rem !important; line-height: 1.55; color: var(--kr-muted) !important; margin: 0 !important; }

/* Redaktionsbox & verwandte Artikel */
.kr-authorbox {
    display: flex;
    gap: 1.1rem;
    background: #fff;
    border: 1px solid var(--kr-line);
    border-radius: var(--kr-radius);
    padding: 1.3rem 1.4rem;
    margin: 3rem 0 0;
    font-size: .95rem;
}
.kr-authorbox__logo { width: 56px; height: 56px; flex: none; }
.kr-authorbox p { margin: 0 0 .55rem; }
.kr-authorbox__title { font-family: var(--kr-font-head); font-weight: 800; font-size: 1.08rem; }
.kr-authorbox__vet { display: flex; gap: .5rem; font-size: .86rem; color: var(--kr-muted); background: var(--kr-hay-50); padding: .6rem .8rem; border-radius: var(--kr-radius-sm); margin: .8rem 0 0 !important; }
.kr-authorbox__icon { width: 18px; height: 18px; flex: none; color: var(--kr-hay-dark); margin-top: 2px; }
.kr-related { margin: 3rem 0 1rem; }
body.kr-site .kr-related__title { font-size: 1.5rem; margin: 0 0 1.2rem; }

/* Kategorie-Archive --------------------------------------------------------------------------------------------- */
.kr-archive { padding: 1.5rem 0 3.5rem; width: 100%; }
.kr-archive__head {
    background: linear-gradient(135deg, var(--kr-green-50) 0%, #f6efe0 100%);
    border-radius: 24px;
    padding: 2.4rem 2.4rem 2.2rem;
    margin-bottom: 2.2rem;
    position: relative;
    overflow: hidden;
}
.kr-archive__head::after {
    content: "";
    position: absolute;
    right: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(231, 168, 62, .18);
}
.kr-eyebrow { display: inline-block; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--kr-green); margin-bottom: .4rem; }
body.kr-site .kr-archive__title { font-size: clamp(2rem, 4.5vw, 2.8rem); margin: 0 0 .6rem; position: relative; z-index: 1; }
.kr-archive__desc { max-width: 760px; font-size: 1.08rem; color: #3b4a44; margin: 0; position: relative; z-index: 1; }
.kr-archive__intro { max-width: 820px; margin: 3rem auto 0; }

/* Sitemap & Bildnachweis */
.kr-sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem 2rem; }
body.kr-site .kr-sitemap h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
body.kr-site .kr-sitemap h2 a { text-decoration: none; color: var(--kr-ink); }
body.kr-site .kr-sitemap ul { margin: 0 0 0 1.1rem; font-size: .95rem; }
.kr-credits { list-style: none; margin: 1.5rem 0 0 !important; padding: 0; display: grid; gap: .8rem; }
.kr-credits li { display: flex; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--kr-line); border-radius: var(--kr-radius-sm); padding: .6rem; font-size: .85rem; line-height: 1.45; }
.kr-credits__thumb { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; flex: none; }

/* Kontakt */
.kr-contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; margin: 1.5rem 0 2rem; }
body.kr-site .kr-contact__item { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--kr-line); border-radius: var(--kr-radius); padding: 1.1rem 1.3rem; text-decoration: none !important; box-shadow: var(--kr-shadow); }
.kr-contact__label { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--kr-green); }
.kr-contact__value { font-size: 1.1rem; font-weight: 700; color: var(--kr-ink); }

/* Footer -------------------------------------------------------------------------------------------------------- */
.kr-footer { background: #1d2b26; color: #c9d3cf; margin-top: 0; font-size: .93rem; }
.kr-footer__inner {
    max-width: 1248px;
    margin: 0 auto;
    padding: 3.5rem 24px 2.2rem;
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 2.2rem;
}
.kr-footer a { color: #e7efe9 !important; text-decoration: none; }
.kr-footer a:hover { color: var(--kr-hay) !important; text-decoration: underline; }
.kr-footer__logo { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--kr-font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: .8rem; }
.kr-footer__brand p { margin: 0 0 .9rem; line-height: 1.6; }
.kr-footer__title { font-family: var(--kr-font-head); font-weight: 800; color: #fff; font-size: 1rem; margin: 0 0 .8rem; }
.kr-footer ul { list-style: none; margin: 0; padding: 0; }
.kr-footer li { margin: 0 0 .5rem; }
.kr-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); }
.kr-footer__bottom p { max-width: 1248px; margin: 0 auto; padding: 1.2rem 24px; font-size: .8rem; color: #9fb0a9; }

/* Astra-Reste */
body.kr-site .ast-scroll-to-top-right { background: var(--kr-green); border-radius: 50%; }
body.kr-site .post-navigation, body.kr-site .ast-single-related-posts-container { display: none; }

/* Cookie-Banner (Complianz) ---------------------------------------------------------------------------------- */
.cmplz-cookiebanner {
    font-family: var(--kr-font) !important;
    box-shadow: 0 10px 40px rgba(34, 48, 43, .22) !important;
}
.cmplz-cookiebanner .cmplz-title { font-family: var(--kr-font-head) !important; font-weight: 800 !important; font-size: 1.1rem !important; color: var(--kr-ink) !important; }
.cmplz-cookiebanner .cmplz-message,
.cmplz-cookiebanner .cmplz-message p { font-size: .88rem !important; line-height: 1.55 !important; color: #3b4a44 !important; }
.cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
    font-family: var(--kr-font) !important;
    font-weight: 700 !important;
    font-size: .88rem !important;
    border-radius: 999px !important;
    height: auto !important;
    min-height: 44px;
    padding: .6rem 1rem !important;
    white-space: normal !important;
    line-height: 1.2 !important;
}
.cmplz-cookiebanner .cmplz-links .cmplz-link,
.cmplz-cookiebanner .cmplz-documents a { color: var(--kr-green) !important; font-size: .8rem !important; }
.cmplz-cookiebanner .cmplz-logo { display: none !important; }
.cmplz-cookiebanner .cmplz-header { margin-bottom: .2rem; }
#cmplz-manage-consent .cmplz-manage-consent { font-family: var(--kr-font) !important; background: var(--kr-green) !important; color: #fff !important; border-color: var(--kr-green) !important; }

/* Responsive ---------------------------------------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .kr-cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kr-footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
    .kr-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 782px) {
    body.admin-bar.kr-site #masthead { top: 0; }
}
@media (max-width: 680px) {
    body.kr-site { font-size: 16px; }
    body.kr-site .entry-content h2 { font-size: 1.45rem; }
    .kr-cards--3, .kr-cards--4 { grid-template-columns: 1fr; }
    .kr-product__procon { grid-template-columns: 1fr; }
    body.kr-site .kr-product { padding: 1.1rem; }
    .kr-product__visual { width: 60px; height: 60px; }
    .kr-product__icon { width: 32px; height: 32px; }
    .kr-product__foot .kr-btn { width: 100%; }
    .kr-toc ol { columns: 1; }
    .kr-footer__inner { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 2.6rem; }
    .kr-archive__head { padding: 1.6rem 1.3rem; border-radius: 18px; }
    .kr-authorbox { flex-direction: column; }
    .kr-logo__claim { display: none; }
    .kr-logo__name { font-size: 1.15rem; }
    .kr-logo__mark { width: 38px; height: 38px; }
    body.kr-site .site-primary-header-wrap { min-height: 64px; }
    .kr-compare th, .kr-compare td { white-space: nowrap; }
}

/* Startseite ---------------------------------------------------------------------------------------------------- */
body.kr-home .site-content > .ast-container { max-width: 100%; padding: 0; }
body.kr-home .entry-content { margin: 0; }
body.kr-home .entry-content > .kr-home { max-width: none; }
.kr-home { --kr-wrap: 1200px; }
.kr-home .kr-section { max-width: var(--kr-wrap); margin: 0 auto; padding: 4.2rem 24px 0; }
.kr-section__head { margin-bottom: 1.8rem; max-width: 760px; }
.kr-section__head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; max-width: none; }
body.kr-site .kr-section__title { font-size: clamp(1.6rem, 3.4vw, 2.2rem) !important; margin: 0 !important; }
.kr-section__lead { color: var(--kr-muted) !important; margin: .8rem 0 0 !important; font-size: 1.05rem; }
.kr-section__more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; text-decoration: none !important; white-space: nowrap; }
.kr-section__more svg { width: 18px; height: 18px; }

/* Hero */
.kr-hero { background: radial-gradient(1200px 500px at 85% 10%, #f6ead2 0%, rgba(246, 234, 210, 0) 60%), linear-gradient(180deg, var(--kr-green-50) 0%, var(--kr-bg) 100%); }
.kr-hero__inner { max-width: 1200px; margin: 0 auto; padding: 3.6rem 24px 3.4rem; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
body.kr-site .kr-hero__title { font-size: clamp(2.2rem, 5vw, 3.4rem) !important; line-height: 1.08 !important; margin: .3rem 0 1.1rem !important; letter-spacing: -.02em; }
body.kr-site .kr-hero__lead { font-size: 1.14rem; color: #3b4a44 !important; margin: 0 0 1.6rem !important; max-width: 560px; }
.kr-hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.6rem; }
body.kr-site .kr-hero__trust { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .9rem; font-weight: 600; color: var(--kr-muted); }
.kr-hero__trust li { display: inline-flex; align-items: center; gap: .4rem; margin: 0 !important; }
.kr-hero__trust svg { width: 18px; height: 18px; color: var(--kr-green); }
.kr-hero__media { position: relative; }
.kr-hero__img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 28px 28px 28px 120px; box-shadow: var(--kr-shadow-lg); display: block; }
.kr-hero__badge {
    position: absolute;
    left: -24px;
    bottom: 26px;
    background: #fff;
    border-radius: var(--kr-radius);
    box-shadow: var(--kr-shadow-lg);
    padding: .9rem 1.1rem;
    display: flex;
    align-items: center;
    gap: .8rem;
    max-width: 300px;
}
.kr-hero__badge-num { font-family: var(--kr-font-head); font-weight: 800; font-size: 1.7rem; color: var(--kr-green); white-space: nowrap; }
.kr-hero__badge-txt { font-size: .82rem; line-height: 1.4; color: var(--kr-muted); }

/* Tierarten */
.kr-animals { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.kr-animal { position: relative; display: block; border-radius: var(--kr-radius); overflow: hidden; text-decoration: none !important; background: #fff; border: 1px solid var(--kr-line); transition: transform .18s ease, box-shadow .18s ease; }
.kr-animal:hover { transform: translateY(-3px); box-shadow: var(--kr-shadow-lg); }
.kr-animal__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--kr-green-50); }
.kr-animal__img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.kr-animal:hover .kr-animal__img { transform: scale(1.05); }
.kr-animal__body { display: flex; flex-direction: column; padding: .8rem 1rem .95rem; }
.kr-animal__name { font-family: var(--kr-font-head); font-weight: 800; font-size: 1.12rem; color: var(--kr-ink); }
.kr-animal__sub { font-size: .83rem; color: var(--kr-muted); }

/* Platzbedarf */
.kr-space__table { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--kr-radius); box-shadow: var(--kr-shadow); }
.kr-space table { width: 100%; border-collapse: collapse; background: #fff; font-size: .94rem; min-width: 720px; margin: 0; }
.kr-space th, .kr-space td { padding: .85rem 1rem; text-align: left; border-bottom: 1px solid var(--kr-line); vertical-align: top; border-left: 0; border-right: 0; border-top: 0; }
.kr-space thead th { background: var(--kr-green); color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; }
.kr-space tbody th a { font-weight: 800; text-decoration: none !important; }
.kr-space tbody tr:nth-child(even) { background: #faf7f0; }
.kr-space tbody tr:last-child th, .kr-space tbody tr:last-child td { border-bottom: 0; }

/* Themen */
.kr-topics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.kr-topic { display: flex; flex-direction: column; gap: .35rem; background: #fff; border: 1px solid var(--kr-line); border-radius: var(--kr-radius); padding: 1.3rem 1.2rem; text-decoration: none !important; transition: transform .18s ease, box-shadow .18s ease, border-color .18s; }
.kr-topic:hover { transform: translateY(-3px); box-shadow: var(--kr-shadow-lg); border-color: var(--kr-green-100); }
.kr-topic__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--kr-green-50); color: var(--kr-green); margin-bottom: .4rem; }
.kr-topic__icon svg { width: 26px; height: 26px; }
.kr-topic__name { font-family: var(--kr-font-head); font-weight: 800; color: var(--kr-ink); font-size: 1.06rem; }
.kr-topic__text { font-size: .86rem; color: var(--kr-muted); line-height: 1.5; }

/* Arbeitsweise */
.kr-promise__inner { background: linear-gradient(150deg, var(--kr-green) 0%, var(--kr-green-dark) 100%); border-radius: 28px; padding: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; color: #e8f1ec; }
body.kr-site .kr-promise .kr-eyebrow { color: var(--kr-hay); }
body.kr-site .kr-promise .kr-section__title { color: #fff !important; margin-bottom: 1rem !important; }
body.kr-site .kr-promise p { color: #dbe8e1 !important; }
body.kr-site .kr-promise a.kr-btn--ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .45); margin-top: .4rem; }
body.kr-site .kr-promise a.kr-btn--ghost:hover { border-color: #fff; }
body.kr-site .kr-promise__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; align-content: center; }
.kr-promise__list li { display: flex; gap: .9rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); border-radius: var(--kr-radius); padding: 1rem 1.1rem; font-size: .95rem; line-height: 1.55; color: #e8f1ec; margin: 0 !important; }
.kr-promise__list svg { width: 26px; height: 26px; flex: none; color: var(--kr-hay); }
body.kr-site .kr-promise__list strong { color: #fff; }

.kr-home-faq { padding-bottom: 4.5rem !important; }
.kr-home-faq .kr-faq { max-width: 860px; }

@media (max-width: 1100px) {
    .kr-topics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
    .kr-hero__inner { grid-template-columns: 1fr; gap: 2rem; padding-top: 2.4rem; }
    .kr-hero__media { order: -1; }
    .kr-hero__img { border-radius: 22px 22px 22px 80px; aspect-ratio: 16 / 10; }
    .kr-hero__badge { left: 12px; bottom: -18px; }
    .kr-animals { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .kr-promise__inner { grid-template-columns: 1fr; padding: 2rem 1.5rem; }
}
@media (max-width: 680px) {
    .kr-home .kr-section { padding-top: 3rem; padding-left: 16px; padding-right: 16px; }
    .kr-hero__inner { padding-left: 16px; padding-right: 16px; }
    .kr-topics { grid-template-columns: 1fr 1fr; }
    .kr-topics .kr-topic:last-child { grid-column: 1 / -1; }
    .kr-animals { gap: .7rem; }
    .kr-animal__body { padding: .6rem .75rem .75rem; }
    .kr-animal__name { font-size: 1rem; }
    .kr-animal__sub { font-size: .76rem; }
    .kr-section__head--row { flex-direction: column; align-items: flex-start; }
}

/* Korrekturen nach Sichtprüfung: Astra färbt .entry-content li/p dunkel → in dunklen Boxen explizit überschreiben */
body.kr-site .entry-content .kr-promise__list li,
body.kr-site .entry-content .kr-promise__list li span { color: #e8f1ec !important; }
body.kr-site .entry-content .kr-promise__list strong { color: #fff !important; }
body.kr-site .entry-content .kr-promise p { color: #dbe8e1 !important; }
/* Schwebender Complianz-Tab überlagert Inhalte – Einstellungen sind über den Footer-Link erreichbar */
#cmplz-manage-consent .cmplz-manage-consent { display: none !important; }
body.kr-site .kr-hero__title { font-size: clamp(2.1rem, 4.4vw, 3.1rem) !important; }
/* Complianz fokussiert beim Öffnen den Schließen-Button – dezenter Fokusrahmen statt Akzentfarbe */
.cmplz-cookiebanner .cmplz-close { color: var(--kr-muted) !important; }
.cmplz-cookiebanner .cmplz-close:focus, .cmplz-cookiebanner .cmplz-close:focus-visible { outline: 2px solid var(--kr-green-100) !important; outline-offset: 2px; border-radius: 6px; }
.cmplz-cookiebanner .cmplz-close svg { width: 16px !important; height: 16px !important; }
@media (max-width: 680px) {
    .kr-picks__grid { grid-template-columns: 1fr 1fr; gap: .6rem; }
    body.kr-site .kr-picks { padding: 1.1rem .9rem 1.1rem; }
    .kr-pick { padding: .8rem .6rem .7rem; }
    .kr-pick__icon { width: 44px; height: 44px; margin: .5rem 0 .4rem; }
    body.kr-site .entry-content p.kr-pick__name { font-size: .86rem; }
    .kr-pick .kr-btn--small { font-size: .76rem; padding: .5rem .7rem; }
}
