/* ============================================================
   KFZ Steiner Landauer – Design System
   Konsistentes, responsives Design für alle Seiten
   ============================================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
    /* Colors */
    --color-primary: #1a3a5c;
    --color-primary-dark: #0f2740;
    --color-primary-light: #2a5a8c;
    --color-accent: #e8a500;
    --color-accent-dark: #c48d00;
    --color-accent-light: #ffd04d;
    --color-white: #ffffff;
    --color-light: #f5f7fa;
    --color-gray-100: #eef1f5;
    --color-gray-200: #d9dee5;
    --color-gray-300: #b0b8c4;
    --color-gray-400: #8892a0;
    --color-gray-500: #5f6b7a;
    --color-gray-600: #3d4654;
    --color-text: #2c3e50;
    --color-text-light: #5f6b7a;
    --color-success: #27ae60;
    --color-danger: #e74c3c;

    /* Typography */
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    /* Layout */
    --container-max: 1200px;
    --container-narrow: 800px;
    --border-radius: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 12px 40px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Header */
    --header-height: 80px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--color-primary-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent);
}

ul, ol {
    list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-primary-dark);
}

h1 {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    margin-bottom: var(--space-lg);
}

h3 {
    font-size: clamp(1.15rem, 2.5vw, 1.4rem);
    margin-bottom: var(--space-md);
}

h4 {
    font-size: 1.1rem;
    margin-bottom: var(--space-sm);
}

p {
    margin-bottom: var(--space-md);
}

p:last-child {
    margin-bottom: 0;
}

strong {
    font-weight: 600;
    color: var(--color-primary-dark);
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.container--narrow {
    max-width: var(--container-narrow);
}

/* --- Sections (konsistent auf ALLEN Seiten) --- */
.section {
    padding: var(--space-3xl) 0;
}

.section--gray {
    background-color: var(--color-light);
}

.section--dark {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.section--dark h2,
.section--dark h3,
.section--dark strong {
    color: var(--color-white);
}

.section--dark p {
    color: rgba(255, 255, 255, 0.9);
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-2xl);
}

.section__header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
}

/* --- Header / Navigation --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-white);
    box-shadow: var(--shadow-sm);
    height: var(--header-height);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.site-header .container {
    display: flex;
    align-items: center;
    height: 100%;
    gap: var(--space-lg);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo__img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.site-logo__img--footer {
    height: 34px;
    background: var(--color-white);
    padding: 4px 8px;
    border-radius: var(--border-radius);
}

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}

.main-nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.main-nav__link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-gray-600);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.main-nav__link:hover,
.main-nav__link.active {
    color: var(--color-primary);
    background: var(--color-gray-100);
}

.main-nav__link.active {
    font-weight: 600;
}

/* Dropdown Navigation */
.has-dropdown {
    position: relative;
}

.main-nav__dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
}

.dropdown-chevron {
    width: 14px;
    height: 14px;
    transition: transform var(--transition-fast);
    flex-shrink: 0;
}

