/*
 Theme Name:   Digital Nativ GmbH Skeleton Theme
 Theme URI:    https://www.digital-nativ.de
 Author:       Digital Nativ GmbH
 Author URI:   https://www.digital-nativ.de
 Description:  Ein minimales Knochen-Gerüst-Theme für WordPress
 Version:      1.0.0
 Text Domain:  digital-nativ
*/


/* Custom CSS */

.list-check ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}

.list-check li {
  background: #fff url('/wp-content/uploads/check-light.svg') no-repeat 10px center;
  background-size: 20px auto;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.05);
  padding: 8px 20px 8px 36px;
}

.list-check-2 li {
  background: url('/wp-content/uploads/check-light.svg') no-repeat 10px center;
  background-size: 20px auto;
  padding: 8px 20px 8px 36px;
}

.list-check-2 {
padding-left: 0;
}

.faq-schema-ready .ue-accordion-item {
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.05);
}

.rank-math-breadcrumb .separator {
  margin: 0 8px !important;
}

.rank-math-breadcrumb a {
  font-size: 13px !important;
}

.firstsection {
  padding-top: 120px;
}

.zoom-in {
  overflow: hidden;
}

.zoom-in img {
  transition: transform 0.6s ease, filter 0.6s ease;
  transform: scale(1);
  will-change: transform;
  display: block;
}

.zoom-in:hover img {
  transform: scale(1.1);
  filter: brightness(1.05);
}

.nomar p:last-of-type {
  margin-block-start: 0;
  margin-block-end: 0;
}

section.elementor-element, header.elementor-element {
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.5vw;
  padding-right: 2.5vw;
  box-sizing: border-box;
}

/* p>a {
  position: relative;
  display: inline-block;
  text-decoration: none;
  color: inherit;
  padding-bottom: 0.15em;
} */

/* p>a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: .1em;
  background-color: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.3s ease;
} */

/* p>a:hover::after {
  animation: link-rebuild 0.3s ease forwards;
} */

/* @keyframes link-rebuild {
  0% {
    transform: scaleX(0.0001);
  }

  100% {
    transform: scaleX(1);
  }
} */

/* .elementor-button {
  box-shadow: 5px 5px 0px #bfc1e0 !important;
  transition: all 0.4s;
}

.elementor-button:hover {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0) !important;
  transform: scale(0.95);
  transition: all 0.4s;
}

.elementor-button svg {
  width: .9em;
}

.elementor-button svg path {
  stroke: var(--e-global-color-text);
} */

#menu-hauptmenue>li {
  display: flex;
  align-items: center;
}

#menu-hauptmenue>li>a {
  opacity: 1;
  transition: opacity 0.3s ease;
  position: relative;
  overflow: visible;
}

.ue-menu>li {
  display: flex !important;
}

/* .elementor-button .elementor-button-icon {
  display: inline-block;
  opacity: 0;
  transform: translateX(-6px);
  filter: blur(5px);
  transition: all 0.3s ease;
  width: 0em;
}

.elementor-button:hover .elementor-button-icon {
  opacity: 1;
  transform: translateX(0);
  filter: blur(0);
  width: 1em;
} */

.elementor-pagination {
  margin-top: 2rem;
}

#loop-carousel-DN svg {
  fill: none;
}

/* <-------- !!! Globale Elemente Start !!! --------> */

p {
  margin-block-end: 0.5em;
}

p:last-of-type {
  margin-block-end: 0;
}

ul {
  padding-left: 1em;
}

.bold-italic span {
  font-style: italic;
  font-weight: 700;
}

b {
  font-style: italic;
  font-weight: 500 !important;
}

p>strong {
  font-weight: 00 !important;
  font-style: italic !important;
}

.medium-italic span {
  font-style: italic;
  font-weight: 500;
}

/* Trenner Element für Sektionen mit 2-farbigen Pfeil mittig gesetzt */

