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

html {
    scroll-behavior: smooth;
    width: 100%;
    min-width: 0;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

html, body {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
    position: relative;
    background-color: #000;
    width: 100%;
    min-width: 0;
    max-width: 100vw;
}

/* Main Content – volle Breite auf Mobilgeräten, initial ausgeblendet (Loader) */
.main-content {
    display: none;
    width: 100%;
    max-width: 100vw;
    min-width: 0;
    overflow-x: hidden;
}

/* Logo Animation Screen */
.logo-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.logo-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.logo-container {
    position: relative;
    width: 80vw;
    max-width: 800px;
    height: 40vw;
    max-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Logo Image */
.logo-image {
    width: 80vw;
    max-width: 800px;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

/* Animation: Logo wird zusammengebaut - Reveal Effekt */
.logo-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 3;
    animation: revealLogo 1.2s ease-out forwards;
}

.logo-piece {
    position: absolute;
    background: #ffeb3b;
    z-index: 1;
}

/* Teile, die das Logo zusammenbauen */
.piece-1 {
    width: 80px;
    height: 20px;
    top: 20%;
    left: 10%;
    animation: slideInLeft 0.5s ease-out;
    opacity: 0.3;
}

.piece-2 {
    width: 60px;
    height: 20px;
    top: 30%;
    right: 15%;
    animation: slideInRight 0.5s ease-out 0.2s;
    animation-fill-mode: both;
    opacity: 0.3;
}

.piece-3 {
    width: 70px;
    height: 20px;
    bottom: 30%;
    left: 20%;
    animation: slideInLeft 0.5s ease-out 0.4s;
    animation-fill-mode: both;
    opacity: 0.3;
}

.piece-4 {
    width: 90px;
    height: 20px;
    bottom: 20%;
    right: 10%;
    animation: slideInRight 0.5s ease-out 0.6s;
    animation-fill-mode: both;
    opacity: 0.3;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-150px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 0.3;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(150px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 0.3;
    }
}

@keyframes revealLogo {
    0% {
        clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
    }
    25% {
        clip-path: polygon(0 0, 25% 0, 25% 100%, 0 100%);
    }
    50% {
        clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    }
    75% {
        clip-path: polygon(0 0, 75% 0, 75% 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 0;
    }
}

@keyframes fadeInLogo {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.main-content.show {
    display: block;
    animation: fadeInContent 0.8s ease-in forwards;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease, box-shadow 0.3s ease;
    opacity: 1;
    pointer-events: all;
    visibility: visible;
    position: sticky;
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
    opacity: 0.9;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 6px;
}

.nav-menu li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: scale(0.9);
}

.nav-menu li a:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-menu li a:hover {
    color: white;
    transform: translateY(-2px);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu li a:hover::after {
    width: 80%;
}

.nav-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-link:hover::before {
    opacity: 1;
}

.nav-link:hover {
    color: white;
    transform: translateY(-2px);
}

.nav-button {
    background: white;
    color: #000;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.nav-button:hover::before {
    width: 300px;
    height: 300px;
}

.nav-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

.nav-button span {
    position: relative;
    z-index: 1;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
    padding-top: 80px;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 1;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 2rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    font-weight: 400;
}


.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease, opacity 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-primary {
    background: white;
    color: #000;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.cta-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #333;
}

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

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

/* Brands Slideshow */
.brands-section {
    padding: 4rem 2rem;
    background: #000;
    overflow: visible;
    position: relative;
    z-index: 10;
}

.brands-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    overflow: visible;
}

.brands-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: white;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.brands-slider {
    overflow: visible !important;
    position: relative;
    width: 100%;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    z-index: 10;
}

.brands-track {
    display: flex;
    gap: 4rem;
    animation: scroll 30s linear infinite;
    width: fit-content;
    position: relative;
    z-index: 10;
    padding: 20px 0;
}

.brand-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    height: 120px;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 10;
}

.brand-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    z-index: 1100 !important;
}

.brand-logo {
    width: 140px;
    height: 80px;
    object-fit: contain;
    object-position: center;
    opacity: 0.9;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.brand-item:hover .brand-logo {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.brands-slider:hover .brands-track {
    animation-play-state: paused;
}

/* Showcase Gallery */
.showcase-section {
    padding: 4rem 2rem;
    background: #000;
    position: relative;
    padding-left: max(2rem, env(safe-area-inset-left));
    padding-right: max(2rem, env(safe-area-inset-right));
}

.showcase-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    grid-auto-rows: 280px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    cursor: pointer;
    background: #111;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.05s; }
.gallery-item:nth-child(2) { animation-delay: 0.1s; }
.gallery-item:nth-child(3) { animation-delay: 0.15s; }
.gallery-item:nth-child(4) { animation-delay: 0.2s; }
.gallery-item:nth-child(5) { animation-delay: 0.25s; }
.gallery-item:nth-child(6) { animation-delay: 0.3s; }
.gallery-item:nth-child(7) { animation-delay: 0.35s; }

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

.gallery-item-large {
    grid-column: 1;
    grid-row: 1 / 3;
}

.gallery-item-wide {
    grid-column: 1 / -1;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    transition: background 0.3s ease;
    color: white;
    z-index: 2;
}

.gallery-item:hover .gallery-overlay {
    background: rgba(0, 0, 0, 0.4);
}

.gallery-overlay h3 {
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
    font-weight: 500;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease 0.1s;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.gallery-overlay p {
    font-size: 0.75rem;
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease 0.15s;
    opacity: 0.7;
}

.gallery-item:hover .gallery-overlay h3,
.gallery-item:hover .gallery-overlay p {
    transform: translateY(0);
    opacity: 1;
}

/* Minimalistischer Border-Effekt */
.gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0);
    transition: border-color 0.3s ease;
    pointer-events: none;
    z-index: 3;
}

.gallery-item:hover::after {
    border-color: rgba(255, 255, 255, 0.15);
}

/* Touch-Geräte: Overlay-Text auch ohne Hover sichtbar */
@media (hover: none) and (pointer: coarse) {
    .gallery-overlay {
        background: rgba(0, 0, 0, 0.35);
    }

    .gallery-overlay h3,
    .gallery-overlay p {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Über uns Section */
.about-section {
    padding: 6rem 2rem;
    background: #000;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-visual {
    position: relative;
    height: 600px;
    z-index: 1;
}

.about-image-grid {
    position: relative;
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1rem;
    z-index: 1;
}

.about-image-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    transition: transform 0.4s ease, z-index 0.4s ease;
    z-index: 1;
}

.about-image-item:hover {
    transform: scale(1.1);
    z-index: 100;
}

.about-image-item.item-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
    transform: rotate(-5deg);
}

.about-image-item.item-1 .about-img {
    object-position: center 35%;
}

.about-image-item.item-4 .about-img {
    object-position: center 25%;
}

.about-image-item.item-2 {
    grid-column: 3 / 4;
    grid-row: 1 / 3;
    transform: rotate(3deg);
}

.about-image-item.item-3 {
    grid-column: 1 / 2;
    grid-row: 2 / 4;
    transform: rotate(-3deg);
}

.about-image-item.item-4 {
    grid-column: 2 / 4;
    grid-row: 3 / 4;
    transform: rotate(5deg);
}

.about-image-item.item-5 {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    transform: rotate(-2deg);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.about-image-item:hover .about-img {
    transform: scale(1.1);
}

.about-content {
    color: white;
}

.about-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.about-lead {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.4;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.8;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.about-feature h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.about-feature p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
}

/* Logo Banner */
.logo-banner {
    background: #fff;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-banner-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-banner-img {
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Kontaktformular Section */
.contact-section {
    padding: 6rem 2rem;
    background: #000;
    color: white;
}

.contact-container {
    max-width: 900px;
    margin: 0 auto;
}

.contact-content {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.contact-description {
    font-size: 1.1rem;
    opacity: 0.8;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.form-group input,
.form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    color: white;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-submit {
    background: white;
    color: #000;
    border: none;
    padding: 1.2rem 3rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    align-self: center;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
    background: #f0f0f0;
}

.contact-submit:active {
    transform: translateY(-1px);
}

/* Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: scale(0.8) translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-icon {
    margin-bottom: 1.5rem;
    animation: checkmark 0.6s ease;
}

@keyframes checkmark {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.modal-message {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-close {
    background: #000;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.modal-close:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.modal-close:active {
    transform: translateY(0);
}

/* Footer */
.main-footer {
    background: #000;
    color: white;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffeb3b;
    letter-spacing: 0.05em;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.8;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.9;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
    opacity: 0.7;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-links li a::before {
    content: '→';
    position: absolute;
    left: -20px;
    opacity: 0;
    transition: all 0.3s ease;
}

.footer-links li a:hover {
    opacity: 1;
    padding-left: 20px;
    color: #ffeb3b;
}

.footer-links li a:hover::before {
    opacity: 1;
    left: 0;
}

.footer-contact {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-contact li {
    font-size: 0.95rem;
    opacity: 0.7;
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.6;
    margin: 0;
}

.footer-credit {
    font-size: 0.9rem;
    opacity: 0.6;
    margin: 0;
}

.footer-credit .footer-wowobot {
    color: #02aee6;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.2s ease;
}

.footer-credit .footer-wowobot:hover {
    opacity: 0.9;
    text-decoration: underline;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

/* Legal / Subpages */
.legal-page {
    min-height: 100vh;
    background: #000;
    padding-top: 80px;
}

.legal-page-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
    color: white;
}

.legal-page-content h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffeb3b;
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.legal-page-content h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.95;
    color: #fff;
}

.legal-page-content p,
.legal-page-content li {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.85;
    margin-bottom: 0.75rem;
    color: #fff;
}

.legal-page-content ul {
    margin: 0.5rem 0 1rem;
    padding-left: 1.5rem;
}

.legal-page-content a {
    color: #ffeb3b;
    text-decoration: none;
}

.legal-page-content a:hover {
    text-decoration: underline;
}

.legal-page-content .back-link {
    display: inline-block;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.legal-page-content .back-link:hover {
    color: #ffeb3b;
}

@media (max-width: 1024px) {
    .showcase-section {
        padding: 3rem 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 260px;
        gap: 0.75rem;
    }

    .gallery-item-large {
        grid-column: 1;
        grid-row: 1 / 3;
    }

    .gallery-item-wide {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 1rem;
    }

    .brands-section {
        padding: 3rem 1rem;
    }

    .brands-title {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .brand-item {
        width: 150px;
        height: 90px;
        padding: 1rem;
    }

    .brands-track {
        gap: 2rem;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-visual {
        height: 400px;
    }

    .about-title {
        font-size: 2.5rem;
    }

    .about-lead {
        font-size: 1.4rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .contact-title {
        font-size: 2rem;
    }

    .contact-subtitle {
        font-size: 1.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .showcase-section {
        padding: 2.5rem 1rem;
    }

    .showcase-title {
        font-size: 2rem;
    }

    .showcase-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 240px;
        gap: 0.75rem;
    }

    .gallery-item-large,
    .gallery-item-wide {
        grid-column: 1;
        grid-row: auto;
    }

    .gallery-overlay {
        padding: 1rem;
    }

    .gallery-overlay h3 {
        font-size: 0.8rem;
    }

    .gallery-overlay p {
        font-size: 0.7rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.95);
        width: 100%;
        text-align: center;
        transition: left 0.3s ease;
        padding: 2rem 0;
        gap: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-buttons {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
    }

    .logo-container {
        width: 90vw;
        max-width: 600px;
        height: 45vw;
        max-height: 300px;
    }

    .logo-image {
        width: 90vw;
        max-width: 600px;
        max-height: 300px;
    }
}

/* Mobile: Volle Viewport-Breite erzwingen */
@media (max-width: 768px) {
    .main-content {
        width: 100vw;
        max-width: 100%;
        box-sizing: border-box;
    }

    .nav-container,
    .showcase-container,
    .brands-container,
    .about-container,
    .contact-container,
    .footer-container {
        max-width: 100%;
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .hero,
    .brands-section,
    .about-section,
    .contact-section {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }
}

@media (max-width: 480px) {
    .showcase-section {
        padding: 2rem 0.75rem;
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
    }

    .gallery-grid {
        grid-auto-rows: 200px;
        gap: 0.5rem;
    }

    .gallery-overlay {
        padding: 0.75rem;
    }

    .gallery-overlay h3 {
        font-size: 0.75rem;
    }

    .gallery-overlay p {
        font-size: 0.65rem;
    }

    .logo-container {
        width: 95vw;
        height: 47.5vw;
    }

    .logo-image {
        width: 95vw;
        max-height: 47.5vw;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .main-footer {
        padding: 3rem 1rem 2rem;
    }
}

