/**
Theme Name: Astra Child
Author: Daniel Kraus
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-child
Template: astra
*/



/* Header fixieren */
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
	padding:0 !important;
	   background: linear-gradient(270deg, #60a5fa, #1e40af) !important;
}

.site-header *
{
	color:white !important;
}

.main-header-bar
{
	padding-left:25px !important;
	padding-right:25px !important;
}

.site-header-primary-section-right
{
	padding-right:25px !important;
}

.sub-menu *
{
	color:black !important;
}


.ast-container
{
	width:100%!important;
	max-width:100%!important;
	padding:0!important;
}

#content
{	
	max-width:100%!important;
    padding-bottom:50px;
}

#content > div
{
	max-width:100% !important;
}


/*
#content {
  padding-top: 450px;
}
*/
.entry-content[data-ast-blocks-layout] > * {
    max-width: 100%;
    padding-left: 5% !important;
    padding-right: 5% !important;
}

section[id]::before {
  content: "";
  display: block;
  height: 150px;
  margin-top: -150px;
  visibility: hidden;
}

section
{
    margin-top:100px;
}

#first-box
{
	position:absolute;
	top:0;
	left:0;
	right:0;
	height:450px;
	background:#045cb4 !important;
}

#leistungen-container
{
	display:flex;
	flex-direction:row;
	justify-content:space-around;
	align-items:stretch;
	gap:50px;	
	margin-bottom:50px;
	margin-top:50px;
}

#leistungen-container h2
{
	font-size:20px;
	margin-bottom: 0 !important;
}

#leistungen-container > div
{
	background: #ffffff;
  border-radius: 12px;
  padding: 10px;
	padding-bottom:30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	width:100%;
	flex-grow: 0;
	display:flex;
	flex-direction:column;
	justify-content:space-evenly;
	align-items:center;
	gap:20px;
}

#leistungen-container > div:hover
{
	 box-shadow: 0 18px 45px rgba(0, 0, 0, 0.14);
	background:#f7f7f8;
}

#leistungen-container div p
{
	margin-bottom: 0 !important;
}


#leistungen-container .card-image {
	width:100%;
  height: 400px;        
  overflow: hidden;
	border-radius: 12px;
}

#leistungen-container .card-image img {
	transform: scale(1.06);
	
}

#leistungen-container > div:hover .card-image img {
 /* transform: scale(1.08);*/
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;      /* DAS ist entscheidend */
 object-position: center 60%;
}

.modern-button{
  display: inline-flex ;
  align-items: center ;
  justify-content: center ;
  padding: 14px 28px ;
  background: linear-gradient(135deg, #3b82f6, #2563eb) ;
  color: #ffffff ;
  font-weight: 600 ;
  font-size: 16px ;
  border-radius: 10px ;
  text-decoration: none ;
  border: none ;
  cursor: pointer ;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35) ;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease ;
  text-decoration: none !important;
}

.modern-button:hover{
  transform: translateY(-2px) scale(1.05) !important;
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.5) !important;
  background: linear-gradient(135deg, #60a5fa, #1e40af) !important;
  color:white !important;
  text-decoration: none !important;
}

p
{
	margin-bottom:0 !important;
}

.gray-bg
{
	background:#f3f4f6;
	width:100vw !important;
	padding-left:5%;
	padding-right:5%;
	padding-top:50px;
	padding-bottom:50px;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
}


.font20
{
    font-size:20px;
}


/* Hero-Banner */
body.home #first-box {
    position: absolute;
    height: 500px;
    width: 100%;
   background: linear-gradient(270deg, #60a5fa, #1e40af) !important;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top:100px;
}

body.home #first-box .hero-content
{
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:30px;
}

body.home #first-box .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
	  color:white;
}

h2 {
    font-size: 2rem;
    margin-bottom: 10px;
	  color:white;
}

ul
{
	margin-bottom:0;
}

li{
	text-align:left;
}

.hero-subcontent
{
	width:100%;
	display:flex;
	flex-direction:row;
	justify-content:space-around;
	align-items:center;
	gap:100px;
}

.hero-button
{
	width:30%;
	background:orange !important;
}

