/*
Theme Name: Enfold Child
Description: A <a href='http://codex.wordpress.org/Child_Themes'>Child Theme</a> for the Enfold Wordpress Theme. If you plan to do a lot of file modifications we recommend to use this Theme instead of the original Theme. Updating wil be much easier then.
Version: 1.0
Author: Kriesi
Author URI: http://www.kriesi.at
Template: enfold
*/



/*Add your own styles here:*/

/* -----------------------------------------
1. Allgemein
----------------------------------------- */

/* Schriftgrößen Responsiv rem */
/* 1. Basis-Definition (Barrierefreiheit & einfaches Rechnen) */
html { 
    font-size: 62.5% !important; /* Setzt 1rem auf 10px */
}

/* 2. Body & Fließtext */
body, #top, #top #main {
    font-size: 1.7rem !important; /* Entspricht 17px */
	font-weight: 300 !important;
    line-height: 1.6;
    -webkit-text-size-adjust: 100%;
}

p {
	margin-top: 0em;
	margin-bottom: 1.0em;
}

/* 3. Überschriften (Hierarchische Skala) */
#top #main h1 { font-size: 4.0rem; line-height: 1.2; font-weight: 600; text-transform: uppercase; color: #7497ab;} /* 40px */
#top #main h2 { font-size: 4.0rem; line-height: 1.3; font-weight: 300; text-transform: uppercase;} /* 40px */
#top #main h3 { font-size: 3.2rem; line-height: 1.4; font-weight: 300; } /* 32px */
#top #main h4 { font-size: 2.0rem; line-height: 1.4; } /* 20px */
#top #main h5 { font-size: 1.7rem; line-height: 1.4; font-weight: 600 } /* 17px */
#top #main h6 { font-size: 1.7rem;  } /* 17px */

/* 4. Navigation (Enfold Hauptmenü) */
.av-main-nav > li > a > .avia-menu-text {
    font-size: 1.7rem !important; /* 17px */
}

/* 5. Footer & Socket */
#footer { font-size: 1.7rem !important; }
#socket .copyright { font-size: 1.2rem !important; }

/* --- RESPONSIVE SKALIERUNG DER BASIS --- */

/* Standard Desktop: 1rem = 10px */
html {
    font-size: 62.5% !important;
}

/* Mobile Anpassung: 1rem = 9.32px */
/* Greift bei Smartphones im Hoch- und Querformat */
@media only screen and (max-width: 767px) {
    html {
        font-size: 58.25% !important;
    }
}

/* --- ENDE SKALIERUNG --- */

/* Allgemein */
strong {
	font-weight: 400 !important;
	color: #000000 !important;
}

.menu-item a {
	font-size: 1.5rem !important;
	font-weight: 500 !important;
	color: #7a97ab !important;
	margin-left: 2rem
}

.logo {
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
}

/* Kontakt-Button */
.pum-overlay.pum-active, 
.pum-overlay.pum-active .popmake.active {     
	display: block !important;     
	opacity: 1 !important; 
	border-radius: 10px !important;
}

.pum-container {
	border-width: 0px !important;
	box-shadow: 0px 0px 30px 0px rgba( 2, 2, 2, 0.40 ) !important;
}

.pum-content {
	width: 105px;
	right: 19px;
	top: -19px;
}


.pum-close {
	display: none;
}

/* Formular Fluent Forms Gestaltung */
#top #main .fluentform label {
	font-weight: 300;
	font-size: 1.7rem;
	font-family: 'frutigerltstd', sans-serif;
}

#top #main .fluentform .ff-el-input--content input,
#top #main .fluentform .ff-el-input--content textarea {
	font-weight: 300;
	border-radius: 1rem;
	padding: 1rem;	
}

#top #main .ff-btn-submit {
	background-color: #7a97ab;
}

/* -----------------------------------------
2. Über uns | Startseite
----------------------------------------- */
#nav-main-home a {
	color: #000000;
	font-size: 1.7rem;
}
#nav-main-home a:hover {
	font-weight: bold;
}
#nav-main-home .menu-item {
	padding-left: 1.5rem !important;
}

#nav-main-home[style*="position: fixed"] {
	margin-top: 3.5rem;
}

#person {
	text-align: center;
}

#person img {
	width: 25rem;
}
.ueberunsName {
	color: #7a97ab;
}
@media only screen and (min-width: 767px){
.aertzeteam {
	position: absolute;
	z-index: 99;
	top: 3.0rem;
	left: 3.0rem;
}
}

/* Flipboxen */
#arbeitsweise p {
	font-size: 1.5rem !important;
}

#arbeitsweise .avia-icongrid-flipback {
	background-color: #7a97ab !important;
}

#arbeitsweise .avia-icongrid-front {
	background-color: #dee5ea;
}

#arbeitsweise .entry-content-header h4 {
	font-weight: 300 !important;
	font-size: 2.5rem;
}

