/*
Theme Name: Divi Child
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Version: 4.14.9.1647525431
Updated: 2022-03-17 14:57:11

*/

/* =========================================
   LEISTUNGSBLÖCKE
   Grundfarbe: #005f73
   ========================================= */

.fh-service-card {
    position: relative;
    display: flex;
    gap: 18px;
    width: 100%;
    min-height: 210px;
    padding: 22px 22px 20px 22px;
    background: #ffffff;
    border: 1.5px solid #005f73;
    border-radius: 12px;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fh-service-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 95, 115, 0.14);
}


/* ICON */

.fh-service-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #005f73;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 27px;
    line-height: 1;
}


/* TEXTBEREICH */

.fh-service-content {
    flex: 1;
    min-width: 0;
}

.fh-service-title {
    margin: 2px 0 10px 0;
    padding: 0;

    color: #005f73;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 700;
}

.fh-service-list {
    margin: 0;
    padding-left: 19px;

    color: #333333;
    font-size: 16px;
    line-height: 1.45;
}

.fh-service-list li {
    margin-bottom: 2px;
}

.fh-service-list li:last-child {
    margin-bottom: 0;
}


/* OPTIONAL: LINK GANZE BOX */

a.fh-service-card {
    text-decoration: none;
    color: inherit;
}

a.fh-service-card:hover {
    text-decoration: none;
}


/* RESPONSIVE */

@media (max-width: 767px) {

    .fh-service-card {
        min-height: auto;
        padding: 20px;
        gap: 15px;
    }

    .fh-service-icon {
        flex-basis: 52px;
        width: 52px;
        height: 52px;
        font-size: 24px;
    }

    .fh-service-title {
        font-size: 19px;
    }

    .fh-service-list {
        font-size: 15px;
    }
}


/* =========================================
   LEISTUNGSBOXEN: GRID-LAYOUT, ZEILEN GLEICH HOCH
   ========================================= */
.fh-leistungen-grid .et_pb_column {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.fh-leistungen-grid .et_pb_code {
    margin-bottom: 0 !important;
    height: 100%;
}
.fh-leistungen-grid .et_pb_code_inner,
.fh-leistungen-grid .fh-service-card {
    height: 100%;
}

/* Tablet: 2 Spalten */
@media (max-width: 980px) {
    .fh-leistungen-grid .et_pb_column {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Mobil: 1 Spalte */
@media (max-width: 767px) {
    .fh-leistungen-grid .et_pb_column {
        grid-template-columns: 1fr;
    }
}


/* Divi WooCommerce Sidebar entfernen */
#sidebar,
.woocommerce-sidebar,
.et_pb_widget_area {
    display: none !important;
}

.woocommerce-page #left-area {
    width: 100% !important;
}

/* Divi: vertikalen Sidebar-Trenner entfernen */
.et_right_sidebar #main-content .container:before{
  display:none !important;
}

/* Layout wirklich auf volle Breite ziehen */
.et_right_sidebar #left-area{
  width:100% !important;
  padding-right:0 !important;
}

.et_right_sidebar #sidebar{
  display:none !important;
}

/* Hamburgermenü: Größe, Farbe & "X" bei geöffnet */
.mobile_menu_bar::before,
.et_pb_menu .mobile_menu_bar::before {
    display: block;
    transition: all .4s ease;
    transform: scale(1.5);
    color: #005f73 !important;
}
.mobile_nav.opened .mobile_menu_bar::before,
.et_pb_menu .et_pb_menu__wrap .mobile_nav.opened .mobile_menu_bar::before {
    content: "M";
    transform: rotate(90deg);
    color: #005f73 !important;
}

/* Stil für den Container */
        .video-container {
            position: relative;
            padding-bottom: 56.25%; /* 16:9 Aspect Ratio (Verhältnis) */
            padding-top: 30px;
            height: 0;
            overflow: hidden;
        }

        /* Stil für das eingebettete iframe */
        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

/* Die Überschriften H1, H2, H3 mit einem größeren Zeilenabstand innerhalb anzeigen */
h1 {
 line-height: 1.5em;
}
h2 {
 line-height: 1.5em;
}
h3 {
 line-height: 1.5em;
}
h4 {
 line-height: 1.5em;
}
h5 {
 line-height: 1.5em;
} 

/* Theme-Builder-Menü: Sprungmarken nicht dauerhaft rot markieren */
.et_pb_menu_0_tb_header.et_pb_menu ul li.current-menu-item > a:not(:hover),
.et_pb_menu ul li[class*="current"] > a:not(:hover) {
    color: #666666 !important;
}

/* Rot nur nach Klick auf den Menüpunkt */
.et_pb_menu_0_tb_header.et_pb_menu ul li.fh-clicked > a:not(:hover),
.et_pb_menu ul li.fh-clicked > a:not(:hover) {
    color: #bf113d !important;
}

.icon-circle {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #005f73;
}

.icon-circle img {
  width: 40px;
  height: 40px;
  display: block;
}