/* ==========================================================================
   Katzenlaufrad Affiliate – verspieltes "Petory"-inspiriertes Design
   Hell, freundlich, voll responsive. Keine externen Schriften (DSGVO).
   ========================================================================== */

:root {
	--klr-bg:       #fff8f1;
	--klr-surface:  #ffffff;
	--klr-peach:    #fdeadd;
	--klr-mint:     #e6f6f2;
	--klr-text:     #463f4f;
	--klr-muted:    #847b91;
	--klr-head:     #2a2233;
	--klr-primary:  #ff7a59;
	--klr-primary-d:#f2613d;
	--klr-teal:     #2bb6a3;
	--klr-teal-d:   #1f9a89;
	--klr-yellow:   #ffc24b;
	--klr-border:   #f1e4d6;
	--klr-shadow:   rgba(120, 80, 50, .12);
	--klr-radius:   24px;
	--klr-sans:     "Trebuchet MS", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

/* Grundlayout – greift sanft ins Theme ein */
body.klr-site { background: var(--klr-bg); color: var(--klr-text); font-family: var(--klr-sans); overflow-x: hidden; }
body.klr-site h1, body.klr-site h2, body.klr-site h3 { color: var(--klr-head); }

/* Theme-Seitentitel (z. B. "Startseite") auf statischen Seiten ausblenden.
   Produkt-/Beitragstitel (single-...) bleiben erhalten. */
body.page .wp-block-post-title,
body.page .wp-block-post-title.wp-block-post-title { display: none; }

/* Vollbreite-Sektion (bricht aus der Theme-Spalte aus).
   max-width:none ist entscheidend – sonst kappt die Theme-Regel
   (.is-layout-constrained > *) die Breite auf die Content-Spalte. */
.klr-full {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
.klr-wrap { max-width: 1180px; margin-inline: auto; padding-inline: 22px; }
.klr-band { padding: clamp(48px, 7vw, 92px) 0; position: relative; overflow: hidden; }
.klr-band--peach { background: var(--klr-peach); }
.klr-band--mint  { background: var(--klr-mint); }
.klr-center { text-align: center; }

/* gemeinsame Bausteine */
.klr-eyebrow {
	display: inline-block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
	color: var(--klr-primary); font-weight: 800; margin-bottom: 12px;
}
.klr-eyebrow::before { content: "🐾 "; }
.klr-h2 { font-size: clamp(27px, 4.2vw, 42px); line-height: 1.12; font-weight: 800; margin: 0 0 16px; color: var(--klr-head); letter-spacing: -.01em; }
.klr-lead { font-size: 18px; line-height: 1.7; color: var(--klr-muted); max-width: 680px; }
.klr-center .klr-lead { margin-inline: auto; }

/* Pfoten-/Blob-Deko */
.klr-blob { position: absolute; border-radius: 42% 58% 63% 37% / 47% 38% 62% 53%; filter: blur(2px); opacity: .5; z-index: 0; pointer-events: none; }
.klr-blob.b1 { width: 320px; height: 320px; background: var(--klr-peach); top: -90px; right: -80px; }
.klr-blob.b2 { width: 240px; height: 240px; background: var(--klr-mint); bottom: -70px; left: -60px; }
.klr-band > .klr-wrap { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.klr-btn, .klr-btn-ghost {
	display: inline-block; padding: 15px 30px; border-radius: 999px;
	font-weight: 800; font-size: 16px; text-decoration: none; text-align: center;
	cursor: pointer; border: 3px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.klr-btn { background: var(--klr-primary); color: #fff !important; box-shadow: 0 10px 22px rgba(255,122,89,.35); }
.klr-btn:hover { background: var(--klr-primary-d); transform: translateY(-3px); }
.klr-btn-ghost { background: #fff; color: var(--klr-head) !important; border-color: var(--klr-border); }
.klr-btn-ghost:hover { border-color: var(--klr-primary); color: var(--klr-primary) !important; transform: translateY(-3px); }
.klr-nolink { font-size: 13px; color: var(--klr-primary-d); font-style: italic; font-weight: 700; }

/* ---------- HERO ---------- */
.klr-hero { background: linear-gradient(165deg, var(--klr-peach), var(--klr-bg) 60%); }
.klr-hero .klr-hero-inner {
	max-width: 1180px; margin-inline: auto; padding: clamp(40px,7vw,96px) 22px;
	display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px,4vw,56px); align-items: center; position: relative; z-index: 1;
}
.klr-hero h1 { font-size: clamp(34px, 6vw, 62px); line-height: 1.05; font-weight: 800; letter-spacing: -.02em; margin: 0 0 18px; color: var(--klr-head); }
.klr-hero h1 .hl { color: var(--klr-primary); }
.klr-hero p { font-size: clamp(16px, 2.2vw, 20px); line-height: 1.65; color: var(--klr-muted); margin: 0 0 28px; max-width: 52ch; }
.klr-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.klr-hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.klr-hero-circle {
	width: min(420px, 78vw); aspect-ratio: 1; border-radius: 46% 54% 57% 43% / 53% 46% 54% 47%;
	background: radial-gradient(circle at 35% 30%, #fff, var(--klr-mint));
	box-shadow: 0 30px 60px var(--klr-shadow); display: flex; align-items: center; justify-content: center;
	font-size: clamp(110px, 22vw, 190px); line-height: 1;
}
.klr-hero-badge {
	position: absolute; background: #fff; border-radius: 18px; padding: 12px 16px; font-weight: 800; color: var(--klr-head);
	box-shadow: 0 12px 26px var(--klr-shadow); font-size: 14px; display: flex; align-items: center; gap: 8px;
}
.klr-hero-badge .e { font-size: 22px; }
.klr-hero-badge.bg-a { top: 8%; left: -2%; }
.klr-hero-badge.bg-b { bottom: 10%; right: -2%; }

/* ---------- Benefits / Icon-Karten ---------- */
.klr-benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 26px; margin-top: 38px; }
.klr-benefit {
	background: var(--klr-surface); border-radius: var(--klr-radius); padding: 34px 26px; text-align: center;
	box-shadow: 0 12px 30px var(--klr-shadow); border: 1px solid var(--klr-border); transition: transform .18s ease;
}
.klr-benefit:hover { transform: translateY(-6px); }
.klr-benefit-icon {
	width: 76px; height: 76px; border-radius: 50%; margin: 0 auto 18px; display: flex; align-items: center; justify-content: center; font-size: 36px;
}
.klr-benefit:nth-child(4n+1) .klr-benefit-icon { background: var(--klr-peach); }
.klr-benefit:nth-child(4n+2) .klr-benefit-icon { background: var(--klr-mint); }
.klr-benefit:nth-child(4n+3) .klr-benefit-icon { background: #fff1cf; }
.klr-benefit:nth-child(4n)   .klr-benefit-icon { background: #ffe3da; }
.klr-benefit h3 { font-size: 20px; font-weight: 800; margin: 0 0 8px; }
.klr-benefit p { font-size: 15px; line-height: 1.6; color: var(--klr-muted); margin: 0; }

/* ---------- Produkt-Feature-Bänder ---------- */
.klr-feature { padding: clamp(44px, 7vw, 96px) 0; position: relative; overflow: hidden; }
.klr-feature.klr-band--peach, .klr-feature.klr-band--mint { }
.klr-feature-inner {
	max-width: 1180px; margin-inline: auto; padding-inline: 22px;
	display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,76px); align-items: center; position: relative; z-index: 1;
}
.klr-feature.reverse .klr-feature-media { order: 2; }
.klr-feature-media { position: relative; display: flex; justify-content: center; }
.klr-feature-media img {
	width: 100%; border-radius: 30px; box-shadow: 0 26px 60px var(--klr-shadow); display: block;
}
.klr-feature-media .klr-noimg {
	width: 100%; aspect-ratio: 4/3; border-radius: 30px; background: var(--klr-surface);
	border: 2px dashed var(--klr-border); display: flex; align-items: center; justify-content: center;
	color: var(--klr-muted); text-align: center; padding: 20px; font-weight: 600;
}
.klr-feature-rank {
	position: absolute; top: -16px; left: -16px; width: 58px; height: 58px; border-radius: 50%;
	background: var(--klr-yellow); color: var(--klr-head); display: flex; align-items: center; justify-content: center;
	font-size: 26px; font-weight: 800; box-shadow: 0 10px 22px rgba(255,194,75,.5); z-index: 2;
}
.klr-feature-body { min-width: 0; }
.klr-brand { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--klr-teal); font-weight: 800; margin-bottom: 8px; }
.klr-feature-title { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; font-weight: 800; margin: 0 0 8px; color: var(--klr-head); }
.klr-feature-tag { font-size: 17px; font-style: italic; color: var(--klr-primary); margin: 0 0 14px; font-weight: 700; }
.klr-desc { font-size: 16px; line-height: 1.75; margin: 0 0 16px; }
.klr-spec { font-size: 14.5px; color: var(--klr-muted); margin: 0 0 14px; font-weight: 600; }
.klr-feature-pros { margin: 0 0 22px; padding: 0; }
.klr-feature-pros li { list-style: none; position: relative; padding-left: 30px; font-size: 15.5px; line-height: 1.5; margin: 9px 0; }
.klr-feature-pros li::before { content: "🐾"; position: absolute; left: 0; top: 0; font-size: 14px; }
.klr-feature-cta { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.klr-feature-price { font-size: 15px; color: var(--klr-muted); }
.klr-feature-price strong { color: var(--klr-head); font-size: 18px; }

/* Sterne */
.klr-stars { font-size: 17px; color: #e7ddd0; letter-spacing: 1px; display: inline-block; margin-bottom: 12px; }
.klr-stars .is-on { color: var(--klr-yellow); }
.klr-rating-num { color: var(--klr-muted); font-size: 13px; margin-left: 6px; font-weight: 700; }

.klr-disclosure { font-size: 11.5px; color: var(--klr-muted); margin-top: 12px; line-height: 1.45; }
.klr-more { font-size: 14px; margin: 6px 0 0; }
.klr-more a { color: var(--klr-primary); text-decoration: none; font-weight: 700; }

/* ---------- Stats-Strip ---------- */
.klr-stats { background: var(--klr-teal); }
.klr-stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 26px; text-align: center; }
.klr-stat .n { font-size: clamp(34px, 5vw, 52px); font-weight: 800; color: #fff; line-height: 1; }
.klr-stat .l { font-size: 15px; color: rgba(255,255,255,.9); margin-top: 8px; font-weight: 600; }

/* ---------- Tabellen ---------- */
.klr-table-wrap { overflow-x: auto; margin: 26px 0; border-radius: var(--klr-radius); box-shadow: 0 12px 30px var(--klr-shadow); background: var(--klr-surface); }
.klr-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.klr-table th, .klr-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--klr-border); vertical-align: middle; }
.klr-table thead th { background: var(--klr-head); color: #fff; font-weight: 700; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; }
.klr-table tbody tr:nth-child(even) { background: var(--klr-peach); }
.klr-table tbody tr:last-child td { border-bottom: 0; }
.klr-table a { color: var(--klr-primary); text-decoration: none; font-weight: 700; }
.klr-table .klr-btn { padding: 9px 18px; font-size: 13px; white-space: nowrap; box-shadow: none; border-width: 2px; }
.klr-badge { display: inline-block; padding: 3px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 800; }
.klr-badge.s { background: var(--klr-mint); color: var(--klr-teal-d); }
.klr-badge.m { background: #fff1cf; color: #b5852a; }
.klr-badge.l { background: #ffe0d8; color: var(--klr-primary-d); }

/* ---------- Tipp-Karten ---------- */
.klr-tips { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; margin-top: 32px; }
.klr-tip { background: var(--klr-surface); border-radius: var(--klr-radius); padding: 28px; box-shadow: 0 12px 28px var(--klr-shadow); border: 1px solid var(--klr-border); }
.klr-tip .num { display: inline-flex; width: 46px; height: 46px; border-radius: 50%; background: var(--klr-peach); color: var(--klr-primary-d); align-items: center; justify-content: center; font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.klr-tip h3 { font-size: 19px; font-weight: 800; margin: 0 0 8px; }
.klr-tip p { font-size: 14.5px; line-height: 1.6; color: var(--klr-muted); margin: 0; }

/* ---------- FAQ ---------- */
.klr-faq { max-width: 820px; margin: 30px auto 0; }
.klr-faq details { background: var(--klr-surface); border: 1px solid var(--klr-border); border-radius: 16px; margin-bottom: 14px; box-shadow: 0 6px 18px var(--klr-shadow); overflow: hidden; }
.klr-faq summary { cursor: pointer; padding: 20px 24px; font-weight: 800; font-size: 17px; color: var(--klr-head); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.klr-faq summary::-webkit-details-marker { display: none; }
.klr-faq summary::after { content: "+"; font-size: 26px; color: var(--klr-primary); font-weight: 700; line-height: 1; }
.klr-faq details[open] summary::after { content: "–"; }
.klr-faq .a { padding: 0 24px 22px; font-size: 15.5px; line-height: 1.7; color: var(--klr-muted); }

/* ---------- CTA-Banner ---------- */
.klr-cta { background: linear-gradient(120deg, var(--klr-primary), var(--klr-yellow)); }
.klr-cta .klr-wrap { text-align: center; }
.klr-cta h2 { color: #fff; font-size: clamp(26px, 4vw, 42px); font-weight: 800; margin: 0 0 14px; }
.klr-cta p { color: rgba(255,255,255,.95); font-size: 18px; max-width: 560px; margin: 0 auto 26px; line-height: 1.6; }
.klr-cta .klr-btn { background: #fff; color: var(--klr-primary-d) !important; box-shadow: 0 12px 26px rgba(0,0,0,.18); }
.klr-cta .klr-btn:hover { background: var(--klr-head); color: #fff !important; }

/* ---------- Einzel-Produktkarte (Shortcode klr_produkt / klr_top) ---------- */
.klr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 26px; margin: 26px 0; }
.klr-grid-1 { grid-template-columns: minmax(0, 480px); }
.klr-card { display: flex; flex-direction: column; background: var(--klr-surface); border: 1px solid var(--klr-border); border-radius: var(--klr-radius); overflow: hidden; box-shadow: 0 12px 28px var(--klr-shadow); }
.klr-card-media { background: var(--klr-peach); aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.klr-card-img { width: 100%; height: 100%; object-fit: cover; }
.klr-noimg { color: var(--klr-muted); font-size: 14px; }
.klr-card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; }
.klr-card-title { font-size: 21px; font-weight: 800; margin: 0; }
.klr-pros, .klr-cons { margin: 4px 0; padding-left: 22px; font-size: 14.5px; line-height: 1.5; }
.klr-pros li, .klr-cons li { list-style: none; position: relative; }
.klr-pros li::before { content: "🐾"; position: absolute; left: -20px; }
.klr-cons li::before { content: "✕"; position: absolute; left: -20px; color: var(--klr-primary-d); font-weight: 700; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
	.klr-hero .klr-hero-inner { grid-template-columns: 1fr; text-align: center; gap: 30px; }
	.klr-hero p { margin-inline: auto; }
	.klr-hero-actions { justify-content: center; }
	.klr-hero-visual { order: -1; }
}
@media (max-width: 860px) {
	.klr-feature-inner { grid-template-columns: 1fr; gap: 28px; }
	.klr-feature.reverse .klr-feature-media { order: 0; }
}
@media (max-width: 660px) {
	.klr-table thead { display: none; }
	.klr-table, .klr-table tbody, .klr-table tr, .klr-table td { display: block; width: 100%; }
	.klr-table tr { border-bottom: 8px solid var(--klr-bg); }
	.klr-table td { display: flex; justify-content: space-between; gap: 16px; text-align: right; }
	.klr-table td::before { content: attr(data-label); font-weight: 800; color: var(--klr-muted); text-align: left; }
	.klr-btn, .klr-btn-ghost { width: 100%; }
	.klr-feature-cta .klr-btn { width: auto; }
}
