/*
Theme Name: Elbnetz
Template: Impreza
Version: 1.0
Author:	Elbnetz GmbH
Theme URI: https://elbnetz.com/
Author URI: https://elbnetz.com/
*/

/*Add your own styles here:*/
:root {
/* Variable Abstände */
  --padding-xl: clamp(4rem, 2.909rem + 4.364vw, 6rem);
  --padding-l: clamp(3rem, 1.909rem + 4.364vw, 5rem);
  --padding-m: clamp(2.5rem, 1.682rem + 3.273vw, 4rem);
  --padding-s: clamp(0.6rem, 0.491rem + 0.436vw, 0.8rem);
}


/* ---
* Theme-Korrekturen 
* —-- */
/* Fix für feststehende Bilder mobil iOS */
@media only screen and (max-device-width: 1300px) {
  .state_mobiles section {
  background-attachment: initial!important;
  }
}

/* Horizontales Seitenscrolling verhindern */
.l-canvas {
	overflow: clip!important;
}

/* Farben für Text-Markierungen */
::-moz-selection { 
  background: var(--color-content-secondary);
  color: var(--color-content-bg);
}
::selection { 
  background: var(--color-content-secondary);
  color: var(--color-content-bg);
}

/* Abstände angleichen - Section */
.l-section.height_small {
  padding-top: var(--padding-s);
  padding-bottom: var(--padding-s);
}
.l-section.height_medium {
  padding-top: var(--padding-m);
  padding-bottom: var(--padding-m);
}
.l-section.height_large {
  padding-top: var(--padding-l);
  padding-bottom: var(--padding-l);
}
.l-section.height_huge {
  padding-top: var(--padding-xl);
  padding-bottom: var(--padding-xl);
}

/* Abstände angleichen - Trenner ohne Inhalt */
.w-separator.size_small:empty {
  height: var(--padding-s);
}
.w-separator.size_medium:empty {
  height: var(--padding-m);
}
.w-separator.size_large:empty {
  height: var(--padding-l);
}
.w-separator.size_huge:empty {
  height: var(--padding-xl);
}


/* ---
 * Schriften 
 * --- */
/* --- Wortumbruch - Hyphens/Silbentrennung --- */
h1, h2, h3, h4  {
  -moz-hyphens: auto;
  -o-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto!important; 
	
	-ms-hyphenate-limit-chars: 12 3 4;
  hyphenate-limit-chars: 12 3 4;
	
	/* Safari */
	-webkit-hyphens: auto;
  -webkit-hyphenate-limit-before: 3; 
  -webkit-hyphenate-limit-after: 4;
}

/* --- Uppercase --- */
span.en_uppercase, 
.en_uppercase {
  text-transform: uppercase;
}

/* --- Link-Unterstreichung --- */
p > a,
.wpb_text_column ul:not(.menu) > li > a {
  text-decoration: underline;
  text-underline-offset: 2px;
}


/* --- H1 --- */
.en_like_h1 {
	font-size: var(--h1-font-size);
  line-height: var(--h1-line-height);
}
h1 strong {
	color: var(--color-blue)!important;
}

/* --- H2 --- */
.en_like_h2,
.en_like_h2 h1 {
	font-size: var(--h2-font-size);
  line-height: var(--h2-line-height);
}


/* --- H3 --- */
.en_like_h3,
body.single-post h2 {
	font-size: var(--h3-font-size);
  line-height: var(--h3-line-height);
}

/* --- H4 --- */
.en_like_h4,
body.single-post h3 {
	font-size: var(--h4-font-size);
  line-height: var(--h4-line-height);
}


/* ---
 * Buttons 
 * --- */
.w-btn, 
.w-btn .w-btn-label {
	text-align: left;
}

/* ---
 * Header 
 * --- */
/* --- Logo --- */
/* --- Menü 1. Ebene --- */
header nav.type_desktop ul.level_2 {
	padding-top: 50px!important;
	padding-bottom: 50px!important;
}

header nav.type_desktop ul.level_2 li a {
	padding-top: 24px!important;
	padding-bottom: 24px!important;
}

