@charset "utf-8";

/* ========================================================================
   ROHRFROSCH24 – ZENTRALE STYLE.CSS

   AUFBAU / ZUORDNUNG

   01. Fonts
   02. Root / globale Farben
   03. Floating Buttons
   04. Header / Hero
   05. Navigation
   06. Partnersuche
   07. Allgemeiner Content
   08. Bewertungen
   09. Allgemeine Services / FAQ
   10. Kontakt / Karte
   11. Buttons / Sonderbereiche
   12. Video
   13. Mobile / Tablet / Desktop Anpassungen
   14. Moderne Leistungsseiten (rf-*)
   15. Startseite – moderne Leistungsübersicht
   16. Dynamische Leistungsverlinkung (serviceLinks.php)
   17. Partner vor Ort (iconServices.php)
   18. Dynamische Kontaktbausteine

   WICHTIG:
   Die vorhandene Reihenfolge der bestehenden Regeln wurde beibehalten,
   damit sich die CSS-Kaskade nicht ungewollt verändert.
   ======================================================================== */


/* =========================
FONTS
========================= */
@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.woff2') format('woff2');
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-VariableFont_wght.woff2') format('woff2');
    font-display: swap;
}

/* =========================
ROOT / GLOBAL
========================= */
:root {
    --main-dark-blue-color: #1e387e;
    --main-light-blue-color: #0377bc;
    --main-yellow-color: #ffb00b;
    --red-color: #c81d1d;
}

* {
    box-sizing: border-box;
    hyphens: none;
}

body {
    position: relative;
    margin: 0;
    font-family: 'Roboto', 'Montserrat', sans-serif;
}

a,
a:hover {
    text-decoration: none;
}

.main-blue-color {
    color: var(--main-dark-blue-color);
}

/* =========================
FLOATING BUTTONS
========================= */
.floating-alongside {
    position: fixed;
    top: 70vh;
    right: 23px;
    z-index: 1000;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.floating-alongside.show {
    opacity: 1;
}

.floating-alongside a,
.floating-alongside a:focus {
    width: 57px;
    height: 57px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    background-color: var(--main-light-blue-color);
    border-radius: 50%;
}

.floating-alongside i {
    font-size: 32px;
    color: #fff;
}

.floating-alongside a:hover {
    background-color: #fff;
    box-shadow: 0 0 3px 1px var(--main-light-blue-color);
}

.floating-alongside a:hover i {
    color: var(--main-light-blue-color);
}

.floating-alongside .phone,
.floating-alongside .mail {
    margin-bottom: 10px;
}

/* =========================
HEADER / HERO BACKGROUND
========================= */
header {
    min-height: 100vh;
    height: auto;
    position: relative;
    color: var(--main-dark-blue-color);
    overflow: visible;
}

.headerVideoWrapper,
.headerBg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.headerVideoWrapper {
    z-index: -5;
}

.headerBg {
    z-index: -6;
    background: url('/images/Rohrfrosch1.webp') center center / cover no-repeat;
}

.headerVideoWrapper::after,
.headerBg::after {
    content: "";
    position: absolute;
    inset: 0;
}

.headerVideoWrapper::after {
    background: rgba(255, 255, 255, 0.35);
}

.headerBg::after {
    background: rgba(0, 0, 0, 0.55);
}

.headerVideo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

header div.headAllHeightFlex {
    flex-grow: 1;
}

header div.headAllHeight {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
}

@media (min-width: 769px) {
    .headerBg {
        display: block !important;
        background: url('/images/Rohrfrosch.webp') center 40% / cover no-repeat !important;
    }

.headerVideoWrapper {
    display: none !important;
}
}

/* =========================
NAVIGATION
========================= */
nav img.navbar-logo {
    max-width: 150px;
    width: 100%;
    height: auto;
    display: block;
    filter: brightness(1.35) contrast(1.2);
}

nav i {
    color: var(--main-dark-blue-color);
}

nav .navbar-tel i {
    margin-right: 15px;
    font-size: 31px;
}

nav .menuBtn i {
    font-size: 43px;
}

nav button.menuBtn {
    padding: 0;
    background-color: transparent;
}

nav button.menuBtn,
nav button.menuBtn:focus {
    border: none;
    box-shadow: none;
}

nav .dropdown-menu {
    border: none;
}

nav .nav-item {
    padding: 15px 30px;
}

nav .nav-item a.nav-link {
    font-size: 1.3rem;
}

nav #navbarMenu {
    position: fixed;
    top: 0;
    right: -90vw;
    width: 90vw;
    height: 100vh;
    z-index: 1001;
    background-color: #fff;
}

nav #navbarMenu .close {
    padding: 23px;
    text-align: right;
    font-size: 2rem;
}

nav #navbarMenu .close i {
    cursor: pointer;
}

nav #navbarMenu .wrapper {
    height: 100vh;
}

nav #navbarMenu .wrapper .navFooter {
    color: var(--bs-body-color);
    margin-bottom: 40px;
}

nav #navbarMenu .wrapper .navFooter img {
    width: 111px;
    height: auto;
}

nav #navbarMenu .wrapper .navFooter a {
    color: var(--bs-body-color);
}

