/* ==========================================================================
   Lokale Schriften (selbst gehostet – keine externe Übermittlung)
   ========================================================================== */
@font-face { font-family:'Archivo'; font-style:normal; font-weight:600; font-display:swap; src:url('../fonts/archivo.woff2') format('woff2'); }
@font-face { font-family:'Archivo'; font-style:normal; font-weight:700; font-display:swap; src:url('../fonts/archivo.woff2') format('woff2'); }
@font-face { font-family:'IBM Plex Sans'; font-style:normal; font-weight:400; font-display:swap; src:url('../fonts/plexsans.woff2') format('woff2'); }
@font-face { font-family:'IBM Plex Sans'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/plexsans.woff2') format('woff2'); }
@font-face { font-family:'IBM Plex Mono'; font-style:normal; font-weight:500; font-display:swap; src:url('../fonts/plexmono.woff2') format('woff2'); }

/***************************************************************************************
 * B&L Handelsgesellschaft - Statische Webseite
 * Konvertiert von Joomla zu reinem HTML5/CSS
 ***************************************************************************************/

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */

:root {
    --paper:#F7F8FA; --surface:#FFFFFF; --ink:#1A1D21; --steel:#5A6470;
    --line:#DCE0E6; --signal:#C24A18; --signal-strong:#A53D13;
    --signal-light:#E0884A; /* lesbarer Orangeton auf dunklem Grund (≈6:1) */
    --bar:#2B1E14; /* warmes Espresso-Braun (Original-Anmutung) */
    --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px;
    --s7:48px; --s8:64px; --s9:96px;
    --r:6px; --container:1200px;
    --font-display:"Archivo",system-ui,sans-serif;
    --font-body:"IBM Plex Sans",system-ui,sans-serif;
    --font-mono:"IBM Plex Mono",ui-monospace,monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    color-scheme: light;
}

body {
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: var(--signal);
    transition: color 0.2s ease;
}

a:hover {
    color: var(--signal-strong);
}

:focus-visible {
    outline: 2px solid var(--signal);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--ink);
    text-wrap: balance;
}

h1 {
    font-size: clamp(2.1rem, 1.5rem + 2.1vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--s4);
}

h2 {
    font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.1rem);
    margin-bottom: var(--s4);
}

h3 {
    font-size: 1.3rem;
    margin-bottom: var(--s3);
}

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

p {
    margin-bottom: var(--s4);
    max-width: 68ch;
}

strong {
    font-weight: 600;
}

.eyebrow {
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: .8125rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--steel);
    display: inline-block;
    margin-bottom: var(--s3);
}

.mono { font-family: var(--font-mono); font-weight: 500; }

/* Hero-Typografie (nur Startseite-Hero) — oranger Kicker + ruhigere H1 */
.hero .eyebrow {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--signal);
    letter-spacing: .02em;
    white-space: nowrap;
}
.hero h1 { font-size: clamp(1.7rem, 1.35rem + 1.2vw, 2.4rem); }

/* Sehr schmale Screens: Eyebrow darf umbrechen statt zu überlaufen */
@media (max-width: 600px) {
    .hero .eyebrow {
        white-space: normal;
        font-size: 1.05rem;
        letter-spacing: .04em;
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Layout Container
   ========================================================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-12 {
    width: 100%;
    padding: 0 15px;
}

.col-9 {
    width: 75%;
    padding: 0 15px;
}

.col-6 {
    width: 50%;
    padding: 0 15px;
}

.col-4 {
    width: 33.333%;
    padding: 0 15px;
}

.col-3 {
    width: 25%;
    padding: 0 15px;
}

/* ==========================================================================
   Header & Top Row
   ========================================================================== */

/* Whole header sticks — so contact + menu stay visible on scroll.
   (Sticking only #header-row failed: its container #header is only header-tall,
    so the nav unstuck after ~100px.) */
#header {
    background: var(--surface);
    position: sticky;
    top: 0;
    z-index: 1000;
}

#top-row { background: var(--bar); padding: var(--s2) 0; }

#top-row .meta-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--s3) var(--s5);
    flex-wrap: wrap;
}

