:root{
  --bg:#fffaf0;
  --card:#ffffff;
  --text:#1d1d1f;
  --muted:#5f6368;
  --line:rgba(0,0,0,.08);
  --accent:#f5c400;
  --accent2:rgba(245,196,0,.18);
  --bluebg:#E3F7FF;
  --shadow:0 10px 30px rgba(0,0,0,.06);
  --radius:18px;
}
*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; background:var(--bg); color:var(--text); }
a{ color:inherit; }
img{ max-width:100%; height:auto; display:block; }
.wrap{ width:min(1120px, calc(100% - 32px)); margin:0 auto; }

/* NAV */
.nav{ position:sticky; top:0; z-index:50; background:rgba(255,250,240,.92); backdrop-filter: blur(10px); border-bottom:1px solid var(--line); }
.nav-inner{ display:flex; align-items:center; justify-content:space-between; gap:14px; padding:12px 0; }
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; }
.brand img{ width:44px; height:44px; border-radius:12px; background:#fff; border:1px solid var(--line); padding:6px; object-fit:contain; }
.brand .title{ font-weight:900; letter-spacing:.2px; }
.brand .sub{ color:var(--muted); font-size:.92rem; margin-top:2px; }
.nav-links{ display:flex; align-items:center; gap:12px; flex-wrap:nowrap; white-space:nowrap; justify-content:flex-end; }
.nav-links a{ text-decoration:none; color:var(--text); padding:8px 10px; border-radius:12px; }
.nav-links a:hover{ background:rgba(0,0,0,.04); }
@media (min-width: 981px){ .nav-links{ flex-wrap:nowrap; } }

/* Navigation Hover & Active */
.nav-links a:not(.btn){
  font-weight: 500;
  color: #222;
  transition: color .2s ease, background .2s ease;
  border-radius: 999px;
  padding: .45rem .7rem;
}
.nav-links a:not(.btn):hover{
  color:#000;
  background: rgba(255, 204, 0, .18);
}
.nav-links a:not(.btn).active{
  font-weight: 800;
  color:#000;
  background: rgba(255, 204, 0, .28);
}

/* BUTTONS */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:8px; padding:10px 14px; border-radius:14px; border:1px solid var(--line); background:#fff; text-decoration:none; font-weight:800; box-shadow:0 6px 16px rgba(0,0,0,.05); }
.btn:hover{ transform: translateY(-1px); }
.btn.primary{ background:var(--accent); border-color:rgba(0,0,0,.08); }

/* HERO */
.hero{ padding:34px 0 10px; }
.hero-card{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:26px; }
.hero-top{
  display:flex;
  gap:20px;
  align-items:center;
  flex-wrap:nowrap;       /* wichtig: verhindert "Logo rutscht nach oben" */
}

.logo-hero{
  flex:0 0 auto;
  width:260px;
  max-width:70vw;
  height:auto;
}

/* Textblock soll flexibel neben dem Logo bleiben */
.hero-top > div{
  flex:1 1 auto;
  min-width:0;
}
@media (max-width: 768px){
  .hero-top{
    flex-direction:column;
    align-items:flex-start;
  }

  .logo-hero{
    width:200px;
  }
}
.tag{ display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border-radius:999px; font-weight:900; font-size:.85rem; background:var(--accent2); border:1px solid var(--line); }
.h1{ font-size: clamp(28px, 3.2vw, 44px); margin: 10px 0 6px; font-weight:950; }
.p{ color:var(--muted); font-size:1.05rem; line-height:1.55; margin:0; }

/* SECTIONS */
.section{ padding:18px 0 44px; }
.grid{ display:grid; grid-template-columns: repeat(12, 1fr); gap:16px; }
.card{ background:var(--card); border:1px solid var(--line); border-radius:var(--radius); box-shadow:var(--shadow); padding:18px; }
.col-12{ grid-column: span 12; }
.col-8{ grid-column: span 8; }
.col-7{ grid-column: span 7; }
.col-6{ grid-column: span 6; }
.col-5{ grid-column: span 5; }
.col-4{ grid-column: span 4; }
.card h2{ margin:0 0 8px; font-size:1.25rem; }
.card h3{ margin:0 0 8px; font-size:1.15rem; }
.card p{ margin:0; color:var(--muted); line-height:1.55; }
.list{ margin:10px 0 0; padding-left:18px; color:var(--muted); line-height:1.6; }
.hr{ height:1px; background:var(--line); margin:14px 0; }

.note-blue{ background:var(--bluebg); border:1px solid rgba(0,169,224,.25); border-left:4px solid #00A9E0; border-radius:14px; padding:12px 14px; color:var(--text); }
.note-yellow{ background:var(--accent2); border:1px solid var(--line); border-left:4px solid var(--accent); border-radius:14px; padding:12px 14px; color:var(--text); }

/* FOOTER */
footer{ border-top:1px solid var(--line); padding:18px 0; background:rgba(255,255,255,.6); }
.footer-bar{ display:flex; align-items:center; gap:14px; }
.footer-left{ flex:0 0 auto; color:var(--muted); font-size:.95rem; }
.footer-center{ flex:1 1 auto; display:flex; justify-content:center; align-items:center; gap:10px; min-height:40px; }
.footer-right{ flex:0 0 auto; display:flex; gap:10px; justify-content:flex-end; flex-wrap:wrap; }
.footer-bubble{ display:inline-flex; align-items:center; justify-content:center; padding:6px 10px; border-radius:12px; font-weight:900; font-size:.9rem; text-decoration:none; background:var(--accent2); border:1px solid var(--line); }
.footer-bubble:hover{ background: rgba(245,196,0,.28); }
.social{ width:38px; height:38px; border-radius:12px; display:inline-flex; align-items:center; justify-content:center; background:var(--accent2); border:1px solid var(--line); }
.social svg{ width:20px; height:20px; fill:var(--text); }

/* FORMS */
form{ display:grid; gap:12px; }
input, textarea, select{ width:100%; padding:12px 12px; border-radius:14px; border:1px solid var(--line); font:inherit; background:#fff; }
textarea{ min-height:120px; resize:vertical; }

/* RESPONSIVE */
@media (max-width: 980px){ .nav-links{ flex-wrap:wrap; white-space:normal; } }
@media (max-width: 768px){
  .nav-inner{ flex-direction:column; align-items:flex-start; }
  .nav-links{ width:100%; justify-content:flex-start; }
  .grid{ grid-template-columns: 1fr; }
  .col-12,.col-8,.col-7,.col-6,.col-5,.col-4{ grid-column: 1 / -1; }
  .footer-bar{ flex-direction:column; align-items:flex-start; }
  .footer-center{ justify-content:flex-start; }
  .footer-right{ justify-content:flex-start; }
}

/* Pills */
.pill{ display:inline-flex; align-items:center; gap:8px; padding:6px 10px; border-radius:999px; font-weight:900; font-size:.85rem; letter-spacing:.2px; background:var(--accent2); border:1px solid var(--line); color:var(--text); white-space:nowrap; }
.pill.yellow{ background:var(--accent2); border-color:var(--line); }
.pill.blue{ background:var(--bluebg); border-color:rgba(0,169,224,.25); }
.pill.white{ background:rgba(255,255,255,.78); border-color:rgba(0,0,0,.08); }
.pill.soft{ background:rgba(0,169,224,.10); border-color:rgba(0,169,224,.18); }
.hero-badges{ display:flex; flex-wrap:wrap; gap:.6rem; margin-top:1rem; }

/* Utilities */
.muted{ color:var(--muted); }
.muted-note{ opacity:.85; }
.mt-6{ margin-top:6px; }
.mt-22{ margin-top:22px; }
.hr-18{ height:1px; background:var(--line); margin:18px 0; }
.w-auto-mt3{ width:auto; margin-top:3px; }
.sr-only{ position:absolute; left:-9999px; height:1px; width:1px; opacity:0; }
.back-btn{ margin-bottom:10px; }
.breadcrumb{ font-size:.95rem; color:var(--muted); }
.breadcrumb a{ text-decoration:underline; }



/* ======================================================
   Affiliate – Kategorie-Layout (MINIMAL, nur was genutzt wird)
   Alles scoped über .affiliate-page, damit Header/Footer NICHT leiden.
   ====================================================== */

.affiliate-page .aff-pills{ display:flex; flex-wrap:wrap; gap:.6rem; margin-top: 10px; }

.affiliate-page .note-soft{
  background: rgba(0,169,224,.10);
  border:1px solid rgba(0,169,224,.18);
  border-left:4px solid #00A9E0;
  border-radius:14px;
  padding:12px 14px;
  color:var(--text);
}

.affiliate-page .note-affiliate{
  background: rgba(245,196,0,.18);
  border:1px solid var(--line);
  border-left:4px solid var(--accent);
  border-radius:14px;
  padding:12px 14px;
  color:var(--text);
  line-height:1.55;
}

.affiliate-page .note-cat2{
  background: rgba(255,255,255,.82);
  border:1px solid rgba(0,0,0,.08);
  border-left:4px solid rgba(0,0,0,.18);
  border-radius:14px;
  padding:12px 14px;
}

/* Two-Col Block (Bilder links, Links rechts) */
.affiliate-page .aff-two-col{ align-items:start; }

.affiliate-page .aff-media img{
  width:100%;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.02);
}

.affiliate-page .aff-media-subgrid{
  margin-top:12px;
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}

@media (max-width: 768px){
  .affiliate-page .aff-media-subgrid{ grid-template-columns: 1fr; }
}

/* Links Card */
.affiliate-page .aff-links-card{
  background: rgba(255,255,255,.88);
  border:1px solid rgba(0,0,0,.08);
  border-radius:16px;
  padding:18px;
}

.affiliate-page .aff-links{ display:grid; gap:10px; margin-top:10px; }

.affiliate-page .aff-link{
  display:block;
  text-decoration:none;
  padding:12px 12px 12px 12px;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.92);
  transition: transform .12s ease, box-shadow .12s ease;
}

.affiliate-page .aff-link:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.affiliate-page .aff-link-title{
  font-weight:900;
  margin:0 0 6px;
}

.affiliate-page .aff-info{
  font-size:.95rem;
  color: var(--muted);
  margin:0;
}

/* Affiliate-Liste (falls auf manchen Seiten genutzt) */
.affiliate-page .affiliate-list{
  list-style:none;
  padding:0;
  margin:0;
}
.affiliate-page .affiliate-list li{
  position:relative;
  margin:12px 0;
  padding:14px 14px 14px 44px;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.9);
  transition: transform .12s ease, box-shadow .12s ease;
}
.affiliate-page .affiliate-list li::before{
  content:"✓";
  position:absolute;
  left:14px;
  top:14px;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background: rgba(255, 214, 0, .25);
  font-weight:800;
}
.affiliate-page .affiliate-list li:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}
.affiliate-page .affiliate-list a{
  font-weight:700;
  text-decoration:none;
}
.affiliate-page .affiliate-list a:hover{ text-decoration:underline; }
@media (min-width: 980px){
  .affiliate-page .affiliate-list{ columns:2; column-gap:16px; }
  .affiliate-page .affiliate-list li{ break-inside:avoid; }
}





