@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700;800&display=swap');

:root {
  /* Farben */
  --color-primary:        #D90429;
  --color-primary-dark:   #B30321;
  --color-bg:             #FFFFFF;
  --color-bg-alt:         #F8F9FA;
  --color-text:           #212529;
  --color-text-light:     #6C757D;
  --color-border:         #DEE2E6;
  --color-success:        #198754;
  --color-danger:         #DC3545;

  /* Typografie */
  --font-heading:         'Inter', sans-serif;
  --font-body:            'Inter', sans-serif;

  /* Abstände und Form */
  --radius-sm:            6px;
  --radius-md:            12px;
  --radius-lg:            20px;

  /* Schatten */
  --shadow-card:          0 2px 12px rgba(0, 0, 0, 0.08);
  --shadow-badge:         0 4px 16px rgba(217, 4, 41, 0.25);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 20px;
}

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

a { color: var(--color-primary); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--color-text);
}

p { margin-bottom: 1rem; }

/* ---------- Top-Bar ---------- */
.topbar {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 10px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.anzeige-badge {
  display: inline-block;
  background: var(--color-text-light);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--color-text);
}
.brand-name .accent { color: var(--color-primary); }
.brand-tagline {
  font-size: 12px;
  color: var(--color-text-light);
}
.topnav {
  margin-left: auto;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.topnav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-light);
  text-decoration: none;
}
.topnav a:hover { color: var(--color-primary); }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
  padding: 8px 0;
}
.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--color-text-light);
}
.breadcrumb li::after { content: '›'; margin-left: 6px; color: var(--color-border); }
.breadcrumb li:last-child::after { content: ''; }
.breadcrumb a { color: var(--color-text-light); text-decoration: none; }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb li:last-child { color: var(--color-text); font-weight: 500; }

/* ---------- Hero ---------- */
.hero { padding: 36px 0 24px; }
.hero h1 {
  font-weight: 800;
  font-size: 32px;
  margin-bottom: 16px;
}
.hero .subline {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
  line-height: 1.4;
}
.hero .intro p { font-size: 17px; }
.hero-image {
  margin: 28px 0 8px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.hero-image img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.img-caption {
  font-size: 12px;
  color: var(--color-text-light);
  margin-top: 6px;
  text-align: center;
}

/* ---------- Transparenz-Box ---------- */
.transparenz {
  background: #FFFBEB;
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 22px 24px;
  margin: 28px 0;
}
.transparenz h2 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}
.transparenz p { font-size: 15px; color: var(--color-text); }
.transparenz details {
  border-top: 1px solid var(--color-border);
  padding: 12px 0 4px;
}
.transparenz details:first-of-type { margin-top: 8px; }
.transparenz summary {
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.transparenz summary::-webkit-details-marker { display: none; }
.transparenz summary::after {
  content: '+';
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
.transparenz details[open] summary::after { content: '–'; }
.transparenz details p {
  font-size: 14px;
  color: var(--color-text-light);
  margin-top: 10px;
}

/* ---------- Section general ---------- */
.section { padding: 36px 0; }
.section h2 {
  font-weight: 800;
  font-size: 27px;
  margin-bottom: 20px;
  scroll-margin-top: 20px;
}
.section.alt { background: var(--color-bg-alt); }

/* ---------- Edukation ---------- */
.edu-block { margin-bottom: 28px; }
.edu-block h3 {
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
}
.edu-figure {
  margin: 22px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.edu-figure img { width: 100%; object-fit: cover; }
.img-placeholder {
  background: #F0F0F0;
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  padding: 16px;
}

/* ---------- IgE-Infografik (selbstgebaut, ersetzt Platzhalter) ---------- */
.ige-info {
  background: linear-gradient(180deg, #FFF5F6 0%, #FFFFFF 70%);
  padding: 24px 18px 4px;
}
.ige-steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
}
.ige-step {
  flex: 1 1 150px;
  max-width: 210px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 16px 14px;
  text-align: center;
}
.ige-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #FFE8EB;
  border-radius: 50%;
}
.ige-icon svg { width: 30px; height: 30px; display: block; }
.ige-step h4 {
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--color-primary-dark);
}
.ige-step p {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--color-text-light);
  margin: 0;
}
.ige-arrow {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 20px;
  font-weight: 800;
}
.ige-info .img-caption { padding: 16px 0 14px; }