/*Interactive Circle */
/* --- Basis-Container --- */
.interactive-circle {
  width: 100%;
  max-width: 800px;
  margin: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* --- Äußerer Kreis (skaliert automatisch) --- */
.outer-circle {
  position: relative; /* Wichtig für die Skalierung */
  width: 100%;
  aspect-ratio: 1 / 1; /* Hält den Container immer quadratisch/rund */
  border-radius: 50%;
  background: #e5e5e5;
  background-size: cover;
  background-position: center;
  clip-path: circle(50%);
  transition: background-image 0.3s ease-in-out;
}

/* --- Klickbare Segmente (Viertel des Kreises) --- */
/* Stark vereinfacht: keine festen Pixel oder Rotationen mehr nötig */
.segment {
  position: absolute;
  width: 50%;
  height: 50%;
  cursor: pointer;
  z-index: 50;
}

.kompetent { top: 0; left: 0; }
.unabhaengig { top: 0; right: 0; }
.schnell { bottom: 0; left: 0; }
.wissenschaftlich { bottom: 0; right: 0; }

/* --- Innerer Kreis (Text-Bereich für Desktop) --- */
.center-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52%; /* Nimmt gut die Hälfte des Kreises ein */
  height: 52%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
  box-sizing: border-box; /* Verhindert, dass Padding die Breite sprengt */
  pointer-events: none; /* Klicks gehen durch den Text auf den Hintergrund durch */
}

.center-circle p {
  margin: 0;
}

#center-text {
  font-weight: bold !important;
  font-size: clamp(20px, 3.5vw, 32px) !important; /* Schrumpft fließend mit */
  color: #7a97ab;
  margin-bottom: 10px;
}

#center-description {
  font-size: clamp(14px, 1.5vw, 1.6rem) !important;
  line-height: 1.4 !important;
}

#center-description strong {
  font-weight: bold !important;
}

/* --- MOBILE OPTIMIERUNG --- */
@media (max-width: 768px) {
  .outer-circle {
    max-width: 400px; /* Verhindert, dass der Kreis auf Tablets zu dominant wird */
  }

  .center-circle {
    /* Holt den Text auf dem Smartphone aus dem Kreis heraus und setzt ihn darunter */
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none; /* Entfernt den Schatten, falls vorhanden */
    padding: 20px 10px;
    margin-top: 20px;
  }

  #center-description {
    font-size: 16px !important; /* Optimale Lesegröße für Mobile */
  }
}

/* -----------------------------------------
3. Leistungen
----------------------------------------- */
#top #main .iconbox-backside-text /*Custom class im Objekt*/ {
	text-align: left;
	font-size: 1.7rem;
}

#top #main .avia-icongrid-inner {
	padding: 2.5rem !important;
}

#top #main .avia-icongrid-flipback {
	background-color: #7a97ab !important;
}

#top #main .avia-icongrid-front {
	background-color: #dee5ea;
}

#top #main .entry-content-header h4 {
	font-weight: 300 !important;
	font-size: 2.5rem !important;
}

/* - Kompakte Listen-Styles für Rechtsgebiete - */

#rechtsgebiete-content ul {
    list-style: none !important;
    padding-left: 0;
    margin-top: 0.5rem;
}

/* 1. Ebene */
#rechtsgebiete-content ul > li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 0.3rem; 
    line-height: 1.4; 
}

#rechtsgebiete-content ul > li::before {
    content: "+";
    position: absolute;
    left: 0;
    font-size: 1.6rem;
}

/* 2. Ebene */
#rechtsgebiete-content ul li ul {
    margin-top: 0.2rem; 
    margin-bottom: 0.5rem; 
    padding-left: 0.5rem;
		margin-left: 1rem;
}

#rechtsgebiete-content ul li ul li {
    list-style-type: disc !important;
    padding-left: 0.3rem;
    line-height: 1.3;
}

#rechtsgebiete-content ul li ul li::before {
    content: none !important;
}
/* -----------------------------------------
4. Gutachten
----------------------------------------- */

/* Container des Sliders Platz für die Pfeile geben */
#top .ls-wp-container {
    overflow: visible !important;
}

/* Linker Navigationspfeil */
#top .ls-nav-prev {
    left: -7.5rem !important;
}

/* Rechter Navigationspfeil */
#top .ls-nav-next {
    right: -7.5rem !important;
}
#top .avia-layerslider .ls-gui-element.ls-nav-prev::before,
#top .avia-layerslider .ls-gui-element.ls-nav-next::before {
    background-color: transparent !important;
    background: transparent !important;
		color: #000000;
		font-size: 5rem;
}

/* -----------------------------------------
5. Referenzen | Zitate
----------------------------------------- */
#top #main .kundenstimmen-section {
	color: #ffffff;
	margin-bottom: 25px;
}
#top #main .zitat {
	font-style: italic;
  font-size: 2.5rem;
}
#top #main .kunde p {
	font-weight: bold;
	margin-bottom: 0px !important;
}

#top #main .container_wrap {
    box-shadow: none !important;
    border-top-width: 0 !important;
}

/* -----------------------------------------
6. Footer
----------------------------------------- */
.footer-logo img {
	width: 9.5rem !important;
	margin-bottom: 2rem
	
}