/*
 Theme Name: Clasen & Co GmbH Theme
 Theme URI: http://wpdemos.themezaa.com/pofo
 Description: Child theme for Pofo Theme
 Version: 1.0
 Author: KREATIVBÜRO / Bjørn Gelder
 Author URI: www.linkedin.com/in/bjoern-gelder
 Tags: one-column, two-columns, three-columns, left-sidebar, right-sidebar, grid-layout, custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, post-formats, sticky-post, theme-options, threaded-comments, translation-ready, blog, e-commerce, photography, portfolio
 License: Themeforest Split Licence
 License URI: http://themeforest.net/licenses
 Template: pofo
 Text Domain: pofo-child
*/

/*
* Designed & Coded by
* "KREATIVBUERO.HAMBURG" - Bjoern Gelder
* // handcrafted pixels & clean CSS
*/


/*
 * =============================================================
 * INHALTSVERZEICHNIS 
 * =============================================================
 * 1. THEME-HEADER & BACKEND
 * 2. TYPOGRAPHIE (Allgemein & @font-face)
 * 3. ALLGEMEINE STYLES & HILFSKLASSEN
 * 4. NAVIGATION & HEADER (Basis)
 * 5. MOBILE MENUE & HAMBURGER
 * 6. FOOTER
 * 7. BUTTONS & ANIMATIONEN
 * 8. KONTAKT-ELEMENTE (Boxen, Routenplaner)
 * 9. CONTACT FORM 7 STYLING (Formular)
 * 10. STARTSEITE (HOME)
 * 11. RESPONSIVE BREAKPOINTS (Absteigend sortiert)
 * =============================================================
 */


/* =============================================================
 * 1. THEME-HEADER & BACKEND
 * ============================================================= */

/* Backend: Admin-Menue Font */

#adminmenu {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans,
        Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

#adminmenu a {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans,
        Ubuntu, Cantarell, "Helvetica Neue", sans-serif !important;
}

/* reCAPTCHA v3 Badge ausblenden */

.grecaptcha-badge {
    visibility: hidden;
}


/* ============================================================
   2. WEBFONTS: MONTSERRAT
   ============================================================ */

@font-face {
    font-display: swap;
    font-family: 'Montserrat-Bold';
    font-style: normal;
    font-weight: bold;
    src: url('webfont/Montserrat-Bold.woff2') format('woff2'),
        url('webfont/Montserrat-Bold.woff') format('woff'),
        url('webfont/Montserrat-Bold.svg#Montserrat-Bold') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat-Italic';
    font-style: italic;
    font-weight: normal;
    src: url('webfont/Montserrat-Italic.woff2') format('woff2'),
        url('webfont/Montserrat-Italic.woff') format('woff'),
        url('webfont/Montserrat-Italic.svg#Montserrat-Italic') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat-ExtraBold';
    font-style: normal;
    font-weight: bold;
    src: url('webfont/Montserrat-ExtraBold.woff2') format('woff2'),
        url('webfont/Montserrat-ExtraBold.woff') format('woff'),
        url('webfont/Montserrat-ExtraBold.svg#Montserrat-ExtraBold') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat-LightItalic';
    font-style: italic;
    font-weight: 300;
    src: url('webfont/Montserrat-LightItalic.woff2') format('woff2'),
        url('webfont/Montserrat-LightItalic.woff') format('woff'),
        url('webfont/Montserrat-LightItalic.svg#Montserrat-LightItalic') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat-SemiBold';
    font-style: normal;
    font-weight: 600;
    src: url('webfont/Montserrat-SemiBold.woff2') format('woff2'),
        url('webfont/Montserrat-SemiBold.woff') format('woff'),
        url('webfont/Montserrat-SemiBold.svg#Montserrat-SemiBold') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat-SemiBoldItalic';
    font-style: italic;
    font-weight: 600;
    src: url('webfont/Montserrat-SemiBoldItalic.woff2') format('woff2'),
        url('webfont/Montserrat-SemiBoldItalic.woff') format('woff'),
        url('webfont/Montserrat-SemiBoldItalic.svg#Montserrat-SemiBoldItalic') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat-Regular';
    font-style: normal;
    font-weight: normal;
    src: url('webfont/Montserrat-Regular.woff2') format('woff2'),
        url('webfont/Montserrat-Regular.woff') format('woff'),
        url('webfont/Montserrat-Regular.svg#Montserrat-Regular') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat-Light';
    font-style: normal;
    font-weight: 300;
    src: url('webfont/Montserrat-Light.woff2') format('woff2'),
        url('webfont/Montserrat-Light.woff') format('woff'),
        url('webfont/Montserrat-Light.svg#Montserrat-Light') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat-MediumItalic';
    font-style: italic;
    font-weight: 500;
    src: url('webfont/Montserrat-MediumItalic.woff2') format('woff2'),
        url('webfont/Montserrat-MediumItalic.woff') format('woff'),
        url('webfont/Montserrat-MediumItalic.svg#Montserrat-MediumItalic') format('svg');
}

@font-face {
    font-display: swap;
    font-family: 'Montserrat-Medium';
    font-style: normal;
    font-weight: 500;
    src: url('webfont/Montserrat-Medium.woff2') format('woff2'),
        url('webfont/Montserrat-Medium.woff') format('woff'),
        url('webfont/Montserrat-Medium.svg#Montserrat-Medium') format('svg');
}


/* =============================================================
 * 2.1 TYPOGRAPHIE (Allgemein & @font-face)
 * ============================================================= */

/* Grundtypografie */

.alt-font {
    font-family: 'Montserrat-SemiBold', sans-serif !important;
}

.main-font {
    font-family: 'Montserrat-Regular', sans-serif !important;
}

body {
    font-family: 'Montserrat-Regular', sans-serif !important;
    font-size: 16px;
    font-variant-ligatures: none;
}

a {
    color: #eee9e4;
}

a:hover,
a:focus {
    color: #d60228;
    text-decoration: none;
}

h1 {
    color: #fff;
    font-family: 'Montserrat-ExtraBold' !important;
    font-size: 38px;
    line-height: 46px;
    margin-bottom: 0;
    text-transform: uppercase;
}

h2 {
    font-family: 'Montserrat-ExtraBold' !important;
    font-size: 40px;
    line-height: 46px;
}

h3 {
    font-family: 'Montserrat-SemiBold' !important;
    font-size: 16px !important;
    line-height: 23px !important;
}

/* ============================================================
   H2 TYPO — ABSTEIGENDE BREAKPOINTS (MIT !IMPORTANT)
   ============================================================ */

@media (min-width: 1266px) and (max-width: 1272px) {
    h2 {
        font-size: 42px;
        line-height: 45px;
    }
}

/*  1200px — große & sehr große Screens */
@media (min-width: 1200px) {
    h2 {
        font-size: 42px !important;
        line-height: 46px !important;
    }
}

/* 992px – 1199px — kleine Desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    h2 {
        font-size: 35px !important;
        line-height: 41px !important;
    }
}

/* 521px – 991px — Tablets & mittlere Viewports */
@media (min-width: 521px) and (max-width: 991px) {
    h2 {
        font-size: 35px !important;
        line-height: 41px !important;
    }
}

/* 430px – 520px — kleine Smartphones (Portrait) */
@media (min-width: 430px) and (max-width: 520px) {
    h2 {
        font-size: 32px !important;
        line-height: 38px !important;
    }
}

/* 0px – 429px — kleine Smartphones (Portrait) */
@media (min-width: 0) and (max-width: 429px) {
    h2 {
        font-size: 36px !important;
        line-height: 38px !important;
    }
}


/* =============================================================
 * 3. ALLGEMEINE STYLES & HILFSKLASSEN
 * ============================================================= */


::selection {
  background-color: #67241F;
  color: #fff;
}

::-moz-selection {
  background-color: #67241F;
  color: #fff;
}

/* Logos */

.logo, .retina-logo {
    max-height: 50px !important;
}

@media (max-width: 1199px) {
    .vc_row,
    .vc_row[data-vc-full-width],
    .wpb_row {
        background-attachment: scroll !important;
    }
}


img {
  pointer-events: none;
}


/* ===========================================
   iPHONE / RETINA-PHONES – LOGO-FEINTUNING
   =========================================== */

/* Header-Logo: nur echte Smartphones, kleine Viewports 
@media (max-width: 480px) and (hover: none) and (pointer: coarse) {
    header nav.navbar .nav-header-container a.logo img,
    header nav.navbar .nav-header-container img.retina-logo {
        display: block;
        margin-left: 0 !important;
        max-width: 100% !important;
        transform: translateX(-30px) !important; 
    }
} */


/* Textbox-Absatz-Defaults */

.text-box p {
    color: #fff;
    font-family: 'Montserrat-Medium';
    margin-bottom: 15px !important;
    margin-top: 10px !important;
}

/* Desktop-Logo Basis (Home) */

/* EINZIGE Definition für das Home-Logo */
.logo-home img {
    display: block;
    height: auto;
    max-width: 100%;
    position: relative;
    transform: translate(60px, 20px) scale(0.9);
    transform-origin: top left;
    transition: max-width 0.5s ease-in-out, transform 0.3s ease;
}

/* Navigationslink-Defaults */

#menu-navigation-clasen-co a {
    font-size: 14px;
    letter-spacing: 1px;
    padding: 20px 15px;
}

/* Helferklassen */

.bg-white {
    background-color: transparent;
}

.display-inline-block.width-130px {
    width: 230px;
}


/* =============================================================
 * 4. NAVIGATION & HEADER 
 * ============================================================= */

/* Header-Hintergrund: Verlauf rechts */

.navbar-fixed-top {
    background-color: transparent !important;
    background: linear-gradient(
        to right,
        rgba(60, 38, 36, 0) 0%,
        rgba(60, 38, 36, 0) 50%,
        rgba(60, 38, 36, 0.25) 65%,
        rgba(60, 38, 36, 0.55) 80%,
        rgba(60, 38, 36, 0.85) 95%,
        rgb(45, 27, 25) 100%
    );
}

/* Umbruch-Hilfselement für große Screens */

.break-point-1561 {
    display: none;
}

/* Mobile-Menü Links zentrieren */

#navbar-collapse-toggle-1 a {
    text-align: center !important;
}

/* Navigation: Hover- und Active-State einheitlich */

#navbar-collapse-toggle-1 a:hover,
#navbar-collapse-toggle-1 a:active,
#navbar-collapse-toggle-1 a:focus,
#navbar-collapse-toggle-1 .current-menu-item > a {
    color: #ffffff !important;
    text-decoration-color: #ff123d !important;
    text-decoration-line: underline !important;
    text-decoration-thickness: 1.5px !important;
    text-shadow:
        0 0 5px rgba(0, 0, 0, 0.5),
        0 0 12px rgba(0, 0, 0, 0.35) !important;
    text-underline-offset: 6px !important;
}


