/* ======================== HEADER STYLE BEGIN ============ */
ul#menu-main-menu {
    display: flex;
    justify-content: center;
    gap: 19px;
}
ul#menu-main-menu li a {
    text-decoration: none;
    font-size: 16px;
    color: #fff;
}
ul#menu-main-menu li a:hover {
    color: #79f798;
}

.main-hrd {
    position: fixed !important;
    top: 0;
    width: 100%;
    box-shadow: 0 3px 20px #646464a1;
	z-index:999;
}
#mobile-header {
    position: fixed;
    top: 0;
    width: 100%;
    transition: top 0.3s;
    box-shadow: 2px 4px 8px #0000000a;
    z-index: 99;
}

.footer-menu-rowa {
    padding-top: 10px;
    padding-bottom: 5px;
    position: fixed !important;
    bottom: 0;
    background: #fff;
    width: 100%;
    z-index: 99;
    box-shadow: 0 0 30px 0 rgba(0,0,0,.5);
}
.foot-mobile-title {
    margin-top:4px;
    margin-bottom: 4px;
    font-size: 12px;
}
.foot-icon-img img {
    width: 33px !important;
    height: auto !important;
}

.mr-tp-n {
    margin-top:0px !important;
}	

/* ======================== HEADER STYLE END ============ */



/* ======================== FOOTER STYLE BEGIN ============ */

/* ======================== FOOTER STYLE END ============ */




/* ======================== POPUP FORM STYLE BEGIN ============ */
.popup-form {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    z-index: 999;
}
.popup-form-content {
    margin: auto;
    padding: 20px;
    width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    background: #fff;
}
.close-popup {
    font-weight: bold;
    right: 0px;
    position: absolute;
    top: 0;
    background: #333332;
    padding: 6px 7px 4px 7px;
}
.popup-logo.menu {
    z-index: 99;
}
@media only screen and (max-width: 1024px){
    #Gutenmodalpopup.popup-form {
        padding-top: 10px;
    }
}

/* ======================== POPUP FORM STYLE END ============ */
/* ======================== MOBILE POPUP STYLE BEGIN ============ */
.overlay-mobile {
    height: 100%;
    width: 0;
    position: fixed;
    left: 0;
    top: 0;
    background-color:#F7FFF9;
    overflow-x: hidden;
    transition: 0.5s;
    z-index: 999999;
	padding-top: 80px;
}
.overlay-mobile .closebtn {
    position: absolute;
    top: 21px;
    right: 18px;
    font-size: 25px;
    background-color:#79F798;
    color: #fff;
    height: 30px;
    text-align: center;
    width: 30px;
    border-radius: 18px;
    padding-top: 0px;
    z-index: 1000;
}
.overlay-mobile a {
    text-decoration: none;
}
.overlay-content-mobile {
    position: relative;
    top: 0;
    width: 100%;
    text-align: center;
    margin-top: 0px;
}


.Mobile-menu-lists li a {
  font-size: 18px;
  padding: 0px 7px;
  color: #022;
}
.Mobile-menu-lists {
  padding-top: 30px;
}
.darmobile-logo img {
  width: 108px;
}
.Mobile-menu-lists li a {
  border-bottom: 1px dashed #c6c6c6;
  display: block !important;
  width: 100%;
  padding-bottom: 7px;
}
.Mobile-menu-lists li a:hover{
  color:#79F798;
}
.Mobile-menu-lists  ul.kt-svg-icon-list li {
  padding-bottom: 3px !important;
}
/* ======================== MOBILE POPUP STYLE END ============ */


/* ======================== FLOATING BTN CSS BEGIN ============ */
.float-container-btns {
    position: fixed;
    top: 50%;
    display: flex;
    flex-direction: column;
    right: -230px;
    width: 290px;
    z-index: 99;
}
.float-container-btns a {
    display: flex;
    align-items: center;
    padding: 10px;
    margin-bottom: 10px;
    transition: all 0.2s linear;
    background:#012A3E;
    border-radius: 5px 0px 0px 5px;
    color: #fff;
	border:1px solid #fff;
}
.float-container-btns img {
    width: 35px;
    height: auto;
    margin-right: 15px;
}
.float-container-btns>a:hover {
    transform: translateX(-230px);
    transition: all 0.2s linear;
    color: #fff;
}
/* ======================== FLOATING BTN CSS END ============ */

