/* Virtuelle 3D-Rundgänge Seite Styles */

/* Header Video Styling */
.page-header {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.header-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header .header-content {
    position: relative;
    z-index: 2;
}

/* Hero Section - Zweispaltiges Layout */
.hero-section {
    padding: 80px 0;
    background: #2d3748;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/hintergrund_muster.png');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Video Spalte */
.hero-video {
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-placeholder {
    background: linear-gradient(135deg, #2B9184, #1F7A6F);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    border: 2px solid rgba(43, 145, 132, 0.2);
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.video-placeholder h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.video-placeholder .video-note {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-style: italic;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* Text Spalte */
.hero-text {
    color: white;
}

.hero-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #2B9184;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 20px;
}

/* Gespiegelte Hero Section */
.hero-section.mirrored .hero-content {
    grid-template-columns: 1fr 1fr;
}

.hero-section.mirrored .hero-content.mirrored {
    direction: rtl;
}

.hero-section.mirrored .hero-content.mirrored > * {
    direction: ltr;
}

/* Video Player Styling */
.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: 2px solid rgba(43, 145, 132, 0.2);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 18px 36px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.btn-large {
    padding: 20px 40px;
    font-size: 1.2rem;
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #2B9184 0%, #1F7A6F 100%);
    color: white;
    text-align: center;
    position: relative;
    z-index: 3;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: white;
    color: #2B9184;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.cta-section .btn-primary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

.cta-section .btn-secondary {
    background: #1F7A6F;
    color: white;
    border: 2px solid white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-section .btn-secondary:hover {
    background: white;
    color: #1F7A6F;
    border-color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-section.mirrored .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-section.mirrored .hero-content.mirrored {
        direction: ltr;
    }
    
    .video-placeholder {
        padding: 40px 30px;
        min-height: 250px;
    }
    
    .video-placeholder h3 {
        font-size: 1.5rem;
    }
    
    .hero-text h2 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
}

/* Vorteile Section Styles */
.vorteile-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    position: relative;
}

.vorteile-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/hintergrund_muster.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    pointer-events: none;
}

.vorteile-section .container {
    position: relative;
    z-index: 2;
}

.vorteile-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.vorteile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.vorteil-card {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(43, 145, 132, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vorteil-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2B9184, #1F7A6F);
}

.vorteil-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
    border-color: rgba(43, 145, 132, 0.5);
}

.vorteil-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2B9184, #1F7A6F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    position: relative;
    overflow: hidden;
}

.vorteil-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.vorteil-icon svg {
    width: 40px;
    height: 40px;
    color: white;
    position: relative;
    z-index: 1;
}

.vorteil-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.4;
}

.vorteil-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: #cccccc;
    margin: 0;
}

/* Responsive Design für Vorteile */
@media (max-width: 768px) {
    .vorteile-section {
        padding: 60px 0;
    }
    
    .vorteile-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .vorteile-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 100%;
    }
    
    .vorteil-card {
        padding: 30px 25px;
    }
    
    .vorteil-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 25px;
    }
    
    .vorteil-icon svg {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .vorteile-section {
        padding: 40px 0;
    }
    
    .vorteile-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }
    
    .vorteile-grid {
        gap: 25px;
    }
    
    .vorteil-card {
        padding: 25px 20px;
    }
    
    .vorteil-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .vorteil-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .vorteil-card h3 {
        font-size: 1rem;
    }
    
    .vorteil-card p {
        font-size: 0.95rem;
    }
}

/* Ablauf Section Styles */
.ablauf-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    position: relative;
}

.ablauf-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../assets/hintergrund_muster.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    pointer-events: none;
}

.ablauf-section .container {
    position: relative;
    z-index: 2;
}

.ablauf-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 80px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Timeline Styles */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #2B9184, #1F7A6F);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 80px;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.timeline-item:nth-child(odd) {
    animation: slideInFromLeft 0.8s ease forwards;
}

.timeline-item:nth-child(even) {
    animation: slideInFromRight 0.8s ease forwards;
}

.timeline-item:nth-child(odd) {
    padding-right: 50%;
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: 50%;
    text-align: left;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 40px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 40px;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2B9184, #1F7A6F);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(43, 145, 132, 0.3);
    border: 4px solid white;
    z-index: 2;
    transition: all 0.3s ease;
}

