:root {
    --primary: #ff4d5a;
    --secondary: #00c1b5;
    --dark: #121212;
    --light: #f8f9fa;
    --accent: #ffd166;
    --transition: all 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Header Styles */
header img {
    height: 100px;
    width: auto;
    display: block;
}

header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 1.5rem 5%;
    z-index: 1000;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.claim {
    font-size: 0.9rem;
    color: var(--accent, #ffd166);
    letter-spacing: 1px;
    font-weight: 300;
    margin-top: 5px;
    white-space: nowrap;
}




/* ================================================ */
/* DIMENSION-SECTION */
/* ================================================ */
.dimension-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(255,77,90,0.05) 0%, rgba(0,193,181,0.05) 100%);
    position: relative;
    overflow: hidden;
}

.dimension-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(255,215,0,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.dimension-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 40px;
    background: rgba(255,255,255,0.02);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,215,0,0.2);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.dimension-title {
    font-size: 2.2rem;
    margin-bottom: 30px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.dimension-intro {
    font-size: 1.4rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.9);
    margin-bottom: 40px;
    font-weight: 300;
    font-style: italic;
}

.dimension-core {
    margin: 40px 0;
    padding: 30px;
    background: rgba(0,0,0,0.3);
    border-radius: 20px;
    border-left: 4px solid var(--accent);
    border-right: 4px solid var(--accent);
}

.accent-text {
    display: block;
    font-size: 1.3rem;
    color: var(--accent);
    font-weight: 500;
    margin-bottom: 10px;
}

.highlight-text {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(255,215,0,0.3);
}

.dimension-list {
    display: block;
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    word-spacing: 15px;
    font-weight: 400;
}

.dimension-closing {
    font-size: 1.5rem;
    line-height: 1.5;
    color: white;
    margin-top: 30px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .dimension-section {
        padding: 50px 0;
    }
    
    .dimension-box {
        padding: 20px;
    }
    
    .dimension-title {
        font-size: 1.8rem;
    }
    
    .dimension-intro {
        font-size: 1.2rem;
    }
    
    .highlight-text {
        font-size: 1.4rem;
    }
    
    .dimension-list {
        font-size: 1.1rem;
        word-spacing: 8px;
    }
    
    .dimension-closing {
        font-size: 1.2rem;
    }
}




@media (max-width: 768px) {
    .claim {
        font-size: 0.7rem;
        white-space: normal;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    header img {
        height: 70px;
    }
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    color: var(--light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition);
}

nav ul li a:hover::after {
    width: 100%;
}

/* Claim Section */
.claim-section {
    position: relative;
    padding: 8rem 10%;
    color: white;
    text-align: center;
    z-index: 1;
    background: rgba(0, 0, 0, 0.6);
}

.claim-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.claim-content p {
    color: #e0e0e0;
    margin-bottom: 2rem;
}

/* 360° Button Styles */
.immersive-btn {
    position: relative;
    padding: 15px 40px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    overflow: hidden;
    z-index: 10;
    box-shadow: 0 0 20px rgba(0, 193, 181, 0.5);
    transition: var(--transition);
    margin-top: 1rem;
}

#electricCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.immersive-btn.active #electricCanvas {
    opacity: 1;
}

/* 360° Viewer */
.viewer-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.viewer-container iframe {
    width: 90%;
    height: 90%;
    border: 2px solid var(--accent);
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 1001;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 90%;
    text-align: center;
    padding: 2rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
    background: linear-gradient(45deg, var(--light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: none;
}

.hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    color: var(--dark);
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(255, 77, 90, 0.3);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 77, 90, 0.4);
}

/* Sections */
.section {
    padding: 8rem 10%;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    perspective: 2000px;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    height: 400px;
    perspective: 1200px;
    position: relative;
}

.card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 1s ease;
    border-radius: 16px;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
}

.card-front {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    padding: 15px;
}

.card-front img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-back {
    transform: rotateY(180deg);
    background: white;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #333;
}

@keyframes flipAnimation {
    0%, 40% { transform: rotateY(0); }
    45%, 50% { transform: rotateY(180deg); }
    55%, 100% { transform: rotateY(180deg); }
}

.service-card .card-inner {
    animation: flipAnimation 20s infinite ease-in-out;
    animation-delay: calc(var(--animation-delay) * 1s);
}

.service-card:hover .card-inner {
    animation-play-state: paused;
    transform: rotateY(180deg) !important;
}

.service-card.clicked .card-inner {
    animation: none;
    transform: rotateY(0);
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.puzzle-question {
    margin-bottom: 1.5rem;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.5);
    padding: 3rem 10%;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
}

.copyright {
    color: rgba(255, 255, 255, 0.6);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    padding: 1rem 2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-banner.show {
    opacity: 1;
    visibility: visible;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
}

#acceptCookies {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
}


/* === NEUE STYLES FÜR 360° AUSWAHL === */
.experience-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin: 30px 0 20px;
}

.selector-btn {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,215,0,0.3);
    color: white;
    padding: 12px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.selector-btn:hover {
    background: rgba(255,215,0,0.2);
    border-color: gold;
    transform: translateY(-2px);
}

.selector-btn.active {
    background: var(--accent);  /* statt gold */
    color: #000;
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(255, 209, 102, 0.5);  /* --accent als RGB */
}


.scene-selection {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 20px 0;
    min-height: 60px;
}

.scene-btn {
    background: rgba(0,0,0,0.6);
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.scene-btn:hover {
    background: rgba(0,0,0,0.8);
    border-color: gold;
    transform: scale(1.05);
}

.scene-btn.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
}

/* === ENDE NEUE STYLES === */



/* Responsive Anpassungen */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
        flex-direction: column;
        gap: 10px;
    }
    
    nav ul li {
        margin-left: 1rem;
    }
    
    .hero h1, .claim-content h1 {
        font-size: 2.5rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
    
    .service-card {
        height: 350px;
    }
    
    .section, .claim-section {
        padding: 5rem 5%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* Neue Stile für die 360° Auswahl */
.experience-selection {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1001;
    display: none;
    justify-content: center;
    align-items: center;
}

.selection-content {
    background: rgba(30, 30, 40, 0.95);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    width: 90%;
    border: 1px solid var(--secondary);
}

.experience-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 2rem 0;
}

.experience-option {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.experience-option:hover {
    background: rgba(0, 193, 181, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 193, 181, 0.4);
}

.experience-option span {
    position: relative;
    z-index: 2;
}

/* Stile für rechtliche Seiten */
.legal-section {
    padding: 5rem 10%;
    min-height: 70vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.legal-info h2 {
    color: var(--secondary);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-info p {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 2rem;
    }
    
    .legal-section {
        padding: 3rem 5%;
    }
}