.meta-brand {
    color: #B6A48F;
    font-size: .72rem;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.meta-contact {
    display: flex;
    align-items: center;
    gap: var(--s2) var(--s5);
    flex-wrap: wrap;
}

.meta-contact a, .meta-hours { font-size: .78rem; }
.meta-contact a { color: #EFE6D9; }
.meta-contact a:hover { color: #fff; }
.meta-phone { letter-spacing: .02em; }
.meta-hours { color: #C2B3A1; }

#header-row {
    background: var(--surface);
    border-bottom: 2px solid var(--signal);
}

@media (max-width: 600px) {
    .meta-brand, .meta-hours { display: none; }
    #top-row .meta-bar { justify-content: center; }
    .meta-contact { gap: var(--s4); }
}

#header-row .container { padding: 0; }

#header-row .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--s6);
    padding: var(--s5) var(--s5);
    max-width: var(--container);
    margin: 0 auto;
}

#logo { flex-shrink: 0; position: relative; }

#logo a {
    display: inline-block;
    line-height: 0;
}

#logo img {
    max-height: 88px;
    width: auto;
    height: auto;
    display: block;
}

/* ==========================================================================
   Navigation - Modern Clean Style
   ========================================================================== */

nav { display: flex; align-items: center; gap: var(--s4); }

.header-cta {
    padding: var(--s2) var(--s4);
    font-size: .9rem;
    white-space: nowrap;
}
@media (max-width: 480px) {
    .header-cta { padding: var(--s2) var(--s3); }
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: var(--s1);
    flex-wrap: wrap;
    justify-content: flex-end;
}

nav ul li { position: relative; }

nav ul li a {
    display: block;
    padding: var(--s2) var(--s3);
    color: var(--ink);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: .95rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-radius: var(--r);
    transition: background .2s ease, color .2s ease;
    white-space: nowrap;
}

nav ul li a:hover {
    background: #FBEDE5;
    color: var(--signal);
}

nav ul li.active > a {
    color: var(--signal);
    box-shadow: inset 0 -3px 0 var(--signal);
}

/* Dropdown Menu */
nav ul li.dropdown .sub-menu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    margin-top: var(--s2);
    z-index: 1000;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    min-width: 210px;
    box-shadow: 0 8px 24px rgba(26,29,33,.10);
    padding: var(--s2) 0;
}

nav ul li.dropdown:hover .sub-menu,
nav ul li.dropdown:focus-within .sub-menu,
nav ul li.dropdown .sub-menu.open {
    display: block;
}

/* Unsichtbare Hover-Brücke über die margin-top-Lücke:
   hält den :hover-Pfad vom Menüpunkt ins Untermenü, ohne die Optik zu ändern */
nav ul li.dropdown .sub-menu::before {
    content: "";
    position: absolute;
    top: calc(-1 * var(--s2));
    left: 0;
    right: 0;
    height: var(--s2);
}

nav ul li.dropdown .sub-menu li { width: 100%; }

nav ul li.dropdown .sub-menu li a {
    padding: var(--s2) var(--s4);
    color: var(--ink);
    font-family: var(--font-body);
    text-transform: none;
    font-weight: 400;
    font-size: .9rem;
    letter-spacing: 0;
    border-radius: 0;
}

nav ul li.dropdown .sub-menu li a:hover {
    background: var(--paper);
    color: var(--signal);
}

nav ul li.dropdown .sub-menu li.active a {
    background: var(--paper);
    color: var(--signal);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--line);
    padding: var(--s2) var(--s3);
    font-size: 20px;
    cursor: pointer;
    border-radius: var(--r);
    transition: background .2s ease, border-color .2s ease;
}

.mobile-menu-btn:hover {
    background: var(--surface);
    border-color: var(--steel);
}

/* ==========================================================================
   Slider / Hero Section
   ========================================================================== */

