/* =========================================================
   Walz Garagentore – Hauptstylesheet
   Farbpalette: Anthrazit + Weiß/Hellgrau + Akzent Purpurrot
   Mobile First, responsive
   ========================================================= */

/* ---------- Variablen ---------- */
:root {
    --color-primary: #1f2730;       /* Anthrazit */
    --color-primary-dark: #14181f;
    --color-secondary: #f5f6f8;     /* Hellgrau */
    --color-white: #ffffff;
    --color-text: #2a2f37;
    --color-text-light: #5a626d;
    --color-accent: #B80F0A;        /* purpurrot */
    --color-accent-dark: #c75f12;
    --color-border: #e3e5ea;
    --color-success: #2f9e44;
    --shadow-sm: 0 2px 8px rgba(20, 24, 31, 0.06);
    --shadow-md: 0 6px 20px rgba(20, 24, 31, 0.08);
    --shadow-lg: 0 12px 40px rgba(20, 24, 31, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --max-width: 1200px;
    --transition: 0.25s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-dark); }

h1, h2, h3, h4 {
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1.25;
    margin: 0 0 0.6em;
}
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ---------- Top-Bar (Telefon, E-Mail) ---------- */
.topbar {
    background: var(--color-primary-dark);
    color: var(--color-white);
    font-size: 0.875rem;
    padding: 8px 0;
}
.topbar .container {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 18px;
}
.topbar a { color: var(--color-white); }
.topbar a:hover { color: var(--color-accent); }
.topbar .topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* ---------- Header / Nav ---------- */
.site-header {
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-primary);
}
.brand:hover { color: var(--color-primary); }
.brand-mark {
    width: 40px;
    height: 40px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
}
.brand-text small {
    display: block;
    font-weight: 500;
    color: var(--color-text-light);
    font-size: 0.8rem;
}

/* Hauptnavigation */
.nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 1px solid var(--color-border);
    background: var(--color-white);
    border-radius: var(--radius-sm);
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-primary);
    border-radius: 2px;
}
.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 16px 20px;
}
.main-nav.is-open { display: block; }
.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.main-nav a {
    display: block;
    padding: 10px 12px;
    color: var(--color-primary);
    font-weight: 600;
    border-radius: var(--radius-sm);
}
.main-nav a:hover,
.main-nav a.active {
    background: var(--color-secondary);
    color: var(--color-accent);
}

@media (min-width: 880px) {
    .nav-toggle { display: none; }
    .main-nav {
        display: block;
        position: static;
        padding: 0;
        border: 0;
        box-shadow: none;
    }
    .main-nav ul {
        flex-direction: row;
        gap: 4px;
        align-items: center;
    }
    .main-nav a { padding: 10px 14px; }
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 26px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-align: center;
    line-height: 1.2;
}
.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}
.btn-primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border-color: var(--color-white);
}
.btn-secondary:hover {
    background: var(--color-white);
    color: var(--color-primary);
}
.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}
.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(20, 24, 31, 0.85) 0%, rgba(31, 39, 48, 0.65) 100%),
        url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: var(--color-white);
    padding: 80px 0;
}
.hero h1 {
    color: var(--color-white);
    font-size: 2.2rem;
    margin-bottom: 20px;
    max-width: 720px;
}
.hero .lead {
    font-size: 1.15rem;
    max-width: 640px;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.92);
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

@media (min-width: 768px) {
    .hero { min-height: 620px; }
    .hero h1 { font-size: 3rem; }
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
}

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-alt { background: var(--color-secondary); }
.section-header {
    max-width: 720px;
    margin: 0 auto 48px;
    text-align: center;
}
.section-header .eyebrow {
    display: inline-block;
    color: var(--color-accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.section-header p { color: var(--color-text-light); font-size: 1.05rem; }

/* ---------- Intro Block ---------- */
.intro {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}
.intro p { font-size: 1.05rem; }

/* ---------- Service-Kacheln ---------- */
.cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(4, 1fr); } }

.card {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 28px 24px;
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}
.card .icon {
    width: 52px;
    height: 52px;
    background: var(--color-secondary);
    color: var(--color-accent);
    border-radius: var(--radius-sm);
    display: grid;
    place-items: center;
    margin-bottom: 16px;
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--color-text-light); margin-bottom: 0; }

/* ---------- Vorteile / Features ---------- */
.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, 1fr); } }

.feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 18px;
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}
.feature .check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    display: grid;
    place-items: center;
}
.feature .check svg { width: 16px; height: 16px; }
.feature h4 { margin: 0 0 4px; font-size: 1rem; color: var(--color-primary); }
.feature p { margin: 0; color: var(--color-text-light); font-size: 0.95rem; }

/* ---------- Marken-Logos ---------- */
.brands {
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    padding: 36px 0;
}
.brands-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 36px 56px;
}
.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--color-primary);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    opacity: 0.85;
    transition: opacity var(--transition);
}
.brand-badge:hover { opacity: 1; color: var(--color-primary); }
.brand-badge .dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-accent);
}

