/*
 Theme Name:   kibrains
 Template:     generatepress
 Version:      1.0
 Description:  Child theme for GeneratePress
 Author:       KI Brains
*/

@import url("../generatepress/style.css");

:root {
  --color-primary: #1ea7f7;
  --color-dark: #141820;
  --color-text: #222b3a;
  --color-mint: #b6fadc;
  --color-mint-light: #c7fcec;
  --color-white: #fff;
}

/* ---------- TOP-BAR ---------- */
.top-bar {
  background-color: var(--color-mint);
  color: #000;
  font-size: 15px;
  padding: 2px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
}

.top-bar a, .top-bar svg {
  color: #141820;
  font-weight: 600;
}

.top-bar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar-left,
.top-bar-right {
  font-weight: 500;
}
body.scrolled .top-bar {
  transform: translateY(-100%);
}

/* Standard: Desktop zeigt beide Zeilen */
.top-bar-slider {
  display: none;
}
.top-bar-container {
  display: flex;
}
@media (max-width: 768px) {
  .top-bar-container {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center;
    gap: 0.4em !important;
    padding: 0 0.3em !important;
    width: 100vw;
  }
  .top-bar-left,
  .top-bar-right {
    width: auto;
    text-align: center;
    padding: 0 !important;
    margin: 0 !important;
    line-height: 1.19;
    font-size: 0.97rem;
    white-space: nowrap;
  }
  .top-bar-slider {
    display: flex;
    overflow: hidden;
    width: 100vw;
    justify-content: center;
    align-items: center;
    min-height: 22px;
    position: relative;
    font-size: 1.07rem;
    font-weight: 500;
  }
  .top-bar-slider span {
    position: absolute;
    opacity: 0;
    transition: opacity 0.5s;
    width: 100vw;
    left: 0;
    top: 0;
    text-align: center;
    pointer-events: none;
    font-size: 14px;
  }
  .top-bar-slider span.active {
    opacity: 1;
    pointer-events: auto;
  }
  .top-bar-container {
    display: none;
  }
}



/* ---------- HEADER / NAVIGATION ---------- */
.separate-container.header-aligned-left.dropdown-hover {
  background: #0d0d0d !important;
  margin-top: 0 !important;
  padding-top: 0 !important;
  border: none !important;
}


.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 0 1rem;
  column-gap: 0.6rem;
}

.site-header {
  background: #181c22 !important;  /* Sehr dunkles Grau */
  color: #fff;
  transition: 
    top 0.38s cubic-bezier(0.33,1,0.68,1),
    background 0.38s,
    backdrop-filter 0.42s,
    box-shadow 0.33s;
  position: sticky;
  top: 26px;
  z-index: 1000;
  border: none;
  box-shadow: 0 2px 22px 0 rgba(30,40,60,0.11);
  padding: 1.1rem 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.site-header.glass {
  background: rgba(20, 24, 32, 0.54) !important;
  backdrop-filter: blur(10px) saturate(1.7);
  -webkit-backdrop-filter: blur(10px) saturate(1.7);
}

body.scrolled .site-header {
  top: 0 !important;
}

.site-header {
  /*top: 0 !important;*/
}

.logo img {
  height: 40px;
}
.main-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.main-nav ul li {
  list-style: none;
}
.main-nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
.main-nav ul li a:hover {
  color: #00e6a8;
}

.cta-button a.btn-primary {
  background-color: #b6fadc;
  color: #000;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.cta-button a.btn-primary:hover {
  background-color: #00c39f;
  color: #000;
}
.mobile-toggle {
  display: none;
  font-size: 2rem;
  cursor: pointer;
}

/* ---------- RESPONSIVE NAV ---------- */
@media (min-width: 769px) {
  .main-nav ul{
  	column-gap: 0.4rem;
  }
  .main-nav, .cta-button {
  	font-size: 12px;
  }

}
@media (min-width: 900px) {
  .main-nav ul{
  	column-gap: 1rem;
  }
  .main-nav, .cta-button {
  	font-size: 13px;
  }
}
@media (min-width: 1050px) {
  .main-nav ul{
  	column-gap: 1.5rem;
  }
  .main-nav, .cta-button {
  	font-size: 15px;
  }
}
@media (min-width: 1150px) {
  .main-nav ul{
  	column-gap: 2rem;
  }
  .main-nav, .cta-button {
  	font-size: 17px;
  }

}

@media (max-width: 768px) {
  .site-header {
  	padding: 10px 0;
  }
  .site-header .container { flex-wrap: wrap; }
  .main-nav {
    position: fixed;
    top: 0;
    left: -100%;
    height: 100vh;
    width: 80%;
    max-width: 320px;
    background: #0d0d0d;
    z-index: 9999;
    padding: 2rem 1.5rem;
    transition: left 0.3s ease;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
  }
  body.mobile-open .main-nav { left: 0; }
  .main-nav ul {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    padding: 0;
    margin: 0;
  }
  .main-nav ul li a {
    color: white;
    padding: 0.6rem 0;
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .cta-button { display: none; }
  .mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    cursor: pointer;
    z-index: 10000;
    position: relative;
  }
  .mobile-toggle span {
    background: white;
    height: 2px;
    width: 100%;
    transition: all 0.3s ease;
  }
  body.mobile-open .mobile-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  body.mobile-open .mobile-toggle span:nth-child(2) {
    opacity: 0;
  }
  body.mobile-open .mobile-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .top-bar-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 0 1rem;
  }
}