/* =============================================================
 * 5. MOBILE MENÜ & HAMBURGER
 * ============================================================= */

/* Mobile Menü (bis 1080px) */

@media (max-width: 1080px) {
    .navbar-fixed-top {
        background: none;
    }

    .navbar.bootsnav.navbar-fixed-top.mobile-menu {
        background-color: rgba(60, 38, 36, 1) !important;
    }

    .home-logo-row {
        display: none !important;
    }

    .navbar-toggle .icon-bar {
        border-radius: 1px !important;
        display: block;
        height: 2px !important;
        margin-top: 7px !important;
        width: 40px !important;
    }

    nav .accordion-menu {
        padding: 13px 15px !important;
    }

    #menu-navigation-clasen-co {
        background-color: rgba(60, 38, 36, 1) !important;
    }
}

@media (max-width: 1080px) {
    #navbar-collapse-toggle-1 {
        -webkit-box-shadow: 0 15px 15px 0 rgba(29, 19, 18, 0.71);
        box-shadow: 0 15px 15px 0 rgba(29, 19, 18, 0.71);
    }
}

/* Hamburger Icon: globale Styles */

header nav.navbar .navbar-toggle .icon-bar {
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

header nav.navbar .header-menu-button span,
header nav.navbar .mobile-toggle span,
header nav.navbar .navbar-toggle .icon-bar {
    background-color: #ffffff;
}

header nav.navbar .navbar-toggle:hover .icon-bar {
    background-color: #ff123d !important;
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, 0.5) !important;
}


/* =============================================================
 * 6. FOOTER
 * ============================================================= */

/* Footer-Navigation & Spacing */
.footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom {
    padding-top: 20px;
    padding-bottom: 40px;
}

.footer-nav {
    margin-top: 30px;
}

/* Footer-Links */
.footer-nav a {
    display: inline-block;
    padding: 0 20px;
    font-family: 'Montserrat-Medium';
    letter-spacing: 0.01em;
    color: #333333;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s ease-in-out, font-size 0.2s ease-in-out;
}

.footer-nav a:hover {
    color: #ffffff;
    font-size: 17px;
}

/*  ab 1700px  ---------------------------------------------------- */
@media (min-width: 1700px) {
    .pofo-footer-bottom.footer-bottom.text-center.padding-five-tb.xs-padding-30px-tb.footer-bottom-style-2 .container {
        width: 1600px !important;
        max-width: 1600px !important;
        margin-left: auto;
        margin-right: auto;
    }
}

/*  1400px bis 1699px  ------------------------------------------- */
@media (min-width: 1400px) and (max-width: 1699px) {
    .pofo-footer-bottom.footer-bottom.text-center.padding-five-tb.xs-padding-30px-tb.footer-bottom-style-2 .container {
        width: 1300px !important;
        max-width: 1300px !important;
        margin-left: auto;
        margin-right: auto;
    }
}

/*  bis 900px  ---------------------------------------------------- */
@media (max-width: 900px) {
    .footer-nav a {
        padding: 0 12px;
        font-size: 14px;
    }
}

/*  992px bis 1199px  --------------------------------------------- */
@media (min-width: 992px) and (max-width: 1199px) {

    .footer-right-text {
        padding: 0;
        right: 25px;
    }

    .footer-nav a {
        padding: 0 10px;
    }

    .footer-logo img {
        transform: scale(0.95);
        transform-origin: left center;
    }
}

/*  768px bis 991px  ---------------------------------------------- */
@media (min-width: 768px) and (max-width: 991px) {

    .footer-nav {
        text-align: center;
        margin-top: 60px;
        padding-top: 20px;
        border: none;
        position: relative;
    }

    .footer-nav::before {
        content: "";
        display: block;
        width: 60%;
        height: 1px;
        background-color: #91c8ef;
        margin: 0 auto;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

    .footer-nav ul {
        justify-content: center !important;
    }

    .footer-nav li,
    .footer-nav a {
        display: block;
        padding: 8px 10px !important;
        font-size: 16px;
    }

    .footer-bottom .col-md-6 {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin-bottom: 10px;
    }

    .footer-bottom {
        padding-top: 25px;
        padding-bottom: 15px;
    }

    .footer-logo img {
        width: calc(350px * 0.88);
    }

    .footer-logo {
        max-height: 15px;
    }
}

/*  bis 767px  ---------------------------------------------------- */
@media (max-width: 767px) {

    .footer-bottom.footer-bottom-style-2 {
        padding-bottom: 15px !important;
    }

    /* LOGO: 15% kleiner */
    .footer-logo img {
        transform: scale(0.85);
        transform-origin: center center;
    }

    /* NAVIGATION UNTEREINANDER + ZENTRIERT */
    .footer-nav {
        text-align: center;
        margin-top: 50px;
        padding-top: 20px;
        border: none;
        position: relative;
    }

    /* TRENNLINIE (70px schmaler als vorher) */
    .footer-nav::before {
        content: "";
        display: block;
        width: calc(60% - 70px);
        height: 1px;
        background-color: #91c8ef;
        margin: 0 auto;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
    }

    .footer-nav ul {
        flex-direction: column;
        justify-content: center !important;
        padding: 0;
    }

    .footer-nav li,
    .footer-nav a {
        padding: 8px 0 !important;
        font-size: 16px !important;
        display: block;
    }

    .footer-bottom .col-md-6 {
        width: 100% !important;
        max-width: 100% !important;
        text-align: center !important;
        margin-bottom: 12px;
    }

    .footer-bottom {
        padding-top: 20px;
        padding-bottom: 20px;
    }
}

/*  bis 650px  ---------------------------------------------------- */
@media (max-width: 650px) {
    .footer-nav::before {
        width: calc((60% - 70px) + 15%);
    }
}

/*  bis 550px  ---------------------------------------------------- */
@media (max-width: 550px) {
    .footer-nav::before {
        width: calc((60% - 70px) + 30%);
    }
}

/*  bis 450px  ---------------------------------------------------- */
@media (max-width: 450px) {
    .footer-nav::before {
        width: calc((60% - 70px) + 45%);
    }
}

/*  bis 350px  ---------------------------------------------------- */
@media (max-width: 350px) {
    .footer-nav::before {
        width: calc((60% - 70px) + 60%);
    }
}


/* =============================================================
 * 7. BUTTONS & ANIMATIONEN
 * ============================================================= */

/* Scroll-Down Pfeil */

.down-section {
    bottom: 0;
}

.down-section-link {
    animation: arrow-bounce 4s ease-out 3s infinite;
    cursor: pointer;
    display: inline-block;
    will-change: transform;
}

@keyframes arrow-bounce {
    0% {
        transform: translateY(0);
    }
    12% {
        transform: translateY(12px);
    }
    20% {
        transform: translateY(0);
    }
    32% {
        transform: translateY(12px);
    }
    40% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(0);
    }
}





/* Scroll-to-top Button */

.scroll-top-arrow {
    background-color: #1f83c8;
    border-radius: 0;
    transition: background 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.ti-arrow-up {
    font-size: 18px;
}

/* Pofo Buttons: Layout & Icon */

.btn[class*="pofo-button-"].button-style1 {
    align-items: center;
    display: inline-flex;
}

.btn.btn-medium {
    font-size: 13px;
    padding: 6px 15px 5px;
}

.button-arrow-right {
    align-items: center;
    background: url('/wp-content/uploads/2025/11/right.svg') center / contain no-repeat;
    display: inline-flex;
    flex-shrink: 0;
    height: 23px;
    justify-content: center;
    margin-right: 10px;
    transition: background-image 0.4s ease;
    width: 23px;
}

/* Pfeil-Hover-Animation (Buttons) */

@keyframes arrow-wiggle-soft {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(3px);
    }
    100% {
        transform: translateX(0);
    }
}

.btn[class*="pofo-button-"].button-style1:hover .button-arrow-right {
    animation: arrow-wiggle-soft 0.6s ease;
    background-image: url('/wp-content/uploads/2025/11/right-beige.svg');
}


/* =============================================================
 * 8. KONTAKT-ELEMENTE (Boxen, Routenplaner)
 * ============================================================= */

/* Kontakt-Wrapper (0px bis 490px wird kleiner) */

.kontakt-wrapper {
    margin: 0;
    max-width: 490px; /* statt fix 490px  kann schrumpfen */
    width: 100%;
}

/* Kontakt-Box (490x260) */

