/**
 * Story-Driven Partner Template
 * Emotionales, dunkles Design mit Video-Focus
 */

/* ==========================================================================
   VARIABLES
   ========================================================================== */
:root {
    --story-dark: #0a0a0a;
    --story-darker: #050505;
    --story-accent: #00d4ff;
    --story-accent-dark: #00a8cc;
    --accent-hover: #00d4ffdd;
    --secondary-color: #6b7280;
    --text-color: #1f2937;
    --bg-color: #f9fafb;
    --button-text-color: #ffffff;
    --story-text: #e0e0e0;
    --story-text-dim: #999999;
    --story-border: #2a2a2a;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
.story-driven-template {
    background: var(--story-dark);
    color: var(--story-text);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
}

.story-driven-template .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.story-driven-template .section {
    padding: 120px 0;
}

.story-driven-template .section-title {
    font-size: 56px;
    font-weight: 700;
    margin: 0 0 80px 0;
    line-height: 1.1;
    text-align: center;
    color: var(--secondary-color);
}

/* AOS Animations */
.story-driven-template [data-aos] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.story-driven-template [data-aos].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

.story-driven-template [data-aos="fade-right"] {
    transform: translateX(-40px);
}

.story-driven-template [data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

.story-driven-template [data-aos="zoom-in"] {
    transform: scale(0.8);
}

.story-driven-template [data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.story-driven-template .story-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.story-driven-template .hero-video-bg,
.story-driven-template .hero-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.story-driven-template .hero-video-bg iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.story-driven-template .hero-image-bg {
    background-size: cover;
    background-position: center;
}

.story-driven-template .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.7) 0%, rgba(10, 10, 10, 0.9) 100%);
    z-index: 1;
}

.story-driven-template .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.story-driven-template .hero-inner {
    margin-bottom: 80px;
}

.story-driven-template .hero-logo {
    margin-bottom: 40px;
}

.story-driven-template .hero-logo img {
    max-width: 150px;
    height: auto;
    filter: brightness(0) invert(1);
}

.story-driven-template .hero-title {
    font-size: 72px;
    font-weight: 800;
    margin: 0 0 32px 0;
    line-height: 1;
    color: var(--hero-text-color);
    letter-spacing: -2px;
}

.story-driven-template .hero-subtitle {
    font-size: 24px;
    color: var(--hero-text-color);
    opacity: 0.95;
    margin: 0 0 48px 0;
    line-height: 1.6;
    font-weight: 300;
}

.story-driven-template .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 20px 48px;
    background: var(--hero-button-bg);
    color: var(--hero-button-text);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 0;
    border: 2px solid var(--hero-button-bg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.story-driven-template .hero-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--story-accent-dark);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.story-driven-template .hero-cta:hover::before {
    left: 0;
}

.story-driven-template .cta-arrow {
    font-size: 24px;
    transition: transform 0.4s;
}

.story-driven-template .hero-cta:hover .cta-arrow {
    transform: translateX(8px);
}

.story-driven-template .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
}

.story-driven-template .stat-box {
    padding: 32px;
    border: 1px solid var(--secondary-color);
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.story-driven-template .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--story-accent);
    margin-bottom: 8px;
    line-height: 1;
}

.story-driven-template .stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--story-text-dim);
}

.story-driven-template .scroll-indicator {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--story-text-dim);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 2;
}

.story-driven-template .scroll-line {
    width: 1px;
    height: 60px;
    background: var(--story-accent);
    margin: 16px auto 0;
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ==========================================================================
   STORY INTRO
   ========================================================================== */
.story-driven-template .story-intro {
    background: var(--story-darker);
}

.story-driven-template .story-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 22px;
    line-height: 1.8;
    color: var(--story-text);
}

.story-driven-template .story-content p {
    margin: 0 0 32px 0;
}

/* ==========================================================================
   MEDIA SECTION (Video & Audio)
   ========================================================================== */
.story-driven-template .media-section {
    background: linear-gradient(135deg, var(--story-dark) 0%, var(--secondary-color) 100%);
    color: white;
}

.story-driven-template .media-block {
    max-width: 900px;
    margin: 0 auto 60px auto;
}

.story-driven-template .media-block:last-child {
    margin-bottom: 0;
}

.story-driven-template .media-section .section-title {
    color: white;
    text-align: center;
    margin-bottom: 32px;
}

.story-driven-template .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    background: #000;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.story-driven-template .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

.story-driven-template .audio-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 28px 0;
    color: white;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.story-driven-template .audio-player {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.story-driven-template .audio-player audio {
    width: 100%;
    outline: none;
    filter: brightness(1.1);
}

.story-driven-template .audio-player audio::-webkit-media-controls-panel {
    background: rgba(255, 255, 255, 0.95);
}

.story-driven-template .audio-player audio::-webkit-media-controls-play-button,
.story-driven-template .audio-player audio::-webkit-media-controls-current-time-display,
.story-driven-template .audio-player audio::-webkit-media-controls-time-remaining-display {
    color: var(--primary-color);
}

.story-driven-template .audio-player audio::-webkit-media-controls-timeline {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

/* ==========================================================================
   TIMELINE SECTION
   ========================================================================== */
.story-driven-template .timeline-section {
    background: var(--story-dark);
}

.story-driven-template .timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.story-driven-template .timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--story-border);
}

.story-driven-template .timeline-item {
    display: flex;
    gap: 48px;
    margin-bottom: 80px;
    position: relative;
}

.story-driven-template .timeline-marker {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: var(--story-dark);
    border: 2px solid var(--story-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-left: -39px;
}

.story-driven-template .marker-icon {
    font-size: 32px;
}

.story-driven-template .marker-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--story-accent);
}

