body {
    margin: 0 auto;
    background-color: #cae1ff;
    font-family: arial, tahoma, sans-serif;
}

/* ========================================================
   GRUND-LAYOUT (Grid, Menü, Footer)
   ======================================================== */
.main-grid-container {
    display: grid;
    grid-template-columns: 25px 1fr;
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.sidebar-left {
    background-image: url('images/HG_Muster.jpg');
    background-repeat: repeat-y;
    background-position: top left;
    height: 100%;
}

.content-right {
    display: flex;
    flex-direction: column;
    padding: 3px;
}

.header-banner {
    height: 160px;
    background-image: url('images/Panoramabild_Banner.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    width: 100%;
}

.footer-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffdead;
    border: 1px solid #ffffff;
    padding: 5px 10px;
    text-align: center;
    font-size: 0.8em;
    color: #1c86ee;
    font-style: italic;
}

.footer-links { flex: 1; }

@media (max-width: 768px) {
    .main-grid-container { width: 100%; }
}

article.infobox-navajo {
    margin: 10px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 0.6em;
    background-color: #ffdead;
    font-size: 0.8em;
    color: #000000;
}

#menu2 a {color:#1c86ee; text-decoration:none;  background-color:#ffdead;
}
#menu2 a:hover {
color: #ffffff; text-decoration:none ; background-color:#1c86ee;
}

article.infobox {
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 0.6em;
    background-color: #f0f0f0;
    font-size: 0.8em;
    color: #000000;
}

/* HAMBURGER MENÜ */
label.hamburg {
    display: block;
    background: #1c86ee; width: 75px; height: 50px;
    position: relative;
    margin-left: 10px; margin-right: auto;
    border-radius: 4px;
}
input#hamburg {display:none}

.line {
    position: absolute;
    left:10px;
    height: 4px; width: 55px;
    background: #fff; border-radius: 2px;
    display: block;
    transition: 0.5s;
    transform-origin: center;
}
.line:nth-child(1) { top: 12px; }
.line:nth-child(2) { top: 24px; }
.line:nth-child(3) { top: 36px; }

#hamburg:checked + .hamburg .line:nth-child(1){ transform: translateY(12px) rotate(-45deg); }
#hamburg:checked + .hamburg .line:nth-child(2){ opacity:0; }
#hamburg:checked + .hamburg .line:nth-child(3){ transform: translateY(-12px) rotate(45deg); }

nav.topmenu {
    height: auto;
    max-height:0;
    overflow: hidden;
    transition: all 0.5s;
    text-align: left;
    font-size: 0.8em;
}
#hamburg:checked + .hamburg  + nav.topmenu { max-height: 600px; }
nav.topmenu a {color:#1c86ee; text-decoration:none ;}
nav.topmenu a:hover { color: #ffffff; background-color:#ffdead; }
nav.topmenu span { font-size: 0.9em; color: #1c86ee; background: #ffdead; }
nav.topmenu ul {list-style:none ;}

/* TEXTE & BEREICHE */
h2 {
    text-align: left;
    vertical-align: top;
    font-style: normal;
    color: #1c86ee;
    font-size: 1.5em;
    margin-left: 10px;
}
.spaced { margin-bottom: 1.5em; }
article { margin: 10px 0; padding: 10px; font-size: 0.8em; color: #000000; }
figure.float-right-Logo { float: right; margin: 0 10px 10px 0; width: 120px; }


/* ========================================================
   SITEMAP SPEZIAL-DESIGN (Suchfeld, Dropdown, Listen)
   ======================================================== */

.suche-input-modern {
    width: 100%;
    padding: 15px 25px;
    font-size: 18px;
    border: 2px solid #b0d4f1;
    border-radius: 8px;
    box-sizing: border-box;
    outline: none;
    background-color: #ffffff;
}

.suche-input-modern:focus { border-color: #1c86ee; }

/* KLEBENDES DROPDOWN MENÜ */
/* GEMEINSAME LEISTE FÜR SUCHE & DROPDOWN */
.such-und-filter-leiste {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    border: 1px solid #d3d3d3;
    margin-bottom: 30px;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.suchfeld-container {
    flex: 1; /* Suchfeld nimmt sich allen restlichen Platz */
    min-width: 250px; /* Bricht um, wenn der Platz zu klein wird */
}

.dropdown-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.dropdown-container select {
    padding: 10px;
    font-size: 16px;
    border-radius: 4px;
    border: 1px solid #ccc;
    cursor: pointer;
    width: 100%;
    max-width: 300px;
}
.kategorie-ueberschrift {
    margin-top: 40px;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #333333;
    color: #1c86ee;
    font-size: 22px;
}

.kategorie-zaehler {
    font-size: 15px;
    color: #777777;
    font-weight: normal;
    margin-left: 8px;
}

/* DIE LINK-REIHE */
.link-reihe-sitemap {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 12px 10px;
    border-bottom: 1px solid #d3d3d3;
    gap: 15px;
    transition: background-color 0.2s;
}

.link-reihe-sitemap:last-child { border-bottom: none; }
.link-reihe-sitemap:hover { background-color: #f9f9f9; }

.mein-textlink {
    color: #000000;
    text-decoration: underline;
    padding: 4px 8px;
    border-radius: 3px;
    transition: background-color 0.2s, color 0.2s;
    font-weight: bold;
}

.mein-textlink:hover {
    color: #ffffff;
    background-color: #d3d3d3;
}

.kategorie-tag {
    font-size: 12px;
    color: #666;
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .link-reihe-sitemap { grid-template-columns: 1fr; gap: 5px; }
}