@font-face {
    font-family: 'Orbitron';
    src: url('../fonts/Orbitron-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Colors */
    --color-gray: #898483;
    --color-light-gray: #D0C7C5;
    --color-dark-blue: #140823;
    --color-red: #882C2A;
    --color-dark-gray: #3F3A39;

    /* Effects & Animation */
    --transition-speed: 0.3s;
    --blur-amount: 8px;

    /* Shadows */
    --shadow-color: 0 4px 15px rgba(0, 0, 0, 0.1);
    --white-text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);

    /* Font Settings */
    --font-primary: 'Roboto', sans-serif;
    --font-accent: 'Orbitron', sans-serif;

    /* Layout Spacing */
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --spacing-xl: 4rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50px;

    /* Container Widths */
    --container-max-width: 1350px;
    --container-narrow-width: 1000px;

    /* Glassmorphism Effects */
    --glass-background: rgba(255, 255, 255, 0.5);
    --glass-border: 1px solid rgba(255, 255, 255, 0.3);

    /* Gradients */
    --gradient-light: linear-gradient(white, var(--color-light-gray), white);
    --gradient-dark: linear-gradient(to bottom, white, var(--color-dark-blue));
    --gradient-footer: linear-gradient(to bottom, var(--color-light-gray), white);
    --gradient-contact: linear-gradient(var(--color-gray), var(--color-dark-gray));
    --gradient-hr: linear-gradient(90deg,
            rgba(255, 255, 255, 0),
            rgba(208, 199, 197, 0.7),
            rgba(255, 255, 255, 0));

    /* Button Glassmorphism Colors */
    --red-glass-gradient: linear-gradient(135deg, rgba(136, 44, 42, 0.9), rgba(106, 0, 0, 0.7));
    --blue-glass-gradient: linear-gradient(135deg, rgba(40, 10, 70, 0.9), rgba(31, 1, 57, 0.7));
    --green-glass-gradient: linear-gradient(135deg, rgba(173, 255, 47, 0.9), rgba(213, 250, 158, 0.7));
    --silver-glass-gradient: linear-gradient(135deg, rgba(232, 232, 232, 0.9), rgba(255, 255, 255, 0.7));
}

body {
    height: 100vh;
    margin: 0;
    font-family: var(--font-primary);
    overflow-x: hidden;
}

section {
    width: 100%;
    max-width: 100vw;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-md);
    box-sizing: border-box;
}

hr {
    border: none;
    height: 1px;
    background: var(--gradient-hr);
    margin: var(--spacing-lg) auto;
    width: 80%;
    max-width: var(--container-max-width);
    backdrop-filter: blur(var(--blur-amount));
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    opacity: 0.8;
    border-radius: 50%;
}

/* Header Section */
header {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    color: var(--color-dark-gray);
    padding: 1.5em;
    background: var(--glass-background);
    box-shadow: var(--shadow-color);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: var(--glass-border);
    border-bottom-right-radius: var(--radius-lg);
    border-bottom-left-radius: var(--radius-lg);
    flex-wrap: wrap;
    box-sizing: border-box;
    max-width: 100vw;
    overflow-x: hidden;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-speed) ease;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo-text p {
    margin: 0;
    font-size: clamp(1.5rem, 2vw, 1.8rem);
    font-family: var(--font-accent);
    text-align: center;
    text-shadow: var(--white-text-shadow)
}

h1 {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin: 0.1rem;
    color: var(--color-red);
    text-align: center;
    text-shadow: var(--white-text-shadow)
}

.logo-container img {
    width: clamp(80px, 10vw, 120px);
    height: auto;
    transition: transform var(--transition-speed) ease;
}


nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;

}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    flex-wrap: wrap;
    border-top: 2px solid var(--color-light-gray);
    padding: 0.25rem 0;

}

nav ul li a {
    text-decoration: none;
    color: var(--color-red);
    font-weight: 600;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    transition: all var(--transition-speed) ease-in-out;
    text-shadow: var(--white-text-shadow);
    padding: 0.25rem 0;
}

