
:root {
    --heighlightcolor: #4CAF50;
    --heighlightcolor-rgb: 76, 175, 80;
    --bordercolor: #ccc;
}

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

a:focus {
    outline: 2px dashed var(--heighlightcolor);
    outline-offset: 2px;
}
  
body {
    font-family: 'Roboto', system-ui, sans-serif;
    background-color: #f0f0f0;
    color: black;
    line-height: 1;
    height: 100%;
    margin: 0;
}
.page_wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* header------------------------------------------------------ */
header, main {
    padding: 0px 5px 0px 5px;
}
.div_header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2em;
    margin: 0 auto;
    position: relative;
    padding: 1em 1em;
    /* max-width: 1200px; */
}  
/* .div_header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;               /* gewünschte Breite der Linie */
    height: 2px;               /* Höhe der Linie */
    border-bottom: 3px dotted gray;
} */
.div_logo {
    /* flex: 0 0 auto; */
    /* margin-right: auto; */
    /* border: 2px solid black; */
    flex-shrink: 0;
}
.div_logo img {
    width: 300px;
    height: auto;
}
.nav_main {
    /* flex: 1; */
    text-align: right;
    font-weight: bold;
}
.nav_main ul{
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 10px;
}
.active_site_link {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    border-radius: 10px;
}
.nav_main a {
    text-decoration: none;
    color: black;
    font-weight: bold;
    padding: 5px 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.nav_main a:hover {
    background-color: #4CAF50;
    color: black;
    padding: 5px 10px;
    border-radius: 10px;
}
/*- ToolBar <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< */
.div_ToolBar {
    padding-left: 1em;
    background-color: var(--heighlightcolor);
}
.div_ToolBar ul {
    display: flex;
    gap: 1em;
    padding: 0.5em;
    list-style: none;
}
.div_ToolBar a {
    padding: 5px;
    text-decoration: none;
    color: white;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.div_ToolBar a:hover {
    padding: 5px;
    background-color: wheat;
    color: black;
    border-radius: 5px;
}

/* main------------------------------------------------------ */
main {
    flex: 1;
}
.div_main {
    
    align-items: center;
    justify-content: space-between;
    gap: 2em;
    margin: 0 auto;
    position: relative;
    padding: 1em 1em;
    
}
.div_main h1 {
    text-align: center;
}
.div_mainContent {
    margin: 50px;
}

/* footer ------------------------------------------------------------------- */
footer {
    /* flex: 1; */
}
.div_footer {
    position: relative;
    padding-top: 0.5em;
}
/* .div_footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    border-top: 3px dotted gray;
} */
.div_footerContent {
    display: flex;
    margin: 5px;
    justify-content: center;
}
address {
    font-style: normal;
}

/*--- Artikel- Box Styling --------------------------------------------------------------------- */
.div_ArticleBoxFlex {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    gap: 1em;
    padding: 5px 20px 5px 5px;
}
.div_ArticleBoxFlex .div_Article {
    flex: 1 1 0;
    padding-left: 1em;
    padding-right: 1em;
    box-sizing: border-box;
    border: 1px solid #ccc;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-radius: 5px;
}
.div_ArticleRow {
    display: block;
    width: 100%;
    padding: 0;
}
.div_ArticleRow .div_Article {
    width: 100%;
    display: block;
    padding: 0.5em 1em;
    margin: 1em;
    border: 1px solid #ccc;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    border-radius: 5px;
}
.div_ArticleRow .div_Article > *:first-child {
    margin: 0;
    padding: 0;
}

.div_ArticleNoBorder {
    display: flex;
    flex-direction: column;
    max-height: 100%;
}
.div_ArticleBoxFlex .div_ArticleNoBorder {
    flex: 1 1 0;
    padding-right: 1em;
    box-sizing: border-box;
}
.div_FormGroup textarea {
    flex: 1;
    box-sizing: border-box;
    padding: 0.4em;
    border-radius: 5px;
    margin: 0;
    resize: vertical;
}
.div_FormGroup:last-child {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.div_Article h4 {
    margin-bottom: 0em;
}
.div_Article h4 + p {
    margin-top: 0.5em;
}
.div_HeighLightArticle {
    /* font-size: 1.5em; */
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.div_Article h3 {
    font-size: 2em;
    font-weight: 100;
    margin-bottom: 0;
    margin-top: 0.25em;
}
.Fade-In {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
  }
  @keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
  }

/* -- Formular editieren ------------------------------------------------------- */
.div_FormGroup {
    display: flex;
    flex-direction: column;
    margin-bottom: 0.5em;
    width: 100%;
}
.div_FormGroup label {
    width: 100%;
}
.div_FormGroup input {
    margin-top: auto;
    width: 100%;
    border-radius: 5px;
    border-width: 1px;
    padding-left: 0.4em;
    padding-right: 0.4em;
}
fieldset {
    border: none;
}
h3 + form {
    margin-top: 1em;
}

/*-- btn -------------------------------------------------------------------*/
.div_btn {
    display: inline-flex;
    color: white;
    background-color: var(--heighlightcolor);
    border-radius: 10px;
    border-width: 0;
    padding: 5px 10px;
    align-items: center;
    justify-content: center;
    width: auto;
    align-self: flex-start;
    margin: 1em auto;
    text-decoration: none;
}
.div_btn a {
    text-decoration: none;
    font-weight: bold;
    color: white;
}
button {
    text-decoration: none;
    font-weight: bold;
    color: white;
}

/* Slider Styles ----------------------------------------------------------------------*/
.slider {
    overflow: hidden;
    position: relative;
    height: 400px; /* beliebig anpassbar */
    max-width: 100%;
  }
  
  .slider-wrapper {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease-in-out;
  }
  
.slide {
    flex: 0 0 100%;
    height: 100%;
    position: relative;
    background-color: transparent;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    /* background: linear-gradient(to right, rgba(var(--heighlightcolor-rgb), 0.3) 70%, rgba(var(--heighlightcolor-rgb), 1) 100%); */
    z-index: 1; /* Zwischen Bild und Caption */
    pointer-events: none;
  }
  
.slide img {
    height: 100%;
    width: 100%;
    object-fit:cover;
    object-position: center; 
    position: absolute;
    left: 0;
    top: 0;
    /* transform: translateY(-50%); */
    z-index: 1;
}
  
  .slide-caption {
    position: absolute;
    background: transparent;
    color: #fff;
    padding: 0.5em 1em;
    border-radius: 4px;
    font-size: 1.5em;
    z-index: 2;
  }
  .slide-caption a {
    text-decoration: none;
    color: #fff;
    z-index: 2;
    font-size: 3em;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
/*- Article player ------------------------------------------------------*/
.article-player {
    display: block;
    margin: 0;
    padding: 0;
    align-self: flex-start;
    width: fit-content;
    min-width: 250px;
    background-color: rgba(var(--heighlightcolor-rgb));
    height: 1em;
    border: 1px solid var(--heighlightcolor);
  }
  .div_Article h3 + audio {
    display: block;
    margin: 0.5em 0 1em 0;
    padding: 0;
    max-width: 100%;
    width: auto;
    align-self: flex-start;
  }



@media screen and (max-width: 768px) {
    /*- Header -------------------------------------------------------------------------------------- */
    .div_header {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav_main {
        width: 100%;
        text-align: left; 
    }
    .nav_main ul {
        flex-direction: row;
        gap: 0.5em;
        flex-wrap: wrap;
    }
    /*- Article---------------------------------------------------------------------------------- */
    .div_ArticleBoxFlex {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        gap: 1em;
        padding-right: 5px 20px 5px 5px;
    }
    /*- Slider */
    .slide-caption a {
        text-decoration: none;
        color: #fff;
        z-index: 2;
        font-size: 1.5em;
        font-weight: 600;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);;
    }
    /*- Article player*/
    .article-player {
        display: block;
        margin: 0;
        padding: 0;
        align-self: flex-start;
        width: fit-content;
        min-width: 200px;
        background-color: rgba(var(--heighlightcolor-rgb));
        height: 2em;
        border: 1px solid var(--heighlightcolor);
      }
}


    