/* ===============================
   Affiliate INDEX (Übersicht) – nur falls genutzt
   =============================== */
.affiliate-index .idx-card-link{ display:block; text-decoration:none; color:inherit; }
.affiliate-index .idx-card-img{
  width:100%;
  height:190px;
  object-fit:cover;
  border-radius:14px;
  border:1px solid rgba(0,0,0,.10);
  background: rgba(0,0,0,.03);
}
@media (max-width:768px){
  .affiliate-index .idx-card-img{ height:180px; }
}

/* --- Affiliate spacing + checkmarks (deine neuen Regeln) --- */
.affiliate-page .card + .card,
.affiliate-page .card + .note-affiliate,
.affiliate-page .note-affiliate + .card,
.affiliate-page .note-soft + .card{
  margin-top:16px;
}

.affiliate-page .aff-link{
  position:relative;
  padding-left:44px;
}

.affiliate-page .aff-link::before{
  content:"✓";
  position:absolute;
  left:14px;
  top:14px;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:999px;
  background: rgba(255, 214, 0, .25);
  font-weight:800;
}

/* .back-btn.is-disabled{
  opacity:.45;
  cursor:not-allowed;
  pointer-events:none;
  box-shadow:none;
} */
/* =========================================
   Index – Kategorie-Übersicht (NUR index)
   ========================================= */

