/* Reset und Basis-Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-red: #FF0000;
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-gray-light: #F5F5F5;
    --color-gray: #666666;
    --color-gray-dark: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-gray-dark);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Touch-friendly Links */
a,
button {
    -webkit-tap-highlight-color: rgba(220, 20, 60, 0.2);
    touch-action: manipulation;
}

/* Prevent text selection on buttons */
button,
.btn {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

/* Navigation */
.navbar {
    background-color: var(--color-black);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    width: auto;
    max-width: 200px;
}

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

.nav-menu a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--color-red);
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 1rem;
}

.lang-switcher a {
    padding: 0.25rem 0.5rem;
    border-radius: 3px;
    transition: background-color 0.3s;
}

.lang-switcher a.active {
    background-color: var(--color-red);
    color: var(--color-white) !important;
}

.lang-switcher span {
    color: var(--color-gray);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    margin: 3px 0;
    transition: 0.3s;
    display: block;
}

.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 Section */
.hero {
    background: linear-gradient(135deg, var(--color-black) 0%, var(--color-gray-dark) 100%);
    color: var(--color-white);
    padding: 8rem 0;
    text-align: center;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero.has-background {
    padding: 0;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Opacity wird inline per PHP gesetzt */
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 4;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-red);
    margin-bottom: 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Quick Contact Box */
.quick-contact-box {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.quick-contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, background-color 0.3s;
}

.quick-contact-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
}

.contact-info strong {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 0.25rem;
}

.contact-info a,
.contact-info span {
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}

.contact-info a:hover {
    color: var(--color-red);
}

/* Prominente Kontakt-Sektion */
.kontakt-prominent {
    background: var(--color-red);
    color: var(--color-white);
    padding: 4rem 0;
}

.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.kontakt-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.kontakt-icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.kontakt-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.kontakt-card p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.kontakt-card a {
    color: var(--color-white);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.kontakt-card a:hover {
    color: var(--color-black);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--color-black);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: var(--color-red);
    margin: 1rem auto;
}

/* Fahrzeuge Section */
.fahrzeuge-section {
    background-color: var(--color-gray-light);
}

.no-vehicles {
    text-align: center;
    padding: 3rem;
    color: var(--color-gray);
    font-size: 1.2rem;
}

/* Vehicle Grid */
.vehicles-grid {
    display: grid;
    gap: 2rem;
}

.vehicles-grid.grid-large {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.vehicles-grid.grid-medium {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.vehicles-grid.grid-small {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.vehicle-card {
    background: var(--color-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.vehicle-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.vehicle-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.05);
}

.vehicle-info {
    padding: 1.5rem;
}

.vehicle-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--color-black);
}

.vehicle-info p {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Grid sizing for different vehicle counts */
.vehicles-grid.grid-large .vehicle-info h3 {
    font-size: 1.4rem;
}

.vehicles-grid.grid-large .vehicle-info p {
    font-size: 1rem;
}

.vehicles-grid.grid-small .vehicle-info {
    padding: 1rem;
}

.vehicles-grid.grid-small .vehicle-info h3 {
    font-size: 1rem;
}

.vehicles-grid.grid-small .vehicle-info p {
    font-size: 0.85rem;
}

/* Lagerwagen Section */
.lagerwagen-section {
    background-color: var(--color-white);
    padding: 5rem 0;
}

/* Iframe Consent Box (DSGVO) */
.iframe-consent {
    background-color: var(--color-gray-light);
    border: 2px solid var(--color-gray);
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consent-content {
    max-width: 500px;
}

.consent-content p {
    margin-bottom: 1rem;
    color: var(--color-gray-dark);
    line-height: 1.6;
}

.consent-content a {
    color: var(--color-red);
    text-decoration: underline;
}

.consent-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.consent-btn,
.consent-reject {
    min-width: 120px;
}

.consent-rejected {
    background-color: var(--color-gray-light);
    border: 2px dashed var(--color-gray);
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    color: var(--color-gray);
}

/* Consent Reset Link im Footer - gleich wie andere Links */
.consent-reset-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.consent-reset-link:hover {
    color: var(--color-red);
}

/* WhatsApp Button - in Rot passend zum Design */
.floating-btn.whatsapp {
    background-color: var(--color-red);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.4);
}

.floating-btn.whatsapp:hover {
    background-color: #cc0000;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.6);
}

.image-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slide {
    display: none;
    position: relative;
}

.slide.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: cover;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--color-white);
    padding: 2rem;
}

.slide-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.slider-btn {
    background-color: var(--color-red);
    color: var(--color-white);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background-color: var(--color-red);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--color-gray);
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--color-red);
}