/* ======================== Btn_back_to_top  BEGIN ============ */
#btn-back-to-top img{
    padding:0;
    margin:0;
    height:auto;
    
}



#btn-back-to-top{
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color:#012A3E; 
    color: white;
    cursor: pointer;
    padding: 7px 10px 5px 10px;
    border-radius: 8px;
    z-index: 99;
	border:1px solid #fff;
  }
  
#btn-back-to-top:hover {
    background-color: #555;
  }



@media only screen and (max-width: 1024px){

  #btn-back-to-top{
    bottom: 110px !important;
  }
}
@media only screen and (max-width: 767px){
  
  
  #btn-back-to-top{
    bottom: 88px !important;
    right: 10px !important;
  }
}

/* ======================== Btn_back_to_top  END ============ */

/* ===================== FORM CF7 START ======================= */

/* ===== RESET & HIDDEN ===== */
.hidden-field {
    display: none !important;
}

/* Hide CF7 built-in English validation messages */
.wpcf7-not-valid-tip,
.wpcf7-response-output {
    display: none !important;
}

/* ===== STEP COUNTER ===== */
.step-counter {
    font-size: 13px;
    font-weight: 700;
    color: #35BE63;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    background:rgb(53 190 99 / 16%);
	/*background:rgb(53 190 99 / 27%);*/
    display: inline-block;
    padding: 5px 12px;
    border-radius: 16px;
}

/* ===== FORM WRAPPER ===== */
.form-wrapper {
    max-width: 100%;
    background:#f9f9f9;
    padding: 36px 75px 32px;
    border-radius: 18px;
    margin: 0 auto;
   /* box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.03);*/
    position: relative;
	text-align:center;
}

/* ===== STEPS ===== */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
}

