body {
    margin: 0 auto;
    background-color: #cae1ff;
    font-family: arial, tahoma, sans-serif;
}

/* ========================================================
   NEUES LAYOUT: CSS GRID (Startseite)
   ======================================================== */
.main-grid-container {
    display: grid;
    /* 1. Spalte 25px fest (Muster), 2. Spalte nimmt den Rest */
    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%; /* Waechst automatisch bis ganz nach unten! */
}

.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%;
}

/* Der neue Fussbereich */
.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;
}

/* Tablet & Mobile Anpassungen fuer den Haupt-Container */
@media (max-width: 768px) {
    .main-grid-container {
        width: 100%;
    }
}

/*-----------------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;
    text-decoration:none ;
    background-color:#ffdead;
}

nav.topmenu span {
    font-size: 0.9em;
    color: #1c86ee;
    background: #ffdead;
}
nav.topmenu ul {list-style:none ;}

/* Textlinks Menues */
#menu0 a {color:#000000; text-decoration:underline;}
#menu0 a:hover {color: #ffffff; text-decoration:none ; background-color:#c0c0c0;}

/*-----------------SCHRIFT & TEXTE-------------------*/
h1 {
    text-align: left;
    vertical-align: top;
    font-style: normal;
    color: #1c86ee;
    font-size: 1.2em;
}

h2 {
    text-align: left;
    vertical-align: top;
    font-style: normal;
    color: #1c86ee;
    font-size: 1.5em;
}

.h6 {
    text-align: left;
    vertical-align: top;
    font-style: normal;
    color: #a0a0a0;
    font-size: 0.7em;
}

.spaced { margin-bottom: 1.5em; }

/* Listenaufzaehlung */
ul.disc { list-style:disc; color:#000000; font-weight:normal; }

/*-----Seiteninhalt (Artikel und Bilder)----------------------------------*/
article {
    margin: 10px 0;
    padding: 10px;
    overflow: hidden;
    font-size:0.8em;
    color: #000000;
    font-weight: normal;
}

article.regionen {
    margin: 10px 0;
    padding: 10px;
    border: 2px solid #c0c0c0;
    border-radius: 0.6em;
    overflow: hidden;
    font-size:0.8em;
    color: #000000;
    font-weight: normal;
}

article.infobox {
    margin: 20px 0;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 0.6em;
    background-color: #f0f0f0;
    overflow: hidden;
    font-size:0.8em;
    color: #000000;
    font-weight: normal;
}

figure.float-right-mini { float: right; margin: 0 10px 10px 0; width: 62px; }
figure.float-right { float: right; margin: 0 0 10px 10px; width: 150px; }
figure.float-left { float: left; margin: 0 10px 10px 0; width: 150px; }
figure.float-left-XL { float: left; margin: 0 10px 10px 0; width: 350px; }
figure.float-right-Logo { float: right; margin: 0 10px 10px 0; width: 120px; }

img {
    max-width: 100%;
    height: auto;
    border-radius: 0.6em;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.vergroessertes-bild {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.vergroessertes-bild img { max-width: 90%; max-height: 90%; }

/*-----------------SLIDESHOW (Bildwechsel)-------------------*/
* {box-sizing: border-box;}
.mySlides {display: none;}

.slideshow-container {
    max-width: 250px;
    position: relative;
    margin: auto;
}

.numbertext {
    color: #ffffff;
    font-size: 1.0em;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 2px;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active { background-color: #ff9900; }

.fade {
    -webkit-animation-name: fade;
    -webkit-animation-duration: 3s;
    animation-name: fade;
    animation-duration: 3s;
}

@-webkit-keyframes fade { from {opacity: .4} to {opacity: 1} }
@keyframes fade { from {opacity: .4} to {opacity: 1} }

html { scroll-behavior: smooth; }

