/* Variables */
:root {
    --bg-main: #0A0D14;
    --bg-surface: #121620;
    --bg-surface-light: #1A202C;
    --bg-lighter: #242b3b;

    --accent-color: #FFDE00;
    --accent-hover: #E5CC00;
    --accent-glow: rgba(255, 222, 0, 0.4);

    --text-main: #E2E8F0;
    --text-muted: #94A3B8;
    --text-dark: #0A0D14;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-logo: 'Researcher', 'Outfit', sans-serif;

    --transition-fast: 0.2s ease;
    --transition-norm: 0.3s ease;
    --transition-bounce: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

@font-face {
    font-family: 'Researcher';
    src: url('researcher-researcher-bold-700.ttf') format('truetype'),
        url('researcher-researcher-bold-700.otf') format('opentype');
    font-weight: 800;
    font-style: normal;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-accent {
    color: var(--accent-color);
}

.section {
    padding: 100px 0;
}

.bg-darker {
    background-color: var(--bg-surface);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-norm);
    border: 2px solid transparent;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--accent-color);
    color: var(--text-dark);
    box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--accent-glow);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background-color: var(--bg-surface-light);
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
}

.btn-emergency {
    background-color: #e53e3e;
    /* Red for high alert */
    color: white;
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 0 15px rgba(229, 62, 62, 0.5);
    letter-spacing: 0.5px;
}

.btn-emergency:hover {
    background-color: #c53030;
    transform: scale(1.05);
}

.btn-accent {
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 0 15px var(--accent-glow);
    letter-spacing: 0.5px;
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: scale(1.05);
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(229, 62, 62, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse-accent {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 222, 0, 0.7);
    }

    70% {
        transform: scale(1.02);
        box-shadow: 0 0 0 10px rgba(255, 222, 0, 0);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 222, 0, 0);
    }
}

.pulse-accent-animation {
    animation: pulse-accent 2s infinite;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: all var(--transition-norm);
    background: transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 13, 20, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--bg-surface-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-logo);
    font-weight: 800;
    font-size: 2.5rem;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-main);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--accent-color);
    transition: width var(--transition-norm);
}

.nav-link:hover::after,
.nav-link.active::after,
.dropdown:hover > .nav-link::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active,
.dropdown:hover > .nav-link {
    color: #fff;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(10, 13, 20, 0.95);
    backdrop-filter: blur(10px);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--bg-surface-light);
    border-radius: var(--radius-md);
    z-index: 105;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity var(--transition-norm), transform var(--transition-norm);
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: var(--text-main);
    padding: 12px 24px;
    text-decoration: none;
    display: block;
    font-weight: 500;
    transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-content a:hover {
    background-color: transparent;
    color: var(--accent-color);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 102;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
    transition: var(--transition-norm);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: rgba(10, 13, 20, 0.98);
    backdrop-filter: blur(10px);
    z-index: 101;
    padding: 100px 30px;
    transition: right var(--transition-norm);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    border-left: 1px solid var(--bg-surface-light);
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}

.mobile-btn {
    margin-top: 20px;
    text-align: center;
    border-radius: 50px;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(26, 32, 44, 0.8) 0%, var(--bg-main) 60%);
    z-index: -1;
}

/* A faux background indicating high-tech / dark pattern */
.hero-overlay::after {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: linear-gradient(var(--text-muted) 1px, transparent 1px), linear-gradient(90deg, var(--text-muted) 1px, transparent 1px);
    background-size: 30px 30px;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background-color: rgba(255, 90, 0, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    box-shadow: 0 0 10px rgba(255, 90, 0, 0.2);
}

.hero-title {
    font-size: clamp(3rem, 5vw, 5rem);
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* Services */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.125rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-surface-light);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    position: relative;
    transition: all var(--transition-bounce);
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 90, 0, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-norm);
    z-index: -1;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 90, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.service-card:hover::before {
    opacity: 1;
}

