/*
Theme Name:		Evergreen Media
Version:		1.0.1
Text Domain:    evergreen
*/

/* GRID STYLES */

/* Werte-grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 2rem 0;
}

.value-card {
    background-color: #F3F4F4;
    padding: 1.5rem;
    border-radius: 7px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    border: none;
    box-shadow: none;
    height: 100%;
    text-decoration: none;
}

.icon-box {
    width: 40px;
    height: 40px;
    background-color: #C6CCCB;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    flex-shrink: 0;
    margin-bottom: 1rem;
}

.icon {
    width: 20px;
    height: 20px;
    fill: #112A28;
}

.value-card .title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    margin: 0 0 8px 0;
    color: #000000;
    transition: color 0.2s ease-in-out;
}

.value-card:hover .title {
    color: #8AA14A;
}

.value-card .text {
    font-size: 0.95rem;
    line-height: 1.4;
    margin: 0;
    color: #333;
}

.values-grid > * {
    display: flex;
}
/* Ueber uns grid */
.ueber-uns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.grid-item-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.ueber-uns-grid .grid-item {
    background: #fff;
    border: 1px solid #E5E7EB;
    padding: 0;
    text-align: left;
    border-radius: 7px;
    overflow: hidden;
    height: 100%;
}

.ueber-uns-grid .image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
}

