/* AC-Nordend KFZ-Werkstatt - Main Stylesheet */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

h4 {
    font-size: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: #4287f5;
    color: white;
}

    .btn-primary:hover {
        background-color: #2c5aa0;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(66, 135, 245, 0.3);
    }

.btn-secondary {
    background-color: transparent;
    color: #4287f5;
    border: 2px solid #4287f5;
}

    .btn-secondary:hover {
        background-color: #4287f5;
        color: white;
    }

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
    height: 70px;
}

.navbar {
    padding: 0rem !important; 
    height: 100%;
}

    .navbar .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 100%;
    }

.navbar-brand .logo-link {
    display: block;
}

.navbar-brand .logo {
    height: 60px;
    width: auto;
}

.navbar-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

    .nav-link:hover {
        color: #4287f5;
    }

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-phone-link {
    display: none;
    color: #333;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

    .mobile-phone-link:hover {
        color: #4287f5;
    }

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

    .mobile-menu-toggle span {
        width: 25px;
        height: 3px;
        background-color: #333;
        transition: all 0.3s ease;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(66, 135, 245, 0.8), rgba(66, 135, 245, 0.6));
    z-index: -1;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: 100%;
}

.hero-text {
    flex: 1;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

    .hero-title .highlight {
        color: #ffc107;
    }

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-person {
    flex: 0 0 300px;
    text-align: center;
}

.person-image {
    width: 250px;
    height: auto;
    margin-bottom: 1rem;
}

.person-claim {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 12px;
    color: #333;
}

    .person-claim p {
        font-size: 1.1rem;
        font-weight: 500;
        margin-bottom: 0.5rem;
    }

    .person-claim span {
        font-size: 0.9rem;
        color: #666;
    }

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

    .section-header h2 {
        color: #4287f5;
        margin-bottom: 1rem;
    }

    .section-header p {
        font-size: 1.2rem;
        color: #666;
    }

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    }

.service-image {
    height: 200px;
    overflow: hidden;
}

    .service-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 2rem;
}

    .service-content h3 {
        color: #4287f5;
        margin-bottom: 1rem;
    }

    .service-content p {
        margin-bottom: 1.5rem;
        color: #666;
    }

    .service-content ul {
        list-style: none;
    }

    .service-content li {
        padding: 0.5rem 0;
        border-bottom: 1px solid #eee;
        position: relative;
        padding-left: 1.5rem;
    }

        .service-content li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: #4287f5;
            font-weight: bold;
        }

/* Team Section */
.team {
    padding: 80px 0;
    background-color: white;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    align-items: center;
}