.index-cat{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.index-cat--top{
  grid-column: span 4;
}

.index-cat--bottom{
  grid-column: span 6;
}

.index-cat-media img,
.index-cat-media picture img{
  width:100%;
  height: 100%;
  object-fit: cover;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.10);
  background:rgba(0,0,0,.02);
}

.index-cat-story{
  margin-top:8px;
  font-size:.95rem;
  color:var(--muted);
  line-height:1.5;
}

/* Mobile: alles untereinander */
@media (max-width: 768px){
  .index-cat--top,
  .index-cat--bottom{
    grid-column: 1 / -1;
  }
}
.index-cat-media{
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

/* Bilder in den Index-Kacheln unten bündig ausrichten */
.index-cat { 
  display: flex;
  flex-direction: column;
}

.index-cat-media {
  margin-top: auto;   /* <-- drückt den kompletten Bildblock nach unten */
}
.index-cat > .btn.primary{
  margin-top: 12px; /* Abstand nach Bildblock */
}
/* Mehr Abstand vor dem Breadcrumb im Hero */
.hero .breadcrumb{
  margin-top: 18px;
}
/* ======================================================
   Affiliate Pages – Vertical Rhythm & Spacing
   Ziel: mehr Luft, ruhiger Lesefluss, klare Sinnblöcke
   Scoped auf .affiliate-page (keine Nebenwirkungen)
   ====================================================== */

/* Extra Abstand nach wichtigen Hauptblöcken */
.affiliate-page .aff-intro {
  margin-bottom: 36px;
}

/* ------------------------------------------------------
   2) Ruhigerer Textfluss innerhalb der Blöcke
   ------------------------------------------------------ */
.affiliate-page .card p,
.affiliate-page .note-soft p,
.affiliate-page .note-affiliate p {
  margin-bottom: 14px;
  line-height: 1.6;
}

/* Letzten Absatz nicht unnötig aufziehen */
.affiliate-page .card p:last-child,
.affiliate-page .note-soft p:last-child,
.affiliate-page .note-affiliate p:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------
   3) Listen luftiger & besser lesbar
   ------------------------------------------------------ */
