/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/

/* 404 Anpassungen */

div#error-404.error-404,
#error-404 {
  padding: 60px 20px !important;
  max-width: 480px !important;
  margin: 0 auto !important;
  text-align: center !important;
  overflow: hidden !important;
}

#error-404 h1 {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 70px !important;
  line-height: 1 !important;
  font-weight: 400 !important;
  letter-spacing: 2px !important;
  margin: 0 0 20px 0 !important;
  color: #2c2c2c !important;
  white-space: normal !important;
}

#error-404 h2 {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  color: #999 !important;
  margin: 0 0 40px 0 !important;
}

#error-404 .nectar-button {
  margin-top: 20px !important;
  padding: 14px 32px !important;
  font-size: 13px !important;
  letter-spacing: 1.5px !important;
}

@media (max-width: 600px) {
  #error-404 h1 {
    font-size: 44px !important;
  }
  #error-404 h2 {
    font-size: 13px !important;
  }
}

/* Text Galerie-Buttons */

.nttip .inner {
    font-size: 20px;
}

/* Cookies, Impressum, Datenschutz */

.page-id-1019 h1,
.page-id-1019 h2,
.page-id-1019 h3,
.page-id-1019 h4,
.page-id-1019 h5,
.page-id-1019 h6,
.page-id-231 h1,
.page-id-231 h2,
.page-id-231 h3,
.page-id-231 h4,
.page-id-231 h5,
.page-id-231 h6 {
	font-family: "Times New Roman", Times, serif !important;
}

.page-id-231 p {
	margin-bottom: 15px !important; /* Wert nach Bedarf anpassen */
	line-height: 1.6 !important;
}

.page-id-1019 p {
	margin-bottom: 15px !important; /* Wert nach Bedarf anpassen */
	line-height: 1.6 !important;
}

.page-id-1019 h2 {
	margin-bottom: 15px !important; /* Wert nach Bedarf anpassen */
	line-height: 1.6 !important;
}

#cmplz-document h2 {
	font-family: "Times New Roman", Times, serif !important;
}

/* CF7 Fixes */

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
	padding: 12px 15px !important;
	height: auto !important;
	line-height: 1.5 !important;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.select2-container .select2-selection--single {
	height: auto !important;
	padding: 12px 15px !important;
	line-height: 1.5 !important;
}

.select2-container .select2-selection__rendered {
	line-height: 1.5 !important;
	padding: 0 !important;
}

.select2-container .select2-selection__arrow {
	height: 100% !important;
}


/* Fakten ueber mich Heading */

.toggle-heading {
	font-size: 28px !important;
	line-height: 1.5 !important;
}


/* Custom Font Anpassungen */

/* 1. Zeilenfluss und Abstände für alle Standard-Elemente sauber halten */
h1, h1 *, h2, h2 *, .nectar-fancy-text, .wpb_text_column * {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* 2. Layout-Fix speziell für die Salient Split Headings (Mehr Zeilenhöhe für geschwungene Schrift) */
.nectar-split-heading,
.nectar-split-heading * {
    line-height: 1.2 !important; /* Erhöht den Abstand zwischen den beiden Zeilen */
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
}

/* 3. Die unsichtbare Animationsmaske aufbrechen, damit Schnörkel herausragen dürfen */
.nectar-split-heading .inner,
.nectar-split-heading [data-animation-type="line-reveal-by-space"] span {
    overflow: visible !important;
    display: inline !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}





/* Menü mobil Unterpunkte */
#slide-out-widget-area .off-canvas-menu-container .sub-menu li a {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

#slide-out-widget-area .off-canvas-menu-container .sub-menu li {
  box-sizing: border-box !important;
  max-width: 100% !important;
}

#slide-out-widget-area .off-canvas-menu-container .sub-menu li a {
  padding-right: 30px !important;
}

#slide-out-widget-area .off-canvas-menu-container .sub-menu li,
#slide-out-widget-area .off-canvas-menu-container .sub-menu li a {
  font-size: 16px !important;
}

/* Kontaktformular */

  body[data-fancy-form-rcs="1"] .fancy-select-wrap .field-label {
  color: #000 !important;
}

	body[data-fancy-form-rcs="1"] .fancy-select-wrap .field-label,
	.field-label {
	  font-size: 22px !important;
	}

span[data-name="select-307"],
span[data-name="select-571"],
span[data-name="your-message"] {
  padding-top: 12px !important;
}

/* Underline scribbles */

.nectar-scribble squiggle-underline {
	bottom: -60% !important
}


/* Media Queries allgemein */


/* Interactive card */

@media (max-width: 768px) {
  .nttip.open {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 80vw !important;
    height: auto !important;
	filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25)) !important;

  }

  .nttip.open .inner {
    all: unset !important;
    display: block !important;
    padding: 30px 20px 20px 20px !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }

  .nttip.open .tipclose {
    all: unset !important;
    display: block !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    cursor: pointer !important;
  }
}



/* Underline */

#leistungen-preview .squiggle-underline {
  bottom: -40% !important;
}


/* Social Buttons */

.nectar_icon_wrap {
  float: right !important;
  margin-left: 15px !important;
}

/* Media Queries */

@media (max-width: 767px) {
  .nectar-mobile-only.mobile-header {
    display: none !important;
  }
}


/* Complianz */

#cmplz-document p > i {
    font-family: inherit !important;
    font-style: normal !important;
    font-weight: inherit !important;
}


.cmplz-cookiebanner li::before,
.cmplz-cookiebanner a::before {
    display: none !important;
}

.cmplz-cookiebanner ul,
.cmplz-cookiebanner li {
    list-style: none !important;
}


/* Falls  Theme Bullets über ::before reinhaut */
.cmplz-cookiebanner a::before,
.cmplz-cookiebanner .cmplz-manage-consent::before {
  content: none !important;
}


.kontakt-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;              /* Abstand zwischen den Feldern */
}

/* zwei Spalten */
.kontakt-grid .half {
  width: calc(50% - 10px);
}

/* volle Breite */
.kontakt-grid .full {
  width: 100%;
}

/* Pflichtfeld-Hinweis vertikal mittig */
.kontakt-grid .field-note {
  display: flex;
  align-items: center;
}

/* Felder sollen die ganze Spaltenbreite nehmen */
.kontakt-grid input,
.kontakt-grid textarea {
  width: 100%;
}

/* Mobile: alles untereinander */
@media (max-width: 768px) {
  .kontakt-grid .half {
    width: 100%;
  }
}