/* ---------- Generisches Produkt-Symbolbild (Platz 5) ---------- */
.product-kit {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.product-kit svg { width: 100%; height: 100%; display: block; }
@media (max-width: 760px) {
  .ige-step { flex: 1 1 100%; max-width: 340px; }
  .ige-arrow { transform: rotate(90deg); padding: 2px 0; }
}

/* ---------- Qualitätsmerkmale ---------- */
.criterion {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 22px 22px 22px 22px;
  margin-bottom: 18px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 16px;
}
.criterion-num {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
}
.criterion-body h3 {
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 8px;
}
.criterion-body p { font-size: 15px; margin-bottom: 10px; }
.criterion-body p:last-child { margin-bottom: 0; }

/* ---------- Methodik ---------- */
.methodik ul { margin: 0 0 18px 0; padding-left: 0; list-style: none; }
.methodik li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 15px;
}
.methodik li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 10px;
  height: 10px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* ---------- Rangliste / Produktkarten ---------- */
.ranking-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px;
  margin-bottom: 28px;
}
.ranking-card.rank-1 { border: 2px solid var(--color-primary); }
.rank-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.rank-badge {
  flex: 0 0 auto;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
  padding: 6px 14px;
  border-radius: var(--radius-md);
  white-space: nowrap;
}
.rank-badge .place-num { font-size: 20px; }
.testsieger-badge {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-badge);
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 18px;
  text-align: center;
}
.testsieger-badge .star { font-size: 15px; }
.product-name {
  font-weight: 800;
  font-size: 22px;
  margin-bottom: 2px;
}
.product-brand {
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 16px;
}
.product-layout { display: flex; gap: 22px; flex-wrap: wrap; }
.product-image {
  flex: 0 0 220px;
  max-width: 220px;
}
.product-image img,
.product-image .img-placeholder {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
}
.product-scores { flex: 1 1 280px; }

/* Score-Bars */
.score-row { margin-bottom: 12px; }
.score-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}
.score-track {
  background: var(--color-border);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}
.score-fill {
  background: var(--color-primary);
  height: 8px;
  border-radius: 999px;
}
.overall-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0 8px;
}
.overall-score .big {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 48px;
  color: var(--color-primary);
  line-height: 1;
}
.overall-score .label {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}
.price-line {
  font-size: 15px;
  font-weight: 500;
  margin: 6px 0 16px;
}
.price-line strong { color: var(--color-primary-dark); }

/* Pro / Contra */
.procon { margin: 18px 0; }
.procon h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.procon ul { list-style: none; margin-bottom: 16px; }
.procon li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  font-size: 15px;
}
.pro li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-success);
  font-weight: 800;
}
.contra li::before {
  content: '✗';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-danger);
  font-weight: 800;
}

/* CTA Button */
.cta-btn {
  display: block;
  width: 100%;
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 17px;
  text-decoration: none;
  padding: 15px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-badge);
  margin: 18px 0;
  transition: background 0.15s ease;
}
.cta-btn:hover { background: var(--color-primary-dark); }

/* Fazit */
.fazit { margin-top: 22px; }
.fazit h4 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.fazit p { font-size: 15px; }
.fazit p strong { color: var(--color-text); }

/* Tipp-Callout */
.tipp {
  background: #FFFBEB;
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 22px 0;
}
.tipp h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--color-primary-dark);
}
.tipp p { font-size: 15px; margin-bottom: 0; }

/* ---------- Testsieger-Wiederholung ---------- */
.winner-recap {
  background: var(--color-bg);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 26px;
}
.winner-recap .product-name { font-size: 24px; }
.rating-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0;
}
.rating-stars { color: #F5A623; font-size: 20px; letter-spacing: 1px; }
.rating-text { font-size: 14px; color: var(--color-text-light); }
.trust-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.trust-platforms span {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-text);
}

/* ---------- TOC ---------- */
.toc {
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 28px 0;
}
.toc h2 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.toc ul { list-style: none; }
.toc li { margin-bottom: 8px; }
.toc a {
  text-decoration: none;
  color: var(--color-text);
  font-size: 15px;
  font-weight: 500;
}
.toc a:hover { color: var(--color-primary); text-decoration: underline; }
.toc a::before { content: '→ '; color: var(--color-primary); }

/* ---------- FAQ ---------- */
.faq details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  background: var(--color-bg);
  box-shadow: var(--shadow-card);
}
.faq summary {
  font-weight: 700;
  font-size: 17px;
  cursor: pointer;
  padding: 16px 20px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}
