/* katzenkrankenversicherung-vergleich.de — Stylesheet
   Marke: Cyanblau als Akzent, nicht als Vollfläche.
   Mobile first. Kontraste nach WCAG AA. */

:root {
  /* Marke — Cyan als Signal, Navy als Fundament */
  --brand:        #00bfff;   /* Signalfarbe */
  --brand-600:    #0096d6;
  --brand-deep:   #0077a8;   /* Links, Icons */
  --brand-ink:    #00465f;   /* Überschriften */
  --brand-900:    #052b3a;   /* dunkle Flächen */
  --brand-950:    #03202c;
  --brand-tint:   #e8f8ff;   /* zarte Flächen */
  --brand-tint-2: #d2f0ff;

  /* Aktion */
  --green:        #018a01;
  --green-dark:   #016b01;
  --gold:         #b8761a;
  --gold-tint:    #fff6e5;

  /* Neutral */
  --bg:           #ffffff;
  --surface:      #ffffff;
  --surface-alt:  #f6f9fb;
  --border:       #dde5ea;
  --border-soft:  #eef3f6;
  --ink:          #14222b;
  --ink-mid:      #465a66;
  --ink-soft:     #6b7f8a;

  --radius:   14px;
  --radius-l: 20px;
  --shadow:   0 1px 2px rgba(20,34,43,.05), 0 4px 16px rgba(20,34,43,.06);
  --shadow-l: 0 2px 6px rgba(20,34,43,.07), 0 12px 32px rgba(20,34,43,.09);
  --maxw: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.68;
  font-weight: 400;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--brand-deep); }
a:hover { color: var(--brand-ink); }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: 16px; }
.narrow { max-width: 760px; margin-inline: auto; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.22; letter-spacing: -0.02em; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(1.75rem, 5.2vw, 2.9rem); }
h2 { font-size: clamp(1.4rem, 3.9vw, 2.1rem); }
h3 { font-size: clamp(1.08rem, 2.4vw, 1.3rem); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lede { font-size: 1.08rem; color: var(--ink-mid); }
.muted { color: var(--ink-soft); font-size: .88rem; }

section { padding: clamp(40px, 7vw, 76px) 0; }
.section-head { max-width: 760px; margin: 0 0 34px; }
.section-head.center { margin-inline: auto; text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---------- Kopfzeile ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--brand);
  border-bottom: 1px solid rgba(3,32,44,.1);
}

.site-header .inner {
  display: flex; align-items: center; gap: 14px;
  min-height: 62px; flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; }
.brand img { width: 46px; height: 46px; }
.brand span {
  font-weight: 600; font-size: .98rem; color: var(--brand-950);
  letter-spacing: -0.02em; line-height: 1.15;
}

.site-nav { display: flex; gap: 22px; }
.site-nav a {
  color: #04303f; text-decoration: none; font-size: .93rem; font-weight: 600;
  padding: 3px 0; border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--brand-950); border-bottom-color: var(--brand-950); }

.brand-short { display: none; }
.brand-short small { font-weight: 500; font-size: .78em; color: var(--ink-soft); }

@media (max-width: 680px) {
  .brand-full { display: none; }
  .brand-short { display: block; font-size: .92rem; line-height: 1.15; }
  .brand img { width: 40px; height: 40px; }
  .site-header .inner { min-height: 58px; }
  .site-nav { gap: 16px; width: 100%; order: 3; padding-bottom: 9px; }
  .site-nav a { font-size: .87rem; }
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--green); color: #fff; text-decoration: none;
  font-family: inherit; font-weight: 600; font-size: .96rem;
  padding: 13px 24px; border-radius: 10px; border: 0; cursor: pointer;
  line-height: 1.25; text-align: center;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--green-dark); color: #fff; transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 16px; font-size: .86rem; border-radius: 8px; }
.btn--ghost { background: transparent; color: var(--brand-ink); border: 1.5px solid var(--border); }
.btn--ghost:hover { background: var(--surface-alt); color: var(--brand-ink); }

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

