/* Reset & Fonts */
body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

body {
    background: #f8f8f8;
    color: #222;
    font-size: 16px;
    line-height: 1.6;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
}

.logo a {
    color: #259924;
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #222;
    font-weight: 500;
    transition: color 0.2s;
}

nav ul li a:hover, .btn-primary:hover {
    color: #259924;
}

/* Hero Section */
.hero {
    background: linear-gradient(105deg, #259924 60%, #59b892 100%);
    color: #fff;
    padding: 80px 0 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.7rem;
    font-weight: bold;
    margin-bottom: 16px;
}
.hero p {
    font-size: 1.2rem;
    margin-bottom: 22px;
}

.btn-primary {
    display: inline-block;
    padding: 13px 35px;
    background: #fff;
    color: #259924;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s, color 0.2s;
}

/* Features */
.features {
    background: #fff;
    padding: 50px 0;
}
.features .container {
    display: flex;
    justify-content: space-between;
    gap: 24px;
}
.feature-box {
    background: #f5f5f5;
    border-radius: 8px;
    flex: 1;
    padding: 28px 18px;
    text-align: center;
    box-shadow: 0 3px 12px rgba(50,50,50,.05);
}
.feature-box h2 {
    font-size: 1.4rem;
    color: #259924;
    margin-bottom: 11px;
}

/* Lieferantenportal 样式 */
.lieferantenportal-box {
    margin-top: 48px;
    margin-bottom: 32px;
    background: #fdfdfc;
    box-shadow: 0 4px 24px rgba(24,90,44,0.08);
    border-radius: 13px;
    padding: 32px 32px 30px 32px;
    max-width: 1450px;
}

.lieferanten-header {
    font-size: 2.23rem;
    font-weight: bold;
    color: #222;
    margin-bottom: 9px;
}
.lieferanten-desc {
    color: #222;
    font-size: 1rem;
    margin-bottom: 23px;
    max-width: 800px;
}

.lieferanten-img-row {
    display: flex;
    gap: 18px;
    justify-content: start;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.lieferanten-img-item {
    background: #fff;
    flex: 1 1 30%;
    min-width: 164px;
    max-width: 450px;
    border-radius: 8px;
    box-shadow: 0 2px 9px rgba(50,50,50,0.03);
    text-align: center;
    padding: 12px 7px 11px 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.lieferanten-img-item img {
    width: 420px;
    height: 420px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 9px;
    border: 1px solid #eee;
}
.lieferanten-img-item span {
    font-size: 0.98rem;
    color: #555;
}

.lieferanten-features {
    margin-top: 18px;
    margin-bottom: 9px;
    list-style: none;
    padding-left: 0;
    font-size: 1rem;
}
.lieferanten-features li {
    margin-bottom: 7px;
    position: relative;
    padding-left: 28px;
    color: #222;
}
.lieferanten-features .checkmark {
    position: absolute;
    left: 0;
    top: 1px;
    color: #259924;
    font-weight: bold;
    font-size: 1.18em;
}
.lieferanten-features b {
    color: #054f1d;
}

/* Footer */
footer {
    background: #252525;
    color: #d1ffd9;
    text-align: center;
    padding: 20px 0 10px 0;
    margin-top: 35px;
    font-size: 0.95rem;
}

/* back to top btn */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 20px;
    font-size: 22px;
    background: #259924;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 45px; 
    height: 45px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 100;
    box-shadow: 0 2px 9px rgba(50,50,50,0.13);
    cursor: pointer;
}



.aufschlaege-box {
    margin: 30px auto 16px auto;
    padding: 0;
    max-width: 1450px;
}

.aufschlaege-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 22px 17px;
    background: #fff;
    border-radius: 13px;
    box-shadow: 0 4px 24px rgba(24,90,44,0.08);
    padding: 28px 33px 7px 33px;
    position: relative;
}

@media (max-width: 820px) {
    .aufschlaege-grid {
        grid-template-columns: 1fr;
        padding: 25px 10px 10px 10px;
    }
}

.aufschlaege-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid #f1f1f1;
    min-height: 155px;
    padding-bottom: 18px;
    margin-bottom: 10px;
    position: relative;
background: #FFFBF7;
}

.aufschlaege-item:nth-child(3), .aufschlaege-item:nth-child(5) {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 7px;
}
.aufschlaege-icon {
    margin-bottom: 11px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.aufschlaege-icon img,
.aufschlaege-icon svg {
    max-width: 32px;
    max-height: 32px;
}
.aufschlaege-title {
    font-weight: bold;
    font-size: 1.08rem;
    color: #054f1d;
    margin-bottom: 3px;
}
.aufschlaege-percent {
    font-weight: bold;
    font-size: 1.30rem;
    color: #043915;
    margin-bottom: 1px;
    letter-spacing: 0.5px;
}
.bar-green { color: #259924;}
.bar-orange { color: #d49313;}
.bar-grey { color: #505050;}
.aufschlaege-plus { color: #249c61;}
.aufschlaege-diff { color: #d49313;}
.aufschlaege-text {
    color: #555;
    font-size: 0.98rem;
    margin-bottom: 0px;
    margin-top: 2px;
    line-height: 1.35;
}
.aufschlaege-desc {
    color: #a3a3a3;
    font-size: 0.96rem;
}
@media (max-width: 1100px) {
    .aufschlaege-box, .lieferantenportal-box { padding: 30px 6vw 15px 6vw; }
    .aufschlaege-grid { padding-left:2vw; padding-right: 2vw; }
}
@media (max-width: 700px) {
    .aufschlaege-grid { grid-template-columns: 1fr; }
}
.img-modal {
    display: none;
    position: fixed;
    z-index: 2222;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0,0,0,0.68);
    justify-content: center;
    align-items: center;
}
.img-modal[open], .img-modal.active {
    display: flex;
}
.img-modal-content {
    margin: auto;
    display: block;
    max-width: 94vw;
    max-height: 92vh;
    border-radius: 7px;
    box-shadow: 0 3px 22px rgba(0,0,0,0.24);
    background: #fff;
    padding: 6px;
}
.img-modal-close {
    position: absolute;
    top: 24px;
    right: 32px;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    z-index: 9999;
    text-shadow: 0 1px 2px #333;
    transition: color 0.2s;
}
.img-modal-close:hover {
    color: #fffbcc;
}
@media (max-width: 700px) {
    .img-modal-content { max-width: 98vw; max-height: 88vh;}
    .img-modal-close { right: 18px; top: 10px;}
}