.affiliate-page ul {
  margin-top: 14px;
  margin-bottom: 6px;
  padding-left: 18px;
}

.affiliate-page li {
  margin-bottom: 8px;
  line-height: 1.55;
}

.affiliate-page li:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------
   4) Zwei-Spalten-Bereich (Bilder + Kategorien) entstressen
   ------------------------------------------------------ */
.affiliate-page .aff-two-col {
  margin-top: 36px;
  margin-bottom: 40px;
}

/* Einzelne Kategorie-Links etwas lockerer */
.affiliate-page .aff-link {
  margin-bottom: 10px;
}

.affiliate-page .aff-link:last-child {
  margin-bottom: 0;
}

/* ------------------------------------------------------
   5) Entscheidungspfad & Vergleich optisch absetzen
   ------------------------------------------------------ */
.affiliate-page .note-soft ul {
  margin-top: 10px;
}

/* ------------------------------------------------------
   6) Produktbeispiel-Block klar hervorheben
   ------------------------------------------------------ */
.affiliate-page .aff-recommendation-block {
  margin-top: 44px;
  margin-bottom: 44px;
}

/* ------------------------------------------------------
   7) Abschlussbereich bewusst ausklingen lassen
   ------------------------------------------------------ */
.affiliate-page .note-affiliate:last-of-type {
  margin-bottom: 48px;
}

/* ------------------------------------------------------
   8) Mobile Feinjustierung (nicht zu luftig)
   ------------------------------------------------------ */
@media (max-width: 768px) {
  .affiliate-page .card,
  .affiliate-page .note-soft,
  .affiliate-page .note-affiliate {
    margin-bottom: 22px;
  }

  .affiliate-page .aff-two-col {
    margin-top: 28px;
    margin-bottom: 32px;
  }
}
/* Affiliate-Link: klare Trennung Titel → Text */
.affiliate-page .aff-link-title {
  display: block;
}

.affiliate-page .aff-info {
  display: block;
  margin-top: 6px;
  line-height: 1.6;
}
/* Affiliate: Pills/Badges entspannen (mehr Luft oben & unten) */
.affiliate-page .aff-pills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;              /* vorher kleiner -> jetzt luftiger */
  margin-top: 16px;      /* mehr Luft nach oben */
  margin-bottom: 18px;   /* NEU: Luft nach unten */
}

/* Optional: Pills minimal "ruhiger" (etwas mehr Innenraum) */
.affiliate-page .aff-pills .pill{
  padding: 7px 12px;     /* vorher 6px 10px -> minimal angenehmer */
}
/* Q&A Orientierung – ruhig & scanbar */
.affiliate-page .aff-qa{
  margin-top: 22px;
  margin-bottom: 10px;
}

.affiliate-page .aff-answer{
  padding: 18px;
}

.affiliate-page .aff-answer a{
  font-weight: 700;
  text-decoration: underline;
}

