/* === Grundlayout (Dark Mode) === */
body {
  background-color: #111;
  color: #eee;
  font-family: 'Segoe UI', Arial, sans-serif;
  font-size: 1.08rem;
  margin: 0;
  padding: 0;
}

/* === Logo Hero: Kein Kasten, kein Schatten, einfach zentriert === */
.logo-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.2rem 0 1.2rem 0;
  background: none;
  box-shadow: none;
}
.logo-hero img {
  max-width: 220px;
  border-radius: 0;
  box-shadow: none;
  background: none;
  padding: 0;
}

/* === Sprachumschalter mit Flaggen (kompakt) === */
.language-switcher {
  text-align: center;
  margin: 1.2rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}
.language-switcher a {
  color: #ccc;
  font-size: 0.9rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-weight: 500;
  gap: 0.3rem;
  transition: color 0.2s;
}
.language-switcher a:hover {
  color: #00FF7F;
  text-shadow: 0 0 5px #00FF7F;
}
.flag-icon {
  width: 20px;
  height: 14px;
  margin: 0;
}
/* === A–Z Navigation === */
.abc-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 2rem;
}
.abc-buttons button {
  background: #191a1e;
  color: #eee;
  border: 1px solid #333;
  border-radius: 7px;
  padding: 0.16rem 0.22rem;
  font-size: 0.97rem;
  cursor: pointer;
  transition: all 0.18s;
  min-width: 32px;
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap; /* verhindert Zeilenumbruch im Button */
}
.abc-buttons button:hover {
  background-color: #333;
  border-color: #00FF7F;
  color: #00FF7F;
}
.abc-buttons button.active {
  background-color: #00FF7F;
  color: #111;
  font-weight: bold;
  box-shadow: 0 0 8px #00FF7Faa;
  transform: scale(1.05);
}
.abc-buttons button:focus {
  outline: none;
}


/* === Suchleiste === */
.search-box {
  text-align: center;
  margin: 2rem auto;
}
#searchInput {
  width: 60%;
  padding: 0.7rem 1rem;
  border: 1px solid #444;
  background: #1a1a1a;
  color: #eee;
  font-size: 1rem;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#searchInput:focus {
  border-color: #00FF7F;
  box-shadow: 0 0 5px #00FF7F;
}

/* === Einträge/Liste === */

.entry-item a {
  color: #00FF7F;
  font-size: 1.15rem;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-block;
  padding: 0.2rem 0;
}
.entry-item a:hover {
  color: #66ffb2;
  text-shadow: 0 0 4px #00FF7F;
  transform: scale(1.03);
}

/* === Breadcrumbs: Kein Rahmen, kein Hintergrund, Trenner > === */
.breadcrumbs {
  font-size: 1.08rem;
  margin: 0 auto 2.2rem auto;
  color: #888;
  max-width: 900px;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: inherit;
  border: none;
  padding: 0;
  background: none;
}
.breadcrumbs .breadcrumb-home {
  color: #00FF7F;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumbs .breadcrumb-home:hover {
  color: #fff;
  text-shadow: 0 0 8px #00FF7F44;
}
.breadcrumbs .sep {
  color: #444;
  font-size: 1.18em;
  font-weight: bold;
  opacity: 0.7;
  letter-spacing: 0.15em;
}
.breadcrumbs .current {
  color: #eaeaea;
  font-weight: 500;
}

/* === Hauptüberschrift im Lexikon: kräftiges Mintgrün === */
.main-title {
  color: #00FF7F;
  text-align: center;
  margin: 0 0 2.2rem 0;
  font-size: 2.1rem;
  letter-spacing: 0.01em;
  font-weight: 700;
  text-shadow: 0 0 12px #00FF7F22;
}

/* === Content-Kasten === */
.content {
  background: #191a1e;
  border-radius: 13px;
  box-shadow: 0 2px 20px #0006;
  padding: 2.1rem 1.4rem 2.2rem 1.4rem;
  margin: 0 auto 2.5rem auto;
  max-width: 900px;
  line-height: 1.7;
  font-size: 1.11rem;
  color: #eaeaea;
}

/* === Back-Button === */
.back-button {
  display: inline-block;
  padding: 0.5rem 1.4rem;
  background-color: #18181c;
  color: #00FF7F;
  border: 1px solid #00FF7F;
  border-radius: 8px;
  font-size: 0.97rem;
  font-weight: 500;
  text-decoration: none;
  margin-top: 2.5rem;
  transition: all 0.23s;
}
.back-button:hover {
  color: #fff;
  border-color: #66ffb2;
  background-color: #23232a;
  box-shadow: 0 0 6px #00FF7F33;
  transform: scale(1.03);
}