/* ---------- Split / Two Column ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 60px; } }
.split-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4 / 3;
    background:
        linear-gradient(135deg, rgba(20, 24, 31, 0.0), rgba(20, 24, 31, 0.15)),
        url('https://images.unsplash.com/photo-1572120360610-d971b9d7767c?auto=format&fit=crop&w=1200&q=80') center/cover;
}
.split-image.alt {
    background:
        linear-gradient(135deg, rgba(20, 24, 31, 0.0), rgba(20, 24, 31, 0.15)),
        url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?auto=format&fit=crop&w=1200&q=80') center/cover;
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 56px 0;
    text-align: center;
}
.cta-banner h2 { color: var(--color-white); }
.cta-banner p { color: rgba(255, 255, 255, 0.85); max-width: 640px; margin: 0 auto 24px; }
.cta-banner .hero-buttons { justify-content: center; }

/* ---------- Service-Detail Liste ---------- */
.service-detail {
    background: var(--color-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 32px;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
}
@media (min-width: 768px) {
    .service-detail { grid-template-columns: 80px 1fr; gap: 28px; }
}
.service-detail .icon-large {
    width: 72px;
    height: 72px;
    background: var(--color-secondary);
    color: var(--color-accent);
    border-radius: var(--radius-md);
    display: grid;
    place-items: center;
}
.service-detail .icon-large svg { width: 38px; height: 38px; }

/* ---------- Kontakt-Bereich ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; } }

.contact-info {
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--radius-md);
    padding: 32px;
}
.contact-info h3 { color: var(--color-white); }
.contact-info a { color: var(--color-white); font-weight: 600; }
.contact-info a:hover { color: var(--color-accent); }
.contact-info .info-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}
.contact-info .info-row svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    margin-top: 3px;
}
.opening-hours {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.opening-hours dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.opening-hours dt { font-weight: 600; }
.opening-hours dd { margin: 0; color: rgba(255, 255, 255, 0.85); }

/* ---------- Formular ---------- */
.contact-form {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 32px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
@media (min-width: 600px) { .form-row.two { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; margin-bottom: 16px; }
.form-group label {
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 6px;
    font-size: 0.95rem;
}
.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 14px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    background: var(--color-white);
    color: var(--color-text);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(232, 119, 34, 0.15);
}
.form-group textarea { min-height: 130px; resize: vertical; }

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: var(--color-secondary);
    padding: 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
}
.checkbox-group input { margin-top: 4px; flex-shrink: 0; }
.checkbox-group label { font-size: 0.9rem; color: var(--color-text-light); margin: 0; line-height: 1.5; font-weight: 400; }
.checkbox-group label a { color: var(--color-accent); }

.form-note {
    font-size: 0.85rem;
    color: var(--color-text-light);
    margin-top: 12px;
}
.form-success {
    display: none;
    background: #e8f5ec;
    color: var(--color-success);
    padding: 14px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
    font-weight: 600;
}
.form-success.show { display: block; }

/* ---------- Karte / Map Placeholder ---------- */
.map-placeholder {
    background: var(--color-secondary);
    border: 2px dashed var(--color-border);
    border-radius: var(--radius-md);
    padding: 48px 24px;
    text-align: center;
    color: var(--color-text-light);
    margin-top: 32px;
}
.map-placeholder strong { color: var(--color-primary); display: block; margin-bottom: 8px; }
.map-placeholder .btn { margin-top: 16px; }

/* ---------- Listen ---------- */
.list-clean { list-style: none; padding: 0; margin: 0 0 16px; }
.list-clean li {
    padding-left: 28px;
    position: relative;
    margin-bottom: 10px;
}
.list-clean li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 16px;
    height: 16px;
    background: var(--color-accent);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

/* ---------- Page Header (Sub-Pages) ---------- */
.page-header {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 56px 0;
    text-align: center;
}
.page-header h1 { color: var(--color-white); margin-bottom: 8px; }
.page-header p { color: rgba(255, 255, 255, 0.82); margin: 0; }
.breadcrumb {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 12px;
}
.breadcrumb a { color: rgba(255, 255, 255, 0.85); }

/* ---------- Legal Pages ---------- */
.legal-content {
    max-width: 880px;
    margin: 0 auto;
}
.legal-content h2 { margin-top: 36px; }
.legal-content h3 { margin-top: 24px; font-size: 1.1rem; }
.legal-content p, .legal-content li { color: var(--color-text-light); }
.legal-content strong { color: var(--color-primary); }

/* ---------- Footer ---------- */
.site-footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.78);
    padding: 56px 0 0;
    font-size: 0.95rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 36px;
}
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

.site-footer h4 {
    color: var(--color-white);
    font-size: 1rem;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.site-footer a { color: rgba(255, 255, 255, 0.78); }
.site-footer a:hover { color: var(--color-accent); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
}
@media (min-width: 700px) {
    .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- Floating Call-Button (Mobile) ---------- */
.float-call {
    position: fixed;
    right: 16px;
    bottom: 16px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-white);
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-lg);
    z-index: 90;
    transition: transform var(--transition);
}
.float-call:hover { transform: scale(1.05); color: var(--color-white); }
.float-call svg { width: 26px; height: 26px; }
@media (min-width: 880px) { .float-call { display: none; } }

/* ---------- Cookie-Banner ---------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 18px 20px;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    display: none;
}
.cookie-banner.show { display: block; }
.cookie-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
}
@media (min-width: 800px) {
    .cookie-inner { flex-direction: row; align-items: center; }
    .cookie-text { flex: 1; }
}
.cookie-banner p { margin: 0; font-size: 0.92rem; color: rgba(255, 255, 255, 0.9); }
.cookie-banner a { color: var(--color-accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 18px; font-size: 0.92rem; }

/* ---------- Helpers ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