.main-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.main-nav a {
    position: relative;
    padding: 5px 0;
    color: #fff !important;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    white-space: nowrap;
    transition: all 0.3s ease;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.main-nav a:hover {
    color: var(--main-yellow-color) !important;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: var(--main-yellow-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* =========================
HERO
========================= */
.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 0;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.hero-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    color: #fff !important;
}

.hero-btn.call-btn {
    background: #c81d1d !important;
}

.hero-btn.whatsapp-btn {
    background: #075E54 !important;
}

.hero-btn.mail-btn {
    background: #1e387e !important;
}

.hero-btn:hover {
    opacity: 0.92;
    transform: translateY(-2px);
    color: #fff !important;
}

.hero-phone {
    text-align: center;
    margin: 0 0 22px 0;
}

.hero-phone-link {
    display: inline-block;
    margin-top: 0;
    font-size: 48px;
    line-height: 1.1;
    font-weight: 700;
    color: #fff !important;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

.hero-headline-box {
    display: inline-block;
    text-align: center;
    min-width: auto;
    max-width: 900px;
    margin-bottom: 22px;
    padding: 18px 26px;
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-headline-box h1 {
    margin: 0 0 10px 0;
    font-size: 56px;
    line-height: 1.08;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
}

.hero-headline-box h1 span {
    display: block;
}

.hero-location {
    display: block;
    margin-top: 6px;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    opacity: 0.95;
}

.hero-headline-box .hero-sub,
.hero-sub {
    margin: 0;
    font-size: 26px;
    line-height: 1.15;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 0.3px;
    text-shadow: 0 4px 14px rgba(0, 0, 0, 0.9);
}

/* =========================
HEADER FORM / PARTNER SEARCH
========================= */
header .form-control::placeholder {
    color: #555 !important;
    opacity: 1 !important;
}

header .form-control:focus {
    background-color: #fff !important;
    border-color: #ccc !important;
    font-size: 1.2rem;
}

header .input-group {
    height: 60px;
}

header .input-group i {
    color: var(--main-dark-blue-color);
    font-size: 1.3rem;
}

header .input-group .input-group-text {
    padding: .375rem 1rem;
}

header button.btn {
    padding: .375rem 1rem;
    background-color: rgb(255 255 255 / 50%);
    border-color: #cbcfd8;
    border-left: none;
}

header button.btn:hover {
    background-color: rgb(30 56 126 / 50%);
}

header button.btn:hover i {
    color: #fff;
}

.partner-search-wrap {
    position: relative;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    z-index: 999;
}

header .input-group.partner-search {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    position: relative !important;
    z-index: 50 !important;
    transform: none !important;
    display: flex !important;
    align-items: center;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: visible !important;
}

/* Partner search results */
.searchPartnerResult {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    width: 100%;
    background-color: #fff;
    max-height: 230px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    z-index: 9999;
    display: none;
}

.searchPartnerResult .filteredPlaces {
    display: block;
    padding: 10px 30px;
    color: var(--bs-body-color);
    cursor: pointer;
}

/* =========================
CONTENT
========================= */
div.content section {
    margin: 53px 0;
    text-align: left;
}

div.content section h2 {
    text-align: center;
    margin-bottom: 0.2rem;
    font-size: calc(1.2rem + .1vw);
}

div.content section h2.blue-small {
    text-align: center;
    margin-bottom: 0.2rem;
    font-size: calc(1.2rem + .6vw);
}

div.content section h2.blue-small + p.subtitle {
    text-align: center;
    margin-bottom: 0.2rem;
    font-size: calc(1.2rem + .1vw);
    color: #043882;
}

div.content section h3 {
    text-align: center;
    margin-bottom: 0.2rem;
}

div.content section h3.blue-small {
    color: #043882;
    font-size: calc(1.2rem + .6vw);
    margin-bottom: 0.2rem;
}

div.content section p {
    font-size: calc(1rem + .6vw);
}

div.content section .contentImage img,
#services img.serviceImage,
#imprint img.serviceImage,
.videoService {
    width: 100%;
    border-radius: 10px;
}

/* =========================
REVIEWS
========================= */
#reviews .carousel {
    margin: 1rem 0;
}

#reviews .carousel-indicators {
    margin-bottom: -1rem;
}

#reviews .carousel-inner {
    min-height: 430px;
}

#reviews img {
    width: 25%;
    margin-top: 0.5rem;
    border-radius: 50%;
    box-shadow: 0 0 5px 1px var(--main-dark-blue-color);
}

#reviews p.reviewName {
    margin: 10px 0;
}

#reviews .stars {
    margin-bottom: 10px;
    color: #FECD19;
}

#reviews .quote {
    position: absolute;
    top: 60px;
    left: 0;
    width: 50px;
    height: 50px;
    font-size: 4rem;
    color: #a3a3a3;
}

#reviews p.reviewText {
    font-size: 0.9rem;
}

/* =========================
SERVICES / FAQ / IMPRINT
========================= */
#services .accordion-button,
#imprint .accordion-button,
#faq .accordion-button {
    color: var(--main-dark-blue-color);
}

#services .accordion-button {
    font-size: 1.3rem;
}

#imprint .accordion-button,
#faq .accordion-button {
    font-size: 1.1rem;
}

#services .accordion-button:focus,
#imprint .accordion-button:focus,
#faq .accordion-button:focus {
    box-shadow: none;
}

#services .accordion-button:not(.collapsed),
#imprint .accordion-button:not(.collapsed),
#faq .accordion-button:not(.collapsed) {
    color: var(--main-dark-blue-color);
    background-color: inherit;
}

#services button.accordion-button,
#services .accordion-body,
#imprint button.accordion-button,
#imprint .accordion-body,
#faq button.accordion-button,
#faq .accordion-body {
    padding-left: 0;
    padding-right: 0;
}

#services .serviceIconWrapper {
    width: 90px;
    min-width: 90px;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#services img.serviceIcon {
    width: 58px;
    height: 58px;
    object-fit: contain;
    display: block;
}

/* Rohrreinigung */
#services .accordion-item:nth-child(1) img.serviceIcon {
    width: 58px;
    height: 58px;
}

/* Kanalreinigung */
#services .accordion-item:nth-child(2) img.serviceIcon {
    width: 64px;
    height: 64px;
}

/* Rohr- & Kanalinspektion */
#services .accordion-item:nth-child(3) img.serviceIcon {
    width: 78px;
    height: 78px;
}

/* Dichtheitsprüfung */
#services .accordion-item:nth-child(4) img.serviceIcon {
    width: 60px;
    height: 60px;
}

/* Rohr- & Kanalsanierung */
#services .accordion-item:nth-child(5) img.serviceIcon {
    width: 58px;
    height: 58px;
}

/* Zisternenreinigung */
#services .accordion-item:nth-child(6) img.serviceIcon {
    width: 64px;
    height: 64px;
}

#services a.moreDetails,
.trustElements a.moreDetails {
    padding: 10px 15px;
    font-weight: bold;
    background-color: var(--main-dark-blue-color);
    color: #fff;
    border-radius: 5px;
}

#services a.moreDetails:hover,
.trustElements a.moreDetails:hover {
    background-color: #fff;
    color: var(--main-dark-blue-color);
    box-shadow: 0 0 3px 1px var(--main-dark-blue-color);
}

#imprint .imprintIconWrapper,
#faq .imprintIconWrapper {
    margin-right: 17px;
}

#imprint .imprintIconWrapper i,
#faq .imprintIconWrapper i {
    font-size: 2rem;
}

/* =========================
CONTACT
========================= */
#contact #success-contact-form {
    margin: 0 15px 15px;
    padding: 5px 0;
    text-align: center;
    border: 1px solid #157a08;
    border-radius: 5px;
    color: #157a08;
    font-size: 15px;
}

#contact form#contact-form {
    font-size: 1.3rem;
    text-align: center;
}

#contact input,
#contact textarea {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid var(--bs-body-color);
    color: var(--bs-body-color);
    outline: none;
}

#contact ::placeholder {
    color: var(--bs-body-color);
}

#contact button {
    width: 60%;
    margin: 20px 0;
    border-radius: 10px;
    font-size: 1.2rem;
    background-color: var(--main-dark-blue-color);
    color: #fff;
}

#contact button:hover {
    color: var(--main-dark-blue-color);
    background-color: #fff;
    border: 1px solid var(--main-dark-blue-color);
}

/* =========================
MAP
========================= */
#openStreetMap #map {
    min-height: 400px;
    border-radius: 10px;
}

