/*---------------------- Navigator ----------------------*/
/*---------------------- Online Handelsregisterauszug Start ----------------------*/
.online-left{
    width:280px;
    padding-left: 7px;
    color: #546b80;
}

.online__link{
    text-decoration: none;
    color: #A42424;
    border-bottom: 1px dotted #999999;
}

.online-left h1 {
    font-size: 20px;
    margin-bottom: 5px;
    font-weight: normal;
    margin-top: 10px
}

.online-left p {
    line-height: 180%;
    font-size: 13px;
}

.online-left > h1 > b {
    font-size: 10px; font-style: italic; display: table;margin-bottom: 10px;
}

.online-right{
    width: 300px;
    padding-left: 7px;
    color: #546b80;
    border: 3px solid #ccc;
    font-size: 13px;
}

.online-right > h2 {
    color: #546b80;
    margin-bottom: 5px;
}
/*---------------------- Online Handelsregisterauszug End ----------------------*/

.handelsregisterauszug{
    padding-left: 7px;
    color: #546b80;
    line-height: 180%;
}

.handelsregisterauszug > h1{
    font-size: 20px;
}

.handelsregisterauszug span {
    font-weight: bold;
}

/* cities of court */
.glossar_item{
    width: 220px;
    height: 170px;
    margin-top: 25px;
    margin-right: 25px;
}

#city_holder > h2{
    font-size: 20px;
    margin-bottom: 5px;
    margin-top: 10px;
}

#city_holder p {
    line-height: 180%;
    margin-top: 25px;
    font-size: 13px;
}

.amtsgericht-sub{
    font-style: italic;
    font-size: 13px;
}

.home-content{
    min-height: calc(100vh - 680px);
}
.amtsgerichte .boxes{
    flex-wrap:  wrap;
    display: flex;
}
.glossar_item{
    height: auto !important ;
    margin-top: 35px;
}
@media (max-width:425px){
    .glossar_item{
        width: 140px ;
    }
}

/*---------------------- HORIZONTAL SCROLLABLE REVIEWS - PERFECT VERSION ----------------------*/
/* Override any existing review-slider styles to make it HORIZONTAL with SQUARE boxes */

div.review-slider {
    width: 100%;
    margin: 60px auto 50px auto;
    overflow: hidden;
}

div.review-slider h3 {
    font-weight: 700;
    display: block;
    text-align: center;
    color: #577998;
    margin-bottom: 20px;
}

div.review-slider .vorsicht-content {
    text-align: justify;
    text-align-last: center;
    font-size: 14px;
    margin: 20px auto 50px auto;
    line-height: 1.5em;
    color: #555;
}

div.review-slider .text-center {
    text-align: center;
    margin-bottom: 30px;
}

/* HORIZONTAL SCROLL CONTAINER */
div.review-slider .swiper-container {
    width: 100%;
    height: auto;
    margin-top: 40px;
    overflow: visible !important;
    padding: 20px 0 40px 0;
}

/* SWIPER WRAPPER - HORIZONTAL ROW */
div.review-slider .swiper-wrapper {
    display: flex !important;
    flex-direction: row !important;  /* HORIZONTAL - NOT VERTICAL */
    align-items: stretch !important;
}

/* SQUARE BOX CARDS - SIDE BY SIDE */
div.review-slider .swiper-slide {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;

    /* SQUARE DIMENSIONS */
    width: 280px !important;
    height: 280px !important;
    min-height: 280px !important;
    max-height: 280px !important;
    flex-shrink: 0 !important;  /* Prevent squashing */

    /* CARD STYLING */
    background: #ffffff;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* HOVER EFFECT */
div.review-slider .swiper-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    border-color: #f6ce2b;
}

