/* ===== HEADER ===== */
.container-header {background: linear-gradient(to bottom, #ededed 0%, #C5C5C5 100%) !important;border-bottom: 1px solid #131f27 !important;
}

.container-header .site-description {
    color: #131f27;
    white-space: normal;
    font-size: 11.7pt;
    margin-bottom: -5px;
}

/* ===== MENÜ-CONTAINER (WICHTIG FÜR HÖHE) ===== */
.top-a.card.nav-pills-menu {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
	margin-top: 16px !important;
}

.top-a.card.nav-pills-menu .card-body {
    padding: 6px 10px !important; /* Höhe reduziert + 10px Rand */
}

/* ===== NAVBAR RESET ===== */
.nav-pills-menu .navbar {
    padding: 0 !important;
    min-height: auto !important;
}

.nav-pills-menu .navbar-collapse {
    width: 100% !important;
}

/* ===== HAUPTMENÜ ===== */
.nav-pills-menu ul.mod-menu {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

/* ===== MENÜPUNKTE ===== */
.nav-pills-menu ul.mod-menu > li {
    display: inline-flex !important;
    align-items: center !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ===== HAUPTMENÜ LINKS ===== */
.nav-pills-menu ul.mod-menu > li > a,
.nav-pills-menu ul.mod-menu > li > a:link,
.nav-pills-menu ul.mod-menu > li > a:visited {
    color: #333 !important;
    text-decoration: none !important;
    font-size: 16px !important; /* kleiner */
    font-weight: 600 !important;
    padding: 4px 0 !important;  /* Höhe reduziert */
    line-height: 1.1 !important;
}

/* ===== DROPDOWN BUTTON (PFEIL) ===== */
.nav-pills-menu .mm-toggler {
    padding-left: 6px !important;
    margin: 0 !important;
    height: auto !important;
}

/* ===== HOVER + AKTIV ===== */
.nav-pills-menu ul.mod-menu > li > a:hover,
.nav-pills-menu ul.mod-menu > li.active > a,
.nav-pills-menu ul.mod-menu > li.current > a,
.nav-pills-menu ul.mod-menu > li > a[aria-current="page"] {
    color: #00AEEF !important;
}

/* ===== UNTERMENÜ ===== */
.nav-pills-menu ul.mod-menu > li > ul {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    min-width: 200px !important;
    margin: 0 !important;
    padding: 4px 0 !important;
    background: #fff !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    z-index: 9999 !important;
}

/* ===== UNTERMENÜ ANZEIGEN ===== */
.nav-pills-menu ul.mod-menu > li:hover > ul {
    display: flex !important;
}

/* ===== UNTERMENÜ-PUNKTE ===== */
.nav-pills-menu ul.mod-menu > li > ul > li {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
}

/* ===== UNTERMENÜ LINKS ===== */
.nav-pills-menu ul.mod-menu > li > ul > li > a,
.nav-pills-menu ul.mod-menu > li > ul > li > a:link,
.nav-pills-menu ul.mod-menu > li > ul > li > a:visited {
    display: block !important;
    width: 100% !important;
    padding: 4px 10px !important; /* kompakt */
    line-height: 1.1 !important;
    color: #333 !important;
    text-align: left !important;
    text-decoration: none !important;
    font-size: 16px !important;
}

/* ===== UNTERMENÜ HOVER ===== */
.nav-pills-menu ul.mod-menu > li > ul > li > a:hover,
.nav-pills-menu ul.mod-menu > li > ul > li.active > a {
    color: #00AEEF !important;
    background: #f5f5f5 !important;
}

/* Oberer Headerbereich */
.container-header .header-top{
    max-width:1320px;
    margin:0 auto;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:50px;
    padding:10px 0px 10px 0px;
}

/* Logo links breiter */
.header-logo{
    flex:0 0 360px;
}

/* Produktbereich mittig etwas kleiner */
.header-products{
    flex:0 1 420px;
    text-align:center;
}

/* Kontakt rechts */
.header-kontakt{
    flex:0 0 320px;
    text-align:right;
}

/* Abstände innerhalb der Module */
.header-products p,
.header-kontakt p{
    margin:0 0 0 0;
}

/* Verhindert unnötig hohen grauen Bereich */
.container-header{
    padding-top:0 !important;
    padding-bottom:0 !important;
}

/* Navigation sauber darunter */
.container-nav{
    border-top:1px solid #bdbdbd;
}

/* Responsive */
@media (max-width: 1100px){

    .container-header .header-top{
        flex-direction:column;
        text-align:center;
        gap:25px;
    }

    .header-logo,
    .header-products,
    .header-kontakt{
        flex:none;
        width:100%;
        text-align:center;
    }
}

.links6271 a {margin-left:20px;margin-right:20px;line-height:50px;}

.alledruckprodukte1,
.alledruckprodukte2 {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.alledruckprodukte1 h2,
.alledruckprodukte2 h2 {
    width: 100%;
    margin: 0 0 10px 0;
}

.alledruckproduktecell {
    width: calc(25% - 8px);
    box-sizing: border-box;
}

.alledruckproduktecell1 {
    position: relative;
    overflow: hidden;

    height: 247px;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    background: #fff;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.alledruckproduktecell1::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    transition: background 0.2s ease;
    border-radius: 8px;
}

.alledruckproduktecell1:hover::after {
    background: rgba(0, 0, 0, 0.15);
}

.alledruckproduktecell1:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.alledruckproduktecell1 a {
    color: #212121;
    text-decoration: none;
}

.alledruckproduktecell img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px auto;
}

.alledruckproduktecell h4 {
    margin: 0;
    line-height: 1.2;
    font-weight: normal;
    font-size: 22px;

    min-height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Sonderanfertigungen */

.sonderanfertigungen1 {
    width: 50%;
    margin: 20px auto 0 auto;
}

.sonderanfertigungen1 a {
    position: relative;
    overflow: hidden;

    display: block;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    color: #212121;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sonderanfertigungen1 a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    pointer-events: none;
    transition: background 0.2s ease;
    border-radius: 8px;
}

.sonderanfertigungen1 a:hover::after {
    background: rgba(0, 0, 0, 0.15);
}

.sonderanfertigungen1 a:hover {
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.druckerei-home-bild {margin-left: 30px;margin-bottom:30px; margin-top:6px;border-radius: 12px;}

.produkttext {margin-top:40px;}

.produkttext .druckbild-style {margin-left:40px;margin-bottom:40px;}
.druckpreis p {
    display: inline-block;
    background: linear-gradient(180deg, #ff2a2a 0%, #d60000 100%);
    color: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 2.15em;
    margin: 0;
    box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
.druckpreis {margin-bottom: 40px;margin-top: 50px;text-align:center;}
.weiterertext img {
    display: block;
    margin: 20px auto;
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}
#le1 {
    float: right;
    border-radius: 0px;
    margin: 0 0 20px 20px;
}

.bildgruppe {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
	margin-top:40px;
}

.bildgruppe img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
}

footer.footer {
    background: linear-gradient(
        to bottom,
        #3a3a3a 0%,
        #323232 50%,
        #292929 100%
    ) !important;

    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-copyright {
    text-align: center;
    margin: 0;
    padding: 0;
    line-height: 2;
    color: #ffffff;
}

.footer-copyright a {
    color: #ffffff;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

footer.footer .grid-child {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Handy */
@media (max-width: 768px) {
    .bildgruppe {
        flex-direction: column;
        align-items: center;
    }
}

/* Tablet */

@media (max-width: 900px) {

    .alledruckproduktecell {
        width: calc(50% - 5px);
    }

    .sonderanfertigungen1 {
        width: 100%;
    }
}

/* Handy */

@media (max-width: 600px) {

    .alledruckprodukte1,
    .alledruckprodukte2 {
        gap: 15px;
    }

    .alledruckproduktecell {
        width: 100%;
    }

    .alledruckproduktecell1 {
        height: auto;
    }

    .alledruckproduktecell img {
        height: auto;
        max-height: 220px;
    }

    .sonderanfertigungen1 {
        width: 100%;
    }
}