/* ==========================================================================
   NACHSENDEAUFTRAG - PIXEL PERFECT DESIGN
   ========================================================================== */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #fffae5;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
    margin-top: 10px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.header-top {
    background: url('../pic/header-bg.png') center center;
    background-size: cover;
    padding: 10px 0;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.headerlogo {
    height: 50px;
    width: auto;
}

.header-dropdowns {
    display: flex;
    gap: 15px;
}

.dropdown-btn {
    background: transparent;
    border: none;
    color: #8B4513;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.dropdown-btn .arrow {
    font-size: 9px;
    margin-left: 4px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    background-image: url('../pic/banner-bg-updated-new-up.webp');
    background-size: cover;
    /* background-position: center center; */
    /* background-position: bottom;
    background-repeat: no-repeat; */
    min-height: 120vh;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding-top: 80px;
    margin-top:-50px;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.mailbox-container {
    flex: 0 0 auto;
}

.briefkasten {
    width: 180px;
    height: auto;
}

.hero-text {
    flex: 1;
}

.hero-title {
    color: #fff;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* ==========================================================================
   FORM BOX
   ========================================================================== */

/* Hide mobile title by default */
.mobile-title {
    display: none;
}

.mobile-layout {
    display: none;
}

.form-section-wrapper {
    position: absolute;
    bottom: 5vh;
    left: 0;
    right: 0;
    z-index: 10;
    padding: 0 20px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
}

.form-section-wrapper .row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    margin: 0;
}

.form-section-wrapper .col-md-8 {
    width: 70%;
    padding-right: 20px;
    padding-left: 0;
}

.form-section-wrapper .col-md-4 {
    width: 30%;
    padding-right: 0;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: end;
    min-height: 500px;
}

.form-box {
    background: linear-gradient(180deg, #fff8e1 0%, #ffd966 100%);
    border-radius: 12px;
    border: 2px solid #f6d243;
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    padding: 0;
    width: 100%;
    overflow: hidden;
    margin: 0;
}

/* Tab Navigation */
.tab-navigation {
    display: flex;
    background: transparent;
    border-bottom: 2px solid #f6d243;
}

.tab-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 18px 24px;
    background: #ffc933;
    border-right: 1px solid #f6d243;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.tab-item:last-child {
    border-right: none;
}

.tab-item.active {
    background: linear-gradient(180deg, #fff8e1 0%, #ffd966 100%);
    border-bottom: 3px solid #ffb300;
}

.tab-item:hover {
    background: #ffb300;
}

.tab-icon {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tab-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.tab-text {
    font-size: 18px;
    font-weight: 600;
}

/* Form Content */
.form-content {
    padding: 20px 25px 20px;
    background: linear-gradient(180deg, #fff8e1 0%, #ffd966 100%);
}

.form-group-section {
    margin-bottom: 24px;
}

/* Start Options Styling */
.start-options {
    display: flex;
    gap: 10px;
}

.start-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 16px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 52px;
}

.start-option.active {
    background: #ffc933;
    border-color: #ffb300;
    box-shadow: 0 2px 6px rgba(255, 201, 51, 0.4);
}

.start-option.active .start-check {
    display: inline-block;
    color: #333;
    font-weight: bold;
    font-size: 16px;
}

.start-option.active .start-text {
    color: #333;
    font-weight: 600;
}

.start-option:not(.active) .start-check {
    display: none;
}

.start-option:not(.active) {
    background: #f5f5f5;
    border-color: #ccc;
}

.start-option .start-icon {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.start-option .start-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
}

.start-option .start-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.start-option.active .start-icon svg {
    stroke: #333;
}

.sofort-date {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.9;
    display: block;
    margin-top: 2px;
}

.start-option:hover:not(.active) {
    border-color: #999;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Grund Options Styling */
.grund-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.grund-option {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 52px;
}

.grund-option.active {
    background: #fff8f0;
    border-color: #8b7355;
    box-shadow: 0 2px 6px rgba(139, 115, 85, 0.2);
}

.grund-option:hover {
    border-color: #8b7355;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.grund-icon {
    font-size: 18px;
    margin-right: 10px;
    filter: grayscale(0);
    display: flex;
    align-items: center;
    justify-content: center;
}

.grund-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.grund-text {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.grund-option.active .grund-text {
    font-weight: 600;
    color: #000;
}

.grund-checkbox-label {
    display: flex;
    align-items: center;
    width: 100%;
    cursor: pointer;
    margin: 0;
}

.grund-checkbox {
    font-size: 22px;
    margin-right: 12px;
    color: #666;
    display: inline-block;
    width: 22px;
    text-align: center;
}

/* Submit Button */
.form-submit-section {
    padding: 10px 25px 15px;
    border-top: 2px solid #f6d243;
    background: #ffd966;
}

.btn-submit {
    width: 100%;
    background: #d32f2f;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    padding: 16px 30px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.4);
    transition: all 0.3s;
    text-transform: none;
}

.btn-submit:hover {
    background: #b71c1c;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.6);
    transform: translateY(-2px);
}

/* New Features Bar */
.features-bar-new {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 12px 30px;
    background: #fff8e1;
    border-top: 2px solid #f6d243;
}

.feature-item-new {
    display: flex;
    align-items: center;
    gap: 6px;
}

.feature-icon {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.feature-text {
    font-size: 11px;
    font-weight: 600;
    color: #333;
}

.form-label {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    display: block;
}

.radio-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.radio {
    margin: 0 0 6px 0;
}

.radio label {
    display: flex;
    align-items: center;
    cursor: pointer;
    margin: 0;
    font-size: 13px;
    color: #000;
}

.radio input[type="radio"] {
    margin: 0 8px 0 0;
    cursor: pointer;
    width: 16px;
    height: 16px;
    accent-color: #000;
}

.date-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #999;
    border-radius: 4px;
    font-size: 13px;
    background: #e8e8e8;
    color: #333;
}

.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #999;
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
    color: #000;
}

/* ==========================================================================
   FEATURES BAR
   ========================================================================== */

.features-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 15px 0 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    font-size: 11px;
    color: #000;
}

.feature-item .checkmark {
    color: #28a745;
    font-weight: 900;
    margin-right: 5px;
    font-size: 14px;
}

.footer-inside{
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* ==========================================================================
   BUTTON AND FOOTER SECTION (RIGHT SIDE)
   ========================================================================== */

.cta-button-container {
    display: none; /* Hide the right column button on desktop, we now have the button inside the form */
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    padding: 0 20px;
}

.btn-cta {
    background: #d32f2f;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    padding: 16px 30px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(211, 47, 47, 0.5);
    transition: all 0.2s;
    width: 100%;
    display: block;
    margin-bottom: 15px;
}

.btn-cta:hover {
    background: #b71c1c;
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.6);
    transform: translateY(-2px);
}

.footer-links-inline {
    text-align: center;
    margin-top: 8px;
}

.footer-links-inline a {
    color: #fff;
    text-decoration: none;
    font-size: 10px;
    padding: 0 3px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.footer-links-inline a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   PRICING INFO
   ========================================================================== */

.pricing-info-section {
    background: #e29b1f;
    padding: 40px 0;
    margin: 0;
    width: 100%;
}

.pricing-info {
    text-align: center;
    padding: 15px 30px;
    margin: 0 auto;
    max-width: 1200px;
    /* background: rgba(255, 255, 255, 0.95); */
    /* border-radius: 8px; */
    /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
}

.pricing-info p {
    font-size: 14px;
    color: #333;
    line-height: 1.6;
    margin: 0;
}

.pricing-info .info-dot {
    color: #d32f2f;
    margin-right: 4px;
    font-size: 11px;
}

/* ==========================================================================
   DARK FOOTER BAR
   ========================================================================== */

.dark-footer {
    background: #2b2b2b;
    padding: 15px 0;
    width: 100%;
    position: relative;
    margin-top: 0;
    z-index: 1;
}

.footer-links {
    text-align: center;
    padding: 8px 0;
    margin: 0;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
    font-size: 13px;
    padding: 0 5px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.dark-footer .text-center {
    margin-top: 8px;
}

.dark-footer .small {
    font-size: 10px;
    line-height: 1.5;
}



/* ==========================================================================
   HIDDEN ELEMENTS
   ========================================================================== */

#ArtenGewerbe {
    display: none;
}

#DatumAbwesenheitBis {
    display: none;
}

.sofort-badge {
    background: #ffeb99;
    padding: 2px 5px;
    border-radius: 3px;
}

.select-label {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 8px;
    display: block;
}

/* ==========================================================================
   RESPONSIVE - MOBILE
   ========================================================================== */

@media only screen and (max-width: 767px) {
    body {
        overflow-x: hidden;
        margin: 0;
        padding: 0;
    }
    
    .header-top {
        padding: 10px 0;
        background: #ffcc00;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 1000;
    }
    
    .header-container {
        padding: 0 15px;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .headerlogo {
        height: 22px;
    }
    
    .dropdown-btn {
        font-size: 10px;
    }
    
    .header-dropdowns {
        gap: 10px;
    }
    
    /* Hero section with background */
    /* .hero-section {
        background-image: url('../pic/mobile-bg.webp') !important;
        background-size: cover;
        background-position: center top;
        background-repeat: no-repeat;
        background-attachment: scroll;
        min-height: 100dvh;
        height: auto;
        padding: 60px 15px 30px;
        padding-top: 60px;
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
    } */
     .hero-section {
        background-image: url('../pic/new-banner-image-up-mob.webp') !important;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        min-height: 100vh;
        height: auto;
        padding: 60px 0px 35px;
        padding-top: 60px;
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin-top: 2%;
    }
    
    .mobile-layout {
        display: none;
    }
    
    .form-section-wrapper {
        position: relative;
        padding: 0 15px;
        padding-top: 20px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        left: 0;
        right: 0;
        bottom: auto;
        margin-top: 50%;
    }
    
    .container {
        padding: 0 5px;
        max-width: 100%;
        width: 100%;
        margin: 0 auto;
    }
    
    /* Mobile Title - show at top of form section */
    .mobile-title {
        display: block;
        text-align: left;
        margin-bottom: 20px;
        padding: 0;
    }
    
    .mobile-title h1 {
        font-size: 28px;
        font-weight: 700;
        color: #fff;
        line-height: 1.3;
        margin: 0;
        text-shadow: 0px 0px 40px rgba(0.6, 0.2, 0.2, 0.8);
        background: #00000047;
        padding: 10px;
        border-radius: 10px;
    }
    
    .form-section-wrapper .row {
        display: block;
        margin: 0;
    }
    
    .form-section-wrapper .col-md-8,
    .form-section-wrapper .col-md-4 {
        width: 100%;
        padding: 0;
        margin-bottom: 0;
        min-height: auto;
    }
    
    .form-section-wrapper .col-md-4 {
        margin-top: 15px;
        position: static;
    }
    
    .form-box {
        padding: 0;
        border-radius: 12px;
        border: none;
        background: #fff;
        box-shadow: 0 6px 20px rgba(0,0,0,0.25);
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .tab-navigation {
        flex-direction: row;
        background: #fff;
        border-radius: 0;
        border-bottom: 2px solid #e0e0e0;
    }
    
    .tab-item {
        font-size: 12px;
        padding: 12px 10px;
        font-weight: 600;
        border-bottom: 3px solid transparent;
    }
    
    .tab-item.active {
        background: #fff;
        border-bottom: 3px solid #ffcc00;
        color: #000;
    }
    
    .tab-icon {
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .tab-icon svg {
        width: 14px;
        height: 14px;
        stroke: currentColor;
    }
    
    .tab-text {
        font-size: 11px;
    }
    
    .tab-icon {
        font-size: 16px;
    }
    
    .tab-text {
        font-size: 11px;
    }
    
    .form-content {
        padding: 15px;
        background: #fff;
    }
    
    .form-box .row {
        display: block;
        margin: 0;
    }
    
    .form-box .col-sm-6 {
        width: 100%;
        padding: 0;
        margin-bottom: 15px;
    }
    
    .form-box .col-sm-6:last-child {
        margin-bottom: 0;
    }
    
    .form-group-section {
        margin-bottom: 15px;
    }
    
    .form-group-section:last-child {
        margin-bottom: 0;
    }
    
    .form-label {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 8px;
        color: #333;
    }
    
    .start-options {
        flex-direction: column;
        gap: 8px;
    }
    
    .start-option {
        padding: 12px 15px;
        border-radius: 6px;
        font-size: 13px;
        width: 100%;
    }
    
    .start-option.active {
        background: #ffcc00;
        border: 2px solid #ffcc00;
    }
    
    .start-option .start-text {
        font-size: 13px;
    }
    
    .sofort-date {
        font-size: 10px;
    }
    
    .grund-option {
        padding: 12px 15px;
        font-size: 13px;
    }
    
    /* Trust badges box */
    .trust-badges-box {
        margin: 10px 15px;
        padding: 0px !important;
        /* background: rgba(237, 232, 232, 0.9); */
    }
    
    .trusted-badge-icon {
        max-height: 50px;
    }
    
    .form-submit-section {
        padding: 0 15px 15px;
        background: #fff;
        border-top: none;
    }
    
    .btn-submit {
        font-size: 15px;
        padding: 14px 20px;
        width: 100%;
        background: #d32f2f;
        color: #fff;
        border: none;
        border-radius: 6px;
        font-weight: 700;
    }
    
    .features-bar-new {
        padding: 12px 15px;
        flex-wrap: wrap;
        gap: 8px;
        background: #fff;
        border-radius: 0 0 10px 10px;
        justify-content: center;
    }
    
    .feature-item-new {
        font-size: 10px;
        flex: 0 0 auto;
    }
    
    .feature-icon svg {
        width: 14px;
        height: 14px;
    }
    
    .feature-text {
        font-size: 10px;
    }
    
    .radio-options {
        gap: 8px;
    }
    
    .radio {
        margin-bottom: 6px;
    }
    
    .radio label {
        font-size: 12px;
    }
    
    .radio input[type="radio"] {
        width: 16px;
        height: 16px;
    }
    
    .form-control,
    select.form-control {
        font-size: 13px;
        padding: 10px 12px;
        width: 100%;
        border: 1px solid #ddd;
        border-radius: 6px;
        background: #fff;
    }
    
    /* Trusted partner responsive - show after form */
    .cta-button-container {
        display: none;
    }
    
    .trusted-partner-box {
        position: relative !important;
        margin: 20px auto 0;
        padding: 20px;
        width: 100%;
        max-width: 100%;
    }
    
    .trusted-partner-image {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }
    
    /* Pricing info */
    .pricing-info-section {
        padding: 20px 15px;
        background: #e29b1f;
        margin: 0;
        width: 100%;
    }
    
    .pricing-info {
        padding: 15px;
        margin: 0 auto;
        text-align: center;
        /* background: rgba(255, 255, 255, 0.95);
        border-radius: 10px; */
        max-width: 100%;
    }
    
    .pricing-info p {
        font-size: 11px;
        line-height: 1.6;
        color: #333;
        margin: 0;
    }
    
    .pricing-info .info-dot {
        font-size: 12px;
        color: #dc3545;
    }
    
    .footer-links-inline {
        display: none;
    }
    
    .dark-footer {
        background: #2b2b2b;
        padding: 20px 0;
        margin-top: 20px;
    }
    
    .footer-links {
        text-align: center;
        padding: 5px 0;
    }
    
    .footer-links a {
        color: #fff;
        font-size: 11px;
        margin: 0 3px;
        padding: 0 3px;
        display: inline-block;
    }
    
    .dark-footer .small {
        font-size: 10px;
        line-height: 1.6;
        padding: 0 10px;
    }
    
    #AbWannDatum select,
    #DatumAbwesenheitBis select {
        font-size: 13px;
        padding: 10px 12px;
    }
    
    .select-label {
        font-size: 13px;
        font-weight: 600;
    }
    
    .small {
        font-size: 10px;
    }
    
    .sofort-badge {
        font-size: 13px;
    }
    
    #AbWannDatum,
    #DatumAbwesenheitBis {
        margin-top: 10px;
    }
    .box-main {
        margin-top: 20% !important;
    }
}
    
    .radio label {
        font-size: 11px;
    }
    
    .radio {
        margin-bottom: 8px;
    }
    
    .radio input[type="radio"] {
        width: 14px;
        height: 14px;
    }
    
    .form-control,
    .date-input {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .cta-button-container {
        padding: 0;
        justify-content: flex-start;
        width: 100%;
    }
    
    .btn-cta {
        width: 100%;
        font-size: 15px;
        font-weight: 700;
        padding: 16px 20px;
        border-radius: 8px;
        margin-bottom: 10px;
    }
    
    .features-bar {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px;
        margin: 12px 0 8px;
        justify-content: space-between;
    }
    
    .feature-item {
        font-size: 9px;
        flex: 0 0 auto;
    }
    
    .feature-item .checkmark {
        font-size: 11px;
    }
    
    .pricing-info {
        padding: 10px 12px 8px;
        margin: 10px 0 0;
    }
    
    .pricing-info p {
        font-size: 12px;
        line-height: 1.3;
    }
    
    .pricing-info .info-dot {
        font-size: 9px;
    }
    
    .footer-links-inline {
        margin-top: 10px;
        text-align: center;
    }
    
    .footer-links-inline a {
        font-size: 8px;
        display: inline-block;
        padding: 2px 3px;
    }
    
    /* Hide date dropdown initially on mobile */
    #AbWannDatum {
        margin-top: 6px;
    }
    
    #AbWannDatum select {
        font-size: 10px;
    }
    
    #DatumAbwesenheitBis select {
        font-size: 10px;
    }
    
    .select-label {
        font-size: 10px;
    }
    
    .small {
        font-size: 9px;
    }
    
    .sofort-badge {
        font-size: 11px;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    
    .feature-item {
        font-size: 10px;
    }
    
    .pricing-info {
        padding: 10px 15px 8px;
    }
    
    .pricing-info p {
        font-size: 9px;
    }
    
    .footer-links-inline {
        margin-top: 10px;
    }
    
    .footer-links-inline a {
        font-size: 10px;
    }
    
    .dark-footer {
        padding: 18px 0;
    }
    
    .footer-links a {
        margin: 0 4px;
        font-size: 12px;
        padding: 0 4px;
    }
    
    .dark-footer .small {
        font-size: 11px;
        line-height: 1.5;
    }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
    .container {
        max-width: 750px;
    }
    
    .header-top {
        padding: 12px 0;
    }
    
    .headerlogo {
        height: 32px;
    }
    
    .hero-section {
        min-height: 80vh;
        padding-top: 70px;
    }
    
    .form-section-wrapper {
        bottom: 5vh;
        left: 2%;
        right: 2%;
    }
    
    .form-section-wrapper .row {
        flex-direction: column;
    }
    
    .form-section-wrapper .col-sm-7,
    .form-section-wrapper .col-sm-5 {
        width: 100%;
        max-width: 100%;
        position: static;
    }
    
    .form-box {
        padding: 18px 20px 16px;
        margin-bottom: 15px;
    }
    
    .cta-button-container {
        justify-content: flex-start;
    }
    
    .btn-cta {
        font-size: 16px;
        padding: 14px 25px;
    }
    
    /* Trusted partner responsive for tablet */
    .trusted-partner-box {
        position: static;
        margin-top: 15px;
        padding: 15px;
        max-width: 100%;
    }
    
    .trusted-partner-image {
        width: 100%;
        max-width: 220px;
    }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
    
    .headerlogo {
        height: 45px;
    }
    
    .hero-section {
        padding-top: 75px;
    }
    
    .form-section-wrapper {
        bottom: 5vh;
        left: 2%;
        right: 2%;
    }
    
    .form-box {
        padding: 20px 25px 18px;
    }
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
    .container {
        max-width: 1170px;
    }
    
    .form-section-wrapper {
        bottom: 5vh;
        left: 2%;
        right: 2%;
    }
}

@media only screen and (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .form-section-wrapper {
        margin-top: -5vh;
        bottom: 5vh;
        /* left: 2%; */
        right: 2%;
        top: 55%;
    }
}

/* Trust Badges Box */
.trust-badges-box {
    /* background-color: #ede8e8; */
    padding: 0px;
    margin: 15px 0;
    border-radius: 4px;
    text-align: center;
}

.trusted-badge-icon {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

/* Trusted Partner Box */
.trusted-partner-box {
    position: relative;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 100%;
    max-width: 280px;
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.trusted-partner-image {
    width: 80%;
    height: auto;
    object-fit: contain;
}

@media only screen and (max-width: 430px) and (min-height: 900px) {
    .hero-section {
        background-position: center top;
        background-size: contain;
        min-height: 100dvh;
    }
}

/* ==========================================================================
   TABLET RESPONSIVE CSS - iPad & Tablet Devices (Mobile Layout)
   Using same layout as 540x720 mobile view for all tablets
   Breakpoints: 768px - 1366px (Portrait & Landscape)
   ========================================================================== */

/* ALL TABLETS - Portrait & Landscape (768px - 1366px) */
@media only screen and (min-width: 768px) and (max-width: 1366px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
        margin: 0 auto;
    }
    
    .header-top {
        padding: 12px 0;
    }
    
    .headerlogo {
        height: 40px;
    }
    
    .hero-section {
        background-image: url('../pic/banner-bg-updated-new-up.webp') !important;
        background-size: 100% auto;
        background-position: top center;
        background-repeat: no-repeat;
        background-attachment: scroll;
        min-height: 100vh;
        height: auto;
        padding: 60px 0px 35px;
        padding-top: 60px;
        position: relative;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        margin-top: 0%;
    }
    
    .hero-content {
        display: none;
    }
    
    /* Mobile-style form positioning */
    .form-section-wrapper {
        position: relative;
        padding: 0 15px;
        padding-top: 20px;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        left: 0;
        right: 0;
        bottom: auto;
        margin-top: 25%;
    }
    
    /* Mobile Title - show at top */
    .mobile-title {
        display: block;
        text-align: left;
        margin-bottom: 20px;
        padding: 0;
    }
    
    .mobile-title h1 {
        font-size: 32px;
        font-weight: 700;
        color: #fff;
        line-height: 1.3;
        margin: 0;
        text-shadow: 0px 0px 40px rgba(0.6, 0.2, 0.2, 0.8);
        background: #00000047;
        padding: 15px;
        border-radius: 10px;
    }
    
    .form-section-wrapper .row {
        display: block;
        margin: 0;
    }
    
    .form-section-wrapper .col-md-8,
    .form-section-wrapper .col-md-4 {
        width: 100%;
        padding: 0;
        margin-bottom: 0;
        min-height: auto;
    }
    
    .form-section-wrapper .col-md-4 {
        margin-top: 15px;
        position: static;
    }
    
    .form-box {
        padding: 0;
        border-radius: 12px;
        border: none;
        background: #fff;
        box-shadow: 0 6px 20px rgba(0,0,0,0.25);
        overflow: hidden;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .tab-navigation {
        flex-direction: row;
        background: #fff;
        border-radius: 0;
        border-bottom: 2px solid #e0e0e0;
    }
    
    .tab-item {
        font-size: 14px;
        padding: 14px 12px;
        font-weight: 600;
        border-bottom: 3px solid transparent;
    }
    
    .tab-item.active {
        background: #fff;
        border-bottom: 3px solid #ffcc00;
        color: #000;
    }
    
    .tab-icon {
        font-size: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .tab-icon svg {
        width: 16px;
        height: 16px;
        stroke: currentColor;
    }
    
    .tab-text {
        font-size: 13px;
    }
    
    .form-content {
        padding: 20px;
        background: #fff;
    }
    
    .form-box .row {
        display: block;
        margin: 0;
    }
    
    .form-box .col-sm-6 {
        width: 100%;
        padding: 0;
        margin-bottom: 15px;
    }
    
    .form-box .col-sm-6:last-child {
        margin-bottom: 0;
    }
    
    .form-group-section {
        margin-bottom: 18px;
    }
    
    .form-group-section:last-child {
        margin-bottom: 0;
    }
    
    .form-label {
        font-size: 15px;
        font-weight: 600;
        margin-bottom: 10px;
        color: #333;
    }
    
    .start-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .start-option {
        padding: 14px 16px;
        border-radius: 6px;
        font-size: 14px;
        width: 100%;
        min-height: 56px;
    }
    
    .start-option.active {
        background: #ffcc00;
        border: 2px solid #ffcc00;
    }
    
    .start-option .start-text {
        font-size: 14px;
    }
    
    .sofort-date {
        font-size: 11px;
    }
    
    .grund-options {
        flex-direction: column;
        gap: 10px;
    }
    
    .grund-option {
        padding: 14px 16px;
        font-size: 14px;
        min-height: 56px;
    }
    
    .grund-text {
        font-size: 14px;
    }
    
    .date-selector {
        width: 100%;
    }
    
    .date-selector select {
        font-size: 14px;
        padding: 12px;
    }
    
    .select-label {
        font-size: 13px;
    }
    
    /* Trust badges box */
    .trust-badges-box {
        margin: 12px 15px;
        padding: 0px !important;
    }
    
    .trusted-badge-icon {
        max-height: 60px;
    }
    
    .form-submit-section {
        padding: 0 20px 20px;
        background: #fff;
        border-top: none;
    }
    
    .btn-submit {
        font-size: 16px;
        padding: 16px 24px;
        width: 100%;
        background: #d32f2f;
        color: #fff;
        border: none;
        border-radius: 6px;
        font-weight: 700;
        min-height: 50px;
    }
    
    .features-bar-new {
        padding: 15px 20px;
        flex-wrap: wrap;
        gap: 10px;
        background: #fff;
        border-radius: 0 0 10px 10px;
        justify-content: center;
    }
    
    .feature-item {
        font-size: 12px;
        gap: 6px;
    }
    
    .feature-icon svg {
        width: 16px;
        height: 16px;
    }
    
    .cta-button-container {
        padding: 15px;
        background: #fff;
        text-align: center;
        border-radius: 0 0 12px 12px;
    }
    
    .btn-cta {
        font-size: 16px;
        padding: 16px 30px;
        width: 100%;
        max-width: 100%;
        min-height: 50px;
    }
    
    .trusted-partner-box {
        position: static;
        margin: 15px auto 0;
        padding: 15px;
        max-width: 100%;
        text-align: center;
    }
    
    .trusted-partner-image {
        width: 100%;
        max-width: 280px;
    }
    
    .pricing-info {
        padding: 12px 15px;
        margin: 12px 0;
    }
    
    .pricing-info p {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .pricing-info .info-dot {
        font-size: 10px;
    }
    
    .footer-links-inline {
        margin-top: 12px;
        text-align: center;
    }
    
    .footer-links-inline a {
        font-size: 11px;
        display: inline-block;
        padding: 3px 5px;
    }
    
    .dark-footer {
        padding: 20px 0;
    }
    
    .footer-links a {
        font-size: 12px;
        margin: 0 5px;
        padding: 0 5px;
    }
    
    .dark-footer .small {
        font-size: 11px;
        line-height: 1.5;
    }
    
    /* Ensure touch-friendly hit areas */
    .tab-item,
    .start-option,
    .grund-option,
    .btn-submit,
    .btn-cta {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Smooth transitions for interactive elements */
    .tab-item:active,
    .start-option:active,
    .grund-option:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Ensure images scale properly */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Improve readability */
    body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    /* Ensure form inputs are touch-friendly */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    select {
        font-size: 16px !important;
        padding: 12px 15px;
        min-height: 44px;
    }
    
    /* Radio buttons and checkboxes */
    input[type="radio"],
    input[type="checkbox"] {
        min-width: 24px;
        min-height: 24px;
    }
    
    /* Ensure buttons are large enough */
    button,
    .btn {
        min-height: 44px;
        padding: 12px 20px;
    }
    
    /* Fix overflow issues */
    .form-content,
    .form-box {
        overflow-x: hidden;
    }
    
    /* eingaben.html form styling - mobile layout */
    .well.box-main {
        padding: 20px 25px;
        margin: 15px auto;
        max-width: 100%;
    }
    
    .box-titel {
        font-size: 24px;
        margin-bottom: 18px;
    }
    
    .section-header {
        font-size: 15px;
        padding: 10px 15px;
        margin: 20px 0 15px 0;
    }
    
    .form-row {
        display: block;
        margin-bottom: 0;
    }
    
    .form-row .col-sm-6,
    .form-row .col-sm-12 {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .form-row .col-sm-6:last-child {
        margin-bottom: 15px;
    }
    
    .form-control {
        font-size: 15px;
        padding: 12px 15px;
        min-height: 44px;
        width: 100%;
    }
    
    select.form-control {
        font-size: 15px;
        padding: 12px 15px;
    }
    
    .btn-add-person {
        font-size: 14px;
        padding: 12px 20px;
        min-height: 44px;
        width: 100%;
    }
    
    .btn-submit {
        font-size: 16px;
        padding: 16px 30px;
        min-height: 50px;
        width: 100%;
    }
    
    .additional-person {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    label {
        font-size: 14px;
        margin-bottom: 8px;
        display: block;
    }
}