.card-icon-wrapper {
    width: 64px;
    height: 64px;
    background-color: var(--bg-surface-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: #fff;
    transition: var(--transition-norm);
}

.service-card:hover .card-icon-wrapper {
    background-color: var(--accent-color);
    color: var(--text-dark);
}

.service-card.featured-service {
    border-color: rgba(255, 90, 0, 0.5);
    background: linear-gradient(145deg, var(--bg-surface) 0%, #171c26 100%);
}

.accent-bg {
    background-color: var(--accent-color);
}

.text-dark {
    color: var(--text-dark);
}

.card-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.service-desc {
    color: var(--text-muted);
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text {
    margin-bottom: 24px;
    font-size: 1.125rem;
}

.credentials-list {
    margin-top: 32px;
}

.credentials-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1.125rem;
    font-weight: 500;
}

.check-icon {
    color: var(--accent-color);
    flex-shrink: 0;
    margin-top: 2px;
}

.about-image-container {
    position: relative;
    height: 500px;
    background-color: var(--bg-main);
    border-radius: var(--radius-xl);
    border: 1px solid var(--bg-surface-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Abstract design replacing image */
.about-image-container::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 180deg at 50% 50%, var(--bg-surface-light) 0deg, var(--bg-lighter) 180deg, var(--bg-surface-light) 360deg);
    animation: rotate 20s linear infinite;
    opacity: 0.3;
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.image-placeholder {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-main) 100%);
}

.experience-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--accent-color);
    color: var(--text-dark);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 8px solid var(--bg-surface);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 20;
}

.exp-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1;
}

.exp-text {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

/* Footer */
.footer {
    background-color: #05060A;
    /* Even darker */
    padding: 80px 0 20px;
    border-top: 1px solid var(--bg-surface-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-family: var(--font-logo);
    font-weight: 800;
    font-size: 2.5rem;
    color: #fff;
    display: inline-block;
    margin-bottom: 8px;
}

.footer-sub {
    color: var(--accent-color);
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 1px;
}

.footer-desc {
    color: var(--text-muted);
    max-width: 300px;
}

.footer-heading {
    font-size: 1.25rem;
    margin-bottom: 24px;
    color: #fff;
    position: relative;
    display: inline-block;
}

.footer-heading::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-color);
}

.contact-list li {
    margin-bottom: 16px;
}

