body {
    background: #0f1a28;
    background-image: url('/pictures/hg-00.png');
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    color:#e6e6e6;
    font-family:"Segoe UI",sans-serif;
    line-height:1.6;
    width: 100%;
    overflow-x: hidden;
    margin:0;
    padding:0;
    scroll-behavior:smooth;
}

main {
    width: 90%;
    margin: 170px auto 50px auto;
    padding: 0px 0 0px 0;
    background: rgba(0,0,0,0.0);
}

/* Smartphone-Anpassung */
@media (max-width: 600px) {
  main {
    width: 99%;
  }
}

header {
    position:fixed;
    top:0;
    width:100%;
    height: 30px;
    background: #1f2d3a;
    padding: 0 0 3px 0;
    margin: 0;
    border-bottom: 1px solid #c2ab59;
    z-index:100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.5);
    text-transform: uppercase;
    font-size: 10px;
}

header nav ul {
    list-style:none;
    margin:0;
    padding:0;
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
}

header nav ul li {
    margin:0.3rem 0.5rem;
    position:relative;
    transition: transform 0.2s ease;
}

header nav ul li:hover {
    transform: translateY(-2px);
}

header nav ul li a {
    color:#c2ab59;
    font-size:0.8rem;
    text-decoration:none;
    font-weight:bold;
    display:block;
    padding:0.3rem 0.8rem;
    border-radius:6px;
    transition: all 0.3s ease;
}

header nav ul li a:hover {
    color:#fff;
    text-shadow:0 0 8px rgba(194,171,89,0.7);
    background: rgba(194,171,89,0.05);
}