.has-dropdown:hover .dropdown-chevron,
.has-dropdown.open .dropdown-chevron {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-gray-100);
    padding: var(--space-sm) 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
    z-index: 100;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown.open .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu__link {
    display: block;
    padding: 0.55rem 1.2rem;
    color: var(--color-gray-600);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.dropdown-menu__link:hover {
    background: var(--color-gray-100);
    color: var(--color-primary);
}

.dropdown-menu__link.active {
    color: var(--color-primary);
    font-weight: 600;
    background: var(--color-gray-100);
}

/* Hide mobile CTA on desktop */
.nav-mobile-cta {
    display: none;
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    flex-shrink: 0;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.header-phone svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    color: var(--color-primary);
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
}

/* --- Hero Section (konsistent auf allen Seiten) --- */
.hero {
    padding-top: calc(var(--header-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
    background: var(--color-primary-dark);
    color: var(--color-white);
    position: relative;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.hero[style*="background-image"]::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 25, 45, 0.82) 0%, rgba(15, 39, 64, 0.75) 50%, rgba(10, 25, 45, 0.85) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    color: var(--color-white);
    max-width: 800px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin-bottom: var(--space-xl);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero--home {
    padding-top: calc(var(--header-height) + var(--space-4xl));
    padding-bottom: var(--space-4xl);
}

.hero__actions {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* --- Buttons (konsistentes System) --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.8rem 1.8rem;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    border: 2px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
    line-height: 1.4;
    white-space: nowrap;
}

.btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn--primary {
    background: var(--color-accent);
    color: var(--color-primary-dark);
    border-color: var(--color-accent);
}

.btn--primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--secondary {
    background: transparent;
    color: var(--color-white);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-white);
    color: var(--color-white);
}

.btn--outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn--outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn--sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.85rem;
}

.btn--lg {
    padding: 1rem 2.2rem;
    font-size: 1.05rem;
}

/* --- Cards (konsistentes Karten-System) --- */
.card-grid {
    display: grid;
    gap: var(--space-xl);
}

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

.card-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.card-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

.card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
    transition: all var(--transition-base);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card__icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-lg);
    color: var(--color-accent);
}

.card__icon svg {
    width: 28px;
    height: 28px;
}

.card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-sm);
}

.card__text {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    color: var(--color-accent-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap var(--transition-fast), color var(--transition-fast);
}

.card__link:hover {
    color: var(--color-primary);
    gap: var(--space-sm);
}

.card__link svg {
    width: 16px;
    height: 16px;
}

/* --- Trust / Feature Boxes --- */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.trust-item {
    text-align: center;
    padding: var(--space-xl);
}

.trust-item__icon {
    width: 64px;
    height: 64px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    color: var(--color-primary-dark);
}

.trust-item__icon svg {
    width: 28px;
    height: 28px;
}

.trust-item__title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-sm);
}

.trust-item__text {
    color: var(--color-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* --- Content Sections (Unterseiten) --- */
.content-section {
    padding: var(--space-3xl) 0;
}

.content-section:nth-child(even) {
    background: var(--color-light);
}

.content-section h2 {
    position: relative;
    padding-bottom: var(--space-md);
    margin-bottom: var(--space-xl);
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--color-accent);
    border-radius: 2px;
}

.content-section p {
    max-width: 800px;
    color: var(--color-text);
    line-height: 1.8;
}

.content-section strong {
    display: block;
    font-size: 1.05rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xs);
    color: var(--color-primary-dark);
}

.content-section ul {
    list-style: none;
    padding: 0;
}

.content-section ul li {
    position: relative;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-sm);
    color: var(--color-text);
}

.content-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
}

/* --- Werkstatt Gallery --- */
.werkstatt-gallery {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.werkstatt-gallery__item {
    margin: 0;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.werkstatt-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.werkstatt-gallery__item:hover img {
    transform: scale(1.03);
}

.werkstatt-gallery__item figcaption {
    padding: var(--space-sm) var(--space-md);
    background: var(--color-primary-dark);
    color: var(--color-white);
    font-size: 0.85rem;
    text-align: center;
}

/* --- CTA Banner (konsistent auf allen Unterseiten) --- */
.cta-banner {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    padding: var(--space-3xl) 0;
    text-align: center;
    color: var(--color-white);
}

.cta-banner h2 {
    color: var(--color-white);
    margin-bottom: var(--space-md);
}

.cta-banner h2::after {
    display: none;
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.cta-banner .btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(232, 165, 0, 0.4);
}

/* --- Contact Info Section --- */
.contact-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.contact-card {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
    text-align: center;
}

.contact-card__icon {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    color: var(--color-accent);
}

.contact-card__icon svg {
    width: 22px;
    height: 22px;
}

.contact-card__title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-gray-400);
    margin-bottom: var(--space-sm);
}

