@charset "utf-8";
/* CSS Document */

* {
  padding: 0;
  margin: 0;
  outline: none;
}

/* ======================= FONTS ======================= */

@font-face {
  font-family: "OpenSans-Regular";
  src: url("/templates/elephant/fonts/OpenSans-Regular.woff") format("woff");
}

@font-face {
  font-family: "OpenSans-Bold";
  src: url("/templates/elephant/fonts/OpenSans-Bold.woff") format("woff");
}

/* ======================= BODY ======================= */

body {
  padding: 0;
  margin: 0;
  background: #f9f9f9;
  box-sizing: border-box;
  font-family: "OpenSans-Regular";
  font-size: 20px;
  color: #575756;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


img {
  display: block;
}


/* ======================= HEADER ======================= */

#header-wrapper {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: auto;
  z-index: 5000;
}

#header {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1920px;
  height: 130px;
  background: #fff;
  box-shadow: 0 8px 45px #0000001a;
}

@media (max-width: 900px) {
  #header {
    height: 80px;
  }
}

#logo {
  position: absolute;
  left: 40px;
  top: 30px;
  width: 100%;
  max-width: 270px;
}

@media (max-width: 900px) {
  #logo {
    left: 25px;
    top: 17px;
    max-width: 180px;z-index: 99999;  }
}

.logoimg {
  width: 100%;
  max-width: 270px;
}

#sprache {
  position: absolute;
  right: 40px;
  top: 55px;
  width: 70px;
  height: 30px;
  text-align: right;
 

}


@media (max-width: 900px) {
#sprache  {
  right: 65px;
  top: 26px;
    z-index: 99999;
  }
}


div.mod-languages a {
  padding: 2px !important;
    margin:0 !important;
  text-decoration: none;
    font-size: 15px !important;
    display: flex;
    text-align: right;
}


div.mod-languages ul li.lang-active {
    
    border: 1px solid #000 !important;
    color: #000 !important;
    background: #fff !important;
}


div.mod-languages li {
  margin: 3px !important;
}

#navigation {
  position: absolute;
  right: 180px;
  top: 55px;
  width: 100%;
  max-width: 350px;
  height: auto;
}

@media (max-width: 900px) {
#navigation  {
    right: 0px;
  top: 25px;
    max-width: 100%;
  }
}

/* ======================= SUJET ======================= */

#sujet {
  position: relative;
  margin: 130px auto 0;
  padding: 8% 10% 0 10%;
  width: 100%;
  max-width: 1920px;
  height: 680px;
  background: #8f1e72 url("../images/sujet-bg.png") no-repeat right bottom;
  background-size: 80% auto;
  color: #fff;
  text-align: center;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  #sujet {
    margin: 80px auto 0;
    height: 650px;
    padding: 20px 25px 0 25px;
    background-size: 150% auto;
  }
}

/* ======================= CONTENT ======================= */

.item-content {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1920px;
  min-height: 100px;
  background: #fff;
  box-sizing: border-box;
  text-align: left;
}

.text-content {
  position: relative;
  margin: 0 auto;
  padding: 40px;
  width: 100%;
  max-width: 1300px;
  text-align: left;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .text-content {
    padding: 20px 25px;
    
  }
}


.ant {
   background: #fff url("../images/ants.png") no-repeat left bottom;
  background-size: 70% auto;
  
}


@media (max-width: 900px) {
.ant {
        background-size: 100% auto;
    background-position: center right;
  }
}

.ant2 {
   background: #fff url("../images/ants-2.png") no-repeat left bottom;
  background-size: 70% auto;
    background-position: bottom right;
  
}

@media (max-width: 900px) {
.ant2 {
        background-size: 100% auto;
    background-position: center right;
  }
}

/* ======================= GRID ======================= */

.how {
  border: 2px solid #8f1e72;
  text-align: center !important;
  padding: 50px 20px 20px;
  box-sizing: border-box;
  justify-content: center;
  margin-top: 80px;
}

/* ======================= NETZWERK ======================= */

.netzwerk {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 1300px;
  min-height: 55px;
  background: #eee;
  text-align: center;
  box-sizing: border-box;
}

/* ======================= LOGOS ======================= */