.faq details[open] summary::after { content: '–'; }
.faq details p {
  padding: 0 20px 18px;
  font-size: 15px;
  margin-bottom: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-text);
  color: #CED4DA;
  padding: 40px 0 28px;
  margin-top: 40px;
  font-size: 13px;
  line-height: 1.7;
}
.footer h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
  margin-top: 22px;
}
.footer h3:first-child { margin-top: 0; }
.footer p { font-size: 13px; margin-bottom: 12px; }
.footer details summary {
  cursor: pointer;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  margin-bottom: 10px;
}
.footer ol { padding-left: 20px; }
.footer ol li { margin-bottom: 8px; font-size: 12px; word-break: break-word; }
.footer a { color: #fff; }
.trust-block {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0;
}
.trust-block span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.footer-links { margin: 16px 0; }
.footer-links a { margin-right: 18px; font-size: 13px; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 16px;
  margin-top: 20px;
  font-size: 12px;
  color: #ADB5BD;
}
.photo-credits { font-size: 11px; color: #ADB5BD; margin-top: 12px; }

/* ---------- Responsive ---------- */
/* ---------- Tablet (hochkant) ---------- */
@media (min-width: 641px) and (max-width: 991px) {
  body { font-size: 17px; }
  .hero h1 { font-size: 34px; }
  .hero .subline { font-size: 21px; }
  .section h2 { font-size: 28px; }
  /* Pro/Contra auch auf Tablet nebeneinander */
  .ranking-card .procon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
    align-items: start;
  }
  .ranking-card .procon h4:nth-of-type(1) { grid-column: 1; grid-row: 1; }
  .ranking-card .procon .pro              { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .ranking-card .procon h4:nth-of-type(2) { grid-column: 2; grid-row: 1; }
  .ranking-card .procon .contra           { grid-column: 2; grid-row: 2; margin-bottom: 0; }
}

/* ---------- Mobile ---------- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .hero { padding: 28px 0 18px; }
  .hero h1 { font-size: 25px; line-height: 1.22; }
  .hero .subline { font-size: 17px; }
  .section { padding: 30px 0; }
  .section h2 { font-size: 22px; }
  .product-layout { flex-direction: column; }
  .product-image { flex: 1 1 auto; max-width: 100%; }
  .product-image img,
  .product-image .img-placeholder { max-width: 280px; margin: 0 auto; }
  .overall-score .big { font-size: 38px; }
  .ranking-card { padding: 18px 16px; }
  .product-name { font-size: 19px; }
  .testsieger-badge { font-size: 11.5px; padding: 10px 12px; line-height: 1.7; }
  .criterion { padding: 18px 16px; gap: 12px; }
  .criterion-num { width: 36px; height: 36px; font-size: 17px; }
  .cta-btn { font-size: 16px; padding: 14px 16px; }
  .topnav { width: 100%; margin-left: 0; gap: 14px; }
}

/* ---------- Kleine Smartphones ---------- */
@media (max-width: 400px) {
  .hero h1 { font-size: 23px; }
  .testsieger-badge { font-size: 11px; padding: 9px 10px; }
  .overall-score .big { font-size: 34px; }
  .product-name { font-size: 18px; }
}

/* ---------- Desktop-Optimierung (Tablet quer / Desktop) ---------- */
@media (min-width: 992px) {
  body { font-size: 18px; }
  .container { max-width: 860px; padding: 0 24px; }

  /* Typo-Scale */
  .hero h1 { font-size: 46px; }
  .hero .subline { font-size: 25px; }
  .hero .intro p { font-size: 18px; }
  .section { padding: 56px 0; }
  .section h2 { font-size: 33px; margin-bottom: 26px; }
  .edu-block h3 { font-size: 22px; }
  .edu-block p { font-size: 17px; }
  .criterion-body h3 { font-size: 21px; }
  .criterion-body p { font-size: 16px; }
  .fazit p { font-size: 16px; }
  .faq summary { font-size: 18px; }

  /* Hero: volle Breite + zweispaltig (Text links, Bild rechts) */
  .hero { padding: 56px 0 36px; }
  .hero .container {
    max-width: 1140px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    column-gap: 48px;
    align-items: start;
  }
  .hero h1       { grid-column: 1; grid-row: 1; margin-bottom: 14px; }
  .hero .subline { grid-column: 1; grid-row: 2; }
  .hero .intro   { grid-column: 1; grid-row: 3; margin-bottom: 0; }
  .hero-image    { grid-column: 2; grid-row: 1 / span 3; margin: 0; align-self: start; }
  .hero-image img { aspect-ratio: 3/4; max-height: 540px; width: 100%; object-fit: cover; }

  /* Edukations- und Trust-Bilder begrenzen, damit sie nicht riesig werden */
  .edu-figure { max-width: 540px; margin-left: auto; margin-right: auto; }

  /* Qualitätsmerkmale etwas grosszuegiger */
  .criterion { padding: 26px 30px; gap: 20px; }
  .criterion-num { width: 48px; height: 48px; font-size: 22px; }

  /* Rangliste: breit, Karten grosszuegig */
  #rangliste .container, #testsieger .container { max-width: 1080px; }
  .ranking-card { padding: 32px 36px; }
  .product-image { flex: 0 0 250px; max-width: 250px; }
  .product-scores { flex: 1 1 380px; }

  /* Pro/Contra nebeneinander (nur in den Ranking-Karten) */
  .ranking-card .procon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 36px;
    align-items: start;
  }
  .ranking-card .procon h4:nth-of-type(1) { grid-column: 1; grid-row: 1; }
  .ranking-card .procon .pro              { grid-column: 1; grid-row: 2; margin-bottom: 0; }
  .ranking-card .procon h4:nth-of-type(2) { grid-column: 2; grid-row: 1; }
  .ranking-card .procon .contra           { grid-column: 2; grid-row: 2; margin-bottom: 0; }

  /* Inhaltsverzeichnis zweispaltig */
  .toc ul { column-count: 2; column-gap: 36px; }
  .toc li { break-inside: avoid; }
}

@media (min-width: 1280px) {
  .hero h1 { font-size: 52px; }
  .hero .container { max-width: 1200px; }
  #rangliste .container, #testsieger .container { max-width: 1120px; }
}

/* ==========================================================================
   ERWEITERUNGEN: Homepage-Kartengrid, Editorial-Band, Rechtsseiten-Prosa
   ========================================================================== */

/* ---------- Homepage-Hero (zentriert, editorial) ---------- */
.home-hero {
  padding: 48px 0 8px;
  text-align: center;
}
.home-hero .eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 14px;
}
.home-hero h1 {
  font-weight: 800;
  font-size: 34px;
  line-height: 1.18;
  margin: 0 auto 18px;
  max-width: 18ch;
}
.home-hero .subline {
  font-size: 18px;
  color: var(--color-text-light);
  max-width: 60ch;
  margin: 0 auto;
}