nav ul li a:hover {
    color: var(--color-red);
    opacity: 0.9;
    position: relative;
}

nav ul li a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-dark-blue);
    transform: scaleX(0);
    transform-origin: left;
    animation: line-appear 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes line-appear {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

@media (max-width: 767px) {
    .header {
        justify-content: center;
    }
}

/* Hero Section */

.hero-section {
    background: var(--gradient-light);
    margin: 10em 0;

}

.hero-wrapper {
    width: 100%;
    max-width: var(--container-max-width);
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: clamp(var(--spacing-lg), 5vw, 50px);
}

.hero-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    color: var(--color-dark-gray);
    padding: var(--spacing-lg);
    background: linear-gradient(to bottom, rgba(208, 199, 197, 0.15), rgba(255, 255, 255, 0.6));
    box-shadow: var(--shadow-color);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border-radius: var(--radius-md);
    border: var(--glass-border);
    box-sizing: border-box;
}

.service-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.hero-text ul {
    padding: 0;
    margin: auto;
}

.hero-text ul li {
    font-size: clamp(1rem, 2vw, 1.4rem);
    line-height: 1.8;
    list-style: none;
    text-shadow: var(--white-text-shadow);

}

.hero-text ul li span {
    content: "✓";
    color: rgb(173, 255, 47);
    text-shadow: 0px 1px 1px black;
    font-weight: bold;
    margin-right: 12px;
}
.phone-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: 1em;
    text-decoration: none;
}
.phone-container p {
    font-size: clamp(1.8rem, 5vw, 2rem);
    font-weight: bold;
    color: var(--color-red);
    text-shadow: var(--white-text-shadow);
}

.phone-container img {
    width: 28px !important;
    height: 28px !important;
    filter: drop-shadow(0px 1px 1px rgba(0, 0, 0, 1));
}

h2 {
    font-size: clamp(1.8rem, 5vw, 2rem);
    margin-top: 0;
    color: var(--color-red);
    text-shadow: var(--white-text-shadow);
    text-align: center;
    text-decoration: none;
}



.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-image img {
    width: clamp(300px, 90%, 600px);
    height: auto;
    transition: transform var(--transition-speed) ease;
}

.car-container {
    position: relative;
    width: clamp(300px, 90%, 600px);
    height: auto;
    animation: slideIn 1s ease-out forwards, float 3s ease-in-out infinite 1s;
    transition: transform var(--transition-speed) ease;
}

.car-container img {
    width: 100%;
    height: auto;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes slideIn {
    0% { transform: translateX(1000px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@media (max-width: 767px) {
    .hero-wrapper {
        flex-direction: column;
    }

    .hero-section {
        margin-top: 114px;
        margin-bottom: 0.5em;
    }
}

/* Leistungen Section */

h3 {
    font-size: clamp(1.5rem, 2vw, 1.8rem);
    color: var(--color-red);
    margin: 1.25rem;
    text-align: center;
    text-shadow: var(--white-text-shadow);
}

.leistungen-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: var(--container-max-width);
    margin: auto;
    gap: clamp(var(--spacing-lg), 5vw, 50px);
}

.leistungen-wrapper h2 {
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    background-color: var(--color-light-gray);
    backdrop-filter: blur(calc(var(--blur-amount) * 1.5));
    -webkit-backdrop-filter: blur(calc(var(--blur-amount) * 1.5));
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--color-red);
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    text-align: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-speed) ease;
}

.leistungen-section {
    padding-top: 0;
    padding-bottom: 6em;
    margin-top: 5em auto;
    background: var(--gradient-dark);
}

.leistungen-container1,
.leistungen-container2 {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: var(--spacing-lg);
    box-sizing: border-box;
}

.leistungen-outer {
    width: 100%;
    margin: auto;
    border-radius: var(--radius-xl);
    background: var(--glass-background);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 6px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}



.leistungen-inner {
    width: 100%;
    margin: 0 auto;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.8));
    backdrop-filter: blur(calc(var(--blur-amount) * 1.2));
    -webkit-backdrop-filter: blur(calc(var(--blur-amount) * 1.2));
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-sizing: border-box;
    padding: var(--spacing-md);
    text-align: center;
    overflow: hidden;
}

