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

/* Sofia Pro Regular Schriftart einbinden */
@font-face {
    font-family: 'Sofia Pro';
    src: url('/fonts/sofia-pro-regular.woff2') format('woff2'),
         url('/fonts/sofia-pro-regular.woff') format('woff');
    font-weight: 400; /* Regular */
    font-style: normal;
}

/* Sofia Pro Semi Bold Schriftart einbinden */
@font-face {
    font-family: 'Sofia Pro';
    src: url('/fonts/sofia-pro-semibold.woff2') format('woff2'),
         url('/fonts/sofia-pro-semibold.woff') format('woff');
    font-weight: 600; /* Semi Bold */
    font-style: normal;
}

/* Sofia Pro Black Schriftart einbinden */
@font-face {
    font-family: 'Sofia Pro';
    src: url('/fonts/sofia-pro-black.woff2') format('woff2'),
         url('/fonts/sofia-pro-black.woff') format('woff');
    font-weight: 900; /* Black */
    font-style: normal;
}

/* SEO Hidden Content */
.seo-hidden {
    display: none; /* Hidden from users, crawlable by search engines */
}

body {
    font-family: 'Sofia Pro', sans-serif;
    background-color: #f0f0f0;
    cursor: none; /* Standardcursor ausblenden */
}

/* Benutzerdefinierter Cursor */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    background: #ff6200; /* Orange */
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    opacity: 1;
    transform: translate(-50%, -50%); /* Zentriert den Cursor am Mauszeiger */
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background: transparent;
    z-index: 1000;
    transition: background 0.3s ease;
}

header.scrolled {
    background: #0f1a2e; /* Dunkelblau nach dem Scrollen */
}

/* Dunkelblauer Header für Impressum und Datenschutz */
body:has(.impressum-section) header {
    background: #0f1a2e; /* Dunkelblau für Impressum und Datenschutz */
}

.logo .header-logo {
    width: 100px;
    height: auto;
}

.contact-btn {
    background: #ff6200;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.contact-btn:hover {
    background: #ffffff;
    color: #ff6200;
}