/* =========================
CALL BUTTON
========================= */
div.callBtnBox {
    display: flex;
    justify-content: center;
    align-items: center;
}

div.callBtnInnerTxt {
    position: absolute;
    z-index: 2;
}

div.callBtnBox .btn {
    display: flex;
    justify-content: center;
    width: 20rem;
    height: 70px;
    line-height: 55px;
    text-align: center;
    cursor: pointer;
}

div.callBtnBox .btn:hover {
    color: var(--main-dark-blue-color);
}

div.callBtnBox .btn-special {
    position: relative;
    font-size: 1.2rem;
    color: #fff;
    transition: all 0.5s;
}

div.callBtnBox .btn-special::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: var(--main-dark-blue-color);
    transition: all 0.3s;
}

div.callBtnBox .btn-special:hover::before {
    opacity: 0;
    transform: scale(0.5, 0.5);
}

div.callBtnBox .btn-special::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    border: 1px solid var(--main-dark-blue-color);
    transform: scale(1.2, 1.2);
    transition: all 0.3s;
}

div.callBtnBox .btn-special:hover::after {
    opacity: 1;
    transform: scale(1, 1);
}

/* =========================
CERTIFICATION
========================= */
#popupCertifications {
    cursor: pointer;
}

#popupCertifications2 {
    color: #043882;
    cursor: pointer;
    text-decoration: none;
}

/* =========================
WARTUNGSANGEBOT
========================= */
.wartungsangebot ul {
    list-style: none;
    padding-left: 7px;
    text-align: left;
    font-size: 0.9em;
}

.wartungsangebot li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.wartungsangebot li div.listStyle {
    padding-right: 17px;
}

.wartungsangebot li div.listStyle svg path {
    color: #043882;
}

.wartungsangebot p.price {
    text-align: center;
    margin-top: 27px;
    margin-bottom: 7px;
}

.wartungsangebot p.price small {
    font-size: 0.8em;
}

.wartungsangebot p.price span {
    color: #1e387e;
    font-size: 1.5em;
}

.heizungSanitaer .wartungsangebot li {
    align-items: normal;
}

/* =========================
FOOTER
========================= */
footer {
    margin: 50px 0 20px 0;
}

footer img {
    width: 30%;
}

footer i {
    font-size: 2.1rem;
    color: #043882;
}

footer a {
    color: var(--bs-body-color);
}

footer .footerPartnerVorOrt {
    font-size: 0.9rem;
}

footer .footerPartnerVorOrt .title {
    font-size: 0.95rem;
    font-weight: bold;
}

footer .footerPartnerVorOrt a {
    display: inline-block;
    padding: 8px 10px;
    margin: 2px 0;
    line-height: 1.5;
}

footer .copyrightPowered {
    font-size: 0.8rem;
}

/* =========================
EXTRA SECTIONS
========================= */
#servicesHeizungSanitaer {
    color: #fff;
}

#servicesHeizungSanitaer .row {
    position: relative;
    z-index: -2;
    padding: 50px 0;
    background: url("/images/rohrfrosch24-heizungsraum.webp") fixed;
    background-size: cover;
    background-position: center;
}

#servicesHeizungSanitaer .row::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: rgba(0, 117, 188, 0.8);
}

#servicesHeizungSanitaer img {
    height: 79px;
}

#servicesHeizungSanitaer p.title {
    margin: 1rem 0 0 0;
    font-weight: bold;
}

#servicesHeizungSanitaer p:last-child {
    font-size: 0.9rem;
}

#rohrfrosch24Notfall {
    color: #fff;
}

#rohrfrosch24Notfall .row {
    padding: 1rem 0;
    border-radius: 15px;
    background-color: var(--main-dark-blue-color);
}

#rohrfrosch24Notfall h3.blue-small {
    color: var(--main-yellow-color);
}

#rohrfrosch24Notfall img {
    height: 77px;
}

#rohrfrosch24Notfall .c2a {
    padding: 1rem 2rem;
    border-radius: 7px;
    background-color: #fff;
    color: var(--main-dark-blue-color);
    font-size: 1.1rem;
}

#rohrfrosch24Notfall .c2a:hover {
    color: #fff;
    background-color: var(--main-yellow-color);
}

#trustBar {
    position: relative;
    min-height: 300px;
    background-image: url("/images/rohrfrosch24-heizungsraum.webp");
    background-size: cover;
    background-position: center;
}

#trustBar::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(255 255 255 / 80%);
}

/* =========================
CUSTOM BUTTONS
========================= */
.btn-yet-custom {
    min-width: 250px;
    height: 50px;
    padding: 0 30px;
    line-height: 50px;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
}

.btn-yet-01 {
    position: relative;
    color: var(--main-dark-blue-color);
    transition: all 0.5s;
}

.btn-yet-01::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.btn-yet-01:hover::before {
    opacity: 0;
    transform: scale(0.5, 0.5);
}

.btn-yet-01::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transform: scale(1.2, 1.2);
    transition: all 0.3s;
}

.btn-yet-01:hover::after {
    opacity: 1;
    transform: scale(1, 1);
}

.btn-yet-02 {
    position: relative;
    color: var(--main-dark-blue-color);
    border: 1px solid var(--main-dark-blue-color);
    transition: all 0.5s;
}

.btn-yet-02::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background-color: rgba(204, 217, 255, 0.1);
    transition: all 0.3s;
}

.btn-yet-02:hover::before {
    opacity: 0;
    transform: scale(0.5, 0.5);
}

.btn-yet-02::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0;
    border: 2px solid var(--main-dark-blue-color);
    transform: scale(1.2, 1.2);
    transition: all 0.3s;
}

.btn-yet-02:hover::after {
    opacity: 1;
    transform: scale(1, 1);
}

/* =========================
VIDEO / INTRO
========================= */
#video .video-section-row,
#introduction .row {
    align-items: center;
}

#video .videoWrapper {
    position: relative;
    width: 100%;
}

#video #werbeVideo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

#video .videoText {
    position: relative;
    z-index: 2;
}

#video .videoText p {
    margin: 0;
    font-size: 1.2rem;
    line-height: 1.7;
    text-align: left;
}

#video h2,
#video p.subtitle {
    text-align: left;
}