.no-images {
    text-align: center;
    padding: 3rem;
    color: var(--color-gray);
    font-size: 1.2rem;
}

/* Einbindung Section */
.einbindung-section {
    background-color: var(--color-white);
    min-height: 400px;
}

.iframe-container {
    width: 100%;
    min-height: 400px;
    border: 2px solid var(--color-gray-light);
    border-radius: 10px;
    overflow: hidden;
}

.iframe-container iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
    border: none;
}

/* Kontakt Section */
.kontakt-section {
    background-color: var(--color-black);
    color: var(--color-white);
}

.kontakt-section .section-title {
    color: var(--color-white);
}

.kontakt-section .section-title::after {
    background-color: var(--color-red);
}

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

.kontakt-item h3 {
    color: var(--color-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.kontakt-item p {
    margin-bottom: 0.5rem;
}

.kontakt-item a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s;
}

.kontakt-item a:hover {
    color: var(--color-red);
}

.kontakt-link {
    text-align: center;
}

.btn {
    display: inline-block;
    background-color: var(--color-red);
    color: var(--color-white);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: var(--color-red);
    transform: translateY(-2px);
}

/* Formular-Styles */
.kontakt-form {
    max-width: 700px;
    margin: 0 auto;
    background-color: var(--color-white);
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.kontakt-form h2 {
    color: var(--color-black);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.form-intro {
    margin-bottom: 2rem;
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-gray-dark);
    font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--color-gray-light);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    background-color: var(--color-white);
    color: var(--color-gray-dark);
}

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

.form-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
    cursor: pointer;
}

.form-group label[for="datenschutz"] {
    font-weight: normal;
    cursor: pointer;
}

.form-group label[for="datenschutz"] a {
    color: var(--color-red);
    text-decoration: underline;
}

.form-group small {
    display: block;
    margin-top: 0.25rem;
    color: var(--color-gray);
    font-size: 0.875rem;
}

/* Kontakt-Seite Styles */
.kontakt-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.kontakt-card {
    background: linear-gradient(135deg, var(--color-white) 0%, var(--color-gray-light) 100%);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.kontakt-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.kontakt-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--color-gray-dark);
}

.kontakt-card p {
    margin-bottom: 0.75rem;
    line-height: 1.6;
}

.kontakt-label {
    font-size: 0.85rem;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Kontakt-Karten Links und Werte */
.kontakt-item {
    margin-bottom: 0.75rem;
}

.kontakt-value {
    color: var(--color-red);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    display: block;
}

a.kontakt-value:hover {
    color: #cc0000;
    text-decoration: underline;
}

.kontakt-address-link {
    display: block;
    color: var(--color-gray-dark);
    text-decoration: none;
    transition: all 0.2s;
}

.kontakt-address-link p {
    margin-bottom: 0.25rem;
}

.kontakt-address-link:hover {
    color: var(--color-red);
}

.maps-hint {
    margin-top: 1rem !important;
    color: var(--color-red);
    font-weight: 600;
    font-size: 0.9rem;
}

.kontakt-card a {
    color: var(--color-red);
}

.kontakt-form {
    background: var(--color-white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.kontakt-form h2 {
    margin-bottom: 0.5rem;
    color: var(--color-gray-dark);
}

.kontakt-form .form-intro {
    color: var(--color-gray);
    margin-bottom: 2rem;
}

/* Button Verbesserungen */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-red) 0%, #cc0000 100%);
    color: var(--color-white);
    border-color: var(--color-red);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #cc0000 0%, #990000 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4);
}

.btn-secondary {
    background: var(--color-white);
    color: var(--color-gray-dark);
    border-color: var(--color-gray);
}

.btn-secondary:hover {
    background: var(--color-gray-light);
    border-color: var(--color-gray-dark);
}

/* Legal Pages (Impressum, Datenschutz) */
.legal-content {
    padding: 5rem 0;
}

.legal-content h1 {
    margin-bottom: 2.5rem;
    color: var(--color-gray-dark);
    font-size: 2.5rem;
}

.legal-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--color-gray-light);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    color: var(--color-gray-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.legal-section h3 {
    color: var(--color-gray-dark);
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-section p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--color-gray-dark);
}

.legal-section a {
    color: var(--color-red);
    text-decoration: none;
}

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

.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #2e7d32;
}

.error {
    background-color: #ffebee;
    color: #c62828;
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #c62828;
}