.affiliate-page .aff-answer a:hover{
  text-decoration: none;
}
/* Affiliate-Links klar als klickbar erkennbar */
.affiliate-page .aff-answer a,
.affiliate-page .aff-links a {
  color: #1f5fbf;              /* ruhiges, seriöses Blau */
  text-decoration: underline; /* wichtigste Erkennbarkeit */
  text-underline-offset: 3px;
  font-weight: 600;
}

.affiliate-page .aff-answer a:hover,
.affiliate-page .aff-links a:hover {
  text-decoration: none;
}
/* Dezenter Pfeil für externe Links */
.affiliate-page .aff-answer a::after {
  content: " ↗";
  font-weight: 400;
  font-size: 0.9em;
}

/* FAQ – exakt wie .wrap breit */
.affiliate-page .aff-faq-wrap{
  width: min(1120px, calc(100% - 32px));
  margin: 40px auto;
  padding: 24px;
}
/* FAQ – Karten exakt gleich hoch */
.affiliate-page .aff-faq-grid{
  align-items: stretch;   /* wichtig */
}

.affiliate-page .aff-faq-card{
  height: 100%;            /* füllt die Spalte vollständig */
  display: flex;
  flex-direction: column;
}
/* Jump-Links – ruhig & klar */
.affiliate-page .aff-jumplinks{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
}

