/* -----------------------------------------
   GLOBAL / ANCHOR FIXES
----------------------------------------- */

html {
    scroll-padding-top: 150px;
}

html, body {
    overflow-x: hidden;
}

#braunschweig {
    scroll-margin-top: 150px;
}

/* -----------------------------------------
   CF7 FORMULAR
----------------------------------------- */

header .privacy-menu { display:none; }

.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;
    padding: 8px;
    border-radius: 4px;
    box-sizing: border-box;
}

.wpcf7 .wpcf7-list-item {
    margin-bottom: 6px;
}

.wpcf7 form input[type="submit"] {
    background-color: #00b2ff;
    color: #ffffff;
    padding: 12px 20px;
    border: none;
    border-radius: 15px;
    display: inline-block;
    width: auto;
    cursor: pointer;
    font-size: 16px;
}

.wpcf7-list-item label {
    display: flex;
    align-items: center;
    gap: 4px;
}

.wpcf7-list-item input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    flex-shrink: 0;
}

/* -----------------------------------------
   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;
    word-break: break-word;
}

/* WRAPPER */
.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);
    flex-wrap: nowrap;
}

/* TABLET */
@media (max-width: 1024px) and (min-width: 769px) {

    .heyalter-wrapper {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .icon-box {
        width: 70px;
        height: 70px;
    }

    .icon-check {
        width: 35px;
        height: 35px;
        font-size: 18px;
        bottom: -12px;
        right: -12px;
    }

    .heyalter-number {
        font-size: 60px;
    }

    .heyalter-label {
        font-size: 22px;
    }
}

/* MOBILE */
@media (max-width: 768px) {

    .heyalter-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .icon-box {
        width: 60px;
        height: 60px;
    }

    .icon-check {
        width: 30px;
        height: 30px;
        font-size: 16px;
        bottom: -10px;
        right: -10px;
    }

    .heyalter-number {
        font-size: 48px;
    }

    .heyalter-label {
        font-size: 16px;
    }
}

/* -----------------------------------------
   MODAL 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;
}

.modal img {
  max-width: 100%;
  height: auto;
  display: block;
}

.close {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 28px;
  cursor: pointer;
}

/* -----------------------------------------
   DANKE SLIDER
----------------------------------------- */

.thanks-wrapper {
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
}

.thanks-slider {
    display: flex;
    gap: 20px;
}

.slide {
    width: 300px;
    min-width: 300px;
    flex: 0 0 300px;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.icons {
    display: flex;
    justify-content: center;
    gap: 3px;
    margin-bottom: 8px;
}

.icons img {
    height: 14px;
}

.title {
    font-weight: bold;
    margin-bottom: 10px;
}

.text {
    font-style: italic;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: break-word;
}

/* -----------------------------------------
   ELEMENTOR FIX (Hintergründe wieder aktiv)
----------------------------------------- */

.elementor-widget-text-editor .elementor-widget-container {
    background: unset !important;
}