/* Autoeule (autoeule*.go, autoeule*.html): auf dem Städte- und Reise-Stil (eulendatenbank-staedte.css, eulenreisen.css)
   aufgebaut, nur Ergänzungen unter .sd.ae; Farben, Schriften, Ränder und Rundungen wie dort. Kontraste ≥ 4,5:1. */
.sd.ae .ae-held { grid-template-columns: minmax(0, 1fr) auto; }
/* Lange Wörter (Gebäudemodernisierungsgesetz, Fundstellen, Adressen) brechen statt die Seite zu verbreitern (Befund auf A:
   /baueule/heizungs-check bei 390 px 587 px breit); Überschriften mit Silbentrennung (lang="de"). */
.sd.ae { overflow-wrap: break-word; }
.sd.ae h1, .sd.ae h2, .sd.ae h3 { hyphens: auto; -webkit-hyphens: auto; }
.sd.ae .er-held-text, .sd.ae .card, .sd.ae .ae-ergebnis { min-width: 0; }
.sd.ae .ae-methodik-kurz { font-size: 14px; color: #4a5a6e; margin: 12px 0 0; }
.sd.ae .ae-wege { margin: 0 0 24px; }
.sd.ae .ae-wegliste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.sd.ae .ae-weg { position: relative; display: flex; flex-direction: column; gap: 6px; height: 100%; box-sizing: border-box; min-height: 132px;
  padding: 20px 48px 20px 20px; text-decoration: none; color: #15263f; background: white; border: 1px solid #dce3eb; border-radius: 16px; }
.sd.ae .ae-weg:hover, .sd.ae .ae-weg:focus-visible { border-color: #225b88; background: #f6f9fc; }
.sd.ae .ae-weg b { font-family: "EDB Plex", Arial, sans-serif; font-weight: 600; font-size: 20px; }
.sd.ae .ae-weg small { font-size: 15px; line-height: 1.45; color: #3d4c60; }
.sd.ae .ae-pfeil { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-size: 22px; color: #225b88; }
.sd.ae .ae-hervor { align-self: flex-start; font-size: 13px; line-height: 1.35; padding: 5px 9px; border-radius: 9px; background: #fff1e0; color: #6b3600;
  border: 1px solid #f3c48f; }
.sd.ae .ae-weg-versichern { border-color: #f3c48f; }

.sd.ae .ae-schritt { margin: 0 0 20px; }
.sd.ae .ae-schritt h2 { font-size: 22px; }
.sd.ae .ae-anlass { border: 0; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 16px; }
.sd.ae .ae-anlass legend { font-weight: 600; margin-bottom: 8px; padding: 0; }
.sd.ae .ae-wahl { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border: 1px solid #bdc9d7; border-radius: 9px; background: white; cursor: pointer; }
.sd.ae .ae-wahl:has(input:checked) { border-color: #15263f; background: #edf4fa; }
.sd.ae .ae-wahl input { margin-top: 3px; width: 18px; height: 18px; flex: none; }
.sd.ae .ae-feld { display: block; margin: 0 0 10px; }
.sd.ae .ae-feld span { display: block; font-size: 14px; color: #3d4c60; margin-bottom: 4px; }
.sd.ae .ae-feld input, .sd.ae .ae-feld textarea { width: 100%; box-sizing: border-box; padding: 10px; font: inherit; min-height: 44px; }
.sd.ae .ae-hilfe { font-size: 14px; color: #4a5a6e; margin: 0 0 10px; }
.sd.ae .ae-fehler { color: #a3001b; font-weight: 600; }
.sd.ae .ae-ergebnis { margin: 16px 0; padding: 16px 18px; border-radius: 12px; background: #edf7ee; border: 1px solid #a9d3ae; }
.sd.ae .ae-ergebnis.ae-vorbei { background: #fdeeee; border-color: #e7b0b0; }
.sd.ae .ae-ergebnis h3 { margin-top: 0; }
.sd.ae .ae-satz { font-size: 18px; }
.sd.ae .ae-regeln { margin-top: 12px; }
.sd.ae .ae-regeln summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.sd.ae .ae-regeln dt { font-weight: 600; margin-top: 10px; }
.sd.ae .ae-regeln dt.aktiv { color: #225b88; text-decoration: underline; text-underline-offset: 3px; }
.sd.ae .ae-regeln dd { margin: 4px 0 0; }
.sd.ae .ae-raster { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 16px; }
.sd.ae .ae-brief { white-space: pre-wrap; word-break: break-word; font-family: Georgia, "Times New Roman", serif; font-size: 15px; line-height: 1.55;
  background: white; border: 1px solid #dce3eb; border-radius: 9px; padding: 20px; margin: 0 0 12px; }
.sd.ae .ae-briefknoepfe { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.sd.ae .ae-briefknoepfe button { padding: 10px 16px; min-height: 44px; }
.sd.ae .ae-partner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 12px 0; }
.sd.ae .ae-quellen { font-size: 14px; padding-left: 20px; }
.sd.ae .ae-quellen li { margin-bottom: 4px; }
.sd.ae .ae-test code { word-break: break-all; }

@media (max-width: 700px) {
  .sd.ae .ae-wegliste, .sd.ae .ae-anlass, .sd.ae .ae-raster { grid-template-columns: 1fr; }
  .sd.ae .ae-weg b { font-size: 18px; }
}

@media print {
  body.ae-druck * { visibility: hidden; }
  body.ae-druck .ae-brief, body.ae-druck .ae-brief * { visibility: visible; }
  body.ae-druck .ae-brief { position: absolute; left: 0; top: 0; width: 100%; border: 0; padding: 0; font-size: 12pt; }
}

/* Rubrikneutrale Bausteine (rubrik-teile.html) */
.sd.ae .rb-check { margin: 0 0 24px; border: 2px solid #15263f; }
.sd.ae .rb-check h2 { font-size: 24px; margin-top: 0; }
.sd.ae .rb-check textarea { min-height: 110px; }
.sd.ae .rb-achten summary { cursor: pointer; font-weight: 600; padding: 6px 0; }
.sd.ae .rb-deals { margin: 0 0 24px; }
.sd.ae .rb-anzeige { margin: 0 0 12px; padding: 10px 14px; background: #edf4fa; border: 1px solid #d5e4ef; border-radius: 9px; font-size: 14px; }
.sd.ae .rb-dealliste { list-style: none; margin: 0 0 10px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.sd.ae .rb-deal { display: flex; flex-direction: column; background: white; border: 1px solid #dce3eb; border-radius: 16px; overflow: hidden; }
.sd.ae .rb-deal img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #f6f9fc; }
.sd.ae .rb-deal-text { padding: 14px 16px; display: flex; flex-direction: column; flex: 1; }
.sd.ae .rb-deal h3 { font-size: 16px; line-height: 1.35; margin: 0 0 8px; }
.sd.ae .rb-score { margin: 0 0 4px; color: #15263f; }
.sd.ae .rb-grund { margin: 0 0 8px; font-size: 14px; color: #3d4c60; }
.sd.ae .rb-preis { margin: auto 0 10px; font-weight: 600; font-size: 18px; }
.sd.ae .rb-leiste { margin: 0 0 24px; padding: 16px 18px; border: 1px solid #dce3eb; border-radius: 12px; background: #f6f9fc; }
.sd.ae .rb-leiste h2 { font-size: 17px; margin: 0 0 8px; }
.sd.ae .rb-leiste ul { margin: 0; padding-left: 18px; }
.sd.ae .rb-leiste li { margin: 0 0 6px; }
.sd.ae .rb-kredit { display: inline-block; color: #6b3600; font-weight: 600; }
@media (max-width: 900px) { .sd.ae .rb-dealliste { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .sd.ae .rb-dealliste { grid-template-columns: 1fr; } }
.sd.ae .ae-anleitung dt { font-weight: 600; margin-top: 10px; }
.sd.ae .ae-anleitung dd { margin: 4px 0 0; }
.sd.ae .ae-liste { padding-left: 20px; }
.sd.ae .ae-liste li { margin-bottom: 6px; }
.sd.ae .ae-rueckrufe { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 14px; }
.sd.ae .ae-rueckrufe h3 { margin: 6px 0; font-size: 18px; }
.sd.ae .ae-artikel { max-width: 760px; }
.sd.ae .ae-artikel h2 { font-size: 20px; margin-top: 20px; }
.sd.ae .ae-intro { font-size: 18px; }
@media print { body .ae-druckbar { break-inside: avoid; } }
/* Rubrik-Start (Autoeule/Baueule) auf schmalen Handys: die Eule überlappte bei 390 px den Rand des Titels (Befund
   21.11.2026). Bis zur Fassung der Gestalterin (ab 25.11.): kleiner, oben rechts, Titel und Eyebrow mit Platz daneben. */
@media (max-width: 420px) {
  .sd.er.ae .ae-held { grid-template-columns: 1fr; }
  .sd.er.ae .ae-held .er-eule { position: absolute; top: 12px; right: 12px; width: 44px; }
  .sd.er.ae .ae-held .eyebrow, .sd.er.ae .ae-held h1 { padding-right: 52px; }
}
/* Kennzeichnung (Owner 21.11.2026): nur das kleine „Anzeige“ am Titel des Blocks und an jedem Partnerlink; der Satz zu
   den Partnerlinks steht einmal im Fuß der Seite (.fuss-konditionen). */
.sd.ae .er-anzeige { font-size: 12px; font-weight: 600; color: #4a5a6e; }
.sd.ae h2 .rb-titel-anzeige { margin-left: 6px; vertical-align: middle; }
.sd.ae p.rb-titel-anzeige { margin: 0 0 8px; }
.sd.ae .rb-deal h3 a { color: inherit; text-decoration: none; }
.sd.ae .rb-kauf { margin: auto 0 0; }
