:root {
    --bckclr: #cfcb9f;
    --cbckclr: #e7e5d9;
    --lnkclr: #B43200;
    --nvbck: #f6a800;
    --clrblue: #006e8d;
    --tclr: #555555;
    --alnkclr: #ef980c;
}

/* ubuntu-regular - latin */
@font-face {
  font-display: swap; 
  font-family: 'Ubuntu';
  font-style: normal;
  src: url('/fonts/ubuntu-v21-latin-regular.woff2') format('woff2'); 
}

/* just-another-hand-regular - latin */
@font-face {
  font-display: swap;
  font-family: 'Just Another Hand';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/just-another-hand-v21-latin-regular.woff2') format('woff2'); 
}


/* Grund-Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: Ubuntu, sans-serif;
    font-size: 1em;
    font-weight: 300;
    background-color: var(--bckclr);
    display: flex;
    justify-content: center; 
    line-height: 1.5em;
}

/* Zentriertes Haupt-Element */
#main-wrapper {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
}
#content-wrapper {
    width:100%;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    background-color: #fff;
    min-height: 85vh;
    background-color: var(--cbckclr);
}

/* Header */
#site-header { 
    height: 128px;
    width: 100%;
    background-color: #fff;
    border-bottom-width: 2px;
    border-bottom-style: solid;
    border-bottom-color: #FFF;
    background-image: url(/images/balken.gif);
    background-repeat: repeat-x;
    background-position: left bottom;
}
#logo {
    margin:22px 0 0 32px;
}

/* Top und Bottom-Navigation */
#topnav, #btmnav {
    width:100%;
    background-color: var(--bckclr);
    font-size: 0.85em;
    text-align: right;
    padding-right:10px;
}
#topnav > a, #btmnav > a {
    text-decoration: none;
    color: var(--lnkclr);
    font-weight: 400;
    margin-left:20px;
}
#topnav {
    padding-top:15px;
}
#btmnav {
    padding-bottom:15px;
}

/* Content */
#site-content {
    max-width:600px;
}

#site-content, #start-content, #bild-content { 
    margin: 1.5em 10%;
    text-align: left; 
    font-size: 0.9em;
    line-height: 1.6em;
    color: var(--tclr);
}

#site-content a, #start-content a, #bild-content a {
    text-decoration: none;
    color: var(--lnkclr);
}

.inhaltsimg {
    width:100%;
    margin: 1.5em 0 1.5em 0;
}

hr {
    border-top: 0px;
    border-bottom: 1px solid #96969A;
    width:100%;
    margin-top:0.5em;
    margin-bottom:1em;
}
h3 {
    margin-top:1.35em;
}
h3.erste {
    margin-top:0;
}


/* Navigation  */
#main-nav { background-color: var(--nvbck); position: relative; color: white; text-align: left;}
.nav-list { list-style: none; display: flex; justify-content: left; }
.nav-list > li {
    position: relative;
    padding-bottom: 0; 
}
.nav-list > li.active {
    background-color:var(--alnkclr);
}
.nav-list a { display: block; padding: 10px 25px; color: white; text-decoration: none; font-size: 1em; font-weight: 400; }
.nav-list a:hover { color: var(--lnkclr);}


/* Submenu verstecken */
.submenu {
    display: none;
    position: absolute;
    top: 100%; 
    left: 0;
    background: var(--nvbck);
    list-style: none;
    min-width: 180px;
    z-index: 100;
    margin: 0; 
}
.submenu li a { padding: 10px 20px; font-size: 0.9em; }

.submenu > li.active {
    background-color:var(--alnkclr);
}
.submenu > li.active a {
    color: var(--lnkclr);
}

/* Burger Icon (Standard versteckt) */
.burger-menu {
    display: none;
    flex-direction: column;
    padding: 15px;
    cursor: pointer;
    width: fit-content;
}
.burger-menu span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 2px 0;
}
.bild_text {
    float: left; 
    width: 60%;
    margin: 0 5% 0 0;
    min-width: 450px;
}

.bild_bild {
    float: left;
    width: 30%;
    min-width: 300px;
}

.bild_bild img {
    width:300px;
    margin-bottom:1.75em;
}

/* Slideshow */
#slideshow {
    position: relative; 
    width: 100%;
    height: 200px;
    background-size: cover; 
    background-position: center;
    background-image: url('/images/bildbalken.jpg'); 
    overflow: hidden; 
}

#slideshow > div[data-src] {
    display: none;
}

#slide_caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    line-height: 50px; 
    background-color: rgba(0, 0, 0, 0.25); 
    color: #ffffff;
    font-size: 2em;
    font-weight: 600;
    text-align: left; 
    padding-left:50px;
    z-index: 10; 
}

.slideshow-transition-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 5; 
    display: none; 
}

.einleitung {
    font-family: 'Just Another Hand';
    color: var(--clrblue);
    font-size: 3.25em;
    line-height: 100%;
    padding: 35px 0 25px 0;
    margin: 0;
}

.stark {
    font-weight: 600;
}

.imgrow {
    margin: 1em 0 0 0;
    padding: 0;
    width:100%;
}

/* Mitarbeitende */
.team-member-box {
    margin: 1.5em 0 0 0;
    padding: 0;
    width: 295px;
    float: left;
    display: flex; 
    align-items: flex-start; 
    gap: 15px; 
}
.member-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0; 
    position: relative;
    overflow: hidden;
}
.member-image img {
    display: block; 
    width: 100px;
    height: 100px;
}
.member-info {
    flex-grow: 1; 
    margin: 0; 
}
.color-stripe {
    position: absolute;
    top: 0;
    left: 0;
    width: 10px;
    height: 100%;
    z-index: 2;
}
.colstr1 {
    background-color: #d45300; /* orange */
}
.colstr2 {
    background-color: #007292; /* blau */
}
.colstr3 {
    background-color: #b43200; /*dunkelrot */
}
.colstr4 {
    background-color: #f6a800; /* gelb */
}


/* Responsive Anpassungen */
@media (max-width: 768px) {
    .nav-list { display: none; flex-direction: column; width: 100%; }
    .nav-list > li { width: 100%; }
    .submenu { position: static; background-color: var(--nvbck);}
    .submenu > li {padding-left:25px;}
    .burger-menu { display: flex; }
    #slide_caption { padding-left:20px;font-size: 1.35em; }
}

/* Responsive Bildeleiste */
@media (max-width: 1090px) {
    .bild_text, .bild_bild { margin:0; width:100%;min-width:100% }
}