.flex-container {
 margin: 0 auto;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  text-align: center;
  justify-content: space-between; /* verteilt Spalten gleichmäßig */
}

.item {
  flex: 1 1 calc(16% - 1rem); /* 5 Spalten minus Abstand */
  min-width: 100px;
  text-align: center;
  padding: 1rem;
  box-sizing: border-box;
}

/* Breakpoint: unter 700px -> einspaltig */
@media (max-width: 700px) {
  .item {
    flex: 1 1 calc(50% - 1rem); /* 2 Spalten */
    min-width: 0;
      text-align: left;
  }
}
/* ======================= FOOTER ======================= */

#footer {
  position: relative;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  max-width: 1920px;
  height: auto;
  background: #8f1e72;
  color: #fff;
padding: 20px;
    box-sizing: border-box;
}

.address {
position: relative;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box; 
    height: auto;           
}


.impressum {
 position: relative;
    margin: 0 auto;
    right: 0;
    width: 100%;
    box-sizing: border-box; 
    height: auto;          
}


.bild,
.portrait,
.logopic {
  width: 100%;
  height: auto;
  border: 0;
}

.portrait {
  max-width: 97%;
  
}

@media (max-width: 900px) {
.portrait {
    max-width: 100%;
  }
}

.logopic {
  max-width: 190px;
}

@media (max-width: 900px) {
  .logopic {
    max-width: 160px;
  }
}

/* ======================= LINKS ======================= */

a:link,
a:visited {
  color: #575756;
  font-family: "OpenSans-Regular", sans-serif;
    text-decoration: underline;
}

a:hover,
a:active {
  color: #8f1e72;
  text-decoration: underline;
}

a:focus {
  outline: 2px dashed #FFD700;
}


a.weiss:link { color: #fff; text-decoration:underline;}
a.weiss:visited { color: #fff; text-decoration:underline;  }
a.weiss:hover { color: #fff; text-decoration:underline;    }
a.weiss:focus { color: #fff; text-decoration:underline;  }
a.weiss:active { color: #fff; text-decoration:underline;   }

/* ======================= HEADLINES ======================= */

.headline {
  width: auto;
  height: auto;
  max-height: 150px;
  padding-bottom: 20px;
}

@media (max-width: 900px) {
  .headline {
    max-height: 120px;
    padding-bottom: 5px;
  }
}

.icon-pic {
  width: auto;
  height: auto;
  margin-top: -120px;
  margin-bottom: 40px;
  max-width: 140px;
    text-align: center;
}

@media (max-width: 900px) {
  .icon-pic {
    margin-bottom: 10px;
  }
}

/* ======================= COLORS ======================= */

.orange {
  color: #d64c03;
}

.violett {
  color: #8f1e72;
}

.black {
  color: #000;
}

/* ======================= HEADINGS ======================= */

h1 {
  font-family: "OpenSans-Regular", sans-serif;
  font-size: 3.5em;
  line-height: 1.1em;
  color: #fff;
}

@media (max-width: 900px) {
  h1 {
    font-size: 1.8em;
    line-height: 1.3em;
    padding-top: 30px;
  }
}

h2 {
  font-family: "OpenSans-Regular", sans-serif;
  font-size: 1.8em;
  line-height: 1.3em;
  color: #fff;
}

@media (max-width: 900px) {
  h2 {
    padding-top: 40px;
    font-size: 1.3em;
    line-height: 1.3em;
  }
}

h3 {
  font-family: "OpenSans-Regular", sans-serif;
  font-size: 1.3em;
  line-height: 1.3em;
  color: #d64c03;
  padding-bottom: 7px;
}

@media (max-width: 900px) {
  h3 {
    font-size: 1.1em;
    line-height: 1.3em;
    color: #d64c03;
    padding-bottom: 7px;
  }
}

h4 {
  font-family: "OpenSans-Regular", sans-serif;
  font-size: 1.3em;
  line-height: 1.1em;
  color: #d64c03;
  padding-bottom: 20px;
}

.text-small {
  font-family: "OpenSans-Regular";
  font-size: 0.9em;
  line-height: 1.5em;
}

.text-lang {
  font-family: "OpenSans-Regular";
  font-size: 0.8em;
  line-height: 1.5em;
}
