/* ==========================================================================
   DS Garage – Unterseiten

   Kleidet die bestehenden Inhaltsbausteine der Unterseiten (Leistungen,
   Ankauf, Über uns, Kontakt, Blog, Ortsseiten, Ratgeberbeiträge) in das
   Design der neuen Startseite. Wird NACH neu.css geladen und ersetzt
   style.css und modern.css vollständig.

   Die Texte und die HTML-Struktur der Seiten bleiben unangetastet –
   hier ändert sich nur das Aussehen.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Grundgerüst
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

main > section,
main > div.services,
main > div.intro-section,
main > div.faq-section,
main > div.contact {
    position: relative;
    padding: clamp(64px, 8vw, 104px) 0;
}

.sec-surface,
.services,
.reviews-section,
.steps-section,
.blog-page-header { background: var(--surface); }

/* Abschnittsüberschriften */
.section-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    margin-bottom: 48px;
}

.section-title h1,
.section-title h2 {
    font-family: var(--serif);
    font-size: clamp(1.7rem, 3.6vw, 2.5rem);
    line-height: 1.14;
    letter-spacing: -0.01em;
    margin: 0;
}

.section-title p {
    max-width: 60ch;
    margin: 0;
    color: var(--ink-2);
    font-size: 1.02rem;
}

/* Die goldene Linie unter den alten Überschriften entfällt */
.section-title h2::after,
.section-title::after { content: none !important; }

h1, h2, h3, h4 { font-family: var(--serif); letter-spacing: -0.01em; }
h3 { font-size: 1.16rem; line-height: 1.25; }
h4 { font-size: 1.02rem; }

/* --------------------------------------------------------------------------
   2. Seitenkopf statt des alten page-hero
   -------------------------------------------------------------------------- */
.page-hero {
    position: relative;
    padding: calc(var(--nav-h, 86px) + 52px) 0 44px;
    text-align: center;
    background:
        radial-gradient(58% 100% at 50% 0%, var(--gold-wash), transparent 68%),
        var(--paper);
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.1rem);
    line-height: 1.08;
    margin: 0 0 14px;
    color: var(--ink);
}

.page-hero p {
    max-width: 62ch;
    margin: 0 auto;
    color: var(--ink-2);
    font-size: 1.04rem;
}

.page-hero .hero-shapes { display: none; }

/* Brotkrumen */
.breadcrumb {
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: 13px 0;
    font-size: 0.82rem;
    font-family: var(--mono);
    letter-spacing: 0.02em;
}

.breadcrumb a { color: var(--gold-ink); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-underline-offset: 3px; }
.breadcrumb span { color: var(--muted); }

/* --------------------------------------------------------------------------
   3. Karten: Leistungen, Vorteile, Ortsseiten
   -------------------------------------------------------------------------- */
.services-grid,
.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 22px;
}

.service-card,
.intro-card {
    position: relative;
    isolation: isolate;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px 26px;
    box-shadow: var(--shadow);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease), border-color 0.4s ease;
}

.service-card:hover,
.intro-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lift);
    border-color: rgba(232, 181, 60, 0.45);
}

.service-icon,
.intro-icon {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: var(--gold-wash);
    color: var(--gold-ink);
    font-size: 1.14rem;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover .service-icon,
.intro-card:hover .intro-icon { transform: scale(1.1) rotate(-6deg); }

.service-card h3,
.intro-card h3 { margin: 0 0 8px; }

.service-card p,
.intro-card p {
    margin: 0;
    color: var(--ink-2);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* Hinweiskästen (TÜV, Service-Versprechen, Anfahrt) */
.tuv-box {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 26px 28px;
    margin-top: 34px;
    background: var(--card);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.tuv-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--gold-wash);
    color: var(--gold-ink);
}

.tuv-content h4 { margin: 0 0 6px; font-size: 1.05rem; }
.tuv-content p { margin: 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.65; }

/* Ortsseiten */
.local-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.local-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    box-shadow: var(--shadow);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.local-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.local-card h3 { display: flex; align-items: center; gap: 10px; margin: 8px 0 8px; }
.local-card h3 i { color: var(--gold-dark); font-size: 0.9rem; }
.local-card p { color: var(--ink-2); font-size: 0.93rem; margin: 0 0 14px; }

.local-distance,
.reviews-topic {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-family: var(--mono);
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--gold-wash);
    color: var(--gold-ink);
}

.local-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gold-ink);
}

