/*
Theme Name: CeeQoo Divi Child Theme
Theme URI: https://ceeqoo.com
Description: Child Theme For Wolfgang Stecher
Author: CeeQoo
Author URI: https://ceeqoo.com
Template: Divi
*/

/* Start your custom CSS bellow this comment
============================================ */

@font-face {
    font-family: 'TT_Norms';
    src: url('fonts/ttnorms-regular-webfont.woff2') format('woff2'),
         url('fonts/ttnorms-regular-webfont.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'TT_Norms';
    src: url('fonts/ttnorms-bold-webfont.woff2') format('woff2'),
         url('fonts/ttnorms-bold-webfont.woff') format('woff');
    font-weight: 700;
    font-style: normal;
}

/*====================================Farbdefinitionen=========================*/
:root{
	--main-color: #766555;
	--divider-color: #E7E7E5;
	--ttbackground-color: #fbdeda;
}
/*====================================Ende Globale Farbdefinitionen=========================*/

* {
  hyphens: none;
  -webkit-hyphens: none; /* Für ältere WebKit-basierte Browser */
  -ms-hyphens: none; /* Für ältere Microsoft-Browser */
  word-break: break-word; /* Optional: Zeilenumbrüche steuern */
}

body {
	font-family: "TT_Norms", Arial, sans-serif;
	font-weight: 400;
	font-size: 17px !important;
/*	 -webkit-hyphens: auto;
     -webkit-hyphenate-limit-before: 3;
     -webkit-hyphenate-limit-after: 3;
     -webkit-hyphenate-limit-chars: 7 3 3;
     -webkit-hyphenate-limit-lines: 2;
     -webkit-hyphenate-limit-last: always;
     -webkit-hyphenate-limit-zone: 8%;
	 -moz-hyphens: auto;
     -moz-hyphenate-limit-chars: 7 3 3;
     -moz-hyphenate-limit-lines: 2;
     -moz-hyphenate-limit-last: always;
     -moz-hyphenate-limit-zone: 8%;
     -ms-hyphens: auto;
	 -ms-hyphenate-limit-chars: 7 3 3;
     -ms-hyphenate-limit-lines: 2;
     -ms-hyphenate-limit-last: always;
     -ms-hyphenate-limit-zone: 8%;
	 hyphens: auto;
     hyphenate-limit-chars: 7 3 3;
     hyphenate-limit-lines: 2;
     hyphenate-limit-last: always;
     hyphenate-limit-zone: 8%;*/
}

/* Headlines */
h1, h2, h3, h4, h5, h6 {
	font-family: "TT_Norms", Arial, sans-serif;
}
h1 {
	font-size: 48px !important;
	color: var(--main-color);
	line-height: 1.2em;
	font-weight: 700;
}
@media (max-width: 768px) {
  h1 {
    font-size: 34px !important;
    line-height: 1.1em;
}
}
.post h1{
	font-size: 2.2em !important;
}
@media (max-width: 768px) {
  .post h1 {
    font-size: 1.6em !important;
}
}
h2 {
	font-size: 28px !important;
	color: var(--main-color);
	line-height: 1.2em;
	font-weight: 700;	
}
@media (max-width: 980px) {
  h2 {
    font-size: 24px !important;
    line-height: 1.2em;
	font-weight: 700;
}
}
h3 {
    font-size:20px !important;
	font-weight: 500;
/*    text-transform: uppercase;*/
    color: var(--main-color)!important;
    line-height: 0.6em;
	padding:20px 0px 12px 0px;
}
h4{
    font-weight: 500 !important;
    font-size: 22px;
    line-height: 1.4em;
}
h5 {
	font-weight: 500;
    text-transform: uppercase;
    font-size: 14px !important;
    color: var(--main-color)!important;
    letter-spacing: 1px;
    line-height: 1.5em;
} 
h6 {
/*  font-weight: 700;	*/
/*	color: #636554; */
}

/*==================================== Gallerie mit Text =========================*/
/* Stellt sicher, dass der Textblock unter dem Bild bleibt */
.gallery-text-wrapper {
  display: block;
  text-align: left;
  background: rgba(255, 255, 255, 1);
  padding: 5px 5px 5px 8px;
  width: 100%;
}

/* Titel (data-title) */
.gallery-title {
  font-weight: 700;
  font-size: 22px;
  margin: 14px 0px;
}

/* Beschreibung (data-caption) */
.gallery-caption {
  font-size: 14px;
  white-space: pre-line; /* Sorgt dafür, dass Zeilenumbrüche korrekt dargestellt werden */
  line-height: 1.4em;
}

/* Lightbox-Bild weniger hoch damit BU nicht unten pickt */
img.mfp-img {
    max-height: 94vh !important;
}
/*=================================================================================*/

/*Mehr Abstand bei den Standard-Buttons*/
.et_pb_button {
    padding-top: 14px!important;
    padding-right: 38px!important;
    padding-bottom: 14px!important;
    padding-left: 38px!important;
}

/* Footer Copyright Schriftgröße 
#footer-info {
	font-size: 90%;
} */

/* Menü wird auch auf mobilen Geräten fixiert, die Höhe angepasst und das Dropdown-Menü scrollbar gemacht */
@media (max-width: 980px) {
    .et_non_fixed_nav.et_transparent_nav #main-header,
    .et_non_fixed_nav.et_transparent_nav #top-header,
    .et_fixed_nav #main-header, .et_fixed_nav #top-header {
        position: fixed !important;
		background-color: #ffffffbb;
        } 
    }