header nav ul li ul {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    background: #1f2d3a;
    min-width:150px;
    padding:0.5rem 0;
    list-style:none;
    max-height:200px;
    overflow-y:auto;
    border:1px solid #c2ab59;
    border-radius:6px;
    z-index:200;
    opacity:0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

header nav ul li:hover ul {
    display:block;
    opacity:1;
    transform: translateY(0);
}

header nav ul li ul li a {
    display:block;
    padding:0.3rem 0.6rem;
    color:#c2ab59;
    transition: background 0.3s, color 0.3s;
}

header nav ul li ul li a:hover {
    color:#fff;
    text-shadow:0 0 6px rgba(194,171,89,0.7);
    background: rgba(194,171,89,0.05);
}

header nav ul li ul::-webkit-scrollbar {
    width:6px;
}

header nav ul li ul::-webkit-scrollbar-track {
    background:#111;
    border-radius:3px;
}

header nav ul li ul::-webkit-scrollbar-thumb {
    background:#c2ab59;
    border-radius:3px;
}

/* ---------------- Logos als Hintergrund ---------------- */

/* linkes Logo */
header .logo-left {
  left: 30px;
  background: #1f2d3a;
  position: absolute;
  top: 6px;
  width: 150px;
  height: 150px;
  background-size: 190px 190px;
  background-repeat: no-repeat;
  background-position: center;
  border: 0px solid #c2ab59;
}

.logo-left a {
  display: block;
  width: 100%;
  height: 100%;
/*  cursor: url('/pictures/lupe.png'), zoom-in; */
}

/* rechtes Logo */
header .logo-right {
  right: 30px;
  background-image: url('/pictures/logo.png');
  position: absolute;
  top: 6px;
  width: 150px;
  height: 150px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: 0px solid #c2ab59;
}

/* ---------------- Smartphone-Anpassung ---------------- */
@media (max-width: 600px) {
  header .logo-left {
    top: 3px;
    left: 10px;
    width: 55px;
    height: 55px;
    background-size: 70px 70px;
  }
  
  header .logo-right {
    top: 3px;
    right: 10px;
    width: 55px;
    height: 55px;
  }
}

/* Aktuellen Seitennamen im Header */
.current-page {
  display: block;
  position: relative;
  height: 20px;
  color: rgba(255,255,255,1);
  font-family:"Verdana", Bold;
  font-weight: bold;
  font-size: 12px;
  text-shadow: 0;
  text-align: left;
  text-transform: uppercase;
  background: #1f2d3a;
  border-left: 8px solid #555;
  border-right: 8px solid #555;
  border-top: 1px solid #555;
  border-bottom: 1px solid #555;
  border-radius:12px;
  margin: 0px 0px 10px 0px;
  padding: 6px 8px;
}

.current-page a {
  color: #c2ab59;
  text-decoration: none;
}

.current-page a:hover {
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
}

.current-page span {
  color: #c2ab59;
}

@media (max-width: 600px) {
.current-page {
  display: table;
  box-sizing: border-box;
  border: 0px solid #d9c88a;
  font-size: 12px;
  margin: 0 10px;
  margin-bottom: 10px;
  padding: 6px 12px;
}

.current-page a {
  font-size: 12px;
  padding: 0;
  margin: 0;
}

.current-page span {
  font-size: 12px;
}
}

.category-menu {
  display: block;
  position: fixed;
  top: 83px;
  left: 50%;
  height: 20px;
  width: 160px;
  transform: translateX(-50%);
  color: #e9d79a;
  font-weight: bold;
  font-size: 16px;
  background: #1f2d3a;
  border-top: 0px solid rgba(194,171,88,0.8);
  border-right: 1px solid rgba(194,171,88,0.8);
  border-bottom: 1px solid rgba(194,171,88,0.8);
  border-left: 1px solid rgba(194,171,88,0.8);
  border-radius:0 0 6px 6px;
  box-shadow: 0;
  text-align: center;
  text-transform: uppercase;
  margin: 0 auto;
  padding: 10px;
  z-index: 99;
}

@media (max-width: 600px) {
.category-menu {
  top: 80px;
  left: 50%;
  height: 20px;
  transform: translateX(-50%);
  border-top: 0px solid rgba(194,171,88,0.8);
  border-radius:0 0 6px 6px;
  margin: 0 auto;
  padding: 10px;
  z-index: 1;
}
}

.category-menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.category-menu ul li {
    margin: 0;
    position: relative;
    transition: transform 0.2s ease;
}

.category-menu ul li:hover {
    transform: translateY(-2px);
}

.category-menu ul li a {
    color: #c2ab59;
    font-size: 12px;
    text-decoration: none;
    font-weight: bold;
    display: block;
    padding: 0;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.category-menu ul li a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(194,171,89,0.7);
    background: rgba(194,171,89,0.05);
}

.category-menu ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #1f2d3a;
    min-width: 150px;
    padding: 0.5rem 0;
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #c2ab59;
    border-radius: 6px;
    z-index: 200;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.category-menu ul li:hover ul {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.category-menu ul li ul li a {
    display: block;
    padding: 0.3rem 0.6rem;
    color: #c2ab59;
    transition: background 0.3s, color 0.3s;
}

.category-menu ul li ul li a:hover {
    color: #fff;
    text-shadow: 0 0 6px rgba(194,171,89,0.7);
    background: rgba(194,171,89,0.05);
}

.category-menu ul li ul::-webkit-scrollbar {
    width: 6px;
}

.category-menu ul li ul::-webkit-scrollbar-track {
    background: #111;
    border-radius: 3px;
}

.category-menu ul li ul::-webkit-scrollbar-thumb {
    background: #c2ab59;
    border-radius: 3px;
}

.category-image img {
  width:150px;
  height:150px;
  display: block;
  margin: 0px auto;
  padding: 0;
}
/* Smartphone-Anpassung */
@media (max-width: 600px) {
.category-image img {
  width:55px;
  height:55px;
}
}

.artikel-link-item img.artikel-img {
  width: 70px;
  height: 70px;
  background: rgba(0,0,0,0.3);
  border: 1px solid #888;
  border-radius: 4px;
  margin: 0px auto;
  padding: 0px;
}

.animate {
  display: inline-block;
  cursor: url('/pictures/lupe.png'), zoom-in;
}

.animate:hover {
  animation: zoom 3s ease-in-out;
}

@keyframes zoom {
  0% { transform: scale(1); }
  50% { transform: scale(1.6); }
  100% { transform: scale(1); }
}

.cat-list {
    text-align: center;
    text-transform: uppercase;
    margin: 0px auto;
}

/* Tabelle insgesamt */
.cat-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

/* Tabellenkopf */
.cat-table thead{
    background: #1f2d3a;
}

.cat-table th {
    padding: 6px 6px;
    text-align: center;
    font-weight: bold;
    font-size: 0.7rem;
    color: #c2ab59;
    border: 1px solid #555;
}

.cat-table td {
    border: 1px solid #555;
    background-color: transparent;
    padding: 10px;
}

/* Tabellenzeilen */
.cat-row:nth-child(even) {
    background: #1f2d3a;
}

/* Titel/Überschrift */
.cat-table .td-title {
    font-size: 0.7rem;
    font-weight: bold;
    padding: 6px 10px;
    color: #eee;
    max-width: 200px;
}

/* Excerpt */
.cat-table .td-excerpt {
    font-size: 0.6rem;
    text-align: justify;
    color: #abc;
    padding: 6px 10px;
    max-width: 300px;
}

/* Autor */
.cat-table .td-author {
    font-size: 0.8rem;
    font-weight: bold;
    color: #888;
    padding: 6px 10px;
}

/* Kategorie */
.cat-table .td-category {
    font-size: 0.8rem;
    font-weight: bold;
    color: #888;
    padding: 6px 10px;
}

/* Datum */
.cat-table .td-date {
    font-size: 0.8rem;
    font-weight: bold;
    color: #888;
    padding: 6px 10px;
}

.cat-table a {
    font-size: 0.7rem;
    color: #c2aa77;
    padding: 0;
    margin: 0;
}

.cat-table a:hover {
    color: #eee;
    text-decoration: underline;
}

.menu-mobile { display: none; }
.menu-desktop { display: block; }

@media (max-width: 600px) {
  .menu-mobile { display: block; }
  .menu-desktop { display: none; }
}

.article-card-mobile {
  display: grid;
  grid-template-columns: 100px 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 10px;
  margin-bottom: 20px;
  padding: 10px;
  border: 0px solid rgba(233,215,154,0.4);
  border-radius: 0 0 8px 8px;
  background: #1f2d3a;
  align-items: start;
}

.article-card-mobile .article-image {
  grid-column: 1 / 2;
  grid-row: 1 / span 2; /* Bild über zwei Zeilen */
}

.article-card-mobile .article-image img {
  width: 100px;
  height: auto;
  display: block;
  border-radius: 4px;
}

.article-card-mobile .article-header h2 {
  grid-column: 2 / 3;
  grid-row: 1;
  word-wrap: break-word;
  overflow-wrap: anywhere;
  margin: 0 0 5px;
  font-size: 1rem;
  border: none;
  outline: none;
  text-decoration: none;
}

.article-card-mobile .article-header a {
  color: #aaa;          /* Farbe vom H2 übernehmen */
  text-decoration: none;
  border: 0px solid rgba(233,215,154,0.3);
  border-radius:6px;
  background: rgba(11,15,26,0.0);
  word-wrap: break-word;
  overflow-wrap: anywhere;
  display: table;
  margin: 6px 0;
  padding: 3px 6px;
}

.article-card-mobile .article-meta {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 6px;
  grid-column: 2 / 3;
  grid-row: 2;
  font-size: 0.8rem;
  color: #666;
  margin: 0 auto;
}

.article-card-mobile .author {
  font-size: 0.8rem;
  color: #c2ab59;
  text-align: left;
  border: 1px solid rgba(233,215,154,0.3);
  border-radius:3px;
  background: rgba(11,15,26,0.0);
  margin: 0 6px;
  padding: 3px 6px;
}

.article-card-mobile .date {
  font-size: 0.8rem;
  color: #666;
  text-align: right;
  border: 1px solid rgba(233,215,154,0.3);
  border-radius:3px;
  background: rgba(11,15,26,0.0);
  margin: 0 6px;
  padding: 3px 6px;
}

.article-card-mobile .article-meta .author,
.article-card-mobile .article-meta .date {
  white-space: nowrap;
}

.article-card-mobile .article-body {
  grid-column: 1 / 3; /* durchgehende Spalte */
  grid-row: 3;
  margin-top: 5px;
}

.article-card-mobile .article-body p {
  margin: 0 0 5px;
  font-size: 0.9rem;
}

.article-card-mobile .article-category {
  grid-column: 1 / 3; /* durchgehende Spalte */
  grid-row: 4;
  font-size: 0.8rem;
  display: flex;
  justify-content: center;
  text-transform: uppercase;
  color: #c2ab59;
  font-weight: bold;
  margin-top: 5px;
}

/* ----------------------------------------------
   Artikelübersicht – schlicht, sauber, lesbar
---------------------------------------------- */

.article-item-grid {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 20px;
    border-radius: 6px;
    background: #1f2d3a;
    padding: 10px;
    gap: 15px;
    border-left: 8px solid #555;
    border-right: 8px solid #555;
    border-top: 1px solid #555;
    border-bottom: 1px solid #555;
    border-radius:12px;
}

.article-image img {
    width: 150px;
    height: auto;
    display: block;
    border-radius: 4px;
}

.article-details {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: #c2ab59;
}

.article-title a {
    color: #c2ab59;
    text-decoration: none;
    font-size: 1rem;
    margin: 3px 0 0 3px;
    display: block;
}

.article-title a:hover {
    text-decoration: underline;
    color: #eee;
}

.article-excerpt {
    color: #ddd;
    font-size: 0.9rem;
    margin-top: 5px;
}

.article-category a {
    color: #c2ab59;
    text-decoration: none;
    font-size: 0.8rem;
    margin: 3px 0 0 3px;
    display: block;
}

.article-category a:hover {
    text-decoration: underline;
    color: #eee;
}

/* Responsive Anpassung */
@media (max-width: 600px) {
    .article-item-grid {
        flex-direction: column;
        align-items: center;
    }

    .article-image img {
        width: 100px;
    }

    .article-meta-grid {
        grid-template-columns: 1fr;
        margin-bottom: 5px;
    }

    .article-title a {
        font-size: 1rem;
        text-align: center;
    }

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

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-transform: uppercase;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.5);
    background: #1f2d3a;
    color: #eee;
    font-size: 8px;
    border-top: 1px solid #c2ab59;
    padding: 0;
    margin: 0 auto;
}

footer a {
    text-decoration: none;
    color: rgba(255,255,255,0.5);
}

footer a:hover {
    text-decoration: none;
    color: rgba(255,255,255,0.9);
}

.footer-left {
  flex: 2; /* ca. 10% */
  text-align: center;
}

.footer-center {
  flex: 6; /* ca. 80% */
  text-align: center;
}

.footer-right {
  flex: 2; /* ca. 10% */
  text-align: center;
}