.form-step.slide-forward {
    animation: slideForward 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.form-step.slide-backward {
    animation: slideBackward 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes slideForward {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideBackward {
    from { opacity: 0; transform: translateX(-30px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ===== TYPOGRAPHY ===== */
.form-step h2 {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 12px 0;
    color:#000;
    line-height: 1.25;
    letter-spacing: -0.5px;
}

.step-description {
   color: #6b7280;
   /* color: #cdced0;*/
    margin: 0 0 20px 0;
    font-size: 17px;
    line-height: 1.55;
}

/* ===== ALL CF7 WRAPPERS: BLOCK ===== */
.form-step .wpcf7-form-control-wrap {
    display: block !important;
}

/* ===== SVG ICON CARDS (Property Type — Step 0) ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.card:hover {
    border-color: #35BE63;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(53, 190, 99, 0.12);
}

/*.card.selected {
    border-color: #35BE63;
    background: linear-gradient(145deg, rgba(53, 190, 99, 0.02), rgba(53, 190, 99, 0.06));
    box-shadow: 0 0 0 3px rgba(53, 190, 99, 0.12), 0 4px 12px rgba(53, 190, 99, 0.08);
}*/

.card.selected {
    border-color: #35BE63;
    background: linear-gradient(
        145deg,
        #E6F7EC, /* very light green tint */
        #CFF0D8  /* slightly stronger but still soft */
    );
    box-shadow: 0 0 0 3px rgba(53, 190, 99, 0.12),
                0 4px 12px rgba(53, 190, 99, 0.08);
}


/*.card.selected span{
	color:#fff !important;
}*/


/* CHECKMARK: SVG background for PERFECT centering */
.card.selected::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 22px;
    height: 22px;
    background-color: #35BE63;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 12px 12px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(53, 190, 99, 0.3);
    animation: checkPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes checkPop {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}

/* Card icon style (SVG property type cards) */
.card-icon {
    padding: 24px 12px 18px;
}

.card-svg {
    width: 56px;
    height: 56px;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #012a3e;
   /* background: rgba(1, 42, 62, 0.06);*/
    border-radius: 12px;
    transition: all 0.2s ease;
}

/*.card:hover .card-svg {
    background: rgba(1, 42, 62, 0.1);
}

.card.selected .card-svg {
    background: rgb(53 190 99);
}

.card-svg svg {
    width: 36px;
    height: 36px;
}*/

.card-svg img{
    width:46px;
    height:46px;
}

.card-icon span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    line-height: 1.3;
}

/* ===== CF7 RADIO — STYLED AS CARDS ===== */

/* Hide native radio dot */
.radio-grid .wpcf7-radio input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none;
}

.radio-grid .wpcf7-radio {
    display: grid;
    gap: 10px;
}

.radio-grid .wpcf7-list-item {
    margin: 0 !important;
}

/* Layout variants */
.radio-ja-nein .wpcf7-radio {
    grid-template-columns: repeat(2, 1fr);
    max-width:546px;
	margin: 0 auto; /*new*/
}

.radio-timeline .wpcf7-radio {
    grid-template-columns: repeat(5, 1fr);
}

.radio-options .wpcf7-radio {
    grid-template-columns: repeat(3, 1fr);
    max-width: 480px;
	margin: 0 auto;/*--new-line--*/
}

/* Base radio card */
.radio-grid .wpcf7-list-item label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 14px;
    min-height: 100px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #ffffff;
    position: relative;
    text-align: center;
    user-select: none;
    gap: 6px;
}

.radio-grid .wpcf7-list-item label:hover {
    border-color: #35BE63;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(53, 190, 99, 0.1);
}

.radio-grid .wpcf7-list-item-label {
    font-size: 16px;
    font-weight: 600;
    color: #374151;
    line-height: 1.3;
    pointer-events: none;
}

/* Ja / Nein — SVG icons */
.radio-ja-nein .wpcf7-list-item label {
    padding: 35px 20px;
    min-height: 120px;
}

.radio-ja-nein .wpcf7-list-item label::before {
    content: "";
    display: block;
    width: 40px;
    height: 40px;
    margin-bottom: 4px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.radio-ja-nein .wpcf7-list-item.first label::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%23012a3e' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpolyline points='8 12 11 15 16 9'/%3E%3C/svg%3E");
}

.radio-ja-nein .wpcf7-list-item.last label::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='15' y1='9' x2='9' y2='15'/%3E%3Cline x1='9' y1='9' x2='15' y2='15'/%3E%3C/svg%3E");
}

/* Timeline — calendar icon */
.radio-timeline .wpcf7-list-item label {
    padding: 22px 10px;
    min-height: 110px;
}

/*.radio-timeline .wpcf7-list-item label::before {
    content: "";
    display: block;
    width: 34px;
    height: 34px;
    margin-bottom: 4px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='26' viewBox='0 0 24 24' fill='none' stroke='%23012a3e' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E");
}*/

.radio-timeline .wpcf7-list-item label::before {
    content: "";
    display: block;
    width: 34px;
    height: 34px;
    margin-bottom: 4px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-image: url("/wp-content/uploads/2026/03/kalender-img.webp");
}

.radio-timeline .wpcf7-list-item-label {
    font-size: 14px;
    font-weight: 600;
}

/* Options (Geringfügig, Teilweise, Umfangreich) — with icons */
.radio-options .wpcf7-list-item label {
    padding: 26px 14px;
    min-height: 120px;
}

.radio-options .wpcf7-list-item label::before {
    content: "";
    display: block;
    width: 36px;
    height: 36px;
    margin-bottom: 4px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.radio-options .wpcf7-list-item.first label::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='none' stroke='%23012a3e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3Cpath d='M12 2v4'/%3E%3Cpath d='M12 18v4'/%3E%3Cpath d='m4.93 4.93 2.83 2.83'/%3E%3Cpath d='m16.24 16.24 2.83 2.83'/%3E%3Cpath d='M2 12h4'/%3E%3Cpath d='M18 12h4'/%3E%3Cpath d='m4.93 19.07 2.83-2.83'/%3E%3Cpath d='m16.24 7.76 2.83-2.83'/%3E%3C/svg%3E");
}

.radio-options .wpcf7-list-item:nth-child(2) label::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='none' stroke='%23f59e0b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='4' y1='21' x2='4' y2='14'/%3E%3Cline x1='4' y1='10' x2='4' y2='3'/%3E%3Cline x1='12' y1='21' x2='12' y2='12'/%3E%3Cline x1='12' y1='8' x2='12' y2='3'/%3E%3Cline x1='20' y1='21' x2='20' y2='16'/%3E%3Cline x1='20' y1='12' x2='20' y2='3'/%3E%3Cline x1='1' y1='14' x2='7' y2='14'/%3E%3Cline x1='9' y1='8' x2='15' y2='8'/%3E%3Cline x1='17' y1='16' x2='23' y2='16'/%3E%3C/svg%3E");
}

.radio-options .wpcf7-list-item.last label::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 24 24' fill='none' stroke='%23ef4444' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20h.01'/%3E%3Cpath d='M7 20v-4'/%3E%3Cpath d='M12 20v-8'/%3E%3Cpath d='M17 20V8'/%3E%3Cpath d='M22 4v16'/%3E%3C/svg%3E");
}

