/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/
/* Auf Mobilgeräten (z. B. bis 768px) ausblenden */
@media (max-width: 768px) {
  .menu-btn {
    display: none;
  }
}

.main-navigation a.glowing-btn {
	display: flex;
}

/*  Button */

.black-btn, .gform-conversational__nav-button--welcome {
  display: flex;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  border-radius: 30px !important;
border: 1px solid var #FF096C;
  background: black;
transition: all 0.3s ease-in-out;
}


.black-btn .gb-shape{
	display: flex;
padding: 0.625rem;
align-items: center;
gap: 0.625rem;
	border-radius: 999px;
background: #fff;
}

.black-btn:hover .gb-shape {
  background-color: #FF4405;
}

.black-btn:hover .gb-shape svg path {
  stroke: #fff;
}

.glowing-btn-wrapper {
display: flex;
padding: 0.3125rem;
flex-direction: column;
align-items: flex-start;
gap: 0.625rem;
	border-radius: 62.4375rem;
border: 1px solid #383838;
background: #1F2329;
box-shadow: 0 0 4px 0 rgba(255, 255, 255, 0.16) inset;
}

.glowing-btn {
  display: flex;
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  align-self: stretch;

  border-radius: 30px;
  border: 1px solid transparent;

  background: 
    linear-gradient(#1B1F24, #1B1F24) padding-box,
    linear-gradient(90deg, #3C3C3C 0%, #3C3C3C 78%, var(--brand-300) 100%) border-box;

  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;

  box-shadow: 
    0 0 8.2px 1px rgba(0, 0, 0, 0.71),
    0 0 0 1px rgba(0, 0, 0, 0.36),
    -6px 0 5px 0 rgba(255, 68, 5, 0.10) inset,
    -2px 0 3px 0 rgba(255, 68, 5, 0.25) inset;

  transition: all 0.3s ease-in-out;
}



.glowing-btn .gb-shape {
	display: flex;
padding: 0.625rem;
align-items: center;
gap: 0.625rem;
	border-radius: 999px;
background: var(--brand-500);
}

.gb-shape path {
  transition: stroke 0.2s ease-in-out;
}

.glowing-btn:hover .gb-shape path {
  stroke: #ffffff;
}

.glowing-btn:hover {
  background: 
    linear-gradient(#1B1F24, #1B1F24) padding-box,
    linear-gradient(90deg, #3C3C3C 0%, #3C3C3C 11%, #ffb69e 100%) border-box;

  background-clip: padding-box, border-box;
  background-origin: padding-box, border-box;

box-shadow: 0 0 8.2px 1px rgba(0, 0, 0, 0.71), 0 0 0 1px rgba(0, 0, 0, 0.36), -19px 0 16px 0 rgba(255, 68, 5, 0.20) inset, -2px 0 3px 0 rgba(255, 68, 5, 0.25) inset;
}

@media (max-width: 1024px), (min-width: 1025px) {
  .main-navigation.sticky-navigation-transition .site-logo img {
    content: url("https://wahl-svb.de/wp-content/uploads/2025/09/Logo-Wahl-White.svg");
  }
}

.gform-theme--foundation .gform_fields {
	row-gap: 24px !important;
}

.site-footer p {
	margin-bottom: 0px !important;
}

.lower-footer {
	background: radial-gradient(76.06% 76.06% at 50% 0%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.00) 100%), #090301;
	box-shadow: 0 -1px 0 0 rgba(255, 255, 255, 0.25), 0 -3px 2px -2px #000;
}

.logo-highlight {
  animation: flicker-shadow 5s infinite;
}

@keyframes flicker-shadow {
  0% {
	filter: drop-shadow(0 0 4px #FFCAB8) drop-shadow(0 0 8px rgba(255, 136, 97, 0.60)) drop-shadow(0 0 16px #FF4405);
	}
  50% {
    filter: drop-shadow(0 0 4px #FFCAB8) drop-shadow(0 0 32px rgba(255, 136, 97, 0.30)) drop-shadow(0 0 64px #FF4405);
  }
  100% {
    filter: drop-shadow(0 0 4px #FFCAB8) drop-shadow(0 0 8px rgba(255, 136, 97, 0.60)) drop-shadow(0 0 16px #FF4405);
  }
}

/* Blurry Card */

.blurry-dark{ 
padding: 1.5rem 1.25rem;
border-radius: 1rem;
border: 1px solid rgba(12, 14, 18, 0.30);
background: rgba(12, 14, 18, 0.30);
backdrop-filter: blur(12px);}

.icon_wrapper_wrapper {
	display: flex;
width: 3rem;
height: 3rem;
padding: 0.25rem;
justify-content: center;
align-items: center;
aspect-ratio: 1/1;
border-radius: 0.75rem;
border: 1px solid #D5D7DA;
background: #FFF;
}

.icon-shadow {
	border-radius: 0.5rem;
border: 1px solid rgba(0, 0, 0, 0.08);
background: #FFF;
box-shadow: 
  0 -2px 2px 0 rgba(10, 13, 18, 0.10) inset,
  1px 8px 5px 0 rgba(10, 13, 18, 0.05),
  0 3px 3px 0 rgba(10, 13, 18, 0.10),
  0 1px 2px 0 rgba(10, 13, 18, 0.10);
}



body {
  overflow-x: hidden;
}


/* Menu Button*/

#site-navigation > div > a:hover {
	color: white !important;
}



/* Mobile Menu */

@media (max-width: 768px) {
  .mobile-header-navigation .button-menu-primary {
    display: none !important;
  }

  .mobile-header-navigation.is_stuck .button-menu-primary {
    display: inline-flex !important;
	align-items: center;
	gap: 4px;
	 
  }
}

#generate-slideout-menu {
	background-color: var(--gray-950);
}

#generate-slideout-menu.do-overlay .slideout-menu li, .slideout-navigation.do-overlay .inside-navigation {
    text-align: left !important;
}

.slideout-navigation.do-overlay .inside-navigation {
	padding: 16px !important;
}

.main-navigation.slideout-navigation .main-nav > ul > li > a {
    line-height: 54px !important;
    font-size: 24px;
    color: var(--base-white);
}

.mobile-menu-heading a {
	font-size: 14px !important;
	color: var(--brand-400) !important;
	font-weight: 600 !important;
}



.site-logo.mobile-header-logo img {
    height: 40px !important;
}


@media (max-width: 768px) {
    .has-inline-mobile-toggle .inside-header {
        margin-left: 16px;
		margin-right: 16px;}
    .slideout-navigation.do-overlay .slideout-exit {
        align-self: flex-end;}
	.sticky-enabled .main-navigation.is_stuck {
		padding: 8px 10px !important;
	}}



/* Search Input Styling */

/* Wrapper */
.wp-block-search__inside-wrapper {
  width: 100%;
  display: flex;
  gap: 0.5rem;
}

/* Input-Field */
input[type="search"] {
  flex: 1;
  border-radius: 0.5rem;
  border: 1px solid #D5D7DA;
  background: #FFF;
  box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-family: Geist, sans-serif;
  line-height: 1.5rem;
}

input[type="search"]:focus {
  border: 1px solid var(--brand-700);
}

/* Search-Button */
.wp-block-search__button {
  background-color: var(--brand-600, #3B82F6);
  border: 1px solid var(--brand-700, #2563EB);
  border-radius: 1.875rem;
  padding: 0.75rem 1.125rem;
  color: var(--base-white, #fff);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
  display: inline-flex;
  align-items: center;
  column-gap: 0.5em;
  box-shadow:
    inset 0px -1px 0px 2px rgba(255, 255, 255, 0.05),
    inset 0px 1px 0px 0px rgba(255, 255, 255, 0.36);
  cursor: pointer;
  transition: background 0.2s ease;
}

.wp-block-search__button:hover {
  background-color: var(--brand-700, #2563EB);
}



/* Navi */
#primary-menu {
	flex-grow: 1;
}

nav#sticky-navigation {
    left: 50%;
    transform: translatex(-50%);
}

.main-navigation a {
	font-weight: 600;
}

.main-navigation .main-nav ul li>a {
  font-size: 1rem;
  font-weight: 500;
}

.nav-float-right .navigation-stick .navigation-branding {
    margin-right: 32px;
}

.nav-float-right #site-navigation {
    margin-left: 32px;
	flex-grow: 1;
}



/* Misc */

.gb-shape svg {
  fill: none !important;
}

.site-content h1,
.site-content h2,
.site-content h3,
.site-content h4,
.site-content h5,
.site-content h6,
.site-content p {
  margin-bottom: 0px !important;
}

a {
  text-decoration: none;
}


a.button-xl-primary {
  text-decoration: none;
  color: white;
}

a.button-xl-primary:hover {
  color: white;
}


/* Accordeon Styling */

.gb-accordion__item-open {
  background: var(--gray-50);
}

.slider_container {
  clip-path: inset(0 -9999px 0 0);
}

.glide__track {
  overflow: visible;
}



/*Scribble Highlight*/

.hero-heading .has-inline-color,
.underline .has-inline-color {
  position: relative;
  display: inline-block;
  padding-bottom: 5px;
  z-index: 1;
  color: unset;
}

.hero-heading .has-inline-color::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  background: url(/wp-content/uploads/2025/04/Hand-drawn-pen-scribble.svg) no-repeat center;
  background-size: contain;
  pointer-events: none;
  z-index: -1;
}

/* Sticky Navbar */

.main-navigation.navigation-stick.has-sticky-branding .inside-navigation.grid-container {
	padding-left: 0px !important;
	padding-right: 0px !important;
}

.gb-is-sticky {
  top: 8px !important;
  max-width: 1240px;
  left: auto;
  right: auto;
  border: 1px solid var(--gray-600);
  padding: 0.5rem 0.75rem 0.5rem 1rem;
  border-radius: 999px;
  background: #110F0E;
  box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
  width: auto !important;
}

/* Standard-Logo unverändert lassen */
header .logo {
    content: url("https://wahl-svb.de/wp-content/uploads/2025/09/Logo-Wahl.svg");
}

/* Sobald der Header sticky ist → weißes Logo laden */
header.gb-is-sticky .logo {
    content: url("https://wahl-svb.de/wp-content/uploads/2025/09/Logo-Wahl-White.svg");
}

.sticky-enabled .main-navigation.is_stuck .menu-item a, .gb-is-sticky .menu-item a  {
	color: var(--gray-300);
}


.inside-header.grid-container {
  top: 8px !important;
  max-width: 1280px;
  border: 1px solid var(--gray-200);
  padding: 0.5em 0.75rem 0.5rem 1rem;
  border-radius: 999px;
  box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05);
}

.main-navigation .main-nav ul li a {
  line-height: 44px;
}


/* GForm Styling */

.gform-theme--foundation .gform_fields {
  row-gap: 24px;
}

.gform-field-label {
  font-weight: 500 !important;
  font-size: 14px !important;
  line-height: 20px !important;
  color: #414651 !important;
}

.gfield input,
.textarea {
  border-color: var(--gray-300) !important;
  border-radius: 8px !important;
  box-shadow: 0px 1px 2px 0px rgba(10, 13, 18, 0.05) !important;
}


input::placeholder,
textarea::placeholder {
  color: #717680 !important;
  text-overflow: ellipsis;
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem;
}

input,
textarea {
  color: var(--gray-700) !important;
  text-overflow: ellipsis;
  font-size: 1rem !important;
  font-style: normal;
  font-weight: 400;
  line-height: 1.5rem;
}

#gform_submit_button_1, #gform_submit_button_2,
.gform_next_button {
  width: 100% !important;
  text-decoration: none;
  color: white !important;
  background-color: var(--brand-600) !important;
  box-shadow: inset 0px -1px 0px 2px rgba(255, 255, 255, 0.05) !important;
  color: var(--base-white) !important;
  display: inline-flex;
  font-size: 1rem !important;
  font-weight: 600;
  line-height: 1.5rem;
  border: 1px solid var(--brand-700) !important;
  border-radius: 1.875rem !important;
  padding: 0.75rem 1.125rem !important;
}

.gfield_required_text {
  display: none !important;
}

/* Animations */
/* Nur vorbereitend verstecken */
.has-animation .animate-child {
  opacity: 0;
  transform: translateY(20px);
  will-change: opacity, transform;
  visibility: hidden;
  pointer-events: none;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation-fill-mode: both;
  animation-timing-function: ease-out;
  opacity: 1;
}




/* Numbers & Facts Section */

.fact-text strong {
  font-weight: 500 !important;
  color: var(--gray-900) !important;
}

/* Accent Gradient Border Top and Bottom */

.gradient-border {
  position: relative;
  z-index: 1;
}

.gradient-border::before,
.gradient-border::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right,
      var(--gray-50) 0%,
      var(--gray-200) 50%,
      var(--gray-50) 100%);
  z-index: -1;
}

