/*
Theme Name: Astra Child
Template: Astra
*/


/* ==========================
   TYPOGRAFIE STYLES
========================== */

h6 {
    margin-bottom: 20px; /* Abstand nach unten */
}

h1 {
   	text-align: center !important;
}


.h7 {
font-family: 'Jakarta Text', sans-serif !important;
  font-size: 18px !important;
  font-weight: 600 !important;
  line-height: 1.5 !important;
}

.ion-icon {
  font-size: 16px;
  color: #01b3cc;
  vertical-align: middle;
}

.white-text {
    color: #ffffff !important;
}


.bigfett {
        font-weight: 600 !important;
	margin: 20px 0px !important;
}

.highlight {
    color: #ffffff !important;
}

/*=============================
	H2 Effekt
===============================*/
.animated-title {
  font-size: 80px !important; /* Deine Vorgabe */
  font-weight: 600 !important; /* Deine Vorgabe */
  color: #000;
  line-height: 1.2;
  text-align: center !important; /* Deine Vorgabe */
  width: 100%;
}

.animated-title .first,
.animated-title .second {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: top;
  max-width: 100%;
}

.animated-title .first {
  animation: showup 10s forwards !important; 
}

.animated-title .second {
  width: 0;
  opacity: 0;
  /* margin: 0 auto sorgt dafür, dass der wachsende Block mittig bleibt */
  margin: 0 auto; 
  animation: reveal 10s forwards !important;
}

.animated-title .second .content {
  display: block;
  margin-left: -100%;
  animation: slidein 10s forwards !important;
}

/* --- Media Query für Mobile (Wichtig für 80px auf dem Handy) --- */
@media (max-width: 768px) {
  .animated-title {
    font-size: 40px !important; /* Verhindert, dass 80px das Handy sprengen */
  }
}

/* --- Animationen --- */
@keyframes showup {
    0% { opacity: 0; }
    20%, 100% { opacity: 1; }
}

@keyframes slidein {
    0%, 20% { margin-left: -100%; }
    35%, 100% { margin-left: 0%; }
}

@keyframes reveal {
    0%, 20% { opacity: 0; width: 0%; }
    30%, 100% { opacity: 1; width: 100%; }
}


/*=============================
	Header
===============================*/

/* Header und Container vollbreit */
#ast-desktop-header .ast-header,
#ast-desktop-header .ast-container,
.site-primary-header-wrap.ast-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
    box-sizing: border-box;
}

/* Flex für Header-Reihen */
#ast-desktop-header .ast-builder-grid-row {
    display: flex;
    justify-content: space-between; /* Links/Rechts verteilen */
    align-items: center;
    width: 100%;
    padding: 15px 60px; /* optional: Abstand links/rechts */
}

/* Optional: Social Icons links/rechts Abstand */
.site-header-primary-section-left {
    margin-right: 30px; /* Abstand Logo/links Menü */
}

.site-header-primary-section-right {
    margin-left: 30px; /* Abstand Rechtsbereich */
}

/* Mobile Header optional auch vollbreit */
#ast-mobile-header .ast-header,
#ast-mobile-header .ast-container,
#ast-mobile-header .site-primary-header-wrap.ast-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
}


/* ==============================
   Sticky Header
   ============================== */
.main-header-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #fff;
    transition: all 0.3s ease;
}