.contact-label {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-link {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-link:hover {
    color: var(--accent-color);
}

.contact-link.emergency {
    color: #fc8181;
}

.contact-link.whatsapp {
    color: #48bb78;
}

.company-details {
    font-style: normal;
    color: var(--text-muted);
    line-height: 1.6;
}

.company-details strong {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--bg-surface-light);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-actions {
        gap: 8px !important;
    }

    .nav-actions .btn-emergency,
    .nav-actions .btn-send-location-nav {
        display: inline-flex !important;
        font-size: 0.75rem !important;
        padding: 5px 10px !important;
        height: 36px !important;
        letter-spacing: 0px !important;
    }

    .nav-actions .btn-emergency svg,
    .nav-actions .btn-send-location-nav svg {
        margin-right: 4px !important;
        width: 14px !important;
        height: 14px !important;
    }

    .mobile-menu-btn {
        display: flex;
        margin-left: 5px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* --- Subpages & Contact Page Styles --- */
.subpage-header {
    padding: 130px 0 50px; /* Assuming ~80px nav height: 130-80 = 50px top visual space, 50px bottom space */
    text-align: center;
    background: linear-gradient(180deg, rgba(10, 13, 20, 0.9) 0%, var(--bg-surface) 100%);
    border-bottom: 1px solid var(--bg-surface-light);
}

.subpage-title {
    font-size: 3.5rem;
    margin-bottom: 16px;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
}

.subpage-subtitle {
    color: var(--text-muted);
    font-size: 1.25rem;
    max-width: 600px;
    margin: 0 auto;
}

.page-content {
    padding: 4rem 0 6rem; /* Restoring breathing room for the cards below the header */
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Contact Grid matching Carlogi */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
}

.booking-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    background: rgba(10, 13, 20, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    padding: 4rem;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    width: 100%;
}

.booking-info h2 {
    font-size: 2.5rem;
}

.booking-info p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

.contact-card h3 {
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-size: 1.8rem;
}

.contact-link-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.contact-link-block:hover {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 222, 0, 0.2);
    transform: translateX(10px);
}

.contact-icon {
    font-size: 2rem;
    background: var(--bg-surface-light);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info p {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-top: 4px;
}

.contact-info span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .booking-wrapper {
        grid-template-columns: 1fr;
        padding: 3rem;
    }
}

@media (max-width: 768px) {

    .content-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .form-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}

/* --- Impressum Legal Panel --- */
.legal-content {
    padding: 6rem 0;
    max-width: 800px;
    margin: 0 auto;
}

.legal-panel {
    background: var(--bg-surface);
    border: 1px solid var(--bg-surface-light);
    border-radius: var(--radius-lg);
    padding: 3rem;
    color: var(--text-main);
}

.legal-panel h3 {
    color: var(--accent-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.legal-panel h3:first-child {
    margin-top: 0;
}

.legal-panel p {
    margin-bottom: 1rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.legal-panel strong {
    color: #fff;
}

.legal-panel a {
    color: var(--accent-color);
}

.legal-panel a:hover {
    text-decoration: underline;
}

/* --- Form Styles --- */
.form-group {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-bottom: 24px;
}

.form-label {
    color: var(--text-main);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: #000000;
    font-family: inherit;
    font-size: 1rem;
    transition: all var(--transition-norm);
}

.form-control::placeholder {
    color: #6c757d;
    opacity: 0.8;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(255, 222, 0, 0.2);
}

.form-row {
    display: flex;
    gap: 1.5rem;
}

/* --- Fuhrpark Quartett Cards --- */
.vehicle-cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 2rem;
}

.vehicle-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-surface-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-bounce);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 222, 0, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.vehicle-image-placeholder {
    height: 240px;
    background: linear-gradient(135deg, var(--bg-surface-light) 0%, var(--bg-lighter) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid var(--accent-color);
    color: var(--text-muted);
}

.vehicle-info {
    padding: 32px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 4px;
}

.vehicle-category {
    color: var(--accent-color);
    font-size: 0.875rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.vehicle-stats {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-grow: 1;
}

.vehicle-stats li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.vehicle-stats li:last-child {
    border-bottom: none;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
}

.stat-value {
    color: #fff;
    font-weight: 700;
    text-align: right;
}

/* --- Pricing Cards --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 2rem;
    align-items: stretch;
}

.pricing-card {
    /* Authentic CSS Glassmorphism */
    background: rgba(20, 25, 35, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px; /* More rounded like the pedestals */
    padding: 40px 30px;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.02);
    transform-style: preserve-3d;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

/* Vanilla tilt handles the rotation, we just enhance the interaction */
.pricing-card:hover {
    background: rgba(30, 35, 20, 0.2) !important; /* Much softer yellow tint */
    border-color: rgba(255, 222, 0, 0.5) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 222, 0, 0.05), 0 0 30px rgba(255, 222, 0, 0.1) !important;
}

/* Base style for featured cards (currently unused by default, kept for reference) */
.pricing-card.featured {
    background: rgba(30, 35, 20, 0.2);
    border-color: rgba(255, 222, 0, 0.3);
    border-top: 1px solid rgba(255, 222, 0, 0.4);
    border-left: 1px solid rgba(255, 222, 0, 0.3);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 222, 0, 0.03), 0 0 20px rgba(255, 222, 0, 0.1);
}

.pricing-card.featured:hover {
    border-color: rgba(255, 222, 0, 0.5);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(255, 222, 0, 0.05), 0 0 30px rgba(255, 222, 0, 0.1);
}

/* Ensure content inside the card pops out in 3D during vanilla-tilt */
.pricing-card > * {
    transform: translateZ(30px);
}

.card-icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%; /* Circular floating element */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3), inset 0 2px 5px rgba(255,255,255,0.1);
    transform: translateZ(50px); /* Pops out even more */
}

.pricing-card.featured .card-icon-wrapper,
.pricing-card:hover .card-icon-wrapper {
    background: rgba(255, 222, 0, 0.03);
    border-color: rgba(255, 222, 0, 0.2);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3), inset 0 2px 10px rgba(255,222,0,0.1), 0 0 15px rgba(255, 222, 0, 0.15);
}

.card-icon-wrapper svg {
    color: #fff;
    width: 44px;
    height: 44px;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.3));
}

.pricing-card.featured .card-icon-wrapper svg,
.pricing-card:hover .card-icon-wrapper svg {
    color: #ffde00;
    filter: drop-shadow(0 0 4px rgba(255,222,0,0.4));
}