.local-link i { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.local-card:hover .local-link i { transform: translateX(5px); }

/* --------------------------------------------------------------------------
   4. Vertrauensleiste
   -------------------------------------------------------------------------- */
.trust-bar {
    background: var(--card);
    border-bottom: 1px solid var(--line);
    padding: 15px 0;
}

.trust-bar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 11px 28px;
}

.trust-bar-list li {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 0.86rem;
    color: var(--ink-2);
    white-space: nowrap;
}

.trust-bar-list i { color: var(--gold-dark); font-size: 0.9rem; }
.trust-bar-list strong { color: var(--ink); font-weight: 600; }

@media (max-width: 768px) {
    .trust-bar-list {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        gap: 20px;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent);
        mask-image: linear-gradient(90deg, #000 88%, transparent);
    }
    .trust-bar-list::-webkit-scrollbar { display: none; }
    .trust-bar-list li { font-size: 0.8rem; }
}

/* --------------------------------------------------------------------------
   5. Ablauf in Schritten
   -------------------------------------------------------------------------- */
.steps-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
    gap: 22px;
}

.step-card,
.process-step {
    position: relative;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 26px 26px;
    box-shadow: var(--shadow);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.step-card:hover,
.process-step:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }

.step-number,
.process-step-number {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-family: var(--mono);
    font-weight: 600;
    font-size: 1rem;
}

.step-number {
    position: absolute;
    top: -19px;
    left: 26px;
}

.step-card h3, .process-step h3 { margin: 10px 0 10px; }
.step-card p, .process-step p { margin: 0; color: var(--ink-2); font-size: 0.94rem; line-height: 1.65; }

/* --------------------------------------------------------------------------
   6. Bewertungen
   -------------------------------------------------------------------------- */
.reviews-summary {
    display: grid;
    grid-template-columns: minmax(190px, 240px) 1fr;
    gap: 30px;
    align-items: center;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 38px;
    box-shadow: var(--shadow);
}

.reviews-score { text-align: center; }

.reviews-score-number {
    font-family: var(--serif);
    font-size: 3.4rem;
    font-weight: 600;
    line-height: 1;
    color: var(--ink);
}

.reviews-score-stars { color: var(--gold); letter-spacing: 3px; margin: 8px 0 6px; }
.reviews-score-count { font-size: 0.86rem; color: var(--muted); }

.reviews-topics-label {
    font-family: var(--mono);
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--muted);
    margin-bottom: 13px;
}

.reviews-topic-list { display: flex; flex-wrap: wrap; gap: 9px; }

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(265px, 1fr));
    gap: 20px;
}

.review-card {
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    gap: 13px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 24px;
    box-shadow: var(--shadow);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.review-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.review-stars { color: var(--gold); font-size: 0.9rem; letter-spacing: 2px; }

.review-card blockquote {
    position: relative;
    margin: 0;
    flex-grow: 1;
    font-size: 1rem;
    line-height: 1.7;
    color: var(--ink);
}

.review-card blockquote::before {
    content: '\201C';
    position: absolute;
    top: -22px;
    left: -6px;
    z-index: -1;
    font-family: var(--serif);
    font-size: 3.4rem;
    color: rgba(232, 181, 60, 0.3);
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 13px;
    border-top: 1px solid var(--line);
    background: none;
    color: inherit;
}

.review-avatar {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    font-size: 0.86rem;
    font-weight: 600;
}

.review-author { display: flex; flex-direction: column; font-weight: 600; font-size: 0.92rem; line-height: 1.3; }
.review-author small { font-weight: 400; font-size: 0.76rem; color: var(--muted); }

.reviews-cta { text-align: center; margin-top: 34px; }

@media (max-width: 768px) {
    .reviews-summary { grid-template-columns: 1fr; text-align: center; padding: 26px 20px; }
    .reviews-topic-list { justify-content: center; }
    .reviews-topics-label { text-align: center; }
}

/* --------------------------------------------------------------------------
   7. Häufige Fragen
   -------------------------------------------------------------------------- */
.faq-container { max-width: 800px; margin: 0 auto; }

.faq-item {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.faq-item:hover { border-color: rgba(232, 181, 60, 0.5); }
.faq-item.active { box-shadow: var(--shadow); }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
}

.faq-question h3 { margin: 0; font-size: 1.02rem; }

.faq-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--gold-wash);
    color: var(--gold-ink);
    font-size: 1rem;
    line-height: 1;
    transition: transform 0.4s var(--ease), background-color 0.3s ease;
}

.faq-item.active .faq-icon { transform: rotate(45deg); background: var(--ink); color: #fff; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 24px;
    transition: max-height 0.45s var(--ease), padding 0.45s var(--ease);
}