.story-driven-template .timeline-content {
    flex: 1;
    padding: 24px 0;
}

.story-driven-template .timeline-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 16px 0;
    color: var(--story-accent);
}

.story-driven-template .timeline-content p {
    font-size: 18px;
    line-height: 1.7;
    color: var(--story-text);
    margin: 0 0 16px 0;
}

.story-driven-template .timeline-price {
    font-size: 20px;
    color: var(--story-accent);
    font-weight: 600;
}

/* ==========================================================================
   TEAM SECTION
   ========================================================================== */
.story-driven-template .team-section {
    background: var(--story-darker);
}

.story-driven-template .team-showcase {
    display: grid;
    gap: 60px;
}

.story-driven-template .team-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.story-driven-template .team-hero:nth-child(even) {
    direction: rtl;
}

.story-driven-template .team-hero:nth-child(even) > * {
    direction: ltr;
}

.story-driven-template .team-hero-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    max-width: 400px;
    border-radius: 12px;
    margin-right: auto;
}

.story-driven-template .team-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.story-driven-template .team-hero:hover .team-hero-image img {
    transform: scale(1.05);
}

.story-driven-template .team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 10, 0.8) 100%);
}

.story-driven-template .team-hero-content h3 {
    font-size: 40px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color: #ffffff;
}

.story-driven-template .team-role {
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--story-accent);
    margin: 0 0 24px 0;
}

.story-driven-template .team-story {
    font-size: 18px;
    line-height: 1.7;
    color: var(--story-text);
    margin: 0;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.story-driven-template .testimonials-section {
    background: var(--story-dark);
}

.story-driven-template .testimonials-masonry {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.story-driven-template .testimonial-story {
    background: var(--story-darker);
    border: 1px solid var(--secondary-color);
    padding: 40px;
    transition: all 0.4s;
}

.story-driven-template .testimonial-story:hover {
    border-color: var(--story-accent);
    transform: translateY(-8px);
}

.story-driven-template .story-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 24px;
}

.story-driven-template .story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-driven-template .story-quote {
    font-size: 20px;
    line-height: 1.6;
    font-style: italic;
    color: var(--story-text);
    margin-bottom: 24px;
}

.story-driven-template .story-author strong {
    color: #ffffff;
    font-weight: 600;
}

.story-driven-template .story-author span {
    color: var(--story-text-dim);
}

/* ==========================================================================
   TRUST SECTION
   ========================================================================== */
.story-driven-template .trust-section {
    background: var(--story-darker);
    padding: 80px 0;
}

.story-driven-template .trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 48px;
    align-items: center;
}

.story-driven-template .trust-item {
    text-align: center;
}

.story-driven-template .trust-item img {
    max-width: 120px;
    height: auto;
    filter: brightness(0) invert(1) opacity(0.3);
    transition: all 0.4s;
}

.story-driven-template .trust-item:hover img {
    opacity: 1;
}

/* ==========================================================================
   CONTACT CTA
   ========================================================================== */
.story-driven-template .contact-cta {
    background: linear-gradient(135deg, var(--story-dark) 0%, var(--story-darker) 100%);
    border-top: 2px solid var(--story-accent);
    text-align: center;
}

.story-driven-template .cta-content h2 {
    font-size: 56px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: #ffffff;
}

.story-driven-template .cta-content > p {
    font-size: 24px;
    color: var(--story-text);
    margin: 0 0 60px 0;
    font-weight: 300;
}

.story-driven-template .contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.story-driven-template .contact-method {
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--secondary-color);
    text-decoration: none;
    color: inherit;
    transition: all 0.4s;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.story-driven-template .contact-method:hover {
    border-color: var(--story-accent);
    background: rgba(0, 212, 255, 0.05);
}

.story-driven-template .method-icon {
    font-size: 48px;
    margin-bottom: 8px;
}

.story-driven-template .method-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--story-text-dim);
}

.story-driven-template .method-value {
    font-size: 20px;
    color: #ffffff;
    font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablets */
@media (max-width: 1024px) {
    .story-driven-template .hero-title {
        font-size: 56px;
    }

    .story-driven-template .section-title {
        font-size: 42px;
    }

    .story-driven-template .team-hero {
        grid-template-columns: 1fr;
    }

    .story-driven-template .team-hero:nth-child(even) {
        direction: ltr;
    }

    .story-driven-template .testimonials-masonry {
        grid-template-columns: 1fr;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .story-driven-template .container {
        padding: 0 24px;
    }

    .story-driven-template .section {
        padding: 80px 0;
    }

    .story-driven-template .hero-title {
        font-size: 42px;
    }

    .story-driven-template .hero-subtitle {
        font-size: 18px;
    }

    .story-driven-template .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .story-driven-template .section-title {
        font-size: 36px;
    }

    .story-driven-template .story-content {
        font-size: 18px;
    }

    .story-driven-template .timeline::before {
        left: 20px;
    }

    .story-driven-template .timeline-item {
        gap: 32px;
    }

    .story-driven-template .timeline-marker {
        margin-left: -19px;
        width: 60px;
        height: 60px;
    }

    .story-driven-template .marker-icon,
    .story-driven-template .marker-number {
        font-size: 24px;
    }

    .story-driven-template .contact-methods {
        grid-template-columns: 1fr;
    }

    .story-driven-template .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .story-driven-template .hero-title {
        font-size: 32px;
    }

    .story-driven-template .section-title {
        font-size: 28px;
    }

    .story-driven-template .cta-content h2 {
        font-size: 36px;
    }

    .story-driven-template .team-hero-content h3 {
        font-size: 32px;
    }
}