.team-member {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.member-image {
    flex: 0 0 150px;
}

    .member-image img {
        height: 50vh;
        border-radius: 50%;
        object-fit: cover;
    }

.member-info h3 {
    color: #4287f5;
    margin-bottom: 0.5rem;
}

.member-role {
    color: #666;
    font-weight: 500;
    margin-bottom: 1rem;
}

.team-showcase .team-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.team-description h3 {
    color: #4287f5;
    margin-bottom: 1rem;
}

/* Reviews Section */
.reviews {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.reviews-carousel {
    position: relative;
    overflow: hidden;
}

.reviews-container {
    display: flex;
    gap: 2rem;
    transition: transform 0.3s ease;
}

.review-card {
    flex: 0 0 350px;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.review-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card h4 {
    color: #4287f5;
    margin-bottom: 1rem;
}

.review-card p {
    color: #666;
    font-style: italic;
    line-height: 1.6;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.carousel-btn {
    background: #4287f5;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

    .carousel-btn:hover {
        background: #2c5aa0;
        transform: scale(1.1);
    }

.reviews-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.contact-item h3 {
    color: #4287f5;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.contact-item p {
    color: #666;
}

.map-container {
    margin: 3rem 0;
}

    .map-container iframe {
        border-radius: 12px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    }

.streetview-section {
    margin-top: 3rem;
    text-align: center;
}

    .streetview-section h3 {
        color: #4287f5;
        margin-bottom: 1rem;
    }

    .streetview-section p {
        color: #666;
        margin-bottom: 2rem;
    }

.streetview-container iframe {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: #4287f5;
    margin-bottom: 1rem;
}

.footer-section p {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .footer-section a:hover {
        color: #4287f5;
    }

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    padding: 0.5rem 1rem;
    background: #4287f5;
    border-radius: 6px;
    transition: background 0.3s ease;
}

    .social-link:hover {
        background: #2c5aa0;
    }

.partner-link {
    display: block;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.legal-link {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .legal-link:hover {
        color: #4287f5;
    }

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: -100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: white;
    padding: 1.5rem;
    z-index: 1001;
    transition: bottom 0.3s ease;
}

    .cookie-consent.show {
        bottom: 0;
    }

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.cookie-link {
    color: #4287f5;
    text-decoration: none;
}

    .cookie-link:hover {
        text-decoration: underline;
    }

/* Legal Pages */
.legal-page {
    padding: 120px 0 80px;
    background-color: #f8f9fa;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

    .legal-content h1 {
        color: #4287f5;
        margin-bottom: 2rem;
        text-align: center;
    }

    .legal-content h2 {
        color: #4287f5;
        margin-top: 2rem;
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

    .legal-content h3 {
        color: #333;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
        font-size: 1.25rem;
    }

    .legal-content h4 {
        color: #555;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
        font-size: 1.1rem;
    }

    .legal-content p {
        margin-bottom: 1rem;
        line-height: 1.7;
    }

    .legal-content ul {
        margin-bottom: 1rem;
        padding-left: 2rem;
    }

    .legal-content li {
        margin-bottom: 0.5rem;
        line-height: 1.6;
    }

    .legal-content a {
        color: #4287f5;
        text-decoration: none;
    }

        .legal-content a:hover {
            text-decoration: underline;
        }

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
}

    .legal-footer em {
        color: #666;
        font-size: 0.9rem;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .mobile-phone-link {
        display: inline-flex;
        align-items: center;
        font-size: 0.95rem;
    }

    .navbar-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

        .navbar-menu.active {
            left: 0;
        }

        .navbar-menu .nav-link {
            font-size: 1.2rem;
            padding: 1rem 0;
            border-bottom: 1px solid #eee;
            width: 100%;
            text-align: center;
        }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-person {
        flex: none;
    }

    .person-image {
        width: 200px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-member {
        flex-direction: column;
        text-align: center;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .reviews-container {
        padding: 0 1rem;
    }

    .review-card {
        flex: 0 0 280px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .btn-large {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-card {
        margin: 0 1rem;
    }

    .review-card {
        flex: 0 0 250px;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mt-1 {
    margin-top: 0.5rem;
}

.mt-2 {
    margin-top: 1rem;
}

.mt-3 {
    margin-top: 1.5rem;
}

.mt-4 {
    margin-top: 2rem;
}

.d-none {
    display: none;
}

.d-block {
    display: block;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}
/* === Header/Logo Scroll-Animation (Desktop) ============================== */
@property --header-h {
    syntax: '<length>';
    inherits: false;
    initial-value: 60px; /* Startwert groß */
}

@property --logo-h {
    syntax: '<length>';
    inherits: false;
    initial-value: 60px; /* Startwert groß */
}
@media (max-width: 1024px) {
    @property --header-h {
        syntax: '<length>';
        inherits: false;
        initial-value: 60px; /* Startwert groß */
    }

    @property --logo-h {
        syntax: '<length>';
        inherits: false;
        initial-value: 60px; /* Startwert groß */
    }
}

    .header {
        height: var(--header-h);
    }

    .navbar {
        height: var(--header-h); /* passt Hintergrundband mit an */
    }

    .navbar-brand .logo {
        height: var(--logo-h);
        width: auto;
        padding: 0.5rem;
    }

    .navbar .container {
        align-items: center;
    }

    .nav-link {
        display: flex;
        align-items: center;
        height: var(--header-h);
    }

    .hero {
        padding-top: var(--header-h);
    }

   