.container {
    width: 85%;
}

.et_mobile_menu {
    overflow: scroll !important;
    max-height: 83vh;
	background-color: var(--main-color) !important;
	/*text-align: right;*/
	left: unset;
    }
.et_mobile_menu li a {
		color: white !important;
	}
.et_mobile_menu li li {
		padding-right: 20px;
	}

/* Menü auf Mobil anpassen */
@media (max-width: 980px) {
  	#main-header {
		height: 76px !important; 
    }
	.et_mobile_menu {
		top: 76px;
		width: 90%;
		right: -20px;
	}
	.et_mobile_menu .menu-item-has-children > a {
		font-weight: 400;
	} 
}
/* Show hamburger menu on desktop */
#et-top-navigation {
  font-weight: 400;
}

@media (min-width: 980px) {
	#top-menu {
		display: none !important;
	}

	#et_mobile_nav_menu {
		display: block !important;
	}

	.mobile_menu_bar_toggle {
		display: block !important;
		cursor: pointer;
		z-index: 9999;
	}
	.et_mobile_menu {
		position: absolute;
		padding: 10px;
		width: 300px;
		right: 20px;
	}
}
/*------------ Mobile Menu Collapse Submenus
 * !!!also has Javascript currently in custom-gallery.js! Javascript in Divi/Integration isn't working!!! */

/*change hamburger icon to x when mobile menu is open*/

#et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before,
.et_pb_module.et_pb_menu .et_mobile_nav_menu .mobile_nav.opened .mobile_menu_bar::before {
	content: '\4d';
}

/* Unterpunkte im Menü mobil ausklappbar */
/* https://joshhall.co/how-to-create-a-divi-mobile-menu-collapse-effect/ */
/********* Mobile Menu Collapse ********/

/**** This hides the sub menu items on mobile ****/
#page-container .mobile_nav li ul.hide {
	display: none !important;
}
/**** This adjusts the positioning and the background transparency of the parent menu item on mobile ****/
#page-container .mobile_nav .menu-item-has-children {
	position: relative;
}
#page-container .mobile_nav .menu-item-has-children > a {
	/* text-decoration: underline; */
	font-weight: 400;
	background: transparent;
}
/**** This styles the icon and moves it to the right ****/
#page-container .mobile_nav .menu-item-has-children > a + span {
	position: absolute;
	/*right: 0;*/
	top: 0;
	padding: 10px 20px;
	font-size: 20px;
	font-weight: 1000;
	cursor: pointer;
	z-index: 3;
	/* padding legt das Span über den Menüeintrag, weil das eh keine klickbaren Seiten sind */
	padding-left: 80%;
	padding-right: 15%;
}
/**** Here you can swap out the actual icons ****/
#page-container span.menu-closed:before {
	content: "\4c";
	display: block;
	color: #FFF;
	font-size: 16px;
	font-family: ETmodules;
}
#page-container span.menu-closed.menu-open:before {
	content: "\4d";
}
/*------------ Ende Mobile Menu Collapse Submenus */


