/* Ratgeberseiten je Produktart (web/ratgeber.go, ratgeber*.html): auf der Gestaltung von „Städte entdecken“
   (eulendatenbank-staedte.css, .sd) und den Faktencheck-Regeln der Eulensuche (eulensuche.css). Nur Regeln unter .rg. */
/* Farben wie die Karten der Eulenidee (weihnachten.css, .wn-finder: --wn-tinte, --wn-rand, --wn-akzent, Knopf #efbd7d) */
.sd.rg { --rg-tinte: #0e3443; --rg-leise: #5b7180; --rg-rand: #d8e4ea; --rg-akzent: #c16532; --rg-warm: #efbd7d; --rg-warm-hover: #e9a85c;
  --rg-warm-weich: #fdf3e6; --rg-schatten: 0 1px 2px rgba(16, 44, 64, .06), 0 8px 24px rgba(16, 44, 64, .08); }
.sd.rg .intro { max-width: 760px; }
.sd.rg .rg-teil { margin: 24px 0; }
.sd.rg .card.rg-teil { padding: 22px 24px; }
.sd.rg .suche-fakten { border-radius: 16px; background: #ffffff; }
.sd.rg .suche-fakten h2 { font-size: 25px; margin: 0 0 10px; }
.sd.rg .suche-fakten h3 { font-size: 18px; margin: 18px 0 6px; }
.sd.rg .suche-fakten-liste { font-size: 16px; line-height: 1.5; }
.sd.rg .suche-fakten-liste li { margin: 4px 0; }
.sd.rg .rg-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.sd.rg .rg-mehr { margin-top: 10px; font-size: 16px; }
.sd.rg .rg-mehr > summary { font-size: 16px; }
.sd.rg .leise { color: #5b6a7d; }
.sd.rg .klein { font-size: 15px; }
.sd.rg .rg-knopf { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 12px; background: var(--rg-warm); color: var(--rg-tinte);
  text-decoration: none; font-family: "EDB Plex", Arial, sans-serif; font-weight: 600; box-shadow: 0 2px 0 rgba(193, 101, 50, .25); }
.sd.rg .rg-knopf:hover { background: var(--rg-warm-hover); }
.sd.rg .rg-methodik-kurz { margin-top: 8px; }
.sd.rg .rg-klassenleiste { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; max-width: 760px; }
.sd.rg .rg-klassenleiste li { background: #ffffff; border: 1px solid #dce3eb; border-radius: 12px; padding: 10px 12px; min-width: 0; font-size: 15px; }
.sd.rg .rg-klassenleiste li strong, .sd.rg .rg-klassenleiste li .zahl { display: block; }
.sd.rg .rg-median { margin: 0; display: flex; align-items: baseline; gap: 10px; }
.sd.rg .rg-median strong { font-size: 32px; }
.sd.rg .rg-balken { display: block; width: 100%; max-width: 520px; height: auto; margin: 8px 0 4px; }
.sd.rg .rg-b-spur { fill: #bdc9d7; }
.sd.rg .rg-b-mitte { fill: #245c83; }
.sd.rg .rg-b-median { fill: #fc7400; }
.sd.rg .rg-zahlen { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 10px 0; }
.sd.rg .rg-zahlen dt { color: #5b6a7d; font-size: 14px; }
.sd.rg .rg-zahlen dd { margin: 0; font-weight: 600; }
.sd.rg .rg-klassen { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.sd.rg .rg-klassen li { border: 1px solid #dce3eb; border-radius: 10px; padding: 8px 10px; font-size: 15px; min-width: 0; }
.sd.rg .rg-klassen li strong, .sd.rg .rg-klassen li .zahl { display: block; }
.sd.rg .rg-hinweis { background: #edf4fa; border: 1px solid #d5e4ef; border-radius: 10px; padding: 12px 14px; }
.sd.rg .rg-karten { list-style: none; padding: 0; margin: 12px 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.sd.rg .rg-karte { background: #ffffff; border: 1px solid #dce3eb; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; min-width: 0; }
.sd.rg .rg-foto { aspect-ratio: 4 / 3; background: #ffffff; border-bottom: 1px solid #eef2f6; display: flex; align-items: center; justify-content: center; }
.sd.rg .rg-foto img { width: 100%; height: 100%; object-fit: contain; }
.sd.rg .rg-karte-text { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.sd.rg .rg-karte-text p { margin: 4px 0; }
.sd.rg .rg-klasse { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #376d91; }
.sd.rg .rg-name { font-size: 16px; line-height: 1.3; margin: 2px 0 4px; overflow-wrap: anywhere; }
.sd.rg .rg-preiszeile b { font-size: 20px; }
.sd.rg .rg-aktion { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 15px; }
.sd.rg .rg-kauf { padding: 8px 12px; border-radius: 9px; background: #15263f; color: #ffffff; text-decoration: none; font-weight: 600; }
.sd.rg .rg-kauf:hover { background: #245c83; }
.sd.rg .rg-anzeige { font-size: max(12px, .85em); padding: 0; border: 0; border-radius: 0; color: inherit; } /* Textmarke statt Knopf (anzeige-tag, stil.css) */
.sd.rg .rg-pruefen { font-size: 14px; }
.sd.rg .rg-einstiege { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 24px 0; }
.sd.rg .rg-einstiege h2 { font-size: 21px; }
.sd.rg .rg-liste { list-style: none; padding: 0; margin: 0; }
.sd.rg .rg-liste small { color: inherit; opacity: .75; }
.sd.rg .suche-quellen { padding-left: 1.6em; font-size: 14px; }
.sd.rg .suche-quellen li { margin: 3px 0; overflow-wrap: anywhere; }
.sd.rg sup a { text-decoration: none; padding: 0 1px; }
@media (max-width: 700px) {
  .sd.rg .rg-zwei { grid-template-columns: 1fr; gap: 0; }
  .sd.rg .rg-klassenleiste li, .sd.rg .rg-klassen li { font-size: 13px; padding: 8px; }
  .sd.rg .card.rg-teil { padding: 18px 16px; }
  .sd.rg .rg-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .sd.rg .rg-karte-text { padding: 10px; }
  .sd.rg .rg-name { font-size: 15px; }
  .sd.rg .rg-preiszeile b { font-size: 18px; }
  .sd.rg .rg-kauf { padding: 7px 10px; }
}

/* Kurzseite: Untertitel als eigene Zeile (Befund 20.11.2026: Umbruch vor dem Doppelpunkt) */
.intro h1 .h1-unter { display: block; font-size: 0.6em; font-weight: 600; margin-top: 0.2em; }

/* Öffnung der Einzelseite (Owner 19.11.2026: Anreißer statt Beschreibung, mit Fotos) */
.sd.rg .rg-oeffnung.rg-mit-fotos { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.sd.rg .rg-mag-kicker { margin: 0 0 6px; color: var(--rg-akzent); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.sd.rg .rg-anreisser { background: var(--rg-warm-weich); border-radius: 16px; padding: 16px 20px; margin: 16px 0 18px; }
.sd.rg .rg-frage { font-family: "EDB Plex", Arial, sans-serif; font-weight: 600; font-size: 24px; line-height: 1.25; margin: 0 0 6px; color: var(--rg-tinte); }
.sd.rg .rg-zahl { font-family: "EDB Plex", Arial, sans-serif; font-weight: 600; font-size: 34px; line-height: 1.1; margin: 4px 0; color: var(--rg-akzent); }
.sd.rg .rg-anreisser-text { margin: 0; font-size: 18px; }
.sd.rg .rg-einleitung { font-size: 17px; margin: 0 0 12px; }
.sd.rg .rg-fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 36px; }
.sd.rg .rg-foto-oeffnung { position: relative; display: block; background: #ffffff; border-radius: 16px; box-shadow: var(--rg-schatten);
  aspect-ratio: 1 / 1; overflow: hidden; }
.sd.rg .rg-foto-oeffnung:first-child { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.sd.rg .rg-foto-oeffnung img { position: absolute; inset: 6%; width: 88%; height: 88%; object-fit: contain; }
.sd.rg .rg-karte { border-radius: 16px; border-color: var(--rg-rand); box-shadow: var(--rg-schatten); }
.sd.rg .rg-kauf { border-radius: 10px; }

/* Magazin /ratgeber (Owner 19.11.2026: Aufmacher mit Bild und Anreißer, Ressorts mit Karten, Knöpfe statt Chips) */
.sd.rg-mag .rg-mag-intro h1 { font-size: 40px; }
.sd.rg-mag .rg-mag-intro p { font-size: 19px; color: var(--rg-tinte); }
.sd.rg-mag .rg-aufmacher { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; margin: 20px 0 40px; background: #ffffff;
  border-radius: 22px; overflow: hidden; box-shadow: var(--rg-schatten); border: 1px solid var(--rg-rand); }
.sd.rg-mag .rg-aufmacher-foto { position: relative; display: block; background: #ffffff; min-height: 360px; }
.sd.rg-mag .rg-aufmacher-foto img { position: absolute; inset: 28px; width: calc(100% - 56px); height: calc(100% - 56px); object-fit: contain; }
.sd.rg-mag .rg-aufmacher-text { background: var(--rg-warm-weich); padding: 34px 36px; display: flex; flex-direction: column; justify-content: center; }
.sd.rg-mag .rg-aufmacher h2 { font-size: 34px; line-height: 1.15; margin: 0 0 12px; color: var(--rg-tinte); }
.sd.rg-mag .rg-aufmacher h2 a { text-decoration: none; }
.sd.rg-mag .rg-aufmacher h2 a:hover { text-decoration: underline; }
.sd.rg-mag .rg-aufmacher-zahl { font-family: "EDB Plex", Arial, sans-serif; font-weight: 600; font-size: 54px; line-height: 1; margin: 6px 0 10px; color: var(--rg-akzent); }
.sd.rg-mag .rg-aufmacher-anreisser { font-size: 19px; margin: 0 0 8px; }
.sd.rg-mag .rg-mag-quelle { font-size: 13px; color: var(--rg-leise); margin: 0; }
.sd.rg-mag .rg-mag-los { display: inline-block; margin-top: 10px; padding: 13px 24px; border-radius: 12px; background: var(--rg-warm); color: var(--rg-tinte);
  font-family: "EDB Plex", Arial, sans-serif; font-weight: 600; text-decoration: none; box-shadow: 0 2px 0 rgba(193, 101, 50, .25); }
.sd.rg-mag .rg-mag-los:hover { background: var(--rg-warm-hover); }
.sd.rg-mag .rg-ressort { margin: 0 0 44px; }
.sd.rg-mag .rg-ressort > h2 { font-size: 28px; margin: 0 0 16px; color: var(--rg-tinte); }
.sd.rg-mag .rg-mag-karten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.sd.rg-mag .rg-mag-karte { display: flex; flex-direction: column; height: 100%; background: #ffffff; border: 1px solid var(--rg-rand); border-radius: 18px;
  overflow: hidden; text-decoration: none; color: var(--rg-tinte); box-shadow: var(--rg-schatten); transition: transform .15s ease, box-shadow .15s ease; }
.sd.rg-mag .rg-mag-karte:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(16, 44, 64, .08), 0 14px 30px rgba(16, 44, 64, .12); }
.sd.rg-mag .rg-mag-karte:focus-visible { outline: 3px solid var(--rg-akzent); outline-offset: 2px; }
.sd.rg-mag .rg-mag-foto { position: relative; display: block; aspect-ratio: 3 / 2; background: #ffffff; border-bottom: 1px solid #eef2f5; overflow: hidden; }
.sd.rg-mag .rg-mag-foto img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.sd.rg-mag .rg-mag-foto img.rg-mag-eule { inset: 25%; width: 50%; height: 50%; opacity: .8; }
.sd.rg-mag .rg-mag-karte-text { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.sd.rg-mag .rg-mag-karte .rg-mag-kicker { margin: 0; font-size: 12px; }
.sd.rg-mag .rg-mag-frage { font-family: "EDB Plex", Arial, sans-serif; font-weight: 600; font-size: 20px; line-height: 1.25; }
.sd.rg-mag .rg-mag-anreisser { font-size: 16px; line-height: 1.45; color: #2a4152; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4;
  line-clamp: 4; overflow: hidden; }
.sd.rg-mag .rg-mag-karte .rg-mag-quelle { font-size: 12.5px; }
.sd.rg-mag .rg-mag-weiter { margin-top: auto; padding-top: 6px; font-weight: 600; color: var(--rg-akzent); font-size: 15px; }
.sd.rg-mag .rg-mag-mehr { margin-top: 18px; }
.sd.rg-mag .rg-mag-mehr-titel { margin: 0 0 8px; font-size: 14px; color: var(--rg-leise); font-weight: 600; }
.sd.rg-mag .rg-mag-knoepfe { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.sd.rg-mag .rg-mag-knopf { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 4px 16px 4px 4px; border-radius: 999px; background: var(--rg-warm-weich);
  color: var(--rg-tinte); text-decoration: none; font-weight: 600; font-size: 15px; border: 1px solid #f2d9b8; }
.sd.rg-mag .rg-mag-knopf:not(:has(img)) { padding-left: 16px; }
.sd.rg-mag .rg-mag-knopf:hover { background: var(--rg-warm); border-color: var(--rg-warm); }
.sd.rg-mag .rg-mag-knopf img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: #ffffff; flex: none; }
@media (max-width: 960px) {
  .sd.rg-mag .rg-mag-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .sd.rg .rg-oeffnung.rg-mit-fotos { grid-template-columns: 1fr; gap: 0; }
  .sd.rg .rg-fotos { grid-template-columns: 1fr 1fr 1fr; margin-top: 16px; gap: 8px; }
  .sd.rg .rg-foto-oeffnung:first-child { grid-column: auto; aspect-ratio: 1 / 1; }
  .sd.rg .rg-frage { font-size: 21px; }
  .sd.rg .rg-zahl { font-size: 28px; }
  .sd.rg .rg-anreisser { padding: 14px 16px; }
  .sd.rg .rg-anreisser-text { font-size: 17px; }
  .sd.rg-mag .rg-mag-intro h1 { font-size: 30px; }
  .sd.rg-mag .rg-mag-intro p { font-size: 17px; }
  .sd.rg-mag .rg-aufmacher { grid-template-columns: 1fr; margin: 16px 0 32px; border-radius: 18px; }
  .sd.rg-mag .rg-aufmacher-foto { min-height: 0; aspect-ratio: 4 / 3; }
  .sd.rg-mag .rg-aufmacher-foto img { inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); }
  .sd.rg-mag .rg-aufmacher-text { padding: 20px 18px 22px; }
  .sd.rg-mag .rg-aufmacher h2 { font-size: 25px; }
  .sd.rg-mag .rg-aufmacher-zahl { font-size: 40px; }
  .sd.rg-mag .rg-aufmacher-anreisser { font-size: 17px; }
  .sd.rg-mag .rg-ressort > h2 { font-size: 23px; }
  /* Karten als Reihe zum Wischen (die Seite selbst scrollt nie seitlich) */
  .sd.rg-mag .rg-mag-karten { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px; overflow-x: auto;
    scroll-snap-type: x mandatory; margin: 0 -16px; padding: 2px 16px 10px; scroll-padding: 0 16px; overscroll-behavior-x: contain; }
  .sd.rg-mag .rg-mag-karten > li { scroll-snap-align: start; }
  .sd.rg-mag .rg-mag-karte { border-radius: 16px; }
  .sd.rg-mag .rg-mag-karte-text { padding: 12px 14px 14px; gap: 4px; }
  .sd.rg-mag .rg-mag-frage { font-size: 18px; }
  .sd.rg-mag .rg-mag-anreisser { font-size: 15px; }
  .sd.rg-mag .rg-mag-weiter { font-size: 14px; }
  .sd.rg-mag .rg-mag-knopf { font-size: 14px; min-height: 44px; }
  .sd.rg-mag .rg-mag-knopf img { width: 36px; height: 36px; }
}

/* Ratgeber-Inhalt (Owner 20.11.2026, ratgeber_inhalt.go): zusätzliche Abschnitte in den Farben der Seite, Kurz gesagt
   als nummerierte Karte, Fragen und Verweise. Das übrige Erscheinungsbild bleibt. */
.sd.rg .rg-inhalt p { font-size: 16px; line-height: 1.55; max-width: 760px; }
.sd.rg .rg-kurz { background: var(--rg-warm-weich); border-radius: 16px; border: 1px solid #f2d9b8; }
.sd.rg .rg-kurz h2 { font-size: 25px; margin: 0 0 10px; color: var(--rg-tinte); }
.sd.rg .rg-kurz-liste { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sd.rg .rg-kurz-liste li { background: #ffffff; border-radius: 12px; padding: 14px 16px; font-size: 15.5px; line-height: 1.5; min-width: 0; }
.sd.rg .rg-kurz-nr { display: block; font-family: "EDB Plex", Arial, sans-serif; font-weight: 600; font-size: 28px; line-height: 1; color: var(--rg-akzent); margin-bottom: 6px; }
.sd.rg .rg-kurz-liste li strong { display: block; font-size: 16.5px; margin-bottom: 4px; color: var(--rg-tinte); }
.sd.rg .rg-wasbekommt { margin-top: 18px; border-top: 1px solid var(--rg-rand); padding-top: 4px; }
.sd.rg .rg-fragen h3 { font-size: 17px; margin: 16px 0 4px; }
.sd.rg .rg-fragen p { margin: 0 0 6px; }
.sd.rg .rg-verweis-liste { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.sd.rg .rg-verweis-liste a:not(.rg-knopf) { font-weight: 600; }
@media (max-width: 700px) {
  .sd.rg .rg-kurz-liste { grid-template-columns: 1fr; gap: 10px; }
  .sd.rg .rg-kurz h2 { font-size: 22px; }
  .sd.rg .rg-verweis-liste { flex-direction: column; align-items: flex-start; }
}
