html {
    scroll-padding-top: 150px;
}
html, body {
    overflow-x: hidden;
    overflow-y: auto !important;
}

.elementor-section,
.elementor-container,
.elementor-column {
    overflow: visible !important;
}
#braunschweig {
    scroll-margin-top: 150px;
}
/*----------------------------------------- Für CF7 */ 

header .privacy-menu {display:none}
/* Textfelder, E-Mail-Felder, Textareas */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="url"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 textarea {
    border: 2px solid #00b2ff !important;  /* Rahmenfarbe */;
    padding: 8px !important;
    border-radius: 4px;
    box-sizing: border-box;
}

/* Radio/Checkbox-Labels enger setzen */
.wpcf7 .wpcf7-list-item {
    margin-bottom: 6px;
}
/* CF7-Button kompakt, NICHT volle Breite */
.wpcf7 form input[type="submit"] {
    background-color: #00b2ff !important;
    color: #ffffff !important;
    padding: 12px 20px;
    border: none !important;
    border-radius: 15px !important;
    text-align: left !important;
    display: inline-block !important; /* verhindert volle Breite */
    width: auto !important;           /* überschreibt 100% Breite */
    cursor: pointer;
    font-size: 16px;
}
/* Checkbox links neben dem Text, normale Größe */
.wpcf7-list-item label {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important; /* kleiner Abstand zwischen Kästchen und Text */
}

/* Checkbox selbst auf Standardgröße */
.wpcf7-list-item input[type="checkbox"] {
    width: 16px;   /* Standardgröße für Checkbox */
    height: 16px;
    margin: 0;     /* entfernt zusätzlichen Abstand */
    flex-shrink: 0; /* verhindert, dass die Checkbox schrumpft */
}
.wpcf7-form .wpcf7cf-group {
    display: none;
}
.wpcf7-form .wpcf7cf-group[style*="display: block"] {
    display: none !important;
}

/*----------------------------------------- Für Counter */ 

/* ICON */
.icon-box {
    position: relative;
    width: 90px;
    height: 90px;
    border: 4px solid #1f2a37;
    border-radius: 12px;
}

.icon-check {
    position: absolute;
    bottom: -15px;
    right: -15px;
    background: #2ca24c;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
}

/* TEXT */
.heyalter-number {
    font-size: 90px;
    font-weight: 800;
    color: #2ca24c;
    line-height: 1;
}

.heyalter-label {
    font-size: 30px;
    font-weight: 800;
    color: #1f2a37;
    text-transform: uppercase;
    line-height: 1.1;
    letter-spacing: 1px;
}

.heyalter-wrapper {
    display: flex;
    align-items: center;
    gap: 30px;

    background: #ffffff;
    padding: 30px 40px;
    border-radius: 12px;

    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* leichter Schatten */
}

/*----------------------------------------- Für Bild */ 

.modal {
  display: none;
  position: fixed;
  z-index: 999999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.7);

  align-items: center;
  justify-content: center;
}

.modal-content {
  background: #fff;
  padding: 15px;
  width: 90%;
  max-width: 500px;
  margin: auto;
  position: relative;
  border-radius: 10px;
  
  z-index: 100000;        /* unter dem X */
}

.modal img {
  max-width: 100%;
  height: auto;
  display: block;
}

.close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 28px;
  cursor: pointer;
  
  z-index: 1000000;       /* WICHTIG */
  pointer-events: auto;   /* WICHTIG */
}

/*----------------------------------------- Für Danke */ 

.thanks-wrapper {
    width: 100% !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

.thanks-slider {
    display: flex !important;
    gap: 20px !important;
}

.slide {
    width: 300px !important;
    min-width: 300px !important;
    flex: 0 0 300px !important;
    box-sizing: border-box !important;

    background: #ffffff !important;
    padding: 20px !important;
    border-radius: 10px !important;
    text-align: center !important;
    overflow-x: hidden !important;
    overflow-y: visible !important;
}

.icons {
    display: flex !important;
    justify-content: center !important;
    gap: 3px !important;
    margin-bottom: 8px !important;
}

.icons img {
    height: 14px !important;
}

.title {
    font-weight: bold !important;
    margin-bottom: 10px !important;
}

.text {
    font-style: italic;
    white-space: normal !important;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: normal;
	overflow-wrap: break-word;
}

@media (max-width: 768px) {

    .heyalter-wrapper {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center;
        gap: 15px !important;
        padding: 20px !important;
    }

    .icon-box {
        width: 60px !important;
        height: 60px !important;
    }

    .icon-check {
        width: 30px !important;
        height: 30px !important;
        font-size: 16px !important;
        bottom: -10px !important;
        right: -10px !important;
    }

    .heyalter-number {
        font-size: 48px !important;
        line-height: 1.1 !important;
    }

    .heyalter-label {
        font-size: 16px !important;
        line-height: 1.2 !important;
        word-break: break-word;
    }

}