/*
 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
*/

html{
	scroll-behavior: smooth;
	scroll-padding-top: 20%;
}

body{
	overflow-x:hidden;
}

.site-content{
	padding-top:0px !important;
}


/* Zoom-In-Effekt Startseite Slider (fÃ¼r Desktop)*/
@media only screen and (min-width: 1024px) {
.intro:before{
  animation: zoom-in 15s infinite alternate;
}
.intro:before{
  animation: zoom-in 15s infinite alternate;
}
.intro:before{
  animation: zoom-in 15s infinite alternate;
}
.intro:before{
  animation: zoom-in 15s infinite alternate;
}
.intro:before{
  animation: zoom-in 15s infinite alternate;
}
}
@keyframes zoom-in {
  from {background-size: 100%;}
  to {background-size: 120%;}
}

.vorteile-liste{
	color:var(--base-3);
	font-size:25px;
	list-style:none;
	margin-left:20px;
	margin-bottom:0px;
}

.vorteile-liste li:before{
    content: '\2713';
    color: var(--global-color-8);;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

.vorteile-liste li{
	margin-bottom:15px;
}

.wpcf7-form{
	color:white;
}

.wpcf7-form label{
	margin-left:10px;
}

.wpcf7-form-control{
	border-radius:16px !important;
}

.wpcf7-submit{
	background-color:var(--global-color-8) !important;
	color:var(--contrast-2) !important;
}


.no-decoration a {
	text-decoration: none !important;
}

.icon-teaser-icon{
	margin-bottom:32px;
}

/* Sticky Container*/
#stickyContainer {
    display: flex;
    flex-direction: column;
    position: fixed;
    right: 0;
    top: 30vh;
    align-items: end;
    filter: drop-shadow(2px 2px 10px rgba(32, 77, 82, 0.45));
    z-index: 900000 !important;
}

.stickyBox {
    display: flex;
    align-items: center;
    width: 80px;
    height: 80px;
    background: var(--global-color-8); /* Dein Blau */
    border-radius: 8px 0 0 8px;
    transition: all ease 0.3s;
    margin-bottom: 7px;
    cursor: pointer; /* Zeigt an, dass es klickbar ist */
}

/* --- NEUER TEIL FÜR DIE ICONS --- */
.custom-icon {
    width: 34px;
    height: 34px;
    
    /* Farbe: Weiß, damit es auf dem Blau sichtbar ist */
    fill: #ffffff; 
    
    /* Abstände exakt wie vorher beim Bild (Zentrierung) */
    margin: 0 23px 0 23px; 
    
    transition: fill 0.3s ease;
    flex-shrink: 0; /* Verhindert, dass das Icon gequetscht wird */
}
/* -------------------------------- */

@keyframes pointer {
    0% { pointer-events: none; }
    50% { pointer-events: none; }
    100% { pointer-events: all; }
}

.stickyBox > a {
    pointer-events: none;
    background: unset;
    color: var(--base-3); /* Textfarbe */
    display: flex;
    align-items: center;
    white-space: nowrap;
    margin: 0 1px;
    font-size: 20px;
    text-decoration: none;
}

/* Hover-Effekte */
.stickyBox:hover > a {
    animation: pointer 500ms;
    animation-iteration-count: 1;
    animation-fill-mode: both;
}

.stickyBox.sb1:hover {
    width: 250px;
}

.stickyBox.sb2:hover {
    width: 280px;
}

/* Optional: Icon-Farbe ändern beim Hovern (z.B. leichtes Grau) */
.stickyBox:hover .custom-icon {
    fill: #f0f0f0; 
}
@media (max-width: 768px) {
    .site-header .header-image {
        width: 210px;
    }
	.vorteile-liste{
		font-size:20px;
	}
	
	.stickyBox {
    width: 66px;
    height: 60px;
    margin-bottom: 7px;
}
	.stickyBox > img {
    height: 25px;
    width: 25px;
    margin: 0 23px 0 23px;
}
	#stickyContainer {
    top: 20vh;
}
}