/* === Footer === */
footer {
  margin-top: 3.5rem;
  text-align: center;
  font-size: 0.93rem;
  color: #aaa;
}
footer a.shop-link {
  display: inline-block;
  margin-top: 1.2rem;
  background-color: #00FF7F;
  color: #111;
  padding: 0.7rem 1.4rem;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 10px #00FF7F;
  transition: 0.3s;
}
footer a.shop-link:hover {
  background-color: #66ffb2;
  box-shadow: 0 0 20px #66ffb2;
  transform: scale(1.05);
}

/* === Treffer-Highlight === */
.highlight-hit {
  animation: flashHit 0.8s ease-in-out;
}

/* === Einheitliche Linkfarben im Content === */
.content a {
  color: #00FF7F;
  text-decoration: none;
  transition: 0.3s ease;
}
.content a:hover {
  color: #66ffb2;
  text-shadow: 0 0 4px #00FF7F;
}

/* === Zentrierte Listen-Überschrift (aber NICHT grün) === */
.list-title,
.list-header,
.list-heading,
.list-h1 {
  color: #eee;
  text-align: center;
  margin: 0 0 2.2rem 0;
  font-size: 2.1rem;
  letter-spacing: 0.01em;
  font-weight: 700;
  text-shadow: none;
}

/* === h1 in .content bleibt grün und zentriert === */
.content h1 {
  color: #00FF7F;
  text-align: center;
  margin: 0 0 2.2rem 0;
  font-size: 2.1rem;
  letter-spacing: 0.01em;
  font-weight: 700;
  text-shadow: 0 0 12px #00FF7F22;
}

/* === Responsive Anpassungen === */
@media (max-width: 700px) {
  .content { padding: 1.1rem 0.6rem; }
  .breadcrumbs { font-size: 0.97rem; }
  h1, .main-title, .list-title, .list-header, .list-heading, .list-h1 { font-size: 1.3rem; }
  .logo-hero img { max-width: 130px; }
  .abc-buttons { grid-template-columns: repeat(auto-fill, minmax(36px, 1fr)); }
}

a.autolink {
  position: relative;
  color: #e6c674; /* dezentes, klares Gold */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
  cursor: pointer;
}

a.autolink::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #e6c674 0%, #bfa14b 100%);
  border-radius: 1px;
  opacity: 0.45;
  transition: opacity 0.2s, transform 0.2s;
  transform-origin: left;
  transform: scaleX(0.7);
}

a.autolink:hover {
  color: #fff8d6;
}

a.autolink:hover::after {
  opacity: 0.85;
  transform: scaleX(1);
  box-shadow: 0 0 5px 1px #e6c67466;
}
/* === Gruppierte Einträge: Hauptgruppe > Untergruppe === */
.entry-group summary,
.entry-subgroup summary {
  cursor: pointer;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  background-color: #1c1c1f;
  border: 1px solid #333;
  margin: 1rem 0 0.5rem 0;
  transition: background-color 0.2s ease;
}

.entry-group summary:hover,
.entry-subgroup summary:hover {
  background-color: #222;
}

.entry-group .group-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #00FF7F;
}

.entry-subgroup .subgroup-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #66ffb2;
  margin-left: 1rem;
}

/* === Einrückung === */
.entry-subgroup {
  margin-left: 0;
  max-width: 600px;
  margin-right: auto;
  margin-left: auto;
  box-sizing: border-box;
  width: 100%;
}


.entry-item {
  margin: 0.6rem 0 0.6rem 2.5rem; /* top, right, bottom, left */
  letter-spacing: 0.3px;
  text-align: left;
  line-height: 1.4;
  padding: 0.2rem 0;
}

/* === Trefferhighlight bei Suche === */
.entry-item.highlight-hit {
  background-color: rgba(0, 255, 127, 0.15);
  border-left: 4px solid #00FF7F;
  padding-left: 0.5rem;
  animation: flashHit 0.6s ease-in-out;
}

@keyframes flashHit {
  0%   { background-color: rgba(0, 255, 127, 0.35); }
  100% { background-color: rgba(0, 255, 127, 0.1); }
}

.highlight-group {
  background-color: rgba(0, 255, 127, 0.15);
}

.highlight-subgroup {
  background-color: rgba(102, 255, 178, 0.15);
}

/* === Responsive Anpassung der Gruppentitel === */
@media (max-width: 700px) {
  .entry-group .group-title {
    font-size: 1.15rem;
  }
  .entry-subgroup .subgroup-title {
    font-size: 1.05rem;
  }
}
/* === Links in Gruppen-Titeln === */
.entry-group summary a,
.entry-subgroup summary a {
  color: inherit;
  text-decoration: none;
  display: inline-block;
  width: 100%;
}

