/* Hero Section */
.about-hero {
    color: white;
    padding: 8rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: #090e2c !important;
    background-image: none !important;
}

.about-hero h1 {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #a8a8a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-hero p {
    font-size: 1.8rem !important;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Wrapper für den Hero-Text wie in services.html */
.about-hero-content {
    max-width: 60%;
    margin: 0 auto;
    text-align: center;
}

/* Timeline */
.about-timeline {
    position: relative;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 2rem;
    background: #090e2c !important;
}

.about-timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background: #3366ff;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.about-item {
    padding: 2rem;
    position: relative;
    width: 50%;
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s ease;
}

.about-item.right {
    margin-left: 50%;
    transform: translateX(100px);
}

.about-item.animate {
    opacity: 1;
    transform: translateX(0);
}

.about-content {
    background: #3366ff !important;
    color: #fff !important;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}

.about-content h2 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.about-content p {
    color: #fff;
    line-height: 1.6;
}

/* Icons */
.about-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #2d2d2d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

.about-icon i {
    font-size: 1.5rem;
    color: white;
    transition: all 0.3s ease;
}

.about-icon.outside-right {
    right: -30px;
}

.about-icon.outside-left {
    left: -30px;
}

.icon-animate {
    animation: iconPulse 1s ease infinite;
}

.icon-hover {
    transform: scale(1.2);
    color: #00ff88 !important;
}

@keyframes iconPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
    }
}

/* CTA Section */
.about-cta {
    text-align: center;
    padding: 4rem 2rem;
    background: #090e2c !important;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #3366ff;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1rem;
    transition: background-color 0.3s;
    border: 2px solid #fff;
}

.cta-button:hover {
    background-color: #fff;
    color: #3366ff;
    border: 2px solid #3366ff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-timeline::before {
        left: 30px;
    }

    .about-item {
        width: 100%;
        padding-left: 70px;
    }

    .about-item.right {
        margin-left: 0;
    }

    .about-icon.outside-right,
    .about-icon.outside-left {
        left: 0;
        right: auto;
    }

    .about-hero h1 {
        font-size: 3rem;
    }

    .about-hero p {
        font-size: 1.2rem;
    }
}

@media (max-width: 600px) {
    .about-hero {
        padding: 4rem 1rem 2rem 1rem;
    }
    .about-hero h1 {
        font-size: 2rem;
    }
    .about-hero p {
        font-size: 1.1rem;
    }
    .about-timeline {
        padding: 1rem 0.5rem;
        margin: 2rem 0;
    }
    .about-item {
        width: 100%;
        padding: 1.2rem 0.5rem 1.2rem 2.5rem;
        min-width: 0;
    }
    .about-content {
        padding: 1.2rem;
    }
    .about-content h2 {
        font-size: 1.2rem;
    }
    .about-content p {
        font-size: 1rem;
    }
    .about-icon {
        width: 40px;
        height: 40px;
        left: -20px !important;
        right: auto !important;
    }
    .about-timeline::before {
        left: 20px;
        width: 2px;
    }
    .about-cta {
        padding: 2rem 1rem;
    }
    .cta-button {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    .facts-section,
    .fachgebiete-section {
        flex-direction: column;
        gap: 1rem;
        margin: 2rem 0 1.5rem 0;
        max-width: 100%;
    }
    .fact-box {
        padding: 1rem 0.7rem;
        width: 95vw;
        min-width: 0;
        max-width: 99vw;
        min-height: 120px;
        margin: 0 auto;
    }
    .fact-box i {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }
    .fact-box h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    .fact-box p {
        font-size: 0.95rem;
    }
    .facts-title {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        margin-top: 1.5rem;
    }
    .about-cta {
        padding: 1.5rem 0.5rem;
    }
    .fachgebiete-section {
        margin-bottom: 2rem;
    }
}

html, body {
    background: #090e2c !important;
}

.facts-section {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 4rem auto 2rem auto;
    max-width: 1100px;
    flex-wrap: nowrap;
    overflow-x: auto;
}
.fact-box {
    background: #23306a;
    color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px 0 rgba(51,102,255,0.10);
    padding: 1.5rem 2.5rem;
    width: 340px;
    min-width: 340px;
    max-width: 340px;
    min-height: 170px;
    text-align: center;
    opacity: 0;
    transform: translateY(60px);
    transition: all 1.2s cubic-bezier(.77,0,.18,1);
}
.fact-box i {
    font-size: 2rem;
    color: #4d79ff;
    margin-bottom: 0.7rem;
}
.fact-box h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #fff;
}
.fact-box.visible {
    opacity: 1;
    transform: translateY(0);
}
.fact-box.from-left { transform: translateX(-300px); }
.fact-box.from-right { transform: translateX(300px); }
.fact-box.from-bottom { transform: translateY(200px); }
.fact-box.visible.from-left,
.fact-box.visible.from-right,
.fact-box.visible.from-bottom { transform: translateX(0) translateY(0); }
.fact-box:nth-child(2) { transition-delay: 0.2s; }
.fact-box:nth-child(3) { transition-delay: 0.4s; }

.facts-title {
    text-align: center;
    font-size: 4rem;
    font-weight: 500;
    background: linear-gradient(45deg, #fff, #a8a8a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
    margin-top: 0;
    font-family: inherit;
}
@media (max-width: 768px) {
    .facts-title {
        font-size: 3rem;
    }
}
@media (max-width: 600px) {
    .facts-title {
        font-size: 2rem;
    }
}

/* Fachgebiete-Section: Zwei Reihen mit je drei Karten */
.fachgebiete-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 2rem;
    max-width: 1100px;
    margin: 3rem auto 0 auto;
    justify-items: center;
    margin-bottom: 4rem;
}
.fachgebiete-section .fact-box {
    min-width: 0;
    width: 100%;
    max-width: 340px;
}
@media (max-width: 900px) {
    .fachgebiete-section {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(3, auto);
    }
}
@media (max-width: 600px) {
    .fachgebiete-section {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(6, auto);
        gap: 1.2rem;
    }
}

.hero-lead {
    background: linear-gradient(45deg, #fff, #a8a8a8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent !important;
} 