/* Hero Section */
.hero-section {
    background: #0f1a2e;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: clamp(48px, 7vw, 72px);
    color: #ffffff;
    margin-bottom: 5px; /* Reduzierter Abstand */
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.animated-words {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    color: #ff6200;
    display: block;
    font-size: clamp(48px, 8vw, 72px);
    text-align: center;
    margin: 0;
    text-transform: lowercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.animate-word-new {
    animation: bounceInUp 0.8s ease-in-out forwards;
}

@keyframes bounceInUp {
    0% {
        opacity: 0;
        transform: translateY(100px);
    }
    60% {
        opacity: 1;
        transform: translateY(-20px);
    }
    80% {
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-contact-btn {
    background: #ff6200;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-family: 'Sofia Pro', sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 1.5vw, 16px);
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    margin-top: 30px; /* Button weiter nach unten */
}

.hero-contact-btn:hover {
    background: #66b3ff;
    color: #ffffff;
}

/* Clients Section */
.clients-section {
    background: #0f1a2e;
    padding: 40px 50px;
    text-align: center;
    overflow: hidden;
}

.clients-marquee {
    width: 100%;
    overflow: hidden;
    display: flex;
}

.marquee-content {
    display: flex;
    animation: marquee 24s linear infinite;
    white-space: nowrap;
    width: fit-content;
}

.client-logo {
    width: 80px;
    height: auto;
    margin: 0 20px;
    filter: grayscale(100%) brightness(2);
    transition: filter 0.3s ease;
    flex-shrink: 0;
}

.client-logo:hover {
    filter: none;
}

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

/* Survey Section */
.survey-section {
    background: #0f1a2e;
    padding: 80px 50px;
    text-align: center;
}

.survey-section h2 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.survey-subheading {
    font-size: clamp(16px, 2vw, 18px);
    color: #ffffff;
    margin-bottom: 30px;
}

.survey-content {
    max-width: 800px;
    margin: 40px auto 0;
    background: linear-gradient(135deg, #1e2a44 0%, #0f1a2e 100%);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(102, 179, 255, 0.2);
    height: auto;
    min-height: 200px;
    transition: max-height 0.3s ease;
}

.survey-question {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.survey-thank-you {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.survey-question.active {
    opacity: 1;
    transform: translateY(0);
}

.survey-thank-you.active {
    opacity: 1;
    transform: translateY(0);
}

.survey-question:nth-child(1) {
    overflow-y: hidden;
}

.survey-question h3 {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 900;
    color: #ff6200;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.survey-thank-you h3 {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 900;
    color: #ff6200;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.survey-thank-you p {
    font-size: clamp(14px, 1.5vw, 16px);
    color: #ffffff;
    margin-bottom: 20px;
}

.survey-question:nth-child(6) p {
    margin-bottom: 30px;
    color: #ffffff;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #66b3ff;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: 'Sofia Pro', sans-serif;
    font-size: clamp(14px, 1.5vw, 16px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    border-color: #ff6200;
    box-shadow: 0 0 8px rgba(255, 98, 0, 0.3);
    outline: none;
}

.form-group input::placeholder {
    color: transparent;
}

.form-group .form-label {
    position: absolute;
    top: 15px;
    left: 15px;
    color: #ffffff;
    font-size: clamp(14px, 1.5vw, 16px);
    pointer-events: none;
    transition: top 0.3s ease, font-size 0.3s ease, color 0.3s ease, background 0.3s ease, padding 0.3s ease;
}

.form-group input:focus ~ .form-label,
.form-group input:not(:placeholder-shown) ~ .form-label {
    top: -10px;
    left: 10px;
    font-size: clamp(10px, 1vw, 12px);
    color: #ff6200;
    background: #0f1a2e;
    padding: 0 5px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.radio-group label {
    display: flex;
    align-items: center;
    color: #ffffff;
    font-size: clamp(14px, 1.5vw, 16px);
    cursor: pointer;
    padding: 10px;
    border-radius: 10px;
    transition: background 0.3s ease;
}

.radio-group label:hover {
    background: rgba(102, 179, 255, 0.1);
}

.radio-group input[type="radio"] {
    margin-right: 10px;
    accent-color: #ff6200;
}

.survey-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.next-btn {
    background: #66b3ff;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-family: 'Sofia Pro', sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 1.5vw, 16px);
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.next-btn:hover {
    background: #ff6200;
    color: #ffffff;
    transform: scale(1.05);
}

.back-btn {
    background: transparent;
    border: 2px solid #66b3ff;
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 25px;
    font-family: 'Sofia Pro', sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 1.5vw, 16px);
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.back-btn:hover {
    background: #ff6200;
    color: #ffffff;
    border-color: #ff6200;
    transform: scale(1.05);
}

/* Services Section */
.services-section {
    background: #0f1a2e;
    padding: 80px 50px;
    text-align: center;
}

.services-section h2 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.services-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.services-row {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.service-item {
    width: calc(33.33% - 20px);
    height: 300px;
    perspective: 1000px;
}

.service-flip {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.service-item:hover .service-flip {
    transform: rotateY(180deg);
}

.service-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: #ff6200;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background: #0f1a2e;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: rotateY(180deg);
    text-align: center;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-icon {
    width: 100%;
    max-width: 100px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    object-fit: contain;
    opacity: 1; /* Sicherstellen, dass Icons sichtbar sind */
}

.service-front h3 {
    font-size: clamp(20px, 2.5vw, 22px);
    font-weight: 900;
    color: #ffffff;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.service-back p {
    font-size: clamp(14px, 1.5vw, 16px);
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0 10px;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.service-item:hover .service-back p {
    opacity: 1;
}

.service-cta-btn {
    background: #ff6200;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-family: 'Sofia Pro', sans-serif;
    font-weight: 600;
    font-size: clamp(12px, 1.5vw, 14px);
    cursor: pointer;
    transition: background 0.3s ease;
}

.service-cta-btn:hover {
    background: #e55a00;
    color: #ffffff;
}

/* FAQ Section */
.faq-section {
    background: #0f1a2e;
    padding: 80px 20px;
    text-align: center;
}

.faq-card {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.faq-title {
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 30px;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-toggle {
    display: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: clamp(16px, 2vw, 18px);
    font-weight: 600;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: rgba(255, 98, 0, 0.2);
}

.faq-icon {
    width: 12px;
    height: 12px;
    border: solid #ff6200;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.faq-toggle:checked + .faq-question .faq-icon {
    transform: rotate(-135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-toggle:checked + .faq-question + .faq-answer {
    max-height: 200px;
    padding: 15px;
}

.faq-answer p {
    font-size: clamp(14px, 1.5vw, 16px);
    color: #ffffff;
    line-height: 1.6;
}

/* Slide-In Contact Formular */
.contact-form-slide {
    position: fixed;
    top: 0;
    right: -100%;
    width: 400px;
    height: 100%;
    background: #0f1a2e;
    z-index: 2000;
    padding: 40px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    transition: right 0.5s ease;
}

.contact-form-slide.active {
    right: 0;
}

.contact-form-inner {
    position: relative;
    color: #ffffff;
}

.close-btn {
    position: absolute;
    top: 10px; /* Angepasst für bessere Sichtbarkeit */
    right: 10px;
    background: none;
    border: none;
    color: #ff6200;
    font-size: clamp(20px, 2.5vw, 24px); /* Kleinere Schriftgröße */
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 2100; /* Über anderen Elementen */
    pointer-events: auto; /* Sicherstellen, dass Klicks erkannt werden */
}

.close-btn:hover {
    transform: rotate(90deg);
}

.contact-form-slide h2 {
    font-size: clamp(18px, 2.5vw, 20px);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 30px;
    text-align: left;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.contact-form-slide .form-group {
    margin-bottom: 20px;
}

.contact-form-slide .form-group input,
.contact-form-slide .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 2px solid #66b3ff;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    font-family: 'Sofia Pro', sans-serif;
    font-size: clamp(14px, 1.5vw, 16px);
    transition: border-color 0.3s ease;
}

.contact-form-slide .form-group textarea {
    height: 120px;
    resize: none;
}

.contact-form-slide .form-group input:focus,
.contact-form-slide .form-group textarea:focus {
    border-color: #ff6200;
    outline: none;
}

.contact-form-slide .form-group input::placeholder,
.contact-form-slide .form-group textarea::placeholder {
    color: transparent;
}

.contact-form-slide .form-label {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #ffffff;
    font-size: clamp(14px, 1.5vw, 16px);
    pointer-events: none;
    transition: top 0.3s ease, font-size 0.3s ease, left 0.3s ease, color 0.3s ease, background 0.3s ease, padding 0.3s ease;
}

.contact-form-slide .form-group input:focus ~ .form-label,
.contact-form-slide .form-group input:not(:placeholder-shown) ~ .form-label,
.contact-form-slide .form-group textarea:focus ~ .form-label,
.contact-form-slide .form-group textarea:not(:placeholder-shown) ~ .form-label {
    top: -10px;
    left: 5px;
    font-size: clamp(10px, 1vw, 12px);
    color: #ff6200;
    background: #0f1a2e;
    padding: 0 5px;
}

.contact-form-slide .submit-btn {
    width: 100%;
    background: #66b3ff;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-family: 'Sofia Pro', sans-serif;
    font-weight: 600;
    font-size: clamp(14px, 1.5vw, 16px);
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

.contact-form-slide .submit-btn:hover {
    background: #ffffff;
    color: #66b3ff;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0f1a2e 0%, #1e2a44 100%);
    padding: 60px 20px;
    color: #fff;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    display: block;
    object-fit: contain;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: clamp(12px, 1.5vw, 14px);
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    transition: background 0.3s ease;
}

.footer-links a:hover {
    background: #66b3ff;
    color: #0f1a2e;
}

.footer-bottom {
    margin-top: 20px;
    font-size: clamp(10px, 1.2vw, 12px);
    opacity: 0.8;
}

/* Impressum Section */
.impressum-section {
    background: #0f1a2e;
    padding: 80px 50px;
    color: #ffffff;
    min-height: 100vh;
}

.impressum-section h1 {
    font-size: clamp(28px, 5vw, 40px);
    font-weight: 900;
    color: #ff6200;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.impressum-section h2 {
    font-size: clamp(20px, 3vw, 24px);
    font-weight: 900;
    color: #ff6200;
    margin: 30px 0 15px;
}

.impressum-section p {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 20px;
}

.impressum-section ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

.impressum-section li {
    font-size: clamp(14px, 1.5vw, 16px);
    font-weight: normal;
    line-height: 1.6;
    color: #ffffff;
}

.impressum-section a {
    color: #ff6200;
    text-decoration: none;
    transition: color 0.3s ease;
}

.impressum-section a:hover {
    color: #e55a00;
}

.back-button {
    background: #ff6200;
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-family: 'Sofia Pro', sans-serif;
    font-weight: bold;
    font-size: clamp(14px, 1.5vw, 16px);
    cursor: pointer;
    transition: background 0.3s ease;
    display: block;
    margin: 40px auto;
    max-width: 200px;
    text-align: center;
}

.back-button:hover {
    background: #e55a00;
    color: #ffffff;
}

/* Mobile Ansicht */
@media (max-width: 768px) {
    .services-row {
        flex-direction: column;
        align-items: center;
    }

    .service-item {
        width: 100%;
        max-width: 100%;
    }

    .service-icon {
        max-width: 80px;
    }

    .service-flip {
        height: 250px;
    }

    /* Cursor-Effekt deaktivieren */
    body {
        cursor: auto;
    }

    .custom-cursor {
        display: none;
    }
}

@media (max-width: 480px) {
    .service-icon {
        max-width: 60px;
    }

    .service-flip {
        height: 200px;
    }
}