/* ==========================================================================
   TERMIN-BAU THEME – HAUPT-CSS
   1:1-Replikat des bestehenden CherryFramework-Designs
   Farben aus der Live-Site (www.termin-bau.de) extrahiert:
     - Header:        #ba3d49 (Burgund-Rot)
     - Nav-Links:     #ebd5b0 (Beige/Gold)
     - Überschriften: #2f2f2f (Dunkelgrau)
     - Body:          #ffffff
     - Schrift:       Open Sans + Montserrat
   ========================================================================== */

/* --------------------------------------------------------------------------
   BASISSTILE
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #444;
    background-color: #ffffff;
    background-image: url('/wp-content/uploads/2016/02/hintergrund_terminbau.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: auto;
    margin: 0;
    padding: 0;
}

a {
    color: #ba3d49;
    text-decoration: none;
    outline: none;
}

a:hover {
    color: #8c2030;
    text-decoration: underline;
}

a:focus {
    outline: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Open Sans', Arial, sans-serif;
    color: #2f2f2f;
    font-weight: 700;
    margin-top: 0;
    margin-bottom: 0.75em;
    line-height: 1.3;
}

h1 { font-size: 24px; }
h2 { font-size: 20px; }
h3 { font-size: 17px; }
h4 { font-size: 15px; }

p {
    margin: 0 0 1em;
}

ul, ol {
    padding-left: 1.5em;
}

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

hr {
    border: 0;
    border-top: 1px solid #ddd;
    margin: 1.5em 0;
}

/* --------------------------------------------------------------------------
   LAYOUT-WRAPPER
   -------------------------------------------------------------------------- */

#page.main-holder {
    position: relative;
    background: #ffffff;
    box-shadow: 0 0 60px rgba(0,0,0,0.7), 0 0 20px rgba(0,0,0,0.5);
    border: 3px solid #111;
    max-width: 1210px;
    margin: 0 auto;
}

.site-content {
    position: relative;
    z-index: 1;
}

/* --------------------------------------------------------------------------
   HEADER
   -------------------------------------------------------------------------- */

/* Social-Icon-Leiste ganz oben – ROT wie Original */
.header-social-bar {
    background: #ba3d49;
    padding: 7px 0;
}

.header-social-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 5px;
    padding-right: 0.5cm;
}

.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #111111;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
    flex-shrink: 0;
}

.social-icon-link:hover {
    background: #ffffff;
    text-decoration: none;
}

.social-icon-link:hover svg {
    filter: invert(1) brightness(0);
}

.social-icon-link svg {
    display: block;
}

/* Header: dunkel, Logo links + Nav rechts auf einer Zeile */
.header {
    background-color: #1e1e1e;
    padding: 0;
    position: relative;
    z-index: 99;
    border-bottom: 24px solid #ba3d49;
    border-left: 5px solid #3a3a3a;
    border-right: 5px solid #3a3a3a;
    border-top: 5px solid #3a3a3a;
}

/* Logo + Nav nebeneinander */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 124px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    margin-left: 30px;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo-img {
    max-height: 77px;
    width: auto;
}

/* Logo als Text (Fallback) */
.logo-text h1,
.logo-text {
    margin: 0;
    padding: 0;
}

.logo-text a {
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    line-height: 1.2;
}

.logo-text a:hover {
    color: #f0d0a0;
    text-decoration: none;
}

/* Telefonnummer im Header */
.header-contact {
    text-align: right;
    padding-bottom: 10px;
}

.header-phone,
.social-phone-number {
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    margin-right: 1cm;
}

.header-phone:hover,
.social-phone-number:hover {
    color: #fff;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   NAVIGATION
   -------------------------------------------------------------------------- */

.nav-primary {
    margin-top: 0;
    display: flex;
    align-items: center;
}

/* Desktop Menü */
ul.nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    float: right;
}

ul.nav-menu li {
    position: relative;
    float: left;
}

ul.nav-menu > li > a {
    display: block;
    padding: 32px 15px;
    color: #ebd5b0;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-right: 1px solid rgba(255,255,255,0.08);
    box-shadow: 1px 0 4px rgba(0,0,0,0.3);
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    line-height: 1;
}

ul.nav-menu > li:first-child > a {
    border-left: 1px solid rgba(255,255,255,0.08);
    box-shadow: -1px 0 4px rgba(0,0,0,0.3), 1px 0 4px rgba(0,0,0,0.3);
}

ul.nav-menu > li > a:hover,
ul.nav-menu > li.current-menu-item > a,
ul.nav-menu > li.current-page-ancestor > a,
ul.nav-menu > li.current_page_item > a {
    color: #ffffff;
    background-color: transparent;
    border-right-color: rgba(255,255,255,0.12);
    text-decoration: none;
}

/* Dropdown */
ul.nav-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    min-width: 200px;
    background-color: #8c2030;
    list-style: none;
    margin: 0;
    padding: 0;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

ul.nav-menu li:hover > .sub-menu {
    display: block;
}

ul.nav-menu .sub-menu li a {
    display: block;
    padding: 9px 14px;
    color: #f0d8c0;
    font-size: 13px;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    white-space: nowrap;
    transition: background 0.2s;
}

ul.nav-menu .sub-menu li a:hover,
ul.nav-menu .sub-menu li.current-menu-item a {
    background-color: #ba3d49;
    color: #fff;
    text-decoration: none;
}

/* Mobile Toggle */
.navbar-toggler {
    display: none;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: #ebd5b0;
    padding: 6px 12px;
    font-size: 14px;
    cursor: pointer;
    margin: 8px 0;
    border-radius: 3px;
}

/* --------------------------------------------------------------------------
   SEITEN-BANNER (Unterseiten – Foto mit Titel-Overlay)
   -------------------------------------------------------------------------- */

.page-banner {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.page-banner__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: flex-end;
    padding-bottom: 20px;
}

.page-banner__title {
    font-size: 26px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

.page-banner__title .title-red {
    color: #e87070;
}

/* Content-Box auf Unterseiten (weißer Kasten) */
.page-content-box {
    background: #fff;
    border: none;
    padding: 24px 28px;
    margin-top: 20px;
    margin-bottom: 20px;
    box-shadow: none;
}

.page-content-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    font-family: 'Open Sans', sans-serif;
}