.hero-button:hover
{
	color:white !important;
	background: linear-gradient(135deg, #f59e0b, #d97706) !important;
box-shadow: 0 12px 24px rgba(217, 119, 6, 0.5);
	
}

/* Content unter Hero verschieben */
body.home #content {
    margin-top: 500px; /* Höhe des Hero-Banners */
}



.timeline {
    position: relative;
    max-width: 80%;
    margin: 50px auto;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #3b82f6;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 20px 40px;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
}

.timeline-item::before {
    content: '';
    position: absolute;
    top: 30px;
    width: 20px;
    height: 20px;
    background: #fff;
    border: 4px solid #3b82f6;
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd)::before {
    right: -10px;
    
}

.timeline-item:nth-child(even)::before {
    left: -10px;
}

.timeline-year {
    font-size: 1.2rem;
    font-weight: bold;
    color: #3b82f6;
    margin-bottom: 10px;
}

.timeline-content {
    background: #f3f4f6;
    padding: 15px 20px;
    border-radius: 10px;
    display: inline-block;
    max-width: 550px;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 20px;
}

.timeline-content h3
{
	font-size:20px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 8px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 40px;
        padding-right: 20px;
        text-align: left !important;
    }
    .timeline-item:nth-child(even) {
        left: 0;
    }
    .timeline-item::before {
        left: 0;
    }
    .timeline-item .timeline-content {
        margin: 0 0 20px 20px;
    }
}

.formular-container
{
    background: #f3f4f6;
}

.formular-container
{
    background: #f3f4f6;
	 border-radius: 12px;
  padding: 15px;
	padding-bottom:30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	width:100%;
	display:flex;
	flex-direction:row;
	justify-content:space-evenly;
	gap:20px;
	margin-top:30px;
}

.karte
{
	width:25%;
}

.formular
{
  width:70%;
	display:flex;
	flex-direction:column;
	justify-content:space-evenly;
	gap:20px;
}

.wpcf7-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 28px !important;
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
	margin-top:30px
}

.modern-button:hover,input[type="submit"]:hover  {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.5) !important;
  background: linear-gradient(135deg, #60a5fa, #1e40af) ;
}



#map-wrapper {
  height: 100%;
}

#skeleton {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.4s ease;
}

#skeleton.fade-out {
  opacity: 0;
  pointer-events: none;
}

.skeleton-bg {
	border-radius:12px;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #e5e5e5 25%,
    #f5f5f5 37%,
    #e5e5e5 63%
  );
  background-size: 400% 100%;
  animation: shimmer 3.4s linear infinite;
}

