﻿/* Tokens loaded from tokens.css */

.sp-ueber * { box-sizing: border-box; }
.sp-ueber { font-family: var(--sp-font-body); color: var(--sp-ink); line-height: 1.6; }
.sp-ueber h1, .sp-ueber h2, .sp-ueber h3 { font-family: var(--sp-font-heading); font-weight: 700; }
.sp-ueber img { display: block; max-width: 100%; height: auto; }
.sp-ueber a:not(.sp-folie-bottom__btn):not(.sp-folie-bottom__phone) { color: var(--sp-blue); text-decoration: none; }

.sp-ueber-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

/* ---------- HERO ---------- */
.sp-ueber-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    overflow: hidden;
    background: var(--sp-ink);
}

.sp-ueber-hero__bg {
    position: absolute; inset: 0; z-index: 0;
}

.sp-ueber-hero__bg img {
    width: 100%; height: 100%; object-fit: cover;
}

.sp-ueber-hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
}

.sp-ueber-hero__content {
    position: relative; z-index: 2; max-width: 720px;
}

.sp-ueber-hero__badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px; background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3); border-radius: 9999px;
    font-size: 13px; font-weight: 600; color: #fff;
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 24px;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

.sp-ueber-hero__badge .material-symbols-outlined { font-size: 18px; }

.sp-ueber-hero h1 {
    font-size: 56px; font-weight: 700; line-height: 1.1;
    letter-spacing: -0.02em; color: #fff; margin: 0 0 20px;
}

.sp-ueber-hero__sub {
    font-size: 20px; line-height: 1.5; color: rgba(255,255,255,0.85);
    margin: 0 0 32px; max-width: 580px;
}

/* ---------- SECTIONS ---------- */
.sp-ueber-section { padding: 80px 0; }
.sp-ueber-section--alt { background: var(--sp-surface); }

.sp-ueber-section__head {
    text-align: center; max-width: 680px; margin: 0 auto 48px;
}

.sp-ueber-section__eyebrow {
    display: inline-block; font-size: 13px; font-weight: 600;
    color: var(--sp-blue); text-transform: uppercase;
    letter-spacing: 0.1em; margin-bottom: 12px;
}

.sp-ueber-section h2 {
    font-size: 38px; font-weight: 700; line-height: 1.2;
    letter-spacing: -0.01em; margin: 0 0 16px; color: var(--sp-ink);
}

.sp-ueber-section__lead {
    font-size: 17px; line-height: 1.6; color: var(--sp-ink-soft); margin: 0;
}

/* ---------- GESCHICHTE (Story) ---------- */
.sp-ueber-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1100px;
    margin: 0 auto;
}

.sp-ueber-story__img {
    border-radius: var(--sp-radius-lg);
    overflow: hidden;
    box-shadow: var(--sp-shadow-md);
}

.sp-ueber-story__img img {
    width: 100%; height: 100%; object-fit: cover;
}

.sp-ueber-story__text p {
    font-size: 17px; line-height: 1.7; color: var(--sp-ink-soft); margin: 0 0 16px;
}

.sp-ueber-story__text p:last-child { margin: 0; }

/* ---------- ZEITLEISTE ---------- */
.sp-ueber-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 40px;
}

.sp-ueber-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--sp-blue-tint);
}

.sp-ueber-timeline__item {
    position: relative;
    margin-bottom: 36px;
    padding-left: 40px;
}

.sp-ueber-timeline__item::before {
    content: '';
    position: absolute;
    left: -25px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--sp-blue);
    border: 3px solid #fff;
    box-shadow: 0 0 0 2px var(--sp-blue);
}

.sp-ueber-timeline__year {
    font-family: var(--sp-font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--sp-blue);
    margin-bottom: 4px;
}

.sp-ueber-timeline__text {
    font-size: 16px;
    color: var(--sp-ink-soft);
    margin: 0;
}

/* ---------- VALUES ---------- */
.sp-ueber-section--inverted {
    background: linear-gradient(180deg, #0071BC 0%, #1a4055 50%, #1a1a1a 100%);
    color: #fff;
}
.sp-ueber-section--inverted .sp-ueber-section__eyebrow { color: var(--sp-blue-tint); }
.sp-ueber-section--inverted h2 { color: #fff; }
.sp-ueber-section--inverted .sp-ueber-section__lead { color: rgba(255,255,255,0.9); }

/* ---------- TEAM (full-width, matches inverted sections) ---------- */
.sp-ueber .sp-team-section {
    max-width: none !important;
    width: 100% !important;
    border-radius: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    padding: 80px 32px;
}
.sp-ueber .sp-team-section__text { padding: 0 32px; }
.sp-ueber .sp-team-section__img { min-height: 420px; border-radius: var(--sp-radius-lg); }

.sp-ueber-values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 1080px;
    margin: 0 auto;
}

.sp-ueber-value {
    text-align: center;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    padding: 32px 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sp-ueber-value:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.sp-ueber-value__icon {
    width: 56px; height: 56px; margin: 0 auto 16px;
    border-radius: 50%; background: var(--sp-blue-tint);
    display: flex; align-items: center; justify-content: center;
}

.sp-ueber-value__icon .material-symbols-outlined { font-size: 28px; color: var(--sp-blue); }

.sp-ueber-value h3 { font-size: 20px; font-weight: 600; color: var(--sp-ink); margin: 0 0 6px; }
.sp-ueber-value p { font-size: 14px; line-height: 1.6; color: var(--sp-ink-soft); margin: 0; }

/* ---------- KOMPETENZEN ---------- */
.sp-ueber-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
}

.sp-ueber-fact {
    text-align: center;
    padding: 16px;
}

.sp-ueber-fact__number {
    font-family: var(--sp-font-heading);
    font-size: clamp(40px, 6vw, 64px);
    font-weight: 700;
    color: var(--sp-blue);
    line-height: 1.1;
    margin-bottom: 4px;
}

.sp-ueber-fact__label {
    font-size: 15px;
    line-height: 1.4;
    color: var(--sp-ink-soft);
    margin: 0 0 12px;
}

.sp-ueber-fact__icon {
    font-size: 24px;
    color: var(--sp-blue-tint);
    opacity: 0.7;
}

/* ---------- LEISTUNGEN (Gallery) ---------- */
.sp-ueber-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1080px;
    margin: 0 auto;
}

