/* open-sans-regular - latin */
@font-face {
  font-display: swap;
  /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  src: url("../webfonts/open-sans-v40-latin-regular.woff2") format("woff2");
  /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

body {
  font-family: "Open Sans";
  background: #000;
  color: #333;
  max-width: 1200px;
  margin: auto;
  padding: 20px;
}
h1 {
  color: #fff;
  font-weight: 400;
  font-size: 2rem;
  text-shadow: #b30000 1px 0 10px;
}
h2,
h3 {
  color: #b30000;
  font-weight: 400;
  font-size: 1rem;
}
h3 {
  color: #b30000;
  font-weight: 400;
  font-size: 1rem;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 10px 0;
}

article {
  border-bottom: 1px solid #ccc;
  margin-bottom: 30px;
  padding-bottom: 20px;
}

.button,
a.button {
  display: inline-block;
  padding: 10px 15px;
  background: #000;
  color: white;
  text-decoration: none;
  border-radius: 5px;
}

.button:hover {
  background: #b30000;
}
img {
  max-width: 100%;
  height: auto;
}
@media screen and (max-width: 640px) {
  .cc {
    display: none;
  }
}

@media screen and (max-width: 1395px) {
  .cc1 {
    display: none;
  }
}

@media screen and (max-width: 6000000px) {
  .cc2 {
    display: none;
  }
}
.h2 {
  font-size: 1, 875rem;
  font-weight: bold;
}

.cards2 {
  background-color: #b30000;
  padding: 10px;
  border-radius: 12px;
}
.cards3 {
  background-color: #fff;
  padding: 20px;
  border-radius: 12px;
}
/* Container */
.container {
  width: 95%;
  max-width: 1200px;
  margin: 0 auto;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Titel */
.site-title {
  font-size: 1.5rem;
  margin: 0;
  color: #fff;
}

/* SVG Buttons */
.icon-link img {
  width: 60px;
  height: 60px;
  filter: brightness(1.5);
  transition: filter 0.2s ease;
  text-align: center;
}

.icon-link:hover img {
  filter: brightness(0) invert(1);
}
.header-center {
  display: flex;
  justify-content: center; /* Horizontal zentrieren */
  align-items: center; /* Vertikal zentrieren (optional) */
  padding: 1rem;
}

.icon-link img {
  display: block;
}
/* Suche */
.search-form {
  display: flex;
  gap: 0.5rem;
  margin: 1rem 2rem;
  align-items: center;
  color: #fff;
}

.search-form input[type="text"] {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #aaa;
  border-radius: 4px;
}

.search-form button {
  padding: 0.5rem 1rem;
  background-color: #ee766d;
  color: #000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.search-form button:hover {
  background-color: #efc0bd;
}
.search {
  color: #fff;
  font-size: 24px;
}
a svg {
  color: transparent;
  width: 32px;
  height: 32px;
}

a:hover svg {
  opacity: 0.5;
}
/* Zurück Button */
.scroll-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #e99791a0;
  border: none;
  border-radius: 50%;
  padding: 0.75rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  z-index: 1000;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.scroll-top:hover,
.scroll-top:focus {
  background-color: #ee766d;
}

.scroll-top svg {
  display: block;
}
.postfolge-wrapper {
  text-align: center;
  margin: 2rem 0;
}

.postfolge-button {
  display: inline-block;
  background-color: #ee766d;
  color: white;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 999px;
  transition: background-color 0.3s ease;
  font-weight: bold;
}

.postfolge-button:hover,
.postfolge-button:focus {
  background-color: #b30000;
}
.pagination {
  text-align: center;
  margin: 2rem 0;
}
.pagination a {
  display: inline-block;
  padding: 0.5rem 1rem;
  margin: 0 0.25rem;
  background: #ddd;
  text-decoration: none;
  border-radius: 5px;
  color: #333;
}
.pagination a.active {
  background: #333;
  color: #fff;
  font-weight: bold;
  background-color: #b30000;
}
/* Suche */
.suchformular {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.suchformular input[type="text"] {
  flex: 1 1 100%;
  padding: 10px;
  font-size: 16px;
}

.suchformular input[type="submit"] {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}
.search-button {
  background-color: #000; /* Hintergrund weiß */
  border: none; /* kein Standardrahmen */
  padding: 6px; /* etwas Abstand innen */
  border-radius: 4px; /* leicht abgerundet */
  cursor: pointer; /* Mauszeiger als Hand */
  display: flex; /* Icon schön zentrieren */
  align-items: center;
  justify-content: center;
}

.search-button img {
  width: 20px; /* Größe der Lupe anpassen */
  height: 20px;
}

.search-button:hover,
.search-button:focus {
  background-color: #b30000; /* Kontrast beim Hover/Focus */
  outline: 2px solid #000; /* sichtbarer Focus-Ring (Barrierefreiheit) */
}

@media (min-width: 600px) {
  .suchformular input[type="text"] {
    flex: 1;
  }
  .suchformular input[type="submit"] {
    flex: 0;
  }
}
.cards3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding: 15px;
}

.card-image {
  max-width: 100%;
  height: 200px;
  object-fit: cover; /* Bild zugeschnitten, nicht riesig */
  border-radius: 8px;
}

.card h2 {
  font-size: 1.2rem;
  margin: 10px 0;
}

.card p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 15px;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  background: #eee;
  color: #000;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.2s;
}
.btn:hover {
  background: #333;
  color: #fff;
}
.article {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.article-image {
  max-width: 100%;
  margin: 20px 0;
  border-radius: 8px;
}
/* Pagination-Container */
.pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2rem auto;
  font-family: sans-serif;
}

/* Links & Buttons */
.pagination a,
.pagination span {
  padding: 0.6rem 1rem;
  border: 2px solid #222; /* dunkler Kontrast */
  border-radius: 6px;
  text-decoration: none;
  color: #222;
  font-size: 1rem;
  line-height: 1.4;
  transition: all 0.2s ease-in-out;
}

/* Hover-Effekt */
.pagination a:hover {
  background-color: #eeeeee;
  border-color: #222;
  color: #000;
}

/* Aktive Seite */
.pagination .current {
  background-color: #000;
  color: #fff;
  font-weight: bold;
  border-color: #000;
}

/* Disabled */
.pagination .disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Responsiv */
@media (max-width: 600px) {
  .pagination {
    gap: 0.3rem;
  }
  .pagination a,
  .pagination span {
    font-size: 0.95rem;
    padding: 0.5rem 0.8rem;
  }
}
.pagination a:focus {
  outline: 3px solid #ffbf47; /* gelbe, sehr kontrastreiche Fokusfarbe */
  outline-offset: 2px;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