.affiliate-page .aff-jumplinks a{
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
/* Abstand nur zwischen großen Blöcken (nicht global auf jede Note) */
.affiliate-page .grid > .card,
.affiliate-page .grid > .note-soft,
.affiliate-page .grid > .note-affiliate{
  margin-bottom: 28px;
}
/* Hero Jumpbox: schlanker wirken lassen */
.affiliate-page .hero .note-soft{
  padding: 10px 12px;
  border-left-width: 3px;
}

/* =====================================================================
   AUSKOMMENTIERT (Minimal-Invasiv) – Konsolidierung / tote Redundanzen
   Hinweis: nicht gelöscht; nur deaktiviert & ans Dateiende verschoben.
   ===================================================================== */

/* --- Redundanz: aff-links-card padding override (bereits im Hauptblock) ---
/* Mehr Luft in der Link-Card */
.affiliate-page .aff-links-card {
  padding: 18px;
}


--- Ende: Redundanz: aff-links-card padding override (bereits im Hauptblock) --- */

/* --- Redundanz/Überlagerung: globales margin-bottom 28px (ersetzt durch .grid > ...) ---
/* ------------------------------------------------------
   1) Abstand zwischen großen Inhaltsblöcken
   ------------------------------------------------------ */
.affiliate-page .card,
.affiliate-page .note-soft,
.affiliate-page .note-affiliate {
  margin-bottom: 28px;
}


--- Ende: Redundanz/Überlagerung: globales margin-bottom 28px (ersetzt durch .grid > ...) --- */

/* --- Redundanz: doppelter Block index-cat-media img (in Hauptblock integriert) ---
.index-cat-media img,
.index-cat-media picture img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

--- Ende: Redundanz: doppelter Block index-cat-media img (in Hauptblock integriert) --- */
/* =========================================
   Affiliate-Unterseite: Komfort & Ergonomie
   Datei: komfort-ergonomie.htm
   Scope: body.affiliate-komfort
========================================= */

/* =========================================
   Affiliate-Unterseite: Komfort & Ergonomie
   Datei: komfort-ergonomie.htm
   Scope: body.affiliate-komfort
========================================= */

/* Link-Liste */
body.affiliate-komfort .aff-links-card,
body.affiliate-komfort .aff-wrap{
  padding: 18px;
}

body.affiliate-komfort .aff-link-title{
  font-weight: 750;
}

body.affiliate-komfort .aff-info{
  margin-top: 6px;
  line-height: 1.35;
}

/* Bild(er) */
body.affiliate-komfort .aff-media img{
  border-radius: 18px;
}

/* Layout: umschließende Blase Bild + Links */
body.affiliate-komfort .aff-links-card-inner{
  padding: 0; /* verhindert doppelte Innen-Padding, wenn aff-wrap genutzt wird */
}

body.affiliate-komfort .aff-wrap .aff-links{
  margin-top: 10px;
}

/* Hinweisblasen-Abstände */
body.affiliate-komfort .note-blue,
body.affiliate-komfort .note-soft{
  margin-top: 12px;
}

/* Disclaimer (falls noch irgendwo genutzt) */
body.affiliate-komfort .aff-disclaimer{
  margin-top: 14px;
}

/* FAQ / Q&A */
body.affiliate-komfort .qa p{
  margin: 0 0 12px 0;
}

body.affiliate-komfort .qa-list{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

body.affiliate-komfort .qa-item{
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

body.affiliate-komfort .qa-q{
  font-weight: 800;
  margin-bottom: 6px;
}

body.affiliate-komfort .qa-a{
  line-height: 1.45;
}
/* =========================================
   Komfort & Ergonomie – gleiche Höhe für innere Blasen
   Scope: body.affiliate-komfort
========================================= */

/* Grid-Zeilen gleich hoch */
body.affiliate-komfort .card > .grid {
  align-items: stretch;
}

/* Innere Cards gleich hoch machen */
body.affiliate-komfort .card > .grid > [class*="col-"] > .card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Inhalt sauber verteilen */
body.affiliate-komfort .card > .grid > [class*="col-"] > .card .note-soft,
body.affiliate-komfort .card > .grid > [class*="col-"] > .card .note-blue {
  margin-top: auto;
}
/* =========================================
   Komfort & Ergonomie – mehr vertikaler Abstand
   Scope: body.affiliate-komfort
========================================= */

/* Überschriften mehr Luft nach unten */
body.affiliate-komfort h2{
  margin-bottom: 20px;
}

body.affiliate-komfort h3{
  margin-bottom: 14px;
}

/* Tags (kleine Labels über Cards) */
body.affiliate-komfort .tag{
  margin-bottom: 10px;
}

/* Pills mehr Abstand zum folgenden Text */
body.affiliate-komfort .aff-pills{
  margin-bottom: 16px;
}

body.affiliate-komfort .aff-pills + .p,
body.affiliate-komfort .aff-pills + .note-soft,
body.affiliate-komfort .aff-pills + .note-blue{
  margin-top: 6px;
}

/* Fließtext innerhalb Cards lockern */
body.affiliate-komfort .card .p{
  margin-bottom: 14px;
}

/* Listen nicht an Überschrift kleben */
body.affiliate-komfort .card h3 + .list,
body.affiliate-komfort .card h3 + ul{
  margin-top: 10px;
}

/* Abstand zwischen Card-Abschnitten innerhalb großer Blasen */
body.affiliate-komfort .card .hr-18{
  margin: 26px 0;
}

/* Hinweisblasen nicht direkt „kleben“ */
body.affiliate-komfort .note-soft,
body.affiliate-komfort .note-blue{
  padding: 14px 16px;
  line-height: 1.45;
}
/* =========================================
   Affiliate-Unterseite: Organisation & Erinnern
   Datei: organisation-erinnern.htm
   Scope: body.affiliate-organisation
========================================= */

/* --- Layout / Wrap (Bild + Links) --- */
body.affiliate-organisation .aff-wrap{
  padding: 18px;
}

body.affiliate-organisation .aff-links-card-inner{
  padding: 0; /* verhindert doppeltes Padding im Wrap */
}

body.affiliate-organisation .aff-wrap .aff-links{
  margin-top: 10px;
}

/* --- Link-Liste --- */
body.affiliate-organisation .aff-link-title{
  font-weight: 750;
}

body.affiliate-organisation .aff-info{
  margin-top: 6px;
  line-height: 1.35;
}

/* --- Bilder --- */
body.affiliate-organisation .aff-media img{
  border-radius: 18px;
}

/* --- Hinweisblasen --- */
body.affiliate-organisation .note-blue,
body.affiliate-organisation .note-soft{
  margin-top: 12px;
  padding: 14px 16px;
  line-height: 1.45;
}

/* --- FAQ / Q&A --- */
body.affiliate-organisation .qa-list{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

body.affiliate-organisation .qa-item{
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

body.affiliate-organisation .qa-q{
  font-weight: 800;
  margin-bottom: 6px;
}

body.affiliate-organisation .qa-a{
  line-height: 1.45;
}

/* --- Gleiche Höhe für innere Blasen (Cards im Grid) --- */
body.affiliate-organisation .card > .grid{
  align-items: stretch;
}

body.affiliate-organisation .card > .grid > [class*="col-"] > .card{
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Notes in inneren Cards nach unten schieben (optional) */
body.affiliate-organisation .card > .grid > [class*="col-"] > .card .note-soft,
body.affiliate-organisation .card > .grid > [class*="col-"] > .card .note-blue{
  margin-top: auto;
}

/* --- Mehr Luft: Überschriften / Pills / Textabstände --- */
body.affiliate-organisation h2{
  margin-bottom: 20px;
}

body.affiliate-organisation h3{
  margin-bottom: 14px;
}

body.affiliate-organisation .tag{
  margin-bottom: 10px;
}

body.affiliate-organisation .aff-pills{
  margin-bottom: 16px;
}

body.affiliate-organisation .card .p{
  margin-bottom: 14px;
}

body.affiliate-organisation .card h3 + .list,
body.affiliate-organisation .card h3 + ul{
  margin-top: 10px;
}

body.affiliate-organisation .card .hr-18{
  margin: 26px 0;
}
/* =========================================
   Affiliate-Unterseite: Alltag ohne Pflegekontext
   Datei: alltag-ohne-pflegekontext.htm
   Scope: body.affiliate-ohne-pflege
========================================= */

/* --- Umschließende Blase (Bild + Links) --- */
body.affiliate-ohne-pflege .aff-wrap{
  padding: 18px;
}

body.affiliate-ohne-pflege .aff-links-card-inner{
  padding: 0; /* kein doppeltes Padding */
}

body.affiliate-ohne-pflege .aff-wrap .aff-links{
  margin-top: 10px;
}

/* --- Link-Liste --- */
body.affiliate-ohne-pflege .aff-link-title{
  font-weight: 750;
}

body.affiliate-ohne-pflege .aff-info{
  margin-top: 6px;
  line-height: 1.35;
}

/* --- Bilder --- */
body.affiliate-ohne-pflege .aff-media img{
  border-radius: 18px;
}

/* --- Hinweisblasen --- */
body.affiliate-ohne-pflege .note-blue,
body.affiliate-ohne-pflege .note-soft{
  margin-top: 12px;
  padding: 14px 16px;
  line-height: 1.45;
}

/* --- FAQ / Q&A --- */
body.affiliate-ohne-pflege .qa-list{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

body.affiliate-ohne-pflege .qa-item{
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

body.affiliate-ohne-pflege .qa-q{
  font-weight: 800;
  margin-bottom: 6px;
}

body.affiliate-ohne-pflege .qa-a{
  line-height: 1.45;
}

/* --- Gleiche Höhe für innere Blasen (Cards im Grid) --- */
body.affiliate-ohne-pflege .card > .grid{
  align-items: stretch;
}
/* =========================================
   Affiliate-Unterseite: Sicherheit & Orientierung
   Datei: sicherheit-orientierung.htm
   Scope: body.affiliate-sicherheit
========================================= */

/* --- Umschließende Blase (Bild + Links) --- */
body.affiliate-sicherheit .aff-wrap,
body.affiliate-sicherheit .aff-links-card{
  padding: 18px;
}

body.affiliate-sicherheit .aff-links-card-inner{
  padding: 0; /* verhindert doppeltes Padding */
}

body.affiliate-sicherheit .aff-wrap .aff-links{
  margin-top: 10px;
}

/* --- Link-Typografie --- */
body.affiliate-sicherheit .aff-link-title{
  font-weight: 750;
}

body.affiliate-sicherheit .aff-info{
  margin-top: 6px;
  line-height: 1.35;
}

/* --- Bilder --- */
body.affiliate-sicherheit .aff-media img{
  border-radius: 18px;
}

/* --- Hinweisblasen (Grundabstände) --- */
body.affiliate-sicherheit .note-blue,
body.affiliate-sicherheit .note-soft{
  margin-top: 12px;
  padding: 14px 16px;
  line-height: 1.45;
}

/* --- FAQ / Q&A --- */
body.affiliate-sicherheit .qa-list{
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

body.affiliate-sicherheit .qa-item{
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

body.affiliate-sicherheit .qa-q{
  font-weight: 800;
  margin-bottom: 6px;
}

body.affiliate-sicherheit .qa-a{
  line-height: 1.45;
}

/* --- Grid: gleiche Höhe nur für "reine Card-Grids"
       (NICHT für aff-two-col mit Bild + Links) --- */
body.affiliate-sicherheit .card > .grid:not(.aff-two-col){
  align-items: stretch;
}

body.affiliate-sicherheit
.card > .grid:not(.aff-two-col)
> [class*="col-"] > .card{
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* --- Auto-Push: nur im Schneller-Start-Modul
   Voraussetzung im HTML:
   <div class="card module-quickstart"> ... <div class="grid"> ... </div> </div>
------------------------------------------ */
body.affiliate-sicherheit
.module-quickstart
.grid
> [class*="col-"] > .card{
  height: 100%;
  display: flex;
  flex-direction: column;
}

body.affiliate-sicherheit
.module-quickstart
.grid
> [class*="col-"] > .card .note-blue{
  margin-top: auto;
}

/* --- Mehr Luft & bessere Lesbarkeit --- */
body.affiliate-sicherheit h2{
  margin-bottom: 20px;
}

body.affiliate-sicherheit h3{
  margin-bottom: 14px;
}

body.affiliate-sicherheit .tag{
  margin-bottom: 10px;
}

body.affiliate-sicherheit .aff-pills{
  margin-bottom: 16px;
}

body.affiliate-sicherheit .card .p{
  margin-bottom: 14px;
}

body.affiliate-sicherheit .card h3 + .list,
body.affiliate-sicherheit .card h3 + ul{
  margin-top: 10px;
}

/* --- Trenner --- */
body.affiliate-sicherheit .hr-18{
  margin: 26px 0;
}
/* Auto-Push nur im 3er-Grid (col-4), damit Einordnung/2er-Grids nicht betroffen sind */
body.affiliate-sicherheit
.card > .grid:not(.aff-two-col)
> [class*="col-4"] > .card{
  height: 100%;
  display: flex;
  flex-direction: column;
}

body.affiliate-sicherheit
.card > .grid:not(.aff-two-col)
> [class*="col-4"] > .card .note-blue{
  margin-top: auto;
}
/* Nur gezielt: Card-Inhalt vertikal stapeln */
.card.card-stack {
  display: flex;
  flex-direction: column;
}

/* Note-Blase ans Ende "pinnen" */
.card.card-stack .note-pin {
  margin-top: auto;
}
/* ===========================
   NiSa Scoped Practice Grid
   wirkt NUR im Wrapper .nisa-scope-practice
   =========================== */

.nisa-scope-practice { margin-top: 18px; }
.nisa-scope-practice .nisa-practice-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch; /* alle Zellen gleich hoch */
}

/* Cards: gleich hoch + saubere Innenabstaende + Note nach unten */
.nisa-scope-practice .nisa-practice-card{
  /* optik an eure cards angelehnt, ohne global zu aendern */
  background: var(--card-bg, #fff);
  border-radius: 18px;
  box-shadow: var(--shadow, 0 10px 30px rgba(0,0,0,.08));
  padding: 18px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Abstand / Rhythmus innerhalb der Cards */
.nisa-scope-practice .nisa-practice-card .h3{ margin-top: 8px; }
.nisa-scope-practice .nisa-practice-card .list{ margin-top: 10px; }
.nisa-scope-practice .nisa-practice-card .note-blue,
.nisa-scope-practice .nisa-practice-card .note-soft{
  margin-top: auto;      /* drueckt Note nach unten */
}

/* Optional: mehr Luft unter Listen */
.nisa-scope-practice .nisa-practice-card .list li{ margin-top: 8px; }

/* Responsive */
@media (max-width: 980px){
  .nisa-scope-practice .nisa-practice-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
/* ===========================
   NiSa Scoped FAQ Layout
   wirkt NUR im Wrapper .nisa-scope-faq
   =========================== */

.nisa-scope-faq .nisa-faq-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 18px;
  margin-top: 12px;
}

/* etwas kompaktere zweite Gruppe */
.nisa-scope-faq .nisa-faq-grid--small{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

/* QA-Items weniger "hoch" wirken lassen */
.nisa-scope-faq .qa-item{
  padding: 14px;
  border-radius: 16px;
}

/* Frage etwas knapper */
.nisa-scope-faq .qa-q{
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 980px){
  .nisa-scope-faq .nisa-faq-grid,
  .nisa-scope-faq .nisa-faq-grid--small{
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
/* ===========================
   NiSa Scoped Ratgeber Grid
   =========================== */

.nisa-scope-ratgeber .nisa-ratgeber-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.nisa-scope-ratgeber .nisa-ratgeber-card{
  background: var(--card-bg, #fff);
  border-radius: 18px;
  box-shadow: var(--shadow, 0 10px 30px rgba(0,0,0,.08));
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.nisa-scope-ratgeber .nisa-ratgeber-card .note-soft,
.nisa-scope-ratgeber .nisa-ratgeber-card .note-blue{
  margin-top: auto;
}

@media (max-width: 980px){
  .nisa-scope-ratgeber .nisa-ratgeber-grid{
    grid-template-columns: 1fr;
    gap: 14px;
  }
}