/* QUOTE ICON */
div.review-slider .swiper-slide::before {
    content: "\201C";  /* Left quote mark */
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 60px;
    color: #f6ce2b;
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

/* CUSTOMER NAME */
div.review-slider .swiper-slide strong {
    display: block !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    color: #0b2b39 !important;
    margin-bottom: 12px !important;
    padding-top: 10px;
    z-index: 2;
    position: relative;
}

/* STARS IMAGE */
div.review-slider .swiper-slide img {
    display: block !important;
    margin: 0 0 15px 0 !important;
    max-width: 120px !important;
    height: auto !important;
    z-index: 2;
    position: relative;
}

/* REVIEW TEXT */
div.review-slider .swiper-slide p {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.6em !important;
    color: #577998 !important;
    margin: 0 !important;
    flex-grow: 1;
    overflow-y: auto;
    z-index: 2;
    position: relative;
}

/* PAGINATION DOTS */
div.review-slider .swiper-pagination {
    margin-top: 30px !important;
    position: static !important;
    text-align: center !important;
}

div.review-slider .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #ccc;
    opacity: 1;
    margin: 0 6px;
}

div.review-slider .swiper-pagination-bullet-active {
    background: #f6ce2b;
    transform: scale(1.2);
}

/* NAVIGATION ARROWS - OPTIONAL */
div.review-slider .swiper-button-next,
div.review-slider .swiper-button-prev {
    color: #f6ce2b !important;
    transform: scale(0.7);
    top: 50% !important;
    margin-top: -50px;
}

div.review-slider .swiper-button-next:after,
div.review-slider .swiper-button-prev:after {
    font-size: 35px;
    font-weight: bold;
}

/* MOBILE RESPONSIVE */
@media screen and (max-width: 768px) {
    div.review-slider .swiper-slide {
        width: 250px !important;
        height: 250px !important;
        min-height: 250px !important;
        max-height: 250px !important;
        padding: 20px;
    }

    div.review-slider .swiper-slide strong {
        font-size: 14px !important;
    }

    div.review-slider .swiper-slide p {
        font-size: 13px !important;
    }
}

@media screen and (max-width: 425px) {
    div.review-slider .swiper-slide {
        width: 220px !important;
        height: 220px !important;
        min-height: 220px !important;
        max-height: 220px !important;
        padding: 18px;
    }

    div.review-slider .swiper-slide::before {
        font-size: 40px;
    }

    div.review-slider .swiper-slide strong {
        font-size: 13px !important;
        margin-bottom: 8px !important;
    }

    div.review-slider .swiper-slide img {
        max-width: 100px !important;
        margin-bottom: 10px !important;
    }

    div.review-slider .swiper-slide p {
        font-size: 12px !important;
        line-height: 1.5em !important;
    }
}

/* ENSURE HORIZONTAL SCROLL ON TOUCH DEVICES */
div.review-slider .swiper-container-horizontal {
    touch-action: pan-y !important;
}
/*---------------------- END HORIZONTAL SCROLLABLE REVIEWS ----------------------*/

/*---------------------- IMPROVED TYPOGRAPHY FOR DOCUMENTS & SHIPPING ----------------------*/