/* =========================
MOBILE CTA
========================= */
.mobile-cta {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.mobile-cta a {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mobile-cta i {
    font-size: 24px;
}

/* =========================
MOBILE
========================= */
@media (max-width: 768px) {
    .headerVideoWrapper,
    video,
    #video video,
    #video #videoPlayButton {
        display: none !important;
    }

.headerBg {
    background: url('/images/Rohrfrosch1.webp') center 40% / cover no-repeat !important;
}

.headerBg::after {
    background: rgba(0, 0, 0, 0.38) !important;
}

header {
    min-height: 100vh !important;
    height: auto !important;
    padding-top: 20px;
    padding-bottom: 40px;
    overflow: visible !important;
}

header div.headAllHeight,
header .container.headAllHeight,
header .row.headAllHeight,
header .col.headAllHeight {
    min-height: auto !important;
    height: auto !important;
    justify-content: flex-start !important;
    overflow: visible !important;
}

header div.headAllHeightFlex {
    flex-grow: 0 !important;
}

header .col.headAllHeight {
    padding: 20px 0 20px 0 !important;
}

nav .container-fluid {
    flex-direction: column;
    align-items: center !important;
    text-align: center;
    gap: 12px;
}

nav .navbar-brand {
    width: 100%;
    display: flex;
    justify-content: center;
}

nav img.navbar-logo {
    max-width: 140px;
    margin: 5px auto 0;
    filter: brightness(1.6) contrast(1.3) saturate(1.2);
}

.main-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: nowrap;
    gap: 18px;
    margin-top: 14px;
    margin-bottom: 22px;
}

.main-nav a {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.3px;
}

.hero-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 92%;
    margin: 10px auto 16px auto !important;
}

.hero-btn {
    width: 100%;
    min-width: 0;
    max-width: none;
    font-size: 14px;
    padding: 11px 10px;
    border-radius: 14px;
}

.hero-btn.mail-btn {
    grid-column: 1 / -1;
}

.hero-btn i {
    font-size: 14px;
}

.hero-phone {
    margin: 0 0 16px 0;
}

.hero-phone-link {
    font-size: 30px !important;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.hero-headline-box {
    width: 88%;
    max-width: none;
    margin: 0 auto 18px auto !important;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
}

.hero-headline-box h1 {
    margin: 0 0 6px 0;
    font-size: 24px !important;
    line-height: 1.25 !important;
    hyphens: none !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
}

.hero-sub {
    font-size: 20px !important;
    font-weight: 700;
}

.hero-location {
    font-size: 16px !important;
    margin-top: 4px;
}

.hero-headline-box .hero-sub,
.hero-sub {
    font-size: 18px;
    margin: 0;
}

.partner-search-wrap {
    width: 88% !important;
    max-width: 340px !important;
    margin: 20px auto 14px auto !important;
    position: relative;
    z-index: 999;
}

header .input-group.partner-search {
    width: 100% !important;
    max-width: 100% !important;
    height: 56px !important;
    margin: 0 !important;
    border-radius: 14px !important;
}

header .input-group.partner-search input {
    font-size: 18px !important;
    padding: 0 12px !important;
}

header .input-group.partner-search .input-group-text,
header .input-group.partner-search button {
    width: 60px !important;
    min-width: 60px !important;
    padding: 0 !important;
}

header .input-group.partner-search i {
    font-size: 1.5rem !important;
}
.searchPartnerResult {
    position: absolute;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-height: 220px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    z-index: 9999 !important;
}

.searchPartnerResult .filteredPlaces {
    padding: 14px 16px;
    font-size: 16px;
    line-height: 1.35;
    white-space: normal;
}

#introduction .row,
#video .video-section-row {
    flex-direction: column;
}

#introduction .contentImage {
    margin-bottom: 20px;
}
}
/* =========================
DESKTOP HERO FINE TUNING
========================= */
@media (min-width: 769px) {
    header div.headAllHeight {
        justify-content: flex-start !important;
        padding-top: 55px !important;
    }

.hero-buttons {
    transform: translateY(-120px);
}

.hero-phone {
    transform: translateY(-30px);
}

.hero-headline-box {
    margin-bottom: 12px !important;
}

header .input-group.partner-search {
    width: 90% !important;
    max-width: 420px !important;
    margin: 0 auto 0 auto !important;
    transform: none !important;
}
}

header,
header .container.headAllHeight,
header .row.headAllHeight,
header .col.headAllHeight,
header .input-group.partner-search {
    overflow: visible !important;
}

.searchPartnerResult {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #fff !important;
    max-height: 230px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border: none !important;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    z-index: 99999 !important;
    pointer-events: auto !important;
}

.searchPartnerResult .filteredPlaces {
    display: block !important;
    padding: 10px 30px;
    color: #000 !important;
    background: #fff !important;
    cursor: pointer;
}

.searchPartnerResult * {
    pointer-events: auto !important;
}

/* WICHTIG: alles darüber darf Klicks NICHT blockieren */
.headerBg::after,
.headerVideoWrapper::after,
.hero-headline-box {
    pointer-events: none !important;
}

header .input-group.partner-search .input-group-text,
header .input-group.partner-search button {
    border: none !important;
    background: transparent !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    height: 100%;
}

/* LINKES ICON */
header .input-group.partner-search .input-group-text {
    padding: 0 16px !important;
    border-right: 1px solid #e0e0e0 !important;
}

/* RECHTES ICON */
header .input-group.partner-search button {
    padding: 0 16px !important;
    border-left: 1px solid #e0e0e0 !important;
}

/* ICON GRÖSSE */
header .input-group.partner-search i {
    font-size: 18px;
}

header .input-group.partner-search input {
    height: 100% !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;

    display: flex !important;
    align-items: center;

    padding: 0 12px !important;
    font-size: 16px;
}

/* KEIN HOVER – alles bleibt gleich */
header .input-group.partner-search .input-group-text,
header .input-group.partner-search button {
    background: transparent !important;
    border: none !important;
}

/* ICONS bleiben IMMER sichtbar */
header .input-group.partner-search i {
    color: var(--main-dark-blue-color) !important;
}

/* HOVER komplett neutralisieren */
header .input-group.partner-search .input-group-text:hover,
header .input-group.partner-search button:hover {
    background: transparent !important;
}

header .input-group.partner-search .input-group-text:hover i,
header .input-group.partner-search button:hover i {
    color: var(--main-dark-blue-color) !important;
}

@media (min-width: 769px) {
    header .input-group.partner-search {
        margin-top: 30px !important;
    }
}

/* PARTNER-SUCHE: Desktop + Mobile sauber */
header .input-group.partner-search {
    overflow: hidden !important;
}

header .input-group.partner-search .input-group-text,
header .input-group.partner-search button {
    border: none !important;
    background: transparent !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    box-shadow: none !important;
}

header .input-group.partner-search .input-group-text {
    border-right: 1px solid #d9d9d9 !important;
}

header .input-group.partner-search button {
    border-left: 1px solid #d9d9d9 !important;
}

header .input-group.partner-search input {
    height: 100% !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0 14px !important;
    color: #444 !important;
}