body.scrolled .main-header-bar {
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

body.scrolled .main-header-bar .ast-primary-header {
    padding: 10px 0 !important;
}

.site-content,
.ast-archive-description,
.ast-page-builder-template {
    margin-top: 100px;
}

@media screen and (max-width: 1220px) {
    .main-header-bar {
        display: none !important;
    }
}

/* ==============================
   Menü vertikal zentrieren
   ============================== */
.main-header-bar .site-primary-header,
.main-header-bar .main-header-bar-navigation,
.main-header-menu li,
.main-header-menu .menu-link {
    display: flex;
    align-items: center;
}

.main-header-menu .menu-link {
    letter-spacing: 1px;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 20px;
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

/* ==============================
   Glider für Hauptmenü (FIX ohne Submenu-Problem)
   ============================== */
.main-header-menu {
    position: relative;
}

/* Glider Basis */
.main-header-menu .glider {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;

    background-color: #fff;

    /* Trick: Border bleibt, aber wird unsichtbar */
    border: 1px solid transparent;

    opacity: 0;
    transition: all 0.25s ease;
    z-index: 1;
}

/* Sichtbar beim Hover */
.main-header-menu:hover .glider {
    opacity: 1;
    border-color: #01b3cc; /* statt border neu setzen */
}

/* ==============================
   Menü Hover & Active Styling
   ============================== */

/* Hover Farbe */
.main-header-menu li:hover > .menu-link {
    font-weight: 600 !important;
    color: #01b3cc !important;
}

/* Aktives Menüelement */
.main-header-menu li.current-menu-item > .menu-link {
    font-weight: 600 !important;
    color: #01b3cc !important;
}

/* ==============================
   Sprach-Flagge komplett neutral
   ============================== */

/* 1. Bild unverändert lassen */
html body #menu-item-110-fr a img,
html body .lang-item a img,
html body .elementor-nav-menu li.lang-item a img {
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    transform: none !important;
    transition: none !important;
    transition-duration: 0s !important;
    box-shadow: none !important;
}

/* 2. Kein Hintergrund oder Linien */
html body li.lang-item a,
html body li.lang-item a:hover,
html body li.lang-item a.menu-link:hover {
    background: transparent !important;
    background-color: transparent !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: none !important;
}

/* 3. Keine Pseudo-Elemente */
html body li.lang-item a::before,
html body li.lang-item a::after {
    display: none !important;
    content: none !important;
}

/* ==============================
   Submenü Reset & Styling
   ============================== */
.main-header-menu .sub-menu {
    position: absolute;
    top: 120%;                  /* Abstand nach unten vom Hauptmenü */
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 0;
    margin: 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    transform: translateY(-5px);
    z-index: 9999;
	border: none !important; 
}

/* Submenü sichtbar beim Hover */
.main-header-menu li.menu-item:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
	    color: #000 !important;
	font-weight: 600 !important;
}

/* Submenü-Items reset */
.main-header-menu .sub-menu li {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Links im Submenü */
.main-header-menu .sub-menu .menu-link {
    display: block;
    position: relative;
    padding: 10px 20px 10px 36px; /* Platz für Pfeil links */
    color: #000 !important;
    font-size: 14px;
	    font-weight: 600;
    text-align: left;             /* Text linksbündig */
    text-transform: none;
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;          /* kein Zeilenumbruch */
}

/* Pfeil links neben Submenü-Links */
.main-header-menu .sub-menu .menu-link::before {
    content: "";
    position: absolute;
    left: 12px;                  /* Abstand vom linken Rand */
    top: 50%;                    
    transform: translateY(-50%) rotate(-45deg);
    width: 6px;
    height: 6px;
    border-right: 2px solid #01b3cc;
    border-bottom: 2px solid #01b3cc;
    transition: border-color 0.2s ease;
}

/* Hover Effekt Text + Pfeil */
.main-header-menu .sub-menu li:hover > .menu-link {
 color: #01b3cc !important;
}

.main-header-menu .sub-menu li:hover > .menu-link::before {
color: #01b3cc !important;
}

/* Sub-Submenu */
.main-header-menu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
    margin-left: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.main-header-menu .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}


/* ==============================
   Bugfix: Submenü bleibt beim Hover stabil
   ============================== */

/* Container für Submenü erweitern, damit kleine Mausbewegungen nicht verschwinden lassen */
.main-header-menu li.menu-item {
    position: relative; /* sicherstellen, dass Submenu relativ zum Item positioniert ist */
}

/* Submenü etwas nach unten verschieben, damit es „schwebt“ */
.main-header-menu .sub-menu {
    margin-top: 3px;          /* Puffer zum Hauptmenü */
}

/* Optional: kleine Hover-Pufferzone */
.main-header-menu li.menu-item:hover > .sub-menu {
    pointer-events: auto;
}

/* Sub-Submenü bleibt stabil beim Hover */
.main-header-menu .sub-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Extra Tipp: Mausbewegungen von Hauptmenü zum Submenü „überbrücken“ */
.main-header-menu li.menu-item {
    z-index: 1000; /* sicherstellen, dass Submenü über anderen Inhalten bleibt */
}

/* ==============================
   Social Icons
   ============================== */
.ast-header-social-wrap .header-social-inner-wrap {
    display: flex;
    align-items: right;
    justify-content: flex-start;
    margin-left: 40px;
}

/* Social Icons Styling */
.ast-header-social-wrap .header-social-item {
    font-size: 20px; /* Größe */
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: none !important; /* Hintergrund entfernt */
    color: #01b3cc !important; /* Standard rot */
    transition: all 0.3s ease !important;
    margin-left: 0;
}

/* SVG Icons */
.ast-header-social-wrap .header-social-item svg {
    width: 20px;
    height: 20px;
}

/* Hover */
.ast-header-social-wrap .header-social-item:hover {
    background: none !important;
    color: #00899c !important; 
}
/* ==========================
   Footer
========================== */

.custom-footer {
background: #01B3CC;
    padding: 30px 20px;
    color: #fff;
}

.custom-footer-inner {
    max-width: 1280px; /* Boxed Inhalt */
    margin: 50px auto 0 auto; /* Abstand oben + zentriert */
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    text-align: left; /* Text linksbündig auf Desktop/Tablet */
}

.footer-col {
    width: 23%;
    margin-bottom: 20px;
}

/* Logo */
.footer-col img {
    max-width: 220px;
    height: auto;
}

/* Überschriften */
.footer-title {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

/* Texte */
.footer-col p {
    margin: 0;
    line-height: 1.5;
    color: #fff;
    margin-top: 8px; /* Abstand nach Überschrift */
}

/* Menü */
.footer-menu {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0; /* Abstand nach Überschrift */
}

.footer-menu li {
    margin-bottom: 8px;
}

.footer-menu li a {
    color: #fff;           /* Weiß */
    text-decoration: none;  /* Kein Unterstrich */
}

.footer-menu li a:hover {
    color: #01b3cc;        /* Hover-Lila */
    text-decoration: none;
}

/* Responsive Tablets / kleinere Desktops */
@media (max-width: 1024px) {
    .custom-footer-inner {
        flex-direction: column;
        align-items: flex-start; /* Links ausrichten */
    }
    .footer-col {
        width: 100%;
        margin-bottom: 20px;
    }
}


/* Footer-Links: weiß, kein Unterstrich, Hover #01b3cc */
.custom-footer a {
    color: #fff !important;           /* Weiß */
    text-decoration: none !important; /* Kein Unterstrich */
}

.custom-footer a:hover {
    color: #000 !important;        /* Hover-Lila */
    text-decoration: none !important;
}

/* Responsive Smartphones */
@media (max-width: 768px) {
    .custom-footer-inner {
        flex-direction: column;
        align-items: center; /* Zentriert auf Handy */
        text-align: center;
    }
    .footer-col {
        width: 100%;
        margin-bottom: 40px; /* Abstand zwischen Spalten größer */
    }
    .footer-col:last-child {
        margin-bottom: 20px; /* Letzte Spalte etwas weniger Abstand */
    }
    .footer-col p,
    .footer-menu {
        text-align: center; /* Text zentriert auf Handy */
    }
}


.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 8px 0 0 0;
}

.footer-links-list li {
    margin-bottom: 8px;
}

.footer-links-list li a {
    color: #fff;
    text-decoration: none;
}

.footer-links-list li a:hover {
    color: #000;
    text-decoration: none;
}


/* ==========================
   Copyright
========================== */
.site-footer,
.site-footer .site-below-footer-wrap,
.site-footer .ast-builder-footer-grid-columns,
.site-footer .ast-builder-footer-grid-columns-inner,
.site-footer .ast-footer-copyright {
    background-color: #00899c !important; 
    color: #fff !important; 

    padding: 5px 20px 0px 20px;                  /* Kompakter Innenabstand */
    text-align: center;
	font-size: 14px !important;  
}

.site-footer a {
    color: #ffffff !important;
    text-decoration: none;
		font-size: 14px !important;  
}

.site-footer a:hover {
    color: #000 !important;  /* Hover-Farbe für Links */
}

.site-footer p {
    margin: 0;        /* überschüssigen Abstand entfernen */
    line-height: 1.4; /* Zeilenabstand kompakt */
}

/* Überschreibe graue Astra-Farbe im Footer */
.site-footer {
    --ast-global-color-7: #ffffff !important;  /* alles in weiß */
	--e-global-color-astglobalcolor7: #ffffff !important;  /* alles in weiß */
}

.site-footer,
.site-footer p,
.site-footer a,
.site-footer span {
    color: #ffffff !important; /* sichere weiße Farbe für alle Texte */
}


/* ==============================
   Scroll to Top 
   ============================== */

#ast-scroll-top {
    background-color: #01b3cc;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    position: fixed; 
    right: 20px;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    outline: none !important;
}