/* ---------- FOOTER / WELLE ---------- */
.wave-footer {
  background: #00e6a8;
  color: #fff;
  margin-top: 0;
  position: relative;
  overflow: hidden;
  padding-top: 0;
  z-index: 2;
}
.footer-wave-top {
  width: 100vw;
  height: 90px;
  overflow: hidden;
  background: transparent;
}
.footer-top-wave {
  display: block;
  width: 100vw;
  height: 90px;
  background: transparent;
}
.footer-main {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: 0 auto;
  padding: 3.2rem 1rem 1.2rem 1rem;
  justify-content: center;
  gap: 2.5rem;
  background: none;
}
.footer-col {
  min-width: 140px;
  flex: 1 1 160px;
  text-align: left;
}
.footer-logo { margin-bottom: 1em; }
.footer-col strong {
  display: block;
  margin-bottom: 0.6rem;
  font-weight: bold;
  font-size: 1.08rem;
  letter-spacing: 0.01em;
  color: #fff;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-col ul li { margin: 0.35em 0; }
.footer-col a {
  /*color: #00e6a8;*/
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
  font-size: 1rem;
}
.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}
.footer-icon { margin-right: 0.5em; font-size: 1.1em; }
.footer-bottom {
  text-align: center;
  margin: 2.3rem 0 0.7rem 0;
  position: relative;
  z-index: 3;
}
.back-to-top {
  background: none;
  /*border: 1px solid #00e6a8;*/
  /*color: #00e6a8;*/
  border: 1px solid white;
  color: white;
  border-radius: 25px;
  padding: 0.5em 2em;
  font-size: 1.06rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 0.9em;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.back-to-top:hover {
  /*background: #00e6a8;*/
  /*color: #0d0d0d;*/
  background: white;
  color: #0d0d0d;
  border-color: #00e6a8;
}
.footer-copyright {
  opacity: 0.9;
  font-size: 0.98rem;
  margin-top: 0.6em;
}
@media (max-width: 1050px) {
  .footer-main { flex-wrap: wrap; gap: 1.5rem; }
  .footer-col { min-width: 130px; flex: 1 1 45%; }
}
@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
    gap: 0.8rem;
    padding: 2rem 1rem 1rem 1rem;
    align-items: center;
  }
  .footer-col { min-width: 170px; text-align: center; }
  .footer-bottom { margin-top: 1.5rem; }
}



.glass-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  border-radius: 20px;
  padding: 3rem 2rem;
  max-width: 820px;
  color: #ffffff;
  box-shadow: 0 10px 38px rgba(0, 0, 0, 0.35);
  text-shadow: 0px 2px 5px #00000047;
}

.glass-box h2 {
  font-size: 1.9rem;
  margin-bottom: 1.3rem;
  font-weight: 800;
  color: #00e6a8;
}

.glass-box p {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #f0f5f9;
  margin-bottom: 1.2rem;
}

@media (max-width: 768px) {
  .glass-box {
    padding: 2rem 1.2rem;
  }
  .glass-box h2 {
    font-size: 1.6rem;
  }
  .glass-box p {
    font-size: 1rem;
  }
}
@media (max-width: 1050px) {
	.hidden-m {
		display: none;
	}
}
@media (max-width: 768px) {
	.hidden-sm {
		display: none;
	}
}
@media (max-width: 500px) {
	.hidden-xs {
		display: none;
	}
	  h1, h2, h3, h4, h5, h6 {
	    line-break: anywhere;
	  }
}
.wrapper-xl {
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 22px;
	padding-right: 22px;
}
.wrapper-l {
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 22px;
	padding-right: 22px;
}
.wrapper-m {
	max-width: 840px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 22px;
	padding-right: 22px;
}
.wrapper-s {
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 22px;
	padding-right: 22px;
}
.padding-vertical {
	padding-top: 3rem;
	padding-bottom: 3rem;
}