header .input-group.partner-search input:focus {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

header .input-group.partner-search i {
    color: var(--main-dark-blue-color) !important;
}

/* kein Hover-Effekt */
header .input-group.partner-search .input-group-text:hover,
header .input-group.partner-search button:hover,
header .input-group.partner-search .input-group-text:focus,
header .input-group.partner-search button:focus {
    background: transparent !important;
    box-shadow: none !important;
}

header .input-group.partner-search .input-group-text:hover i,
header .input-group.partner-search button:hover i,
header .input-group.partner-search .input-group-text:focus i,
header .input-group.partner-search button:focus i {
    color: var(--main-dark-blue-color) !important;
}

header .input-group.partner-search input {
    text-align: center !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

@media (max-width: 768px) {
    #video .videoText,
    #video h2,
    #video p.subtitle,
    #video .videoText p {
        display: none !important;
    }
}

#accordion-Spruehverfahren .serviceImage {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.cm {
    max-width: 420px !important;
    font-size: 14px !important;
}

.cm__desc {
    font-size: 13px !important;
    line-height: 1.35 !important;
}

.cm__btns {
    gap: 6px !important;
}
/* =========================================================
ROHRFROSCH24 – MODERNE LEISTUNGSSEITEN
Desktop + Tablet + Mobile
Markenfarben: Blau + Gelb
========================================================= */

:root {
    --rf-blue: var(--main-dark-blue-color, #1e387e);
    --rf-blue-light: var(--main-light-blue-color, #0377bc);
    --rf-yellow: var(--main-yellow-color, #ffb00b);

    --rf-blue-soft: #f3f8fc;
    --rf-yellow-soft: #fff8df;
    --rf-text: #2c3338;
    --rf-muted: #5d6872;
    --rf-border: #dfe7ed;
    --rf-white: #ffffff;
}

/* Neue Leistungsbereiche gezielt kapseln */
div.content section.rf-service-section {
    margin: 54px 0;
    text-align: left;
}

div.content section.rf-service-section p {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--rf-text);
}

div.content section.rf-service-section h2,
div.content section.rf-service-section h3 {
    color: var(--rf-blue);
}

div.content section.rf-service-section h2.blue-small {
    text-align: center;
    color: var(--rf-blue);
    font-size: clamp(1.45rem, 2vw, 1.85rem);
    line-height: 1.25;
}

div.content section.rf-service-section h2.blue-small + p.subtitle {
    margin-top: 4px;
    margin-bottom: 26px !important;
    text-align: center;
    color: var(--rf-blue-light);
    font-size: 1rem;
    line-height: 1.4;
}

/* =========================================================
INTRO
========================================================= */

.rf-intro-card,
.rf-feature-box,
.rf-trust-box {
    padding: 30px;
    background: var(--rf-white);
    border: 1px solid var(--rf-border);
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(16, 40, 70, 0.07);
}

.rf-lead {
    margin-bottom: 16px;
    font-size: 1.14rem !important;
    line-height: 1.65 !important;
    font-weight: 600;
    color: var(--rf-blue) !important;
}

.rf-image img,
.rf-video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

/* =========================================================
BENEFITS
========================================================= */

.rf-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--rf-border);
}

.rf-benefits span {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--rf-blue);
    font-weight: 700;
}

.rf-benefits i {
    color: var(--rf-yellow);
    font-size: 1.05rem;
}

/* =========================================================
URSACHEN / INFO CARDS
========================================================= */

.rf-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.rf-info-card,
.rf-level-card,
.rf-action-card {
    padding: 22px;
    background: var(--rf-white);
    border: 1px solid var(--rf-border);
    border-radius: 14px;
}

.rf-info-card {
    transition:
    transform .2s ease,
    box-shadow .2s ease,
    border-color .2s ease;
}

.rf-info-card:hover {
    transform: translateY(-3px);
    border-color: var(--rf-yellow);
    box-shadow: 0 9px 24px rgba(16, 40, 70, 0.08);
}

.rf-info-card > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    background: var(--rf-yellow);
    color: var(--rf-blue);
    border-radius: 50%;
    font-size: 1.3rem;
}

div.content section.rf-service-section .rf-info-card h3,
div.content section.rf-service-section .rf-level-card h3,
div.content section.rf-service-section .rf-action-card h3 {
    margin: 14px 0 8px;
    text-align: left;
    color: var(--rf-blue);
    font-size: 1.08rem;
    line-height: 1.3;
}

.rf-info-card p,
.rf-level-card p,
.rf-action-card p {
    margin-bottom: 0;
    color: var(--rf-muted) !important;
}

/* =========================================================
VERSTOPFUNGSSTUFEN
========================================================= */

.rf-level-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.rf-level {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--rf-yellow);
    color: var(--rf-blue);
    border-radius: 50%;
    font-weight: 900;
}

.rf-level-urgent {
    border: 2px solid var(--rf-yellow);
    background: var(--rf-yellow-soft);
}

/* =========================================================
SELBSTHILFE / WARNUNG
========================================================= */

.rf-two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.rf-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--rf-blue-light);
    font-size: .84rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.rf-warning-card {
    background: var(--rf-yellow-soft);
    border-color: #efd36a;
}

.rf-action-card ul {
    margin: 15px 0 0;
    padding-left: 20px;
}

.rf-action-card li {
    margin-bottom: 6px;
}

/* =========================================================
PROFESSIONELLE ROHRREINIGUNG
========================================================= */

.rf-feature-box {
    background: var(--rf-blue-soft);
}

div.content section.rf-service-section .rf-feature-box h2 {
    margin: 0 0 15px;
    text-align: left;
    color: var(--rf-blue);
    font-size: clamp(1.45rem, 2vw, 1.85rem);
}

/* =========================================================
TRUST / VORTEILE
========================================================= */

.rf-trust-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.rf-trust-grid > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 20px;
    background: var(--rf-blue-soft);
    border-radius: 12px;
}

.rf-trust-grid i {
    margin-bottom: 4px;
    color: var(--rf-yellow);
    font-size: 1.5rem;
}

.rf-trust-grid strong {
    color: var(--rf-blue);
    font-size: 1rem;
}

.rf-trust-grid span {
    color: var(--rf-muted);
    font-size: .92rem;
    line-height: 1.45;
}

/* =========================================================
JETZT UNVERBINDLICH ANFRAGEN
========================================================= */

div.content section.rf-contact-cta {
    margin-top: 55px;
    margin-bottom: 38px;
}

.rf-contact-cta-inner {
    padding: 38px 30px;
    text-align: center;
    background: linear-gradient(
    135deg,
    var(--rf-blue) 0%,
    var(--rf-blue-light) 100%
    );
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(16, 40, 70, 0.12);
}

.rf-contact-cta-inner .rf-kicker {
    color: var(--rf-yellow);
}

div.content section.rf-contact-cta .rf-contact-cta-inner h2 {
    margin: 0 0 13px;
    text-align: center;
    color: var(--rf-white) !important;
    font-size: clamp(1.5rem, 2.1vw, 1.95rem);
}

div.content section.rf-contact-cta .rf-contact-cta-inner p {
    max-width: 720px;
    margin: 0 auto 24px;
    text-align: center !important;
    color: var(--rf-white) !important;
    font-size: 1rem;
    line-height: 1.65;
}