.hero {
  background: linear-gradient(168deg, var(--brand-tint) 0%, #ffffff 72%);
  padding: clamp(34px, 6vw, 64px) 0 clamp(30px, 5vw, 52px);
  border-top: 1px solid rgba(255,255,255,.6);
}

.hero h1 em { color: var(--brand-deep); }

.hero-grid { display: grid; gap: 30px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.08fr .92fr; gap: 50px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: #fff; border: 1px solid var(--brand-tint-2);
  color: var(--brand-ink); font-size: .78rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px; margin-bottom: 16px;
}

.hero h1 { margin-bottom: .45em; }
.hero h1 em { font-style: normal; color: var(--brand-deep); }

.trust-list { list-style: none; padding: 0; margin: 22px 0 26px; display: grid; gap: 9px; }
.trust-list li { position: relative; padding-left: 28px; color: var(--ink-mid); font-size: .97rem; }
.trust-list li::before {
  content: ""; position: absolute; left: 0; top: .32em;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 13 9 18 20 6'/%3E%3C/svg%3E") center/11px no-repeat;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-media { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow-l); }
.hero-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }

/* ---------- Vertrauensleiste ---------- */

/* Markenleiste in #00BFFF, dunkle Schrift für Lesbarkeit */
.trustbar {
  background: var(--brand);
  padding: 20px 0;
}
.trustbar strong { color: var(--brand-950) !important; font-size: 1.2rem; }
.trustbar span { color: #04455a !important; }
.trustbar li + li { position: relative; }
@media (min-width: 760px) {
  .trustbar li + li::before {
    content: ""; position: absolute; left: -10px; top: 14%; bottom: 14%;
    width: 1px; background: rgba(3,32,44,.16);
  }
}
.trustbar ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 20px;
}
@media (min-width: 760px) { .trustbar ul { grid-template-columns: repeat(4, 1fr); } }
.trustbar li { text-align: center; }
.trustbar strong { display: block; color: var(--brand-ink); font-size: 1.12rem; font-weight: 700; }
.trustbar span { font-size: .8rem; color: var(--ink-soft); }

/* ---------- Hinweiskästen ---------- */

.note {
  background: var(--surface-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px;
  font-size: .91rem; color: var(--ink-mid); margin-bottom: 18px;
}
.note strong { color: var(--ink); }
.note--ad { background: var(--gold-tint); border-color: #f0dcb8; }
.note--tip { background: var(--brand-tint); border-color: var(--brand-tint-2); }

/* ---------- Anbieterkarten ---------- */

.cards { display: grid; gap: 20px; }

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-l);
  box-shadow: var(--shadow);
  padding: 22px;
  display: grid; gap: 18px;
}

.card--pick { border-color: var(--gold); border-width: 2px; box-shadow: var(--shadow-l); }

.rank {
  position: absolute; top: -11px; left: 20px;
  background: var(--ink); color: #fff;
  font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
}
.card--pick .rank { background: var(--gold); }

.card { transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.card:hover { box-shadow: var(--shadow-l); transform: translateY(-2px); border-color: var(--brand-tint-2); }
.card--pick:hover { border-color: var(--gold); }

.card-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.card-logo { display: flex; align-items: center; min-height: 48px; }
.card-logo img { max-height: 46px; width: auto; }

.card-price { text-align: right; }
.card-price b { display: block; font-size: 1.45rem; font-weight: 700; color: var(--brand-ink); letter-spacing: -.02em; line-height: 1.1; }
.card-price span { font-size: .78rem; color: var(--ink-soft); }

.card-highlight {
  background: var(--brand-tint); border-radius: 10px;
  padding: 11px 14px; font-size: .9rem; color: var(--brand-ink);
}
.card--pick .card-highlight { background: var(--gold-tint); color: #6b4708; }

.specs { display: grid; gap: 0; margin: 0; }
.spec {
  display: grid; grid-template-columns: 1fr; gap: 1px;
  padding: 10px 0; border-bottom: 1px solid var(--border-soft);
}
.spec:last-child { border-bottom: 0; }
.spec dt { font-size: .78rem; color: var(--ink-soft); font-weight: 500; text-transform: uppercase; letter-spacing: .03em; margin: 0; }
.spec dd { margin: 0; font-size: .94rem; color: var(--ink); }
.spec dd small { display: block; font-size: .82em; color: var(--ink-soft); margin-top: 1px; }

@media (min-width: 560px) {
  .spec { grid-template-columns: 220px 1fr; gap: 16px; align-items: baseline; }
  .spec dt { text-transform: none; font-size: .9rem; letter-spacing: 0; color: var(--ink-mid); font-weight: 500; }
}
@media (min-width: 900px) {
  .card { padding: 26px 28px; grid-template-columns: 1fr 230px; grid-template-areas: "top cta" "high cta" "specs cta"; align-items: start; column-gap: 30px; }
  .card-top { grid-area: top; }
  .card-highlight { grid-area: high; }
  .specs { grid-area: specs; }
  .card-cta { grid-area: cta; position: sticky; top: 80px; }
  .card-top { justify-content: flex-start; }
  .card-price { display: none; }
}

.card-cta { display: grid; gap: 9px; }
.card-cta .price-lg { display: none; }
@media (min-width: 900px) {
  .card-cta .price-lg { display: block; text-align: center; }
  .card-cta .price-lg b { display: block; font-size: 1.65rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; color: var(--brand-ink); }
  .card-cta .price-lg span { font-size: .78rem; color: var(--ink-soft); }
}

.yes, .no { padding-left: 23px; position: relative; }
.yes::before, .no::before {
  content: ""; position: absolute; left: 0; top: .3em;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='4 13 9 18 20 6'/%3E%3C/svg%3E") center/10px no-repeat;
}
.no::before { background: #c62828 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round'%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3C/svg%3E") center/9px no-repeat; }

/* ---------- Schritte ---------- */

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 26px; } }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.steps li { padding: 24px; }
.steps li::before {
  counter-increment: s; content: counter(s);
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: 14px;
  box-shadow: 0 3px 10px rgba(0,119,168,.26);
}

/* Abschnitt mit Blauton */
.section--tint {
  background:
    radial-gradient(700px 300px at 50% 0%, rgba(0,191,255,.10), transparent 65%),
    var(--surface-alt);
  border-block: 1px solid var(--border-soft);
}
.steps h3 { font-size: 1.04rem; margin-bottom: .3em; }
.steps p { color: var(--ink-mid); font-size: .93rem; }

/* ---------- Werbemittel ---------- */

.adbox { text-align: center; margin: 0 auto 30px; max-width: 640px; }
.adlabel { display: block; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 7px; }
.adbox img { margin-inline: auto; border-radius: var(--radius); }

/* ---------- Prosa ---------- */

.prose p { color: var(--ink-mid); }
.prose h3 { margin-top: 1.7em; }
.prose ul { color: var(--ink-mid); padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }

.figure { border-radius: var(--radius-l); overflow: hidden; box-shadow: var(--shadow); margin: 0 0 28px; }
.figure img { width: 100%; aspect-ratio: 3/2; object-fit: cover; }
.figure figcaption { font-size: .82rem; color: var(--ink-soft); padding: 9px 14px; background: var(--surface-alt); }

/* ---------- FAQ ---------- */

.faq details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); margin-bottom: 10px; overflow: hidden;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 1rem;
  padding: 16px 48px 16px 18px; position: relative; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 20px; top: 50%;
  width: 9px; height: 9px;
  border-right: 2px solid var(--brand-deep); border-bottom: 2px solid var(--brand-deep);
  transform: translateY(-70%) rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(225deg); }
.faq .answer { padding: 0 18px 18px; color: var(--ink-mid); font-size: .95rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- Fußzeile ---------- */

.site-footer {
  background: var(--surface-alt);
  color: var(--ink-soft);
  padding: 46px 0 40px; margin-top: 10px;
  border-top: 3px solid var(--brand);
}
.footer-grid { display: grid; gap: 26px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr; gap: 50px; } }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand img { width: 46px; height: 46px; flex: none; }
.footer-brand b { color: var(--brand-ink); font-size: .95rem; font-weight: 600; line-height: 1.25; }
.footer-brand b small { display: block; font-weight: 400; color: var(--ink-soft); font-size: .85em; }

.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 16px; }
.site-footer nav a { font-size: .92rem; font-weight: 500; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer p { font-size: .84rem; color: var(--ink-soft); }

/* ---------- Sprungleiste mobil ---------- */

.mobile-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 40;
  background: rgba(255,255,255,.96); backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  display: none;
}
@media (max-width: 899px) { .mobile-cta { display: block; } body { padding-bottom: 72px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