header nav.type_desktop ul.level_2 li {
	padding-left: 5%;
}

/* --- Submenu --- */
nav.type_desktop .en_hide_desktop  {
  display: none;
}
/* --- Burger-Menu --- */
nav.type_mobile {
	margin-left: 0!important;
}
nav.type_mobile a {
	text-decoration: none;
}

/* ---
 * Footer
 * --- */
/* --- Footer-Menu --- */


/* --- Button --- */
/* --- Dots --- */
.owl-dots button span {
  width: 30px!important;
  border-radius: 2px;
  background: var(--color-blue);
  box-shadow: none!important;
  transition: all 0.4s ease-in-out;
}
.owl-dots button.active span {
  width: 40px!important;
  background: var(--color-green)!important;
  box-shadow: none!important;
}


/* --- 
 * Add-ons
 * --- */
/* --- Überschriften Add-ons */
.single-us_portfolio h2 {
	 margin-bottom: var(--h1-margin-bottom, 1.5rem);
}


/* --- Liste Funktionsumfang --- */
.en_addon_list ul {
	list-style: none;
  padding-left: 0;
	margin-left: 1.2rem;
	margin-top: 1.2rem;
}
.en_addon_list li {
	position: relative;
  padding-left: 24px; /* Abstand für das Bild */
}

.en_addon_list ul li::before {
	content: '';
	position: absolute;
	left: -15px;
	top: 5px;
	width: 23px;
	height: 23px;
	background-image: url('/wp-content/uploads/2025/12/apps-experts-service-feature-icon.webp');
	background-size: contain;
	background-repeat: no-repeat;
}


/* --- Tabelle --- */
/* --- Allgemeines */
.repeater {
	border: 1px solid var(--color-black);
	overflow-x: clip!important;
	position: relative;
}
.repeater-row {
	display: flex;
	min-height: 100%;
}
.repeater-row .repeater-field {
	padding: 10px 10px;
	hyphens: auto;
	min-width: 200px;
	width:25%;
}
.repeater-row .repeater-field:not(:last-child) {
	border-right: 1px solid;
}


/* 1. Spalte */
.repeater-row .repeater-field.addon_tabelle_version {
	position: sticky;
  left: 0;
  z-index: 10;
}
/* Sticky */
/* 1. Zeile */
.repeater-row:first-child  {
	position: sticky;
	top: var(--header-sticky-height);
  z-index: 20;
}

.repeater-row:first-child .addon_tabelle_version {
	z-index: 30; /* höchste Ebene */
}


/* --- Mobil */
.state_tablets .en_addon_table {
	overflow-x: scroll!important;
	font-size: 18px;
}
.state_mobiles .en_addon_table {
	overflow-x: scroll!important;
	font-size: 16px;
}
.state_tablets .repeater .repeater-row:first-child,
.state_mobiles .repeater .repeater-row:first-child{
	position: static;
}
.state_tablets .repeater,
.state_mobiles .repeater{
	overflow-x: scroll!important;
}

.state_mobiles .repeater-row {
	width: max-content;
}

.state_mobiles .repeater-row .repeater-field {
	flex: 0 0 200px;  
	width: auto!important;
}


/* Farbigkeit */
.repeater-row:first-child .repeater-field {
	background: var(--color-black);
}
.repeater-row:nth-child(2n) .repeater-field  {
	background: var(--color-lightblue);
}
.repeater-row:nth-child(2n + 3) .repeater-field {
	background: var(--color-white);
}

/* --- Kopfzeilen  */
.repeater-row:first-child
{
	font-weight: bold;
	color: var(--color-white);
}
.addon_tabelle_version {
	font-weight: bold;
}

/* --- Fußzeile */
.en_addon_table .en_footer_link_cell {
	display: block;
	background: var(--color-blue)!important;
	color: var(--color-white);
	text-decoration: none;
	text-align: center;
	hyphens: none;
	text-align: left;
}
.en_addon_table .en_footer_link_cell:hover {
	display: block;
	background: var(--color-black)!important;
	color: var(--color-white);
	text-decoration: none;
}