.sp-ueber-gallery__item {
    position: relative;
    border-radius: var(--sp-radius-md);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--sp-surface);
    box-shadow: var(--sp-shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sp-ueber-gallery__item:hover {
    box-shadow: var(--sp-shadow-lg);
    transform: translateY(-4px);
}

.sp-ueber-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sp-ueber-gallery__item:hover img {
    transform: scale(1.05);
}

.sp-ueber-gallery__item a {
    display: block;
    width: 100%;
    height: 100%;
}

.sp-ueber-gallery__label {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.75));
    color: #fff;
    font-family: var(--sp-font-heading);
    font-weight: 600;
    font-size: 16px;
    line-height: 1.3;
    pointer-events: none;
}

/* ---------- TEAM ---------- */
.sp-ueber-team {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 24px;
    max-width: 960px;
    margin: 0 auto;
}

.sp-ueber-team__member { text-align: center; }

.sp-ueber-team__avatar {
    width: 140px; height: 140px; margin: 0 auto 16px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--sp-blue-tint);
    box-shadow: var(--sp-shadow-sm);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.sp-ueber-team__avatar img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.3s ease;
}

.sp-ueber-team__member:hover .sp-ueber-team__avatar {
    box-shadow: 0 0 0 4px var(--sp-blue-tint), var(--sp-shadow-md);
    transform: scale(1.05);
}

@media (hover: hover) and (pointer: fine) {
    .sp-ueber-team__avatar img:hover { transform: scale(1.1); }
}

.sp-ueber-team__member h3 {
    font-size: 18px; font-weight: 700; color: var(--sp-ink);
    margin: 0 0 2px;
    font-family: var(--sp-font-heading);
}

.sp-ueber-team__role {
    font-size: 14px; color: var(--sp-blue);
    margin: 0;
    font-weight: 500;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .sp-ueber-hero { min-height: 460px; padding: 80px 0 60px; }
    .sp-ueber-hero h1 { font-size: 44px; }
    .sp-ueber-hero__sub { font-size: 18px; }
    .sp-ueber-section { padding: 64px 0; }
    .sp-ueber-section h2 { font-size: 32px; }
    .sp-ueber-story { gap: 32px; }
    .sp-ueber-values { grid-template-columns: repeat(2, 1fr); }
    .sp-ueber-team { grid-template-columns: repeat(2, 1fr); }
    .sp-ueber-team__avatar { width: 100px; height: 100px; }
    .sp-ueber-facts { grid-template-columns: repeat(2, 1fr); }
    .sp-ueber-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .sp-ueber-container { padding: 0 20px; }
    .sp-ueber-hero { min-height: 380px; padding: 64px 0 48px; }
    .sp-ueber-hero h1 { font-size: 38px; }
    .sp-ueber-hero__sub { font-size: 16px; }
    .sp-ueber-section { padding: 56px 0; }
    .sp-ueber-section h2 { font-size: 28px; }
    .sp-ueber-story { grid-template-columns: 1fr; gap: 24px; }
    .sp-ueber-values { grid-template-columns: 1fr; gap: 24px; }
    .sp-ueber-team { grid-template-columns: 1fr 1fr; gap: 24px; }
    .sp-ueber-team__avatar { width: 90px; height: 90px; }
    .sp-ueber-facts { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .sp-ueber-gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}

@media (max-width: 640px) {
    .sp-ueber-container { padding: 0 16px; }
    .sp-ueber-hero { min-height: 340px; padding: 56px 0 40px; }
    .sp-ueber-hero h1 { font-size: 32px; }
    .sp-ueber-hero__sub { font-size: 15px; }
    .sp-ueber-hero__badge { font-size: 11px; padding: 6px 12px; }
    .sp-ueber-section { padding: 48px 0; }
    .sp-ueber-section h2 { font-size: 24px; }
    .sp-ueber-facts { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .sp-ueber-gallery { grid-template-columns: 1fr; gap: 16px; }
}

@media (max-width: 480px) {
    .sp-ueber-hero { min-height: 300px; padding: 48px 0 32px; }
    .sp-ueber-hero h1 { font-size: 28px; }
    .sp-ueber-section h2 { font-size: 22px; }
    .sp-ueber-facts { grid-template-columns: 1fr; gap: 12px; }
    .sp-ueber-fact__number { font-size: 36px; }
}

@media (max-width: 360px) {
    .sp-ueber-hero h1 { font-size: 26px; }
    .sp-ueber-section h2 { font-size: 20px; }
}

@media (prefers-reduced-motion: reduce) {
    .sp-ueber *, .sp-ueber *::before, .sp-ueber *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---------- FOOTER ---------- */
.copy-right {
    background: linear-gradient(135deg, #0071BC 0%, #1a4055 50%, #1a1a1a 100%) !important;
    padding: 32px 0 !important;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.copy-right .copyright-text {
    color: rgba(255,255,255,0.9) !important;
    font-size: 14px;
}

.copy-right .footer-social a {
    color: rgba(255,255,255,0.8) !important;
    transition: color 0.2s ease;
}

.copy-right .footer-social a:hover {
    color: #fff !important;
}