.rf-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 13px 24px;
    background: var(--rf-yellow);
    color: var(--rf-blue) !important;
    border: 2px solid var(--rf-yellow);
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none !important;
    transition:
    transform .2s ease,
    background .2s ease,
    border-color .2s ease;
}

.rf-contact-button:hover,
.rf-contact-button:focus {
    transform: translateY(-2px);
    background: #ffc038;
    border-color: #ffc038;
    color: var(--rf-blue) !important;
}

#kontaktformular {
    position: relative;
    top: -18px;
}

/* =========================================================
FORMULAR / MAP – MODERNER ABSCHLUSS
========================================================= */

#kontaktformular + .row {
    align-items: stretch;
    margin-top: 10px;
}

#kontaktformular + .row > [class*="col-"] {
    margin-bottom: 20px;
}

#contact,
#openStreetMap {
    height: 100%;
}

/* =========================================================
TABLET
========================================================= */

@media (max-width: 991px) {
    .rf-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

.rf-trust-grid {
    grid-template-columns: 1fr;
}

.rf-level-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
}

/* =========================================================
MOBILE – bewusst separat optimiert
========================================================= */

@media (max-width: 768px) {
    div.content section.rf-service-section {
        margin: 34px 0;
    }

div.content section.rf-service-section h2.blue-small {
    font-size: 1.38rem;
    line-height: 1.25;
}

div.content section.rf-service-section h2.blue-small + p.subtitle {
    margin-bottom: 19px !important;
    font-size: .95rem;
}

div.content section.rf-service-section p {
    font-size: .98rem;
    line-height: 1.55;
}

.rf-intro-card,
.rf-feature-box,
.rf-trust-box {
    padding: 19px 16px;
    border-radius: 14px;
    box-shadow: none;
}

.rf-lead {
    font-size: 1.03rem !important;
    line-height: 1.55 !important;
}

.rf-card-grid,
.rf-level-grid,
.rf-two-column,
.rf-trust-grid {
    grid-template-columns: 1fr;
    gap: 11px;
}

.rf-info-card,
.rf-level-card,
.rf-action-card {
    padding: 17px;
    border-radius: 11px;
}

.rf-info-card:hover {
    transform: none;
    box-shadow: none;
}

.rf-benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 18px;
    padding-top: 17px;
}

.rf-image {
    margin-top: 4px;
}

.rf-image img,
.rf-video {
    border-radius: 11px;
}

div.content section.rf-service-section .rf-feature-box h2 {
    font-size: 1.35rem;
    line-height: 1.25;
}

div.content section.rf-contact-cta {
    margin-top: 35px;
    margin-bottom: 28px;
}

.rf-contact-cta-inner {
    padding: 26px 17px;
    border-radius: 14px;
    box-shadow: none;
}

div.content section.rf-contact-cta .rf-contact-cta-inner h2 {
    font-size: 1.42rem;
    line-height: 1.25;
}

div.content section.rf-contact-cta .rf-contact-cta-inner p {
    font-size: .97rem;
    line-height: 1.55;
}

.rf-contact-button {
    width: 100%;
    min-height: 52px;
    padding: 14px 15px;
    font-size: 1rem;
}

#contact button {
    width: 100%;
}

#openStreetMap #map {
    min-height: 320px;
}
}

/* =========================================================
SEHR KLEINE HANDYS
========================================================= */

@media (max-width: 400px) {
    .rf-intro-card,
    .rf-feature-box,
    .rf-trust-box,
    .rf-info-card,
    .rf-level-card,
    .rf-action-card,
    .rf-contact-cta-inner {
        padding-left: 14px;
        padding-right: 14px;
    }

div.content section.rf-service-section h2.blue-small {
    font-size: 1.3rem;
}
}

/* =========================================================
ROHRFROSCH24 – KUNDENERFAHRUNGEN
Sauber für Desktop, Tablet und Mobile
========================================================= */

#reviews {
    max-width: 1000px;
    margin: 55px auto !important;
    padding: 0 20px;
    text-align: center;
}

/* Überschrift */
#reviews h3 {
    margin: 0 0 5px !important;
    text-align: center !important;
    color: var(--main-dark-blue-color);
    font-size: clamp(1.55rem, 2.4vw, 2rem);
    line-height: 1.2;
    font-weight: 700;
}

/* "Das sagen unsere Kunden" */
#reviews h3 + p.blue-small,
#reviews p.blue-small {
    margin: 0 0 28px !important;
    text-align: center !important;
    color: var(--main-light-blue-color);
    font-size: 1rem !important;
    line-height: 1.4;
    font-weight: 500;
}

/* Bewertungskarte */
#reviews .carousel {
    position: relative;
    max-width: 850px;
    margin: 0 auto !important;
    padding: 30px 45px 42px;
    background: #fff;
    border: 1px solid #e2e8ee;
    border-radius: 18px;
    box-shadow: 0 8px 28px rgba(30, 56, 126, 0.08);
    overflow: hidden;
}

#reviews .carousel-inner {
    min-height: 0 !important;
}

#reviews .carousel-item {
    padding: 0 18px;
}

/* Profilbild */
#reviews .carousel-item img {
    display: block;
    width: 96px !important;
    height: 96px !important;
    margin: 0 auto 11px !important;
    object-fit: cover;
    border: 3px solid var(--main-yellow-color);
    border-radius: 50%;
    box-shadow: none !important;
}

/* Kundenname */
#reviews p.reviewName {
    margin: 5px 0 4px !important;
    text-align: center !important;
    color: var(--main-dark-blue-color);
    font-size: 1.05rem !important;
    line-height: 1.3;
    font-weight: 700;
}

/* Sterne */
#reviews .stars {
    margin: 0 0 10px;
    text-align: center;
    color: var(--main-yellow-color);
    font-size: 1.05rem;
    line-height: 1;
}

/* Zitat */
#reviews .quote {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 0 2px;
    text-align: center;
    color: var(--main-light-blue-color);
    font-size: 2rem;
    line-height: 1;
    opacity: .22;
}

/* Bewertungstext */
#reviews p.reviewText {
    max-width: 700px;
    margin: 0 auto !important;
    text-align: center;
    color: #3f474d;
    font-size: .98rem !important;
    line-height: 1.65;
}

/* Navigationspunkte */
#reviews .carousel-indicators {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    margin: 22px 0 -24px !important;
}

#reviews .carousel-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    margin: 0 5px;
    padding: 0;
    background-color: var(--main-dark-blue-color);
    border: 0;
    border-radius: 50%;
    opacity: .3;
}

#reviews .carousel-indicators .active {
    background-color: var(--main-yellow-color);
    opacity: 1;
}

/* =========================================================
KUNDENERFAHRUNGEN – MOBILE
========================================================= */

