/*
Theme Name: Koerperkonzept
Author: Dream-Theme
Author URI: http://dream-theme.com/
Description: The7 is perfectly scalable...
Version: 1.0.0
License: GPL + Themeforest
Template: dt-the7
*/

/* =========================================
   BASE / TYPO
========================================= */

/* Dirty Override for Font Family */
body,
p,
a,
li,
button,
input,
select,
textarea,
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif !important;
}

.font-white * {
  color: #fff !important;
}

.header-font-shadow {
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
}

/* =========================================
   COLORS
========================================= */

/* dark green #20aa9c */
.kk-green * { color: #20aa9c !important; }

/* lighter green #b3d7ca */
.kk-lighter-green * { color: #b3d7ca !important; }

/* blue #7dc4cf */
.kk-blue * { color: #7dc4cf !important; }

.bg-white { background: #fff; }
.kk-bg-lightgray { background: #ececec !important; }
.bg-decent-green { background: #B3D7CA70; }
.bg-decent-blue { background: #7dc4cf95; }

/* =========================================
   HELPERS
========================================= */

.headline-sub {
  display: block;
  font-size: 0.7em;
  margin-top: -7px;
  opacity: 0.8;
}

.border-radius-20 { border-radius: 20px !important; }
.border-radius-40 { border-radius: 40px !important; }
.border-radius-60 { border-radius: 60px !important; }

/* =========================================
   BUTTONS
========================================= */

/* Button Green */
body .vc_btn3.vc_btn3-style-modern.vc_btn3-color-turquoise {
  background-color: #20aa9c;
  border-color: #20aa9c;
}

body .vc_btn3.vc_btn3-style-modern.vc_btn3-color-turquoise:hover,
body .vc_btn3.vc_btn3-style-modern.vc_btn3-color-turquoise:focus {
  background-color: #1a8479;
  border-color: #1a8479;
  color: #fff;
}

body .vc_btn3.vc_btn3-style-outline.vc_btn3-color-turquoise {
  border-color: #20aa9c;
  color: #20aa9c;
}

body .vc_btn3.vc_btn3-style-outline.vc_btn3-color-turquoise:hover,
body .vc_btn3.vc_btn3-style-outline.vc_btn3-color-turquoise:focus {
  background-color: #1a8479;
  border-color: #1a8479;
  color: #fff;
}

/* Button Orange */
body .vc_btn3.vc_btn3-shape-square.vc_btn3-color-orange {
  background-color: #e07a6d;
  border-color: #e07a6d;
}

.vc_btn3-inline {
  margin-right: 24px;
}

/* =========================================
   OBSOLET
========================================= */

.kk-box-lightgreen {
  background: linear-gradient(
    rgba(125, 196, 207, 0.7) 0%,
    rgba(125, 196, 207, 0.5) 50%,
    rgba(125, 196, 207, 0.4) 100%
  );
}

.kk-box-light {
  background: rgb(250, 253, 253);
}

/* =========================================
   HOMEPAGE
========================================= */

/* top hero */
body .bg-focus-top {
  background-position: top center !important;
}

/* HP Boxes */
.box-bg { background: #20aa9c; }

.box-bg .wpb_content_element {
  padding: 12px;
}

@media (min-width: 768px) {
  .box-bg .wpb_content_element {
    padding: 50px;
  }
}

/* HP Leistungen */
.leistungen h4 {
  font-size: 15px;
  line-height: 18px;
  font-weight: 700;
}

/* HP small Testimonial */
.testimonial-small .wpb_content_element {
  padding: 20px 15px;
  border-radius: 20px 20px 20px 0;
  font-size: 14px;
  line-height: 1.25rem;
  background: #fff;
}

/* HP Team single */
.hp-team h5 small {
  display: block;
  margin-top: -10px;
}

/* =========================================
   USP LIST
========================================= */

.usp-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.usp-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.usp-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: #e6f4ef;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.usp-icon i {
  font-size: 20px;
  color: #b3d7ca;
}

.usp-content h4 {
  margin: 0 0 5px;
  font-size: 18px;
}

.usp-content p {
  margin: 0;
  color: #555;
  font-size: 14px;
}

/* =========================================
   TESTIMONIAL
========================================= */

.testimonial-big .vc_column-inner {
  background: #7dc4cf95;
  padding: 20px 40px !important;
  border-radius: 20px 20px 20px 0;
}

.testimonial .testimonial-person {
  margin-top: 12px;
  line-height: 32px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.testimonial .testimonial-icon {
  width: 40px;
  height: 40px;
  min-width: 40px;
  background: #e6f4ef;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial .testimonial-person .dashicons {
  font-size: 30px;
  width: 30px;
  height: 30px;
}

.testimonial .testimonial-person .name {
  line-height: 40px;
}

/* =========================================
   OVERLAYS
========================================= */

.image-overlay .service-image-wrapper::before,
.section-bg-static::before,
.section-bg .vc_parallax-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(125, 196, 207, 0.7),
    rgba(125, 196, 207, 0.4)
  );
  opacity: .45;
  z-index: 1;
}

.section-bg-secundary-static::before,
.section-bg-secundary .vc_parallax-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    rgba(247, 214, 210, 0.8),
    rgba(247, 214, 210, 0.3)
  );
  opacity: 0.75;
  z-index: 1;
}

.section-bg-light-overlay-static::before,
.section-bg-light-overlay-static .vc_column-inner::before,
.section-bg-light-overlay .vc_parallax-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.6),
    rgba(0,0,0,0)
  );
  opacity: .65;
  z-index: 1;
}

/* =========================================
   SERVICES GRID
========================================= */

.service-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Different Layout Variants */
@media (min-width: 1025px) {
  .service-grid-2 .service-container {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-grid-4 .service-container {
    grid-template-columns: repeat(4, 1fr);
  }
  .service-grid-2 .service-image-wrapper img {
    min-height: 300px;
  }
  .excerpts-only .service-title {
    line-height: 20px;
  }
}

.service-item {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.service-image-wrapper { position: relative; }

.service-image-wrapper img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.service-text { padding: 20px; }

.service-title {
  font-size: 20px;
  line-height: 26px;
  margin-bottom: 10px;
}

.service-content {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}


/* 📱 TABLET (2 Spalten) */
@media (max-width: 1024px) {
    .service-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 📱 MOBILE (Bild links, Text rechts) */
@media (max-width: 640px) {
    .service-container {
        grid-template-columns: 1fr;
    }

    .service-item {
        flex-direction: row;
        align-items: stretch;
    }

    .service-image-wrapper {
        width: 40%;
    }

    .service-image-wrapper img {
        height: 100%;
    }

    .service-text {
        width: 60%;
        padding: 15px;
    }

    .service-title {
        font-size: 16px;
        line-height: 20px;
    }

    .service-content {
        font-size: 14px;
    }
}

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

.kk-team-page .vc_row .vc_column-inner {
  padding: 0;
}

.kk-team-page .vc_row .vc_column-inner .wpb_wrapper {
  border-radius: 20px;
  background: #fff;
  margin: 10px;
}

.kk-team-page .vc_single_image-wrapper.vc_box_rounded,
.kk-team-page .vc_single_image-wrapper.vc_box_rounded img {
  border-radius: 15px 15px 0 0;
}

.kk-team-page img {
  filter: saturate(100%);
  transition: filter 0.3s ease;
}

.kk-team-page img:hover {
  filter: saturate(60%);
}

/* =========================================
   FORMS
========================================= */

.angebot-single-form { display: none; }

@media (min-width: 1024px) {
  .angebot-single-form {
    display: block;
    max-width: 70%;
    margin: 3rem 0;
  }
}

/* =========================================
   FOOTER
========================================= */

@media (max-width: 640px) {
  .footer #branding-bottom {
    display: none;
  }
}

/* Mobile Menu Name */
.menu-select .customSelect1 .customSelectInner {
  font-size: 0 !important;
}

.menu-select .customSelect1 .customSelectInner::after {
  content: "Navigation";
  font-size: 14px;
}

/* =========================================
   COOKIE BANNER
========================================= */

@media (max-width: 640px) {
  .rcb-header-container img {
    display: none;
  }
}