/* --- Preisliste Business-Version --- */
.en_addon_preisliste .w-pricing-item-header {
	padding: var(--padding-s);
	background: var(--color-lightblue)!important;
}
.en_addon_preisliste .w-pricing-item-title {
	font-size: 1.4rem;
	line-height: 1.2;
}

.en_addon_preisliste .w-pricing-item-price {
	font-size: 1.7rem;
}


/* --- 
 * Kontaktformular
 * --- */
::-ms-input-placeholder { /* Edge 12-18 */
  color: var(--color-black);
  /*opacity: 1;*/
}

::placeholder {
  color: var(--color-black);
}


/* ---
 * Services 
 * --- */
.en_services_preisliste .w-pricing-item-title {
	font-size: 1.4rem;
	line-height: 1.2;
}
.en_services_preisliste .w-pricing-item-price {
	font-size: 1.7rem;
}
.en_services_preisliste .w-pricing-item-features {
	text-align: left;
	padding-left: 2rem; 
}
.en_services_preisliste .w-pricing-item-features .w-pricing-item-feature {
	position: relative;
	margin-left: 10px;
}
.en_services_preisliste .w-pricing-item-features .w-pricing-item-feature:before {
	content: "";
	position: absolute;
	left: -30px;
	top: 8px; /* Feinjustierung je nach Bildhöhe */
	width: 20px;
	height: 20px;
	
	background-image: url('/wp-content/uploads/2025/12/apps-experts-service-feature-icon.webp');
	background-size: contain;
	background-repeat: no-repeat;
	
}




/* ---
 * Einzel Beitrag (... Template)
 * --- */
.single-post figcaption {
	font-style: italic;
	line-height: 1.2;
	font-size: 0.8rem;
}

/* Autor */
.en_beitrag_autor .post-author-name {
	margin-bottom: 0.5rem;
	font-weight: bold;
}
.en_beitrag_autor .post-author-website {
	margin-bottom: 0.5rem;
	position: relative;
	margin-left: 1rem;
	color: var(--color-blue)!important;
}
.en_beitrag_autor .post-author-website:before {
	content: "\f0ac";
	position: absolute;
	text-decoration: none!important;
	margin-left: -1rem;
	margin-right: 0.5rem;
	margin-top: 1px;
	font-family: fontawesome;
}



/* ---
 * Barrierefreiheit
 * --- */
*:focus:not(:focus-visible) {
  outline: none!important;
}

*:focus-visible {
  outline: 2px solid var(--color-focus)!important;
    outline-offset: 2px;
}

/* --- Impreza-Standard --- */
a:focus-visible, button:focus-visible, input[type=checkbox]:focus-visible + i, input[type=checkbox]:focus-visible + .w-color-switch-box, input[type=submit]:focus-visible {
  outline: 2px solid var(--color-focus)!important; 

}
/* --- Grids/Raster & Karussell --- */
article .w-grid-item-h:focus-within  {
  border: var(--border) solid var(--color-focus)!important;
  outline-offset: 4px!important;
}

/* --- Dots & Arrows --- */

/* --- Links --- */
p > a:focus {
  outline: 1px solid var(--color-focus)!important;
outline-offset: 2px!important;
  color: var(--color-focus);
}

/* --- Button (a) --- */
.w-btn:focus-visible  {
  outline: 2px solid var(--color-focus)!important;
}

/* --- Formulare --- */
form input:focus-visible {
  outline: 2px solid var(--color-focus-2)!important;
}
form button:focus-visible {
  outline: 2px solid var(--color-focus-2)!important;
}

/* --- Menus --- */

/* --- Header */

/* --- Footer */
footer a:focus-visible, footer  button:focus-visible, footer  input[type=checkbox]:focus-visible + i, footer  input[type=checkbox]:focus-visible + .w-color-switch-box, footer  input[type=submit]:focus-visible {
  outline: 2px solid var(--color-focus-2)!important; 
	color: var(--color-white)!important;
}