/*
Theme Name: CheckNR1 Neu
Theme URI: https://checknr1.de/
Author: Check Nummer 1
Description: Theme für den Tarifvergleich von Check Nummer 1 – Angebotsverwaltung mit Ablaufdatum, Empfehlungen, Ratgeber und Vergleichsrechner mehrerer Partner.
Version: 1.3.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: checknr1
*/

:root {
	--navy: #142240;
	--navy-2: #1e3157;
	--navy-3: #2c4470;
	--orange: #ffb72e;
	--orange-2: #f5a300;
	--ink: #18263b;
	--muted: #5a6a80;
	--line: #dfe5ee;
	--pale: #f3f6fa;
	--white: #fff;
	--green: #1a8f5c;
	--red: #c2410c;
	--btn: #0b5ed7;
	--btn-hover: #0947a8;
	--btn-text: #ffffff;
	--r: 8px;
	--r-lg: 12px;
	--max: 1200px;
	--font-head: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--sh: 0 1px 2px rgba(20, 34, 64, .06), 0 2px 8px rgba(20, 34, 64, .05);
	--sh-2: 0 4px 20px rgba(20, 34, 64, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 16px/1.55 var(--font); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-3); text-underline-offset: 2px; }
a:hover { color: var(--navy); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.9rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
svg.i { width: 20px; height: 20px; flex: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 56px 0; }
.section--pale { background: var(--pale); }
.section--tight { padding: 36px 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 6px 0 0; color: var(--muted); max-width: 640px; }
.sec-link { font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.sec-link svg { width: 16px; height: 16px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 1000; background: #fff; padding: 8px 14px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: var(--r); border: 1px solid transparent; font: 600 1rem/1.2 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, color .15s; white-space: nowrap; }
.btn--primary { background: var(--btn); color: var(--btn-text); box-shadow: 0 1px 2px rgba(11, 94, 215, .25); }
.btn--primary:hover { background: var(--btn-hover); color: var(--btn-text); }
.btn--navy { background: var(--navy); color: #fff; }
.btn--navy:hover { background: var(--navy-3); color: #fff; }
.btn--outline { border-color: var(--line); background: #fff; color: var(--navy); }
.btn--outline:hover { border-color: var(--navy); color: var(--navy); }
.btn--block { width: 100%; }
.btn--sm { min-height: 38px; padding: 7px 14px; font-size: .92rem; }

/* Topbar & Header */
.topbar { background: var(--navy); color: #c8d3e4; font-size: .84rem; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 7px; padding-bottom: 7px; }
.topbar ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; flex-wrap: wrap; }
.topbar li { display: inline-flex; align-items: center; gap: 6px; }
.topbar svg { width: 14px; height: 14px; color: var(--orange); }
.topbar a { color: #fff; text-decoration: none; }
@media (max-width: 760px) { .topbar ul:first-child li:nth-child(n+2) { display: none; } }

.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.site-header__inner { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.site-logo { display: flex; align-items: center; text-decoration: none; flex: none; }
.site-logo img { height: 46px; width: auto; }
.main-nav { flex: 1; }
.main-nav ul { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; }
.main-nav a { display: block; padding: 10px 12px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .97rem; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--navy); border-bottom-color: var(--orange); }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--navy); line-height: 1.2; }
.header-phone svg { width: 22px; height: 22px; color: var(--navy); }
.header-phone strong { display: block; font-size: 1rem; }
.header-phone span { font-size: .78rem; color: var(--muted); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; }
@media (max-width: 1020px) {
	.header-phone span { display: none; }
	.nav-toggle { display: block; }
	.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; }
	.site-header__inner { justify-content: space-between; }
}

/* Hero mit Suchbox */
.hero { position: relative; background: var(--navy); color: #fff; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: 60% center; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,34,64,.96) 0%, rgba(20,34,64,.88) 38%, rgba(20,34,64,.25) 75%, rgba(20,34,64,.1) 100%); }
.hero__inner { position: relative; padding: 64px 24px 132px; }
.hero__text { max-width: 600px; }
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero h1 span { color: var(--orange); }
.hero__lead { font-size: 1.12rem; color: #dbe3ef; margin: 0 0 22px; }
.checks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.checks li { display: inline-flex; align-items: center; gap: 7px; font-size: .95rem; }
.checks svg { width: 18px; height: 18px; color: var(--orange); }
@media (max-width: 760px) { .hero__bg::after { background: rgba(20,34,64,.86); } .hero__inner { padding: 40px 24px 110px; } }

.finder { position: relative; margin-top: -92px; z-index: 5; }
.finder__box { background: #fff; border-radius: var(--r-lg); box-shadow: var(--sh-2); border: 1px solid var(--line); overflow: hidden; }
.finder__tabs { display: flex; overflow-x: auto; border-bottom: 1px solid var(--line); background: var(--pale); scrollbar-width: none; }
.finder__tabs button { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 18px; border: 0; background: none; font: 600 .95rem var(--font); color: var(--muted); cursor: pointer; border-bottom: 3px solid transparent; white-space: nowrap; min-height: 52px; }
.finder__tabs button svg { width: 20px; height: 20px; }
.finder__tabs button[aria-selected="true"] { background: #fff; color: var(--navy); border-bottom-color: var(--orange); }
.finder__form { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; align-items: end; padding: 20px 22px 22px; }
.finder__form[hidden] { display: none; }
.field label { display: block; font-size: .85rem; font-weight: 600; color: var(--ink); margin-bottom: 5px; }
.field input, .field select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #c9d3e1; border-radius: var(--r); font: 16px var(--font); color: var(--ink); background: #fff; }
.field input:focus, .field select:focus { border-color: var(--navy-3); outline: 2px solid rgba(44,68,112,.2); }
.finder__form .btn { height: 48px; }
.finder__note { grid-column: 1 / -1; margin: -4px 0 0; font-size: .82rem; color: var(--muted); }

/* Leistungsversprechen */
.usp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; }
.usp > div { padding: 18px 20px; display: flex; gap: 12px; align-items: flex-start; }
.usp > div + div { border-left: 1px solid var(--line); }
.usp svg { width: 24px; height: 24px; color: var(--navy-3); flex: none; margin-top: 2px; }
.usp strong { display: block; color: var(--navy); font-size: .97rem; }
.usp span { font-size: .87rem; color: var(--muted); }
@media (max-width: 900px) { .usp { grid-template-columns: 1fr 1fr; } .usp > div:nth-child(3) { border-left: 0; } .usp > div:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 520px) { .usp { grid-template-columns: 1fr; } .usp > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* Kategorien */
.cats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cat { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 108px; padding: 14px 8px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); text-decoration: none; color: var(--navy); font-weight: 600; font-size: .93rem; text-align: center; transition: border-color .15s, box-shadow .15s; }
.cat:hover { border-color: var(--navy-3); box-shadow: var(--sh); color: var(--navy); }
.cat svg { width: 28px; height: 28px; color: var(--navy-3); }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.cat-photo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.cat-photo a { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--navy-2) center / cover; color: #fff; text-decoration: none; }
.cat-photo a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,34,64,0) 35%, rgba(20,34,64,.88)); }
.cat-photo div { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 1; }
.cat-photo h3 { color: #fff; margin: 0 0 2px; }
.cat-photo p { margin: 0; font-size: .92rem; color: #dbe3ef; }
@media (max-width: 800px) { .cat-photo { grid-template-columns: 1fr; } }

/* Tarifliste (Angebote) */
.tarife { display: grid; gap: 14px; }
.tarif { display: grid; grid-template-columns: 200px minmax(0, 1.6fr) minmax(0, 1fr) 210px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh); position: relative; }
.tarif--top { border-color: var(--orange); box-shadow: 0 0 0 1px var(--orange), var(--sh); }
.tarif__label { position: absolute; top: -11px; left: 18px; background: var(--orange); color: var(--navy); font-size: .76rem; font-weight: 700; padding: 3px 10px; border-radius: 4px; }
.tarif__label--navy { background: var(--navy); color: #fff; }
.tarif > div { padding: 20px; }
.tarif__logo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border-right: 1px solid var(--line); text-align: center; }
.tarif__logo img { max-height: 54px; max-width: 130px; width: auto; object-fit: contain; }
.tarif__logo .ph { width: 54px; height: 54px; border-radius: 50%; background: var(--pale); display: grid; place-items: center; font: 700 1.2rem var(--font-head); color: var(--navy); }
.tarif__logo small { color: var(--muted); font-size: .82rem; }
.tarif__main h3 { margin: 0 0 8px; font-size: 1.08rem; }
.tarif__main h3 a { color: inherit; text-decoration: none; }
.tarif__main ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: .93rem; }
.tarif__main li { display: flex; gap: 8px; align-items: flex-start; }
.tarif__main li svg { width: 16px; height: 16px; color: var(--green); margin-top: 3px; flex: none; }
.tarif__facts { border-left: 1px solid var(--line); }
.tarif__facts dl { margin: 0; display: grid; gap: 8px; font-size: .9rem; }
.tarif__facts dt { color: var(--muted); font-size: .8rem; }
.tarif__facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.tarif__price { border-left: 1px solid var(--line); background: var(--pale); border-radius: 0 var(--r-lg) var(--r-lg) 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; text-align: right; }
.tarif__price .p { font: 700 1.9rem/1 var(--font-head); color: var(--navy); letter-spacing: -.02em; white-space: nowrap; }
.tarif__price .u { font-size: .82rem; color: var(--muted); }
.tarif__price s { font-size: .85rem; color: var(--muted); }
.tarif__eff { font-size: .82rem; color: var(--ink); margin: 4px 0 10px; }
.tarif__eff b { color: var(--navy); }
.tarif__eff abbr { text-decoration: underline dotted; cursor: help; }
.tarif__valid { font-size: .78rem; color: var(--muted); margin-top: 6px; text-align: center; }
.tarif__valid--bald { color: var(--red); font-weight: 600; }
@media (max-width: 960px) {
	.tarif { grid-template-columns: 120px minmax(0, 1fr); }
	.tarif__facts { border-left: 0; border-top: 1px solid var(--line); grid-column: 1 / -1; }
	.tarif__facts dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tarif__price { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); text-align: left; }
}
@media (max-width: 520px) {
	.tarif { grid-template-columns: 1fr; }
	.tarif__logo { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; justify-content: flex-start; padding: 14px 20px !important; }
	.tarif__facts dl { grid-template-columns: 1fr 1fr; }
}

/* Filter */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.filter a { padding: 7px 14px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .92rem; }
.filter a.is-active, .filter a:hover { background: var(--navy); border-color: var(--navy); color: #fff; }

/* Ablauf */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: s; }
.step { position: relative; padding-left: 56px; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 0; top: 0; width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--navy); display: grid; place-items: center; font: 700 1rem var(--font-head); color: var(--navy); }
.step h3 { margin-bottom: 4px; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; gap: 22px; } }

/* Beratung */
.advice { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: var(--navy); color: #fff; border-radius: var(--r-lg); overflow: hidden; }
.advice__text { padding: 40px; }
.advice h2 { color: #fff; }
.advice p { color: #d3dcea; }
.advice__contact { display: grid; gap: 14px; margin-top: 18px; }
.advice__contact a, .advice__contact div { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.advice__contact svg { width: 22px; height: 22px; color: var(--orange); }
.advice__contact strong { font-size: 1.15rem; }
.advice__contact small { display: block; color: #aebbd0; }
.advice__side { background: var(--navy-2); padding: 40px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.advice__side h3 { color: #fff; margin: 0; }
.advice__side p { margin: 0; font-size: .95rem; }
.advice__side ul { list-style: none; padding: 0; margin: 6px 0 8px; display: grid; gap: 8px; }
.advice__side li { display: flex; gap: 8px; color: #e4eaf3; font-size: .95rem; }
.advice__side li svg { width: 18px; height: 18px; color: var(--orange); flex: none; margin-top: 3px; }
@media (max-width: 860px) { .advice { grid-template-columns: 1fr; } .advice__text, .advice__side { padding: 28px; } }

/* Ratgeber */
.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.guide { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.guide__img { aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: var(--pale); margin-bottom: 14px; }
.guide__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.guide:hover .guide__img img { transform: scale(1.03); }
.guide__meta { font-size: .8rem; color: var(--muted); margin-bottom: 4px; }
.guide h3 { margin: 0 0 6px; }
.guide:hover h3 { text-decoration: underline; }
.guide p { margin: 0; color: var(--muted); font-size: .94rem; }
.guide--text { border-top: 3px solid var(--orange); padding-top: 16px; }
@media (max-width: 900px) { .guides { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .guides { grid-template-columns: 1fr; } }

/* FAQ & Transparenz */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 600; color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; width: 10px; height: 10px; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); margin-top: 4px; flex: none; transition: transform .15s; }
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: 9px; }
.faq details p { color: var(--muted); margin: -4px 0 16px; }
.note-box { background: var(--pale); border-radius: var(--r-lg); padding: 24px; }
.note-box h3 { font-size: 1rem; }
.note-box p { margin: 0; color: var(--muted); font-size: .94rem; }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* Unterseiten */
.page-hero { background: var(--navy); color: #fff; padding: 40px 0 36px; position: relative; }
.page-hero--img { background-size: cover; background-position: center; }
.page-hero--img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,34,64,.95), rgba(20,34,64,.7)); }
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; margin-bottom: 6px; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.page-hero p { color: #d3dcea; max-width: 720px; margin: 0; }
.crumbs { font-size: .85rem; color: #aebbd0; margin-bottom: 10px; }
.crumbs a { color: #dbe3ef; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; color: #fff; }
.content { max-width: 780px; }
.content h2 { margin-top: 1.5em; }
.content img { border-radius: var(--r); }
.content blockquote { margin: 1.4em 0; padding: 14px 20px; background: var(--pale); border-left: 3px solid var(--orange); }
.content table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.content th, .content td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.layout aside { position: sticky; top: 96px; display: grid; gap: 16px; }
.box { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.box h3 { font-size: 1rem; }
.box p { color: var(--muted); font-size: .93rem; }
.box ul { list-style: none; padding: 0; margin: 0; }
.box li a { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-size: .95rem; }
.box li:last-child a { border-bottom: 0; }
.box li a:hover { color: var(--navy-3); }
.box--tip { border-left: 3px solid var(--orange); }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; } .layout aside { position: static; } }

/* Rechner */
.rechner { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 16px; }
.rechner iframe { width: 100% !important; border: 0; min-height: 720px; display: block; }
.rechner-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.rechner-tabs button { padding: 10px 16px; border: 0; border-bottom: 3px solid transparent; background: none; cursor: pointer; font: 600 .95rem var(--font); color: var(--muted); }
.rechner-tabs button[aria-selected="true"] { color: var(--navy); border-bottom-color: var(--orange); }
.rechner-panel[hidden] { display: none; }
.rechner-leer { padding: 48px 24px; text-align: center; color: var(--muted); background: var(--pale); border-radius: var(--r); }
.rechner-leer strong { display: block; color: var(--navy); font-size: 1.05rem; margin-bottom: 4px; }
.rechner-hinweis { font-size: .8rem; color: var(--muted); margin: 10px 0 0; }

.empty { border: 1px dashed #c9d3e1; border-radius: var(--r-lg); padding: 32px; text-align: center; color: var(--muted); background: #fff; }

/* Footer */
.site-footer { background: #101d38; color: #b9c5d8; padding: 52px 0 22px; font-size: .93rem; }
.site-footer a { color: #e4eaf3; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; }
.footer-logo { display: inline-block; margin-bottom: 16px; }
.footer-logo img { height: 44px; width: auto; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 18px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }
.footer-legal ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; margin: 0; padding: 0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

.pagination { margin-top: 28px; display: flex; gap: 6px; justify-content: center; }
.pagination .page-numbers { padding: 8px 14px; border-radius: var(--r); border: 1px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }

.alignleft { float: left; margin: 0 1.2em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.2em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: .85rem; color: var(--muted); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
.hero h1 em { font-style: normal; color: var(--orange); }
.box li a svg { width: 16px; height: 16px; color: var(--muted); }
.site-logo__mark { width: 38px; height: 38px; border-radius: 8px; background: var(--orange); color: var(--navy); display: grid; place-items: center; font-weight: 900; margin-right: 8px; }

/* Duoton-Icons */

.usp svg.i .a, .cat svg.i .a, .finder__tabs svg.i .a { opacity: .85; }
.topbar svg.i .a, .advice svg.i .a, .checks svg.i .a { display: none; }
.finder__tabs button:not([aria-selected="true"]) svg.i .a { opacity: .35; }

/* Bild im Angebot */
.tarif__media { padding: 0 !important; border-right: 1px solid var(--line); border-radius: var(--r-lg) 0 0 var(--r-lg); overflow: hidden; background: var(--pale); display: flex; align-items: center; justify-content: center; }
.tarif__media img { width: 100%; height: 100%; object-fit: cover; min-height: 150px; }
.tarif__media img[src$=".svg"] { object-fit: contain; }
.tarif__media--foto img { object-fit: contain; padding: 14px; background: #fff; }
.tarif__provider { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; min-height: 24px; }
.tarif__provider img { height: 24px; width: auto; max-width: 110px; object-fit: contain; }
.tarif__provider span { font-size: .8rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
@media (max-width: 960px) { .tarif { grid-template-columns: 150px minmax(0, 1fr); } }
@media (max-width: 520px) { .tarif__media { border-right: 0; border-bottom: 1px solid var(--line); border-radius: var(--r-lg) var(--r-lg) 0 0; } .tarif__media img { min-height: 0; aspect-ratio: 4 / 3; } }

/* Vergleichskarten mit Illustration */
.vgl { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.vgl a { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .15s, border-color .15s; }
.vgl a:hover { border-color: var(--navy-3); box-shadow: var(--sh-2); color: var(--ink); }
.vgl img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; }
.vgl div { padding: 16px 18px 18px; }
.vgl h3 { margin: 0 0 4px; }
.vgl p { margin: 0 0 10px; color: var(--muted); font-size: .93rem; }
.vgl span { font-weight: 600; color: var(--navy-3); font-size: .93rem; }
.page-hero__illu { position: absolute; right: 24px; bottom: -36px; width: 260px; border-radius: var(--r-lg); box-shadow: var(--sh-2); }
@media (max-width: 900px) { .page-hero__illu { display: none; } }


/* Markierte Stellen (nur in Entwürfen) */
.content mark { background: #fff1c2; padding: 0 3px; border-radius: 3px; }
.content h2 { font-size: 1.3rem; }

/* Rechner: Zustimmung vor dem Laden */
.rechner-consent { background: var(--pale); border-radius: var(--r); padding: 28px; text-align: center; }
.rechner-consent[hidden] { display: none; }
.rechner-consent strong { display: block; color: var(--navy); font-size: 1.1rem; margin-bottom: 6px; }
.rechner-consent p { color: var(--muted); font-size: .92rem; max-width: 560px; margin: 0 auto 16px; }
.rechner-consent__row { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; font-size: .92rem; }
.rechner-consent__row label { display: inline-flex; gap: 6px; align-items: center; cursor: pointer; }
.rechner:not(.is-geladen) .rechner-panel { display: none; }

/* Über uns */
.about-hero { background: var(--navy); color: #fff; overflow: hidden; }
.about-hero__inner { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding-top: 48px; padding-bottom: 48px; }
.about-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
.about-hero p { color: #d3dcea; font-size: 1.1rem; margin: 0; max-width: 560px; }
.about-hero__bild img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
@media (max-width: 860px) { .about-hero__inner { grid-template-columns: 1fr; gap: 28px; } }
.about-text .content { font-size: 1.05rem; }
.werte { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.wert { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.wert svg.i { width: 34px; height: 34px; color: var(--navy); margin-bottom: 14px; }
.wert h3 { margin-bottom: 6px; }
.wert p { margin: 0; color: var(--muted); font-size: .95rem; }
@media (max-width: 960px) { .werte { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .werte { grid-template-columns: 1fr; } }
.orte { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.ort { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.ort svg.i { width: 30px; height: 30px; color: var(--navy); }
.ort h3 { margin-bottom: 4px; }
.ort p { margin: 0; color: var(--muted); }

/* Buttons auf dunklem Grund: gleiche Farbe, etwas heller beim Hover */
.advice .btn--primary { filter: brightness(1.25); }

@media (max-width: 760px) { .werte[style] { grid-template-columns: 1fr !important; } }

.header-rueckruf svg.i { width: 18px; height: 18px; }
@media (max-width: 560px) { .header-rueckruf { padding: 7px 10px; } .header-rueckruf .t { display: none; } }

/* Icon-Stil „Haken“ */
svg.i .hk { stroke: var(--orange-2); }
svg.i .hf { fill: var(--orange-2); }
.topbar svg.i .hk, .checks svg.i .hk { stroke: currentColor; }

/* Service-Seite */
.svc-nav{ display:flex;gap:10px;flex-wrap:wrap;margin-top:18px }

.svc-nav a{ display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:8px;background:rgba(255,255,255,.1);color:#fff;text-decoration:none;font-weight:600;font-size:.93rem }

.svc-nav a:hover{ background:rgba(255,255,255,.2) }

.svc-nav svg.i{ width:18px;height:18px }

.tool{ display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:40px;align-items:start }

.tool__intro .tag{ display:inline-block;background:#e8f0fe;color:#0b5ed7;font-size:.78rem;font-weight:700;padding:4px 10px;border-radius:4px;margin-bottom:12px }

.tool__intro p{ color:var(--muted) }

.tool__intro ul{ list-style:none;padding:0;margin:16px 0 0;display:grid;gap:8px }

.tool__intro li{ display:flex;gap:8px;align-items:flex-start }

.tool__intro li svg{ width:18px;height:18px;color:var(--green);margin-top:3px }

.panel{ background:#fff;border:1px solid var(--line);border-radius:var(--r-lg);box-shadow:var(--sh-2);padding:26px }

.panel h3{ margin-bottom:16px }

.grid2{ display:grid;grid-template-columns:1fr 1fr;gap:14px }

.grid2 .full{ grid-column:1/-1 }

.field .hint{ font-size:.8rem;color:var(--muted);margin-top:4px }

.result{ margin-top:18px;border-radius:10px;background:var(--pale);padding:18px 20px }

.result .big{ font:700 2rem/1.1 var(--font-head);color:var(--navy);letter-spacing:-.02em }

.result .big small{ font-size:.95rem;font-weight:600;color:var(--muted);letter-spacing:0 }

.result--good{ background:#e9f7ef }

.result--good .big{ color:#0f6b3d }

.result dl{ display:grid;grid-template-columns:1fr auto;gap:6px 16px;margin:12px 0 0;font-size:.93rem }

.result dt{ color:var(--muted) }
 .result dd{ margin:0;font-weight:600;text-align:right }

.bar{ height:10px;border-radius:5px;background:#dfe5ee;overflow:hidden;margin-top:12px }

.bar span{ display:block;height:100%;background:linear-gradient(90deg,#ffc950,#f5a300);transition:width .4s }
















@media(max-width:900px){ .tool{ grid-template-columns:1fr;gap:22px }
 }

@media(max-width:520px){ .grid2{ grid-template-columns:1fr }
.panel{ padding:18px }
 }

.panel .cnr1s-form { margin-top: 4px; }
.panel h3 { margin-bottom: 16px; }

/* ===== Design-Feinschliff v1.2 ===== */
h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); }
.sec-head { margin-bottom: 28px; }
.section { padding: 64px 0; }
.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); line-height: 1.08; }
.hero__inner { padding-top: 72px; }
.checks li { background: rgba(255,255,255,.1); padding: 6px 12px 6px 8px; border-radius: 999px; }
.usp { border: 0; background: transparent; gap: 18px; }
.usp > div { padding: 6px 0; }
.usp > div + div { border-left: 0; }
.usp svg.i { width: 44px; height: 44px; padding: 9px; background: #fff3d6; border-radius: 12px; color: var(--navy); margin-top: 0; }
@media (max-width: 900px) { .usp > div:nth-child(n+3) { border-top: 0; } }
@media (max-width: 520px) { .usp > div + div { border-top: 0; } }
.vgl--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.vgl--home img { aspect-ratio: 16 / 10; }
.vgl a { transition: transform .15s, box-shadow .15s, border-color .15s; }
.vgl a:hover { transform: translateY(-3px); }
.vgl a span::after { content: " →"; }
@media (max-width: 860px) { .vgl--home { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .vgl--home { grid-template-columns: 1fr; } }
.mehr-vgl { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 20px; }
.mehr-vgl > span { color: var(--muted); font-size: .92rem; margin-right: 4px; }
.mehr-vgl a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; color: var(--navy); font-weight: 600; font-size: .92rem; }
.mehr-vgl a:hover { border-color: var(--navy-3); }
.mehr-vgl svg.i { width: 20px; height: 20px; }
.tarif { transition: box-shadow .15s; }
.tarif:hover { box-shadow: var(--sh-2); }
.tarif__provider span, .tarif__provider { font-size: .82rem; letter-spacing: .04em; }
.tarif__main h3 { font-size: 1.15rem; }
.tarif__price .p { font-size: 2.1rem; }
.step::before { background: var(--orange); border-color: var(--orange); color: var(--navy); }
.wert { transition: transform .15s, box-shadow .15s; }
a.wert:hover { transform: translateY(-3px); box-shadow: var(--sh-2); }
.advice { box-shadow: var(--sh-2); }
@media (prefers-reduced-motion: reduce) { .vgl a:hover, a.wert:hover { transform: none; } }
.hero__text { max-width: 700px; }
/* Icons größer und freistehend wie im gewählten Stil A */
.usp svg.i { width: 44px; height: 44px; padding: 0; background: none; border-radius: 0; color: var(--navy); }
.finder__tabs button svg.i { width: 24px; height: 24px; }
.wert svg.i { width: 44px; height: 44px; }
.mehr-vgl svg.i { width: 22px; height: 22px; }

/* ===== v1.3: Tarifliste wie bei den Großen, nur klarer ===== */
.tarif__chips { list-style: none; padding: 0; margin: 10px 0 0; display: flex !important; flex-wrap: wrap; gap: 6px; }
.tarif__chips li { display: inline-flex !important; align-items: center; gap: 6px; background: var(--pale); border-radius: 999px; padding: 5px 11px; font-size: .86rem; }
.tarif__chips li svg.i { width: 14px !important; height: 14px !important; margin: 0 !important; color: var(--green); }
.tarif__price { gap: 2px; }
.tarif__avg-l { font-size: .76rem; font-weight: 700; color: var(--muted); text-transform: none; }
.tarif__price .u { font-size: .8rem; line-height: 1.35; margin-bottom: 8px; }
.tarif__price s { font-size: .8rem; }
.tarif__cmp { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 8px; font-size: .85rem; color: var(--navy-3); cursor: pointer; font-weight: 600; }
.tarif__cmp input { width: 17px; height: 17px; accent-color: var(--btn); }
.tarif[hidden] { display: none !important; }
.tarif-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-bottom: 18px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
.tarif-tools__zahl { font-size: .95rem; color: var(--muted); }
.tarif-tools__zahl strong { color: var(--navy); font-size: 1.05rem; }
.tarif-tools__filter { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }
.tarif-tools__filter button { min-height: 36px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 .86rem var(--font); color: var(--ink); cursor: pointer; }
.tarif-tools__filter button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.tarif-tools__sort { display: inline-flex; align-items: center; gap: 8px; font-size: .88rem; color: var(--muted); margin-left: auto; }
.tarif-tools__sort select { min-height: 38px; border: 1px solid var(--line); border-radius: 8px; padding: 0 10px; font: 600 .9rem var(--font); color: var(--navy); background: #fff; }
.tarif-fuss { font-size: .8rem; color: var(--muted); margin: 12px 0 0; }
.cmp-tray { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy); color: #fff; box-shadow: 0 -6px 24px rgba(0,0,0,.2); }
.cmp-tray[hidden] { display: none; }
.cmp-tray__in { display: flex; align-items: center; gap: 12px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.cmp-tray__t { flex: 1; font-weight: 600; }
.cmp-tray .btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.cmp-tray .btn[disabled] { opacity: .5; cursor: not-allowed; }
.cmp-dlg { border: 0; border-radius: 16px; padding: 0; width: min(980px, calc(100% - 24px)); max-height: calc(100vh - 40px); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.cmp-dlg::backdrop { background: rgba(20,34,64,.6); }
.cmp-dlg__kopf { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; }
.cmp-dlg__kopf h2 { margin: 0; font-size: 1.3rem; }
.cmp-dlg__x { border: 0; background: none; font-size: 1.8rem; line-height: 1; cursor: pointer; color: var(--muted); }
.cmp-dlg__scroll { overflow-x: auto; }
.cmp-tab { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp-tab th, .cmp-tab td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: .93rem; }
.cmp-tab thead th { font-size: 1rem; color: var(--navy); }
.cmp-tab thead small { display: block; font-size: .75rem; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.cmp-tab tbody th { color: var(--muted); font-weight: 600; width: 150px; }
.cmp-tab td strong { font-size: 1.3rem; color: var(--navy); }
.cmp-tab .cmp-best { color: var(--green); }
.cmp-badge { display: inline-block; margin-left: 8px; background: #e9f7ef; color: #0f6b3d; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; vertical-align: middle; }
.cmp-tab td div { margin-bottom: 4px; }
.cmp-dlg__fuss { font-size: .82rem; color: var(--muted); padding: 12px 22px 18px; margin: 0; }

/* Produktleiste: Icons oben, wie eine App */
.finder__tabs button { flex-direction: column; gap: 6px; padding: 14px 10px 12px; min-height: 84px; font-size: .86rem; }
.finder__tabs button svg.i { width: 30px !important; height: 30px !important; }

/* Mobile: feste Leiste unten */
.mobile-cta { display: none; }
@media (max-width: 700px) {
	.mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(20,34,64,.08); }
	.mobile-cta .btn { min-height: 46px; font-size: .95rem; }
	body { padding-bottom: 72px; }
	.cmp-tray { bottom: 66px; }
	.tarif-tools__sort { margin-left: 0; }
}

/* ===== Kopfbereich v1.3: Suche + Kategorie-Leiste (wie Check24, aufgeräumter) ===== */
.site-header__inner { gap: 20px; min-height: 76px; }
.suche { position: relative; flex: 1; max-width: 560px; display: flex; align-items: center; }
.suche input { width: 100%; height: 46px; padding: 0 52px 0 18px; border: 2px solid var(--line); border-radius: 999px; font: 16px var(--font); color: var(--ink); background: var(--pale); transition: border-color .15s, background .15s; }
.suche input:focus { outline: none; border-color: var(--btn); background: #fff; }
.suche button { position: absolute; right: 5px; top: 5px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--btn); color: #fff; display: grid; place-items: center; cursor: pointer; }
.suche__vorschlaege { position: absolute; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-2); padding: 6px; z-index: 70; }
.suche__vorschlaege[hidden] { display: none; }
.suche__vorschlaege a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: .95rem; }
.suche__vorschlaege a:hover, .suche__vorschlaege a.is-aktiv { background: var(--pale); color: var(--navy); }
.suche__vorschlaege svg.i { width: 20px; height: 20px; color: var(--navy); }
.suche__vorschlaege small { margin-left: auto; color: var(--muted); font-size: .78rem; }
.header-cta { margin-left: auto; }
.kat-leiste { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 76px; z-index: 45; }
.kat-leiste .container { display: flex; align-items: center; gap: 16px; }
.kat-pills { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; padding: 8px 0; }
.kat-pills::-webkit-scrollbar { display: none; }
.kat-pills a { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: .88rem; white-space: nowrap; }
.kat-pills a:hover { background: var(--pale); color: var(--navy); }
.kat-pills a[aria-current] { background: var(--navy); color: #fff; }
.kat-pills a[aria-current] svg .hk { stroke: var(--orange); }
.kat-pills svg.i { width: 20px; height: 20px; }
.kat-leiste__menu { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; order: 2; flex: none; }
.kat-leiste__menu a { display: block; padding: 8px 10px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .88rem; }
.kat-leiste__menu a:hover { color: var(--navy); }
.kat-leiste .container > ul:not(.kat-leiste__menu) { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; order: 2; flex: none; }
.kat-leiste .container > ul:not(.kat-leiste__menu) a { display: block; padding: 8px 10px; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .88rem; }
@media (max-width: 1100px) { .kat-leiste__menu, .kat-leiste .container > ul:not(.kat-leiste__menu) { display: none; } .kat-leiste.is-open .kat-leiste__menu, .kat-leiste.is-open .container > ul { display: flex; flex-direction: column; width: 100%; } .kat-leiste.is-open .container { flex-wrap: wrap; } }
@media (min-width: 1101px) { .nav-toggle { display: none !important; } }
@media (max-width: 760px) {
	.site-header__inner { flex-wrap: wrap; gap: 10px; min-height: 0; padding-top: 10px; padding-bottom: 10px; }
	.suche { order: 3; flex-basis: 100%; max-width: none; }
	.kat-leiste { top: 0; position: relative; }
	.site-logo img { height: 40px; }
}
.kat-pills { -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); padding-right: 30px; }
.kat-leiste__menu, .kat-leiste .container > ul:not(.kat-leiste__menu) { border-left: 1px solid var(--line); padding-left: 10px; }