.kontakt-box {
    background-color: transparent;
    border: 1px solid #eae1d8;
    height: 260px;
    margin: 0;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Kontakt-Bild (Person) – skaliert leicht mit */

.kontakt-box .kontakt-bild {
    bottom: -1px;
    height: auto;
    max-width: none;
    outline: none;
    position: absolute;
    right: -1px;
    width: clamp(220px, 40vw, 320px); /* 0px bis ca. 1600px  Bild wird kleiner */
    z-index: 1;
}

/* Kontakt-Text & Nummer (Blasen) */

.kontakt-box .kontakt-text-blase,
.kontakt-box .kontakt-nummer-blase {
    background-color: transparent;
    box-shadow: none;
    color: #eae1d8;
    padding: 0;
    position: absolute;
    transform: none;
    width: auto;
    z-index: 2;
}

.kontakt-box .kontakt-text-blase {
    left: 20px;
    top: 40px;
}

/* 0px bis ~1600px – Headline skaliert mit */

.kontakt-box .kontakt-ueberschrift {
    font-family: 'Montserrat-ExtraBold', sans-serif;
    font-size: clamp(18px, 2.2vw, 30px);
    line-height: 1.2;
    margin: 0;
}

/* Kontakt: Telefonnummer & Icon */

.kontakt-box .kontakt-nummer-blase {
    align-items: center;
    bottom: 60px;
    display: flex;
    left: 30px;
}

.kontakt-box .kontakt-telefon {
    color: #eae1d8;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: clamp(14px, 1.6vw, 22px);
    margin: 0;
    padding-left: 10px;
    text-decoration: none;
}

.kontakt-box .kontakt-telefon:hover,
.kontakt-box .kontakt-telefon:active {
    color: #eae1d8;
    text-decoration: none;
}

.kontakt-box .telefon-icon {
    height: 25px;
    width: 25px;
}

/* Kontakt-Infos unterhalb der Box */

.kontakt-info-unten {
    padding-right: 5px;
    padding-top: 15px;
    text-align: right;
}

.kontakt-info-unten .kontakt-name,
.kontakt-info-unten .kontakt-titel {
    color: #eae1d8;
    font-size: clamp(12px, 2vw, 16px);
    line-height: 22px;
    margin: 0;
}

.kontakt-info-unten .kontakt-name {
    font-family: 'Montserrat-Medium', sans-serif;
}

.kontakt-info-unten .kontakt-titel {
    font-family: 'Montserrat-MediumItalic', sans-serif;
}

/* Showroom Adressblock */

.showroom-box {
    background-color: transparent;
    width: 300px;
}

.showroom-box p {
    color: #eae1d8;
    line-height: 1.2;
    margin: 0;
}

.showroom-box .showroom-ueberschrift {
    font-family: 'Montserrat-ExtraBold', sans-serif;
    font-size: 28px;
    margin-bottom: 9px;
}

.showroom-box .showroom-adresse-1 {
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 16px;
    margin-bottom: 5px;
}

.showroom-box .showroom-adresse-2 {
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 16px;
    margin-bottom: 0;
}

/* Routenplaner-Link */

.routenplaner-container {
    padding: 35px 0;
}

.routenplaner-link {
    align-items: center;
    color: #eae1d8;
    display: inline-flex;
    font-family: 'Montserrat-Medium', sans-serif;
    font-size: 16px;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.2s ease-in-out;
}

.routenplaner-icon {
    height: 25px;
    margin-right: 10px;
    opacity: 1;
    transition: opacity 0.2s ease-in-out;
    width: 25px;
}

.routenplaner-link:hover,
.routenplaner-link:focus {
    color: #d60228;
}

.routenplaner-link:hover .routenplaner-icon {
    opacity: 0;
}

.routenplaner-link::before {
    background-image: url('https://www.clasenco.de/wp-content/uploads/2025/11/right-red.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    content: '';
    display: block;
    height: 25px;
    left: 0;
    opacity: 0;
    position: absolute;
    transition: opacity 0.2s ease-in-out;
    width: 25px;
    z-index: 0;
}

.routenplaner-link:hover::before {
    opacity: 1;
    z-index: 1;
}


/* =============================================================
 * 9. CONTACT FORM 7 STYLING (Formular)
 * ============================================================= */

/* Kontaktformular Überschrift */

.kontaktformular-ueberschrift {
    color: #eae1d8;
    font-family: 'Montserrat-ExtraBold', sans-serif;
    font-size: 28px;
}

/* Formular-Layout: 2 Spalten */

.form-row-2col {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin-bottom: 5px;
}

.form-col-left,
.form-col-right { 
    display: flex;
    flex-direction: column;
    width: 50%;
}

/* Formular-Layout: 1 Spalte (Textarea) */

.form-row-1col {
    margin-bottom: 25px;
}

/* Formular-Labels */

.form-label {
    color: #eae1d8;
    display: block;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 16px;
    margin-bottom: 25px;
    margin-top: -36px;
}

/* Inputs & Textareas */

.form-input-field {
    background-color: #735A5E;
    border: 1px solid #eae1d8;
    box-sizing: border-box;
    color: #eae1d8;
    display: block;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 16px;
    outline: none;
    padding: 10px 15px;
    transition: border-color 0.2s;
    width: 100%;
}

.form-row-1col textarea.form-input-field {
    height: 150px;
    resize: vertical;
}

.form-input-field::placeholder {
    color: #eae1d8;
    opacity: 1;
}

.form-input-field:focus {
    border-color: #1f83c8;
}

/* Datenschutz-Text */

.form-datenschutz {
    color: #eae1d8;
    font-family: 'Montserrat-Regular', sans-serif;
    font-size: 12px;
    line-height: 1.5;
    margin-bottom: 30px;
    margin-top: 20px;
}

.form-datenschutz p {
    font-family: 'Montserrat-Italic', sans-serif !important;
}

/* Submit-Button Wrapper */

.form-submit-row {
    margin-top: 30px;
    text-align: left;
}

/* Submit-Button (CF7) */

.form-submit-btn {
    align-items: center;
    background-color: #eae1d8;
    border: none;
    color: #282525;
    cursor: pointer;
    display: inline-flex;
    font-family: 'Montserrat-SemiBold', sans-serif;
    font-size: 16px;
    justify-content: center;
    padding: 12px 30px;
    text-transform: uppercase;
    transition: background-color 0.2s, color 0.2s;
}

.form-submit-btn::before {
    background: url('/wp-content/uploads/2025/11/right-dark.svg') center / contain no-repeat;
    content: '';
    display: block;
    height: 25px;
    margin-right: 10px;
    transition: all 0.4s ease;
    width: 25px;
}

.form-submit-btn:hover {
    background-color: #1f83c8;
    color: #eae1d8;
}

.form-submit-btn:hover::before {
    animation: arrow-wiggle-soft 0.6s ease;
    background-image: url('/wp-content/uploads/2025/11/right-beige.svg');
}

/* zweite arrow-wiggle-soft Definition wie im Original belassen */

@keyframes arrow-wiggle-soft {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(3px);
    }
    100% {
        transform: translateX(0);
    }
}

.wpcf7-form-control.wpcf7-submit.has-spinner.form-submit-btn {
    padding: 5px 44px;
}

/* Mobile Formular-Layouts */

@media (max-width: 600px) {
    .form-row-2col {
        flex-direction: column;
        gap: 0;
    }

    .form-col-left,
    .form-col-right {
        margin-bottom: 20px;
        width: 100%;
    }
}

.wpcf7-response-output {
  color: #fff;
}

/* =============================================================
 * 10. STARTSEITE (HOME)
 * ============================================================= */

/* Home: Subheadline */

.home-hero-subhead {
    font-family: 'Montserrat-Medium';
}

/* Text-Box: Vorder- & Hintergrundrahmen */

.text-box {
    min-height: 150px;
    padding: 25px 5rem 63px;
    position: relative;
    z-index: 1;
}

.text-box::before {
    background: rgba(204, 196, 188, 0.7);
    bottom: 26px;
    content: "";
    left: 0;
    position: absolute;
    right: 6.5%;
    top: 10.13%;
    z-index: -2;
}

.text-box::after {
    background: rgba(60, 38, 36, 0.9);
    content: "";
    height: 100%;
    left: 2.42%;
    position: absolute;
    right: 40px;
    top: 0;
    z-index: -1;
}

/* Bildschatten & Versatz */

.image-shadow img {
    box-shadow: -10px 20px 40px rgba(0, 0, 0, 0.4);
}

.image-offset {
    left: -25px;
    position: relative;
}

/* Home: Fragen-Element */

.home-fragen {
    border: 1px solid #EAE1D8;
    display: inline-block;
    font-family: 'Montserrat-ExtraBold';
    font-size: 24px;
    line-height: 30px;
    padding: 10px 40px 10px 30px;
    white-space: nowrap;
}

.home-fragen__phone a {
  color: #4F3330 !important;
}

.home-fragen__phone a:hover {
  color: #d60228 !important;
}

#leistungen-fragen-desktop.home-fragen p{ margin:0 !important; } /* falls WPBakery doch p drum macht */

#leistungen-fragen-desktop .home-fragen__label,
#leistungen-fragen-desktop .home-fragen__phone{
  display:block;
}

#leistungen-fragen-desktop .home-fragen__phone a{
  color: inherit;
  text-decoration: none;
}

/* Prozess-Sektion */

#prozess {
    background-position: center bottom !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

.process-headlines {
    color: #d60228 !important;
    font-family: 'Montserrat-ExtraBold' !important;
    font-size: 16px !important;
    margin-bottom: 0 !important;
    margin-left: 26px !important;
    margin-top: 65px !important;
    text-align: left !important;
    text-transform: uppercase !important;
}

.width-75.last-paragraph-no-margin {
    width: 90%;
}

#prozess p {
    color: #2c1c19;
    font-family: 'Montserrat-Regular';
    font-size: 15px;
    line-height: 20px;
    margin-left: 24px;
    text-align: left !important;
}

.alt-font.margin-30px-top {
    color: #d60228;
    font-family: 'Montserrat-ExtraBold' !important;
    margin-left: 40px !important;
    margin-top: 65px;
    text-align: left;
}

/* Home: Portfolio-Button */

.home-portfolio-button {
    padding-right: 32px !important;
}


/* =============================================================
 * 11. RESPONSIVE BREAKPOINTS (Absteigend sortiert)
 * ============================================================= */

.text-box h1 {
    font-size: 42px;
    line-height: 50px;
}

/* 1561px – 1830px: grosse Desktops */

@media (min-width: 1561px) and (max-width: 1830px) {
    .text-box h1 {
        font-size: 36px;
        line-height: 44px;
    }

    .text-box {
        padding: 25px 6.6rem 63px 4rem;
    }
}

/* ab 1561px: Umbruch-Hilfselement 

@media (min-width: 1561px) {
    .break-point-1561 {
        content: " ";
        display: block;
        height: 0;
    }
}*/

/* 1481px bis 1560px: mittlere Desktops */

@media (min-width: 1481px) and (max-width: 1560px) {
    .text-box h1 {
        font-size: 34px;
        line-height: 42px;
    }

    .text-box {
        padding: 25px 4rem 63px;
    }
}

/* 1380px bis 1480px: kleinere Desktops */

@media (min-width: 1380px) and (max-width: 1480px) {
    .text-box p {
        margin-bottom: 15px !important;
        margin-top: 10px !important;
    }

    .text-box h1 {
        font-size: 32px !important;
        line-height: 40px !important;
    }

    .text-box::before {
        background: rgba(204, 196, 188, 0.7);
        bottom: 12%;
        content: "";
        left: 0;
        position: absolute;
        right: 7.5%;
        top: 5%;
        z-index: -2;
    }

    .text-box {
        padding: 25px 5rem 63px 3rem;
    }
}

@media (min-width: 1200px) and (max-width: 1370px) {
    .text-box p {
        margin-bottom: 10px !important;
    }
}

@media (min-width: 1200px) and (max-width: 1339px) {
    .text-box::before {
        bottom: 30px;
    }
}

@media (min-width: 1034px) and (max-width: 1199px) {
    .text-box::before {
        bottom: 26px !important;
    }
}

@media (min-width: 992px) and (max-width: 1033px) {
    .text-box::before {
        bottom: 32px !important;
    }
}

@media (min-width: 966px) and (max-width: 991px) {
    .text-box::before {
        bottom: 25px !important;
    }
}

@media (min-width: 768px) and (max-width: 965px) {
    .text-box::after {
        height: 75%;
    }
}


/* ab 1200px: erweiterter Nav-Container */