.pricing-header h3 {
    font-size: 1.3rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 24px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.pricing-card.featured .pricing-header h3,
.pricing-card:hover .pricing-header h3 {
    color: #ffde00;
    border-bottom-color: rgba(255, 222, 0, 0.15);
}

.pricing-price {
    margin-bottom: 32px;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.pricing-price .currency {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-price .amount {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1;
    color: #fff;
    font-family: var(--font-heading);
}

.pricing-price .period {
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-tax {
    display: block;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.6);
    margin-top: -24px;
    margin-bottom: 32px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    color: rgba(255,255,255,0.9);
    font-size: 0.95rem;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.pricing-features .check-icon {
    width: 16px;
    height: 16px;
    color: #fff;
    flex-shrink: 0;
    margin-top: 4px;
}

.btn-metallic {
    background: linear-gradient(180deg, #3a3f47 0%, #222630 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}

.btn-metallic:hover {
    background: linear-gradient(180deg, #4a515c 0%, #2d3340 100%);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Sync button glow with pricing card hover */
.pricing-card:hover .btn-metallic {
    background: rgba(255, 222, 0, 0.1) !important;
    border-color: #ffde00 !important;
    color: #fff !important;
}

.pricing-card:hover .btn-metallic:hover {
    background: rgba(255, 222, 0, 0.2) !important;
    box-shadow: 0 0 15px rgba(255, 222, 0, 0.4) !important;
    transform: translateY(-2px);
    color: #fff !important;
}

.btn-metallic-yellow {
    background: rgba(255, 222, 0, 0.1);
    border: 1px solid #ffde00;
    color: #fff;
    border-radius: 8px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}

.btn-metallic-yellow:hover {
    background: rgba(255, 222, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 222, 0, 0.4);
    transform: translateY(-2px);
    color: #fff;
}

@media (max-width: 1024px) {
    .pricing-card.featured {
        transform: scale(1);
    }
    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* --- Pricing Configurator & Matrix (Glassmorphism) --- */
.glass-panel {
    background: rgba(20, 25, 35, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    margin-top: 40px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.4), inset 0 0 20px rgba(255, 255, 255, 0.02);
}

.configurator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.configurator-title, .matrix-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.btn-close-config {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.btn-close-config:hover {
    color: #ffde00;
}

.configurator-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: stretch;
}

.form-group {
    margin-bottom: 30px;
}

.form-group label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #e2e8f0;
}

.highlight-value {
    color: var(--accent-color);
    margin-left: 10px;
    font-weight: bold;
}

/* Neon Slider */
.neon-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    background: rgba(255,255,255,0.1);
    border-radius: 4px;
    outline: none;
}

.neon-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--accent-color);
    cursor: pointer;
    box-shadow: 0 0 15px var(--accent-color);
}

/* Toggle Group Buttons */
.toggle-group {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.toggle-group input[type="radio"] {
    display: none;
}

.neon-btn {
    padding: 12px 20px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-grow: 1;
    text-align: center;
    font-size: 0.95rem;
}

.toggle-group input[type="radio"]:checked + .neon-btn {
    background: rgba(255, 222, 0, 0.15);
    border-color: var(--accent-color);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 222, 0, 0.3), inset 0 0 10px rgba(255, 222, 0, 0.1);
    font-weight: bold;
}

/* Result Box */
.configurator-result {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid rgba(255, 222, 0, 0.1);
    box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
}

.price-display-box {
    text-align: center;
}

.price-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.price-value-container {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 20px rgba(255, 222, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 5px;
}

.price-value-container .currency {
    font-size: 2rem;
}

/* Detailed Matrix */
.matrix-container {
    padding: 50px 40px;
}

.matrix-title {
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
}

.service-category {
    margin-bottom: 40px;
}

.service-category:last-child {
    margin-bottom: 0;
}

.category-header {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 3px solid var(--accent-color);
}

.service-row {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: background 0.3s ease;
}

.service-row:hover {
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
}

.service-name {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
}

.service-price {
    font-weight: bold;
    font-size: 1.05rem;
    min-width: 120px;
    text-align: right;
}

/* Responsiveness */
@media (max-width: 900px) {
    .configurator-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .service-row {
        flex-direction: column;
        gap: 10px;
    }
    .service-price {
        text-align: left;
    }
    .toggle-group {
        flex-direction: column;
    }
}

/* --- Zertifikate Cards --- */
.certificates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 2rem;
}

.certificate-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--bg-surface-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all var(--transition-bounce);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.certificate-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-color);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.cert-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 222, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.cert-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    width: 100%;
}

.cert-title {
    font-size: 1.5rem;
    color: #fff;
    margin-bottom: 12px;
}

.cert-desc {
    color: var(--text-muted);
    margin-bottom: 32px;
    flex-grow: 1;
}

.cert-actions {
    display: flex;
    gap: 16px;
    width: 100%;
}

/* TAN Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-main);
}

.modal-header h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.modal-header p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.4;
}

.tan-step label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.9rem;
}

.tan-step input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
    margin-bottom: 15px;
}

.tan-step input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn-block {
    width: 100%;
    display: block;
    text-align: center;
}

.tan-message {
    font-size: 0.9rem;
    text-align: center;
}

.tan-success {
    background: rgba(46, 204, 113, 0.1);
    color: #2ecc71;
    border: 1px solid rgba(46, 204, 113, 0.3);
}

.tan-error {
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
    border: 1px solid rgba(231, 76, 60, 0.3);
}

/* --- Lead Generation Modals (Glassmorphism) --- */
.glass-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 13, 20, 0.85);
    backdrop-filter: blur(15px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    display: flex;
    transition: opacity var(--transition-norm);
}

.modal-content-glass {
    position: relative;
    width: 90%;
    max-width: 600px;
    padding: 40px;
    border-radius: var(--radius-xl);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.1);
    background: linear-gradient(135deg, rgba(23, 28, 38, 0.8) 0%, rgba(10, 13, 20, 0.95) 100%);
    animation: fade-in-up 0.4s ease forwards;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--accent-color);
}