.faq-item.active .faq-answer { max-height: 560px; padding: 0 24px 22px; }
.faq-answer p { margin: 0 0 10px; color: var(--ink-2); font-size: 0.96rem; line-height: 1.7; }
.faq-answer p:last-child { margin-bottom: 0; }

/* --------------------------------------------------------------------------
   8. Formulare
   -------------------------------------------------------------------------- */
.contact-container,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 44px;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-container, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
}

.contact-form,
.form-wrapper {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 32px 30px;
    box-shadow: var(--shadow);
}

.form-group { margin-bottom: 17px; }

.form-group label {
    display: block;
    margin-bottom: 7px;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--ink);
}

.form-control {
    width: 100%;
    padding: 13px 15px;
    font: inherit;
    font-size: 0.95rem;
    color: var(--ink);
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: 12px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.form-control::placeholder { color: var(--muted); }

.form-control:focus {
    outline: none;
    background: var(--card);
    border-color: var(--gold);
    box-shadow: 0 0 0 4px rgba(232, 181, 60, 0.16);
}

textarea.form-control { resize: vertical; min-height: 120px; }

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 18px 0 20px;
    padding: 14px 16px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.form-consent input[type="checkbox"] {
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    margin-top: 2px;
    accent-color: var(--gold-dark);
    cursor: pointer;
}

.form-consent label {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 400;
    line-height: 1.55;
    color: var(--ink-2);
    cursor: pointer;
}

.form-consent a { color: var(--gold-ink); font-weight: 600; text-underline-offset: 2px; }

/* Rückmeldungen */
.loading, .success-box, .error-box {
    display: none;
    padding: 24px;
    border-radius: var(--radius);
    text-align: center;
}

.loading.show, .success-box.show, .error-box.show { display: block; }
.success-box { background: #edf9f1; border: 1px solid #bfe6cd; }
.success-box h4 { color: #16794a; margin-bottom: 10px; }
.error-box { background: #fdf0ee; border: 1px solid #f3c8c0; }

.success-btn {
    margin-top: 14px;
    padding: 11px 20px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
}

/* Kontaktangaben */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

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

.contact-icon,
.contact-home-icon {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--gold-wash);
    color: var(--gold-ink);
}

.contact-details h3,
.contact-home-text h4 { margin: 0 0 4px; font-size: 1rem; }
.contact-details p,
.contact-home-text p { margin: 0; color: var(--ink-2); font-size: 0.94rem; line-height: 1.6; }
.contact-details a,
.contact-home-text a { color: var(--ink); text-decoration: none; }
.contact-details a:hover,
.contact-home-text a:hover { color: var(--gold-ink); text-decoration: underline; text-underline-offset: 3px; }

/* Karte */
.map-container {
    margin-top: 34px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

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

/* --------------------------------------------------------------------------
   9. Blog
   -------------------------------------------------------------------------- */
.blog-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 991px) { .blog-container { grid-template-columns: 1fr; } }

.blog-post {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 26px;
    box-shadow: var(--shadow);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.blog-post:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }

.post-image {
    position: relative;
    aspect-ratio: 16 / 9;
    background-size: cover;
    background-position: center;
}

.post-category {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 5px 13px;
    border-radius: 999px;
    background: var(--gold);
    color: #2a1f05;
    font-family: var(--mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.post-content { padding: 26px 28px 28px; }

.post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
    margin-bottom: 12px;
    font-family: var(--mono);
    font-size: 0.74rem;
    color: var(--muted);
}

.post-meta span { display: inline-flex; align-items: center; gap: 6px; }
.post-meta i { color: var(--gold-dark); }

.post-title { margin: 0 0 12px; font-size: 1.32rem; line-height: 1.22; }
.post-title a { color: inherit; text-decoration: none; }
.post-title a:hover { color: var(--gold-ink); }

.post-excerpt { margin: 0 0 18px; color: var(--ink-2); font-size: 0.96rem; line-height: 1.7; }

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-ink);
    text-decoration: none;
}

.read-more i { transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1); }
.read-more:hover i { transform: translateX(5px); }

/* Seitenleiste */
.sidebar-widget {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.widget-title {
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 1.04rem;
}

.sidebar-widget ul { list-style: none; margin: 0; padding: 0; }
.sidebar-widget li { margin-bottom: 9px; }

.sidebar-widget a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--ink-2);
    text-decoration: none;
    font-size: 0.93rem;
    transition: color 0.25s ease, transform 0.25s var(--ease);
}

