/* ============================================================
   ÜBER UNS — VDC Fellbach
   ============================================================ */

/* ===================== HERO ===================== */
.hero {
    position: relative;
    min-height: 300px;
    max-height: 380px;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
            linear-gradient(135deg, rgba(18,140,70,0.18) 0%, transparent 60%),
            repeating-linear-gradient(
                    -45deg,
                    transparent,
                    transparent 40px,
                    rgba(255,255,255,0.015) 40px,
                    rgba(255,255,255,0.015) 41px
            );
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    right: -80px;
    top: -60px;
    width: 420px;
    height: 700px;
    background: #128c46;
    opacity: 0.12;
    transform: rotate(-12deg);
    z-index: 0;
}

.hero-text {
    position: relative;
    z-index: 1;
    padding: 40px 70px 36px;
    max-width: 100%;
}

.page-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #128c46;
    margin-bottom: 8px;
}

.page-eyebrow::before {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: #128c46;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #128c46;
    margin-bottom: 0.6rem;
}

.hero-badge::before {
    content: '';
    display: block;
    width: 24px;
    height: 1.5px;
    background: #128c46;
}

.hero-text h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 1rem;
}

.hero-text h2 {
    font-size: clamp(0.92rem, 1.5vw, 1.1rem);
    font-weight: 400;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 0.75rem;
    max-width: 100%;
    letter-spacing: 0;
}

.hero-text p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.7;
    max-width: 520px;
    font-style: italic;
}

/* ===================== KENNZAHLEN ===================== */
.stats-section {
    background: #128c46;
    padding: 1.75rem 70px;
}

.stats-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    gap: 0;
}

.stat-item {
    text-align: left;
    padding: 0 20px;
    border-right: 1px solid rgba(255,255,255,0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; padding-right: 0; }

.stat-item h2 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 300;
    color: #fff;
    line-height: 1;
    margin: 0 0 6px;
}

.stat-item p {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin: 0;
}

/* ===================== ÜBER UNS INFO ===================== */
.ueberuns-section {
    padding: 4rem 70px;
    background: #ffffff;
}