.entry-group summary a:hover,
.entry-subgroup summary a:hover {
  color: #fff;
  text-shadow: 0 0 4px #00FF7F;
}

/* === Highlight-Animation für Gruppen-Treffer === */
.entry-group.highlight-group summary,
.entry-subgroup.highlight-subgroup summary {
  background-color: rgba(0, 255, 127, 0.2);
  border-color: #00FF7F;
  animation: flashHit 0.4s ease-in-out;
}
.entry-group {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  width: 100%;
}

.entry-group summary,
.entry-group .group-title,
.entry-subgroup summary,
.entry-subgroup .subgroup-title {
  text-align: center !important;
  justify-content: center;
  align-items: center;
  margin-left: 0 !important;
}

.entry-subgroup[open] > *:not(summary),
.entry-group[open] > *:not(summary) {
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
}

.entry-subgroup .entry-item,
.entry-item {
  text-align: center;
  margin-left: 0 !important;
}
@media (max-width: 700px) {
  .language-switcher .langname,
  .language-switcher .language-name {
    display: none !important;
  }
}
@media (max-width: 700px) {
  .content { padding: 1.1rem 0.6rem; }
  .breadcrumbs { font-size: 0.97rem; }
  h1, .main-title, .list-title, .list-header, .list-heading, .list-h1 { font-size: 1.3rem; }
  .logo-hero img { max-width: 130px; }

  /* Kleinere ABC-Buttons im Responsive */
  .abc-buttons button {
    min-width: 26px;
    min-height: 24px;
    font-size: 0.93rem;
    padding: 0.16rem 0.22rem;
  }
}
.breeder-article-list {
  max-width: 900px;
  margin: 0 auto 2.5rem auto;
  padding-left: 1.5rem;
  color: #eaeaea;
  font-size: 1.1rem;
  line-height: 1.6;
}

.breeder-article-list h2 {
  color: #00FF7F;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
  text-shadow: 0 0 12px #00FF7F22;
}

.breeder-article-list ul {
  list-style: disc;
  margin-left: 1.8rem;
  padding-left: 0;
}

.breeder-article-list ul li {
  margin-bottom: 0.8rem;
}

.breeder-article-list ul li a {
  color: #00FF7F;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s, text-shadow 0.2s;
}

.breeder-article-list ul li a:hover {
  color: #66ffb2;
  text-shadow: 0 0 6px #00FF7F;
  transform: scale(1.03);
}

.breeder-article-list .desc {
  color: #888;
  font-size: 0.95rem;
  margin-top: 0.2rem;
  line-height: 1.3;
  font-weight: 400;
  font-style: italic;
}
.centered-content {
  text-align: center;
}

.centered-content ul {
  list-style-position: inside; /* damit die Aufzählungszeichen mit zentriert werden */
  padding-left: 0;
  display: inline-block; /* damit die Liste nicht die ganze Breite einnimmt */
  text-align: left; /* damit die Listeneinträge linksbündig bleiben */
}

.centered-content ul li {
  margin-bottom: 0.8rem;
}

.centered-content ul li a {
  /* Optional: Link-Styling */
  color: #00FF7F;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.centered-content ul li a:hover {
  color: #66ffb2;
  text-shadow: 0 0 6px #00FF7F;
  transform: scale(1.03);
}

.centered-content .desc {
  color: #888;
  font-size: 0.95rem;
  margin-top: 0.2rem;
  font-style: italic;
}
.centered-link {
  text-align: center;
  margin-top: 2em;
}

.familytree {
  background: #181a1e;
  color: #eaeaea;
  border: 1px solid #23232a;
  border-radius: 9px;
  box-shadow: 0 2px 12px #0007;
  padding: 1.3em 1.1em;
  margin: 1.7em 0;
  font-size: 1.05em;
  line-height: 1.65;
  overflow-x: auto;
  max-width: 100%;
  transition: box-shadow 0.22s, border-color 0.22s;
}
/* Optional: Listen im Stammbaum hübscher machen */
.familytree ul,
.familytree ol {
  padding-left: 1.2em;
  margin: 0.3em 0;
}

.familytree li {
  margin: 0.18em 0;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
  font-size: 1em;
  letter-spacing: 0.01em;
}

/* Optional: Mintgrüner Akzent für Wurzeln/Knoten im Baum */
.familytree li strong,
.familytree li b {
  color: #00FF7F;
  font-weight: 700;
}