@keyframes shimmer {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.overlay {
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.actions {
	margin-top:50px;
  display: flex;
  gap: 20px;
	flex-direction:column;
  justify-content: center;
	align-items:stretch;
  flex-wrap: wrap;
}

.route-link {
  padding: 10px 16px;
  border: 1px solid #000;
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

.remember {
  font-size: 13px;
}

.wpcf7-checkbox
{
	display:flex;
	flex-direction:column;
}

.cf7-cf-turnstile
{
	margin-top:15px !important;
}


#color-bg {
	
     background-image: url('/wp-content/uploads/2023/03/MAG78.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    width: 100%;
  /*  min-height: 100vh; /* wichtig, sonst 0px Höhe auf iOS */
    
    position: relative; /* wichtig für Overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: left;
    padding: 0 !important;
	
	
}

.content
{
	  background:#00000085;
		padding-left:5%;
	  padding-right:5%;
	  padding-top:50px;
	  padding-bottom:50px;
	  width: 100%;
	  height:100%;
	  color:white !important;
}

.content li
{
	margin-left:50px;
}

.content h3
{
	color:white;
}

.first-section
{
	padding-top:100px;
	
}
.first-section p , h3
{
	margin-bottom:20px!important;
}

.first-section li
{
	margin-left:50px;
}

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.6s ease,
    transform 1.6s cubic-bezier(.25,.8,.25,1);
  will-change: opacity, transform;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  transform: translateX(-40px);
}

.fade-right {
  transform: translateX(40px);
}

.laser-container-box
{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: flex-start;
    gap:100px;
}

.formular-container
{
    background: #f3f4f6;
	 border-radius: 12px;
  padding: 15px;
	padding-bottom:30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	width:100%;
	display:flex;
	flex-direction:row;
	justify-content:space-evenly;
	gap:20px;
	margin-top:30px;
}

.karte
{
	width:25%;
}

.formular
{
  width:70%;
	display:flex;
	flex-direction:column;
	justify-content:space-evenly;
	gap:20px;
}

.wpcf7-submit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 14px 28px !important;
  background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  font-size: 16px !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  border: none !important;
  cursor: pointer !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
	margin-top:30px
}

.modern-button:hover,input[type="submit"]:hover  {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.5) !important;
  background: linear-gradient(135deg, #60a5fa, #1e40af) ;
}



#map-wrapper {
  height: 100%;
}

#skeleton {
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 0.4s ease;
}

#skeleton.fade-out {
  opacity: 0;
  pointer-events: none;
}

.skeleton-bg {
	border-radius:12px;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #e5e5e5 25%,
    #f5f5f5 37%,
    #e5e5e5 63%
  );
  background-size: 400% 100%;
  animation: shimmer 3.4s linear infinite;
}

@keyframes shimmer {
  from { background-position: 100% 0; }
  to { background-position: -100% 0; }
}

.overlay {
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: center;
}

.actions {
	margin-top:50px;
  display: flex;
  gap: 20px;
	flex-direction:column;
  justify-content: center;
	align-items:stretch;
  flex-wrap: wrap;
}

.route-link {
  padding: 10px 16px;
  border: 1px solid #000;
  text-decoration: none;
  color: #000;
  font-size: 14px;
}

.remember {
  font-size: 13px;
}

.wpcf7-checkbox
{
	display:flex;
	flex-direction:column;
}

.cf7-cf-turnstile
{
	margin-top:15px !important;
}


#color-bg {
    background-image: url('/wp-content/uploads/2023/03/MAG78.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    width: 100%;
    position: relative; /* wichtig für Overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: left;
	  padding:0 !important;
	
}

.content
{
	  background:#00000085;
		padding-left:5%;
	  padding-right:5%;
	  padding-top:50px;
	  padding-bottom:50px;
	  width: 100%;
	  height:100%;
	  color:white !important;
}

.content li
{
	margin-left:50px;
}

.content h3
{
	color:white;
}

.first-section
{
	padding-top:100px;
	
}
.first-section p , h3
{
	margin-bottom:20px!important;
}

.first-section li
{
	margin-left:50px;
}

.laser-container-box
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap:200px;
	width:100%;
}

.ra-container-box
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap:200px;
	width:100%;
}

.sv-container-box
{
	   display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    gap:200px;
	width:100%;
}

.sv-container-box >div
{
	display:flex;
	flex-direction:column;
	gap:5px;
}

.ra-container-box .container-image
{
	max-height: 400px !important;
}

.laser-container-box >div 
{
	width:50%;
}

.container-image
{
    padding-bottom: 10px !important;
	max-height: 400px !important;
}

.container-image img
{
	border-radius:12px;
	 object-fit: cover; /* schneidet korrekt zu */
	height:100%;
	width:100%;
	
}


/*
Responsiv Tablet
*/

@media (max-width: 1024px) {
#leistungen-container
    {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    
    }
#leistungen-container-laser
    {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }


    .formular-container
{
	flex-direction:column;
	justify-content:space-evenly;
	gap:50px;
	margin-top:30px;
}
.karte
{
	width:100%;
}

.formular
{
  width:100%;
	display:flex;
	flex-direction:column;
	justify-content:space-evenly;
	gap:20px;
}


.laser-container-box
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap:30px;
	width:100%;
}

.laser-container-box >div
{
    display: flex  !important;
    flex-direction: column !important;
}

.ra-container-box
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
	width:100%;
}

.sv-container-box
{
	display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap:50px;
	width:100%;
}

.sv-container-box >div
{
	display:flex;
	flex-direction:column;
	gap:5px;
}

.ra-container-box .container-image
{
	max-height: 400px !important;
}

.laser-container-box >div 
{
	width:100%;
}

.container-image
{
    padding-bottom: 10px !important;
	max-height: 400px !important;
}

.container-image img
{
	border-radius:12px;
	 object-fit: cover; /* schneidet korrekt zu */
	height: 300px;
	width:100%;
	
}

.change
{
    flex-direction: column-reverse !important;
}



}

@media (max-width: 921px)
{
    .site-header *
{
	color:black !important;
}
.menu-item
{
 font-size:20px;
 font-weight: 500;
 border-bottom:1px solid #a6a6a6;
 margin-left:15px; 
}
}

/* =====================================================
   ASTRA MOBILE BURGER MENU – DESIGN
   Breakpoint: 921px (Astra Standard)
===================================================== */

@media (max-width: 921px) {

.ast-mobile-header-content
{
        border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

  /* Vollbild Overlay */
  .ast-mobile-menu-active .main-header-menu {
    background: rgba(0, 0, 0, 0.92) !important;
    backdrop-filter: blur(8px);
    height: 100vh !important;
    padding-top: 120px !important;
    animation: mobileMenuFade 0.35s ease;
  }

  /* Menü-Links */
  .main-header-menu a {
    font-size: 1.4rem !important;
    font-weight: 600;
    color: #000000 !important;
    padding-left:10px;
    display: block;
    text-align: left;
    letter-spacing: 0.3px;
   
  }

  /* Hover / Tap */
  .main-header-menu a:hover {
    color: #60a5fa !important;
  }

  /* Abstand zwischen Punkten */
  .main-header-menu li {
    margin-bottom: 10px;
  }

  /* Burger Icon */
  .ast-mobile-menu-trigger-fill svg {
    width: 28px;
    height: 28px;
  }

  .ast-header-social-1-wrap .ast-social-color-type-custom svg {
    fill: #000000;
}

.ast-header-social-wrap
{
    padding-left:10px;
    margin-bottom:20px;
}

.ast-builder-menu-mobile .main-navigation
{
    background-color: linear-gradient(270deg, #60a5fa, #1e40af) !important;
}

.ast-builder-menu-mobile .main-navigation .menu-item.current-menu-item > .menu-link
{
    background: #00000000 !important;
}


 
}


/* Fade Animation */
@keyframes mobileMenuFade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 921px) {

  .main-header-menu li {
    animation: menuItemFade 0.4s ease both;
  }

  .main-header-menu li:nth-child(1) { animation-delay: 0.05s; }
  .main-header-menu li:nth-child(2) { animation-delay: 0.1s; }
  .main-header-menu li:nth-child(3) { animation-delay: 0.15s; }
  .main-header-menu li:nth-child(4) { animation-delay: 0.2s; }

}

@keyframes menuItemFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media (max-width: 921px) {
  /* mobile styles */
  #leistungen-container
    {
        display: flex !important;
        flex-direction: column;
    }
    body.home #first-box {
    position: absolute;
    height: 600px;
    margin-top:50px;
}

body.home #first-box .hero-content
{
	display:flex;
	flex-direction:column;
	align-items:center;
	gap:30px;
}

body.home #first-box .hero-content h1 {
    font-size: 2rem;
    margin-bottom: 10px;
	  color:white;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
	  color:white;
}

ul
{
	margin-bottom:0;
}

li{
	text-align:left;
}

.hero-subcontent
{
	width:100%;
	display:flex;
	flex-direction:column;
	justify-content:space-around;
	align-items:center;
	gap:50px;
}

.hero-button
{
	width:70%;
	background:orange !important;
}

.hero-button:hover
{
	color:white !important;
	background: linear-gradient(135deg, #f59e0b, #d97706) !important;
box-shadow: 0 12px 24px rgba(217, 119, 6, 0.5);
	
}

/* Content unter Hero verschieben */
body.home #content {
    margin-top: 500px; /* Höhe des Hero-Banners */
}


  .fade-in-on-scroll {
    transition:
      opacity 0.8s ease,
      transform 0.8s ease;
    transform: translateY(20px);
  }

  .gray-bg *
  {
    font-size: 100% !important;
  }


}




@media (max-width: 480px) {
  /* Feinjustierung */
}