.slider {
    position: relative;
    width: 100%;
    max-width: var(--container);
    margin: var(--s6) auto var(--s7);
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: none;
    background: var(--ink);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-inner {
    display: flex;
    width: 100%;
    transition: transform 0.6s ease-in-out;
}

.slider-item {
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
}

.slider-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Slider responsive */
@media (max-width: 768px) {
    .slider {
        margin: var(--s4) auto var(--s6);
        border: 1px solid var(--line);
    }
}

/* ==========================================================================
   Main Content
   ========================================================================== */

main {
    padding: 40px 20px;
    min-height: 60vh;
    min-height: 60dvh;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    main {
        padding: 20px 15px;
    }
}

.content-section {
    margin-bottom: 40px;
}

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

.text-left {
    text-align: left;
}

.text-justify {
    text-align: justify;
}

.highlight-box {
    background-color: #f9f9f9;
    padding: 30px;
    border-left: 4px solid var(--signal);
    margin: 30px 0;
}

.contact-info {
    font-size: 16px;
    line-height: 1.8;
}

.contact-info a {
    color: var(--signal);
    font-weight: bold;
}

/* Company Image with Hover Effect */
.company-image-wrapper {
    text-align: center;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.company-logo-hover {
    max-width: 100%;
    height: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.company-logo-hover:hover {
    transform: scale(1.05);
    opacity: 0.9;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
    background: var(--ink);
    color: #AEB6C0;
    padding: 0;
    margin-top: var(--s9);
}

footer h3 {
    color: #fff;
    font-family: var(--font-mono);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: var(--s4);
    border: 0;
    padding: 0;
}

footer a {
    color: var(--signal-light);
    font-size: .9rem;
}

footer a:hover {
    color: #fff;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 8px;
}

footer .footer-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

footer .footer-col {
    flex: 1;
    min-width: 200px;
}

/* Copyright Section */
.copyright {
    background: #000;
    padding: var(--s4) 0;
    text-align: center;
    font-size: .8rem;
    color: #7A828C;
    border-top: 1px solid rgba(255,255,255,.06);
}

.copyright a {
    color: var(--signal-light);
}
.copyright a:hover {
    color: #fff;
}

/* Breadcrumbs */
.breadcrumbs {
    background: transparent;
    border-bottom: 1px solid var(--line);
    padding: var(--s3) 0;
    font-family: var(--font-mono);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--steel);
    margin-top: 0;
}

.breadcrumbs a {
    color: var(--steel);
}

.breadcrumbs a:hover {
    color: var(--signal);
}

/* ==========================================================================
   Back to Top Button
   ========================================================================== */

#back-to-top {
    position: fixed;
    bottom: var(--s5);
    right: var(--s5);
    background: var(--signal);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: var(--r);
    border: none;
    padding: 0;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(26,29,33,.18);
    transition: transform .15s ease, background .2s ease;
    z-index: 999;
    font-size: 20px;
    line-height: 1;
}

#back-to-top:hover {
    background: var(--signal-strong);
    transform: translateY(-3px);
}

#back-to-top.show {
    display: flex;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 992px) {
    .col-9 {
        width: 100%;
    }
    
    .col-4 {
        width: 50%;
    }
    
    .col-3 {
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    .mobile-menu-btn {
        display: block;
    }
    
    #header-row .header-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 15px;
        gap: 15px;
    }
    
    #logo {
        flex-shrink: 0;
    }
    
    #logo img {
        max-height: 55px;
    }
    
    nav {
        flex: 0 0 auto;
        margin: 0;
        position: relative;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 25px rgba(0,0,0,0.2);
        border-radius: 8px;
        margin-top: 10px;
        min-width: 250px;
        padding: 10px 0;
    }
    
    nav ul.active {
        display: flex;
    }
    
    nav ul li {
        width: 100%;
    }
    
    nav ul li a {
        color: #333 !important;
        padding: 12px 20px;
        text-align: left;
    }
    
    nav ul li a:hover {
        background-color: #f5f5f5;
        color: var(--signal) !important;
    }
    
    nav ul li.active a {
        background-color: #fff5f0;
        color: var(--signal) !important;
    }
    
    nav ul li.dropdown .sub-menu {
        position: static;
        box-shadow: none;
        background-color: #f9f9f9;
        margin-top: 5px;
        border: none;
    }
    
    nav ul li.dropdown .sub-menu li a {
        padding-left: 35px;
        font-size: 12px;
    }
    
    /* Columns */
    .col-9,
    .col-6,
    .col-4,
    .col-3 {
        width: 100%;
        margin-bottom: 20px;
    }
    
    #top-row .contact-header {
        flex-direction: column;
        align-items: center;
        gap: 5px;
        font-size: 16px;
    }
    
    
    footer .footer-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 13px;
    }
    
    h1 {
        font-size: 1.6em;
    }
    
    h2 {
        font-size: 1.3em;
    }
    
    .container {
        padding: 0 15px;
    }
    
    #header-row .header-inner {
        padding: 10px 15px;
        gap: 10px;
    }
    
    #logo img {
        max-height: 45px;
    }
    
    nav ul li a {
        padding: 8px 12px;
        font-size: 11px;
    }
}

/* ==========================================================================
   Utility Classes
   ========================================================================== */

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }
.mt-40 { margin-top: 40px; }