/* ===== SELECTED STATE ===== */
.radio-grid .wpcf7-list-item.selected label {
    border-color: #35BE63;
    background: linear-gradient(145deg, rgba(53, 190, 99, 0.02), rgba(53, 190, 99, 0.07));
    box-shadow: 0 0 0 3px rgba(53, 190, 99, 0.12), 0 3px 10px rgba(53, 190, 99, 0.08);
    transform: translateY(-1px);
}

/* CHECKMARK: SVG background for PERFECT centering */
.radio-grid .wpcf7-list-item.selected label::after {
    content: "";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    background-color: #35BE63;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 10px 10px;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(53, 190, 99, 0.3);
    animation: checkPop 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* CSS :has fallback for browsers without JS */
/*.radio-grid .wpcf7-list-item label:has(input:checked) {
    border-color: #35BE63;
    background: linear-gradient(145deg, rgba(53, 190, 99, 0.02), rgba(53, 190, 99, 0.07));
    box-shadow: 0 0 0 3px rgba(53, 190, 99, 0.12), 0 3px 10px rgba(53, 190, 99, 0.08);
}*/

.radio-grid .wpcf7-list-item label:has(input:checked) {
    border-color: #35BE63;
    background: linear-gradient(
        145deg,
        #E6F7EC, /* very light green tint */
        #CFF0D8  /* slightly stronger but still soft */
    );
    box-shadow: 0 0 0 3px rgba(53, 190, 99, 0.12),
                0 4px 12px rgba(53, 190, 99, 0.08);
}


/* ===== INPUT FIELDS ===== */
.form-step .wpcf7-form-control-wrap input[type="number"],
.form-step .wpcf7-form-control-wrap input[type="text"],
.form-step .wpcf7-form-control-wrap input[type="email"],
.form-step .wpcf7-form-control-wrap input[type="tel"],
.form-step input[type="number"],
.form-step input[type="text"],
.form-step input[type="email"],
.form-step input[type="tel"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-weight: 400;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    margin-top: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background: #f9fafb;
    color: #111827;
    outline: none;
}

.form-step input:focus {
    border-color: #35BE63;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(53, 190, 99, 0.08);
}

.form-step input.invalid {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.06) !important;
}

.form-step input::placeholder {
    color: #9ca3af;
}

/* ===== ERROR MESSAGES ===== */
.field-error {
    display: flex !important;
    align-items: center;
    gap: 6px;
    color: #dc2626 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    margin-top: 8px !important;
    padding: 7px 10px !important;
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    border-radius: 8px !important;
    animation: errorFadeIn 0.3s ease !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 10 !important;
}

.field-error svg {
    flex-shrink: 0;
    color: #dc2626;
}