.page-content-title .title-red  { color: #ba3d49; }
.page-content-title .title-dark { color: #2f2f2f; }

/* --------------------------------------------------------------------------
   SEITEN-TITEL-LEISTE (Unterseiten)
   -------------------------------------------------------------------------- */

.page-title-bar {
    background: #2f2f2f;
    padding: 18px 0;
    border-bottom: 4px solid #ba3d49;
    margin-bottom: 0;
}

.page-title-bar__title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
}

/* (legacy, falls noch genutzt) */
.page-title-section {
    background: #2f2f2f;
    padding: 18px 0;
    border-bottom: 4px solid #ba3d49;
    margin-bottom: 0;
}

.page-title-section h1 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

/* --------------------------------------------------------------------------
   INHALTSBEREICH
   -------------------------------------------------------------------------- */

.content-holder {
    padding: 30px 0 50px;
}

.content-holder > .container {
    padding-left: 50px;
    padding-right: 50px;
}

#main-content {
    padding-top: 20px;
}

.entry-content h2 {
    font-size: 19px;
    color: #ba3d49;
    margin-top: 1.2em;
    margin-bottom: 0.5em;
}

.entry-content h3 {
    font-size: 16px;
    color: #2f2f2f;
}

.entry-content ul,
.entry-content ol {
    margin-bottom: 1em;
}

.entry-content p {
    margin-bottom: 1em;
}

/* --------------------------------------------------------------------------
   SIDEBAR
   -------------------------------------------------------------------------- */

#sidebar {
    padding-top: 25px;
    padding-left: 20px;
}

.widget {
    margin-bottom: 28px;
    background: #fff;
    border: 1px solid #e8e8e8;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    padding: 0;
    border-radius: 6px;
    overflow: hidden;
}

.widget-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    background: #2f2f2f;
    padding: 10px 14px;
    margin: 0 0 0 0;
    border-left: 4px solid #ba3d49;
}

.widget-content,
.widget > p,
.widget > ul,
.widget > div:not(.widget-title) {
    padding: 12px 14px;
}

/* Leistungen-Liste — Links rot wie im Original */
.leistungen-list {
    list-style: none;
    padding: 8px 0 !important;
    margin: 0;
}

.leistungen-list li {
    border-bottom: 1px solid #f0f0f0;
}

.leistungen-list li:last-child {
    border-bottom: none;
}

.leistungen-list li a {
    display: block;
    padding: 8px 14px;
    color: #ba3d49;
    font-size: 12px;
    text-decoration: none;
    transition: color 0.15s;
    line-height: 1.4;
}

.leistungen-list li a:hover {
    color: #8c2030;
    text-decoration: underline;
}

/* Kontakt Widget */
.widget-kontakt .widget-content p {
    font-size: 13px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 8px;
}

.widget-kontakt .widget-content a {
    color: #ba3d49;
    text-decoration: none;
}

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

/* Aktuelle Beiträge */
.recent-posts-list {
    list-style: none;
    padding: 0 !important;
    margin: 0;
}

.recent-post-item {
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
}

.recent-post-item:last-child {
    border-bottom: none;
}

.recent-post-date {
    font-size: 10px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    display: block;
}

.recent-post-title-link {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #ba3d49;
    text-decoration: none;
    line-height: 1.4;
    margin-bottom: 6px;
}

.recent-post-title-link:hover {
    color: #8c2030;
    text-decoration: underline;
}

.recent-post-thumb {
    display: block;
    margin-bottom: 6px;
}

.recent-post-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.recent-post-excerpt {
    font-size: 12px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 8px;
}

/* "Mehr lesen" Button — rot wie im Original */
.btn-mehr-lesen {
    display: inline-block;
    background: #ba3d49;
    color: #fff !important;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn-mehr-lesen:hover {
    background: #8c2030;
    color: #fff;
    text-decoration: none;
}

/* Archiv-Seite */
.archive-post-item {
    margin-bottom: 28px;
}

.archive-post-title a {
    color: #ba3d49;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
}

.archive-post-title a:hover {
    color: #8c2030;
    text-decoration: underline;
}

.archive-post-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.archive-post-thumb {
    margin-bottom: 12px;
}

.archive-post-thumb img {
    width: 100%;
    height: auto;
}

.archive-post-excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.65;
    margin-bottom: 10px;
}

.archive-post-divider {
    border: 0;
    border-top: 1px solid #e8e8e8;
    margin-top: 20px;
}

/* Post-Titel auf single.php */
.post-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.post-title .title-red {
    color: #ba3d49;
}

.post-thumbnail-wrap {
    margin-bottom: 18px;
}

.post-thumbnail-wrap img {
    width: 100%;
    height: auto;
}

.post-footer-meta {
    margin-top: 20px;
    padding-top: 14px;
    border-top: 1px solid #eee;
    font-size: 12px;
    color: #999;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
    font-size: 13px;
}

.post-navigation a {
    color: #ba3d49;
    text-decoration: none;
}

.post-navigation a:hover {
    text-decoration: underline;
}

/* Content-Bereich Unterseiten */
.page-article {
    padding-top: 25px;
}

.page-article .entry-content {
    font-size: 14px;
    line-height: 1.75;
    color: #444;
}

.page-article .entry-content h2 {
    font-size: 20px;
    color: #ba3d49;
    margin-top: 24px;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}

.page-article .entry-content h3 {
    font-size: 17px;
    color: #2f2f2f;
    margin-top: 18px;
    margin-bottom: 8px;
}

.page-article .entry-content p {
    margin-bottom: 14px;
}

.page-article .entry-content img {
    max-width: 100%;
    height: auto;
    margin-bottom: 14px;
}

/* --------------------------------------------------------------------------
   STARTSEITE
   -------------------------------------------------------------------------- */

/* Hero-Slider */
.home-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    border-top: 3px solid rgba(186,61,73,0.5);
    border-bottom: 3px solid rgba(186,61,73,0.5);
    border-left: none;
    border-right: none;
    box-shadow: 0 6px 20px rgba(186,61,73,0.3), 0 0 12px rgba(186,61,73,0.2);
}

/* Fortschrittsleiste über dem Slider */
.slider-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: rgba(255,255,255,0.6);
    box-shadow: 0 0 8px rgba(255,255,255,0.8);
    z-index: 100;
    animation: sliderProgress 5s linear forwards;
}

@keyframes sliderProgress {
    from { width: 0%; }
    to   { width: 100%; }
}

/* Carousel Pfeile – dicker/größer */
.home-slider .carousel-control-prev,
.home-slider .carousel-control-next {
    width: 50px;
    opacity: 1;
}

.home-slider .carousel-control-prev-icon,
.home-slider .carousel-control-next-icon {
    width: 36px;
    height: 36px;
    background-color: rgba(0,0,0,0.5);
    border-radius: 50%;
    background-size: 60% 60%;
    border: 3px solid #fff;
}

.home-slider .carousel-control-prev-icon:hover,
.home-slider .carousel-control-next-icon:hover {
    background-color: #ba3d49;
}

.home-slider .carousel-item {
    position: relative;
}

.home-slider .carousel-item img {
    width: 100%;
    height: 446px;
    object-fit: cover;
    filter: brightness(0.75);
}