.mb-10 { margin-bottom: 10px; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mb-40 { margin-bottom: 40px; }

.pt-20 { padding-top: 20px; }
.pb-20 { padding-bottom: 20px; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }

.justify-center { justify-content: center; }
.align-center { align-items: center; }

/* ==========================================================================
   About Us Page - Straßenbild Layout
   ========================================================================== */

.about-hero {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 0;
}

.about-image-container {
    position: relative;
    width: 100%;
    margin: 0;
    overflow: hidden;
    background-color: #000;
    cursor: pointer;
}

.about-main-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

.about-secondary-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.about-image-container:hover .about-main-image {
    opacity: 0;
}

.about-image-container:hover .about-secondary-image {
    opacity: 1;
}

.about-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.7) 60%, rgba(0, 0, 0, 0) 100%);
    padding: 60px 40px 40px;
    color: #fff;
    z-index: 5;
}

.about-text-overlay .container {
    max-width: 1200px;
    margin: 0 auto;
}

.about-text-content {
    font-size: 16px;
    line-height: 1.8;
    color: #fff;
}

.about-text-content p {
    margin-bottom: 18px;
    text-align: justify;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.about-intro {
    font-size: 17px;
    margin-bottom: 25px;
}

.about-certification {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid var(--signal);
}

.about-contacts {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid rgba(194, 74, 30, 0.5);
}

.about-contacts h2 {
    font-size: 1.5em;
    color: #fff;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--signal);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.contact-person {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.contact-person strong {
    color: var(--signal);
    font-size: 18px;
}

/* Responsive Design für About Us */
@media (max-width: 768px) {
    .about-text-overlay {
        padding: 40px 25px 30px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.75) 70%, rgba(0, 0, 0, 0) 100%);
    }
    
    .about-text-content {
        font-size: 15px;
    }
    
    .about-intro {
        font-size: 16px;
    }
    
    .about-contacts h2 {
        font-size: 1.3em;
    }
    
    .contact-person {
        font-size: 15px;
    }
    
    .about-image-container:hover .about-secondary-image {
        opacity: 0;
    }
    
    .about-image-container:hover .about-main-image {
        opacity: 1;
    }
}

@media (max-width: 480px) {
    .about-text-overlay {
        padding: 30px 20px 25px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.85) 80%, rgba(0, 0, 0, 0) 100%);
    }
    
    .about-text-content {
        font-size: 14px;
        line-height: 1.6;
    }
    
    .about-contacts .col-6 {
        width: 100%;
        margin-bottom: 20px;
    }
}

/* ==========================================================================
   Hover Images (Service Images)
   ========================================================================== */

.hover-image {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border-radius: 8px;
}

.hover-image:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.hover-image-container {
    display: inline-block;
    text-align: center;
    margin: 20px auto;
}

.hover-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Service Images Grid */
.service-images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 30px 0;
}

.service-images .col-4,
.service-images .col-6 {
    text-align: center;
}

.service-images a {
    display: block;
}

.service-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(26,29,33,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.service-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}

/* Leistung Grid */
.leistung-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 0;
    justify-content: center;
}

.leistung-grid .col-6 {
    width: calc(50% - 20px);
    margin-bottom: 30px;
    flex: 0 0 calc(50% - 20px);
}

/* ==========================================================================
   Page Titles & Content Styling
   ========================================================================== */

.page-title {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--signal);
    display: inline-block;
}

.company-title {
    font-size: 2.2em;
    color: var(--signal);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 30px;
}

.lead-text {
    font-size: 1.2em;
    color: #333;
    margin-bottom: 15px;
}