/* ---------- Karten-Grid (Test-Vergleiche) ---------- */
.card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 8px;
}
.test-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: 24px;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.test-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  border-color: var(--color-primary);
}
.test-card .card-kicker {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: #FFE8EB;
  padding: 3px 9px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.test-card h3 {
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 8px;
}
.test-card .card-dek {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 18px;
  flex: 1 1 auto;
}
.test-card .card-link {
  align-self: flex-start;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-primary);
  text-decoration: none;
}
.test-card .card-link::after {
  content: ' →';
  transition: margin-left 0.15s ease;
}
.test-card:hover .card-link::after { margin-left: 4px; }

/* ---------- Editorial-Versprechen-Band ---------- */
.promise-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 24px;
}
.promise-item {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 4px 0;
}
.promise-item .promise-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 12px;
}
.promise-item h3 {
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 8px;
}
.promise-item p {
  font-size: 15px;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* ---------- Rechtsseiten / Dokument-Prosa ---------- */
.doc { padding: 36px 0 20px; }
.doc h1 {
  font-weight: 800;
  font-size: 30px;
  margin-bottom: 8px;
}
.doc .doc-lead {
  font-size: 16px;
  color: var(--color-text-light);
  margin-bottom: 24px;
}
.doc h2 {
  font-weight: 800;
  font-size: 21px;
  margin: 30px 0 10px;
}
.doc h3 {
  font-weight: 700;
  font-size: 17px;
  margin: 18px 0 6px;
}
.doc p { font-size: 16px; margin-bottom: 14px; }
.doc ul { margin: 0 0 16px 0; padding-left: 0; list-style: none; }
.doc ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  font-size: 16px;
}
.doc ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 2px;
}
.doc address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 14px;
}
.doc a { color: var(--color-primary); word-break: break-word; }

/* Hinweis-/Platzhalter-Box */
.note {
  background: #FFFBEB;
  border-left: 4px solid var(--color-primary);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 24px 0;
}
.note strong { color: var(--color-primary-dark); }
.note p { font-size: 15px; margin-bottom: 0; }

/* Kontaktkanal-Karten */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 8px 0 24px;
}
.contact-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px 22px;
}
.contact-card h3 {
  font-weight: 800;
  font-size: 17px;
  margin: 0 0 6px;
}
.contact-card p { font-size: 15px; color: var(--color-text-light); margin-bottom: 8px; }
.contact-card a { font-weight: 700; font-size: 16px; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

/* ---------- Responsive: Grids ab Tablet zweispaltig ---------- */
@media (min-width: 700px) {
  .card-grid { grid-template-columns: 1fr 1fr; }
  .promise-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 992px) {
  .home-hero { padding: 64px 0 12px; }
  .home-hero h1 { font-size: 46px; }
  .home-hero .subline { font-size: 20px; }
  .doc h1 { font-size: 36px; }
  .doc h2 { font-size: 24px; }
}
