/* CSS für Navigation */
.button {border-radius: 5px;}
#merkzettel {color:#FFCC00;}
.grid-container { max-width:1400px;}
		h4 {font-size:18px;padding-top:10px;}
		/* .abstand-unten {margin-bottom:4em;} */
		.projektlink, .projektlink:hover {color:#000000;}
		
		/* Positioniert das CCM19-Icon unten rechts */
.ccm-settings-summoner {
    left: auto !important;
    right: 20px !important;
}
.footer-container {max-width:1400px;}
.top-bar{
  /* border-bottom:1px solid #FFCC00; */
  position: relative;
  z-index:1000;
}
.top-bar{
  border-bottom:1px solid #e6e6e6;
  margin-bottom:15px;
}

/* 1. Hauptcontainer auf Flexbox umstellen und Standard-Floats deaktivieren */
.top-bar.custom-top-bar {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
}

/* 2. Foundation-Floats und Breitenbegrenzungen für alle drei Bereiche aufheben */
.custom-top-bar .top-bar-left,
.custom-top-bar .top-bar-center,
.custom-top-bar .top-bar-right {
  float: none !important;
  max-width: none !important;
  margin: 0;
}

/* 3. Links und rechts schrumpfen exakt auf Inhaltsbreite */
.custom-top-bar .top-bar-left,
.custom-top-bar .top-bar-right {
  flex: 0 0 auto !important;
}

/* 4. Mitte nimmt den gesamten verbleibenden Platz ein */
.custom-top-bar .top-bar-center {
  flex: 1 1 auto !important;
}

/* 5. Die Menü-Liste in der Mitte perfekt zentrieren */
.custom-top-bar .top-bar-center .menu {
  display: flex;
  justify-content: right !important;
  width: 100%;
}

/* Optional: Verhindert, dass das Logo-Bild die Bar sprengt */
.custom-top-bar .top-bar-left img {
  max-height: 50px; /* An Ihr Design anpassen */
  width: auto;
  display: block;
}

/* Text in Großbuchstaben umwandeln und Abstand zwischen den Links vergrößern */
.custom-top-bar .top-bar-center .menu a {
  text-transform: uppercase !important;
  letter-spacing: 1px; /* Optional: Macht Großbuchstaben lesbarer */
  padding-left: 30px !important;  /* Abstand links */
  padding-right: 30px !important; /* Abstand rechts */
  color:#333333;
  font-size:20px;
}

/* Logo in Originalgröße anzeigen */
/*
.custom-top-bar .top-bar-left img {
  max-height: none !important;
  height: auto !important;
  width: auto !important;
  display: block;
}
*/

/* Verhindert, dass das Foundation-Standard-Padding das Logo verzerrt */
.custom-top-bar .top-bar-left .menu-text a {
  padding: 0 !important;
}

.custom-top-bar .top-bar-left .menu-text {
  padding: 0.5rem 0 !important;
}

.top-bar, .top-bar ul {
  background-color: #ffffff !important;
}

.menu-text {
  padding: 0.7rem 0.5rem !important;
  }
.fa-shopping-cart {
  font-size: 36px !important;
  color: #FFCC00;
}
.fa-bars {
  font-size: 36px !important;
  color: #FFCC00;
}
#anfragekorb {
  background-color: #FFFFFF;
}

/* =========================================
   TOP BAR
   ========================================= */

.custom-top-bar {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 80px;
    padding: 5px 20px;
    position: relative;
}

/* Logo */
.custom-top-bar .top-bar-left {
    flex: 0 0 auto;
}

.custom-top-bar .top-bar-left img {
    display: block;
    max-height: 70px;
    width: auto;
    height: auto;
}

/* Desktop navigation */
.custom-top-bar .top-bar-center {
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
}

.custom-top-bar .top-bar-center .menu {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-top-bar .top-bar-center a {
    white-space: nowrap;
    padding: 0.7rem 1rem;
}

/* Cart */
.custom-top-bar .top-bar-right {
    flex: 0 0 auto;
}

#anfragekorb {
    text-align: center;
    margin-right: 15px;
    border-radius: 5px;
    padding: 5px 10px;
}

#anfragekorb .fa {
    font-size: 1.4rem;
}

.custom-top-bar .top-bar-center .menu a:hover {
  background-color: #FFCC00;
  border-radius:5px;
}


/* =========================================
   HAMBURGER
   Hidden on desktop
   ========================================= */

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 8px;
    font-size: 1.5rem;
    line-height: 1;
}


/* =========================================
   MOBILE / TABLET
   ========================================= */

@media screen and (max-width: 1120px) {

    .custom-top-bar {
        display: grid;
        grid-template-columns: 60px 1fr 60px;
        align-items: center;
        width: 100%;
        min-height: 70px;
        padding: 5px 10px;
    }

    /* Hamburger - LEFT */
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        margin: 0;
        padding: 0;
        border: 0;
        background: transparent;
        cursor: pointer;
        font-size: 2.4rem;
        line-height: 1;
    }

    /* Logo - TRUE CENTER */
    .custom-top-bar .top-bar-left {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 0;
    }

    .custom-top-bar .top-bar-left img {
        display: block;
        max-height: 60px;
        max-width: 100%;
        width: auto;
        height: auto;
    }

    /* Cart - RIGHT */
    .custom-top-bar .top-bar-right {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin: 0;
    }

    #anfragekorb {
        margin: 0;
        padding: 5px;
    }

    #anfragekorb .fa {
        font-size: 1.4rem;
    }

    /* Hide navigation */
    .custom-top-bar .top-bar-center {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 1000;
        background: #fff;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

    /* Open navigation */
    .custom-top-bar .top-bar-center.is-open {
        display: block;
    }

    .custom-top-bar .top-bar-center .menu {
        display: block;
        width: 100%;
        margin: 0;
    }

    .custom-top-bar .top-bar-center .menu li {
        display: block;
        width: 100%;
    }

    .custom-top-bar .top-bar-center a {
        display: block;
        width: 100%;
        padding: 14px 20px;
        border-bottom: 1px solid #eee;
    }
}


/* Smaller phones */
@media screen and (max-width: 600px) {

    .custom-top-bar {
        grid-template-columns: 55px 1fr 55px;
        min-height: 60px;
    }

    .menu-toggle {
        width: 55px;
        height: 55px;
        font-size: 2.4rem;
    }

    .custom-top-bar .top-bar-left img {
        max-height: 50px;
        max-width: 200px;
    }
}


/* =========================================
   SMALL MOBILE
   ========================================= */

@media screen and (max-width: 600px) {

    .custom-top-bar {
        min-height: 60px;
        padding: 5px 10px;
    }

    .custom-top-bar .top-bar-left img {
        max-height: 50px;
        max-width: 200px;
    }

    .menu-toggle {
        font-size: 1.4rem;
        padding: 6px;
        margin-right: 4px;
    }

    #anfragekorb .fa {
        font-size: 1.3rem;
    }
    
}
    
.accordion-title {
  font-family: "Comic Sans MS", "Comic Sans", sans-serif !important;
}
    
a.accordion-title, a.accordion-title.is-active {
  color: #0a0a0a;
  font-size: 18px !important;
}