.home-slider .carousel-item {
    height: 446px;
    overflow: hidden;
}

/* Slider Text-Overlay */
.slider-caption {
    position: absolute;
    bottom: 60px;
    left: 60px;
    z-index: 10;
}

.slider-caption h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
    margin: 0;
    font-family: 'Open Sans', sans-serif;
}

@media (max-width: 767px) {
    .slider-caption { bottom: 20px; left: 20px; }
    .slider-caption h2 { font-size: 20px; }
}

/* Benefit-Boxes – runde rote Icons wie im Original */
.benefit-section {
    background: #fff;
    padding: 40px 0 30px;
    border-bottom: 1px solid #e8e8e8;
}

.benefit-section .row {
    display: flex;
    align-items: stretch;
}

.benefit-section .col-md-4 {
    display: flex;
}

.benefit-box {
    text-align: center;
    padding: 20px 20px 25px;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    box-shadow: 0 3px 12px rgba(0,0,0,0.10);
    background: #fff;
    margin: 0 8px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Bild: bereits roter Kreis mit weißem Icon — kein extra Hintergrund */
.benefit-box img.benefit-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: contain;
    background: transparent;
    padding: 0;
    margin: 0 auto 20px;
    display: block;
}

/* Titel: ROT wie im Original */
.benefit-box h3 {
    font-size: 19px;
    color: #ba3d49;
    margin-bottom: 10px;
    font-weight: 700;
    line-height: 1.4;
}

.benefit-box p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* ===== FRAMESTYLED SECTION (Hintergrundbild + weiße Box) ===== */
.framestyled-section {
    padding: 30px 0;
}

.framestyled-box {
    background: #fff;
    border: 1px solid #ddd;
    padding: 28px 32px;
    max-width: 100%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.framestyled-title {
    font-size: 28px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 18px;
    line-height: 1.3;
    font-family: 'Open Sans', sans-serif;
}

.framestyled-title strong {
    font-weight: 700;
}

.framestyled-title .title-red {
    color: #ba3d49;
}

.framestyled-box p {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    text-align: justify;
    margin-bottom: 12px;
}

.framestyled-box p:last-child {
    margin-bottom: 0;
}

/* Leistungen-Übersicht (Float-Layout: Bild alignleft, Text umfließend) */
.leistungen-section {
    padding: 30px 30px 10px;
}

.leistungen-section .section-title {
    font-size: 22px;
    font-weight: 700;
    color: #2f2f2f;
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 1px solid #ccc;
    box-shadow: 0 4px 6px -2px rgba(0,0,0,0.25);
}

/* Jeder Leistungsblock */
.leistung-block {
    margin-bottom: 20px;
    overflow: hidden;
}

/* Float-Bild links mit Rahmen wie im Original */
.leistung-block img.alignleft {
    float: left;
    margin: 0 25px 10px 0;
    width: 260px;
    height: auto;
    display: block;
}

.leistung-img-frame {
    border: 1px solid #d0d0d0;
    padding: 6px;
    background: #fff;
    box-shadow: 1px 2px 5px rgba(0,0,0,0.10);
    border-radius: 6px;
}

/* Zweifarbiger H1-Titel */
.leistung-title {
    font-size: 22px;
    line-height: 1.2;
    margin-bottom: 5px;
    margin-top: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

.leistung-title a {
    text-decoration: none;
}

.leistung-title .title-red {
    color: #ba3d49;
}

.leistung-title .title-dark {
    color: #333333;
}

.leistung-title a:hover .title-red,
.leistung-title a:hover .title-dark {
    color: #8c2030;
}

/* Text innerhalb des Leistungsblocks */
.leistung-block p {
    font-size: 13px;
    color: #444;
    line-height: 1.6;
    text-align: justify;
    margin-bottom: 6px;
}

.leistung-block p:last-child {
    margin-bottom: 0;
}

/* Button-Wrapper: rechts */
.leistung-btn-wrap {
    clear: both;
    padding-top: 10px;
    text-align: right;
}

/* "Erfahren Sie mehr..." roter Button */
a.leistung-btn {
    display: inline-block;
    background: #ba3d49;
    color: #fff;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s;
}

a.leistung-btn:hover {
    background: #8c2030;
    color: #fff;
    text-decoration: none;
}

/* HR Trenner zwischen Leistungen – Linie mit Schatten darunter */
hr.leistung-hr {
    border: 0;
    height: 1px;
    background: #ccc;
    margin: 28px 0;
    clear: both;
    box-shadow: 0 4px 6px -2px rgba(0,0,0,0.25);
}

/* Clearfix */
.clearfix::after {
    content: '';
    display: table;
    clear: both;
}

@media (max-width: 767px) {
    .leistung-block img.alignleft {
        float: none;
        max-width: 100%;
        margin: 0 0 15px 0;
    }
    .leistung-title { font-size: 18px; }
}

/* CTA-Band – weißer Hintergrund mit Rahmenlinien */
.cta-band {
    background: #fff;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    padding: 70px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
}

.cta-band .cta-text {
    color: #888;
    font-size: 34px;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
}

.cta-band .cta-text strong {
    color: #333;
    font-weight: 700;
}

.cta-band .cta-btn {
    display: inline-block;
    background: #ba3d49;
    color: #fff;
    padding: 10px 26px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 3px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
    margin-left: 20px;
    flex-shrink: 0;
}

.cta-band .cta-btn:hover {
    background: #8c2030;
    color: #fff;
    text-decoration: none;
}

@media (max-width: 600px) {
    .cta-band { flex-direction: column; gap: 14px; text-align: center; }
    .cta-band .cta-btn { margin-left: 0; }
}

/* Über uns – Startseite */
.home-about-section {
    background: #fafafa;
    padding: 35px 0;
    border-top: 1px solid #e8e8e8;
}

.home-about-section h2 {
    font-size: 20px;
    color: #2f2f2f;
    margin-bottom: 12px;
}

.home-about-section p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

/* Wissenswertes (Blog-Vorschau) */
.home-blog-section {
    padding: 30px 0;
}

.home-blog-section h2 {
    font-size: 18px;
    border-bottom: 2px solid #ba3d49;
    padding-bottom: 8px;
    margin-bottom: 16px;
}

.blog-preview-item {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.blog-preview-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-preview-item .blog-preview-text h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 4px;
}

.blog-preview-item .blog-preview-text h4 a {
    color: #2f2f2f;
}

.blog-preview-item .blog-preview-text h4 a:hover {
    color: #ba3d49;
}

.blog-preview-item .blog-preview-text span {
    font-size: 11px;
    color: #999;
}

/* --------------------------------------------------------------------------
   LEISTUNGSSEITEN (Unterseiten)
   -------------------------------------------------------------------------- */

.leistung-hero-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
    border: 1px solid #e6e2da;
}

.leistung-icon {
    float: right;
    margin: 0 0 15px 20px;
    max-width: 120px;
}

.referenz-img {
    border: 1px solid #e6e2da;
    margin-bottom: 10px;
    transition: opacity 0.2s;
}

.referenz-img:hover {
    opacity: 0.85;
}

/* Einsatzgebiete-Liste */
.einsatzgebiete-list {
    column-count: 2;
    column-gap: 20px;
    list-style: none;
    padding: 0;
}

.einsatzgebiete-list li {
    padding: 3px 0;
    font-size: 13px;
}

.einsatzgebiete-list li::before {
    content: '✓ ';
    color: #ba3d49;
    font-weight: 700;
}

/* --------------------------------------------------------------------------
   REFERENZEN-SEITE (Galerie)
   -------------------------------------------------------------------------- */

.referenzen-gallery {
    margin: 0 -5px;
}

.referenzen-gallery .gallery-item {
    float: left;
    width: 33.333%;
    padding: 5px;
    box-sizing: border-box;
}

.referenzen-gallery .gallery-item a {
    display: block;
    overflow: hidden;
}

.referenzen-gallery .gallery-item img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.3s;
}

