* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #777;
  --color-light: #efefef;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --color-code-light-grey:  #cacbd1;
  --color-code-comment:     #a9aaad;
  --color-code-white:       #c5c9c6;
  --color-code-red:         #d16464;
  --color-code-orange:      #de935f;
  --color-code-yellow:      #f0c674;
  --color-code-green:       #a7bd68;
  --color-code-aqua:        #8abeb7;
  --color-code-blue:        #7e9abf;
  --color-code-purple:      #b294bb;
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

html {
  font-family: var(--font-family-sans);
  color: var(--color-text);
  background: var(--color-background);
}
img {
  width: 100%;
}
body {
  padding: var(--padding);
  max-width: 70rem;
  margin: 0 auto;
}
li {
  list-style: none;
}
a {
  color: currentColor;
  text-decoration: none;
}

a:hover{
  color: #de935f;
}

button {
  font: inherit;
  background: none;
  border: 0;
  color: currentColor;
  cursor: pointer;
}
strong, b {
  font-weight: 600;
}
small {
  font-size: inherit;
  color: var(--color-text-grey);
}

.bg-light {
  background-color: var(--color-light);
}
.color-grey {
  color: var(--color-text-grey);
}

.header {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-right: -1rem;
  margin-left: -1rem;
  margin-bottom: 6rem;
}

.logo {
  font-size: 3rem;
  padding: 1rem;
  display: flex;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}

.menu {
  display: flex;
  flex-wrap: wrap;
}

.menu a {
  padding: 0.5rem;
  display: block;
  position: relative;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.menu a:hover {
  filter: invert(48%) sepia(93%) saturate(4690%) hue-rotate(8deg) brightness(100%) contrast(104%);
  transform: scale(1.1); /* Leichte Vergrößerung beim Hover */
}

.menu a:hover img {
  filter: invert(48%) sepia(93%) saturate(4690%) hue-rotate(8deg) brightness(100%) contrast(104%);
  transform: scale(1.1); /* Leichtes Vergrößern des Icons */
}

/* Sicherstellen, dass das Icon korrekt erkannt wird */
.menu .search-toggle img {
  padding: 0.5 rem;
  height: 3rem; 
  /*vertical-align: middle; /* Vertikal zentrieren */
  transition: filter 0.3s, transform 0.3s; /* Hinzufügen einer Übergangsanimation */
}


/* Hover-Effekt für das Such-Icon */
.menu .search-toggle:hover img {
  filter: invert(48%) sepia(93%) saturate(4690%) hue-rotate(8deg) brightness(100%) contrast(104%);
  transform: scale(1.1); /* Leichte Vergrößerung beim Hover */
}

/* Stil für das aktuelle Menüelement */
.menu a[aria-current] {
  text-decoration: underline;
  color: #de935f;
}

.menu a[aria-current]:hover {
  filter: invert(48%) sepia(93%) saturate(4690%) hue-rotate(8deg) brightness(100%) contrast(104%);
  transform: scale(1.1); /* Leichte Vergrößerung beim Hover */
}

@media (max-width: 576px) {
  .menu {
    flex-wrap: wrap; /* Zwingt die Icons bei kleineren Bildschirmen zum Umbrechen */
    justify-content: center; /* Zentriert die Icons */
  }

  .menu a {
    padding: 1rem; /* Weniger Padding, um mehr Platz zu schaffen */
    width: 25%; /* Verkleinert die Breite der Icons, um ein Umbrechen zu forcieren */
    text-align: center;
  }

  .logo {
    font-size: 2rem; /* Verkleinert die Logo-Schriftgröße weiter für kleine Bildschirme */
  }
}

.grid {
  --columns: 12;
  --gutter: 3rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: 1fr;
}
.grid > .column {
  margin-bottom: var(--gutter);
}

.autogrid {
  --gutter: 3rem;
  --min: 10rem;
  display: grid;
  grid-gap: var(--gutter);
  grid-template-columns: repeat(auto-fit, minmax(var(--min), 1fr));
  grid-auto-flow: dense;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.text {
  line-height: 1.5em;
}
.text a {
  text-decoration: underline;
}
.text :first-child {
  margin-top: 0;
}
.text :last-child {
  margin-bottom: 0;
}
.text p,
.text ul,
.text ol {
  margin-bottom: 1.5rem;
}
.text ul,
.text ol {
  margin-left: 1rem;
}
.text ul p,
.text ol p {
  margin-bottom: 0;
}
.text ul > li {
  list-style: disc;
}
.text ol > li {
  list-style: decimal;
}
.text ul ol,
.text ul ul,
.text ol ul,
.text ol ol {
  margin-bottom: 0;
}
.text h1,
.h1,
.intro {
  font-size: 2rem;
  margin-bottom: 3rem;
  line-height: 1.25em;
}
.text h2,
.h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.text h3,
.h3 {
  font-weight: 600;
}
.text .codeblock {
  display: grid;
}
.text code {
  font-family: var(--font-family-mono);
  font-size: 1em;
  background: var(--color-light);
  padding: 0 .5rem;
  display: inline-block;
  color: var(--color-black);
}
.text pre {
  margin: 3rem 0;
  background: var(--color-black);
  color: var(--color-white);
  padding: 1.5rem;
  overflow-x: scroll;
  overflow-y: hidden;
  line-height: 1.5rem;
}
.text pre code {
  padding: 0;
  background: none;
  color: inherit;
}
.text hr {
  margin: 6rem 0;
}
.text dt {
  font-weight: 600;
}
.text blockquote {
  font-size: 1.25rem;
  line-height: 1.325em;
  border-left: 0.125rem solid var(--color-black); 
  padding-left: 1rem;
  margin: 3rem 0;
  max-width: 25rem;
}
.text blockquote footer {
  font-size: .875rem;
  font-style: italic;
  color: #000;
}
.text figure {
  margin: 3rem 0;
}
.text figcaption {
  padding-top: .75rem;
  color: var(--color-text-grey);
}
.text figure ul {
  line-height: 0;
  display: grid;
  gap: 1.5rem;
  margin: 0;
  grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr));
}
.text figure ul li {
  list-style: none;
}