.timeline-marker:hover {
    transform: translateX(-50%) scale(1.1);
    box-shadow: 0 12px 40px rgba(43, 145, 132, 0.4);
}

.marker-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 30px;
    height: 30px;
    background: #2a2a2a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid white;
}

.marker-icon {
    width: 40px;
    height: 40px;
    color: white;
}

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

.timeline-content {
    background: white;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(43, 145, 132, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 0;
    height: 0;
    border-style: solid;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    right: -15px;
    border-width: 15px 0 15px 15px;
    border-color: transparent transparent transparent white;
}

.timeline-item:nth-child(even) .timeline-content::before {
    left: -15px;
    border-width: 15px 15px 15px 0;
    border-color: transparent white transparent transparent;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.15);
    border-color: rgba(43, 145, 132, 0.3);
}

.timeline-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.timeline-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: #4a4a4a;
    margin: 0;
}

/* Animation Keyframes */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px) translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

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

/* Staggered Animation */
.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.3s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-item:nth-child(4) { animation-delay: 0.7s; }

/* Responsive Design für Ablauf */
@media (max-width: 768px) {
    .ablauf-section {
        padding: 50px 0;
    }
    
    .ablauf-title {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .timeline::before {
        left: 25px;
    }
    
    .timeline-item {
        padding-left: 70px !important;
        padding-right: 0 !important;
        text-align: left !important;
        margin-bottom: 50px;
    }
    
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    
    .timeline-marker {
        left: 25px;
        transform: none;
        width: 70px;
        height: 70px;
    }
    
    .timeline-marker:hover {
        transform: scale(1.05);
    }
    
    .timeline-content::before {
        display: none;
    }
    
    .timeline-content {
        padding: 20px;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
        margin-bottom: 10px;
    }
    
    .timeline-content p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .ablauf-section {
        padding: 30px 0;
    }
    
    .ablauf-title {
        font-size: 1.6rem;
        margin-bottom: 30px;
    }
    
    .timeline {
        padding: 0 10px;
    }
    
    .timeline-item {
        padding-left: 60px !important;
        margin-bottom: 40px;
    }
    
    .timeline-marker {
        left: 15px;
        width: 50px;
        height: 50px;
    }
    
    .marker-icon {
        width: 25px;
        height: 25px;
    }
    
    .marker-number {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
        top: -3px;
        right: -3px;
    }
    
    .timeline-content {
        padding: 15px;
    }
    
    .timeline-content h3 {
        font-size: 1rem;
        margin-bottom: 8px;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-content {
        gap: 25px;
    }
    
    .video-placeholder {
        padding: 25px 15px;
        min-height: 180px;
    }
    
    .video-placeholder h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .hero-text h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }
    
    .hero-text p {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 15px;
    }

    .cta-content p {
        font-size: 1rem;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .cta-section {
        padding: 70px 0;
    }
}

@media (max-width: 480px) {
    .cta-content h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .cta-content p {
        font-size: 0.95rem;
        margin-bottom: 25px;
        line-height: 1.4;
    }

    .cta-section {
        padding: 50px 0;
    }
}

/* In Arbeit Section Styling */
.in-arbeit-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.in-arbeit-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.in-arbeit-icon {
    margin-bottom: 30px;
}

.in-arbeit-icon svg {
    width: 80px;
    height: 80px;
    color: #2B9184;
    animation: pulse 2s infinite;
}

.in-arbeit-content h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.in-arbeit-content p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.in-arbeit-progress {
    margin-top: 40px;
}

.progress-bar {
    width: 300px;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 auto 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2B9184, #4fd1c7);
    border-radius: 4px;
    animation: progress 2s ease-in-out infinite;
}

.progress-text {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes progress {
    0% {
        width: 0%;
    }
    50% {
        width: 70%;
    }
    100% {
        width: 0%;
    }
}

/* Responsive Design für In Arbeit Section */
@media (max-width: 768px) {
    .in-arbeit-section {
        padding: 60px 0;
        min-height: 50vh;
    }
    
    .in-arbeit-content h2 {
        font-size: 2rem;
    }
    
    .in-arbeit-content p {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }
    
    .progress-bar {
        width: 250px;
    }
}