.referenzen-gallery .gallery-item img:hover {
    transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   STELLENANGEBOTE (Jobs)
   -------------------------------------------------------------------------- */

/* Zitat / Blockquote */
.jobs-quote {
    background: #f9f9f9;
    border-left: 4px solid #ccc;
    padding: 16px 20px;
    margin: 20px 0;
    color: #555;
    font-size: 13px;
    font-style: italic;
    line-height: 1.7;
}

.jobs-quote footer {
    font-size: 11px;
    color: #999;
    font-style: normal;
    margin-top: 8px;
    display: block;
}

/* Job-Karten Grid */
.jobs-grid {
    margin-top: 20px;
    margin-bottom: 10px;
}

.job-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}

.job-card--full {
    margin-top: 5px;
}

.job-card__title {
    font-size: 16px;
    font-weight: 700;
    color: #2f2f2f;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
    text-align: center;
}

.job-card p {
    font-size: 13px;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.6;
}

.job-card ul {
    font-size: 13px;
    color: #555;
    margin-bottom: 10px;
    padding-left: 20px;
}

.job-card ul li {
    margin-bottom: 3px;
}

.job-card__btn-wrap {
    text-align: center;
    margin-top: 16px;
}

.btn-bewerben {
    display: inline-block;
    background: #ba3d49;
    color: #fff;
    padding: 9px 24px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn-bewerben:hover {
    background: #8c2030;
    color: #fff !important;
    text-decoration: none;
}

/* Bewerben CTA Abschnitt */
.bewerben-cta {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid #e0e0e0;
}

.bewerben-cta__title {
    font-size: 22px !important;
    margin-bottom: 12px;
}

.bewerben-cta p {
    font-size: 13px;
    color: #444;
    line-height: 1.7;
    text-align: justify;
}

.bewerben-cta__contact {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #ba3d49;
    padding: 16px;
    border-radius: 4px;
    margin-top: 6px;
}

.bewerben-cta__contact p {
    margin-bottom: 8px;
    font-size: 13px;
}

.bewerben-cta__email {
    color: #ba3d49;
    font-weight: 700;
    font-size: 14px;
    word-break: break-all;
    text-decoration: none;
}

.bewerben-cta__email:hover {
    color: #8c2030;
    text-decoration: underline;
}

/* Legacy job-box (falls noch genutzt) */
.job-box {
    background: #f8f8f8;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #ba3d49;
    padding: 20px;
    margin-bottom: 22px;
    border-radius: 6px;
}

/* --------------------------------------------------------------------------
   KONTAKT-SEITE
   -------------------------------------------------------------------------- */

.kontakt-box {
    text-align: center;
    padding: 20px;
    border: 1px solid #e6e2da;
    border-radius: 3px;
    margin-bottom: 20px;
    transition: box-shadow 0.2s;
}

.kontakt-box:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.kontakt-box img {
    margin: 0 auto 12px;
    max-width: 100px;
}

.kontakt-box h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.kontakt-box p {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
}

.kontakt-box a.btn-kontakt {
    display: inline-block;
    background: #ba3d49;
    color: #fff;
    padding: 7px 16px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
}

.kontakt-box a.btn-kontakt:hover {
    background: #8c2030;
    text-decoration: none;
}

/* Kontaktdaten-Block */
.kontakt-info {
    background: #f8f8f8;
    padding: 20px;
    border: 1px solid #e0e0e0;
    margin-top: 20px;
}

.kontakt-info h3 {
    font-size: 16px;
    margin-bottom: 12px;
    color: #ba3d49;
}

.kontakt-info p {
    font-size: 13px;
    color: #555;
    line-height: 1.8;
    margin-bottom: 5px;
}

/* CF7 Formular-Styling */
.wpcf7-form p {
    margin-bottom: 12px;
}

.wpcf7-form label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 4px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    background: #fff;
    color: #444;
    transition: border-color 0.2s;
}

.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: #ba3d49;
    outline: none;
    box-shadow: 0 0 0 2px rgba(186,61,73,0.15);
}

.wpcf7-form textarea {
    height: 130px;
    resize: vertical;
}

.wpcf7-form .wpcf7-submit {
    background: #ba3d49;
    color: #fff;
    border: none;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
}

.wpcf7-form .wpcf7-submit:hover {
    background: #8c2030;
}

.cf7-row {
    margin-bottom: 14px;
}

.cf7-row label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #444;
    margin-bottom: 4px;
}

.cf7-privacy {
    font-size: 12px;
    color: #666;
}

.cf7-privacy a {
    color: #ba3d49;
}

/* --------------------------------------------------------------------------
   PARTNER-WERDEN SEITE
   -------------------------------------------------------------------------- */

.partner-form-section {
    background: #f8f8f8;
    padding: 20px;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
}

.partner-form-section h3 {
    font-size: 16px;
    color: #ba3d49;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ddd;
}

.partner-form-section h4 {
    font-size: 14px;
    color: #2f2f2f;
    margin: 14px 0 8px;
}

/* --------------------------------------------------------------------------
   BLOG-ARCHIV
   -------------------------------------------------------------------------- */