hr {
  border: 0;
  background: currentColor;
  height: 0.125rem;
  width: 1.5rem;
  margin: 3rem auto;
}

.align-center {
  text-align: center;
}

.intro {
  max-width: 40rem;
}
.intro *:not(:last-child) {
  margin-bottom: 1em;
}

.cta {
  background: var(--color-black);
  color: var(--color-white);
  display: inline-flex;
  justify-content: center;
  padding: .75rem 1.5rem;
  border: 0.25rem solid var(--color-white);
  outline: 0.125rem solid var(--color-black);  
}

.box {
  background: var(--color-light);
  padding: 1.5rem;
  border: 0.25rem solid var(--color-white);
  outline: 0.125rem solid var(--color-light);  
}

.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding-top: .75rem;
  line-height: 1.5em;
}

.footer {
  padding: 9rem 0 6rem;
  line-height: 1.5em;
}
.footer:before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 0.125rem;
  background: var(--color-black);
  margin-bottom: 1.5rem;
}

.footer h2 {
  font-weight: 600;
  margin-bottom: .75rem;
}
.footer ul,
.footer p {
  color: black;
}
.footer p {
  max-width: 15rem;
}
.footer a:hover {
  color: var(--color-text);
}


.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}


@media screen and (min-width: 60rem) {
  body {
    --padding: 3rem;
  }

  .grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .grid > .column {
    grid-column: span var(--columns);
  }

}

.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 0.125rem solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.note-excerpt {
  line-height: 1.5em;
}
.note-excerpt header {
  margin-bottom: 1.5rem;
}
.note-excerpt figure {
  margin-bottom: .5rem;
}
.note-excerpt-title {
  font-weight: 600;
}
.note-excerpt-date {
  color: var(--color-text-grey);
}

