/* ============================================
   ABOUT PAGE STYLES
   ============================================ */

/* Hero Section - Matching KI-Beratung Style */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url('../images/alessio-soggetti-xXIRSZmzvU8-unsplash.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: grayscale(100%) brightness(0.3);
}

/* Particle Canvas */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 1000px;
    padding: 0 1.5rem;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: var(--step-4);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero h1 .highlight {
    color: var(--primary);
    text-shadow: 0 0 20px var(--glow), 0 4px 20px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
    font-size: var(--step-1);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.6);
    animation: bounce 2s infinite;
    z-index: 3;
    cursor: pointer;
    transition: color 0.3s ease;
}

.scroll-indicator:hover {
    color: var(--primary);
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Facts Bar */
.facts-bar {
    background: var(--card-bg);
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.facts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.fact-badge {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out;
}

.fact-badge:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(155, 127, 196, 0.2);
}

.fact-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    filter: grayscale(0.3);
}

.fact-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--fg);
}

/* Story Timeline - CENTERED with WIDE boxes */
.story-section {
    padding: 4rem 0;
}

/* Wide container for timeline */
.story-section .container {
    max-width: 1800px !important;
    margin: 0 auto !important;
    padding: 0 3rem !important;
}

.timeline {
    position: relative;
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 280px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

.timeline-item {
    position: relative;
    padding-left: 380px;
    padding-right: 0;
    padding-bottom: 4rem;
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-year {
    position: absolute;
    left: 0;
    top: 0;
    width: 240px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
    text-align: right;
    padding-right: 3rem;
    line-height: 1.3;
}

.timeline-year::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 8px;
    width: 28px;
    height: 28px;
    background: var(--primary);
    border: 4px solid var(--bg);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--border);
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 3rem;
    min-height: 250px;
    width: 100%;
    max-width: none;
}

.timeline-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--fg);
}

.timeline-content p {
    color: var(--muted);
    line-height: 1.9;
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.timeline-learning {
    margin-top: 2rem;
    padding: 2rem;
    background: rgba(155, 127, 196, 0.05);
    border-left: 3px solid var(--primary);
    border-radius: 4px;
    font-size: 1.05rem;
    line-height: 1.8;
}

.timeline-learning strong {
    color: var(--primary);
    font-size: 1.1rem;
}

.fis-link {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.875rem 1.75rem;
    background: rgba(155, 127, 196, 0.1);
    border: 1px solid var(--primary);
    border-radius: 6px;
    color: var(--primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.fis-link:hover {
    background: var(--primary);
    color: var(--bg);
    transform: translateX(4px);
}

/* Images Section */
.images-section {
    padding: 4rem 0;
    background: var(--card-bg);
}

.images-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.image-card {
    position: relative;
    animation: fadeInUp 0.8s ease-out;
}

.image-placeholder {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}

.image-placeholder-1 {
    background: linear-gradient(135deg, #3a4a5a, #2a3a4a);
}

.image-placeholder-2 {
    background: linear-gradient(135deg, #4a3a5a, #3a2a4a);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.image-card:hover .image-overlay {
    color: rgba(255, 255, 255, 0.6);
    background: rgba(155, 127, 196, 0.1);
}

.image-caption {
    margin-top: 1rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
}

/* Learnings Grid */
.learnings-section {
    padding: 4rem 0;
}

.learnings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.learning-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out;
}

.learning-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(155, 127, 196, 0.15);
}

.learning-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    color: var(--primary);
}

.learning-icon svg {
    width: 100%;
    height: 100%;
}

.learning-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--fg);
}

.learning-card p {
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.learning-card p strong {
    color: var(--fg);
}

/* Today Section */
.today-section {
    padding: 4rem 0;
    background: var(--card-bg);
}

.today-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.today-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease-out;
}

.today-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 12px 32px rgba(155, 127, 196, 0.2);
}

.today-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--fg);
}

.today-card p {
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.today-metric {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(155, 127, 196, 0.1);
    border: 1px solid var(--primary);
    border-radius: 20px;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Profile Section */
.profile-section {
    padding: 4rem 0;
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

.profile-image {
    display: flex;
    justify-content: center;
}

.profile-placeholder {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid var(--border);
    box-shadow: 0 12px 32px rgba(155, 127, 196, 0.3);
    animation: pulse 3s ease-in-out infinite;
}

.profile-placeholder svg {
    color: var(--bg);
    opacity: 0.6;
}

.profile-text h2 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
}

.profile-text p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.profile-text p strong {
    color: var(--primary);
    font-size: 1.1rem;
}

/* FAQ Section */
.faq-section {
    padding: 4rem 0;
    background: var(--card-bg);
}

.accordion {
    max-width: 800px;
    margin: 0 auto;
}

.accordion-item {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: var(--primary);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: none;
    border: none;
    color: var(--fg);
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color 0.2s ease;
}

.accordion-header:hover {
    color: var(--primary);
}

.accordion-icon {
    color: var(--primary);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 0 1.5rem 1.5rem;
    color: var(--muted);
    line-height: 1.7;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
}

.cta-band {
    background: linear-gradient(135deg, rgba(155, 127, 196, 0.1), rgba(184, 159, 219, 0.1));
    border: 2px solid var(--primary);
    border-radius: 16px;
    padding: 3rem;
    text-align: center;
}

.cta-band h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 1rem;
}

.cta-band p {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-large {
    font-size: 1.1rem;
    padding: 1rem 2.5rem;
}

/* Section Reveal Animation */
.section-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--muted);
    font-size: 1.1rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 12px 32px rgba(155, 127, 196, 0.3);
    }
    50% {
        box-shadow: 0 12px 48px rgba(155, 127, 196, 0.5);
    }
}