.post-card {
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.post-card:last-child {
    border-bottom: none;
}

.post-card .post-thumbnail {
    margin-bottom: 14px;
}

.post-card .post-thumbnail img {
    width: 100%;
    max-height: 220px;
    object-fit: cover;
}

.post-card h2 {
    font-size: 18px;
    margin-bottom: 8px;
}

.post-card h2 a {
    color: #2f2f2f;
    text-decoration: none;
}

.post-card h2 a:hover {
    color: #ba3d49;
}

.post-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.post-excerpt {
    font-size: 13px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 12px;
}

.btn-weiterlesen {
    display: inline-block;
    background: #ba3d49;
    color: #fff;
    padding: 7px 16px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s;
}

.btn-weiterlesen:hover {
    background: #8c2030;
    color: #fff;
    text-decoration: none;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 25px;
    text-align: center;
}

.pagination-wrapper .page-numbers {
    display: inline-block;
    padding: 6px 12px;
    margin: 2px;
    border: 1px solid #ddd;
    color: #444;
    text-decoration: none;
    font-size: 13px;
    border-radius: 6px;
    transition: background 0.2s;
}

.pagination-wrapper .page-numbers:hover,
.pagination-wrapper .page-numbers.current {
    background: #ba3d49;
    border-color: #ba3d49;
    color: #fff;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */

.footer {
    background: #2f2f2f;
    color: #bbb;
    padding: 40px 0 0;
    margin-top: 0;
}

.footer-widgets {
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-widget-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: none;
    letter-spacing: 0;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px dashed rgba(255,255,255,0.3);
}

.footer .widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .widget ul li {
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 13px;
}

.footer .widget ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.2s;
}

.footer .widget ul li a:hover {
    color: #ebd5b0;
    text-decoration: none;
}

.footer .widget p {
    font-size: 12px;
    color: #bbb;
    line-height: 1.7;
    margin-bottom: 6px;
}

.footer .widget p a {
    color: #bbb;
    text-decoration: none;
}

.footer .widget p a:hover {
    color: #fff;
    text-decoration: none;
}

/* Copyright-Text Linkfarbe */
.copyright-text a {
    color: #888;
    text-decoration: none;
}

/* Footer Nav Links */
.footer-nav-list li a {
    color: #ebd5b0;
    text-decoration: none;
}

/* Footer Logo */
.footer-logo {
    margin-bottom: 18px;
}

.footer-logo img {
    max-width: 190px;
    height: auto;
    display: block;
}

/* Footer Spalten */
.footer-col-left {
    padding-left: 30px;
    padding-right: 20px;
}

.footer-col-left p {
    font-size: 12px;
    color: #bbb;
    line-height: 1.75;
    margin-bottom: 8px;
}

.footer-col-left p a {
    color: #bbb;
    text-decoration: none;
}

.footer-col-right {
    padding-left: 10px;
    transform: translateX(-15%);
}

.footer-widget-block {
    margin-bottom: 26px;
}

/* Footer Social Icons (runde schwarze Kreise) */
.footer-social-icons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: #111;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.footer-social-icon:hover {
    background: #ba3d49;
    text-decoration: none;
}

.footer-social-icon svg {
    display: block;
}

/* Footer Kategorie-Dropdown */
.footer-cat-select {
    width: 100%;
    padding: 7px 10px;
    background: #333;
    color: #bbb;
    border: 1px solid #444;
    font-size: 13px;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 6px;
}

.footer-cat-select:focus {
    outline: none;
    border-color: #ba3d49;
}

.social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-list li {
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.social-list li a {
    color: #bbb;
    font-size: 13px;
    text-decoration: none;
}

.social-list li a:hover {
    color: #ebd5b0;
}

/* Copyright-Zeile */
.footer-copyright {
    padding: 14px 0;
    background: #222;
    margin-top: 0;
}

.copyright-text {
    font-size: 12px;
    color: #888;
    line-height: 30px;
}

/* Footer-Navigation */
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0;
}

.footer-nav-list li {
    display: inline-block;
}

.footer-nav-list li + li::before {
    content: '|';
    color: #555;
    padding: 0 6px;
}

.footer-nav-list li a {
    font-size: 12px;
    color: #888;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-nav-list li a:hover {
    color: #ebd5b0;
}

/* Zurück nach oben */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    display: none;
}

#back-to-top a {
    display: block;
    width: 36px;
    height: 36px;
    background: #ba3d49;
    color: #fff;
    text-align: center;
    line-height: 36px;
    font-size: 22px;
    border-radius: 3px;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.2s;
}

#back-to-top a:hover {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   COOKIE-HINWEIS
   -------------------------------------------------------------------------- */

#cookie-notice,
.eu-cookie-law-banner {
    background: #2f2f2f;
    color: #ddd;
    font-size: 13px;
    padding: 12px 20px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    text-align: center;
}

/* --------------------------------------------------------------------------
   RESPONSIVE – MOBILE
   -------------------------------------------------------------------------- */

@media (max-width: 991px) {
    ul.nav-menu {
        float: none;
    }
    ul.nav-menu > li > a {
        font-size: 13px;
        padding: 9px 10px;
    }
}

@media (max-width: 767px) {
    .navbar-toggler {
        display: inline-block;
    }

    ul.nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(0,0,0,0.2);
        padding: 5px 0;
    }

    ul.nav-menu.is-open {
        display: flex;
    }

    ul.nav-menu > li {
        float: none;
        width: 100%;
    }

    ul.nav-menu > li > a {
        padding: 10px 15px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    ul.nav-menu .sub-menu {
        position: static;
        display: block;
        background: rgba(0,0,0,0.3);
        box-shadow: none;
        padding-left: 10px;
    }

    .header {
        padding: 12px 0 0;
    }

    .logo-img {
        max-height: 50px;
    }

    .referenzen-gallery .gallery-item {
        width: 50%;
    }

    .einsatzgebiete-list {
        column-count: 1;
    }

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

    .footer-nav-list {
        justify-content: center;
        margin-top: 8px;
    }

    .home-slider .carousel-item img {
        max-height: 220px;
    }
}

@media (max-width: 480px) {
    .referenzen-gallery .gallery-item {
        width: 100%;
    }

    h1 { font-size: 20px; }
    h2 { font-size: 17px; }
}

/* --------------------------------------------------------------------------
   HILFKLASSEN
   -------------------------------------------------------------------------- */