@media (min-width: 1200px) {
    header nav .nav-header-container {
        margin: 0 auto !important;
        max-width: 1700px !important;
        padding: 0 40px !important;
        width: 100% !important;
    }
}

/* bis 1480px: Logo verkleinern */

@media (max-width: 1480px) {
    .logo-home img {
        max-width: 75%;
    }
}

/* bis 1379px: Textbox-Anpassungen */

@media (min-width: 1200px) and (max-width: 1379px) {
    .text-box h1 {
        font-size: 28px;
        line-height: 34px;
    }

    .text-box {
        padding: 25px 4rem 63px 2.5rem;
    }
}

@media (min-width: 864px) and (max-width: 1199px) {
    .text-box h1 {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 15px;
    }

    .text-box {
        padding: 25px 6rem 63px 3rem;
    }

    .text-box::before {
        bottom: 42px;
        left: 0;
        right: 8%;
        top: 9%;
    }

    .text-box::after {
        top: 3px;
    }
}

@media (min-width: 768px) and (max-width: 863px) {
    .text-box h1 {
        font-size: 25.8px;
        line-height: 31px;
        letter-spacing: -0.01em;
        margin-bottom: 15px;
    }

    .text-box {
        padding: 25px 4rem 63px 2.5rem;
    }

    .text-box::before {
        bottom: 42px;
        left: 0;
        right: 8%;
        top: 9%;
    }

    .text-box::after {
        top: 3px;
    }
}



@media (max-width: 767px) {
  .text-box::before {
    content: none !important;
    display: none !important;
  }
}




@media (max-width: 767px) {
  header nav .nav-header-container {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* HERO: Höhe wird über CSS-Variable fixiert (setzt JS unten) */
  .home-hero {
    display: flex !important;
    align-items: center;
    justify-content: center;

    height: var(--hero-vh, 100svh) !important;
    min-height: var(--hero-vh, 100svh) !important;

    margin: 0 -15px !important;
    padding: 0 !important;
    overflow: hidden !important;
    position: relative !important;
    width: calc(100% + 30px) !important;
  }

  .home-hero .vc_row {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
  }

  /* TEXT-BOX: NICHT mehr absolut zentrieren (das ist der Jump-Trigger) */
  .text-box {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;

    width: 100%;
    max-width: 100%;
    margin: 0 auto !important;
    padding: 25px 5px 15px 5px !important;
    text-align: left !important;
    z-index: 1;
  }

  .text-box h1 {
    font-size: 29.5px !important;
    line-height: 33px !important;
    text-align: left !important;
  }

  .text-box::before {
    background: rgba(204, 196, 188, 0.7) !important;
    content: "" !important;
    position: absolute;
    inset: 0;
    transform: translate(-20px, 20px);
    z-index: -2;
  }

  .text-box::after {
    background: rgba(60, 38, 36, 0.9);
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
  }
}









/* Standard: Desktop / Tablet / alles über 767px */

.sep-desktop {
    display: inline;
}

.sep-mobile {
    display: none;
}

.break-here {
    display: inline;
}

/* Unter 767px: Umbruch nach "Ihre Lösungen!" */

@media (max-width: 767px) {
    .break-here {
        display: block;
    }
}

/* Unter 767px: "– " wird zu ", " */

@media (max-width: 767px) {
    .sep-desktop {
        display: none;
    }

    .sep-mobile {
        display: inline;
    }
}

@media (max-width: 473px) {
    .text-box h1 {
        font-size: 28px !important;
        line-height: 32px !important;
        text-align: left !important;
    }
}

@media (max-width: 380px) {
    .text-box h1 {
        font-size: 26px !important;
        line-height: 30px !important;
        text-align: left !important;
    }
}

@media (max-width: 356px) {
    .text-box h1 {
        font-size: 25px !important;
        line-height: 29px !important;
        text-align: left !important;
    }
}

/* bis 539px */

@media (max-width: 539px) {
    /* Zielt auf den hellbraunen/hellgrauen Kasten */
    .text-box::before {
        /* Überschreibt die Aktivierung aus der 767px-Regel */
        content: none !important;
        display: none !important;
    }
}


/* NEUER, SPEZIFISCHER BREAKPOINT für Padding-Korrekturen */

@media (min-width: 992px) and (max-width: 1265px) {
    /* Ziel: Entfernt Padding-Right vom Spalten-Inner-Element */
    #mehr-als-handwerk-responsive-text-ID > .vc_column-inner,
    .mehr-als-handwerk-responsive-text > .vc_column-inner {
        padding-right: 0 !important;
    }

    /* Optional, falls das Padding vom Spalten-Eltern vererbt wird: */
    #mehr-als-handwerk-responsive-text-ID {
        padding-right: 0 !important;
    }
}

@media (max-width: 991px) {
    /* Ziel: Entfernt Padding-Right vom Spalten-Inner-Element */
    #mehr-als-handwerk-responsive-text-ID > .vc_column-inner,
    .mehr-als-handwerk-responsive-text > .vc_column-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Optional, falls das Padding vom Spalten-Eltern vererbt wird: */
    #mehr-als-handwerk-responsive-text-ID {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* 0px – 1120px: Reduzierung des Paddings für das "Fragen"-Element */

@media (min-width: 1011px) and (max-width: 1120px) {
    .home-fragen {
        padding: 10px 15px !important;
    }
}


/* 0px – 1010px: Spezifische Korrektur für "Fragen"-Element */

@media (max-width: 1010px) {
    .home-fragen {
        display: block !important; /* Wird zu einem Blockelement */
        float: left; /* Als alternative Ausrichtungshilfe */
        margin-left: 0 !important; /* Stellt sicher, dass kein linker Margin existiert */
        margin-right: auto !important; /* Wichtig für die Linksbündigkeit */
        padding: 10px 15px !important;
        transform: scale(0.9);
        transform-origin: left center; /* Skalierung startet links */
    }
}


/* 992px – 1013px: Spezifische Schriftgrößen-Korrektur für Medium-Buttons */

@media (min-width: 992px) and (max-width: 1013px) {
    .btn.btn-medium {
        font-size: 12px !important;
    }
}


#clasen-process {
    /* Definiert, welche Eigenschaften wie animiert werden sollen */
    transition: padding-left 0.5s ease-in-out,
        padding-right 0.5s ease-in-out !important;
}

@media (min-width: 1601px) {
    #clasen-process {
        padding-left: 10% !important;
        padding-right: 10% !important;
    }
}

@media (min-width: 1351px) and (max-width: 1600px) {
    #clasen-process {
        padding-left: 3% !important;
        padding-right: 3% !important;
    }
}

@media (min-width: 1201px) and (max-width: 1350px) {
    #clasen-process {
        padding-left: 2% !important;
        padding-right: 2% !important;
    }
}

@media (min-width: 0) and (max-width: 1200px) {
    #clasen-process .vc_column_container {
        width: 19.9% !important;
    }

    #clasen-process {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

@media (max-width: 1199px) {
    #prozess h2 {
        font-size: 40px !important;
        line-height: 46px !important;
    }
}

@media (min-width: 1300px) and (max-width: 1599px) {
    .icon-image {
        margin-left: -11px !important;
    }
}

@media (min-width: 1201px) and (max-width: 1299px) {
    .icon-image {
        margin-left: -20px !important;
    }
}

@media (min-width: 992px) and (max-width: 1200px) {
    .icon-image {
        margin-left: -55px !important;
    }
}

@media (min-width: 992px) {
    .clasen-process-mobile {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .clasen-process-desktop {
        display: none !important;
    }
}

/* 992px – 1006px: Headlines etwas kleiner */

@media (min-width: 992px) and (max-width: 1006px) {
    .process-headlines {
        font-size: 15px !important;
    }
}

@media (max-width: 991px) {
    .clasen-process-mobile {
        padding-top: 0 !important;
    }

    #prozess h2 {
        font-size: 36px !important;
        line-height: 42px !important;
        margin-top: 80px !important;
    }
}

@media (max-width: 767px) {
    #prozess .process-headlines,
    #prozess h2,
    #prozess p {
        margin-left: 0 !important;
        margin-right: 0 !important;
        text-align: center !important;
    }
}

/* ABSCHNITT 11. RESPONSIVE BREAKPOINTS */

@media (max-width: 767px) {
    /* Prozess-Row auf Block setzen, um Stapelung zu erzwingen */
    .process-row-centered {
        display: block !important;
        justify-content: initial !important;
        text-align: center;
    }

    /* Stellt sicher, dass die Spalten die volle Breite haben und zentriert sind */
    .process-row-centered .vc_column_container {
        display: block !important;
        float: none !important;
        margin-bottom: 30px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
}

/* ABSCHNITT 11. RESPONSIVE BREAKPOINTS */

@media (min-width: 768px) and (max-width: 991px) {
    /* Setzt die Row auf Flex und zentriert die Inhalte */
    .process-row-centered {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center !important;
        width: 100% !important;
    }

    /* Definiert die Breite der Icons für die Darstellung (zwei pro Reihe) */
    .process-row-centered .vc_column_container {
        flex-shrink: 0;
        max-width: 250px;
        width: 45% !important; /* zwei Icons nebeneinander */
    }
}

@media (min-width: 420px) and (max-width: 485px) {
    .btn.btn-medium {
        display: block !important;
        font-size: 12px !important;
        padding: 5px 10px !important;
        text-align: center !important;
        width: 100% !important;
    }

    .button-arrow-right {
        display: none;
    }
}

@media (min-width: 324px) and (max-width: 419px) {
    .btn.btn-medium {
        display: block !important;
        font-size: 14px !important;
        line-height: 18px;
        padding: 5px 38px !important;
        text-align: center !important;
        width: 100% !important;
    }

    .button-arrow-right {
        display: none;
    }
}

@media (max-width: 323px) {
    .btn.btn-medium {
        display: block !important;
        font-size: 14px !important;
        line-height: 18px;
        padding: 5px 15px !important;
        text-align: center !important;
        width: 100% !important;
    }

    .button-arrow-right {
        display: none;
    }
}

@media (max-width: 485px) {
    .pofo-button-1.btn-medium {
        margin-top: 40px !important;
    }
}

@media (max-width: 767px) {
    /* Spalte als Flex-Container, alles vertikal zentriert */
    #clasen-process .vc_column_container {
        align-items: center;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    /* Icon selbst sicher mittig */
    #clasen-process .icon-image {
        display: block;
        margin: 0 auto 25px !important; /* unten Abstand zum Titel */
    }
}

/* Mobile-Variante: Icons + Inhalt in der Spalte vertikal zentrieren */