.leistungen-inner p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    color: var(--color-dark-gray);
    text-align: center;
    margin: 1.25rem;
    text-shadow: var(--white-text-shadow);
}

.leistungen-inner img {
    width: 100%;
    border-radius: var(--radius-lg);
    display: block;
    margin: 0 auto;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}


.glass {
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
    font-weight: 500;
    display: inline-block;
    transition: all var(--transition-speed) ease;
}

[class*="-glass"] {
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: var(--glass-border);
}

.red-glass {
    background: var(--red-glass-gradient);
    box-shadow: 0 5px 20px rgba(233, 47, 0, 0.2);
    color: white !important;
    text-shadow: none !important;
}

.blue-glass {
    background: var(--blue-glass-gradient);
    box-shadow: 0 5px 20px rgba(130, 2, 126, 0.2);
    color: white !important;
    text-shadow: none !important;
}

.green-glass {
    background: var(--green-glass-gradient);
    box-shadow: 0 5px 20px rgba(63, 198, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--color-dark-blue) !important;
    text-shadow: none !important;
}

.silver-glass {
    background: var(--silver-glass-gradient);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--color-dark-blue) !important;
    text-shadow: none !important;}

@media (max-width: 767px) {

    .leistungen-container1,
    .leistungen-container2 {
        flex-direction: column;
    }
}

/* Über uns Section */

.ueber-uns-section {
    background: var(--gradient-light);
    padding: var(--spacing-xl) 0;
    color: white;
    margin: 0 auto;
}


.ueber-uns-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: var(--container-max-width);
    margin: auto;
    gap: clamp(var(--spacing-lg), 5vw, 50px);
}

.ueber-uns-wrapper h2 {
    width: fit-content;
    margin: auto;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    background-color: var(--color-light-gray);
    backdrop-filter: blur(calc(var(--blur-amount) * 1.5));
    -webkit-backdrop-filter: blur(calc(var(--blur-amount) * 1.5));
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--color-red);
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    text-align: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-speed) ease;
}


.ueber-uns-text {
    width: 100%;
    text-align: center;
    padding: 0 var(--spacing-lg);
    box-sizing: border-box;
}



.ueber-uns-images {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
    margin: var(--spacing-lg) 0;
}

.image-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: var(--glass-border);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.image-left,
.image-right {
    width: 25%;
}

.image-center {
    width: 40%;
}

.image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.ueber-uns-text p {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    line-height: 1.6;
    color: var(--color-dark-gray);
    text-align: center;
    margin: 1.25rem;
    text-shadow: var(--white-text-shadow);
}

.ueber-uns-list {
    text-align: left;
    max-width: 800px;
    margin: var(--spacing-lg) auto;
    padding-left: var(--spacing-lg);
}

.ueber-uns-list li {
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.ueber-uns-list li::before {
    content: "•";
    color: rgb(173, 255, 47);
    position: absolute;
    left: 0;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
    .ueber-uns-images {
        flex-direction: column;
    }

    .image-left,
    .image-right,
    .image-center {
        width: 90%;
    }
}


/* Parallax Separator Section (disabled on iOS, iPadOs) */
.seperator {
    height: 400px;
    background-image: url('../images/m3.webp');
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    margin: 0; 
    padding: 0; 
    overflow: hidden; 
}

/* Fallback für iOS-Geräte */
@supports (-webkit-touch-callout: none) {
    .seperator {
        background-attachment: scroll;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
        will-change: transform;
    }
}

@media (max-width: 768px) {
    .seperator {
        height: 300px;
        background-size: cover;
        margin-top: 0;
        margin-bottom: 0;
    }
}


/* Kontakt Section */

.contact-section {
    background: var(--gradient-light);
    padding: var(--spacing-xl) 0;
    margin: 0 auto;
}

.contact-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--gradient-contact);
    border-radius: var(--radius-xl);
    padding: 2em;
    box-sizing: border-box;
    width: 100%;
    max-width: var(--container-max-width);
    gap: clamp(var(--spacing-lg), 5vw, 50px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    text-align: center;

}

