/* ============================================================
   Autohaus Dax GmbH – Main Stylesheet
   Rebuilt from original OCS/Germany theme source.
   All OCS CDN references removed. All assets served locally.
   ============================================================ */

:root {
    --display-font: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    --body-font:    'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;

    --primary-text-colour:   #ffffff;
    --secondary-text-colour: #ffffff;
    --primary-colour:        #3D8AE8;
    --primary-25-colour:     #F5F9FE;
    --primary-50-colour:     #EAF2FC;
    --primary-100-colour:    #C5DCF8;
    --primary-200-colour:    #B9D5F7;
    --primary-300-colour:    #8EBBF2;
    --primary-400-colour:    #62A0EC;
    --primary-500-colour:    #3D8AE8;
    --primary-600-colour:    #316EBA;
    --primary-700-colour:    #2A5FA0;
    --primary-800-colour:    #224D82;
    --primary-900-colour:    #1E4472;
    --primary-950-colour:    #122946;

    --secondary-colour:      #525456;
    --secondary-25-colour:   #F6F6F7;
    --secondary-50-colour:   #ECECEC;
    --secondary-100-colour:  #CBCCCC;
    --secondary-200-colour:  #C1C1C2;
    --secondary-300-colour:  #9B9C9D;
    --secondary-400-colour:  #737476;
    --secondary-600-colour:  #424345;
    --secondary-700-colour:  #393A3B;
    --secondary-800-colour:  #2E2F30;
    --secondary-900-colour:  #28292A;
    --secondary-950-colour:  #19191A;

    --success-colour: #059669;
    --warning-colour: #d97706;
    --error-colour:   #dc2626;

    --body-font-size:   16px;
    --header-height:    7.5rem;
    --button-rounding:  0.5rem;
    --icon-rounding:    9999px;
    --image-rounding:   0px;

    --topbar-background-colour: #525456;
    --topbar-text-colour:       #ffffff;
    --footer-background-colour: #525456;
    --footer-text-colour:       #ffffff;

    --button-size:    0.75rem;
    --button-weight:  900;
    --display-weight: 900;
    --subtitle-weight:900;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html   { font-size: var(--body-font-size); scroll-behavior: smooth; }
body   { font-family: var(--body-font); background: #fff; color: #111827; line-height: 1.5; }
img    { max-width: 100%; height: auto; display: block; }
a      { color: inherit; text-decoration: none; }
button { font-family: var(--body-font); }
ul { list-style: none; }

/* ---- Container ---- */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px)  { .container { max-width: 640px; } }
@media (min-width: 768px)  { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

/* ============================================================
   TAILWIND UTILITY REPLACEMENTS
   Classes used in OCS-derived HTML that we must define ourselves.
   ============================================================ */

/* Display */
.flex           { display: flex; }
.flex-col       { flex-direction: column; }
.flex-wrap      { flex-wrap: wrap; }
.items-center   { align-items: center; }
.items-start    { align-items: flex-start; }
.items-stretch  { align-items: stretch; }
.justify-center { justify-content: center; }
.justify-start  { justify-content: flex-start; }

/* Text */
.text-center { text-align: center; }
.text-left   { text-align: left; }

/* Font weights / families */
.font-display    { font-family: var(--display-font); }
.display-weight  { font-weight: var(--display-weight); }

/* Font sizes */
.text-lg  { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl  { font-size: 1.25rem;  line-height: 1.875rem; }

/* Colors */
.text-gray-600 { color: #4b5563; }
.text-gray-900 { color: #111827; }
.text-gray-400 { color: #9ca3af; }
.bg-white      { background-color: #ffffff; }
.w-full        { width: 100%; }

/* Spacing — margin */
.mb-1  { margin-bottom: 0.25rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-5  { margin-bottom: 1.25rem; }
.mt-4  { margin-top: 1rem; }
.mt-8  { margin-top: 2rem; }
.my-8  { margin-top: 2rem; margin-bottom: 2rem; }

/* Spacing — padding */
.pt-0  { padding-top: 0; }
.pt-4  { padding-top: 1rem; }
.pb-4  { padding-bottom: 1rem; }
.pb-8  { padding-bottom: 2rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-24 { padding-bottom: 6rem; }
.px-3  { padding-left: 0.75rem; padding-right: 0.75rem; }

/* Gap */
.gap-3 { gap: 0.75rem; }

/* Width fractions — used on team cards */
.w-full { width: 100%; }

/* Title sizes */
.title-size-xs  { font-size: 1.5rem;   line-height: 2rem;     font-weight: var(--display-weight); }
.title-size-sm  { font-size: 1.875rem; line-height: 2.375rem; font-weight: var(--display-weight); }
.title-size-md  { font-size: 1.875rem; line-height: 2.375rem; font-weight: var(--display-weight); }

/* Responsive overrides */
@media (min-width: 768px) {
    .md\:w-auto { width: auto; }
}
@media (min-width: 1024px) {
    .lg\:pb-16    { padding-bottom: 4rem; }
    .lg\:pb-24    { padding-bottom: 6rem; }
    .lg\:pt-8     { padding-top: 2rem; }
    .lg\:mb-5     { margin-bottom: 1.25rem; }
    .lg\:flex-row { flex-direction: row; }
    .lg\:flex-wrap{ flex-wrap: wrap; }
    .lg\:w-1\/4   { width: 25%; }
    .lg\:text-xl  { font-size: 1.25rem; line-height: 1.875rem; }
    .title-size-md { font-size: 2.25rem; line-height: 2.75rem; }
}

/* Vertical spacing between children (Tailwind space-y-5) */
.space-y-5 > * + * { margin-top: 1.25rem; }

/* ============================================================
   TOPBAR
   ============================================================ */
.bg-topbar { background-color: var(--topbar-background-colour); }

.topbar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.625rem 0;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.topbar-inner::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .topbar-inner { flex-direction: row; } }

.topbar-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0 2rem; }

.topbar-link {
    display: inline-flex;
    align-items: center;
    color: var(--topbar-text-colour);
    font-size: 0.875rem;
    font-weight: 400;
    gap: 0.5rem;
    transition: color 0.15s;
}
.topbar-link:hover { color: var(--primary-colour); }
.topbar-link svg   { width: 1.25rem; height: 1.25rem; flex-shrink: 0; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    background-color: var(--secondary-colour);
}
.nav-bar { width: 100%; background-color: var(--secondary-colour); }
.nav-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
}
@media (min-width: 1024px) { .nav-inner { flex-direction: row; } }

.nav-logo-row {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
@media (min-width: 1024px) { .nav-logo-row { width: auto; } }

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 1.25rem 0;
    max-width: 15rem;
}
.nav-logo img {
    width: auto;
    height: auto;
    max-height: 1.75rem;
    max-width: 15rem;
    object-fit: contain;
}

.nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--secondary-colour);
    border: none;
    cursor: pointer;
    position: relative;
    margin: -0.5rem -0.5rem;
}
@media (min-width: 1024px) { .nav-toggle { display: none; } }

.nav-toggle-bars {
    width: 2rem;
    position: absolute;
    left: 50%; top: 50%;
    transform: translate(-50%, -50%);
}
.nav-toggle-bar {
    display: block;
    position: absolute;
    height: 2px;
    width: 50%;
    background: #fff;
    transition: transform 0.25s ease, opacity 0.5s ease;
}
.nav-toggle-bar:nth-child(1) { transform: translateY(-0.5rem); }
.nav-toggle-bar:nth-child(3) { transform: translateY(0.5rem); }
.nav-open .nav-toggle-bar:nth-child(1) { transform: rotate(-135deg); }
.nav-open .nav-toggle-bar:nth-child(2) { opacity: 0; transform: translateX(-1.25rem); }
.nav-open .nav-toggle-bar:nth-child(3) { transform: rotate(135deg); }

.nav-menu-wrap { width: 100%; display: flex; align-items: center; justify-content: flex-end; flex-grow: 1; }

.nav-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 1rem 0;
    background: var(--secondary-colour);
    border-radius: 0 0 0.75rem 0.75rem;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    z-index: 80;
    box-shadow: 0 4px 16px rgba(0,0,0,.2);
    overflow-y: auto;
    max-height: calc(100vh - var(--header-height));
    gap: 0.5rem;
}
.nav-menu.open { display: flex; }
@media (min-width: 1024px) {
    .nav-menu {
        display: flex !important;
        flex-direction: row;
        position: static;
        width: auto;
        padding: 0;
        gap: 0.5rem;
        overflow: visible;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        max-height: none;
    }
}

.nav-item { width: 100%; position: relative; }
@media (min-width: 1024px) { .nav-item { width: auto; } }

.nav-item--desktop-only { display: none; }
@media (min-width: 1024px) { .nav-item--desktop-only { display: block; } }

.nav-link,
.nav-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    width: 100%;
    color: #e5e7eb;
    font-size: 1rem;
    font-weight: 400;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.15s;
    white-space: nowrap;
    font-family: var(--body-font);
}
.nav-link:hover, .nav-btn:hover { color: var(--primary-colour); }
@media (min-width: 1024px) {
    .nav-link, .nav-btn { width: auto; justify-content: center; }
}

.nav-chevron {
    width: 1.5rem; height: 1.5rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.nav-item.open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 0 1.25rem;
    background: var(--secondary-colour);
    border-radius: 0 0 0.75rem 0.75rem;
    width: 100%;
}
.nav-dropdown.open { display: flex; }
@media (min-width: 1024px) {
    .nav-dropdown {
        position: absolute;
        top: 2rem;
        left: 0;
        min-width: 16rem;
        padding: 0.5rem 1.25rem;
        box-shadow: 0 2px 8px rgba(0,0,0,.15);
        z-index: 80;
        width: auto;
    }
    .nav-item:hover > .nav-dropdown { display: flex; }
}

.nav-dropdown a {
    display: flex;
    align-items: flex-start;
    padding: 0.75rem 0;
    width: 100%;
    font-size: 1rem;
    font-weight: 400;
    color: #e5e7eb;
    transition: color 0.15s;
}
@media (min-width: 1024px) { .nav-dropdown a { padding: 0.75rem; } }
.nav-dropdown a:hover { color: var(--primary-colour); }

.nav-mobile-footer {
    width: 100%;
    border-top: 1px solid #e5e7eb;
    margin-top: 1.5rem;
    padding: 1.5rem 0.5rem;
}
@media (min-width: 1024px) { .nav-mobile-footer { display: none; } }
.nav-mobile-footer ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.nav-mobile-footer a { color: #e5e7eb; font-size: 1rem; font-weight: 400; }

/* ---- SVG sprite icon sizing fix ---- */
.topbar-link svg,
.nav-chevron {
    width: 1.25rem !important;
    height: 1.25rem !important;
    flex-shrink: 0;
}
.nav-chevron { width: 1.5rem !important; height: 1.5rem !important; }

/* ============================================================
   HERO SLIDER SECTION
   ============================================================ */
.section-slider {
    background: #fff;
    padding-top: 0;
    padding-bottom: 4rem;
    position: relative;
}
@media (min-width: 1024px) { .section-slider { padding-bottom: 6rem; } }

.splide__slide.dax-slide {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}
@media (min-width: 1024px) {
    .splide__slide.dax-slide { flex-direction: row; gap: 2rem; }
}

.dax-slide__image { width: 100%; order: 2; }
@media (min-width: 1024px) {
    .dax-slide__image { flex: 0 0 60%; max-width: 60%; }
}
.dax-slide__image img {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: var(--image-rounding);
}

.dax-slide__text {
    width: 100%;
    order: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}
@media (min-width: 1024px) { .dax-slide__text { flex: 0 0 40%; max-width: 40%; } }

.dax-slide__caption { font-family: var(--body-font); font-size: 1.5rem; color: #4b5563; text-align: center; }
.dax-slide__caption strong { font-weight: 700; color: #4b5563; }

.splide-carousel-progress { margin-top: 1rem; background: #fff; border-radius: 50px; }
@media (min-width: 1024px) { .splide-carousel-progress { margin-top: 2.25rem; } }
.splide-carousel-progress-bar {
    background: var(--primary-colour);
    border-radius: 50px;
    height: 12px;
    transition: width 500ms ease;
    width: 0;
}

.splide__arrow { background: var(--primary-colour) !important; opacity: 1 !important; }
.splide__arrow:hover { background: var(--primary-600-colour) !important; }
.splide__arrow svg { fill: #fff !important; }

/* ============================================================
   ICONS / BRANDS SECTION
   ============================================================ */
.section-icons { background: #fff; padding: 0; }
.section-icons .container { padding-top: 0; padding-bottom: 0; }

.icons-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; }
@media (min-width: 768px)  { .icons-grid { grid-template-columns: repeat(1, 1fr); } }
@media (min-width: 1280px) { .icons-grid { grid-template-columns: repeat(5, 1fr); } }

.icon-col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; }
.icon-col img { width: auto; max-width: 100%; height: auto; border-radius: var(--image-rounding); }
.icon-col a { display: inline-flex; justify-content: center; align-items: center; font-weight: 600; color: #111827; }

/* ============================================================
   INTRO TEXT SECTION
   ============================================================ */
.section-intro { background: #fff; }
.section-intro .container { padding-top: 0; padding-bottom: 4rem; }
@media (min-width: 1024px) { .section-intro .container { padding-bottom: 6rem; } }

.intro-blocks { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3rem; }
@media (min-width: 640px)  { .intro-blocks { gap: 6rem; } }
@media (min-width: 1024px) { .intro-blocks { gap: 6rem; } }

.intro-block { display: flex; flex-direction: column; width: 100%; align-items: center; }
@media (min-width: 1024px) { .intro-block { flex-direction: row; } }

.intro-block__image { width: 100%; order: 2; }
@media (min-width: 1024px) { .intro-block__image { width: 50%; margin-left: 3rem; order: 2; } }
@media (min-width: 1280px) { .intro-block__image { margin-left: 6rem; } }
.intro-block__image img {
    width: 100%; height: auto; aspect-ratio: 6/4; max-width: 48rem;
    object-fit: cover; object-position: center; border-radius: var(--image-rounding);
}

.intro-block__text { width: 100%; order: 1; margin-bottom: 2.5rem; }
@media (min-width: 1024px) { .intro-block__text { width: 50%; margin-bottom: 0; } }

.intro-block__inner { max-width: 36rem; }
.intro-block__inner h3 { font-family: var(--display-font); font-size: 1.125rem; font-weight: var(--display-weight); color: #111827; margin-bottom: 0.25rem; }
@media (min-width: 1024px) { .intro-block__inner h3 { font-size: 1.25rem; } }

.text-section { font-family: var(--body-font); font-weight: 400; }
.text-section.body-text { font-size: 1rem; color: #4b5563; text-align: left; }
@media (min-width: 1024px) { .text-section.body-text { font-size: 1.125rem; } }
.text-section p { margin-bottom: 1rem; }
.text-section p:last-child { margin-bottom: 0; }
.text-section a { color: var(--primary-colour); text-decoration: underline; }
.text-section strong { font-weight: 700; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--footer-background-colour); padding-top: 2rem; padding-bottom: 2rem; }
@media (min-width: 1024px) { .site-footer { padding-top: 4rem; padding-bottom: 4rem; } }

.footer-co2-wrap {
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
@media (min-width: 1024px) { .footer-co2-wrap { padding: 2rem 0; } }
.footer-co2-wrap p { font-family: var(--body-font); font-size: 0.75rem; font-weight: 400; color: var(--footer-text-colour); line-height: 1.6; }
.footer-co2-wrap a { color: var(--footer-text-colour); text-decoration: underline; }

.footer-links-wrap { padding: 1rem 0; display: flex; flex-direction: column; justify-content: center; align-items: center; }
@media (min-width: 1024px) {
    .footer-links-wrap { flex-direction: row; justify-content: center; align-items: center; padding: 2rem 0; }
}

.footer-nav-list { display: flex; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 0.75rem; }
@media (min-width: 1024px) { .footer-nav-list { align-items: center; gap: 1.5rem; } }
.footer-nav-list a h4 { font-size: 0.875rem; font-weight: 400; font-family: var(--body-font); margin-bottom: 1rem; color: var(--footer-text-colour); transition: color 0.15s; }
.footer-nav-list a:hover h4 { color: var(--primary-colour); }

/* ============================================================
   SVG SPRITE
   ============================================================ */
.svg-sprite { display: none; }

/* ============================================================
   INNER PAGE STYLES
   ============================================================ */
.inner-main { background: #fff; }

.inner-breadcrumb { font-size: 0.875rem; color: #6b7280; padding: 1rem 0 1.5rem; }
.inner-breadcrumb a { color: var(--primary-colour); }
.inner-breadcrumb a:hover { text-decoration: underline; }

.inner-content { padding-top: 1.5rem; padding-bottom: 4rem; }
@media (min-width: 1024px) { .inner-content { padding-bottom: 6rem; } }

.inner-content h1 { font-family: var(--display-font); font-weight: var(--display-weight); font-size: 1.875rem; color: #111827; margin-bottom: 1.5rem; }
.inner-content h2 { font-family: var(--display-font); font-weight: 700; font-size: 1.25rem; color: #111827; margin-top: 2rem; margin-bottom: 0.5rem; }
.inner-content h3 { font-family: var(--display-font); font-weight: 600; font-size: 1.05rem; color: #111827; margin-top: 1.5rem; margin-bottom: 0.4rem; }
.inner-content p  { margin-bottom: 1rem; color: #4b5563; line-height: 1.7; }
.inner-content ul { margin-left: 0; padding-left: 2.5rem; margin-bottom: 1rem; list-style-type: disc !important; list-style-position: outside; }
.inner-content ol { padding-left: 1.5rem; margin-bottom: 1rem; list-style-type: decimal; }
.inner-content li { margin-bottom: 0.35rem; color: #4b5563; }
.inner-content a  { color: var(--primary-colour); text-decoration: underline; }
.inner-content address { font-style: normal; color: #4b5563; line-height: 1.8; margin-bottom: 1rem; }
.inner-content sub { font-size: 0.75em; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    background: var(--primary-colour);
    color: #fff;
    font-family: var(--body-font);
    font-size: var(--button-size);
    font-weight: var(--button-weight);
    border-radius: var(--button-rounding);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
    margin-right: 0.75rem;
    margin-top: 0.75rem;
}
.btn:hover { background: var(--primary-600-colour); text-decoration: none; }
.btn,
.btn:link,
.btn:visited { color: #ffffff !important; text-decoration: none !important; }

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    background: var(--primary-colour);
    color: #ffffff !important;
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: var(--button-weight);
    line-height: 1.5rem;
    border-radius: var(--button-rounding);
    text-decoration: none !important;
    transition: background 0.15s;
    width: 100%;
}
@media (min-width: 768px) { .btn-primary { width: auto; } }
.btn-primary:hover { background: var(--primary-400-colour); }

.btn-secondary-gray {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    background: #ffffff;
    color: #344054 !important;
    font-family: var(--body-font);
    font-size: 1rem;
    font-weight: var(--button-weight);
    line-height: 1.5rem;
    border: 1px solid #d0d5dd;
    border-radius: var(--button-rounding);
    text-decoration: none !important;
    transition: background 0.15s;
    width: 100%;
}
@media (min-width: 768px) { .btn-secondary-gray { width: auto; } }
.btn-secondary-gray:hover { background: #f9fafb; }

/* ============================================================
   MISC COMPONENTS
   ============================================================ */

/* Map embed */
.map-embed { margin-top: 2rem; border-radius: var(--image-rounding); overflow: hidden; }
.map-embed iframe { display: block; width: 100%; border: 0; }

/* FormIt form */
.contact-form { max-width: 640px; margin-top: 1.5rem; }
.form-group   { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; color: #374151; margin-bottom: 0.375rem; }
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%; padding: 0.625rem 0.875rem; border: 1px solid #d1d5db;
    border-radius: var(--button-rounding); font-family: var(--body-font); font-size: 1rem;
    color: #111827; background: #fff; transition: border-color 0.15s, box-shadow 0.15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none; border-color: var(--primary-colour);
    box-shadow: 0 0 0 3px rgba(61,138,232,0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-field-error { display: block; font-size: 0.8rem; color: var(--error-colour); margin-top: 0.25rem; }
.form-error-banner {
    background: #fef2f2; border: 1px solid #fca5a5; border-radius: var(--button-rounding);
    padding: 0.75rem 1rem; color: var(--error-colour); margin-bottom: 1.25rem; font-size: 0.875rem;
}
.checkbox-label { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.875rem; color: #374151; cursor: pointer; }
.checkbox-label input { margin-top: 0.2rem; flex-shrink: 0; }
.form-hint { font-size: 0.75rem; color: #9ca3af; margin-top: 0.5rem; }

/* News */
.news-list { display: grid; gap: 2rem; margin-top: 1.5rem; }
.news-card { display: flex; flex-direction: column; border: 1px solid #e5e7eb; border-radius: var(--button-rounding); overflow: hidden; transition: box-shadow 0.2s; }
@media (min-width: 768px) { .news-card { flex-direction: row; } }
.news-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.1); }
.news-card__img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
@media (min-width: 768px) { .news-card__img { width: 240px; flex-shrink: 0; aspect-ratio: auto; } }
.news-card__body { padding: 1.25rem; display: flex; flex-direction: column; }
.news-card__date { font-size: 0.8rem; color: #9ca3af; margin-bottom: 0.5rem; }
.news-card__title { font-weight: 700; font-size: 1.1rem; color: #111827; margin-bottom: 0.5rem; }
.news-card__title a { color: inherit; }
.news-card__excerpt { font-size: 0.9rem; color: #6b7280; flex-grow: 1; margin-bottom: 1rem; }

/* ---- Screen reader only ---- */
.sr-only {
    position: absolute !important; width: 1px !important; height: 1px !important;
    padding: 0 !important; margin: -1px !important; overflow: hidden !important;
    clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important;
}

/* ============================================================
   SERVICEANGEBOTE — reversed blocks (image left, text right)
   ============================================================ */
@media (min-width: 1024px) {
    .intro-block--reverse .intro-block__image { order: 1; margin-left: 0; margin-right: 3rem; }
    .intro-block--reverse .intro-block__text  { order: 2; }
}

/* ============================================================
   TEAM PAGE
   ============================================================ */

/* Member row — flex container, 4 columns on desktop */
.team-member-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.team-member-row > div {
    width: 100%;
    box-sizing: border-box;
}
@media (min-width: 1024px) {
    .team-member-row > div {
        width: 25%;
        flex: 0 0 25%;
        max-width: 25%;
    }
}

/* Photo placeholder — matches OCS aspect-square w-full lg:w-72 lg:h-72 */
.team-photo-placeholder {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--secondary-50-colour);
}
@media (min-width: 1024px) {
    .team-photo-placeholder {
        width: 18rem;
        height: 18rem;
        aspect-ratio: auto;
    }
}

/* Mail icon — 1.5rem matching OCS w-6 h-6 */
.team-member-row svg {
    width: 1.5rem !important;
    height: 1.5rem !important;
}

/* Team member name font size */
.team-member-row h3 {
    font-size: 1.125rem;
    line-height: 1.75rem;
    font-weight: var(--display-weight);
    color: #111827;
}
@media (min-width: 1024px) {
    .team-member-row h3 { font-size: 1.25rem; line-height: 1.875rem; }
}

/* ============================================================
   FORM STYLES — OCS-compatible classes
   ============================================================ */

.form-wrapper {
    width: 100%;
}

/* Section label rows (e.g. "Persönliche Daten", "Fahrzeugdaten") */
.form-group {
    margin-bottom: 1.25rem;
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 900;
    color: #111827;
    line-height: 1.5rem;
    margin-bottom: 0.375rem;
}

/* Section heading rows (Persönliche Daten, Fahrzeugdaten etc.) */
.form-section-label {
    display: block;
    font-size: 1rem;
    font-weight: 900;
    color: #111827;
    line-height: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.form-label span {
    color: var(--error-colour);
    margin-left: 0.125rem;
}

.form-input {
    width: 100%;
    padding: 0.5rem 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: var(--button-rounding);
    font-family: var(--body-font);
    font-size: 1rem;
    color: #111827;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
    appearance: none;
    -webkit-appearance: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-colour);
    box-shadow: 0 0 0 3px rgba(61,138,232,0.15);
}

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

select.form-input {
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%23667085' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.form-error {
    display: block;
    font-size: 0.8rem;
    color: var(--error-colour);
    margin-top: 0.25rem;
    font-weight: 600;
}

.form-error-banner {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: var(--button-rounding);
    padding: 0.75rem 1rem;
    color: var(--error-colour);
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
}

.form-success-banner {
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: var(--button-rounding);
    padding: 0.75rem 1rem;
    color: #166534;
    margin-bottom: 1.25rem;
    font-size: 0.875rem;
}

/* Marketing consent checkboxes */
.form-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.form-option-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    color: #374151;
    cursor: pointer;
    font-weight: 400;
}

.form-option-label input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    accent-color: var(--primary-colour);
}

/* Submit button */
.form-button-wrapper {
    margin-top: 1.5rem;
}

.form-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 0.875rem;
    background: var(--primary-colour);
    color: #ffffff;
    font-family: var(--body-font);
    font-size: 0.875rem;
    font-weight: var(--button-weight);
    line-height: 1.25rem;
    border-radius: var(--button-rounding);
    border: none;
    cursor: pointer;
    transition: background 0.15s;
    width: 100%;
}

.form-button:hover { background: var(--primary-400-colour); }

/* ============================================================
   AUTOHAUS NEWS GRID
   ============================================================ */

.news-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.news-grid-item {
    width: calc(50% - 1rem);
    box-sizing: border-box;
}

@media (min-width: 1280px) {
    .news-grid-item {
        width: calc(25% - 1.5rem);
    }
}

.news-grid-item-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.25rem;
}

.news-grid-item-inner img {
    width: auto;
    max-width: 100%;
    height: auto;
}

.news-grid-item-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.news-grid-item-title {
    font-family: var(--body-font);
    font-weight: var(--display-weight);
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #111827;
}

@media (min-width: 1024px) {
    .news-grid-item-title { font-size: 1.25rem; line-height: 1.875rem; }
}

.news-grid-item-text {
    font-family: var(--body-font);
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.5rem;
}

/* ============================================================
   HISTORIE PAGE
   ============================================================ */

.historie-section-heading {
    font-family: var(--display-font);
    font-weight: var(--display-weight);
    font-size: 1.875rem;
    line-height: 2.375rem;
    color: #111827;
    margin-bottom: 1.25rem;
    margin-top: 1.5rem;
}

.historie-timeline {
    margin-bottom: 2rem;
}

.historie-entry {
    margin-bottom: 1.5rem;
}

.historie-year {
    font-family: var(--display-font);
    font-weight: var(--display-weight);
    font-size: 1.5rem;
    line-height: 2rem;
    color: #111827;
    margin-bottom: 0.5rem;
}

.historie-text {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.75rem;
}

.historie-description {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 2.5rem;
}

.historie-description p {
    margin-bottom: 1rem;
}

.historie-description p:last-child {
    margin-bottom: 0;
}

/* Contact block — image right, text left */
.historie-contact-block {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 2.5rem;
    padding-top: 1rem;
    padding-bottom: 2rem;
}

@media (min-width: 1024px) {
    .historie-contact-block {
        flex-direction: row;
        gap: 0;
    }
}

.historie-contact-text {
    width: 100%;
    order: 1;
}

@media (min-width: 1024px) {
    .historie-contact-text {
        width: 50%;
        order: 1;
    }
}

.historie-contact-heading {
    font-family: var(--display-font);
    font-weight: var(--display-weight);
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #111827;
    margin-bottom: 0.5rem;
}

@media (min-width: 1024px) {
    .historie-contact-heading { font-size: 1.25rem; }
}

.historie-contact-info {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.75rem;
    margin-bottom: 2rem;
}

.historie-contact-info p { margin-bottom: 0.25rem; }
.historie-contact-info a { color: var(--primary-colour); text-decoration: underline; }

.historie-contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .historie-contact-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }
}

.historie-contact-image {
    width: 100%;
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 1024px) {
    .historie-contact-image {
        width: 50%;
        margin-left: 3rem;
    }
}

@media (min-width: 1280px) {
    .historie-contact-image { margin-left: 6rem; }
}

.historie-image-border {
    background-color: #f2f4f7;
    padding: 2rem;
    width: 100%;
}

.historie-image-border img {
    width: 100%;
    height: auto;
    aspect-ratio: 6/4;
    object-fit: cover;
    object-position: center;
    max-width: 48rem;
}

/* ============================================================
   SERVICEANGEBOTE FIXES
   ============================================================ */

/* Section titles — bold, larger, matching OCS title-size-sm */
.intro-block__inner h3 {
    font-family: var(--display-font);
    font-weight: var(--display-weight);
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #111827;
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .intro-block__inner h3 {
        font-size: 1.25rem;
        line-height: 1.875rem;
    }
}

/* Buttons — match OCS btn-primary sizing (1rem, not 0.75rem) */
.intro-block__inner .btn {
    font-size: 1rem;
    padding: 0.5rem 0.75rem;
    margin-right: 0;
    margin-top: 1.5rem;
}

/* ============================================================
   ANFAHRT PAGE
   ============================================================ */

/* Two-column block: text left, map/image right */
.anfahrt-block {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 3rem;
}

@media (min-width: 1024px) {
    .anfahrt-block {
        flex-direction: row;
        align-items: center;
        gap: 4rem;
        padding-bottom: 4rem;
    }
}

.anfahrt-text {
    width: 100%;
}

@media (min-width: 1024px) {
    .anfahrt-text { width: 50%; flex-shrink: 0; }
}

.anfahrt-address {
    font-size: 1.125rem;
    color: #4b5563;
    line-height: 1.75rem;
    margin-bottom: 2rem;
}

.anfahrt-address p { margin-bottom: 0.5rem; }
.anfahrt-address p:last-child { margin-bottom: 0; }
.anfahrt-address strong { color: #111827; font-weight: 700; }
.anfahrt-address a { color: var(--primary-colour); text-decoration: underline; }

.anfahrt-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 2rem;
}

@media (min-width: 768px) {
    .anfahrt-buttons { flex-direction: row; flex-wrap: wrap; }
}

.anfahrt-map {
    width: 100%;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .anfahrt-map { width: 50%; }
}

.anfahrt-map iframe {
    display: block;
    width: 100%;
    border: 0;
    height: 24rem;
}

/* Partner badge — right-aligned, modest size */
.anfahrt-badge {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 2rem;
}

.anfahrt-badge img {
    max-width: 280px;
    height: auto;
}

/* Route map image */
.anfahrt-routemap {
    width: 100%;
}

@media (min-width: 1024px) {
    .anfahrt-routemap { width: 50%; }
}

.anfahrt-routemap img {
    width: 100%;
    height: auto;
    aspect-ratio: 6/4;
    object-fit: cover;
    object-position: center;
}

/* ============================================================
   SERVICELEISTUNGEN ICON GRID
   ============================================================ */

.serviceleistungen-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

@media (min-width: 1024px) {
    .serviceleistungen-grid {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}

.serviceleistungen-item {
    width: 50%;
    box-sizing: border-box;
    padding: 0 1rem 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .serviceleistungen-item {
        width: 25%;
        padding: 0 1rem 2.5rem;
    }
}

.serviceleistungen-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-colour);
    border-radius: var(--icon-rounding);
    flex-shrink: 0;
}

.serviceleistungen-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #ffffff;
}

.serviceleistungen-item h3 {
    font-family: var(--display-font);
    font-weight: var(--display-weight);
    font-size: 1.125rem;
    line-height: 1.75rem;
    color: #111827;
    margin: 0;
}

@media (min-width: 1024px) {
    .serviceleistungen-item h3 { font-size: 1.25rem; }
}

.serviceleistungen-item p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
}