/* Hover Effekt */
#ast-scroll-top:hover {
    background-color: #01b3cc;
    transform: translateY(-2px);
}

/* Icon absolut zentrieren */
#ast-scroll-top .ast-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* SVG Pfeil */
#ast-scroll-top svg {
    width: 10px;
    height: 10px;
    fill: #fff;
    display: block;
}


/* Fokus/Active vom Button selbst */
#ast-scroll-top:focus,
#ast-scroll-top:active {
    outline: none !important;
    box-shadow: none !important;
}

/*=============================
	Top-Scroll Down
===============================*/


.banner-scroll-down {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 50px;   /* Abstand vom unteren Rand */
    top: auto;      /* optional, falls du nur bottom nutzen willst */
    margin-top: 50px; /* Abstand von oben, wenn nötig */
    z-index: 2;
}

.banner-scroll-down a {
    display: block;
    width: 30px;
    height: 50px;
    text-align: center;
}

.banner-scroll-down a span {
    display: block;
    width: 15px;
    height: 15px;
    border-bottom: 2px solid #000; /* oder var(--tg-white) */
    border-right: 2px solid #000;
    transform: rotate(45deg);
    margin: -10px 0 0 8px;
    animation: animate 2s infinite;
}

.banner-scroll-down a span:nth-child(2) {
    animation-delay: -0.2s;
}