.contact-highlight {
    font-size: 1.1em;
    background: linear-gradient(135deg, #fff5f0 0%, #fff 100%);
    padding: 25px 30px;
    border-radius: 10px;
    border-left: 4px solid var(--signal);
    margin: 25px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.contact-highlight a {
    color: var(--signal);
    font-weight: bold;
}

.email-highlight {
    font-size: 1.2em;
    margin: 20px 0;
}

.email-highlight a {
    color: var(--signal);
    font-weight: bold;
    transition: color 0.3s ease;
}

.email-highlight a:hover {
    color: var(--signal-strong);
}

.hint-text {
    font-size: 0.9em;
    color: #777;
    margin-top: 20px;
}

.highlight-phone a {
    color: var(--signal);
    font-weight: bold;
}

/* ==========================================================================
   VDB Section
   ========================================================================== */

.vdb-section {
    padding: 30px 0;
    margin-top: 30px;
    border-top: 1px solid #eee;
}

.vdb-section h4 {
    margin-bottom: 20px;
    color: #555;
}

.vdb-logo {
    max-width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

.vdb-logo:hover {
    transform: scale(1.1);
}

/* ==========================================================================
   About Text Styling
   ========================================================================== */

.about-text {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

.about-text p {
    font-size: 1.05em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #333;
}

.company-info-section {
    background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    margin-top: 40px;
}

.company-info-section h4 {
    font-size: 1.4em;
    color: var(--signal);
    margin-bottom: 10px;
}

.company-subtitle {
    color: #555;
    font-weight: bold;
    margin-bottom: 15px;
}

/* ==========================================================================
   Attention Box
   ========================================================================== */

.attention-box {
    background: linear-gradient(135deg, #fff8f0 0%, #fff 100%);
    border: 2px solid var(--signal);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    box-shadow: 0 4px 15px rgba(194, 74, 30, 0.15);
}

.attention-title {
    font-size: 1.5em;
    color: var(--signal);
    margin-bottom: 15px !important;
}

.attention-text {
    color: #333;
    line-height: 1.8;
}

/* ==========================================================================
   Pricing & Download Rows
   ========================================================================== */

.pricing-row {
    gap: 30px;
}

.pricing-row .col-6 {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.pricing-row h4 {
    color: var(--signal);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.download-row {
    gap: 40px;
    padding: 30px 0;
}

.download-row .col-6 {
    margin-bottom: 30px;
}

.download-row h4 {
    color: #333;
    margin-bottom: 15px;
}

.download-image {
    max-width: 250px;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(26,29,33,.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.download-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

/* ==========================================================================
   Footer Enhancements
   ========================================================================== */

.footer-main {
    background: var(--ink);
    padding: var(--s8) 0 var(--s6);
}

.footer-col {
    margin-bottom: var(--s6);
}

.footer-col h3 {
    color: #fff;
    font-family: var(--font-mono);
    font-size: .8rem;
    font-weight: 500;
    margin-bottom: var(--s4);
    text-transform: uppercase;
    letter-spacing: .08em;
    border: 0;
    padding: 0;
}

.footer-col p {
    font-size: .9rem;
    line-height: 1.8;
    color: #AEB6C0;
    max-width: none;
}

.footer-col ul li {
    margin-bottom: var(--s2);
}

.footer-col ul li a {
    color: var(--signal-light);
    font-size: .9rem;
    transition: color .2s ease;
}

.footer-col ul li a:hover {
    color: #fff;
}

.email-link {
    color: var(--signal-light) !important;
}

/* Footer-Kontaktlinks lesbar auf dunklem Grund */
footer .contact-info a { color: var(--signal-light); }
footer .contact-info a:hover { color: #fff; }

/* ==========================================================================
   Responsive Adjustments for New Elements
   ========================================================================== */

@media (max-width: 992px) {
    .service-images .col-4 {
        width: 50%;
        margin-bottom: 30px;
    }
    
    .leistung-grid .col-6 {
        width: 50%;
    }
}

@media (max-width: 768px) {
    .service-images .col-4,
    .service-images .col-6,
    .leistung-grid .col-6 {
        width: 100%;
        margin-bottom: 30px;
    }
    
    .pricing-row .col-6,
    .download-row .col-6 {
        width: 100%;
    }
    
    .page-title {
        font-size: 1.4em;
    }
    
    .company-title {
        font-size: 1.8em;
    }
    
    .attention-box {
        padding: 20px;
        margin: 30px 0;
    }
    
    .company-info-section {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .lead-text {
        font-size: 1.1em;
    }
    
    .contact-highlight {
        padding: 20px;
    }
    
    .footer-col {
        width: 100%;
        margin-bottom: 25px;
    }
}

/* ==========================================================================
   Legal Pages (Impressum, Datenschutz)
   ========================================================================== */

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.legal-content h2 {
    font-size: 1.5em;
    color: var(--signal);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.2em;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.legal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: #444;
}

.legal-content ul {
    margin: 15px 0 15px 30px;
    color: #444;
}

.legal-content ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-content a {
    color: var(--signal);
}

.legal-content a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   Map Section
   ========================================================================== */

.map-section {
    margin: 30px 0;
}

.map-section iframe {
    width: 100%;
    min-height: 400px;
}

@media (max-width: 768px) {
    .map-section iframe {
        min-height: 300px;
    }
}

/* ==========================================================================
   Header Images
   ========================================================================== */

.header-badge {
    max-height: 50px;
    height: auto;
}

.header-email {
    max-height: 25px;
    height: auto;
}

/* ==========================================================================
   Hero (Startseite) + Button-System
   ========================================================================== */

.hero {
    padding: var(--s9) 0 var(--s8);
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: var(--s8);
    align-items: start;
}

.hero .lead {
    font-size: 1.25rem;
    color: var(--steel);
    margin-bottom: var(--s5);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--s3);
    margin-bottom: var(--s4);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--s2);
    padding: var(--s3) var(--s5);
    border-radius: var(--r);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: .95rem;
    border: 1px solid transparent;
    transition: transform .15s ease, background .2s ease, border-color .2s ease;
}

.btn-signal { background: var(--signal); color: #fff; }
.btn-signal:hover { background: var(--signal-strong); color: #fff; transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--steel); color: var(--ink); transform: translateY(-1px); }

.hero-hours { color: var(--steel); font-size: 1.25rem; font-weight: 400; margin-bottom: var(--s3); }

.hero-cred {
    font-size: .8125rem;
    color: var(--steel);
    padding-top: var(--s4);
    border-top: 1px solid var(--line);
    max-width: none;
}

.hero-figure { position: relative; }

.hero-figure img {
    border: 1px solid var(--line);
    border-radius: var(--r);
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.target-rings {
    position: absolute;
    width: 200px;
    height: 200px;
    top: -46px;
    right: -46px;
    z-index: -1;
    opacity: .9;
}

.target-rings circle { stroke-width: 1.25; }

@media (max-width: 860px) {
    .hero-grid { grid-template-columns: 1fr; gap: var(--s6); align-items: start; }
    .hero-figure img { height: auto; }
    .target-rings { display: none; }
}

/* ==========================================================================
   Service Cards
   ========================================================================== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s5);
    margin-top: var(--s5);
}

.card {
    display: flex;
    flex-direction: column;
    gap: var(--s2);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: var(--s5);
    color: var(--ink);
    transition: transform .15s ease, box-shadow .2s ease, border-color .2s ease;
}

a.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(26,29,33,.08);
    border-color: var(--steel);
}

.card-tag {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--signal);
}

.card h3 { margin: 0; }
.card p { color: var(--steel); margin: 0; max-width: none; }

.card-more {
    margin-top: auto;
    font-family: var(--font-mono);
    font-size: .85rem;
    color: var(--signal);
}

@media (max-width: 860px) {
    .card-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Content Components (Redesign-Overrides)
   ========================================================================== */

main { max-width: var(--container); margin: 0 auto; padding: var(--s8) var(--s5); }

.content-section { margin-bottom: var(--s7); }

/* Inhaltsseiten linksbündig statt zentriert */
.text-center { text-align: left; }
.text-justify { text-align: left; }

.page-title {
    display: block;
    font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem);
    color: var(--ink);
    padding-bottom: var(--s4);
    margin-bottom: var(--s5);
    border-bottom: 1px solid var(--line);
}

.company-title { color: var(--ink); font-family: var(--font-display); }
.subtitle { color: var(--steel); }
.lead-text { font-size: 1.2rem; color: var(--steel); }
.hint-text { color: var(--steel); }

/* Echte Listen (ersetzen Pseudo-<p>-Aufzählungen) */
.check-list { list-style: none; display: grid; gap: var(--s2); margin: var(--s4) 0; max-width: 68ch; }
.check-list li { position: relative; padding-left: var(--s5); }
.check-list li::before { content: "–"; position: absolute; left: 0; color: var(--signal); font-family: var(--font-mono); }
.check-list .check-sub { display: block; margin-top: 2px; }

/* ==========================================================================
   Anruf-Button: Desktop-Popup mit Nummer (Handy wählt direkt)
   ========================================================================== */
.call-popover {
    position: absolute;
    z-index: 1200;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: 0 8px 24px rgba(26,29,33,.14);
    padding: var(--s3);
    display: flex;
    flex-direction: column;
    gap: var(--s2);
    min-width: 190px;
}
.call-popover[hidden] { display: none; }
.call-popover-num {
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--ink);
    text-align: center;
    white-space: nowrap;
}
.call-popover-copy {
    font-family: var(--font-mono);
    font-size: .8rem;
    padding: var(--s2) var(--s3);
    border: 1px solid var(--line);
    border-radius: var(--r);
    background: var(--paper);
    color: var(--ink);
    cursor: pointer;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.call-popover-copy:hover { background: var(--signal); color: #fff; border-color: var(--signal); }

.highlight-box,
.contact-highlight {
    background: var(--surface);
    border: 1px solid var(--line);
    border-left: 3px solid var(--signal);
    border-radius: var(--r);
    padding: var(--s5);
    margin: var(--s5) 0;
    box-shadow: none;
}
.contact-highlight a, .email-highlight a, .contact-info a { color: var(--signal); font-weight: 600; }

.attention-box {
    background: var(--surface);
    border: 1px solid var(--signal);
    border-radius: var(--r);
    padding: var(--s5);
    margin: var(--s6) 0;
    box-shadow: none;
}
.attention-title { color: var(--signal); font-family: var(--font-display); }

.aside-contact {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    padding: var(--s5);
    font-family: var(--font-mono);
    font-size: .9rem;
    line-height: 1.8;
    position: sticky;
    top: 96px;
}

/* Legal- & Info-Seiten */
.legal-content h2 { color: var(--ink); border-bottom: 1px solid var(--line); }
.legal-content h3 { color: var(--ink); }
.legal-content a { color: var(--signal); }
.company-info-section, .pricing-row .col-6 {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--r);
    box-shadow: none;
}
.company-info-section h4, .pricing-row h4, .contact-highlight h4 { color: var(--signal); }

/* Service-/Hover-Bilder: nur transform/box-shadow animieren */
.hover-image, .service-image, .download-image, .company-logo-hover {
    transition: transform .2s ease, box-shadow .2s ease;
    box-shadow: 0 2px 10px rgba(26,29,33,.06);
    border-radius: var(--r);
}
.vdb-logo { transition: transform .2s ease; }
.vdb-section { border-top: 1px solid var(--line); }
.vdb-section h2 { color: var(--steel); font-family: var(--font-mono); text-transform: uppercase; letter-spacing: .06em; font-size: .95rem; }

/* ==========================================================================
   Motion & Micro-Interactions (Phase 4)
   ========================================================================== */

:root {
    --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
    --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

/* Press feedback — the interface listens */
.btn:active { transform: scale(0.97); }
a.card:active { transform: translateY(-1px) scale(0.997); }

/* Smoother gallery easing */
.slider-inner { transition: transform 600ms var(--ease-in-out); }

@media (prefers-reduced-motion: no-preference) {
    /* Orchestrated hero page-load: eyebrow → h1 → lead → actions → meta */
    .hero-copy > * {
        opacity: 0;
        transform: translateY(10px);
        animation: heroRise .55s var(--ease-out) forwards;
    }
    .hero-copy > :nth-child(1) { animation-delay: .04s; }
    .hero-copy > :nth-child(2) { animation-delay: .11s; }
    .hero-copy > :nth-child(3) { animation-delay: .18s; }
    .hero-copy > :nth-child(4) { animation-delay: .25s; }
    .hero-copy > :nth-child(5) { animation-delay: .32s; }
    .hero-copy > :nth-child(6) { animation-delay: .39s; }

    .hero-figure {
        opacity: 0;
        animation: figFade .7s var(--ease-out) .18s forwards;
    }
    .target-rings {
        transform: scale(.94);
        opacity: 0;
        animation: ringsSettle .8s var(--ease-out) .35s forwards;
    }
}

@keyframes heroRise { to { opacity: 1; transform: none; } }
@keyframes figFade { to { opacity: 1; } }
@keyframes ringsSettle { to { opacity: .9; transform: scale(1); } }

/* ==========================================================================
   Slider Controls (Prev/Next + Dots)
   ========================================================================== */

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: var(--r);
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(26,29,33,.55);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s ease, transform .15s ease;
}
.slider-prev { left: var(--s4); }
.slider-next { right: var(--s4); }
.slider-btn:hover { background: var(--signal); }
.slider-btn:active { transform: translateY(-50%) scale(.95); }

.slider-dots {
    position: absolute;
    bottom: var(--s4);
    left: 0;
    right: 0;
    z-index: 3;
    display: flex;
    justify-content: center;
    gap: var(--s2);
}
.slider-dot {
    /* Sichtbarer Punkt 10px, klickbare Fläche 24px (10 + 2×7 Padding) für Barrierefreiheit */
    width: 10px;
    height: 10px;
    padding: 7px;
    box-sizing: content-box;
    border: 0;
    border-radius: 50%;
    background-color: rgba(255,255,255,.45);
    background-clip: content-box;
    cursor: pointer;
    transition: background-color .2s ease, transform .15s ease;
}
.slider-dot:hover { background-color: rgba(255,255,255,.7); }
.slider-dot.is-active { background-color: var(--signal); transform: scale(1.25); }

@media (max-width: 600px) {
    .slider-btn { width: 34px; height: 34px; font-size: 18px; }
    .slider-prev { left: var(--s2); }
    .slider-next { right: var(--s2); }
}

/* ==========================================================================
   Slider: Cross-Fade statt horizontalem Schieben
   (kein „zerrissenes" Zwischenbild mehr beim Wechsel)
   ========================================================================== */
.slider-inner {
    display: block;
    position: relative;
    transition: none;
}
.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    opacity: 0;
    transition: opacity 600ms var(--ease-in-out);
    pointer-events: none;
}
.slider-item.is-active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}
@media (prefers-reduced-motion: reduce) {
    .slider-item { transition: none; }
}



/* ==========================================================================
   Politur (Design-Audit-Fixes + Mobil)
   ========================================================================== */

/* 4-Karten-Raster: 4 → 2 → 1 */
.card-grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 992px) { .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .card-grid-4 { grid-template-columns: 1fr; } }

/* Ablauf-Stepper: nicht klickbar, ruhig */
.card.step { cursor: default; }
.card.step .card-tag { color: var(--steel); }

/* FAQ-Accordion */
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-of-type { border-bottom: 1px solid var(--line); }
.faq-item summary {
    cursor: pointer; list-style: none;
    padding: var(--s4) 0;
    font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
    display: flex; justify-content: space-between; align-items: center; gap: var(--s4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--font-mono); color: var(--signal); font-size: 1.3rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; }
.faq-item summary:hover { color: var(--signal); }
.faq-item > p { margin: 0 0 var(--s4); color: var(--steel); max-width: 68ch; }

/* Angebot-CTA-Band */
.cta-band {
    background: var(--surface);
    border: 1px solid var(--signal);
    border-left: 4px solid var(--signal);
    border-radius: var(--r);
    padding: var(--s6);
    margin: var(--s6) 0;
    box-shadow: 0 4px 18px rgba(194,74,30,.08);
}
.cta-band .lead-text { color: var(--ink); }

/* Skip-Link */
.skip-link {
    position: absolute; left: var(--s3); top: -60px; z-index: 2000;
    background: var(--ink); color: #fff;
    padding: var(--s2) var(--s4); border-radius: var(--r);
    transition: top .15s ease;
}
.skip-link:focus { top: var(--s3); color: #fff; }

/* Anker-Offset unter Sticky-Header */
[id="ablauf"], [id="faq"], [id="main"] { scroll-margin-top: 150px; }

/* Mobil: Safe-Area (Notch) */
#header { padding-top: env(safe-area-inset-top); }
#back-to-top {
    bottom: calc(var(--s5) + env(safe-area-inset-bottom));
    right: calc(var(--s5) + env(safe-area-inset-right));
}

/* Breadcrumbs-Abstand */
.breadcrumbs .container { display: flex; gap: var(--s2); align-items: center; flex-wrap: wrap; }
.breadcrumbs .sep { color: var(--line); }


/* ==========================================================================
   Mobil-Fixes (Header-Overflow + Slider-Bandhöhe)
   ========================================================================== */

/* kein horizontales Scrollen – clip statt hidden, sonst bricht position:sticky */
body { overflow-x: clip; }

/* Slider: konsistentes Band, sauberer Beschnitt statt dunkler Ränder */
.slider-item img { height: 340px; object-fit: cover; }

@media (max-width: 768px) {
    .slider-item img { height: 200px; }

    /* Header passt in die Breite */
    #header-row .header-inner { gap: var(--s3); padding: var(--s2) var(--s4); }
    #logo img { max-height: 46px; }
    .header-cta { display: none; }   /* Telefon steht tippbar in der Meta-Leiste */
    nav { gap: var(--s3); }
}

@media (max-width: 480px) {
    .slider-item img { height: 170px; }
    #logo img { max-height: 40px; }
}

/* ── Info-/Urlaubsbanner ──────────────────────────────────────────── */
.info-banner {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: var(--s3);
    padding: var(--s3) var(--s4);
    background: #FDECEA;
    border-bottom: 3px solid #C62828;
    color: #B71C1C;
    font-family: var(--font-body);
    text-align: center;
}
.info-banner-icon {
    flex-shrink: 0;
    font-size: 1.3em;
    line-height: 1.4;
}
.info-banner-text {
    margin: 0;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.5;
    white-space: pre-line; /* Zeilenumbrueche aus der Datei beibehalten */
    max-height: 40vh;
    overflow-y: auto;
}
@media (max-width: 600px) {
    .info-banner { padding: var(--s2) var(--s3); }
    .info-banner-text { font-size: 0.95rem; }
}