.arrow-dual {
  left: 50% !important;
  transform: translateX(-50%) !important;
	bottom: -58px;
}

/* Styling der Rezensionen Komponente */

.rezension-name {
  font-size: 16px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.3em;
}

.rezension-stelle {
  font-size: 13px;
  line-height: 1.3em;
}

.rezension-rating-value {
  display: inline-block;
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
  line-height: 1;
}

.con-shadow-m::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: linear-gradient(0deg, #FFF 0%, #F3F3F3 100%);
  z-index: -1;
}

/* CSS für custom-checkmark Klasse mit SVG */
.custom-checkmark ul {
  list-style: none;
  padding-left: 0;
}

.custom-checkmark ul li {
  position: relative;
  padding-left: 30px;
  /* 10px + 20px Icon + 10px = 40px */
  margin-bottom: .5em;
}

/*.custom-checkmark ul li:last-of-type {
    margin-bottom: 0em
}*/

.custom-checkmark ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  background-image: url('/wp-content/uploads/check-light.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.underline-offset {
  text-underline-offset: 8px;
}

.underline-offset a {
  color: #000;
}

.elementor .e-n-accordion-item {
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.05) !important;
}

.benefits-list li {
  list-style: none !important;
  padding: 0;
  margin: 0;
}

.benefits-list ul {
  padding: 0;
}

.benefits-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  line-height: 1.5;
}

.benefits-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  top: -13px;
  font-size: 32px;
  color: #2c5530;
}

/* <-------- !!! Globale Elemente Ende !!! --------> */


/* <-------- !!! Job Archive !!! --------> */

.job-card:hover .img-hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
  transition: transform 0.3s ease, filter 0.3s ease;
}

.img-hover img {
  transition: transform 0.3s ease, filter 0.3s ease;
}


/* <-------- !!! Job Archive Ende !!! --------> */
/* <-------- !!! Ninja Forms !!! --------> */
/* Ninja Forms Checkbox Styling */

/* Honeypot Fields - Immer verstecken */
.nf-form-hp {
	display: none !important;
}

/* Required Symbol verstecken */
.nf-form-fields-required {
  display: none;
}

.ninja-forms-req-symbol {
  display: none;
}

/* Checkbox-Liste: Input komplett aus dem Layout entfernen */
.nf-form-content .list-checkbox-wrap input[type="checkbox"] {
  position: absolute;
  left: -9999px;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
}

/* Checkbox-Wrap Elemente - direktes Styling (höchste Priorität) */
.nf-form-content .checkbox-wrap input[type="checkbox"] {
  opacity: 1 !important;
  position: relative !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  background: white !important;
  border: 1px solid #D0D0D0 !important;
  margin: 0 !important;
  display: inline-block !important;
}

/* Standard Checkboxes (außer checkbox-wrap) - verstecken für Custom Styling */
.nf-form-content input[type="checkbox"]:not(.checkbox-wrap *) {
  opacity: 0;
  position: absolute;
  width: 20px;
  height: 20px;
  margin: 0;
}

/* Custom Style für Standard Checkboxes (Pseudo-Element) */
.nf-form-content input[type="checkbox"]:not(.checkbox-wrap *)+label:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: white;
  border: 1px solid #D0D0D0;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* Label Container für Standard Checkboxes */
.nf-form-content .nf-field-element label {
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
}

/* Checkbox-Liste spezifische Anpassungen */
.nf-form-content .list-checkbox-wrap ul {
  padding-left: 0;
  margin-left: 0;
  list-style: none;
}

.nf-form-content .list-checkbox-wrap li {
  padding-left: 0;
  margin-left: 0;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

/* Label in Checkbox-Liste - Margin entfernen */
.nf-form-content .list-checkbox-wrap label {
  margin-left: 0 !important;
  padding-left: 0;
  display: flex;
  align-items: center;
}

/* Custom Checkbox für Liste über das Label */
.nf-form-content .list-checkbox-wrap label:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background: white;
  border: 1px solid #D0D0D0;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  flex-shrink: 0;
}