.banner-scroll-down a span:nth-child(3) {
    animation-delay: -0.4s;
}

@keyframes animate {
    0% {
        opacity: 0;
        transform: rotate(45deg) translate(-15px, -15px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(15px, 15px);
    }
}



/*=============================
	Slider
===============================*/

.elementor-swiper-button svg {
    display: none !important;
}

.elementor-swiper-button {
    position: absolute;
    top: 50% !important;
    transform: translateY(-50%); 

    display: block;
    width: 25px;
    height: 25px;

    background: rgba(0,0,0,1);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 7px 11px;

	background-color: #000; /* Schwarz standardmäßig */
    border-radius: 16px !important;
    opacity: 1;
    transition: opacity 0.2s, transform 0.2s; 

    border: 0 !important;
    overflow: hidden;

    background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAQCAQAAABuQZ3IAAAAi0lEQVR4AU3OISBEQQBAwS0AACS9NxqQgCZpkiYBVddFvWhAAUABAPQCAGC4g/0vTnrBqCfDIZl70J+kMUBPpEwT4FNXxBxz4F1HxHyr4EVTxBLb4EFNxEon4CJSlVNw9AcV9sC16h8osgke1P1ArgXwouVvdQq86ww/GQefusNf7kBviBlxpT8k+gL/Wox4r1d4MwAAAABJRU5ErkJggg==");
}

.elementor-swiper-button-next {
    right: 10px;
    left: auto;
}

.elementor-swiper-button-prev {
    left: 10px;
    right: auto;
    transform: translateY(-50%) scaleX(-1) !important;
}

/* Hover Effekt */
.elementor-swiper-button:hover {
    opacity: 1;
	 background-color: #FF0000;
}




/*=============================
	Button style
===============================*/
.relando-btn {
    display: inline-block;
    padding: 16px 38px;           /* angepasst an vorheriges Layout */
    border-radius: 100px;
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 600 !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: #0cf;              /* Grundfarbe */
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* After: Basisfarbe */
.relando-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #01b3cc;   
	border: 1px solid #01b3cc;
    border-radius: 100px;
    z-index: -2;
}

/* Before: Hover-Overlay, start 0 Breite */
.relando-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #01b3cc;   
	border: 1px solid #01b3cc;
    border-radius: 100px;
    z-index: -1;
    transition: width 0.3s ease;
}

/* Hover */
.relando-btn:hover {
    color: #fff !important;
}

.relando-btn:hover::before {
    width: 100%;
}


.relando2-btn {
    display: inline-block;
    padding: 16px 38px;           /* angepasst an vorheriges Layout */
    border-radius: 100px;
    color: #fff;
    font-size: 16px;
    letter-spacing: 1px;
    font-weight: 600 !important;
    position: relative;
    overflow: hidden;
    z-index: 1;
    background: #0cf;              /* Grundfarbe */
    border: none;
    cursor: pointer;
    transition: color 0.3s ease;
}

/* After: Basisfarbe */
.relando2-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #01b3cc;   
    border-radius: 100px;
    z-index: -2;
}

/* Before: Hover-Overlay, start 0 Breite */
.relando2-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #000;   
    border-radius: 100px;
    z-index: -1;
    transition: width 0.3s ease;
}

/* Hover */
.relando2-btn:hover {
    color: #fff !important;
}

.relando2-btn:hover::before {
    width: 100%;
}
/*=============================
	Auflistung
===============================*/

.custom-list {
  list-style: none;
  padding-left: 0;
  margin: 25px 0;
  font-size: 16px;
  font-weight: 400;
  font-family: 'Jakarta Text', sans-serif;
  color: #000;
}


.custom-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 5px;
}

.custom-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #01b3cc;
  font-size: 18px;
}


.custom-list.top50 li {
  margin-bottom: 10px;
}


.custom-list.top20 {
  margin: 0;
}

.custom-list.top20 li {
  margin-bottom: 0;
}