.contact-card__content {
    font-size: 1rem;
    color: var(--color-text);
    line-height: 1.6;
}

.contact-card__content a {
    color: var(--color-primary);
    font-weight: 600;
}

/* --- Contact Form --- */
.contact-form {
    background: var(--color-white);
    border-radius: var(--border-radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-gray-100);
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group--full {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-gray-600);
    margin-bottom: var(--space-xs);
}

.form-group label .required {
    color: var(--color-danger);
}

.form-group input,
.form-group textarea,
.form-group select {
    padding: 0.75rem 1rem;
    font-family: var(--font-main);
    font-size: 0.95rem;
    border: 2px solid var(--color-gray-200);
    border-radius: var(--border-radius);
    transition: border-color var(--transition-fast);
    background: var(--color-white);
    color: var(--color-text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-primary-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    grid-column: 1 / -1;
}

.form-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--color-primary);
}

.form-checkbox label {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-gray-500);
    line-height: 1.5;
}

.form-submit {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start;
    margin-top: var(--space-md);
}

/* --- FAQ Section --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-gray-200);
}

.faq-item:first-child {
    border-top: 1px solid var(--color-gray-200);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg) 0;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    text-align: left;
    gap: var(--space-md);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--color-accent-dark);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--color-gray-400);
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
    color: var(--color-accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding-bottom: var(--space-lg);
}

.faq-answer p {
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --- Google Map Embed --- */
.map-container {
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-gray-200);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: 0;
}

/* --- Footer --- */
.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-lg) 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1.2fr;
    gap: var(--space-sm) var(--space-xl);
    padding-bottom: var(--space-lg);
    align-items: start;
}

.footer-about p {
    margin-top: var(--space-xs);
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.55);
}

.footer-heading {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--color-white);
    margin-bottom: var(--space-sm);
}

.footer-links li {
    margin-bottom: 0;
    line-height: 1.2;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.82rem;
    display: inline-block;
    padding: 0.12rem 0;
    transition: color var(--transition-fast);
}

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

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    margin-bottom: 0.35rem;
    font-size: 0.82rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact-item:last-child {
    margin-bottom: 0;
}

.footer-contact-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--color-accent);
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.55);
}

.footer-contact-item a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-sm) 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.3);
}

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

.footer-legal {
    display: flex;
    gap: var(--space-md);
}

/* --- Page Breadcrumb --- */
.breadcrumb {
    padding-top: calc(var(--header-height) + var(--space-lg));
    padding-bottom: var(--space-md);
    background: var(--color-light);
    border-bottom: 1px solid var(--color-gray-200);
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.85rem;
    color: var(--color-gray-400);
}

.breadcrumb__list a {
    color: var(--color-gray-500);
}

.breadcrumb__list a:hover {
    color: var(--color-primary);
}