@media (max-width: 767px) {
    .clasen-process-mobile {
        align-items: center;      /* horizontal mittig */
        display: flex !important;
        flex-direction: column;
        justify-content: center;  /* vertikal mittig innerhalb der Spalte */
        text-align: center;
    }

    .clasen-process-mobile .icon-image {
        display: block;
        margin: 0 auto 25px !important;  /* Icon mittig + Abstand nach unten */
    }

    .wpb_column.vc_column_container.vc_col-sm-4.vc_col-lg-offset-2.vc_col-lg-4.vc_col-md-offset-2.vc_col-md-4.vc_col-sm-offset-0.vc_col-xs-12.xs-text-center {
        margin-bottom: 0 !important;
    }
}

/* 581px – 767px */
@media (min-width: 581px) and (max-width: 767px) {
    #prozess {
        padding: 0 20% !important;
    }
}

/* 421px – 580px */
@media (min-width: 421px) and (max-width: 580px) {
    #prozess {
        padding: 0 10% !important;
    }
}

/* 0 – 420px */
@media (max-width: 420px) {
    #prozess {
        padding: 0 3% !important;
    }
}

/* Basis: alles < 767px erst mal sauber mittig */

@media (max-width: 767px) {
    .clasen-process-mobile {
        align-items: center;
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .clasen-process-mobile .icon-image {
        display: block;
        margin: 0 auto 25px !important;
    }
}

/* Feintuning für "normale" Smartphones: 321px – 767px */

@media (min-width: 321px) and (max-width: 767px) {
    .clasen-process-mobile .icon-image {
        transform: translateX(-3px); /* leichter optischer Ausgleich */
    }
}

/* Mini-Viewports <= 320px: kein Shift, exakt mittig */

@media (max-width: 320px) {
    .clasen-process-mobile .icon-image {
        margin: 0 auto 25px !important;
        transform: none !important;
    }
}

@media (max-width: 320px) {
    .clasen-process-mobile .icon-image {
        display: none !important;
    }

    .display-inline-block.border-radius-100.bg-white.padding-30px-all.width-130px.height-130px.line-height-65 {
        display: none !important;
    }

    .process-headlines {
        margin-top: 40px !important;
    }

    #prozess p {
        text-align: left !important;
    }

    .process-headlines {
        text-align: left !important;
    }

    #prozess h2 {
        margin-left: 20px !important;
        text-align: left !important;
    }
}

@media (max-width: 320px) {
    #prozess .process-headlines {
        text-align: left !important;
    }

    .featurebox11 {
        margin-left: -10px;
    }
}

/* Unter 767px: mobiles Hintergrundbild für die Section */

@media (max-width: 767px) {
    #prozess {
        background-image: url('/wp-content/uploads/2025/11/home-process-mobile.webp') !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
        background-size: cover !important;
    }

    #jedes-stueck-ein-unikat {
        margin-top: -1px !important;
    }
}

/* 4. Spalte: 3 Bilder nebeneinander — NUR 768–991px */

@media (min-width: 768px) and (max-width: 991px) {
    /* Flex nur in der 4. Spalte aktivieren */
    .referenzen-grid-col-4 .vc_column-inner > .wpb_wrapper {
        display: flex !important;
        flex-wrap: wrap;
    }

    /* Die drei Single-Image-Elemente auf 1/3 Breite ziehen */
    .referenzen-grid-col-4 .vc_column-inner > .wpb_wrapper > .wpb_single_image {
        display: block !important;
        flex: 0 0 33.333% !important;
        float: none !important;          /* Floats von WPBakery aushebeln */
        margin: 0 !important;
        max-width: 33.333% !important;
        padding: 0 !important;
        width: 33.333% !important;
    }

    .referenzen-grid-col-4 .wpb_single_image img {
        display: block;
        height: auto;
        width: 100% !important;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    /* DIE 4. SPALTE ÜBER VOLLE BREITE ZIEHEN */
    .referenzen-grid-col-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
    }

    .referenzen-grid-col-4 .vc_column-inner {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100% !important;
    }

    /* FLEX-GRID FÜR DIE BILDER */
    .referenzen-grid-col-4 .vc_column-inner > .wpb_wrapper {
        display: flex !important;
        flex-wrap: wrap;
    }

    .referenzen-grid-col-4 .wpb_single_image {
        display: block !important;
        flex: 0 0 33.333% !important;
        float: none !important;
        margin: 0 !important;
        max-width: 33.333% !important;
        padding: 0 !important;
    }

    .referenzen-grid-col-4 .wpb_single_image img {
        display: block;
        height: auto;
        width: 100% !important;
    }
}

.clasen-split-headline {
    color: #3C2624;
    font-family: 'Montserrat-SemiBold';
    font-size: 24px;
    line-height: 32px;
    margin: 0;
}

/* Standard: Kein Umbruch */

.clasen-split-headline .break-1303 {
    display: inline;
}

/* Ab 1060px: Umbruch */

@media (min-width: 1060px) {
    .clasen-split-headline .break-1303 {
        display: block;
        height: 0;
    }
}

.unikat-headline {
    color: #2C1C19;
    font-family: 'Montserrat-ExtraBold';
    font-size: 40px;
    line-height: 46px;
    margin: 0;
}

/* Standard: kein Umbruch */

.unikat-headline .break-42 {
    display: inline;
}

/* Unter 499px: Umbruch */

@media (max-width: 499px) {
    .unikat-headline .break-42 {
        display: block;
        height: 0;
    }
}

@media (min-width: 1200px) {
    .home-komplettbetreut-mobile-bild-02 {
        display: none !important;
    }
}

/* Unter 991px wieder ausblenden */

@media (max-width: 991px) {
    .home-komplettbetreut-mobile-bild-02 {
        display: none !important;
    }
}

/* Buttons: Schriftgröße verkleinern zwischen 992–1039px */

@media (min-width: 992px) and (max-width: 1039px) {
    .btn.home-portfolio-button,
    .btn.pofo-button-3 {
        font-size: 11px !important;
    }
}

@media (max-width: 991px) {
    /* Bild "Komplettbetreut" immer vollflächig in seiner Spalte */

    .home-komplettbetreut-mobile-bild-01 {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* WPBakery-Wrapper in der Spalte auf volle Breite ziehen */
    .home-komplettbetreut-mobile-bild-01 .vc_column-inner,
    .home-komplettbetreut-mobile-bild-01 .wpb_wrapper,
    .home-komplettbetreut-mobile-bild-01 .wpb_single_image,
    .home-komplettbetreut-mobile-bild-01 .vc_single_image-wrapper,
    .home-komplettbetreut-mobile-bild-01-img {
        margin: 0 !important;
        max-width: 100% !important;
        padding: 0 !important;
        text-align: center !important;
        width: 100% !important;
    }

    /* das eigentliche IMG: block + 100% Breite */
    .home-komplettbetreut-mobile-bild-01-img img {
        display: block !important;
        height: auto !important;
        width: 100% !important;
    }

    /* MOBILE: Bild 01 mit 18px Rand links/rechts */
    .home-komplettbetreut-mobile-bild-01 {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}

/* <= 1169px: Buttons voll breit, Pfeil AUS */

@media (max-width: 1169px) {
    /* Buttons behalten Flex-Layout, werden nur breit & zentriert */
    .btn.home-portfolio-button,
    .btn.pofo-button-3 {
        justify-content: center !important;
        text-align: center !important;
        width: 100% !important;
    }

    .btn.home-portfolio-button .button-arrow-right,
    .btn.pofo-button-3 .button-arrow-right {
        display: none !important;
    }
}

/* Unter 355px: Schriftgröße der beiden Buttons um 2px verkleinern */

@media (max-width: 355px) {
    .btn.home-portfolio-button,
    .btn.pofo-button-3 {
        font-size: 12px !important;
    }
}

/* Matze-Visi-Box: zwischen 1200–1600px sanft von ~75% bis 100% */

@media (min-width: 1200px) and (max-width: 1600px) {
    .kontakt-wrapper {
        /* 490px Basis, ca. 25% kleiner bei 1200px, größer Richtung 1600px */
        width: clamp(368px, 30vw, 490px);
    }
}

/* Kontakt-Box skaliert zwischen 1200px und 1600px */

@media (min-width: 1200px) and (max-width: 1600px) {
    .kontakt-box {
        transform: scale(calc(0.75 + ((100vw - 1200px) / 1600) * 0.25));
        transform-origin: top left;
    }
}


/* =============================================================
 *     KONTAKT AREA ÜBER FOOTER
 * ============================================================= */

#matze-visi-ID {
    display: inline-block;
    transform-origin: left top;
    width: 490px;
}

/* 0px bis 1600px gesamtes Kontaktmodul */

@media (max-width: 1600px) {
    .kontakt-wrapper {
        transform: scale(0.9);
        transform-origin: left top;
    }

    .kontakt-box {
        width: 115%;
    }

    .kontakt-info-unten {
        margin-right: -65px;
        padding-right: 0;
    }
}

@media (max-width: 1400px) {
    .kontakt-wrapper {
        transform: scale(0.83);
        transform-origin: left top;
    }

    .kontakt-box {
        width: 125%;
    }

    .kontakt-info-unten {
        margin-right: -95px;
        padding-right: 0;
    }
}

/* 0px bis 1199px – Kontaktmodul im Originalzustand */

@media (max-width: 1199px) {
    /* Skalierung zurücksetzen */
    #matze-visi-ID,
    #matze-visi-ID .kontakt-wrapper {
        transform: none;
        transform-origin: initial;
    }

    /* Wrapper wieder wie am Anfang (490px breit) */
    #matze-visi-ID .kontakt-wrapper {
        margin: 0;
        max-width: 100%;
        width: 490px;
    }

    /* Headline zurück auf fixe Größe */
    #matze-visi-ID .kontakt-ueberschrift {
        font-family: 'Montserrat-ExtraBold', sans-serif;
        font-size: 30px;
        line-height: 1.2;
        margin: 0;
    }

    /* Telefonnummer zurücksetzen */
    #matze-visi-ID .kontakt-telefon {
        color: #eae1d8;
        font-family: 'Montserrat-Regular', sans-serif;
        font-size: 22px;
        margin: 0;
        padding-left: 10px;
        text-decoration: none;
    }

    /* Name & Titel unten zurückstellen */
    #matze-visi-ID .kontakt-info-unten .kontakt-name,
    #matze-visi-ID .kontakt-info-unten .kontakt-titel {
        font-size: 16px;
        line-height: 22px;
    }
}

/* 0px bis 1199px – wieder Originalzustand, keine Skalierung */

