/* Dog Talk Magazin: ergänzt /style.css (Farben, Grundtypografie). Keine externen Ressourcen. */

.wrap-wide {
  max-width: 1040px;
}

.crumbs ol {
  list-style: none;
  padding: 0;
  margin: 8px 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  font-size: 0.875rem;
  color: var(--muted);
}

.crumbs li + li::before {
  content: "›";
  margin-right: 4px;
}

.artikel {
  max-width: 760px;
}

.rasse,
.glossar,
.artikel:has(.berater) {
  max-width: none;
}

.artikel-kopf {
  margin: 24px 0 28px;
}

.artikel-kopf h1 {
  font-size: clamp(2rem, 6vw, 2.75rem);
}

.eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 8px;
}

.lead {
  font-size: 1.1875rem;
  color: var(--muted);
  max-width: 760px;
}

.meta,
.alt-namen,
.klein {
  font-size: 0.875rem;
  color: var(--muted);
}

/* Karten */

.karten {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.karte {
  margin: 0;
}

.karte a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  text-decoration: none;
}

.karte a:hover {
  border-color: var(--accent);
}

.karte strong {
  font-size: 1.1875rem;
  line-height: 1.3;
}

.karte span:last-child {
  color: var(--muted);
  font-size: 0.9375rem;
}

.kachel-liste {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.kachel-liste li {
  margin: 0;
}

.kachel-liste a {
  display: inline-block;
  padding: 8px 14px;
  min-height: 44px;
  line-height: 28px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  text-decoration: none;
  color: var(--text);
}

.kachel-liste a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Rassenseite */

.rasse-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
}

@media (min-width: 900px) {
  .rasse-grid {
    grid-template-columns: 320px minmax(0, 1fr);
    align-items: start;
  }

  .steckbrief {
    position: sticky;
    top: 16px;
  }
}

.steckbrief {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.steckbrief h2 {
  margin-top: 0;
  font-size: 1.25rem;
}

.steckbrief dl {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 12px;
  margin: 0 0 16px;
  font-size: 0.9375rem;
}

.steckbrief dt {
  color: var(--muted);
}

.steckbrief dd {
  margin: 0;
  font-weight: 600;
}

.werte {
  list-style: none;
  padding: 0;
  font-size: 0.9375rem;
}

.werte li {
  display: grid;
  grid-template-columns: 1fr auto 3.5em;
  align-items: center;
  gap: 8px;
}

.wert-text {
  color: var(--muted);
  font-size: 0.8125rem;
}

.balken {
  display: inline-flex;
  gap: 3px;
}

.balken i {
  width: 18px;
  height: 8px;
  border-radius: 4px;
  background: var(--border);
}

.balken i.an {
  background: var(--accent);
}

.rasse-text h2:first-of-type {
  margin-top: 0;
}

.hinweis {
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin: 0 0 1.25em;
}

.hinweis.warnung {
  background: var(--note-bg);
  border: 1px solid var(--note-border);
}

/* FAQ */

.faq details {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0 16px;
  margin-bottom: 8px;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  min-height: 44px;
}

.faq details p {
  margin-top: 0;
}

.quellen {
  font-size: 0.9375rem;
}

/* Rassen-Berater */

.berater {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 32px;
}

.berater h2 {
  margin-top: 0;
}

.berater-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.berater-tabs button {
  font: inherit;
  font-weight: 600;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
}

.berater-tabs button[aria-selected="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--button-text);
}

.feld-reihe {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.berater label,
.glossar-werkzeug label {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-weight: 600;
  font-size: 0.9375rem;
}

.berater input:not([type="checkbox"]),
.berater select,
.glossar-werkzeug input,
.glossar-werkzeug select {
  font: inherit;
  font-weight: 400;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
}

.filter {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-bottom: 12px;
}

.berater label.check {
  flex-direction: row;
  align-items: center;
  gap: 10px;
  font-weight: 400;
  min-height: 44px;
}

.berater label.check input {
  width: 20px;
  height: 20px;
  accent-color: var(--accent);
}

.antwort {
  background: var(--accent-light);
  border-radius: var(--radius);
  padding: 16px;
}

.antwort:empty {
  display: none;
}

.antwort p:last-child {
  margin-bottom: 0;
}

.ergebnis-liste {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 8px;
}

.ergebnis-liste li {
  margin: 0;
}

.ergebnis-liste a {
  display: block;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  text-decoration: none;
}

.ergebnis-liste a:hover {
  border-color: var(--accent);
}

.ergebnis-liste small {
  display: block;
  color: var(--muted);
}

.tabelle-wrap {
  overflow-x: auto;
}

table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9375rem;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}

th {
  color: var(--muted);
  font-weight: 600;
}

/* Glossar */

.glossar-werkzeug {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
  align-items: end;
  margin-bottom: 16px;
}

.az {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 24px;
  position: sticky;
  top: 0;
  background: var(--bg);
  padding: 8px 0;
  z-index: 1;
}

.az a {
  display: inline-grid;
  place-items: center;
  min-width: 36px;
  min-height: 36px;
  border-radius: 8px;
  border: 1px solid var(--border);
  text-decoration: none;
  font-weight: 600;
}

.buchstabe h2 {
  font-size: 1.75rem;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}

.eintrag {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 64px;
}

.eintrag:target {
  background: var(--accent-light);
  border-radius: 10px;
  padding-left: 10px;
  padding-right: 10px;
}

.eintrag dt {
  font-weight: 700;
  font-size: 1.0625rem;
}

.eintrag dt a {
  color: var(--text);
  text-decoration: none;
}

.eintrag dd {
  margin: 4px 0 0;
}

.eintrag dd p {
  margin-bottom: 0.5em;
}

.syn {
  font-weight: 400;
  color: var(--muted);
}

.kat {
  display: inline-block;
  margin-left: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-light);
  border-radius: 999px;
  padding: 1px 8px;
  vertical-align: middle;
}

.siehe {
  font-size: 0.9375rem;
}

/* Beitrag */

.toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 0.9375rem;
}

.toc ol {
  margin: 0;
}

.beitrag-text h2 {
  scroll-margin-top: 16px;
}

.beitrag-text aside.hinweis {
  margin: 1.25em 0;
}

/* App-Hinweis am Seitenende */

.app-teaser {
  margin: 48px 0 0;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--accent-light);
}

.app-teaser h2 {
  margin-top: 0;
}

.site-footer ul {
  flex-wrap: wrap;
}