.note-preview {
  display: block;
  margin-bottom: 2rem; /* Abstand zwischen den Artikeln */
  overflow: hidden;
}

.note-preview img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1rem; /* Abstand zwischen dem Bild und der Überschrift */
}

.note-preview figcaption {
  background-color: #fff;
  padding: 1rem;
  border: 0.0625rem solid #ddd;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  overflow: hidden;
}

.note-preview h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  line-height: 1.2; /* Platz für mehrzeilige Überschriften */
}

.note-preview p {
  margin: 0;
  font-size: 1rem;
  color: #555;
  line-height: 1.5rem; /* Sicherstellen, dass Text genügend Platz hat */
}

.search-form {
  position: relative;
}

.search-input {
  padding: 0.3125rem;
  font-size: 0.875rem;
  border-radius: 0.25rem;
  border: 0.0625rem solid #ccc;
  display: none; /* Standardmäßig versteckt */
  position: absolute;
  top: 100%; /* Unterhalb der Icons */
  left: 0;
  margin-top: 0.3125rem;
  z-index: 10;
  width: 12.5rem;
  box-sizing: border-box;
}

.search-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex; /* Sicherstellen, dass das Icon zentriert ist */
  align-items: center;
}

.search-icon {
  height: 1.5rem; /* Standardgröße für Icons */
  vertical-align: middle; /* Vertikal zentrieren */
}

.search-form.open .search-input {
  display: block;
}

.search-results ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.search-results li {
  margin-bottom: 2rem;
  border-bottom: 0.125rem solid #ddd;
  padding-bottom: 1rem;
}

.search-results a {
  text-decoration: none;
  color: inherit;
  display: flex;
  align-items: flex-start;
}

.search-results img {
  display: block;
  margin-right: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
}

.search-results h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  color: #333;
}

.search-results p {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  color: #555;
  line-height: 1.5rem;
}

.search-results p.tags {
  font-size: 0.9rem;
  color: #999;
}

.advertisement-banner {
  margin-left: 1rem;
  padding: 1rem;
  background-color: #f7f7f7;
  border: 0.0625rem solid #ddd;
}

img[src*=".svg"] {
  width: 2.25rem;
  height: 2.25rem;
}

.moderation-hint {
  color: red;
  font-weight: bold;
  margin-top: 0.625rem;
}

/* Styling für die Kommentarliste */
.komment-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0; /* Abstand zum restlichen Content */
}

.komment-item {
  padding: 1rem;
  margin-bottom: 1.5rem;
  background-color: var(--color-light);
  border-left: 0.25rem solid var(--color-grey); /* Linke Linie als stilistische Trennung */
  border-radius: 0.25rem;
}

.komment-header {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
}

.komment-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  margin-right: 0.625rem;
  object-fit: cover; /* Sorgt dafür, dass das Bild gut in die runde Form passt */
}


.komment-author {
  font-weight: bold;
  margin-right: 0.5rem;
}

.komment-date {
  font-size: 0.875rem;
  color: var(--color-text-grey);
}

.komment-body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-text);
}

/* Kommentarbereich Überschrift */
.komments h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-bottom: 0.125rem solid var(--color-grey); /* Eine Linie unter dem Titel */
  padding-bottom: 0.5rem;
}

.seasons {
  margin: 2rem 0;
}

.season {
  margin-bottom: 3rem;
}