@media (min-width: 0) and (max-width: 1199px) {
    .kontakt-wrapper {
        transform: none;
        transform-origin: left top;
    }

    .kontakt-box {
        width: 100%;
    }

    .kontakt-info-unten {
        margin-right: 0;
        padding-right: 5px;
    }
}

/* 0px bis 1199px – Matze-Bild fix auf 320px halten */

@media (max-width: 1199px) {
    #matze-visi-ID .kontakt-bild {
        flex: 0 0 auto;
        height: auto !important;
        max-width: none !important;
        width: 320px !important;
    }
}

.standorte-ansprechpartner {
    color: #EAE1D8;
    font-family: 'Montserrat-SemiBold' !important;
    font-size: 24px;
    line-height: 28px;
}

@media (max-width: 767px) {
    .showroom-box {
        background-color: transparent;
        width: 100%;
    }

    .routenplaner-link {
        left: -15px;
    }

    .matze-mobile {
        margin: 80px 30px !important;
    }
}

@media (max-width: 600px) {
    .matze-mobile {
        margin: 80px 0 80px 5px !important;
    }
}

@media (max-width: 622px) {
    .standorte-ansprechpartner {
        font-size: 20px !important;
        line-height: 28px !important;
    }
}

@media (max-width: 558px) {
    .standorte-ansprechpartner {
        text-align: center;
    }

    /* Linien näher an den Text rücken (für deinen konkreten Separator) */
    .vc_separator.standorte-ansprechpartner .vc_sep_holder {
        width: 80%;
    }
}

/* 1200px bis 1880px */

@media (min-width: 1200px) and (max-width: 17000px) {
    .werkstatt-box {
        left: 60px;
    }
}

@media (max-width: 767px) {
    .wpcf7-form-control.wpcf7-submit.has-spinner.form-submit-btn {
        display: block;
        margin: 0 auto !important;
        max-width: 100%;
        text-align: center;
        width: 100% !important;
    }
}

/* 0px bis 991px */

@media (max-width: 991px) {
    #kontakt {
        padding-top: 40px !important;
    }
}

@media (max-width: 767px) {
    #kontakt {
        padding-top: 60px !important;
    }
}

@media (max-width: 600px) {
    .form-label {
        margin-bottom: 0 !important;
        margin-top: -32px !important;
    }
}

@media (min-width: 623px) and (max-width: 672px) {
    .standorte-ansprechpartner {
        font-size: 22px;
    }
}



/* =============================================================
 * 12. UNTERSEITEN (Header usw...)
 * ============================================================= */

/*  HEADER-BOX: TYPOGRAFIE FÜR H1 UND P (statt .text-box)
 * ============================================================= */

/* Basis-Absätze in der Header-Box */
.header-box p {
    color: #fff;
    font-family: 'Montserrat-Medium';
    margin-bottom: 15px !important;
    margin-top: 25px !important;
	font-size: 20px;
}

/* Basis-H1 in der Header-Box (Hero-Style) */
.header-box h1 {
    color: #fff;
    font-family: 'Montserrat-ExtraBold';
    font-size: 62px;
    line-height: 62px;
    margin-bottom: 0;
    text-transform: uppercase;
}


.header-box {
  margin-left: 5% !important;
}

/* HEADER-BOX: DESKTOP-FINETUNING (ABSTEIGENDE BREAKPOINTS)
 * ============================================================= */

/*  1200px – 1400px ----------------------------------------- */
@media (min-width: 1200px) and (max-width: 1400px) {
    .header-box h1 {
        font-size: 48px;
        line-height: 50px;
    }
}

/*  768px – 1199px  -------------------------------------------- */
@media (min-width: 768px) and (max-width: 1199px) {
    .header-box h1 {
        font-size: 44px;
        line-height: 46px;
        margin-bottom: 15px;
    }
	
	.header-box p {
    	margin-top: 15px !important;
	}
}

/* 0px bis 767px  ---------------------------------------------------- */
@media (min-width: 621px) and (max-width: 767px) {
    .header-box h1 {
        font-size: 42px;
        line-height: 46px;
    }

	.header-box p {
    	margin-top: 15px !important;
	}
}

@media (max-width: 620px) {
    .header-box h1 {
        font-size: 38px;
        line-height: 40px;
    }

	.header-box p {
    	margin-top: 15px !important;
	}
}



/* =============================================================
 * 13. UNTERSEITE: LEISTUNGEN
 * ============================================================= */

.vc_sep_width_10 {
  width: 8%;
}

.feature-content {
  margin-left: 75px;
}

.icon-image {
  top: -25px !important;
}

.feature-content h4 {
  font-family: 'Montserrat-Bold' !important;
  font-size: 24px !important;
  line-height: 28px !important;
  letter-spacing: -0.3px;
}

.feature-content p {
	color: #2c1c19;
	line-height: 26px;
	margin-top: 10px;
}

.planung-gestaltung-umsetzung h2,
.planung-gestaltung-umsetzung p {
    text-shadow:
        0 3px 15px rgba(0, 0, 0, 0.25),
        0 2px 10px rgba(0, 0, 0, 0.15);
}


/* ----------------------------------------------------- */
/* PORTFOLIO GALLERY – OVERRIDE (FINAL)                  */
/* ----------------------------------------------------- */

/* Grundzustand */
.portfolio-grid .grid-item figure {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
}

/* Hover-Shadow AUSSEN: deaktiviert */
.portfolio-grid .grid-item figure:hover {
    box-shadow: none;
}

/* Glow-Rahmen (Hover) – Border + INNER SHADOW (NEU: weiß, weicher, kräftiger) */
.portfolio-grid .grid-item figure:hover::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    box-sizing: border-box;
    transition: all 0.3s ease-in-out;

    /* Border */
    border: none;

    /* INNER SHADOW — NEU: weiß + weicher + kräftiger */
    box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.45);
}

/* Bild-Blur beim Hover: minimal */
.portfolio-grid .grid-item figure img {
    transition: filter 0.3s ease-in-out;
}

.portfolio-grid .grid-item figure:hover img {
    filter: blur(1px);
}

/* Lupe – kräftigerer Schlagschatten */
.ti-zoom-in.text-white.fa-2x {
    color: #fff;
    font-size: 5rem;
    display: inline-block;
    transition: transform 0.25s ease;

    /* kräftigerer Shadow */
    text-shadow:
        0 6px 18px rgba(0, 0, 0, 0.7),
        0 3px 8px rgba(0, 0, 0, 0.35);
}

.ti-zoom-in.text-white.fa-2x:hover {
    transform: scale(1.15);
}

/* Magnific Popup: Titel + Counter ausblenden */
.mfp-title,
.mfp-counter {
    display: none;
}

/* Lightbox-Pfeile — NEU: Hover blau (#1f83c8) */
button.mfp-arrow:hover::before {
    color: #1f83c8 !important;
}

/* Close-Button */
.mfp-close {
    font-size: 60px;
    transform-origin: center;
    transition: transform 0.3s ease, color 0.3s ease;
}

/* Lightbox Close — NEU: Hover blau (#1f83c8) */
.mfp-close:hover,
.mfp-close:focus {
    color: #d60228 !important;
    transform: rotate(90deg);
}

/* Lightbox Background */
.mfp-bg {
    background-color: #3C2624;
    background-image: url('/wp-content/uploads/2025/12/holz-textur-dark.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 1 !important;
}




/* ----------------------------------------------------- */
/* UNTERSEITEN: LEISTUNGEN – RESPONSIVE                  */
/* ----------------------------------------------------- */

/* Standard */
.feature-box-5 {
    padding-left: 60px;
}

/* Icon: Smooth-Transition für Größen-/Positionswechsel */
.featurebox5 .icon-image {
    transition:
        max-width 0.35s ease-in-out,
        top 0.35s ease-in-out,
        left 0.35s ease-in-out;
}

/* Listen-Styles ---------------------------------------------------- */
.leistungen-liste {
    margin-top: 10px !important;
}

.feature-list,
.leistungen-liste {
    list-style: none;
    padding-left: 0;
    margin: 0;
    color: #2c1c19 !important;
}

.feature-list li {
    list-style-type: "•";
    margin: 0 0 6px 0;
    padding-left: 0;
    color: #2c1c19 !important;
}

.feature-list li p {
    display: inline;
}

/* Typo aus .feature-content p auch auf LI anwenden */
.feature-content .leistungen-liste li {
    /* an .feature-content p angelehnt */
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    color: inherit;

    margin: 0 0 4px 0;
    position: relative;
    padding-left: 14px;
}

/* Liste ohne Standard-Bullets */
.feature-content .leistungen-liste {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Eigener Bullet-Punkt (kleiner Kreis) */
.feature-content .leistungen-liste li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.6em;                 /* vertikal feinjustieren */
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: currentColor; /* gleiche Farbe wie Text */
}


/* ----------------------------------------------------- */
/* RESPONSIVE: DESKTOP > MOBIL (Reihenfolge beibehalten) */
/* ----------------------------------------------------- */

/* 1600px bis 1629px  ---------------------------------------------------- */
@media (min-width: 1600px) and (max-width: 1629px) {
    .feature-content h4 {
        letter-spacing: -0.7px;
    }
}


/* 1530px bis 1590px  ---------------------------------------------------- */
@media (min-width: 1530px) and (max-width: 1590px) {
    .feature-box-5 {
        padding-left: 35px !important;
    }

    .featurebox5 .icon-image {
        max-width: 18% !important;
    }
}


/* 1501px bis 1529px  ---------------------------------------------------- */
@media (min-width: 1501px) and (max-width: 1529px) {
    .feature-content h4 {
        font-size: 23px !important;
        line-height: 30px !important;
        letter-spacing: -0.2px;
    }

    .feature-box-5 {
        padding-left: 30px;
    }

    .featurebox5 .icon-image {
        max-width: 17% !important;
    }
}


/* ab 1425px  ------------------------------------------------------------ */
@media (min-width: 1425px) {
    #leistungen-icon-boxes {
        padding-left: 15%;
        padding-right: 15%;
    }
}


/* 0px bis 1424px  ------------------------------------------------------- */
@media (max-width: 1424px) {
    #leistungen-icon-boxes {
        padding-left: 7%;
        padding-right: 7%;
    }
}


/* 1201px bis 1500px  ---------------------------------------------------- */
@media (min-width: 1200px) and (max-width: 1500px) {
    .feature-content h4 {
        font-size: 22px !important;
        line-height: 39px !important;
        letter-spacing: -0.2px;
    }

    .feature-box-5 {
        padding-left: 18px !important;
    }

    .featurebox5 .icon-image {
        max-width: 15% !important;
        top: -15px !important;
    }
}

