/* === GLOBAL === */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Arial, sans-serif;
  background-color: #ffffff;
  color: #131313;
}

img {
  max-width: 100%;
  height: auto;
}



/* === HEADER & MENU === */
.header {
  max-width: 1600px;   /* oder z.B. 1000px */
  margin: 0 auto;      /* zentriert das Element */
  padding: 0.5rem 2rem; /* bereits vorhanden, sorgt für Innenabstand */
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  background: #ffffff;
  z-index: 1000;
}

.header-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1rem;
}

.menu-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 1rem;
  background-color: #f0f0f0;
  flex-wrap: wrap;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: white;
  z-index: 1000;
  transition: right 0.3s ease;
  padding: 1.5rem 2rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.site-logo-header {
  display: flex;
  font-size: 1rem;
  font-weight: 500;
  color: #383838;
  text-align: center;
  margin-top: 0.4rem;
  line-height: 1.4;
}

.site-logo {
  height: 30px;
  max-width: 260px;
}

.social-icons-header {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
  color: black;
}

.social-icons-header a img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(0);
  transition: filter 0.3s ease;
}

.social-icons-header a:hover img {
  filter: invert(27%) sepia(83%) saturate(6140%) hue-rotate(346deg) brightness(92%) contrast(101%);
}

@media (min-width: 768px) {
  .menu-panel {
    display: flex;
    justify-content: center;
  }

  .menu-grid {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2rem;
  }

  .menu-column {
    flex: 1;
    min-width: 150px;
  }
}

/* Header schrumpfanimation */

#mainHeader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

#mainHeader .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
  padding: 0rem 2rem;
}

#mainHeader .site-logo {
  display: flex;
  align-items: center;
}

#mainHeader .site-logo img {
  height: 40px;
  transition: all 0.3s ease;
}

.menu-toggle {
  flex: 1;
  text-align: right;
  color: #131313;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  font-weight: bold;
  margin-left: auto;
}

.menu-panel {
  max-height: 0;
  overflow: hidden;
  transition: top 1.5s ease, opacity 0.5s ease;
  background-color: #f0f0f0;
  opacity: 0;
}

.menu-panel.open {
  max-height: none; /* oder: height: auto; */
  opacity: 1;
  padding: 1rem 0;
  top: 0;
}

.menu-grid {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 1rem 2rem;
}

.menu-column {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.menu-column h3 {
  color: #e63946;
  margin-bottom: 0.5rem;
}

.menu-column a {
  color: black;
  text-decoration: none;
  padding: 0.3rem 0;
}

.menu-column a:hover {
  color: #e63946;
}

.link-entecred {
  color: #e63946 !important;              /* Entec-Rot dauerhaft */
  text-decoration: none;
  position: relative;
  display: inline-block;
  font-weight: 700;
  transition: color 0.25s ease;
}

.link-entecred::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: #e63946;
  transition: width 0.3s ease;
}

.link-entecred:hover::after {
  width: 100%;                 /* animierte Unterstreichung */
}

/* Social-Icons */

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: center;
  color: black;
}

.social-icons a img {
  width: 50px;
  height: 50px;
  filter: brightness(0) invert(0);
  transition: filter 0.3s ease;
}

.social-icons a:hover img {
  filter: invert(27%) sepia(83%) saturate(6140%) hue-rotate(346deg) brightness(92%) contrast(101%);
}

section {
  text-align: center;
  padding: 4rem 2rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 2rem;
}

.box {
  background: #eee;
  padding: 2rem;
  flex: 1;
  text-align: center;
}

.gallery {
  display: flex;
  gap: 1rem;
  justify-content: center;
  padding: 2rem;
}

/* Footer */

.footer {
    background: #404448;   /* anthrazit (kannst du anpassen) */
    color: #f0f0f0;
    margin-top: 0px;
    font-size: 15px;
}

/* Oberer Bereich: 4 Spalten */

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 20px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
    border-bottom: 1px solid #333;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-weight: 500;
}

.footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col a {
    color: #d9d9d9;
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
    color: #ffffff;
}

.footer-contact p {
    margin: 4px 0;
}

/* Vertikale Trennlinien wie im Screenshot */

.footer-top .footer-col:not(:last-child) {
    border-right: 1px solid #333;
    padding-right: 30px;
}

/* --- Mittlerer Bereich: Logos --- */

.footer-middle {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px 30px;
    border-bottom: 1px solid #333;
}

.footer-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
    align-items: center;
}

.footer-logos img {
    max-height: 60px;
    width: auto;
    opacity: 0.9;                      /* heller */
    filter: brightness(1);          /* +25% heller */
    transition: 0.3s ease;
}



.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px 20px;
    background: #111111;
    font-size: 14px;
    text-align: center;
}

.footer-bottom-center a {
    margin: 0 8px;
    color: #d0d0d0;
    text-decoration: none;
}

.footer-bottom-center a:hover {
    text-decoration: underline;
    color: #ffffff;
}

/* Social-Bubbles ohne Icon-Font */

.social-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    font-size: 11px;
    text-transform: uppercase;
    text-decoration: none;
    color: #ffffff;
    margin-left: 6px;
    transition: 0.3s ease;
}

.social-circle:hover {
    background: #ffffff;
    color: #111111;
}

/* --- Responsive --- */

@media (max-width: 900px) {
    .footer-top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }

    .footer-top .footer-col {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid #333;
        padding-bottom: 20px;
    }

    .footer-top .footer-col:last-child {
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom-right {
        margin-top: 5px;
    }
}

