* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* --- Globale Styles & Reiner Schwarzer Hintergrund --- */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000000;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, .logo-text {
    font-family: 'Cinzel', serif;
}

/* --- Header & Navigation --- */
.main-header {
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(15px);
    padding: 25px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s ease;
}

.main-header.scrolled {
    padding: 15px 0;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.header-container {
    width: 90%;
    max-width: 1800px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    text-decoration: none;
    z-index: 1001;
}

/* Die Hülle dreht sich beim Hover sanft */
.logo-wrapper {
    display: inline-flex;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.brand-wrapper:hover .logo-wrapper {
    transform: rotate(360deg);
}

/* Das Logo selbst dreht sich unabhängig davon alle 15 Sekunden */
.header-logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
    animation: occasionalSpin 15s ease-in-out infinite;
}

@keyframes occasionalSpin {
    0%, 85% { transform: rotate(0deg); }
    92%, 100% { transform: rotate(360deg); }
}

.logo-text {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255,255,255,0.2);
    transition: color 0.3s ease;
}

.brand-wrapper:hover .logo-text {
    color: #afdbf5;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 40px;
}

.main-nav a {
    text-decoration: none;
    color: #cccccc;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: #afdbf5;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px #afdbf5;
}

.main-nav a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(175, 219, 245, 0.5);
}

.main-nav a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* --- Main Content --- */
main {
    padding-top: 100px;
}

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    opacity: 0;
    animation: heroFadeIn 1.5s ease-out 0.2s forwards;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 10;
    width: 100%;
}

.logo {
    max-width: 280px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.15));
    animation: floatLogo 8s ease-in-out infinite;
}

.brand-title {
    font-size: 5.5rem;
    font-weight: 900;
    letter-spacing: 15px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    background: linear-gradient(to right, #ffffff, #afdbf5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titlePulse 4s infinite alternate;
}

.brand-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 5px;
    margin-bottom: 4rem;
    color: #aaaaaa;
    text-transform: uppercase;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    border: 1px solid rgba(175, 219, 245, 0.5);
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    background: rgba(175, 219, 245, 0.05);
    backdrop-filter: blur(5px);
}

.cta-button:hover {
    background-color: #afdbf5;
    color: #000000;
    box-shadow: 0 0 30px rgba(175, 219, 245, 0.4), 0 0 60px rgba(175, 219, 245, 0.2);
    transform: translateY(-3px);
    border-color: #afdbf5;
}

.vision-section {
    padding: 120px 0;
}

.vision-container {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.vision-content {
    column-count: 2;
    column-gap: 60px;
    text-align: justify;
    color: #aaaaaa;
    font-size: 1.1rem;
    line-height: 1.8;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 80px;
    font-weight: 400;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(175, 219, 245, 0.3);
}

.products-section {
    padding: 120px 0;
    width: 90%;
    max-width: 1800px;
    margin: 0 auto;
}

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

.product-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 50px;
    border-radius: 2px;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(175,219,245,0.1) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
    border-radius: 50%;
}

.card-glow-beam {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(175,219,245,0.05), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.card-icon-placeholder {
    width: 100px;
    height: 100px;
    border: 1px solid rgba(175, 219, 245, 0.2);
    border-radius: 2px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(175, 219, 245, 0.02);
    overflow: hidden;
}

.card-logo {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.5s ease;
    filter: drop-shadow(0 0 2px rgba(175, 219, 245, 0.2));
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: rgba(175, 219, 245, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(175, 219, 245, 0.1);
}

.product-card:hover .card-glow {
    width: 300%;
    height: 300%;
}

.product-card:hover .card-glow-beam {
    left: 100%;
}

.product-card:hover .card-logo {
    transform: scale(1.15);
    filter: drop-shadow(0 0 10px rgba(175, 219, 245, 0.6));
}

.product-card h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #ffffff;
}

.product-card p {
    color: #999999;
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.7;
}

.card-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.card-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.card-link:hover {
    color: #afdbf5;
}

.card-link:hover::after {
    transform: translateX(10px);
}

/* --- Footer --- */
.main-footer {
    background-color: #010101;
    color: #aaaaaa;
    padding: 100px 0 40px 0;
    margin-top: 100px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-container {
    width: 90%;
    max-width: 1800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 80px;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 1.2rem;
}

.footer-section p, .footer-section li {
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    text-decoration: none;
    color: #888888;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: #ffffff;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 60px;
    margin-top: 80px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: #555555;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(3, 3, 3, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(175, 219, 245, 0.3);
    color: #afdbf5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

.scroll-to-top:hover {
    background: #afdbf5;
    color: #000000;
    box-shadow: 0 0 10px rgba(175, 219, 245, 0.5);
}

/* --- Animationen --- */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

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

@keyframes floatLogo {
    0% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(2deg); }
    66% { transform: translateY(10px) rotate(-2deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes titlePulse {
    0% { text-shadow: 0 0 20px rgba(175, 219, 245, 0.1); }
    100% { text-shadow: 0 0 40px rgba(175, 219, 245, 0.4), 0 0 80px rgba(175, 219, 245, 0.1); }
}


/* ========================================================================
   MEDIA QUERIES (Handy & Tablet Anpassungen)
   ACHTUNG: Immer am Ende der Datei, damit sie nicht überschrieben werden!
   ======================================================================== */

@media (max-width: 1200px) {
    .vision-content { column-count: 1; }
    .brand-title { font-size: 4rem; }
}

@media (max-width: 768px) {
    /* Hamburger Menü sichtbar machen */
    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
        background-color: #afdbf5;
    }
    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }
    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
        background-color: #afdbf5;
    }

    /* Mobile Navigation (Slide-in) */
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(1, 1, 1, 0.98);
        backdrop-filter: blur(10px);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }

    .main-nav a {
        font-size: 1.5rem;
    }
    
    /* Dynamisch skalierende Überschrift, damit sie nie über den Rand lappt */
    .brand-title { 
        font-size: 13vw; 
        letter-spacing: 2vw; 
    }
    
    .brand-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .logo { max-width: 180px; }
    
    .logo-text { font-size: 1.5rem; letter-spacing: 4px; }
    .header-logo { height: 30px; }
    .hero { height: 80vh; }
    .vision-container { width: 90%; }
    .section-title { font-size: 2rem; }

    /* Garantiert 1-spaltiges Layout auf dem Handy für die Vision */
    .vision-content {
        column-count: 1 !important;
    }

    /* Garantiert 1 Karte pro Reihe auf dem Handy */
    .product-grid { 
        grid-template-columns: 1fr; 
    }
    
    .product-card {
        padding: 30px;
    }
}