/* exakt 1200px ---------------------------------------------------------- */
@media (min-width: 1200px) and (max-width: 1200px) {
    .featurebox5 .icon-image {
        left: 40px !important;
    }
}


/* ----------------------------------------------------- */
/* UNTER 1200px: Boxen zentrieren, Text linksbündig      */
/* ----------------------------------------------------- */

/* 0px bis 1199px  ---------------------------------------------------- */
@media (min-width: 0) and (max-width: 1199px) {
    .feature-box-5 {
        padding-left: 0 !important;
    }

    .featurebox5 .icon-image {
        transition:
            max-width 0.35s ease-in-out,
            top 0.35s ease-in-out,
            left 0.35s ease-in-out;

        left: 47px !important;
        width: 15% !important;
        top: -12px !important;
    }

    .feature-content h4 {
        font-size: 21px !important;
        line-height: 28px !important;
        letter-spacing: -0.3px;
        margin-left: -10px;
    }

    .feature-content p {
        color: #2c1c19;
        line-height: 24px;
        margin-top: 10px;
        font-size: 15px;
        margin-left: -10px;
    }
}


/* ----------------------------------------------------- */
/* UNTER 991px: Boxen zentrieren, Text linksbündig       */
/* ----------------------------------------------------- */

/* 0px bis 1199px – Featurebox zentriert, Text linksbündig  ----------- */
@media (min-width: 0) and (max-width: 1199px) {
    /* Eltern-Wrapper: optional, sorgt dafür, dass die Box als Block in der Mitte sitzt */
    #leistungen-icon-boxes {
        text-align: center;
    }

    /* Ganze Box: als flex-Row, aber selbst zentriert */
    .featurebox5.feature-box-5 {
        display: flex !important;
        flex-direction: row;
        justify-content: flex-start;   /* Icon + Text starten links innerhalb der Box */
        align-items: flex-start;
        text-align: left !important;   /* Text bleibt linksbündig */
        width: auto;                   /* nur so breit wie Inhalt */
        margin: 0 auto 50px;           /* Box selbst zentriert */
    }

    /* Textblock: begrenzen, damit er nicht zu breit wird */
    .featurebox5 .feature-content {
        max-width: 420px;
    }

    /* Icon: links vom Text, ohne komische Offsets */
    .featurebox5 .icon-image {
        position: relative;
        left: 0 !important;
        top: 5px !important;
        max-width: 60px !important;
        width: auto !important;
        margin-right: 20px;
        flex-shrink: 0;
    }
}


/* 0px bis 1199px – stärkere Zentrierung des gesamten Bereichs ----------- */
@media (min-width: 0) and (max-width: 1199px) {
    /* Äußerer Wrapper enger zusammenziehen und mittig setzen */
    #leistungen-icon-boxes {
        margin: 0 auto;       /* zentriert den gesamten Block */
    }

    /* Jede einzelne Featurebox zusätzlich mittig */
    .featurebox5.feature-box-5 {
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        max-width: 620px;     /* verhindert, dass sie zu weit nach links rutscht */
    }

    .featurebox5 .icon-image {
        left: 60px !important;          /* +60px rechts */
        transform: scale(1.05);         /* +5% größer */
        transform-origin: left center;  /* wächst sauber nach rechts */
    }

    .featurebox5.pofo-featurebox {
        left: 5%;
    }
}


/* 0px bis 767px  ---------------------------------------------------- */
@media (min-width: 0) and (max-width: 767px) {
    #leistungen-icon-boxes {
        max-width: 100%;
        margin: 0 auto;
        padding-left: 5%;
        padding-right: 5%;
        text-align: left;
    }

    .featurebox5.feature-box-5 {
        display: flex !important;
        flex-direction: row;
        justify-content: flex-start;
        align-items: flex-start;
        width: 100%;
        margin: 0 0 40px 0;
        padding-left: 0 !important;
        text-align: left !important;
    }

    .featurebox5 .icon-image {
        position: relative;
        left: 0 !important;
        top: 0 !important;
        max-width: 52px !important;
        width: auto !important;
        margin-right: 18px;
        flex-shrink: 0;
        transform: none !important;
    }

    .featurebox5 .feature-content {
        flex: 1 1 auto;
        max-width: 100% !important;
        margin-left: 0 !important;
        text-align: left !important;
    }

    /* ----------------------------------------------------- */
    /* SEPARATOR "Unsere Leistungen"  links & 20% Breite     */
    /* ----------------------------------------------------- */

    /* Haupt-Separator: bisher center + width_10 jetzt links + 20% */
    .vc_separator.wpb_content_element.vc_separator_align_center.vc_sep_width_10.vc_sep_border_width_6.vc_sep_pos_align_center.vc_separator_no_text {
        /* Breite */
        width: 20% !important;

        /* links ausrichten im Contentbereich */
        margin-left: 0 !important;
        margin-right: auto !important;

        /* Flex-Ausrichtung überschreibt "center" */
        display: flex !important;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: flex-start !important;
        align-items: center;
    }

    /* Holder im Inneren dieses Separators */
    .vc_separator_align_center.vc_sep_width_10.vc_sep_border_width_6.vc_sep_pos_align_center.vc_separator_no_text .vc_sep_holder,
    .vc_separator_align_center.vc_sep_width_10.vc_sep_border_width_6.vc_sep_pos_align_center.vc_separator_no_text .vc_sep_holder_l {
        display: flex;
        justify-content: flex-start !important;
        width: 100%;
    }

    /* Die eigentliche Linie */
    .vc_separator_align_center.vc_sep_width_10.vc_sep_border_width_6.vc_sep_pos_align_center.vc_separator_no_text .vc_sep_line {
        width: 100%;
        margin-left: 0 !important;
        margin-right: auto !important;
    }
}


/* 768px bis 991px  ---------------------------------------------------- */
@media (min-width: 768px) and (max-width: 991px) {
    .featurebox5 .icon-image {
        left: 60px !important;
        transform: scale(1.20) !important;
        transform-origin: left center !important;
        top: 10px !important;
        margin-right: 30px !important;
    }
}


/* 581px bis 767px  ---------------------------------------------------- */
@media (min-width: 581px) and (max-width: 767px) {
    .featurebox5 .icon-image {
        position: relative;
        left: 0 !important;
        transform: scale(1.20) !important;
        top: 12px !important;
        max-width: 52px !important;
        width: auto !important;
        flex-shrink: 0;
        margin-right: 50px !important;
    }
}


/* 768px bis 1199px  ---------------------------------------------------- */
@media (min-width: 768px) and (max-width: 1199px) {
    .featurebox5 .feature-content {
        margin-left: 35px !important;
    }

    .feature-content h4 {
        font-size: 21px !important;
        line-height: 42px !important;
        letter-spacing: -0.3px !important;
        margin-left: 32px !important;
    }
}


/* ab 1200px  ---------------------------------------------------- */
@media (min-width: 1200px) {
    .leistungen-liste {
        margin-left: -70px !important;
    }
}


/* 481px bis 580px  ---------------------------------------------------- */
@media (min-width: 0px) and (max-width: 580px) {
    .featurebox5 .icon-image {
        position: relative;
        left: -18px !important;
        transform: scale(1.05) !important;
        top: 11px !important;
        max-width: 52px !important;
        width: auto !important;
        flex-shrink: 0;
        margin-right: 12px !important;
    }

    .feature-content h4 {
font-size: 20px !important;
    line-height: 25px !important;
    letter-spacing: -0.3px;
    margin-left: 0px;
    }

    .feature-content p {
        font-size: 14px;
    }
	
	#leistungen-icon-boxes {
  		padding-left: 0px !important;
	}
}

/* Ab 1120px sichtbar: Desktop-Version */
@media (min-width: 1200px) {
    #leistungen-fragen-mobile {
        display: none !important;
    }
}

/* Unter 1120px sichtbar: Mobile-Version */
@media (max-width: 1199px) {
    #leistungen-fragen-desktop {
        display: none !important;
    }
	
	#leistungen-fragen-mobile {
  		float: right;
  		width: 100%;
	}
}


/* Unter 1120px sichtbar: Mobile-Version */
@media (max-width: 1199px) {
    #leistungen-button-desktop {
        display: none !important;
    }
}


@media (min-width: 992px) and (max-width: 1010px) {
    #leistungen-fragen-mobile {
        float: right;
        width: 111%;
        margin-right: -35px !important;
    }
}

@media (min-width: 1011px) and (max-width: 1100px) {
    #leistungen-fragen-mobile p {
        font-size: 22px !important;
        line-height: 27px;
    }
}


@media (min-width: 992px) {
    .leistungen-button-small-mobile-devices {
        display: none !important;
    }
}

.leistungen-button-small-mobile-devices  {
	font-family: 'Montserrat-ExtraBold';
  	font-size: 22px !important;
   	line-height: 27px;
}

.vc_btn3-container.vc_btn3-center .vc_btn3-block.vc_btn3-size-lg {
  font-size: 22px;
  padding: 10px 25px;
}
	

@media (max-width: 430px) {
    .vc_btn3-container.vc_btn3-center .vc_btn3-block.vc_btn3-size-lg {
        font-size: 18px;
        padding: 8px 25px;
    }
}






/* =============================================================
 * 14. UNTERSEITE: ÜBER UNS
 * ============================================================= */

/* Obere beige Row definiert einen unteren Layer */
.row-oben-beige {
    position: relative;
    z-index: 1;
}

/* Untere dunkle Row liegt darüber und überlappt nach oben */
.row-unten-dunkel.overlap-row {
    position: relative;
    z-index: 2;             /* liegt über der beigen Row */
    overflow: visible !important;
}

/* Sicherheitshalber: Spalten und Wrapper in dieser Row dürfen auch überstehen */
.row-unten-dunkel.overlap-row .vc_column-inner,
.row-unten-dunkel.overlap-row .wpb_wrapper {
    overflow: visible !important;
}


/* Rechte Bildspalte in der dunklen Row soll in die beige Row hineinragen */
@media (min-width: 1200px) {
    .overlap-bildspalte,
    .overlap-bildspalte .vc_column-inner {
        position: relative;
        overflow: visible !important;   /* nichts wird abgeschnitten */
        z-index: 5;                     /* liegt über der beige Row, wenn möglich */
    }

    .overlap-bildspalte {
        margin-top: -700px;             /* wie weit die Bilder nach oben rutschen */
    }
}




/* =============================================================
 * Timeline
 * ============================================================= */

/* Grundlayout der gesamten Sektion */
.timeline-section {
    color: #f8f3ea;
    padding: 60px 40px;
    margin-top: 80px !important;
}