@keyframes errorFadeIn {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== ANREDE ROW (pill toggle) ===== */
.anrede-row {
    margin-bottom: 20px;
}

.anrede-row .wpcf7-radio {
    display: inline-flex !important;
    flex-wrap: wrap;
    gap: 0;
    background: #f3f4f6;
    border-radius: 10px;
    padding: 3px;
}

.anrede-row .wpcf7-radio input[type="radio"] {
    position: absolute !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    pointer-events: none;
}

.anrede-row .wpcf7-list-item {
    margin: 0 !important;
}

.anrede-row .wpcf7-list-item label {
    display: block;
    padding: 9px 22px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #6b7280;
    transition: all 0.2s ease;
    text-align: center;
    user-select: none;
    white-space: nowrap;
}

.anrede-row .wpcf7-list-item label:hover {
    color: #374151;
}

.anrede-row .wpcf7-list-item.selected label,
.anrede-row .wpcf7-list-item label:has(input:checked) {
    background: #ffffff;
    color: #35BE63;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

/* ===== CONTACT FIELDS (icon-prefix inputs) ===== */
.contact-fields {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.field-group {
    margin-bottom: 0;
}

.field-group.icon-field {
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #f9fafb;
    transition: all 0.2s ease;
    overflow: hidden;
}

.field-group.icon-field:focus-within {
    border-color: #35BE63;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(53, 190, 99, 0.08);
}

.field-group.icon-field.has-error {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.06) !important;
}

.field-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    min-width: 40px;
    height: 40px;
    margin-left: 6px;
    background: rgba(1, 42, 62, 0.08);
    border-radius: 8px;
    color: #012a3e;
    flex-shrink: 0;
}

.field-icon-email {
    background: rgba(1, 42, 62, 0.08);
    color: #012a3e;
}

.field-icon-phone {
    background: rgba(1, 42, 62, 0.08);
    color: #012a3e;
}

/* Override input styles inside icon-field */
.icon-field .wpcf7-form-control-wrap {
    flex: 1;
    display: block !important;
}

.icon-field .wpcf7-form-control-wrap input {
    width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    margin-top: 0 !important;
    padding: 14px 12px !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 16px;
    outline: none !important;
}

.icon-field .wpcf7-form-control-wrap input:focus {
    box-shadow: none !important;
}

/* ===== PRIVACY / ACCEPTANCE CHECKBOX ===== */
.privacy-check {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #f1f3f5;
}

.privacy-check .wpcf7-acceptance .wpcf7-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 !important;
}

.privacy-check .wpcf7-acceptance input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    min-width: 20px;
    border: 2px solid #d1d5db;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    margin-top: 1px;
    background: #fff;
	margin-bottom: -2px;
}

.privacy-check .wpcf7-acceptance input[type="checkbox"]:checked {
    background: #35BE63;
    border-color: #35BE63;
}

.privacy-check .wpcf7-acceptance input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-size: 11px 11px;
    background-position: center;
    background-repeat: no-repeat;
}

.privacy-check .wpcf7-list-item-label {
    font-size: 15px;
    color: #6b7280;
    line-height: 1.5;
    cursor: pointer;
}

.privacy-check .wpcf7-list-item-label a {
    color: #35BE63;
    font-weight: 600;
    text-decoration: none;
}

.privacy-check .wpcf7-list-item-label a:hover {
    text-decoration: underline;
}

/* ===== NAVIGATION ===== */
.form-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 32px;
    gap: 14px;
}

button#prevBtn,
button#nextBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    min-width: 120px;
    text-align: center;
    letter-spacing: 0.2px;
    line-height: 1;
}

button#nextBtn {
    background: linear-gradient(135deg, #35BE63 0%, #2aa24e 100%);
    color: #ffffff;
    box-shadow: 0 3px 12px rgba(53, 190, 99, 0.25);
}

button#nextBtn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 16px rgba(53, 190, 99, 0.35);
}

button#nextBtn:active {
    transform: translateY(0);
}

button#nextBtn.btn-submit {
    background: linear-gradient(135deg, #35BE63 0%, #1d8a3c 100%);
    box-shadow: 0 3px 14px rgba(53, 190, 99, 0.3);
    min-width: 150px;
    padding: 14px 28px;
    font-size: 17px;
}

button#nextBtn svg,
button#prevBtn svg {
    flex-shrink: 0;
}

button#nextBtn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: 0 2px 6px rgba(53, 190, 99, 0.15) !important;
}

button#nextBtn.btn-success {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    pointer-events: none;
}