/* Google-Plus-Icon gegen LinkedIn-Icon tauschen */
.et-social-google-plus a.icon:before {
	content: "\e09d"
}

/*keine Abteilungen*/
.nowrap{
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none
}
.et_pb_slider .et_pb_slide_2.et_pb_slide .et_pb_slide_description .et_pb_slide_title {
    -webkit-hyphens: none;
    -moz-hyphens: none;
    -ms-hyphens: none;
    hyphens: none
}
.broken_link, a.broken_link {
    text-decoration: none!important;
}

.BorlabsCookie ._brlbs-content-blocker a._brlbs-btn {
    font-size: 1.6em;
    font-weight: 600;
    padding: 0.8em 1.4em;
}

/*=========================== Sidebar Anpassungen =============================*/
#recent-posts-2 > ul > li {
	font-size: 0.9em;
	line-height: 1.3em;
}

/*=========================== Blog-Modul - Abstände =============================*/
.blog-modul-mehr-zum-thema .et_pb_post{
	margin-bottom: 20px;
}

/*=========================== Footer Linktext nicht bold =============================*/
#footer-info a {
    font-weight: 500;
}

/*=========================== CF7 =============================*/
/* 🔹 Allgemeines Styling für das Formular */
.wpcf7-form label {
    display: block;
    font-weight: bold;
    font-size: 16px;
    color: #5a4231; /* Dunkelbraun passend zur Vorlage */
    margin-bottom: 5px;
}

/* 🔹 Input-Felder, Textarea & Dropdowns */
.wpcf7-form input, 
.wpcf7-form select, 
.wpcf7-form textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* 🔹 Layout für zweispaltige Felder (Vorname/Nachname, PLZ/Ort, Issue 01/02) */
.flex-container {
    display: flex;
}

/* 🔹 Abstand zwischen den Feldern */
.flex-container label {
    flex: 1;
    margin-right: 15px; /* Abstand zwischen den Feldern */
}

/* 🔹 Das letzte Element in der Zeile soll keinen zusätzlichen Abstand haben */
.flex-container label:last-child {
    margin-right: 0;
}

/* 🔹 Styling für die Checkbox */
.wpcf7-acceptance {
    display: flex;
    align-items: center;
    margin-top: 10px;
    font-size: 14px;
}

/* 🔹 Checkbox-Größe & Abstand anpassen */
.wpcf7-acceptance input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
}

/* 🔹 Dropdown-Menü Styling */
.wpcf7-form select {
    background-color: #f5f1eb; /* Heller Hintergrund passend zur Vorlage */
    color: #5a4231; /* Dunkelbrauner Text */
    border: 1px solid #766555; /* Primary Color als Rand */
    border-radius: 5px;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
}

/* 🔹 Dropdown-Menü: Hover-Effekt */
.wpcf7-form select:hover {
    background-color: #eae4d9; /* Etwas dunkler beim Hover */
}

/* 🔹 Dropdown-Menü: Fokus (kein Standard-Blau) */
.wpcf7-form select:focus {
    border-color: #766555; /* Primary Color */
    outline: none;
}

/* 🔹 Geöffnete Dropdown-Optionen */
.wpcf7-form select option {
    background-color: #f5f1eb; /* Hintergrundfarbe der Liste */
    color: #5a4231; /* Dunkelbrauner Text */
}

/* 🔹 Button-Styling */
.wpcf7-submit {
    background-color: #766555; /* Primary Color */
    color: white;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 15px;
}

.wpcf7-submit:hover {
    background-color: #5e4e42; /* Etwas dunkler beim Hover */
}

/* 15.07.2025
 * Bild-Untertext hatte line height 0, alles war in einer Zeile */
.et_pb_gallery_image {
  line-height: 0.9;
}