/* Responsive Design */
@media (max-width: 1400px) {
    .story-section .container {
        max-width: 1400px !important;
    }

    .timeline::before {
        left: 220px;
    }

    .timeline-item {
        padding-left: 320px;
    }

    .timeline-year {
        width: 180px;
    }
}

@media (max-width: 1200px) {
    .story-section .container {
        max-width: 1200px !important;
        padding: 0 2rem !important;
    }

    .timeline::before {
        left: 180px;
    }

    .timeline-item {
        padding-left: 260px;
    }

    .timeline-year {
        width: 150px;
        font-size: 1.1rem;
    }

    .timeline-content {
        padding: 2.5rem;
    }

    .timeline-content h3 {
        font-size: 1.75rem;
    }
}

@media (max-width: 1024px) {
    .story-section .container {
        max-width: 100% !important;
    }

    .timeline::before {
        left: 140px;
    }

    .timeline-item {
        padding-left: 200px;
    }

    .timeline-year {
        width: 120px;
        font-size: 1rem;
    }

    .timeline-content {
        padding: 2rem;
    }

    .timeline-content h3 {
        font-size: 1.5rem;
    }

    .timeline-content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .about-hero {
        min-height: 60vh;
    }

    .facts-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .story-section .container {
        padding: 0 1rem !important;
    }

    .timeline::before {
        left: 40px;
        width: 2px;
    }

    .timeline-item {
        padding-left: 90px;
        padding-bottom: 2.5rem;
    }

    .timeline-year {
        width: 80px;
        font-size: 0.85rem;
        padding-right: 1.5rem;
    }

    .timeline-year::after {
        right: -18px;
        width: 20px;
        height: 20px;
        border: 3px solid var(--bg);
    }

    .timeline-content {
        padding: 1.5rem;
    }

    .timeline-content h3 {
        font-size: 1.25rem;
    }

    .timeline-content p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .timeline-learning {
        padding: 1.25rem;
        font-size: 0.95rem;
    }

    .images-grid {
        grid-template-columns: 1fr;
    }

    .learnings-grid {
        grid-template-columns: 1fr;
    }

    .today-grid {
        grid-template-columns: 1fr;
    }

    .profile-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .profile-placeholder {
        width: 200px;
        height: 200px;
    }

    .cta-band {
        padding: 2rem;
    }
}

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

/* ============================================
   ABOUT PAGE - TIMELINE FIX
   Diese Styles überschreiben alle anderen!
   ============================================ */

/* Story Section - Extra breit */
.story-section {
    padding: 4rem 0;
    width: 100%;
}

.story-section .container {
    max-width: 1600px !important;
    margin: 0 auto !important;
    padding: 0 2rem !important;
    width: 100% !important;
}

/* Timeline Container */
.story-section .timeline {
    position: relative;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 2rem 0 !important;
}

/* Vertikale Linie */
.story-section .timeline::before {
    content: '';
    position: absolute;
    left: 250px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--accent));
}

/* Timeline Items */
.story-section .timeline-item {
    position: relative;
    margin-bottom: 4rem;
    display: flex;
    align-items: flex-start;
    gap: 0;
}

/* Year Label */
.story-section .timeline-year {
    position: absolute;
    left: 0;
    top: 0;
    width: 200px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
    text-align: right;
    padding-right: 3rem;
    line-height: 1.3;
}

.story-section .timeline-year::after {
    content: '';
    position: absolute;
    right: -14px;
    top: 8px;
    width: 28px;
    height: 28px;
    background: var(--primary);
    border: 4px solid var(--bg);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--border);
}

/* Content Box - HIER IST DER FIX! */
.story-section .timeline-content {
    margin-left: 300px !important;
    width: calc(100% - 300px) !important;
    max-width: none !important;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem !important;
    min-height: 200px;
}

.story-section .timeline-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--fg);
}

.story-section .timeline-content p {
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.story-section .timeline-learning {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: rgba(155, 127, 196, 0.05);
    border-left: 3px solid var(--primary);
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.7;
}

.story-section .timeline-learning strong {
    color: var(--primary);
}

.story-section .fis-link {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background: rgba(155, 127, 196, 0.1);
    border: 1px solid var(--primary);
    border-radius: 6px;
    color: var(--primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.story-section .fis-link:hover {
    background: var(--primary);
    color: var(--bg);
    transform: translateX(4px);
}

/* Responsive */
@media (max-width: 1200px) {
    .story-section .container {
        max-width: 1200px !important;
    }

    .story-section .timeline::before {
        left: 200px;
    }

    .story-section .timeline-content {
        margin-left: 250px !important;
        width: calc(100% - 250px) !important;
    }

    .story-section .timeline-year {
        width: 160px;
    }
}

@media (max-width: 768px) {
    .story-section .container {
        padding: 0 1rem !important;
    }

    .story-section .timeline::before {
        left: 40px;
        width: 2px;
    }

    .story-section .timeline-content {
        margin-left: 90px !important;
        width: calc(100% - 90px) !important;
        padding: 1.5rem !important;
    }

    .story-section .timeline-year {
        width: 80px;
        font-size: 0.85rem;
        padding-right: 1.5rem;
    }

    .story-section .timeline-year::after {
        right: -18px;
        width: 20px;
        height: 20px;
    }

    .story-section .timeline-content h3 {
        font-size: 1.25rem;
    }

    .story-section .timeline-content p {
        font-size: 0.95rem;
    }
}
/* Responsive Design for Hero */
@media (max-width: 968px) {
    .hero-benefits {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
    }

    .hero h1 {
        font-size: var(--step-3);
    }

    .hero-subtitle {
        font-size: var(--step-0);
    }

    .hero-benefits {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .scroll-indicator {
        bottom: 1rem;
    }
}