/* ==========================================================================
   CITTADINO – eigenes CSS
   Wird über functions.php geladen (Version = Datei-Zeitstempel).
   Neues CSS hier in den passenden Abschnitt, nicht in Divi → Theme-Optionen.
   Reihenfolge der Regeln entspricht der alten style.css (Kaskade unverändert).
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. Schriften – Poppins, selbst gehostet, nur woff2
   (DM Sans war definiert, wird aber nirgends genutzt: body und h1–h6
   stehen per !important auf Poppins.)
   -------------------------------------------------------------------------- */

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 100;
  src: url('../fonts/poppins-v21-latin-100.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 200;
  src: url('../fonts/poppins-v21-latin-200.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/poppins-v21-latin-300.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/poppins-v21-latin-regular.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/poppins-v21-latin-500.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/poppins-v21-latin-600.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/poppins-v21-latin-700.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/poppins-v21-latin-800.woff2') format('woff2');
}

@font-face {
  font-display: swap;
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/poppins-v21-latin-900.woff2') format('woff2');
}


/* --------------------------------------------------------------------------
   2. Allgemein, Hero, Formulare, Footer, Links
   (1:1 aus der alten style.css übernommen)
   -------------------------------------------------------------------------- */



h1,h2,h3,h4,h5,h6 {
    font-family:"Poppins" !important;
}

body {
    font-family:"Poppins" !important;
}

/* Vertikales Zentrieren von Elementen */

.vertikal-zentrieren {
display: flex;
flex-direction: column;
justify-content: center;}

.vertikal-unten {
display: flex;
flex-direction: column;
justify-content: flex-end;}


.counter-plus .percent-value:after {
	content: "+";
}

.counter-mio .percent-value:after {
	content: " Mio.";
}

.counter-screen .percent-value:after {
	content: " Screens";
}

.counter-min .percent-value:after {
	content: " Min.";
}

/* Divi Buttons nebeneinander platzieren */
.inline-btns .et_pb_button_module_wrapper {
  display: inline-block;
}



/*set the Divi menu dropdown auto width*/
@media only screen and (min-width: 981px) {
	.nav li ul {
		width: fit-content;
		display: flex;
		flex-direction: column;
	}

	.nav li li {
		white-space: nowrap;
	}

	.nav li li a {
		width: auto !important;
	}
}

/* HERO BEREICH */

/*** Responsive Styles Large Desktop And Above ***/
@media all and (min-width: 1405px) {
	.hero h1 {
		font-size: 7rem !important;
		margin-bottom: 0px !important;
		font-weight: 800 !important;
	}  
	.hero h2 {
		font-size: 3.5rem !important;
		font-weight: 600 !important;
	}
.hero h3 {
	font-size: 1.8rem !important;
	font-weight: 300 !important;
	line-height: 2.2rem !important;
	}
}
 
/*** Responsive Styles Standard Desktop Only ***/
@media all and (min-width: 1100px) and (max-width: 1405px) {
 .hero h1 {
	 font-size: 7rem !important;
	 font-weight: 700 !important;
	}
	.hero h2 {
		font-size: 3.5rem !important;
		font-weight: 600 !important;
	}
	.hero h3 {
		font-size: 1.8rem !important;
		line-height: 2.2rem !important;
		font-weight: 300 !important;
	}
}
 
/*** Responsive Styles Tablet And Below ***/
@media all and (max-width: 980px) {
 .hero h1 {
	 font-size: 7rem !important;
	font-weight: 700 !important;}
	.hero h2 {
		font-size: 3.5rem !important;
		font-weight: 600 !important;
	}
	.hero h3 {
		font-size: 1.8rem !important;
		line-height: 2.2rem !important;
		font-weight: 300 !important;
	}
}
 
/*** Responsive Styles Tablet Only ***/
@media all and (min-width: 768px) and (max-width: 980px) {
  .hero h1 {
	 font-size: 5rem !important; 
	font-weight: 700 !important;}
	.hero h2 {
		font-size: 2.6rem !important;
		font-weight: 600 !important;
	}
	.hero h3 {
		font-size: 1.6rem !important;
		line-height: 2rem !important;
		font-weight: 300 !important;
	}
}
 
/*** Responsive Styles Smartphone Only ***/
@media all and (max-width: 767px) {
 .hero h1 {
	 font-size: 3rem !important; 
	font-weight: 700 !important;}
	.hero h2 {
		font-size: 2rem !important;
		font-weight: 600 !important;
	}
	.hero h3 {
		font-size: 1.4rem !important;
		line-height: 1.8rem !important;
		font-weight: 300 !important;
	}
}
 
/*** Responsive Styles Smartphone Portrait ***/
@media all and (max-width: 479px) { 
	.hero h1 {
	 font-size: 1.8rem !important; 
	font-weight: 700 !important;}
	.hero h2 {
		font-size: 1.6rem !important;
		font-weight: 600 !important;
	}
 .hero h3 {
		font-size: 1.2rem !important;
	 line-height: 1.6rem !important;
	 font-weight: 300 !important;
	}
 }