/* Checked States - Reihenfolge wichtig für Browser-Kompatibilität */
.nf-form-content .checkbox-wrap input[type="checkbox"]:checked {
  background-color: #617775 !important;
  border-color: #617775 !important;
}

.nf-form-content input[type="checkbox"]:not(.checkbox-wrap *):checked+label:before {
  background-color: #617775;
  border-color: #617775;
}

.nf-form-content .list-checkbox-wrap input[type="checkbox"]:checked+label:before {
  background-color: #617775;
  border-color: #617775;
}

/* Häkchen für Checkbox-Wrap - höchste Spezifität */
.nf-form-content .checkbox-wrap input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  left: 3px;
  top: 0;
  color: white;
  font-size: 14px;
  font-weight: bold;
  z-index: 1;
  line-height: 1;
}

/* Häkchen für Standard Checkboxes */
.nf-form-content input[type="checkbox"]:not(.checkbox-wrap *):checked+label:after {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 3px;
  color: white;
  font-size: 14px;
  font-weight: bold;
}

/* Häkchen für Checkbox-Liste */
.nf-form-content .list-checkbox-wrap input[type="checkbox"]:checked+label:after {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 3px;
  color: white;
  font-size: 14px;
  font-weight: bold;
}

/* Grid Layout für DaySpa Checkboxen */
.nf-field-element>ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Styling für die einzelnen Listenelemente */
.nf-field-element>ul li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem;
  border-radius: 4px;
}