.sidebar-widget a:hover { color: var(--gold-ink); transform: translateX(3px); }

/* Suche + Blättern */
.blog-search { max-width: 620px; margin: 26px auto 0; }

.search-container { display: flex; gap: 8px; }

.search-input {
    flex: 1;
    padding: 13px 18px;
    font: inherit;
    font-size: 0.94rem;
    background: var(--card);
    border: 1.5px solid var(--line);
    border-radius: 999px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(232, 181, 60, 0.16); }

.search-button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: var(--ink);
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s var(--ease);
}

.search-button:hover { background: var(--gold-dark); transform: scale(1.05); }

.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 34px; }

.blog-pagination a,
.blog-pagination span {
    display: grid;
    place-items: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--card);
    color: var(--ink-2);
    text-decoration: none;
    font-size: 0.92rem;
    transition: all 0.3s var(--ease);
}

.blog-pagination a:hover { border-color: var(--gold); color: var(--ink); }
.blog-pagination .active,
.blog-pagination a.active { background: var(--ink); border-color: var(--ink); color: #fff; }

/* --------------------------------------------------------------------------
   10. Ratgeberbeiträge
   -------------------------------------------------------------------------- */
.post-hero,
.blog-post-header {
    padding: calc(var(--nav-h, 86px) + 46px) 0 40px;
    background:
        radial-gradient(58% 100% at 50% 0%, var(--gold-wash), transparent 68%),
        var(--paper);
    border-bottom: 1px solid var(--line);
    text-align: center;
    color: var(--ink);
}

.post-hero h1,
.blog-post-header h1 {
    max-width: 24ch;
    margin: 0 auto 14px;
    font-size: clamp(1.8rem, 4.4vw, 2.8rem);
    line-height: 1.12;
    color: var(--ink);
}

.article-body,
.post-body,
.blog-content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.04rem;
    line-height: 1.78;
    color: var(--ink-2);
}

.article-body h2,
.post-body h2,
.blog-content h2 {
    margin: 46px 0 16px;
    font-size: clamp(1.4rem, 2.6vw, 1.85rem);
    color: var(--ink);
}

.article-body h3,
.post-body h3,
.blog-content h3 { margin: 32px 0 12px; color: var(--ink); }

.article-body p,
.post-body p,
.blog-content p { margin: 0 0 18px; }

.article-body ul,
.article-body ol,
.post-body ul,
.post-body ol { margin: 0 0 20px; padding-left: 24px; }

.article-body li,
.post-body li { margin-bottom: 9px; }

.article-body a,
.post-body a { color: var(--gold-ink); text-underline-offset: 3px; }

/* Tabellen bleiben seitlich scrollbar */
.table-scroll {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.table-scroll table { margin: 0; min-width: 460px; border-collapse: collapse; width: 100%; }

.table-scroll th,
.table-scroll td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--line);
    font-size: 0.92rem;
}

.table-scroll th { background: var(--surface); font-weight: 600; color: var(--ink); font-family: var(--sans); }
.table-scroll tr:last-child td { border-bottom: 0; }

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

/* --------------------------------------------------------------------------
   11. Über uns
   -------------------------------------------------------------------------- */
.about-content {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 44px;
    align-items: start;
}

@media (max-width: 900px) { .about-content { grid-template-columns: 1fr; gap: 32px; } }