.glass-input {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: #fff;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.glass-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--accent-color);
    box-shadow: 0 0 15px rgba(255, 222, 0, 0.15);
}

.glass-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Autocomplete overrides for Google Maps dropdown to match dark theme */
.pac-container {
    background-color: var(--bg-surface);
    border: 1px solid var(--accent-color);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    font-family: var(--font-body);
    z-index: 10000;
}

.pac-item {
    padding: 10px 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: var(--text-muted);
    transition: background 0.2s;
    cursor: pointer;
}

.pac-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.pac-item-query {
    color: #fff;
    font-weight: 500;
}

/* Custom Toggle Switch for Forms */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    flex-shrink: 0;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-muted);
    transition: .4s;
}

input:checked + .slider {
    background-color: rgba(255, 222, 0, 0.2);
    border-color: var(--accent-color);
}

input:checked + .slider:before {
    transform: translateX(23px);
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Custom permanently glowing switch for the Tax toggle */
.glow-switch {
    width: 36px !important;
    height: 20px !important;
}

.glow-switch .slider {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.glow-switch .slider:before {
    height: 14px;
    width: 14px;
    left: 2px;
    bottom: 2px;
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

.glow-switch input:checked + .slider {
    background-color: rgba(255, 222, 0, 0.1);
}

.glow-switch input:checked + .slider:before {
    transform: translateX(16px);
    background-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
}

/* Fix nav-link dropdown hover visibility */
.nav-link:hover::after,
.nav-link.active::after,
.dropdown:hover .nav-link::after,
.dropdown:hover > a::after {
    width: 100%;
    background-color: var(--accent-color) !important;
}

.nav-link:hover,
.nav-link.active,
.dropdown:hover .nav-link,
.dropdown:hover > a {
    color: var(--accent-color) !important;
}

/* --- Dynamic Pricing Tabs --- */
.pricing-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 25px;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.tab-btn:hover { background: rgba(255, 255, 255, 0.08); color: white; }
.tab-btn.active {
    background: rgba(246, 173, 55, 0.15);
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 15px rgba(246, 173, 55, 0.2);
}

.tab-content { display: none; animation: fadeIn 0.4s ease-out forwards; }
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Utility für gesamtflächig anklickbare Cards (z.B. Service Cards) */
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10;
    content: "";
}


/* =========================================
   WhatsApp Floating Widget
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background-color: #25d366; /* WhatsApp Green */
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    animation: pulse-wa 2.5s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    animation: none;
    color: #FFF;
}

@keyframes pulse-wa {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    50% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 28px;
    }
}