/* Checkbox-Styling in Listen */
.nf-field-element>ul li input[type="checkbox"] {
  margin: 0;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

/* Label-Styling in Listen */
.nf-field-element>ul li label {
  margin: 0;
  cursor: pointer;
  line-height: 1.4;
  font-weight: normal;
}

/* Checkbox-Wrap bekommt Flexbox Row Layout */
.nf-field-container.checkbox-container .checkbox-wrap {
  position: relative;
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 15px !important;
  flex-wrap: nowrap !important;
  margin-top: 1rem;
}

/* Label im Container verstecken (bereits über ninja-forms-req-symbol geregelt, aber sicherheitshalber) */
.nf-field-container.checkbox-container .nf-field-label {
  display: none !important;
}

/* Field-Element bekommt fit-content Breite */
.nf-field-container.checkbox-container .nf-field-element {
  width: fit-content !important;
  flex-shrink: 0 !important;
}

/* Beschreibungstext wächst und füllt den Rest */
.nf-field-container.checkbox-container .nf-field-description {
  font-size: 12px;
  line-height: 1.3em;
  flex-grow: 1 !important;
  margin: 0;
  padding-top: 2px; /* Slight alignment with checkbox */
}

/* Fallback für Browser die Flexbox nicht unterstützen */
@supports not (display: flex) {
  .nf-field-container.checkbox-container .nf-field-description {
    position: absolute;
    left: 35px;
    max-width: 65%;
  }
}

/* Submit Button Spacing */
.submit-wrap .ninja-forms-field.nf-element {
	margin-top: 1rem;
}

/* Focus States */
.nf-form-content .nf-field-element .ninja-forms-field:focus,
.nf-form-content .nf-field-element .ninja-forms-field:active {
  outline-color: #617775;
  border-color: #617775;
}

/* Für Checkboxen und Radio-Buttons Focus */
.nf-form-content .nf-field-container.checkbox-container .ninja-forms-field:focus,
.nf-form-content .nf-field-container.listcheckbox-container .ninja-forms-field:focus {
  outline-color: #617775;
}

/* Browser-spezifische Anpassungen */
/* Für Safari - Feature Query */
@supports (-webkit-appearance: none) {
  .submit-wrap .ninja-forms-field.nf-element {
    margin-top: 3rem;
  }
  
  /* Safari-spezifische Checkbox-Fixes */
  .nf-form-content .checkbox-wrap input[type="checkbox"] {
    -webkit-appearance: none !important;
    appearance: none !important;
  }
}

/* Für Firefox - spezifische Anpassungen */
@-moz-document url-prefix() {
  .submit-wrap .ninja-forms-field.nf-element {
    margin-top: 3rem;
  }
  
  /* Firefox-spezifische Checkbox-Fixes */
  .nf-form-content .checkbox-wrap input[type="checkbox"] {
    -moz-appearance: none !important;
    appearance: none !important;
  }
}

/* Media Queries - Mobile First Approach */
@media (max-width: 480px) {
  .nf-field-element>ul li {
    padding: 0.75rem 0.5rem;
  }

  .nf-field-element>ul li label {
    font-size: 0.95rem;
  }

  .elementor-widget-container .nf-form-cont {
    padding: 2.5vw;
  }
}

@media (max-width: 768px) {
  .nf-field-element>ul {
    grid-template-columns: 1fr;
  }

  .nf-field-container.checkbox-container .nf-field-description {
    font-size: 11px;
  }

  .nf-field-container.checkbox-container .checkbox-wrap {

    margin-bottom: 2em;
    gap: 10px;
  }
}

@media (max-width: 1025px) {
  .submit-wrap .ninja-forms-field.nf-element {
    padding: 8px 20px;
  }
}

/* <-------- !!! Ninja Forms Ende !!! --------> */


/* Globales Padding links + rechts */ 
section.elementor-element, header.elementor-element {
  margin-left: auto;
  margin-right: auto;
  padding-left: 2.5vw;
  padding-right: 2.5vw;
  box-sizing: border-box;
}

/* <-------- !!! Breakout Start !!! --------> */

/* ===== DESKTOP (Standard ab 1400px) ===== */
/* Hauptcontainer */
.breakout-main {
    max-width: none;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    display: grid;
    grid-template-columns: 700px 1fr;
    padding-left: calc((100vw - 1400px) / 2);
    padding-right: 0;
}

/* Linker Container - bleibt im Grid */
.breakout-left {
    max-width: 700px;
    padding-right: 20px;
}

/* Rechter Container - geht bis zum Rand */
.breakout-right {
    width: 100%;
}

/* UMGEKEHRTES LAYOUT: Bild links, Text rechts */
.breakout-main.reverse {
    grid-template-columns: 1fr 700px;
    padding-left: 0;
    padding-right: calc((100vw - 1400px) / 2);
}

.breakout-main.reverse .breakout-left {
    order: 2;
    padding-right: 0;
    padding-left: 0;
    max-width: 700px;
}

.breakout-main.reverse .breakout-right {
    order: 1;
}

/* ===== UNTER 1399px (Default-Padding für breakout-left) ===== */
@media (max-width: 1399px) {
    .breakout-left,
    .breakout-main.reverse .breakout-left {
        max-width: none;
        padding-left: 2.5vw;
        padding-right: 2.5vw;
    }

    .breakout-main,
    .breakout-main.reverse {
        margin-left: 0;     /* kein negativer Margin-Shift mehr */
        width: 100%;
        padding-left: 0;
        padding-right: 0;
    }
}

/* ===== TABLET (max-width: 1024px) ===== */
@media (max-width: 1024px) {
    .breakout-main,
    .breakout-main.reverse {
        grid-template-columns: 1fr 1fr;
    }

    .breakout-left,
    .breakout-main.reverse .breakout-left {
        padding-right: 2.5vw;
        padding-left: 2.5vw; /* behält 2.5vw als Basis + Feinjustierung */
    }

    .breakout-main.reverse .breakout-left {
        padding-left: 0px;
    }
}

/* ===== MOBILE (max-width: 768px) ===== */
@media (max-width: 768px) {
    .breakout-main,
    .breakout-main.reverse {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .breakout-left,
    .breakout-main.reverse .breakout-left {
        order: 1;
        padding: 0 2.5vw;
        max-width: none;
    }

    .breakout-right,
    .breakout-main.reverse .breakout-right {
        order: 2;
    }
}

/* ===== SMALL MOBILE (max-width: 480px) ===== */
@media (max-width: 480px) {
    .breakout-main,
    .breakout-main.reverse {
        gap: 20px;
    }


}

/* <-------- !!! Breakout Ende !!! --------> */

/* <-------- !!! Megamenu Start !!! --------> */

.menuPoints .menu-item {
  width: fit-content;
  height: 100%;
  position: relative;
  padding-left: 0;
  cursor: pointer;
  transition: all 300ms;
}

/* Before-Element (linke Linie) */
.menuPoints .menu-item::before {
  content: '';
  position: absolute;
  height: 0.5px;
  top: 20px;
  transform: translateY(-50%);
  background-color: black;
  width: 0;
  left: -18px;
  transition: all 300ms;
}

.menuPoints .menu-item:hover {
  padding-left: 18px;
}

/* Hover-Effekt */
.menuPoints .menu-item:hover::before {
  width: 22px;
}

/* Stil für den Text innerhalb der Links */
.menuPoints .elementor-item {
  display: inline-flex;
  font-size: 22px;
  line-height: 35.2px !important;
  transition: all 300ms;
}

/* WordPress Link-Styles überschreiben */
.menuPoints .menu-item a.elementor-item {
  font-size: 22px !important;
  line-height: 35.2px !important;
  height: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  text-decoration: none !important;
}

.menuPoints .menu-item a.elementor-item:hover,
.menuPoints .menu-item a.elementor-item:focus,
.menuPoints .menu-item a.elementor-item:active,
.menuPoints .menu-item a.elementor-item:visited {
  font-size: 22px !important;
  line-height: 35.2px !important;
  height: auto !important;
  color: inherit !important;
  text-decoration: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
}

/* Hover-Farbe für Links */
.menuPoints .menu-item:hover .elementor-item {
  color: #000000 !important;
  font-size: 22px !important;
  line-height: 35.2px !important;
}

/* Elementor Nav Menu spezifische Overrides */
.menuPoints .elementor-nav-menu a:hover,
.menuPoints .elementor-nav-menu a:focus {
  color: inherit !important;
  font-size: 22px !important;
  line-height: 35.2px !important;
}

/* <-------- !!! Megamenu Ende !!! --------> */


/* <-------- !!! SEO-Städte Start !!! --------> */

.after-red::before {
    content: "";
    width: 50%;
    height: 50%;
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: #DB7D7D;
    z-index: -1;
    display: block;
}

.after-lightgreen::before {
    content: "";
    width: 50%;
    height: 50%;
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: #C6CB96;
    z-index: -1;
}
    
.after-blue::before {
    content: "";
    width: 50%;
    height: 50%;
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: #759DC3;
    z-index: -1;
    display: block;
}

.after-ocker::before {
    content: "";
    width: 50%;
    height: 50%;
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: #71735A;
    z-index: -1;
    display: block;
}

.after-tuerkis::before {
    content: "";
    width: 50%;
    height: 50%;
    position: absolute;
    bottom: -20px;
    right: -20px;
    background-color: #7A9C98;
    z-index: -1;
    display: block;
}

/* Aufzählung Programm */
.programm-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.programm-list ul {
    padding-left: 0 !important;
    line-height: 1.3em;
}

.programm-list li {
    position: relative;
    margin-bottom: 10px;
    padding-left: 15px;
}

.programm-list li::before {
    content: "";
    position: absolute;
    top: 0.4em;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: #7A9C98;
    border-radius: 50%;
}

.programm-list li::marker {
    content: "" !important;
}

@media (max-width: 1024px) {
    .after-red::before,
    .after-lightgreen::before,
    .after-blue::before,
    .after-ocker::before, .after-tuerkis::before {
        display: none;
    }
}

/* <-------- !!! SEO-Städte Ende !!! --------> */