.ueber-uns-grid .grid-item h3,
.ueber-uns-grid .grid-item p,
.ueber-uns-grid .cta-link {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.ueber-uns-grid .grid-item h3 {
    font-size: 1.1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.ueber-uns-grid .grid-item h3 .grid-title-link {
    color: #000000;
    text-decoration: none;
    transition: color 0.2s ease-in-out;
}

.ueber-uns-grid .grid-item h3 .grid-title-link:hover {
    color: #8AA14A;
}

.ueber-uns-grid .grid-item p {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.ueber-uns-grid .cta-link {
    color: #8AA14A;
    text-decoration: none;
    font-weight: 400;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.ueber-uns-grid .cta-link:hover {
    color: #8AA14A;
}

.ueber-uns-grid .presse {
    display: flex;
    flex-direction: row;
    grid-column: span 2;
    align-items: stretch;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 7px;
    overflow: hidden;
}

.ueber-uns-grid .presse-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ueber-uns-grid .presse-image {
    max-width: 400px;
    flex-shrink: 0;
}

.ueber-uns-grid .presse-text {
    flex: 1;
    padding: 1.5rem;
}

.ueber-uns-grid .presse-cta a {
    color: #8AA14A;
    text-decoration: none;
    font-weight: 400;
    display: inline-block;
    margin-top: 0.5rem;
}

.ueber-uns-grid .presse-cta a:hover {
    color: #8AA14A;
}

@media (max-width: 768px) {
    .ueber-uns-grid .presse {
        flex-direction: column;
        grid-column: span 1;
    }

    .ueber-uns-grid .presse-image {
        max-width: 100%;
    }
}
/* Presse Grid */
.publikationen-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.publikation {
    background: #fff;
    border-radius: 7px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.publikation-logo {
    background: #D5DADA;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 120px;
    padding: 2rem;
    border-radius: 7px 7px 0 0;
}

.publikation-logo img {
    max-height: 50px;
    width: auto;
    max-width: 100%;
}

.publikation-logo div {
    width: 100%;
    height: 100%;
    background: #D5DADA;
}

.publikation-content {
    padding: 1rem 1.25rem 1.25rem 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.publikation-label {
    font-size: 0.875rem;
    color: #6B7280;
}

.publikation-title {
    font-size: 1rem;
    color: #111827;
    margin-bottom: 1rem;
    font-weight: 400;
}

.publikation-link {
    color: #8AA14A;
    font-size: 0.875rem;
    line-height: 1.25rem;
    font-weight: 400;
    text-decoration: none;
    margin-top: auto;
}

.publikation-link:hover {
    color: #8AA14A;
}

.pressespiegel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .pressespiegel-grid {
        grid-template-columns: 1fr;
    }
}

.feature-box {
    background: #fff;
    border: 1px solid #CFD4D4;
    border-radius: 7px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.feature-label {
    background-color: #CFD4D4;
    color: #111827;
    font-size: 0.75rem;
    font-weight: 500;
    display: inline-flex;
    max-width: fit-content;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    min-height: 3.5em;
    display: flex;
    align-items: flex-start;
}

.feature-title-link {
    color: #000000;
    text-decoration: none;
}

.feature-title-link:hover {
    color: #8AA14A;
}

.feature-description {
    font-size: 1rem;
    color: #374151;
    margin-bottom: 1rem;
    flex: 1;
}

.feature-footer {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 1rem;
    margin-top: auto;
}

.feature-source,
.feature-link {
    font-size: 0.875rem;
    line-height: 1.25rem;
    margin: 0;
}

.feature-source {
    color: #4B5563;
}

.feature-link {
    color: #8AA14A;
    text-decoration: none;
    font-weight: 400;
}

.feature-link:hover {
    color: #8AA14A;
}

/* Pressekit Grid */
.pressekit-download-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .pressekit-download-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .pressekit-download-grid {
        grid-template-columns: 1fr;
    }
}

.pressekit-download-box {
    background-color: #CFD4D4;
    border-radius: 7px;
    padding: 2rem 3rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.pressekit-download-icon {
    background-color: #A9B2B2;
    border-radius: 5px;
    width: 3.1rem;
    height: 3.1rem;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pressekit-download-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #112A28;
}

.pressekit-download-subtitle {
    font-size: 0.875rem;
    color: #374151;
    margin-bottom: auto;
}

.pressekit-download-button {
    display: inline-block;
    background-color: transparent;
    color: #112A28;
    border: 1px solid #8AA14A;
    padding: 0.5rem 1.5rem;
    border-radius: 0;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1.5rem;
}

.pressekit-download-button:hover {
    background-color: transparent;
    color: #112A28;
}

.pressekit-download-all {
    background-color: #CFD4D4;
    padding: 1rem 2rem;
    margin: 2rem auto 0;
    border-radius: 0;
    text-align: center;
    display: block;
    width: fit-content;
}

.pressekit-download-all a {
    color: #112A28;
    font-weight: 600;
    text-decoration: none;
    font-size: 1rem;
}

.pressekit-download-all a:hover {
    color: #8AA14A;
}

/* Karriere-Benefits Grid */
.karriere-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* max 3 */
}

/* < 1024px → 2 Spalten */
@media (max-width: 1024px) {
    .karriere-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* < 640px → 1 Spalte */
@media (max-width: 640px) {
    .karriere-grid {
        grid-template-columns: 1fr;
    }
}

.karriere-grid .grid-item {
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 7px;
    overflow: hidden;
    text-align: left;
}

.karriere-grid .grid-item img {
    width: 100%;
    height: auto;
    display: block;
}

.karriere-grid .grid-item h3 {
    font-size: 1.0rem;
    margin: 1.2rem 1.5rem 0.5rem;
    color: #000;
}

.karriere-grid .grid-item p {
    font-size: 1rem;
    color: #000;
    margin: 0 1.5rem 1.5rem;
    line-height: 1.5;
}

/*Kununu*/
.kununu-section {
    width: 100%;
    padding: 32px 0;
    box-sizing: border-box;
}

.kununu-card {
    width: 100%;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.kununu-header {
    position: relative;
    height: 220px;
}

.kununu-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.kununu-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 0.85rem;
    color: #0B0F14;
}

.kununu-badge .dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #FE7D60;
}

.kununu-content {
    padding: 32px 40px;
    max-width: 1020px;
    margin: 0 auto;
}

.kununu-header-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 6px;
}

.kununu-header-info img {
    width: 44px;
    height: 44px;
    border-radius: 4px;
}

.kununu-header-info h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #0B0F14;
}

.kununu-header-info p {
    margin: 2px 0 0;
    font-size: 0.95rem;
    color: #6B7280;
}

.kununu-rating {
    margin: 10px 0 0;
    color: #374151;
}

.kununu-rating p {
    margin: 0;
    font-size: 0.95rem;
}

.kununu-rating a {
    color: #8AA14A;
    text-decoration: none;
}

.kununu-label {
    margin: 32px 0 32px;
    font-weight: 600;
    color: #0B0F14;
}

.kununu-stats {
    display: flex;
    gap: 16px;
    margin: 0 0 28px;
}

.kununu-stats .stat {
    background: #F9FAFB;
    border-radius: 8px;
    padding: 14px 20px;
    flex: 1;
    text-align: center;
}

.kununu-stats .value {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    color: #8AA14A;
}

.kununu-stats .desc {
    margin: 4px 0 0;
    font-size: 0.9rem;
    color: #6B7280;
}

.kununu-cta {
    text-align: center;
    margin-top: 2px;
}

.kununu-btn {
    display: inline-block;
    background: #FE7D60;
    color: #fff;
    border-radius: 8px;
    padding: 12px 28px;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
}

.kununu-footer {
    text-align: center;
    margin: 16px 0 0;
    font-size: 0.9rem;
    color: #6B7280;
}

@media (max-width: 768px) {
    .kununu-content {
        padding: 24px;
    }

    .kununu-header {
        height: 180px;
    }

    .kununu-stats {
        flex-direction: column;
    }
}

/* Mitarbeiter Testimonial */
.testimonial-slider {
    --border: #E5E7EB;
    --text: #0B0F14;
    --muted: #6B7280;
    --surface: #fff;
    --dot: #D1D5DB;
    --dot-active: #8AA14A;
    --radius: 10px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 24px 0;
}
.testimonial-slider *, .testimonial-slider *::before, .testimonial-slider *::after { box-sizing: border-box; }

.ts-viewport {
    position: relative;
    overflow-x: hidden;
    overflow-y: visible;
    background: var(--surface);
    width: 100%;
    border: none;
}

.ts-track {
    display: flex;
    flex-wrap: nowrap;
    transition: transform .35s ease;
    will-change: transform;
    width: 100%;
}

.ts-slide {
    flex: 0 0 100%;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 28px;
    align-items: start;
    padding: 28px;
    border: none;
}

.ts-media {
    width: 250px;
    aspect-ratio: 1 / 1;
    height: auto;
    border-radius: 8px;
    overflow: hidden;
    background: #F3F4F6;
}

.ts-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ts-quote {
    color: var(--text);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.ts-name {
    margin: 14px 0 2px;
    font-weight: 600;
}

.ts-meta {
    color: var(--muted);
    font-size: .9rem;
    margin: 0;
}

.ts-role {
    color: #8AA14A;
}

.ts-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 16px 0;
}

.ts-arrow {
    width: 34px;
    height: 34px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    display: grid;
    place-items: center;
    font-size: 16px;
    user-select: none;
    cursor: pointer;
}

.ts-arrow svg {
    width: 16px;
    height: 16px;
}

.ts-r {
    position: absolute;
    left: -9999px;
}

#ts-r1:checked ~ .ts-viewport .ts-track { transform: translateX(0); }
#ts-r2:checked ~ .ts-viewport .ts-track { transform: translateX(-100%); }
#ts-r3:checked ~ .ts-viewport .ts-track { transform: translateX(-200%); }
#ts-r4:checked ~ .ts-viewport .ts-track { transform: translateX(-300%); }
#ts-r5:checked ~ .ts-viewport .ts-track { transform: translateX(-400%); }

.ts-nav label { display: none; }
#ts-r1:checked ~ .ts-nav .prev-1, #ts-r1:checked ~ .ts-nav .next-1,
#ts-r2:checked ~ .ts-nav .prev-2, #ts-r2:checked ~ .ts-nav .next-2,
#ts-r3:checked ~ .ts-nav .prev-3, #ts-r3:checked ~ .ts-nav .next-3,
#ts-r4:checked ~ .ts-nav .prev-4, #ts-r4:checked ~ .ts-nav .next-4,
#ts-r5:checked ~ .ts-nav .prev-5, #ts-r5:checked ~ .ts-nav .next-5 { display: grid; }

@media (max-width: 720px) {
    .ts-slide {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px;
    }
    .ts-media {
        width: 100%;
        aspect-ratio: 1 / 1;
        height: auto;
    }
    .ts-quote { font-size: 1rem; }
}