/* Documents Section Title */
.title.subtitle {
    background: linear-gradient(135deg, #577998 0%, #0b2b39 100%);
    color: white !important;
    padding: 12px 20px !important;
    border-radius: 8px !important;
    margin: 25px 0 20px 0 !important;
    font-size: 16px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.title.subtitle strong {
    font-weight: 700 !important;
    font-size: 16px !important;
    letter-spacing: 0.3px;
}

/* Product Items Container */
.form-wrapper.product-item {
    background: #fafbfc;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
}

/* Individual Document/Shipping Checkbox Items */
.checkbox.product-item,
.checkbox {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 14px 16px !important;
    margin: 8px 0 !important;
    background: white !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 6px !important;
    transition: all 0.2s ease !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05) !important;
    pointer-events: auto !important;
}

.checkbox.product-item:hover,
.checkbox:hover {
    border-color: #f6ce2b !important;
    box-shadow: 0 2px 8px rgba(246, 206, 43, 0.15) !important;
    transform: translateX(2px);
}

/* Document Labels */
.checkbox.product-item > div:first-child label,
.checkbox > div:first-child label {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #0b2b39 !important;
    line-height: 1.4 !important;
    margin: 0 !important;
    flex: 1;
    padding-right: 15px;
    pointer-events: none !important;
}

/* Price Display */
.checkbox.product-item > div:last-child,
.checkbox > div:last-child {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    white-space: nowrap;
    pointer-events: none !important;
}

.checkbox.product-item > div:last-child strong,
.checkbox > div:last-child strong {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #577998 !important;
    min-width: 120px;
    text-align: right;
    padding: 6px 12px;
    background: #f0f4f8;
    border-radius: 4px;
    pointer-events: none !important;
}

/* First Item (Base Price) - Special Styling */
.checkbox.product-item:first-of-type > div:last-child strong {
    background: linear-gradient(135deg, #f6ce2b 0%, #f5b800 100%) !important;
    color: #0b2b39 !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    padding: 8px 16px !important;
    box-shadow: 0 2px 6px rgba(246, 206, 43, 0.3);
}

/* Checkbox Styling */
.checkbox input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    cursor: pointer !important;
    accent-color: #f6ce2b;
    margin: 0 !important;
    pointer-events: auto !important;
    z-index: 10 !important;
    position: relative !important;
}

.checkbox input[type="checkbox"]:disabled {
    cursor: not-allowed !important;
    opacity: 0.6;
    pointer-events: none !important;
}

/* Versandart Section Styling */
.checkbox:has(label:only-child) {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 8px 0 !important;
    margin: 20px 0 10px 0 !important;
    pointer-events: none;
}

.checkbox:has(label:only-child) label {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #0b2b39 !important;
}

/* Expressversand Highlight */
.checkbox strong:contains("Expressversand"),
.checkbox strong {
    position: relative;
}

.checkbox:has(strong:contains("Expressversand")) {
    border-color: #ffc107 !important;
    background: linear-gradient(to right, #fff9e6 0%, white 100%) !important;
}

.checkbox:has(strong:contains("Expressversand")) strong {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%) !important;
    color: white !important;
}

/* Free Shipping Highlight */
.checkbox:has(strong:contains("kostenlos")) {
    border-color: #4caf50 !important;
    background: linear-gradient(to right, #e8f5e9 0%, white 100%) !important;
}

.checkbox:has(strong:contains("kostenlos")) strong {
    background: linear-gradient(135deg, #4caf50 0%, #388e3c 100%) !important;
    color: white !important;
    font-size: 14px !important;
}

/* Mobile Responsive Typography */
@media screen and (max-width: 768px) {
    .checkbox.product-item,
    .checkbox {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px !important;
        padding: 12px !important;
    }

    .checkbox.product-item > div:first-child label,
    .checkbox > div:first-child label {
        font-size: 13px !important;
        padding-right: 0 !important;
    }

    .checkbox.product-item > div:last-child,
    .checkbox > div:last-child {
        width: 100% !important;
        justify-content: space-between !important;
    }

    .checkbox.product-item > div:last-child strong,
    .checkbox > div:last-child strong {
        font-size: 14px !important;
        min-width: auto;
        flex: 1;
    }

    .title.subtitle {
        font-size: 14px !important;
        padding: 10px 15px !important;
    }

    .form-wrapper.product-item {
        padding: 15px;
    }
}

/* Total Price Section Enhancement */
.form-wrapper.product-item .total {
    background: linear-gradient(135deg, #0b2b39 0%, #577998 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 8px;
    text-align: center;
    margin-top: 25px;
    box-shadow: 0 4px 12px rgba(11, 43, 57, 0.2);
}

.form-wrapper.product-item .total strong {
    font-size: 24px !important;
    font-weight: 800 !important;
    color: #f6ce2b !important;
    display: block;
    margin-bottom: 8px;
}

.form-wrapper.product-item .total span {
    font-size: 13px !important;
    color: rgba(255,255,255,0.9) !important;
    font-weight: 500 !important;
}

.form-wrapper.product-item .total #total-price {
    color: #f6ce2b !important;
    font-size: 28px !important;
}

/*---------------------- END IMPROVED TYPOGRAPHY ----------------------*/

/*---------------------- MODERN LOADING STATES FOR SUBMIT BUTTONS ----------------------*/
/* Simple loading state for input submit buttons */
input.btn-submit:disabled,
button.form-submit:disabled {
    cursor: not-allowed !important;
}

/*---------------------- END MODERN LOADING STATES ----------------------*/