@media (max-width: 768px) {
    #reviews {
        margin: 38px auto !important;
        padding: 0 12px;
    }

#reviews h3 {
    margin-bottom: 4px !important;
    font-size: 1.5rem;
}

#reviews h3 + p.blue-small,
#reviews p.blue-small {
    margin-bottom: 20px !important;
    font-size: .94rem !important;
}

#reviews .carousel {
    padding: 23px 16px 35px;
    border-radius: 14px;
    box-shadow: 0 5px 18px rgba(30, 56, 126, 0.07);
}

#reviews .carousel-item {
    padding: 0 2px;
}

#reviews .carousel-item img {
    width: 78px !important;
    height: 78px !important;
    margin-bottom: 9px !important;
}

#reviews p.reviewName {
    font-size: 1rem !important;
}

#reviews .stars {
    margin-bottom: 9px;
    font-size: 1rem;
}

#reviews .quote {
    font-size: 1.65rem;
}

#reviews p.reviewText {
    max-width: 100%;
    font-size: .92rem !important;
    line-height: 1.55;
    text-align: left;
}

#reviews .carousel-indicators {
    margin-top: 18px !important;
}
}

/* Sehr kleine Smartphones */
@media (max-width: 400px) {
    #reviews {
        padding: 0 8px;
    }

#reviews .carousel {
    padding-left: 13px;
    padding-right: 13px;
}

#reviews h3 {
    font-size: 1.4rem;
}

#reviews p.reviewText {
    font-size: .9rem !important;
}
}

/* PageSpeed Fix: Leaflet Kartenmarker */
.leaflet-marker-icon[src*="mapIcon.png"] {
    width: 50px !important;
    height: 31px !important;
}

/* =========================================================
PAGESPEED / ACCESSIBILITY
KONTRAST FÜR RF-KICKER VERBESSERN
========================================================= */

.rf-feature-box .rf-kicker,
.rf-local-seo .rf-kicker {
    color: #173f8a !important;
    font-weight: 800;
}

/* Auch allgemein auf weißen/hellen Karten ausreichend dunkel */
.rf-service-section .rf-kicker {
    color: #173f8a;
}

/* Ausnahme:
Im blauen CTA darf der Kicker weiterhin gelb bleiben */
.rf-contact-cta .rf-kicker,
.rf-contact-cta-inner .rf-kicker,
.zf-cta .zf-eyebrow {
    color: #ffc400 !important;
}

/* =========================================================
ACCESSIBILITY – REVIEW TOUCH TARGETS
Größere Klickfläche für Carousel-Indikatoren
========================================================= */

#reviews .carousel-indicators {
    gap: 8px;
}

#reviews .carousel-indicators button,
#reviews .carousel-indicators [data-bs-target] {
    position: relative;

    width: 12px !important;
    height: 12px !important;

    margin: 0 8px !important;
    padding: 0 !important;

    border: 0 !important;
    border-radius: 50%;

    background-color: var(--main-dark-blue-color);
    opacity: .35;
}

/* unsichtbare größere Touch-Fläche */
#reviews .carousel-indicators button::before,
#reviews .carousel-indicators [data-bs-target]::before {
    content: "";
    position: absolute;

    top: 50%;
    left: 50%;

    width: 44px;
    height: 44px;

    transform: translate(-50%, -50%);
}

/* aktiver Punkt */
#reviews .carousel-indicators .active {
    background-color: var(--main-yellow-color) !important;
    opacity: 1;
}

/* Mobile noch etwas mehr Abstand */
@media (max-width: 768px) {

    #reviews .carousel-indicators {
        gap: 12px;
    }

#reviews .carousel-indicators button,
#reviews .carousel-indicators [data-bs-target] {
    margin: 0 10px !important;
}
}

/* =========================================================
LCP FIX – HERO HEADLINE SOFORT RENDERN
========================================================= */

.hero-headline-box {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;

    background: rgba(0, 0, 0, 0.42) !important;

    contain: layout paint;
}

.hero-headline-box h1,
.hero-headline-box h1 span {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;

    /* Hero-LCP nicht auf zusätzliche Webfont-Berechnung angewiesen */
    font-family: Arial, Helvetica, sans-serif !important;
}

/* Mobile */
@media (max-width: 768px) {
    .hero-headline-box {
        background: rgba(0, 0, 0, 0.40) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
}

ROHRFROSCH24 – MODERNE LEISTUNGSÜBERSICHT
Desktop / Tablet / Mobile
Keine Accordions – alle Leistungen sofort sichtbar
========================================================= */

#services.rf-home-services {
    margin: 54px 0 64px;
    text-align: left;
}

#services .rf-services-head {
    max-width: 900px;
    margin: 0 auto 34px;
    text-align: center;
}

#services .rf-services-eyebrow {
    display: inline-block;
    margin-bottom: 9px;
    color: #1e387e;
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

#services .rf-services-head h2 {
    margin: 0 0 12px;
    color: #1e387e;
    font-size: clamp(1.8rem, 3vw, 2.55rem);
    line-height: 1.16;
    font-weight: 800;
}

#services .rf-services-head p {
    margin: 0;
    color: #4e5a65;
    font-size: 1.05rem !important;
    line-height: 1.65;
    text-align: center;
}

#services .rf-local-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
    padding: 9px 13px;
    border: 1px solid #dbe7ef;
    border-radius: 999px;
    background: #f7fbfe;
    color: #344451;
    font-size: .92rem;
    line-height: 1.3;
}

#services .rf-local-contact-label {
    font-weight: 700;
}

#services .rf-local-contact a {
    color: #1e387e !important;
    font-weight: 800;
    text-decoration: none;
}

#services .rf-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

#services .rf-service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #dfe7ed;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 6px 20px rgba(17, 44, 84, .065);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

#services .rf-service-card:hover {
    transform: translateY(-3px);
    border-color: #0377bc;
    box-shadow: 0 14px 34px rgba(17, 44, 84, .12);
}

#services .rf-service-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #eef4f8;
}

#services .rf-service-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#services .rf-service-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 24px 22px 22px;
}

#services .rf-service-kicker {
    margin-bottom: 7px;
    color: #0377bc;
    font-size: .78rem;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

#services .rf-service-card h3 {
    margin: 0 0 11px;
    color: #1e387e;
    font-size: 1.22rem;
    line-height: 1.3;
    font-weight: 800;
}

#services .rf-service-card p {
    margin: 0 0 15px;
    color: #44505b;
    font-size: .98rem !important;
    line-height: 1.6;
    text-align: left;
}

#services .rf-service-points {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

#services .rf-service-points li {
    position: relative;
    margin: 7px 0;
    padding-left: 24px;
    color: #4b5660;
    font-size: .93rem;
    line-height: 1.45;
}

#services .rf-service-points li::before {
    content: "?";
    position: absolute;
    left: 0;
    top: 0;
    color: #0377bc;
    font-weight: 900;
}