.gradient-border::before {
  top: 0;
}

.gradient-border::after {
  bottom: 0;
}


/* Logo Slider Mask */

/* Endlose Scroll-Animation */
@keyframes infinite-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.animate-infinite-scroll {
  animation: infinite-scroll 30s linear infinite;
  display: flex;
  white-space: nowrap;
}

/* Maske & Sichtbereich */
.logo-mask {
  mask-image: linear-gradient(to right, transparent 0, black 128px, black calc(100% - 128px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0, black 128px, black calc(100% - 128px), transparent 100%);
  overflow: hidden;
  position: relative;
}


/* Single Post Styling */

.post-content h3 {
	margin-top: 2rem;
  margin-bottom: 1rem;
  color: #181D27;
  font-family: Geist;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 600;
  line-height: 2rem;
  /* 133.333% */
}

.post-content h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #181D27;
  font-size: 1.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: 2.375rem;
  /* 126.667% */
}

.post-content p {
  color: #535862;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.75rem;
  /* 155.556% */
}

.post-content img {
  margin-top: 3rem;
  margin-bottom: 3rem;
}




/* Legal Templates */

.legal-text h3 {
	margin-bottom: 1.5rem !important;
	margin-top: 2.25rem;
}

.legal-text p {
	margin-bottom: 2.25rem;
}

.legal-text strong {
margin-bottom: 1.25rem !important;
color: #181D27;
font-style: normal;
font-weight: 600;
line-height: 2rem;
}