.season h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.episodes {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.episode {
  background: #f9f9f9;
  padding: 1.5rem;
  border-radius: 8px;
  flex: 1 1 calc(33% - 2rem);
  box-sizing: border-box;
}

.episode-cover {
  width: 10%;
  height: auto;
  border-radius: 4px;
}

.episode h3 {
  font-size: 1.5rem;
  margin-top: 1rem;
}

.episode p {
  font-size: 1rem;
  margin: 1rem 0;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #007BFF;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
}

.button:hover {
  background: #0056b3;
}



.episode {
  /* Bestehende Styles */
  position: relative;
}

/* Player Container Styling */
.player-container {
  margin-top: 2rem;
  text-align: center;
}

/* HTML5 Player Styling */
.html5-player {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  outline: none;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Abonnieren-Buttons Container */
.subscribe-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem; /* Abstand zwischen den Buttons */
  margin-top: 1.5rem;
}

/* Abonnieren-Buttons Styling */
.subscribe-button {
  display: inline-block;
  width: 150px; /* Anpassbar je nach Icon-Größe */
  height: auto;
  padding: 0;
  background-color: transparent; /* Hintergrundfarbe entfernen */
  border: none;
  border-radius: 5px;
  overflow: hidden;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.subscribe-button img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Bild passt sich an */
  display: block;
  transition: transform 0.3s ease;
}

/* Hover-Effekte */
.subscribe-button.apple:hover {
  background-color: #A2AAAD;
  transform: scale(1.5);
}

.subscribe-button.google:hover {
  background-color: #4285F4;
  transform: scale(1.5);
}

.subscribe-button.spotify:hover {
  background-color: #1DB954;
  transform: scale(1.5);
}

.subscribe-button.stitcher:hover {
  background-color: #F26C21;
  transform: scale(1.5);
}

/* Optional: Hover-Effekt für Bilder */
.subscribe-button:hover img {
  transform: scale(1.05);
}

/* Responsives Design */
@media (max-width: 600px) {
  .subscribe-button {
      width: 100px; /* Kleinere Größe auf mobilen Geräten */
      height: auto;
  }
}

.call-to-action {
  text-align: center;
  margin: 2rem 0;
  padding: 1rem;
  background-color: #f4f4f4; /* Helles Grau für den Hintergrund */
  border-radius: 8px; /* Abgerundete Ecken */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Leichter Schatten */
}

.call-to-action h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333; /* Dunkles Grau für den Text */
}

.call-to-action p {
  font-size: 1.1rem;
  color: #555; /* Etwas helleres Grau für den Text */
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.call-to-action a {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0.5rem;
  font-size: 1rem;
  color: #007bff; /* Blaue Farbe für Links */
  text-decoration: none;
  border-radius: 4px;
  background-color: #e7f0ff; /* Heller Hintergrund für Links */
  transition: background-color 0.3s ease, color 0.3s ease;
}

.call-to-action a:hover {
  background-color: #d0e3ff; /* Etwas dunkleres Blau beim Hover */
  color: #0056b3; /* Dunkleres Blau für den Text beim Hover */
}

.dropdown-toggle:hover {
  filter: invert(48%) sepia(93%) saturate(4690%) hue-rotate(8deg) brightness(100%) contrast(104%);
  transform: scale(1.1);
}

.dropdown-toggle:hover img {
  transform: scale(1.1);
}

/* Dropdown-Stile */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0.5rem; /* Anpassen an .menu a padding */
  transition: transform 0.3s ease, filter 0.3s ease;
}

.dropdown-toggle img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

.dropdown-toggle:hover {
  filter: invert(48%) sepia(93%) saturate(4690%) hue-rotate(8deg) brightness(100%) contrast(104%);
  transform: scale(1.1);
}

.dropdown-toggle:hover img {
  transform: scale(1.1);
}

/* Dropdown-Menü standardmäßig versteckt */
.dropdown-menu {
  display: none; /* Standardmäßig ausgeblendet */
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff; /* Fallback-Farbe */
  min-width: 150px;
  border: 1px solid #cccccc; /* Fallback-Farbe */
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Dropdown-Menü bei Hover oder 'show' Klasse anzeigen */
.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown-menu.show {
  display: block;
  opacity: 1;
  visibility: visible;
}

/* Styling der Links im Dropdown-Menü */
.dropdown-menu a {
  color: #333333; /* Fallback-Farbe */
  text-decoration: none;
  padding: 10px;
  display: block;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.dropdown-menu a:hover {
  background-color: #f0f0f0; /* Fallback-Farbe */
}

/* Optional: Anpassung für mobile Geräte */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
  }
}