.about-image { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.collage-item {
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.collage-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.collage-item:hover img { transform: scale(1.04); }

.about-text h3 { font-size: 1.5rem; margin: 0 0 16px; }
.about-text p { margin: 0 0 16px; color: var(--ink-2); line-height: 1.75; }

.highlight-box {
    margin: 24px 0;
    padding: 22px 26px;
    background: var(--gold-wash);
    border-left: 3px solid var(--gold);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.highlight-box p {
    margin: 0;
    font-family: var(--hand);
    font-size: 1.3rem;
    line-height: 1.5;
    color: #6b4f06;
}

/* --------------------------------------------------------------------------
   12. Zahlenleiste
   -------------------------------------------------------------------------- */
.stats-section { background: var(--ink); color: #fff; padding: 44px 0; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 28px;
    text-align: center;
}

.stat-icon { color: var(--gold); font-size: 1.3rem; margin-bottom: 10px; }

.stat-number {
    font-family: var(--serif);
    font-size: 2.3rem;
    font-weight: 600;
    line-height: 1;
    color: var(--gold);
    font-variant-numeric: tabular-nums;
}

.stat-label { margin-top: 7px; font-size: 0.86rem; color: rgba(255, 255, 255, 0.72); }

/* --------------------------------------------------------------------------
   13. Schwebende Elemente
   -------------------------------------------------------------------------- */
.whatsapp-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 120;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 10px 28px -8px rgba(37, 211, 102, 0.8);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.whatsapp-button:hover { transform: scale(1.08); }

.scroll-top {
    position: fixed;
    right: 20px;
    bottom: 84px;
    z-index: 119;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: var(--card);
    color: var(--ink);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, transform 0.35s var(--ease);
}

.scroll-top.active { opacity: 1; pointer-events: auto; }
.scroll-top:hover { transform: translateY(-3px); }

/* Schnellzugriff am unteren Rand (nur Handy) */
.mobile-action-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 118;
    display: none;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: var(--line);
    border-top: 1px solid var(--line);
    padding-bottom: env(safe-area-inset-bottom, 0);
    transform: translateY(110%);
    transition: transform 0.5s var(--ease);
}

.mobile-action-bar.visible { transform: none; }

.mobile-action-bar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 6px;
    background: var(--card);
    color: var(--ink);
    text-decoration: none;
    font-size: 0.72rem;
    font-weight: 600;
}

.mobile-action-bar i { font-size: 1.1rem; color: var(--gold-dark); }
.mobile-action-bar .mab-whatsapp i { color: #25d366; }

@media (max-width: 768px) {
    .mobile-action-bar { display: grid; }
    .whatsapp-button, .scroll-top { display: none; }
    .footer { padding-bottom: 80px; }
}

/* --------------------------------------------------------------------------
   14. Rechtstexte in Dialogen
   -------------------------------------------------------------------------- */
.modal-content h3 { margin: 0 0 16px; font-size: 1.4rem; }
.modal-content h4 { margin: 22px 0 8px; font-size: 1rem; }
.modal-content p { margin: 0 0 12px; color: var(--ink-2); font-size: 0.94rem; line-height: 1.7; }
.modal-content a { color: var(--gold-ink); }

/* --------------------------------------------------------------------------
   15. Feinheiten
   -------------------------------------------------------------------------- */
img { max-width: 100%; height: auto; }

.btn-outline {
    background: var(--card);
    color: var(--ink);
    box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn-outline:hover { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--ink); }

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(232, 181, 60, 0.6);
    outline-offset: 3px;
    border-radius: 8px;
}

@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* --------------------------------------------------------------------------
   16. Nachträge
   -------------------------------------------------------------------------- */
.service-content { display: block; }
.service-content h3 { margin: 0 0 8px; }
.service-content p { margin: 0; color: var(--ink-2); font-size: 0.95rem; line-height: 1.65; }

/* Hintergrundbilder, die erst beim Scrollen geladen werden */
.lazy-bg {
    background-color: var(--surface);
    background-size: cover;
    background-position: center;
}

.lazy-bg:not(.bg-loaded) {
    background-image: linear-gradient(110deg, var(--surface) 30%, #fbfaf6 50%, var(--surface) 70%);
    background-size: 220% 100%;
    animation: bgShimmer 1.5s linear infinite;
}

.lazy-bg.bg-loaded { animation: none; }

@keyframes bgShimmer {
    from { background-position: 220% 0; }
    to   { background-position: -20% 0; }
}

/* TÜV-Termine */
.tuv-schedule {
    margin-top: 20px;
    padding: 26px 28px;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.tuv-schedule > h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 16px;
    font-size: 1.1rem;
}

.tuv-schedule > h3 i { color: var(--gold-dark); font-size: 0.95rem; }

.tuv-day {
    padding: 16px 20px;
    background: var(--gold-wash);
    border-radius: 12px;
}

.tuv-day h4 { margin: 0 0 6px; font-size: 1rem; color: #6b4f06; }
.tuv-day p { margin: 0; font-size: 0.93rem; line-height: 1.65; color: var(--ink-2); }

.tuv-schedule > p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--muted);
}

.tuv-schedule > p i { color: var(--gold-dark); margin-top: 3px; }

/* Weitere Container */
.about-section { padding: clamp(64px, 8vw, 104px) 0; }
.contact-info { display: flex; flex-direction: column; }
.reviews-topics { min-width: 0; }

/* Doppelte Überschrift direkt unter dem Seitenkopf vermeiden:
   Der erste Abschnitt wiederholte die H1 des Seitenkopfs wortgleich. */
.page-hero + .breadcrumb + .trust-bar + main .section-title:first-of-type.is-duplicate,
.section-title.is-duplicate { display: none; }