.breadcrumb__separator {
    color: var(--color-gray-300);
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */

/* Tablets (max 1024px) */
@media (max-width: 1024px) {
    .card-grid--3 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-lg) var(--space-xl);
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .header-cta {
        display: none;
    }

    .main-nav {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: var(--space-xl);
        overflow-y: auto;
        z-index: 999;
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav__list {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }

    .main-nav__list > li {
        width: 100%;
        border-bottom: 1px solid var(--color-gray-200);
    }

    .main-nav__list > li:first-child {
        border-top: 1px solid var(--color-gray-200);
    }

    .main-nav__link {
        font-size: 1.1rem;
        padding: var(--space-lg) var(--space-md);
        border-bottom: none;
        border-radius: 0;
        width: 100%;
        text-align: center;
    }

    /* Mobile Dropdown */
    .has-dropdown {
        width: 100%;
    }

    .main-nav__dropdown-toggle {
        width: 100%;
        justify-content: center;
        gap: var(--space-sm);
    }

    .dropdown-menu {
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        min-width: 0 !important;
        max-height: 0;
        overflow: hidden;
        opacity: 1 !important;
        visibility: visible !important;
        transition: max-height 0.3s ease;
        background: var(--color-light);
    }

    .has-dropdown.open .dropdown-menu {
        max-height: 500px !important;
    }

    .has-dropdown:hover .dropdown-menu {
        max-height: 0;
    }

    .has-dropdown.open:hover .dropdown-menu {
        max-height: 500px !important;
    }

    .dropdown-menu__link {
        padding: 0.75rem var(--space-md);
        border-bottom: 1px solid var(--color-gray-200);
        font-size: 1rem;
        text-align: center;
    }

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

    .nav-mobile-cta {
        margin-top: auto;
        padding-top: var(--space-xl);
        display: flex;
        flex-direction: column;
        gap: var(--space-md);
        width: 100%;
    }

    .menu-toggle {
        display: block;
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    :root {
        --space-3xl: 3rem;
        --space-4xl: 4rem;
    }

    .card-grid--2,
    .card-grid--3,
    .card-grid--4 {
        grid-template-columns: 1fr;
    }

    .trust-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .werkstatt-gallery {
        grid-template-columns: 1fr;
    }

    .trust-item {
        padding: var(--space-lg);
        display: flex;
        align-items: center;
        text-align: left;
        gap: var(--space-lg);
    }

    .trust-item__icon {
        margin: 0;
        flex-shrink: 0;
        width: 52px;
        height: 52px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding-top: var(--space-xl);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-md) var(--space-lg);
    }

    .footer-about {
        grid-column: 1 / -1;
        display: flex;
        align-items: center;
        gap: var(--space-md);
        padding-bottom: var(--space-md);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: var(--space-xs);
    }

    .footer-about .site-logo__img--footer {
        height: 32px;
        padding: 4px 8px;
    }

    .footer-about p {
        margin: 0;
        font-size: 0.8rem;
        line-height: 1.4;
    }

    .footer-heading {
        font-size: 0.75rem;
        margin-bottom: var(--space-sm);
    }

    .footer-contact-item {
        margin-bottom: 0.3rem;
        font-size: 0.8rem;
        gap: 0.35rem;
    }

    .footer-contact-item svg {
        width: 14px;
        height: 14px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-xs);
        text-align: center;
        padding: var(--space-sm) 0;
    }

    .footer-legal {
        justify-content: center;
    }

    .hero {
        padding-top: calc(var(--header-height) + var(--space-2xl));
        padding-bottom: var(--space-2xl);
    }

    .hero--home {
        padding-top: calc(var(--header-height) + var(--space-2xl));
        padding-bottom: var(--space-2xl);
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        justify-content: center;
    }

    .contact-form {
        padding: var(--space-lg);
    }

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

    .site-logo__tagline {
        display: none;
    }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .btn {
        padding: 0.7rem 1.4rem;
        font-size: 0.9rem;
    }

    .card {
        padding: var(--space-lg);
    }
}

/* --- Form Validation States --- */
.input-error {
    border-color: var(--color-danger) !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.15);
}

.input-error:focus {
    border-color: var(--color-danger) !important;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.25);
}

/* --- Success/Error Messages --- */
.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--border-radius);
    margin-bottom: var(--space-xl);
    font-size: 0.95rem;
    line-height: 1.6;
}

.alert--success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert--error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* --- Responsive Anfahrt Grid --- */
@media (max-width: 768px) {
    .anfahrt-grid {
        grid-template-columns: 1fr !important;
    }
}

/* --- Print Styles --- */
@media print {
    .site-header,
    .site-footer,
    .menu-toggle,
    .cta-banner {
        display: none;
    }

    .hero {
        padding-top: var(--space-xl);
        background: none;
        color: var(--color-text);
    }

    .hero h1 {
        color: var(--color-text);
    }

    body {
        font-size: 12pt;
    }
}