.contact-wrapper h2 {
    width: fit-content;
    margin: auto;
    padding: 14px 28px;
    border-radius: var(--radius-xl);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    background-color: var(--color-light-gray);
    backdrop-filter: blur(calc(var(--blur-amount) * 1.5));
    -webkit-backdrop-filter: blur(calc(var(--blur-amount) * 1.5));
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: var(--color-red);
    font-size: clamp(1.8rem, 5vw, 2.2rem);
    text-align: center;
    margin-bottom: 1.5rem;
    transition: all var(--transition-speed) ease;
}

.contact-wrapper p {
    font-size: 1.5rem;

}

@media (max-width: 1366px) {

    .contact-wrapper {
        width: 90%;
    }
}

.contact-form {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.form-header {
    margin-bottom: var(--spacing-lg);
    color: white;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    color: white;
    text-align: left;
    font-size: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: var(--radius-md);
    border: var(--glass-border);
    background: rgba(255, 255, 255, 0.9);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
    border-color: var(--color-red);
}

.privacy-consent {
    display: flex;
    align-items: center;
    text-align: left;
}

.privacy-consent input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

.privacy-consent label {
    margin-bottom: 0;
}

.privacy-consent a {
    color: var(--color-light-gray);
    text-decoration: underline;
}

.submit-btn {
    background: var(--color-light-gray);
    color: var(--color-dark-gray);
    border: none;
    padding: 12px 30px;
    border-radius: var(--radius-full);
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-speed) ease;
    font-weight: bold;
    margin-top: var(--spacing-md);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.submit-btn:hover {
    background: var(--color-red);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.form-status {
    margin-top: var(--spacing-md);
    font-weight: bold;
    color: white;
}

@media (max-width: 767px) {

    .form-group input,
    .form-group textarea {
        padding: 10px;
    }

    .submit-btn {
        width: 50%;
    }
}

/* footer section */

footer {
    background: var(--gradient-footer);
    padding: 3rem 0;
    color: var(--color-dark-gray);
    width: 100%;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

.footer-container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    box-sizing: border-box;

}

.footer-info {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-lg);
}

.footer-logo {
    flex: 0 0 auto;
}

.footer-logo img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}


.footer-contact p {
    margin: var(--spacing-sm) 0;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    text-shadow: var(--white-text-shadow);
}

.footer-links ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.footer-links a {
    color: var(--color-dark-gray);
    text-decoration: none;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-weight: 500;
    transition: all var(--transition-speed) ease-in-out;
    text-shadow: var(--white-text-shadow);
    padding: 0.25rem 0;
    position: relative;
}

.footer-links a:hover {
    color: var(--color-red);
}

.footer-links a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-dark-blue);
    transform: scaleX(0);
    transform-origin: left;
    animation: line-appear 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.footer-links a.active {
    color: var(--color-red);
    font-weight: 600;
}

.footer-copyright {
    text-align: center;
    margin-top: var(--spacing-md);
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    opacity: 0.8;
}

@media (max-width: 767px) {
    .footer-container {
        padding: 0 var(--spacing-md);
    }

    .footer-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--spacing-md);
    }

    .footer-links ul {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
}

/* Ensure all images remain responsive while keeping their aspect ratio */
img:not(.phone-container img):not(.logo-container img) {
    max-width: 100%;
    height: auto;
}

/* Style for logo images */
.logo-container img {
    width: clamp(80px, 10vw, 120px);
    height: auto;
    transition: transform var(--transition-speed) ease;
}