.ueberuns-section h1.ueberuns {
    font-size: clamp(1.6rem, 2.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #1a1a1a;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.info-text p {
    font-size: 0.9rem;
    color: #444;
    line-height: 1.85;
    margin-bottom: 1rem;
    margin-top: -10px;
    padding-left: 1rem;
    border-left: 2px solid rgba(0,0,0,0.08);
}

.info-text p:first-of-type { border-left-color: #128c46; }

.info-image img {
    width: 100%;
    height: 300px;
    min-height: 200px;
    object-fit: cover;
    border-radius: 16px;
    display: block;
    margin-top: -30px;
}

/* ===================== AUSZEICHNUNGEN ===================== */
.awards-wrapper {
    background: #e6e7e8;
    padding: 50px 0 50px;
    display: flex;
    flex-direction: column;
}

.unterueberschriften {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #128c46;
    margin: 0 70px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    order: 1;
}

.unterueberschriften::before {
    content: '';
    width: 20px;
    height: 1.5px;
    background: #128c46;
}

.unterueberschriften-titel {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a1a;
    margin: 0 70px 40px;
    order: 2;
}

.awards-wrapper .carousel-container { order: 3; }

.carousel-container {
    position: relative;
    margin: 0 70px;
    overflow: hidden;
    padding: 0 44px;
}

.carousel-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 24px;
    transition: transform 0.5s ease;
}

.slide {
    flex: 0 0 380px;
    width: 380px;
}

.award-card {
    width: 100%;
    height: 220px;
    padding: 70px 24px 24px;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    box-sizing: border-box;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.award-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.award-logo {
    position: absolute;
    top: 20px; right: 20px;
    width: 80px; height: 80px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(180,180,180,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.award-logo img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.award-content h3 {
    font-size: 0.95rem;
    font-weight: 400;
    color: #555f58;
    line-height: 1.4;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.award-content h3::first-line {
    font-weight: 700;
    color: #128c46;
}

.award-content p {
    font-size: 0.82rem;
    color: #888;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.awards-wrapper .prev,
.awards-wrapper .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #128c46;
    color: #fff;
    border: none;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
}

.awards-wrapper .prev { left: 5px; }
.awards-wrapper .next { right: 5px; }
.awards-wrapper .prev:hover,
.awards-wrapper .next:hover { background: #0a5c2e; }

/* ===================== JAHRESBERICHT ===================== */
.gescheaftsbericht {
    padding: 50px 0 0;
    background: #f2f3f4;
    display: flex;
    flex-direction: column;
}

.gescheaftsbericht .unterueberschriften { order: 1; }
.gescheaftsbericht .unterueberschriften-titel { order: 2; }
.geschaeftsbericht-info { order: 3; }

.geschaeftsbericht-info {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 60px;
    margin: 0 70px 80px;
    align-items: start;
}

.geschaeftsbericht-image {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.geschaeftsbericht-image a:first-child img {
    width: 220px;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
    display: block;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.geschaeftsbericht-text {
    font-size: 0.92rem;
    line-height: 1.85;
    color: #444;
}

.geschaeftsbericht-text p {
    margin-bottom: 1rem;
    padding-left: 1rem;
    border-left: 2px solid rgba(0,0,0,0.08);
}

.geschaeftsbericht-text p:first-child { border-left-color: #128c46; }

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #128c46;
    color: #fff;
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}

.download-link:hover {
    background: #0a5c2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(18,140,70,0.3);
}

/* ===================== TEAM ===================== */
.team-wrapper {
    padding: 3.5rem 0 6rem;
    background: #e6e7e8;
}

.team-wrapper .unterueberschriften {
    margin: 0 70px 8px;
    display: flex;
}

.team-wrapper .unterueberschriften-titel {
    margin: 0 70px 15px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 1.5rem 70px 0;
}

.team-card {
    perspective: 1000px;
    height: 340px;
    cursor: pointer;
}

.team-card-inner {
    position: relative;
    width: 100%; height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    transform-style: preserve-3d;
}

.team-card:hover .team-card-inner { transform: rotateY(180deg); }

.team-card-front,
.team-card-back {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
}

.team-card-front { background: #ffffff; }

.team-card-front img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.team-card-front .team-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.2rem 1rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
}

.team-card-front .team-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.team-card-front .team-role {
    font-size: 0.72rem;
    font-weight: 600;
    color: #9EC5A8;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.team-card-back {
    background: #128c46;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 1.5rem;
    gap: 0.75rem;
}

.team-card-back .team-name-back {
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.team-card-back .team-role-back {
    font-size: 0.68rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.team-card-back .team-bio {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

.team-card-back .team-contact {
    margin-top: auto;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}

.team-card-back .team-contact a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.76rem;
}

.team-card-back .team-contact a:hover { color: #ffffff; }

/* ===================== TABLET (≤1400px) ===================== */
@media (max-width: 1400px) {
    .hero-text { padding: 36px 40px 32px; }
    .stats-section { padding: 1.5rem 40px; }
    .ueberuns-section { padding: 3.5rem 40px; }
    .info-section { gap: 40px; }
    .awards-wrapper { padding: 3rem 0; }
    .unterueberschriften { margin-left: 40px; margin-right: 40px; }
    .unterueberschriften-titel { margin-left: 40px; margin-right: 40px; }
    .carousel-container { margin: 0 40px; padding: 0 44px; }
    .gescheaftsbericht { padding: 40px 0 0; }
    .geschaeftsbericht-info { margin: 0 40px 60px; grid-template-columns: 180px 1fr; gap: 40px; }
    .team-wrapper { padding: 2rem 0 4rem; }
    .team-wrapper .unterueberschriften,
    .team-wrapper .unterueberschriften-titel { margin-left: 40px; margin-right: 40px; }
    .team-grid { margin-left: 40px; margin-right: 40px; grid-template-columns: repeat(3, 1fr); }
}

/* ===================== TABLET (≤1024px) ===================== */
@media (max-width: 1024px) {
    .info-section { grid-template-columns: 1fr; gap: 32px; }
    .info-image img { min-height: unset; height: 280px; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-section { padding: 1.5rem 40px; }
    .geschaeftsbericht-image { display: none; }
    .geschaeftsbericht-info { grid-template-columns: 1fr; }
}

/* ===================== MOBILE (≤768px) ===================== */
@media (max-width: 768px) {
    .hero-text { padding: 28px 20px 24px; }
    .hero-text h1 { font-size: 2rem; }
    .hero-text h2 { font-size: 0.92rem; }
    .stats-section { padding: 1.25rem 20px; }
    .stats-container { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .stat-item { padding: 0; border: none; }
    .ueberuns-section { padding: 2.5rem 20px; }
    .info-section { grid-template-columns: 1fr; }
    .info-image img { min-height: unset; height: 220px; }
    .awards-wrapper { padding: 2.5rem 0; }
    .unterueberschriften { margin-left: 20px; margin-right: 20px; }
    .unterueberschriften-titel { margin-left: 20px; margin-right: 20px; }
    .carousel-container { margin: 0 20px; padding: 0 40px; }
    .slide { flex: 0 0 280px; width: 280px; }
    .award-card { height: auto; min-height: 180px; }
    .gescheaftsbericht { padding: 20px 0 0; }
    .geschaeftsbericht-info { margin: 0 20px 60px; grid-template-columns: 1fr; }
    .geschaeftsbericht-image { display: none; }
    .team-wrapper { padding: 2rem 0 3rem; }
    .team-wrapper .unterueberschriften,
    .team-wrapper .unterueberschriften-titel { margin-left: 20px; margin-right: 20px; }
    .team-grid { margin-left: 20px; margin-right: 20px; grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .team-card { height: 280px; }
}

/* ===================== MOBILE (≤480px) ===================== */
@media (max-width: 480px) {
    .hero-text { padding: 24px 16px 20px; }
    .stats-section { padding: 1rem 16px; }
    .ueberuns-section { padding: 2rem 16px; }
    .unterueberschriften { margin-left: 16px; margin-right: 16px; }
    .unterueberschriften-titel { margin-left: 16px; margin-right: 16px; }
    .carousel-container { margin: 0 16px; padding: 0 36px; }
    .geschaeftsbericht-info { margin: 0 16px 40px; }
    .team-wrapper .unterueberschriften,
    .team-wrapper .unterueberschriften-titel { margin-left: 16px; margin-right: 16px; }
    .team-grid { margin-left: 16px; margin-right: 16px; grid-template-columns: 1fr 1fr; gap: 10px; }
    .team-card { height: 240px; }
}