/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-logo {
    width: 120px;
    height: auto;
    opacity: 0;
    animation: fadeInLogo 1.5s ease forwards;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: #90a4ae;
    color: #111;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #78909c;
}

/* ===== Top Bar ===== */
#top-bar {
    background-color: transparent;
    color: #ccc;
    font-size: 0.82rem;
    padding: 8px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1100;
    transition: background-color 0.3s ease;
}

#top-bar.scrolled {
    background-color: #111;
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-contact {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-contact a,
.top-bar-contact span {
    color: #ccc;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.top-bar-contact a:hover {
    color: #90a4ae;
}

.top-bar-contact i {
    margin-right: 5px;
    color: #90a4ae;
}

.top-bar-brands {
    display: flex;
    gap: 10px;
}

.brand-btn {
    display: inline-block;
    padding: 4px 14px;
    border: 1px solid #90a4ae;
    border-radius: 20px;
    color: #90a4ae;
    font-size: 0.78rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.brand-btn:hover {
    background-color: #90a4ae;
    color: #1a1a2e;
}

/* ===== Header & Navbar ===== */
#header {
    position: fixed;
    top: 38px;
    left: 0;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
    z-index: 1000;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

#header.scrolled {
    background-color: #111;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: 1px;
}

.logo-light {
    font-weight: 300;
}

.logo-bold {
    font-weight: 800;
}

#header.scrolled .logo-text {
    color: #fff;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    transition: color 0.3s ease;
    position: relative;
}

#header.scrolled .nav-links a {
    color: #ccc;
}

#header.scrolled .nav-links a:hover {
    color: #90a4ae;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #90a4ae;
    transition: width 0.3s ease;
}

#header.scrolled .nav-links a::after {
    background-color: #90a4ae;
}

.nav-links a:hover {
    color: #90a4ae;
}

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

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

#header.scrolled .hamburger span {
    background-color: #ccc;
}

/* ===== Hero Section ===== */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 8%;
    position: relative;
    overflow: hidden;
    background: #0a0a0a url('../assets/images/1background.jpg') center center / cover no-repeat;
}

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

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #90a4ae;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 8rem;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -3px;
    margin-bottom: 30px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.hero-desc {
    font-size: 1.15rem;
    margin-bottom: 40px;
    opacity: 0.8;
    max-width: 550px;
    line-height: 1.7;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    padding: 14px 35px;
    font-size: 0.95rem;
    letter-spacing: 1px;
    border: 2px solid #90a4ae;
    background: transparent;
    color: #fff;
    border-radius: 0;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #90a4ae;
    color: #111;
}

.hero-btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.hero-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.hero-btn:hover i {
    transform: translateX(5px);
}

/* ===== About / Was wir tun Section ===== */
.about {
    padding: 100px 0;
    background-color: #fff;
}

.about-header {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #90a4ae;
    margin-bottom: 15px;
}

.about-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-lead {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 70px;
}

.about-card {
    padding: 35px 30px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.about-card:hover {
    border-color: #90a4ae;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

.about-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: #90a4ae;
    transition: all 0.3s ease;
}

.about-card:hover .about-icon {
    background-color: #90a4ae;
    color: #fff;
}

.about-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 12px;
}

.about-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ===== Section Header (Shared) ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-size: 2.4rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-lead {
    font-size: 1.05rem;
    color: #666;
    line-height: 1.8;
}

/* ===== Brands Section ===== */
.brands-section {
    padding: 100px 0;
    background-color: #f5f5f5;
}

.brand-box {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
}

.brand-box-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: right center;
    transition: transform 0.6s ease;
}

.brand-box:hover .brand-box-bg {
    transform: scale(1.05);
}

.brand-box-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.78);
    transition: background 0.3s ease;
}

.brand-box:hover .brand-box-overlay {
    background: rgba(0, 0, 0, 0.85);
}

.brand-box-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 50px;
}

.brand-box-logo {
    height: 60px;
    width: auto;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.brand-box-content h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.brand-box-content p {
    font-size: 1rem;
    line-height: 1.8;
    opacity: 0.85;
    max-width: 600px;
}

.brand-box-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.brand-box-tags span {
    padding: 5px 14px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

.brand-box-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 25px;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 2px solid #90a4ae;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.brand-box-btn:hover {
    color: #90a4ae;
}

.brand-box-btn i {
    transition: transform 0.3s ease;
}

.brand-box-btn:hover i {
    transform: translateX(5px);
}

/* Large box */
.brand-box-large {
    height: 450px;
    margin-bottom: 20px;
}

/* Small boxes row */
.brand-boxes-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.brand-box-small {
    height: 350px;
}

.brand-box-small .brand-box-content {
    padding: 40px;
}

.brand-box-small .brand-box-content h3 {
    font-size: 1.6rem;
}

/* Video background for brand box */
.brand-box-video {
    position: relative;
}

.brand-box-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transition: transform 0.6s ease;
}

.brand-box-video:hover .brand-box-video-bg {
    transform: scale(1.05);
}

.brand-box-small .brand-box-content p {
    font-size: 0.92rem;
}