.text-rot    { color: #ba3d49; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mb-0        { margin-bottom: 0 !important; }
.mt-20       { margin-top: 20px; }
.mb-20       { margin-bottom: 20px; }

/* --------------------------------------------------------------------------
   GUTENBERG / BLOCK-EDITOR RESET
   Entfernt alle unerwünschten Ränder und Outlines von WP-Block-Elementen
   -------------------------------------------------------------------------- */

.wp-block,
.wp-block-group,
.wp-block-paragraph,
.wp-block-heading,
.wp-block-columns,
.wp-block-column,
.blocks-gallery-grid,
.wp-block-image,
.entry-content > *,
.wp-site-blocks,
.is-layout-flow {
    border-left: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Sicherstellen: Kein stray border auf Content-Wrapper */
.site-content-inner,
#content.site-content,
.content-holder,
.entry-content {
    border-left: none !important;
    outline: none !important;
}

/* ==========================================================================
   ÜBERSCHRIFTEN – Unterseiten (größer, fett, zweifarbig)
   ========================================================================== */

.page-content-box h1,
.page-content-box h1.leistung-title,
.entry-content h1,
.entry-content h1.leistung-title {
    font-size: 26px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 16px !important;
    color: #2f2f2f;
}

.page-content-box h2,
.entry-content h2,
.entry-content h2.leistung-title {
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-top: 22px !important;
    margin-bottom: 10px !important;
    color: #2f2f2f;
}

.page-content-box h3,
.entry-content h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin-top: 18px !important;
    margin-bottom: 8px !important;
    color: #2f2f2f;
}

/* Zweifarbige Spans in Überschriften */
.page-content-box h1 .title-red,
.page-content-box h2 .title-red,
.entry-content h1 .title-red,
.entry-content h2 .title-red,
.partner-form-section-title .title-red {
    color: #ba3d49;
}

.page-content-box h1 .title-dark,
.page-content-box h2 .title-dark,
.entry-content h1 .title-dark,
.entry-content h2 .title-dark,
.partner-form-section-title .title-dark {
    color: #2f2f2f;
}

/* ==========================================================================
   KONTAKT-SEITE
   ========================================================================== */

/* Formular-Karten */
.kontakt-cards { margin-bottom: 0; }

.kontakt-box-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.kontakt-box {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 24px 18px;
    text-align: center;
    margin-bottom: 20px;
    background: #fafafa;
    transition: border-color .2s, box-shadow .2s;
}

.kontakt-box:hover {
    border-color: #ba3d49;
    box-shadow: 0 4px 14px rgba(186,61,73,.12);
}

.kontakt-box-icon {
    margin-bottom: 12px;
    color: #ba3d49;
}

.kontakt-box h3 {
    font-size: 16px !important;
    font-weight: 700 !important;
    margin: 0 0 8px 0 !important;
    color: #2f2f2f;
}

.kontakt-box p {
    font-size: 13px;
    color: #666;
    margin-bottom: 14px;
}

.btn-kontakt {
    display: inline-block;
    background: #ba3d49;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s;
}

.kontakt-box:hover .btn-kontakt { background: #9e2f3a; }

/* Karten-Bereich */
.kontakt-map iframe { display: block; }

/* Info-Box rechts */
.kontakt-info-box {
    background: #f5f5f5;
    border-left: 4px solid #ba3d49;
    padding: 20px 18px;
    border-radius: 0 4px 4px 0;
}

.kontakt-info-title {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin: 0 0 16px 0 !important;
    color: #2f2f2f;
}

.kontakt-info-title .title-red { color: #ba3d49; }
.kontakt-info-title .title-dark { color: #2f2f2f; }

.kontakt-info-block {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e0e0e0;
}

.kontakt-info-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.kontakt-info-block p {
    font-size: 13px;
    line-height: 1.7;
    margin: 0;
    color: #444;
}

.kontakt-info-block a { color: #ba3d49; }
.kontakt-info-block a:hover { text-decoration: underline; }

/* ==========================================================================
   PARTNER-FORMULAR
   ========================================================================== */

.partner-form { margin-top: 10px; }

.partner-form-section-title {
    font-size: 19px !important;
    font-weight: 700 !important;
    margin: 28px 0 12px 0 !important;
    padding-bottom: 6px;
    border-bottom: 2px solid #ba3d49;
    color: #2f2f2f;
}

.partner-form-sub-title {
    font-size: 15px !important;
    font-weight: 600 !important;
    margin: 16px 0 8px 0 !important;
    color: #2f2f2f;
}

.partner-form-row { margin-bottom: 4px; }

.partner-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 12px;
}

.partner-form input[type="text"],
.partner-form input[type="tel"],
.partner-form input[type="email"],
.partner-form textarea {
    display: block;
    width: 100%;
    padding: 7px 10px;
    margin-top: 3px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 13px;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .15s;
}

.partner-form input:focus,
.partner-form textarea:focus {
    border-color: #ba3d49;
    outline: none;
}

.partner-form input[type="file"] {
    font-size: 13px;
    padding: 4px 0;
}

/* Pflichtfeld-Stern */
.partner-form .req { color: #ba3d49; }

/* Checkboxen */
.partner-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-bottom: 6px;
}

.partner-checkbox-label {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: #444;
    display: flex !important;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin-bottom: 0 !important;
}

.partner-checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #ba3d49;
}

.partner-bundeslaender { gap: 6px 16px; }

/* Datenschutz + Buttons */
.partner-form-footer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e0e0e0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
}

.partner-datenschutz {
    font-size: 13px !important;
    font-weight: 400 !important;
}

.partner-datenschutz a { color: #ba3d49; }

.partner-form-buttons { display: flex; gap: 10px; }

.btn-partner-reset {
    padding: 9px 22px;
    border: 1px solid #aaa;
    background: #eee;
    color: #444;
    font-size: 13px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background .15s;
}

.btn-partner-reset:hover { background: #ddd; }

.btn-partner-submit {
    padding: 9px 24px;
    border: none;
    background: #ba3d49;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background .15s;
}

.btn-partner-submit:hover { background: #9e2f3a; }

/* ==========================================================================
   ANFRAGE-FORMULARE (Bauanfrage / Allgemein)
   ========================================================================== */

.anfrage-form { }

.anfrage-form-title {
    font-size: 19px !important;
    font-weight: 700 !important;
    margin: 0 0 14px 0 !important;
    color: #2f2f2f;
    border-bottom: 2px solid #ba3d49;
    padding-bottom: 6px;
}

.anfrage-form-sub {
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 20px 0 10px 0 !important;
    color: #ba3d49;
}

.anfrage-field {
    margin-bottom: 12px;
}

.anfrage-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    margin-bottom: 4px;
}

.anfrage-field input[type="text"],
.anfrage-field input[type="email"],
.anfrage-field input[type="tel"],
.anfrage-field input[type="date"],
.anfrage-field textarea {
    display: block;
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 13px;
    color: #333;
    background: #fff;
    box-sizing: border-box;
    transition: border-color .15s;
}

.anfrage-field input:focus,
.anfrage-field textarea:focus {
    border-color: #ba3d49;
    outline: none;
}

.anfrage-field .req { color: #ba3d49; }

/* ── Bauanfrage Formular kompakt ────────────────────────────────────────── */
.bauform-section-title {
    font-size: 14px !important;
    font-weight: 700;
    color: #333;
    background: none;
    border: none;
    padding: 0;
    margin: 18px 0 6px 0 !important;
}

.bauform-field {
    margin-bottom: 10px;
}

.bauform-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #555;
    margin-bottom: 3px;
}

.bauform-label .req { color: #ba3d49; }

.bauform-field input[type="text"],
.bauform-field input[type="email"],
.bauform-field input[type="tel"],
.bauform-field input[type="date"],
.bauform-field textarea,
.bauform-field select {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    background: #fff;
    color: #444;
    box-sizing: border-box;
}

.bauform-field input:focus,
.bauform-field textarea:focus {
    border-color: #ba3d49;
    outline: none;
    box-shadow: 0 0 0 2px rgba(186,61,73,0.12);
}

.bauform-field textarea { resize: vertical; }

/* Inline-Zeile: Frage links, Ja/Nein rechts */
.bauform-inline {
    padding: 6px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    color: #444;
}

/* WordPress wickelt Inhalt in <p> – dieses wird zum Flex-Container */
.bauform-inline > p {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* <br> den WordPress einfügt ausblenden */
.bauform-inline > p > br { display: none !important; }

.bauform-inline-label {
    flex: 1;
    font-weight: 600;
    padding-right: 12px;
}

.bauform-inline-label small {
    font-weight: 400;
    color: #888;
    font-size: 11px;
}

.bauform-inline .wpcf7-form-control.wpcf7-radio {
    display: flex;
    gap: 14px;
    flex-shrink: 0;
}

.bauform-inline .wpcf7-list-item {
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 4px;
}

.bauform-inline .wpcf7-list-item input[type="radio"] {
    accent-color: #ba3d49;
    width: 15px;
    height: 15px;
    cursor: pointer;
    margin: 0;
}

.bauform-inline .wpcf7-list-item-label {
    font-size: 13px;
    cursor: pointer;
}

.bauform-hint {
    font-size: 11px;
    color: #888;
    margin: 4px 0 10px 0;
}

.bauform-hint a { color: #ba3d49; }

.bauform-submit {
    margin-top: 16px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-reset {
    display: none;
}

.bauform-submit .wpcf7-submit {
    background: #ba3d49;
    color: #fff;
    border: none;
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer !important;
    border-radius: 5px;
    transition: background 0.2s;
}

.bauform-submit .wpcf7-submit:hover,
.bauform-submit .wpcf7-submit[disabled],
.bauform-submit .wpcf7-submit[disabled]:hover {
    background: #8c2030;
    cursor: pointer !important;
}

/* Gewerk Ja/Nein Zeilen */
.anfrage-gewerk {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 13px;
    color: #444;
}

.anfrage-gewerk-label {
    flex: 1;
    font-weight: 600;
}

.anfrage-radio {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    font-size: 13px;
    color: #444;
}

.anfrage-radio input[type="radio"] {
    accent-color: #ba3d49;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

/* ==========================================================================
   REFERENZEN-GALERIE + LIGHTBOX
   ========================================================================== */

.referenzen-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 22px;
}

.ref-thumb-link {
    display: block;
    overflow: hidden;
    line-height: 0;
}

.ref-thumb {
    width: 200px;
    height: 150px;
    object-fit: cover;
    display: block;
    transition: transform .2s, opacity .2s;
}

.ref-thumb-link:hover .ref-thumb {
    transform: scale(1.05);
    opacity: .9;
}

/* Galerie-Pagination */
.ref-pagination {
    display: flex;
    gap: 6px;
    margin: 20px 0 32px 0;
    flex-wrap: wrap;
}

.ref-page-btn {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
    text-decoration: none;
    transition: background 0.15s, color 0.15s;
}

.ref-page-btn:hover {
    background: #ba3d49;
    border-color: #ba3d49;
    color: #fff;
    text-decoration: none;
}

.ref-page-btn.active {
    background: #ba3d49;
    border-color: #ba3d49;
    color: #fff;
    cursor: default;
}

/* Social Feed Abschnitt */
.social-feeds-section {
    margin-top: 40px;
    padding-top: 32px;
    border-top: 2px solid #e0e0e0;
}

.social-feed-block {}

.social-feed-title {
    font-size: 20px !important;
    margin-bottom: 6px !important;
}

.social-feed-sub {
    font-size: 13px;
    color: #666;
    margin-bottom: 16px;
}

.social-feed-sub a {
    color: #ba3d49;
    font-weight: 600;
}

/* Lightbox */
.ref-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ref-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.88);
}

.ref-lightbox-inner {
    position: relative;
    z-index: 1;
    max-width: 92vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ref-lightbox-img {
    max-width: 88vw;
    max-height: 85vh;
    object-fit: contain;
    display: block;
    border: 3px solid #fff;
    box-shadow: 0 8px 40px rgba(0,0,0,.6);
}

.ref-lightbox-close {
    position: fixed;
    top: 16px;
    right: 20px;
    font-size: 36px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    z-index: 2;
    opacity: .8;
    transition: opacity .15s;
}

.ref-lightbox-close:hover { opacity: 1; }

.ref-lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    pointer-events: none;
}

.ref-lb-prev,
.ref-lb-next {
    font-size: 48px;
    color: #fff;
    background: rgba(0,0,0,.35);
    border: none;
    cursor: pointer;
    padding: 4px 14px;
    border-radius: 4px;
    pointer-events: all;
    opacity: .8;
    transition: opacity .15s, background .15s;
    line-height: 1;
}

.ref-lb-prev:hover,
.ref-lb-next:hover {
    opacity: 1;
    background: rgba(186,61,73,.7);
}

/* ==========================================================================
   BLOG-ÜBERSICHT (home.php)
   ========================================================================== */

.blog-post-item {
    margin-bottom: 30px;
}

.blog-post-thumb {
    float: left;
    margin: 0 20px 10px 0;
    width: 220px;
}

.blog-post-thumb .blog-thumb-img {
    width: 220px;
    height: 165px;
    object-fit: cover;
    display: block;
    border: 3px solid #e8e8e8;
    border-radius: 2px;
    transition: border-color .2s;
}

.blog-post-thumb a:hover .blog-thumb-img {
    border-color: #ba3d49;
}

.blog-post-body {
    overflow: hidden;
}

.blog-post-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
    line-height: 1.3;
}

.blog-post-title a {
    color: #333;
    text-decoration: none;
}

.blog-post-title a:hover {
    color: #ba3d49;
}

.blog-post-meta {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.blog-post-cat {
    color: #ba3d49;
    font-weight: 600;
}

.blog-post-excerpt {
    font-size: 13px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 12px;
}

.blog-post-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 24px 0 0;
}

.blog-empty {
    padding: 30px 0;
    color: #777;
}

/* "Mehr lesen" Button */
.btn-mehr-lesen {
    display: inline-block;
    background: #ba3d49;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 5px;
    text-decoration: none;
    letter-spacing: .5px;
    transition: background .2s;
    border: none;
}

.btn-mehr-lesen:hover {
    background: #9a2f3a;
    color: #fff;
    text-decoration: none;
}

/* Seitennummerierung */
.pagination-wrapper {
    margin: 20px 0;
    text-align: center;
}

.pagination-wrapper .page-numbers {
    display: inline-block;
    padding: 5px 10px;
    margin: 0 2px;
    border: 1px solid #ddd;
    color: #555;
    text-decoration: none;
    font-size: 13px;
    border-radius: 2px;
}

.pagination-wrapper .page-numbers.current,
.pagination-wrapper .page-numbers:hover {
    background: #ba3d49;
    border-color: #ba3d49;
    color: #fff;
}

@media (max-width: 600px) {
    .blog-post-thumb {
        float: none;
        width: 100%;
        margin: 0 0 12px 0;
    }
    .blog-post-thumb .blog-thumb-img {
        width: 100%;
        height: 200px;
    }
}

/* ==========================================================================
   SIDEBAR – WISSENSWERTES ZUM BAU (Kategorie-Dropdown)
   ========================================================================== */

.widget-kategorie .kategorie-form {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}

.kategorie-select {
    flex: 1;
    min-width: 0;
    padding: 5px 8px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-size: 12px;
    color: #444;
    background: #fff;
    cursor: pointer;
}

.kategorie-select:focus {
    outline: none;
    border-color: #ba3d49;
}

.kategorie-go-btn {
    background: #ba3d49;
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 2px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}

.kategorie-go-btn:hover {
    background: #9a2f3a;
}

/* ==========================================================================
   ARCHIV / BLOG – Vollständiger Beitragsinhalt (wie Original)
   ========================================================================== */

.archive-post-item {
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.archive-post-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}

.archive-post-title a {
    color: #ba3d49;
    text-decoration: none;
}

.archive-post-title a:hover {
    color: #9a2f3a;
    text-decoration: underline;
}

/* Vollständiger Inhalt – Bilder, Absätze etc. */
.archive-post-content {
    font-size: 13px;
    color: #444;
    line-height: 1.75;
    margin-bottom: 10px;
}

.archive-post-content img {
    max-width: 100%;
    height: auto;
    margin: 8px 0;
}

.archive-post-content p {
    margin-bottom: 10px;
}

.archive-post-content h2,
.archive-post-content h3 {
    font-size: 15px;
    font-weight: 700;
    color: #333;
    margin: 14px 0 6px;
}

.archive-post-content ul,
.archive-post-content ol {
    margin: 8px 0 8px 20px;
}

.archive-post-content a {
    color: #ba3d49;
}

/* Featured Image in Archiv / Blog-Übersicht */
.archive-post-thumb {
    margin-bottom: 12px;
}
.archive-post-thumb a {
    display: block;
}
.archive-thumb-img {
    max-width: 100%;
    height: auto;
    border-radius: 3px;
    display: block;
}

/* Meta-Zeile (Datum, Autor, Kommentare) */
.archive-post-footer {
    font-size: 11px;
    color: #888;
    margin: 8px 0 4px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.archive-post-footer a {
    color: #888;
    text-decoration: none;
}

.archive-post-footer a:hover {
    color: #ba3d49;
}

.archive-permalink {
    margin-left: auto;
}

/* Kategorien */
.archive-post-cats {
    font-size: 11px;
    color: #666;
    margin: 4px 0 2px;
}

.archive-post-cats a {
    color: #ba3d49;
    text-decoration: none;
    font-weight: 600;
}

.archive-post-cats a:hover {
    text-decoration: underline;
}

/* Tags */
.archive-post-tags {
    font-size: 11px;
    color: #666;
    margin: 2px 0 8px;
}

.archive-post-tags a {
    color: #ba3d49;
    text-decoration: none;
}

.archive-post-tags a:hover {
    text-decoration: underline;
}

.archive-post-divider {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 16px 0;
}

/* ── Über uns CTA ───────────────────────────────────────────────────────── */
.ueber-uns-cta {
    margin-top: 36px;
    padding: 28px 32px;
    background: #f8f8f8;
    border-left: 5px solid #ba3d49;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.ueber-uns-cta__title {
    font-size: 18px !important;
    font-weight: 700;
    color: #2f2f2f;
    margin: 0 0 8px 0 !important;
}

.ueber-uns-cta__text p {
    font-size: 13px;
    color: #555;
    margin: 0;
    max-width: 520px;
}

.ueber-uns-cta__buttons {
    display: flex;
    gap: 20px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.ueber-uns-cta__btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 15px;
    font-weight: 800;
    border-radius: 5px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.ueber-uns-cta__btn--primary {
    background: #ba3d49;
    color: #fff !important;
}

.ueber-uns-cta__btn--primary:hover {
    background: #8c2030;
    color: #fff !important;
    text-decoration: none;
}

.ueber-uns-cta__btn--secondary {
    background: #fff;
    color: #ba3d49 !important;
    border: 2px solid #ba3d49;
}

.ueber-uns-cta__btn--secondary:hover {
    background: #ba3d49;
    color: #fff !important;
    text-decoration: none;
}

/* ── Bewerbungsformular ──────────────────────────────────────────────────── */
.bewerbung-table td {
    padding: 6px 8px 6px 0;
    vertical-align: top;
    width: 50%;
}

.bewerbung-table label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #555;
    margin-bottom: 3px;
}

.bewerbung-table input[type="text"],
.bewerbung-table input[type="email"],
.bewerbung-table input[type="tel"],
.bewerbung-table select {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    background: #fff;
    color: #444;
    box-sizing: border-box;
}

.bewerbung-table input:focus,
.bewerbung-table select:focus {
    border-color: #ba3d49;
    outline: none;
    box-shadow: 0 0 0 2px rgba(186,61,73,0.12);
}

.bewerbung-table small {
    font-size: 11px;
    color: #888;
}

.bewerbung-table .wpcf7-radio {
    display: flex;
    gap: 16px;
    padding: 4px 0;
}

.bewerbung-table .wpcf7-list-item {
    margin: 0 !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bewerbung-table .wpcf7-list-item input[type="radio"] {
    accent-color: #ba3d49;
    cursor: pointer;
}

.submit-wrap .wpcf7-submit {
    background: #ba3d49;
    color: #fff;
    border: none;
    padding: 10px 26px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer !important;
    border-radius: 5px;
    transition: background 0.2s;
}

.submit-wrap .wpcf7-submit:hover { background: #8c2030; }
.submit-wrap .wpcf7-submit[disabled] { cursor: pointer !important; }