button#nextBtn.shake {
    animation: shake 0.35s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-5px); }
    40%, 80% { transform: translateX(5px); }
}

.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2.5px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: btnSpin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes btnSpin {
    to { transform: rotate(360deg); }
}

button#prevBtn {
    background: #ffffff;
    color: #6b7280;
    border: 2px solid #e5e7eb;
}

button#prevBtn:hover {
    border-color: #d1d5db;
    color: #374151;
    background: #f9fafb;
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
    flex: 1;
    height: 5px;
    background: #f1f3f5;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #35BE63, #2dd48a);
    border-radius: 10px;
    transition: width 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
}

.progress::after {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    animation: shimmer 2.5s ease-in-out infinite;
}

@keyframes shimmer {
    0%   { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* ===== THANK YOU MESSAGE ===== */
.thank-you-box {
    text-align: center;
    padding: 60px 30px;
    animation: thankYouFadeIn 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.thank-you-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 28px;
    background: linear-gradient(135deg, #35BE63, #2dd48a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 36px rgba(53, 190, 99, 0.3);
    animation: iconBounce 0.6s 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.thank-you-title {
    font-size: 32px !important;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.thank-you-text {
    font-size: 17px;
    color: #6b7280;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 32px;
}

.thank-you-steps {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.thank-you-step {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    transition: all 0.2s ease;
}

.thank-you-step:hover {
    border-color: #35BE63;
    box-shadow: 0 2px 10px rgba(53, 190, 99, 0.08);
}

.thank-you-num {
    width: 30px;
    height: 30px;
    min-width: 30px;
    background: linear-gradient(135deg, #35BE63, #2aa24e);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
}

.thank-you-sub {
    font-size: 14px;
    color: #9ca3af;
    margin: 0;
}

@keyframes thankYouFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes iconBounce {
    from { transform: scale(0); }
    to   { transform: scale(1); }
}

/* ===== RESPONSIVE — SMALL LAPTOP / LARGE TABLET ===== */
@media (max-width: 1024px) {
    .form-step h2 {
        font-size: 30px;
    }

    .step-description {
        font-size: 16px;
    }

    .radio-timeline .wpcf7-radio {
        gap: 8px;
    }

    .radio-timeline .wpcf7-list-item label {
        padding: 20px 8px;
        min-height: 100px;
    }

    .radio-timeline .wpcf7-list-item label::before {
        width: 30px;
        height: 30px;
    }

    .radio-timeline .wpcf7-list-item-label {
        font-size: 13px;
    }
}

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 768px) {
    .form-wrapper {
        padding: 28px 20px 24px;
        border-radius: 14px;
    }

    .step-counter {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .form-step h2 {
        font-size: 28px;
    }

    .step-description {
        font-size: 16px;
    }

    .card-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .card-icon {
        padding: 18px 8px 14px;
    }

    .card-svg {
        width: 48px;
        height: 48px;
    }

    .card-svg svg {
        width: 30px;
        height: 30px;
    }

    .card-icon span {
        font-size: 13px;
    }

    .radio-ja-nein .wpcf7-radio {
        max-width: 100%;
    }

    .radio-timeline .wpcf7-radio {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .radio-options .wpcf7-radio {
        max-width: 100%;
    }

    .radio-grid .wpcf7-list-item label {
        padding: 20px 10px;
        min-height: 90px;
    }

    .radio-ja-nein .wpcf7-list-item label {
        padding: 24px 14px;
        min-height: 110px;
    }

    .radio-ja-nein .wpcf7-list-item label::before {
        width: 34px;
        height: 34px;
    }

    .radio-timeline .wpcf7-list-item label {
        padding: 18px 6px;
        min-height: 95px;
    }

    .radio-timeline .wpcf7-list-item label::before {
        width: 28px;
        height: 28px;
    }

    .radio-options .wpcf7-list-item label {
        min-height: 110px;
    }

    .radio-options .wpcf7-list-item label::before {
        width: 32px;
        height: 32px;
    }

    .anrede-row .wpcf7-radio {
        width: 100%;
        display: flex !important;
    }

    .anrede-row .wpcf7-list-item {
        flex: 1;
    }

    .anrede-row .wpcf7-list-item label {
        padding: 8px 14px;
        font-size: 14px;
    }

    button#prevBtn,
    button#nextBtn {
        min-width: 100px;
        padding: 11px 18px;
        font-size: 15px;
    }
}

/* ===== RESPONSIVE — SMALL TABLET ===== */
@media (max-width: 600px) {
    .form-wrapper {
        padding: 24px 16px 22px;
        border-radius: 12px;
    }

    .form-step h2 {
        font-size: 25px;
    }

    .step-description {
        font-size: 15px;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .card-icon {
        padding: 16px 8px 12px;
    }

    .card-svg {
        width: 44px;
        height: 44px;
    }

    .card-svg svg {
        width: 28px;
        height: 28px;
    }

    .radio-ja-nein .wpcf7-radio {
        max-width: 100%;
    }

    .radio-timeline .wpcf7-radio {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .radio-grid .wpcf7-list-item label {
        padding: 18px 8px;
        min-height: 85px;
    }

    .radio-ja-nein .wpcf7-list-item label {
        padding: 22px 12px;
        min-height: 100px;
    }

    .radio-ja-nein .wpcf7-list-item label::before {
        width: 32px;
        height: 32px;
    }

    .radio-timeline .wpcf7-list-item label {
        padding: 16px 6px;
        min-height: 88px;
    }

    .radio-timeline .wpcf7-list-item label::before {
        width: 26px;
        height: 26px;
    }

    .radio-timeline .wpcf7-list-item-label {
        font-size: 12px;
    }

    .radio-options .wpcf7-list-item label {
        min-height: 100px;
    }

    .radio-options .wpcf7-list-item label::before {
        width: 30px;
        height: 30px;
    }

    .radio-grid .wpcf7-list-item-label {
        font-size: 15px;
    }

    .thank-you-box {
        padding: 40px 20px;
    }

    .thank-you-icon {
        width: 76px;
        height: 76px;
        margin-bottom: 22px;
    }

    .thank-you-title {
        font-size: 26px !important;
    }

    .thank-you-text {
        font-size: 15px;
    }

    .thank-you-steps {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .thank-you-step {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 480px) {
    .form-wrapper {
        padding: 22px 14px 20px;
        border-radius: 12px;
        box-shadow: 0 2px 14px rgba(0, 0, 0, 0.06);
    }

    .step-counter {
        font-size: 11px;
        margin-bottom: 8px;
        padding: 4px 10px;
    }

    .form-step h2 {
        font-size: 22px;
    }

    .step-description {
        font-size: 14px;
        margin-bottom: 14px;
    }

   .card-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.card-grid > :last-child {
  grid-column: span 2;   /* takes full row */
  justify-self: center;  /* centers the icon */
  padding: 13px 24px;
}

    .card-icon {
        padding: 14px 6px 10px;
    }

    .card-svg {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .card-svg svg {
        width: 26px;
        height: 26px;
    }

    .card-icon span {
        font-size: 12px;
    }

    .card.selected::after {
        width: 18px;
        height: 18px;
        background-size: 9px 9px;
        top: 4px;
        right: 4px;
    }

    .radio-timeline .wpcf7-radio {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .radio-options .wpcf7-radio {
        grid-template-columns: 1fr;
    }

    .radio-grid .wpcf7-list-item label {
        padding: 16px 10px;
        min-height: 80px;
        border-radius: 10px;
    }

    .radio-ja-nein .wpcf7-list-item label {
        padding: 20px 12px;
        min-height: 95px;
    }

    .radio-ja-nein .wpcf7-list-item label::before {
        width: 30px;
        height: 30px;
    }

    .radio-timeline .wpcf7-list-item label {
        padding: 14px 6px;
        min-height: 82px;
    }

    .radio-timeline .wpcf7-list-item label::before {
        width: 24px;
        height: 24px;
    }

    .radio-options .wpcf7-list-item label {
        padding: 18px 12px;
        min-height: 90px;
    }

    .radio-options .wpcf7-list-item label::before {
        width: 28px;
        height: 28px;
    }

    .radio-grid .wpcf7-list-item.selected label::after {
        width: 16px;
        height: 16px;
        background-size: 8px 8px;
        top: 4px;
        right: 4px;
    }

    .radio-grid .wpcf7-list-item-label {
        font-size: 14px;
    }

    .radio-timeline .wpcf7-list-item-label {
        font-size: 12px;
    }

    .form-step input {
        padding: 12px 14px !important;
        font-size: 15px !important;
    }

    .field-icon {
        width: 36px;
        min-width: 36px;
        height: 36px;
        margin-left: 5px;
        border-radius: 7px;
    }

    .field-icon svg {
        width: 16px;
        height: 16px;
    }

    .icon-field .wpcf7-form-control-wrap input {
        padding: 12px 10px !important;
        font-size: 15px !important;
    }

    .anrede-row .wpcf7-list-item label {
        padding: 7px 10px;
        font-size: 13px;
    }

    .privacy-check .wpcf7-acceptance input[type="checkbox"] {
        width: 18px;
        height: 18px;
        min-width: 18px;
		padding: 9px !important;
    }

    button#prevBtn,
    button#nextBtn {
        min-width: 90px;
        padding: 10px 16px;
        font-size: 14px;
        border-radius: 9px;
    }

    button#nextBtn.btn-submit {
        min-width: 130px;
        padding: 12px 22px;
    }

    .form-navigation {
        margin-top: 24px;
        gap: 10px;
    }

    .field-error {
        font-size: 13px !important;
        padding: 5px 8px !important;
    }

    .thank-you-box {
        padding: 36px 16px;
    }

    .thank-you-icon {
        width: 68px;
        height: 68px;
        margin-bottom: 20px;
    }

    .thank-you-icon svg {
        width: 36px;
        height: 36px;
    }

    .thank-you-title {
        font-size: 22px !important;
    }

    .thank-you-text {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .thank-you-steps {
        gap: 10px;
        margin-bottom: 24px;
    }

    .thank-you-step {
        padding: 12px 16px;
        font-size: 14px;
    }

    .thank-you-num {
        width: 26px;
        height: 26px;
        min-width: 26px;
        font-size: 12px;
    }

    .thank-you-sub {
        font-size: 13px;
    }
}

/* ===== RESPONSIVE — SMALL MOBILE ===== */
@media (max-width: 360px) {
    .form-wrapper {
        padding: 18px 12px 16px;
        border-radius: 10px;
    }

    .form-step h2 {
        font-size: 20px;
    }

    .step-description {
        font-size: 13px;
    }

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .card-icon {
        padding: 12px 4px 8px;
    }

    .card-svg {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .card-svg svg {
        width: 22px;
        height: 22px;
    }

    .card-icon span {
        font-size: 11px;
    }

    .radio-ja-nein .wpcf7-radio {
        gap: 6px;
    }

    .radio-grid .wpcf7-list-item label {
        padding: 14px 8px;
        min-height: 72px;
    }

    .radio-ja-nein .wpcf7-list-item label {
        padding: 18px 10px;
        min-height: 85px;
    }

    .radio-ja-nein .wpcf7-list-item label::before {
        width: 26px;
        height: 26px;
    }

    .radio-timeline .wpcf7-list-item label {
        padding: 12px 4px;
        min-height: 72px;
    }

    .radio-timeline .wpcf7-list-item label::before {
        width: 22px;
        height: 22px;
    }

    .radio-timeline .wpcf7-list-item-label {
        font-size: 11px;
    }

    .radio-options .wpcf7-list-item label {
        padding: 16px 10px;
        min-height: 80px;
    }

    .radio-grid .wpcf7-list-item-label {
        font-size: 13px;
    }

    .anrede-row .wpcf7-list-item label {
        padding: 6px 6px;
        font-size: 12px;
    }

    button#prevBtn,
    button#nextBtn {
        min-width: 80px;
        padding: 9px 12px;
        font-size: 13px;
    }

    button#nextBtn.btn-submit {
        min-width: 110px;
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 1430px) and (min-width: 1200px){
	ul#menu-main-menu {
    display: flex;
    justify-content: center;
    gap: 11px;
}

	ul#menu-main-menu li a{
     font-size:14px;  
  }
}