/* Footer */
.footer {
    background-color: var(--color-gray-dark);
    color: var(--color-white);
    padding: 2rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.footer-partners h3 {
    color: var(--color-red);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-partner-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: center;
}

.footer-partner-item {
    display: flex;
    align-items: center;
}

.footer-partner-item img {
    max-width: 250px;
    height: auto;
    object-fit: contain;
    opacity: 0.9;
    transition: opacity 0.3s, transform 0.3s;
    /* max-height wird per inline-style aus den Einstellungen gesetzt */
}

.footer-partner-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

.footer-partner-item a {
    text-decoration: none;
}

.footer-info {
    text-align: right;
}

.footer-info p {
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.footer a {
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .navbar {
        padding: 0.75rem 0;
    }

    .logo {
        height: 50px;
        max-width: 150px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background-color: var(--color-black);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s ease-in-out;
        padding: 100px 2rem 2rem;
        justify-content: flex-start;
        gap: 0;
        z-index: 999;
    }

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

    .nav-menu li {
        padding: 1.25rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-menu a {
        font-size: 1.25rem;
        display: block;
        padding: 0.5rem 0;
    }

    .nav-toggle {
        display: flex;
        z-index: 1001;
        position: relative;
    }

    .lang-switcher {
        margin-left: 0;
        margin-top: 2rem;
        justify-content: center;
        padding-top: 1rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .lang-switcher a {
        font-size: 1.1rem;
        padding: 0.5rem 1rem;
    }

    /* Hero Section Mobile */
    .hero {
        padding: 4rem 0 3rem;
        min-height: 400px;
    }

    .hero.has-background {
        min-height: 350px;
    }

    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }

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

    /* Vehicle Grid Mobile */
    .vehicles-grid {
        gap: 1.5rem;
    }

    .vehicles-grid.grid-large,
    .vehicles-grid.grid-medium,
    .vehicles-grid.grid-small {
        grid-template-columns: 1fr;
    }

    .vehicle-info {
        padding: 1.25rem;
    }

    .vehicle-info h3 {
        font-size: 1.1rem;
    }

    .vehicle-info p {
        font-size: 0.9rem;
    }

    /* Quick Contact Box Mobile */
    .quick-contact-box {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .quick-contact-item {
        padding: 1rem;
        gap: 0.75rem;
        width: 100%;
        max-width: 100%;
    }

    .contact-icon {
        font-size: 1.5rem;
        flex-shrink: 0;
    }

    .contact-info {
        flex: 1;
        min-width: 0;
    }

    .contact-info strong {
        font-size: 0.8rem;
    }

    .contact-info a,
    .contact-info span {
        font-size: 0.95rem;
        word-break: break-word;
    }

    /* Prominente Kontakt-Sektion Mobile */
    .kontakt-prominent {
        padding: 3rem 0;
    }

    .kontakt-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .kontakt-card {
        padding: 1.5rem;
    }

    .kontakt-icon-large {
        font-size: 2.5rem;
    }

    .kontakt-card h3 {
        font-size: 1.1rem;
    }

    .kontakt-card p {
        font-size: 0.9rem;
    }

    /* Section Styles Mobile */
    section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2rem;
    }

    .section-title::after {
        width: 60px;
        height: 3px;
    }

    /* Slider Mobile */
    .image-slider {
        border-radius: 5px;
    }

    .slide img {
        max-height: 300px;
    }

    .slide-caption {
        padding: 1rem;
    }

    .slide-caption h3 {
        font-size: 1.2rem;
    }

    .slide-caption p {
        font-size: 0.9rem;
    }

    .slider-controls {
        gap: 1rem;
        margin-top: 1.5rem;
        flex-wrap: wrap;
    }

    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }

    .slider-dots {
        gap: 0.4rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    /* Iframe Mobile */
    .iframe-container {
        min-height: 300px;
        border-radius: 5px;
    }

    .iframe-container iframe {
        min-height: 300px;
    }

    /* Kontakt Section Mobile */
    .kontakt-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .kontakt-item h3 {
        font-size: 1.3rem;
    }

    /* Buttons Mobile */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    /* Footer Mobile */
    .footer {
        padding: 1.5rem 0;
    }

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

    .footer-partners {
        order: 1;
    }

    .footer-info {
        order: 2;
        text-align: center;
    }

    .footer-info p {
        white-space: normal;
        word-wrap: break-word;
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .footer-partner-grid {
        justify-content: center;
        gap: 1rem;
    }

    .footer-partner-item img {
        max-width: 80px;
        /* max-height wird per inline-style gesetzt */
    }

    /* Formulare Mobile */
    .form-group {
        margin-bottom: 1.25rem;
    }

    .form-group input,
    .form-group textarea,
    .form-group select {
        font-size: 16px;
        /* Verhindert Zoom auf iOS */
        padding: 0.875rem;
        width: 100%;
    }

    /* Content Section Mobile */
    .content-section {
        padding: 3rem 0;
    }

    .content-section h1 {
        font-size: 1.75rem;
        margin-bottom: 1.5rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .content-section h3 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .content-section p,
    .content-section li {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    /* Kontaktformular Mobile */
    .kontakt-form {
        max-width: 100% !important;
    }

    .kontakt-info {
        margin-bottom: 2rem !important;
    }

    .kontakt-item {
        margin-bottom: 1.5rem;
    }

    .success,
    .error {
        padding: 0.875rem;
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
}

/* Partner Section */
.partner-section {
    background-color: var(--color-gray-light);
    padding: 4rem 0;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    align-items: center;
}

.partner-item {
    text-align: center;
    padding: 1rem;
    background-color: var(--color-white);
    border-radius: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.partner-item img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.partner-name {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-gray-dark);
    font-weight: 600;
}

.partner-item a {
    text-decoration: none;
    color: inherit;
}

/* Floating Contact Buttons */
.floating-contact {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-red);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
    transition: background-color 0.3s;
    /* transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s; Removed to stop wobbling */
    /* animation: pulse 2s infinite; Removed as per user request */
}

.floating-btn:hover {
    /* transform: scale(1.1); */
    /* box-shadow: 0 6px 20px rgba(220, 20, 60, 0.6); */
    background-color: var(--color-red);
}

/* Audaris Logo Hide */
img[src*="logo-69789ab6d777bfca34036e30-4y57urx4ljksow4sg8gc04c8w.png"] {
    display: none !important;
}

.floating-btn.phone {
    animation-delay: 0s;
}

.floating-btn.email {
    animation-delay: 0.5s;
}

.floating-btn.contact {
    animation-delay: 1s;
}

.floating-icon {
    font-size: 1.5rem;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* Partner Section Mobile */
@media (max-width: 768px) {
    .partner-section {
        padding: 3rem 0;
    }

    .partner-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 1rem;
    }

    .partner-item {
        padding: 0.75rem;
    }

    .partner-item img {
        max-height: 80px;
    }

    .partner-name {
        font-size: 0.8rem;
        margin-top: 0.25rem;
    }

    /* Floating Buttons Mobile */
    .floating-contact {
        bottom: 15px;
        right: 15px;
        gap: 0.75rem;
    }

    .floating-btn {
        width: 55px;
        height: 55px;
        box-shadow: 0 3px 12px rgba(220, 20, 60, 0.5);
    }

    .floating-icon {
        font-size: 1.3rem;
    }

    /* Touch-friendly adjustments */
    .nav-menu a,
    .slider-btn,
    .btn,
    .floating-btn {
        -webkit-tap-highlight-color: rgba(220, 20, 60, 0.3);
        touch-action: manipulation;
        min-height: 44px;
        /* Apple's recommended touch target size */
        min-width: 44px;
    }

    /* Better spacing for touch targets */
    .nav-menu li {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Prevent accidental zoom on double tap */
    * {
        touch-action: pan-y;
    }

    button,
    .btn,
    .slider-btn {
        touch-action: manipulation;
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .hero {
        padding: 3rem 0 2rem;
        min-height: 300px;
    }

    .hero.has-background {
        min-height: 280px;
    }

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

    .hero-subtitle {
        font-size: 0.9rem;
    }

    /* Vehicle Grid Extra Small */
    .vehicles-grid {
        gap: 1rem;
    }

    .vehicle-info {
        padding: 1rem;
    }

    .vehicle-info h3 {
        font-size: 1rem;
    }

    .vehicle-info p {
        font-size: 0.85rem;
    }

    .quick-contact-item {
        padding: 0.875rem;
    }

    .contact-icon {
        font-size: 1.3rem;
    }

    .contact-info a,
    .contact-info span {
        font-size: 0.85rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .slide img {
        max-height: 250px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.3rem;
    }

    .floating-btn {
        width: 50px;
        height: 50px;
    }

    .floating-icon {
        font-size: 1.1rem;
    }

    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-item img {
        max-height: 60px;
    }
}

/* Audaris Widget Customizations */
#audaris-widget footer,
#audaris-widget .fa-question-circle,
#audaris-widget .text-sm.text-gray-700,
img[src*="logo-69789ab6d777bfca34036e30"] {
    display: none !important;
}

/* Active Nav State */
.nav-menu a.active {
    color: var(--color-red);
}

/* Black Contact Card Theme */
.kontakt-card.black-theme {
    background: var(--color-black);
    color: var(--color-white);
    border: 1px solid var(--color-gray-dark);
}

.kontakt-card.black-theme h3,
.kontakt-card.black-theme p,
.kontakt-card.black-theme a {
    color: var(--color-white) !important;
}

.footer-info a {
    text-decoration: underline;
    color: inherit;
}

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