/* Container, damit du später auch zentrieren kannst */
.timeline {
    max-width: 600px; /* an dein Layout anpassen */
    margin: 0;
}

/* Einzelner Timeline-Eintrag */
.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 26px; /* vertikaler Abstand zwischen den Einträgen */
}

/* Spalte: Jahr links */
.timeline-year {
    font-family: 'Montserrat-ExtraBold' !important;
    flex: 0 0 90px;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 0.05em;
    color: #eee9e4;
}

/* Spalte: Inhalt rechts */
.timeline-content {
    flex: 1;
    margin-left: 10px;
}

/* Titel (zweite Spalte, Zeile 1) */
.timeline-title {
    font-family: 'Montserrat-Bold' !important;
    font-size: 16px !important;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 4px 0;
    color: #ffffff;
}

/* Beschreibungstext (zweite Spalte, Zeile 2) */
.timeline-content p {
    font-family: 'Montserrat-Medium' !important;
    margin: 0;
    font-size: 15px;
    line-height: 1.4;
    color: #eee9e4;
    border-top-width: 1px;
    border-top-style: solid;
    border-color: #eee9e48c;
    margin-top: 3px;
    padding-top: 10px;
}

/* Letztes Element: etwas mehr Luft nach unten optional */
.timeline-item:last-child {
    margin-bottom: 0;
}


@media (max-width: 1199px) {
    .overlap-bildspalte {
        margin-top: -700px !important;
    }
}
	
@media (min-width: 1300px) {
    .ueber-uns-img-mobile {
        display: none !important;
    }
}

@media (max-width: 1100px) {
    .ueber-uns-img-padding {
        padding-bottom: 15px !important;
    }
}

/* Mobile: untereinander statt zweispaltig */
@media (max-width: 600px) {
    .timeline-item {
        flex-direction: column;
    }

    .timeline-year {
        flex: 0 0 60px;
        font-size: 30px;
        line-height: 60px;
        letter-spacing: 0.05em;
        margin-left: 0;
        color: #fff;

        /* NEU: mehr Abstand zum nächsten Block */
        margin-bottom: 12px; 
    }

    /* optional: content nach oben*/
    .timeline-content {
        margin-left: 0; /* kein horizontales Versetzen */
    }
}

/* Unter 600px: Timeline-Year einzeilig darstellen */
@media (max-width: 600px) {

    /* Grund-Layout fixen */
    .timeline-year {
        display: flex !important;
        flex-direction: row !important;
        gap: 6px;
        align-items: center;
        justify-content: flex-start;
        font-size: 28px !important;
        line-height: 1.2 !important;
        margin-left: 0;
        flex: 0 0 auto !important; /* verhindert abgeschnittene Jahre */
        white-space: nowrap !important; /* verhindert Zeilenumbruch */
    }
}

/* ============================
   Jahr-Spannen standardmäßig MEHRZEILIG
   ============================ */
.timeline-year.year-range {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
}

/* ============================
   Unter 600px EINZEILIG
   ============================ */
@media (max-width: 600px) {

    .timeline-year.year-range {
        flex-direction: row;
        gap: 6px;                 /* Abstand zwischen 2020 – 2025 */
        align-items: center;
        line-height: 1.3;
    }

    .timeline-year.year-range .year-start,
    .timeline-year.year-range .year-dash,
    .timeline-year.year-range .year-end {
        display: inline-block;
    }
}

@media (min-width: 601px) {
    .year-dash {
        margin-left: 25px !important;
    }
}

/* Ab 992px ausblenden ---------------------------------------------- */
@media (min-width: 992px) {
    .ueber-uns-mobile-gallery {
        display: none !important;
    }
}

@media (min-width: 992px) {
    #ueber-uns-button-mobilen {
        display: none !important;
    }
}



/* =============================================================
 * 15. UNTERSEITE: KONTAKT - MAP
 * ============================================================= */

.wpol-infopanel .wpol-infolabel * {
  margin: 0;
  line-height: 12px;
}

.location-title {
  font-family: 'Montserrat-ExtraBold';
  font-size: 18px;
  color: #3c2624;
}

.location-address {
  font-family: 'Montserrat-Medium';
  font-size: 16px;
  color: #54473a;
  line-height: 1.5;
}

.location-map-link {
  display: inline-block;
  margin-top: 8px;
  font-family: 'Montserrat-Medium';
  font-size: 14px;
  color: #54473a;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.location-map-link:hover {
  color: #d60228;
  text-decoration: none;
}

#header-kontakt {
  background-position: right center !important;
}


/* =============================================================
 * 16. UNTERSEITE: IMPRESSUM
 * ============================================================= */
#header-impressum {
  background-position: right top !important;
}

.impressum {
  max-width: 52rem;
  padding: 1.25rem;
}

.impressum-headline {
  margin: 0 0 1.75rem !important;
  font-size: 2.33rem !important;
  line-height: 1.2 !important;
}

.impressum-company {
  margin: 0 0 0.5rem;
  font-family: 'Montserrat-SemiBold';
}

.impressum-address {
  margin: 0;
  font-family: 'Montserrat-Regular', sans-serif;
  font-size: 17px;
  font-style: normal; 
  line-height: 1.6;
}

.impressum-contact-mail {
  padding-left: 16px;
}

.impressum-contact-phone {
  padding-left: 3px;
}

.impressum a:hover,
.impressum-text a:hover {
  color: #f51b41;
}

.impressum-subheadline {
  font-family: 'Montserrat-ExtraBold' !important;
  margin: 3rem 0 0.75rem !important;
  font-size: 2.33rem !important;
  line-height: 1.2 !important;
}

.impressum-designer {
  font-family: 'Montserrat-Regular', sans-serif;
  margin: 0 0 0;
  font-size: 15px;
  line-height: 1.4;
  opacity: 0.5;

  transition: 
    opacity 0.6s ease,
    transform 0.6s ease;
}

.impressum-designer-link {
  padding-left: 6px;
  font-family: 'Montserrat-SemiBold';
  text-decoration: none;
  color: inherit;
}

.impressum-designer:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.roman {
  color: #91433c;
}

#datenschutz .impressum-text a {
  color: #3C2624;
  text-decoration: none;
}

#datenschutz .impressum-text a:hover,
#datenschutz .impressum-text a:focus {
  color: #d50127;
}


/* iOS Chrome/Brave: Pfeil unten + stabil, Inhalt bleibt mittig */
@media (max-width: 767px) {

  /* Hero zentriert weiterhin den Content */
  .home-hero{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
  }

  /* Row NICHT als Flex-Container umbauen (sonst killst du Pofo-Vertikal-Logik) */
  .home-hero .vc_row.vc_row-o-full-height{
    position: relative !important;
    min-height: 100% !important;
    height: auto !important;
  }

  /* Pfeil: zurück auf absolute (stabiler als sticky in deinem Setup) */
  .home-hero .down-section{
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    bottom: calc(env(safe-area-inset-bottom) + 12px) !important; /* Abstand unten */
    width: 100% !important;

    display: flex !important;
    justify-content: center !important;

    margin: 0 !important;
    top: auto !important;
    transform: none !important;
    z-index: 999 !important;
    pointer-events: none; /* optional: verhindert "mitwackeln" durch Touch */
  }

  /* klickbar lassen */
  .home-hero .down-section .down-section-link{
    pointer-events: auto;
  }

  /* Bounce nur auf dem Link, nicht auf dem IMG */
  .home-hero .down-section img{
    animation: none !important;
    transform: none !important;
  }
}

@media (min-width: 966px) {
  .text-box::after {
    height: 80%;
  }
}


/* =============================================================
 * 17. UNTERSEITE: JOBS
 * ============================================================= */

#jobs-intro strong,
.clasen-job-sub {
  font-family: 'Montserrat-SemiBold' !important;
  font-size: 22px !important;
  line-height: 40px;
}

.clasen-job-box {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 25px 10% 45px 25px;
  background: #faf5ef;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(44, 28, 25, 0.12);
}

.clasen-job-title {
  margin: 1rem 0 2rem 0;
  font-family: 'Montserrat-Bold' !important;
  font-size: 26px !important;
  line-height: 30px !important;
  color: #1f83c8;
	border-left-width: 5px;
  border-left-style: solid;
  padding-left: 10px;
}

.clasen-job-text,
.clasen-job-offer {
  color: #2c1c19;
  margin: 0 0 0.75rem;
}

.clasen-job-sub {
  margin: 1rem 0 0.5rem;
  color: #2C1C19;
}

@media (max-width: 767px) {
  #jobs-intro strong {
    font-size: 17px !important;
    line-height: 35px !important;
  }
}

@media (min-width: 1282px) and (max-width: 1675px) {
  .clasen-job-title {
    font-size: 20px !important;
    line-height: 26px !important;
  }

  .clasen-job-sub {
    font-size: 18px !important;
    line-height: 32px !important;
  }
	
  .clasen-job-box {
    padding: 24px 20px 45px 20px;
	}
}

@media (min-width: 1200px) and (max-width: 1281px) {
  .clasen-job-title {
    font-size: 20px !important;
    line-height: 25px !important;
	letter-spacing: -0.4px;
	padding-left: 7px;
  }

  .clasen-job-sub {
    font-size: 17px !important;
    line-height: 31px !important;
  }
	
  .clasen-job-box {
  padding: 24px 15px 45px 15px;
	}
}

@media (min-width: 0px) and (max-width: 555px) {
  .clasen-job-title {
    font-size: 20px !important;
    line-height: 25px !important;
  }
}


@media (max-width: 767px) {
  #hero-jobs {
    background-position: calc(50% - 175px) center !important;
  }
}

#bewerben-button {
  z-index: 9999;
  position: relative;
  pointer-events: auto;
}

.pofo-social-links a:visited {
  color: #fff !important;
}

.pofo-social-links a:visited i {
  color: #fff !important;
}

.pofo-social-links ul li a,
.pofo-social-links ul li a:link,
.pofo-social-links ul li a:visited,
.pofo-social-links ul li a:active,
.pofo-social-links ul li a:focus,
.pofo-social-links ul li a i,
.pofo-social-links ul li a:link i,
.pofo-social-links ul li a:visited i,
.pofo-social-links ul li a:active i,
.pofo-social-links ul li a:focus i{
  color:#fff !important;
}

@media (max-width: 767px) {
  #social-media-mobile-01 {
    display: none !important;
  }
}

@media (max-width: 1199px) {
  .kontaktformular-ueberschrift {
    margin-top: -30px !important;
  }
}

@media (min-width: 768px) {
  #social-media-mobile-02 {
    display: none !important;
  }
}