#services .rf-service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin-top: auto;
    padding: 12px 14px;
    border-radius: 11px;
    background: #1e387e;
    color: #fff !important;
    text-decoration: none;
    font-size: .95rem;
    font-weight: 800;
}

#services .rf-service-link:hover,
#services .rf-service-link:focus {
    background: #0377bc;
    color: #fff !important;
}

#services .rf-services-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    margin-top: 30px;
    padding: 28px 30px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1e387e 0%, #0377bc 100%);
    color: #fff;
    box-shadow: 0 10px 28px rgba(17,44,84,.16);
}

#services .rf-services-cta h3 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
}

#services .rf-services-cta p {
    margin: 0;
    color: #fff;
    font-size: 1rem !important;
    line-height: 1.55;
    text-align: left;
}

#services .rf-services-cta-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

#services .rf-cta-primary,
#services .rf-cta-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 17px;
    border-radius: 11px;
    text-decoration: none;
    font-weight: 800;
    white-space: nowrap;
}

#services .rf-cta-primary {
    background: #ffb00b;
    color: #132c65 !important;
}

#services .rf-cta-secondary {
    border: 1px solid rgba(255,255,255,.65);
    background: rgba(255,255,255,.08);
    color: #fff !important;
}

#contact.rf-home-contact {
    margin: 58px 0 30px;
    padding-top: 10px;
    scroll-margin-top: 24px;
    text-align: left;
}

#contact.rf-home-contact > .row > .col-12 {
    text-align: center;
}

#contact.rf-home-contact a {
    color: #1e387e;
}

@media (max-width: 1100px) {
    #services .rf-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    #services.rf-home-services {
        margin: 38px 0 46px;
    }

#services .rf-services-head {
    margin-bottom: 22px;
    text-align: left;
}

#services .rf-services-head p {
    text-align: left;
}

#services .rf-local-contact {
    justify-content: flex-start;
    border-radius: 12px;
}

#services .rf-service-grid {
    grid-template-columns: 1fr;
    gap: 15px;
}

#services .rf-service-card {
    border-radius: 14px;
}

#services .rf-service-body {
    padding: 20px 18px 18px;
}

#services .rf-services-cta {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 22px 19px;
    border-radius: 14px;
}

#services .rf-services-cta-actions {
    justify-content: stretch;
}

#services .rf-cta-primary,
#services .rf-cta-secondary {
    width: 100%;
}
}

/* ========================================================================
   16. DYNAMISCHE LEISTUNGSVERLINKUNG
   Datei: serviceLinks.php
   ======================================================================== */

.rf-related-services {
    clear: both;
}

.rf-related-services .rf-related-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 26px;
}

.rf-related-service-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 190px;
    padding: 22px;
    border: 1px solid var(--rf-border, #dfe7ed);
    border-radius: 16px;
    background: #fff;
    color: var(--rf-text, #2c3338);
    text-decoration: none;
    box-shadow: 0 7px 22px rgba(16, 40, 70, 0.06);
    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

a.rf-related-service-card:hover,
a.rf-related-service-card:focus {
    transform: translateY(-3px);
    border-color: var(--rf-blue-light, #0377bc);
    color: var(--rf-text, #2c3338);
    box-shadow: 0 11px 28px rgba(16, 40, 70, 0.10);
}

.rf-related-service-card.is-current {
    border: 2px solid var(--rf-blue-light, #0377bc);
    background: var(--rf-blue-soft, #f3f8fc);
}

.rf-related-service-label {
    display: block;
    margin-bottom: 10px;
    color: var(--rf-blue, #1e387e);
    font-size: 1.08rem;
    line-height: 1.35;
    font-weight: 800;
}

.rf-related-service-card p {
    margin: 0 0 20px;
    color: var(--rf-muted, #5d6872) !important;
    font-size: .96rem !important;
    line-height: 1.55 !important;
    text-align: left !important;
}

.rf-related-service-link {
    margin-top: auto;
    color: var(--rf-blue-light, #0377bc);
    font-weight: 800;
}

.rf-related-service-current {
    display: inline-flex;
    width: fit-content;
    margin-top: auto;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--rf-blue, #1e387e);
    color: #fff;
    font-size: .82rem;
    font-weight: 800;
}

@media (max-width: 991px) {
    .rf-related-services .rf-related-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    .rf-related-services .rf-related-service-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .rf-related-service-card {
        min-height: 0;
        padding: 18px;
        border-radius: 13px;
    }
}


/* ========================================================================
   17. PARTNER VOR ORT
   Datei: iconServices.php
   ======================================================================== */

#iconServices.rf-partner-local {
    clear: both;
}

#iconServices.rf-partner-local .contentImage img {
    width: 100%;
    height: auto;
    border-radius: 16px;
}

#iconServices.rf-partner-local .rf-partner-phone {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--rf-border, #dfe7ed);
}

#iconServices.rf-partner-local .rf-partner-phone a {
    display: inline-block;
    margin-left: 6px;
    color: var(--rf-blue, #1e387e);
    font-weight: 800;
    text-decoration: none;
}

#iconServices.rf-partner-local .rf-partner-phone a:hover,
#iconServices.rf-partner-local .rf-partner-phone a:focus {
    color: var(--rf-blue-light, #0377bc);
}

@media (max-width: 767px) {
    #iconServices.rf-partner-local .row {
        row-gap: 18px;
    }

    #iconServices.rf-partner-local .rf-partner-phone a {
        display: block;
        margin: 5px 0 0;
    }
}


/* ========================================================================
   18. DYNAMISCHE KONTAKTBAUSTEINE
   Verwendet auf Rohrreinigung, Kanalreinigung, Kanalinspektion,
   Dichtheitsprüfung und Sanierung
   ======================================================================== */

.rf-direct-contact {
    margin-top: 18px !important;
    padding: 14px 16px;
    border: 1px solid var(--rf-border, #dfe7ed);
    border-radius: 12px;
    background: var(--rf-blue-soft, #f3f8fc);
    color: var(--rf-text, #2c3338) !important;
}

.rf-direct-contact a {
    margin-left: 5px;
    color: var(--rf-blue, #1e387e);
    font-weight: 800;
    text-decoration: none;
}

.rf-contact-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.rf-contact-phone {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, .75);
}

.rf-contact-phone:hover,
.rf-contact-phone:focus {
    background: rgba(255, 255, 255, .12);
    color: #fff !important;
    border-color: #fff;
}

.rf-contact-section {
    scroll-margin-top: 100px;
}

.rf-contact-section .subtitle a {
    color: var(--rf-blue, #1e387e);
    font-weight: 800;
}

@media (max-width: 767px) {
    .rf-contact-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .rf-contact-actions .rf-contact-button {
        width: 100%;
    }

    .rf-direct-contact a {
        display: block;
        margin: 5px 0 0;
    }
}