@media (max-width: 768px) {
    .brand-boxes-row {
        grid-template-columns: 1fr;
    }

    .brand-box-large {
        height: 400px;
    }

    .brand-box-small {
        height: 350px;
    }

    .brand-box-content {
        padding: 30px;
    }

    .brand-box-content h3 {
        font-size: 1.5rem;
    }
}

/* ===== Process Section ===== */
.process {
    padding: 100px 0;
    background-color: #0a0a0a;
    color: #fff;
}

.process .section-header h2 {
    color: #fff;
}

.process .section-lead {
    color: #888;
}

.process .section-tag {
    color: #90a4ae;
}

.process-timeline {
    display: flex;
    gap: 0;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #333, transparent);
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: #90a4ae;
    margin: 0 auto 25px;
    background-color: #0a0a0a;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.process-step:hover .step-number {
    border-color: #90a4ae;
    background-color: #90a4ae;
    color: #0a0a0a;
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
}

.process-step p {
    font-size: 0.9rem;
    color: #777;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .process-timeline {
        flex-direction: column;
        gap: 40px;
    }
    .process-timeline::before {
        top: 0;
        bottom: 0;
        left: 50%;
        right: auto;
        width: 1px;
        height: 100%;
    }
}

/* ===== Contact Section ===== */
.contact {
    padding: 100px 0;
    background-color: #fff;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 15px;
    line-height: 1.3;
}

.contact-info > p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 35px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.contact-detail-item i {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #90a4ae;
    flex-shrink: 0;
    font-size: 0.9rem;
}

.contact-detail-item strong {
    display: block;
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 3px;
}

.contact-detail-item p {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.contact-detail-item a {
    color: #666;
    transition: color 0.3s ease;
}

.contact-detail-item a:hover {
    color: #90a4ae;
}

.contact-form-wrapper {
    background: #f9f9f9;
    padding: 40px;
    border-radius: 10px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

#contact-form input,
#contact-form textarea,
#contact-form select {
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: inherit;
    background: #fff;
    transition: border-color 0.3s ease;
    color: #333;
}

#contact-form input:focus,
#contact-form textarea:focus,
#contact-form select:focus {
    outline: none;
    border-color: #90a4ae;
}

.contact-btn {
    align-self: flex-start;
    padding: 14px 35px;
    background-color: #111;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: #90a4ae;
    color: #111;
}

.contact-btn i {
    margin-left: 8px;
}

@media (max-width: 768px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .contact-form-wrapper {
        padding: 25px;
    }
}

/* ===== Footer ===== */
#footer {
    background-color: #0a0a0a;
    color: #aaa;
}

.footer-top {
    padding: 70px 0 40px;
    border-bottom: 1px solid #1a1a1a;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo span {
    font-size: 1.2rem;
    color: #fff;
}

.footer-col > p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #777;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #777;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    border-color: #90a4ae;
    color: #90a4ae;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul li a {
    color: #777;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: #90a4ae;
}

.footer-contact li {
    font-size: 0.9rem;
    color: #777;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact li i {
    color: #90a4ae;
    width: 16px;
    text-align: center;
}

.footer-contact li a {
    color: #777;
    transition: color 0.3s ease;
}

.footer-contact li a:hover {
    color: #90a4ae;
}

.footer-bottom {
    padding: 25px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #555;
}

.footer-bottom .fa-heart {
    color: #90a4ae;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ===== Responsive ===== */

/* ===== Legal Pages ===== */
.legal-page {
    padding: 160px 0 80px;
    background: #fff;
    min-height: 60vh;
}

.legal-page h1 {
    font-size: 2.6rem;
    font-weight: 800;
    color: #111;
    margin-bottom: 30px;
    border-bottom: 3px solid #90a4ae;
    padding-bottom: 15px;
    display: inline-block;
}

.legal-page h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
    margin-top: 40px;
    margin-bottom: 15px;
}

.legal-page h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    margin-top: 30px;
    margin-bottom: 12px;
}

.legal-page h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #444;
    margin-top: 25px;
    margin-bottom: 8px;
}

.legal-page p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 12px;
}

.legal-page a {
    color: #78909c;
    text-decoration: underline;
}

.legal-page a:hover {
    color: #546e7a;
}

.legal-list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 15px;
}

.legal-list li {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
    margin-bottom: 5px;
}

.legal-list ul {
    list-style: circle;
    padding-left: 25px;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .legal-page {
        padding: 180px 0 60px;
    }

    .legal-page h1 {
        font-size: 2rem;
    }
}

/* ===== Responsive General ===== */
@media (max-width: 1024px) {
    .top-bar-inner {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .top-bar-contact {
        justify-content: center;
    }

    .top-bar-brands {
        justify-content: center;
    }

    #header {
        top: 70px;
    }

    .hero {
        padding-top: 150px;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .top-bar-contact {
        flex-direction: column;
        gap: 5px;
    }

    .top-bar-brands {
        flex-wrap: wrap;
    }

    #header {
        top: 110px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
    }

    .nav-links.active {
        display: flex;
    }

    #header.scrolled .nav-links {
        background-color: #fff;
    }

    #header.scrolled .nav-links a {
        color: #333;
    }

    .hero-title {
        font-size: 4rem;
    }

    .hero-content p {
        font-size: 1rem;
    }
}