/* Media query for devices with a minimum width of 767 pixels */
@media (min-width: 767px) {
    /* Flexbox display for blurb content */
    .pa-vertical-align-blurb .et_pb_blurb_content {
        display: flex!important;
    }
    
    /* Flexbox display for blurb container */
    .pa-vertical-align-blurb .et_pb_blurb_container {
        display: flex!important;
        justify-content: center; /* Center align blurb container horizontally */
        flex-direction: column; /* Arrange blurb container content in a column */
    }
    
    /* Flexbox display for main blurb image */
    .et-db #et-boc .et-l .pa-vertical-align-blurb .et_pb_main_blurb_image {
        display: flex;
        width: auto!important; /* Ensure blurb image width adjusts automatically */
        margin-bottom: 0px!important; /* Remove bottom margin for better alignment */
    }
}


/* Gravity Forms */
.gfield_consent_description {
	color: #ffffff !important;
	border-color: #cdf564 !important;
	font-weight: 300 !important;
}

/* Side by Side Buttons v1 */
.side-by-side-1 .et_pb_button_module_wrapper {
display: inline-block;
margin-right: 25px;
}


/* Footer */
.cit-footer a:link {
	color: #ffffff !important;
}
.cit-footer a:visited {
	color:#ffffff;}

.cit-footer a:hover {
	color:#cdf564 !important;}

.cit-footer a:active {
	color:#cdf564 !important;}

body a:link {
	color: #0067ac !important;
}
body a:visited {
	color:#0067ac;}

body a:hover {
	color:#bab9b7 !important;}

body a:active {
	color:#bab9b7 !important;}

.single .post {
  padding-bottom: 0px;
}

.et_pb_post {
  margin-bottom: 0px;
 }


/* --------------------------------------------------------------------------
   3. Aus Divi → Theme-Optionen → Benutzerdefiniertes CSS übernommen (25.11.2026)
   Akkordeon-Icon, Gravity Forms (Fortschrittsbalken, Plus/Minus-Icons,
   Styler-Button), Header-Spalten und Menü-Skalierung bis 1545 px.
   Das Divi-Feld bleibt ab jetzt leer. Sicherung: db-export/divi-custom-css.css
   -------------------------------------------------------------------------- */

.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title:before {
    display: block!important;
    content: "\e04f" !important;
}

.gform_wrapper.gravity-theme .gf_progressbar_title {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 400;
  margin:
0 0 4.8px 0;
}

.gform_wrapper.gravity-theme .gfield_list_icons button {
    background: transparent url(https://cittadino.de/wp-content/uploads/2025/04/cittadino-icon-plus.svg) !important;
    border: none;
    font-size: 0;
    height: 16px;
    opacity: .5;
    padding: 0;
    transition: opacity .5s ease-out;
    width: 16px;
}

.gform_wrapper.gravity-theme .gfield_list_icons button.delete_list_item {
    background-image: url(https://cittadino.de/wp-content/uploads/2025/04/cittadino-icon-minus.svg) !important;
    margin-left: 5px;
}

.gform_wrapper.gravity-theme .gfield_list_icons button:hover {
	background-image: url(https://cittadino.de/wp-content/uploads/2025/04/cittadino-icon-plus.svg) !important;
}

.gform_wrapper.gravity-theme .gfield_list_icons button.delete_list_item:hover {
    background-image: url(https://cittadino.de/wp-content/uploads/2025/04/cittadino-icon-minus.svg) !important;
    margin-left: 5px;
}

.dipl_gravity_form_styler_0 .dipl_gravity_form_styler_wrapper form button {
  background-color: #ffffff !important;
}

/* Header-Spalten: Menü füllt den Platz, Button-Spalte nur so breit wie nötig */
@media (min-width: 981px) {
  .et_pb_row_0_tb_header .et_pb_column_1_tb_header {
    flex: 1 1 auto !important;
    width: auto !important;
  }
  .et_pb_row_0_tb_header .et_pb_column_2_tb_header {
    flex: 0 0 auto !important;
    width: auto !important;
    padding-left: 30px !important;
  }
}

/* Menü & Button skalieren als Absicherung im Engbereich */
@media (min-width: 981px) and (max-width: 1545px) {
  .et_pb_menu_0_tb_header .et-menu.nav > li {
    padding-left: 6px !important;
    padding-right: 6px !important;
  }
  .et_pb_menu_0_tb_header .et-menu.nav > li > a {
    font-size: clamp(12px, calc(1.82vw - 5.2px), 21px) !important;
  }
  .et_pb_row_0_tb_header .et_pb_column_2_tb_header .et_pb_button {
    font-size: clamp(14px, calc(1.36vw + 0.4px), 20px) !important;
  }
}
