/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */
/* === Full Width Testimonial Slider Block === */
.ronald-testimonials-fullwidth {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100vw;
    max-width: 100%;
    min-height: 520px;
    background: linear-gradient(90deg, #f6f9fa 60%, #fff 100%);
}

/* === Left Branding Side === */
.rtw-left {
    flex: 1 1 340px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 320px;
    background: #1c244b;
    color: #fff;
    padding: 4rem 2rem;
}

.rtw-brand {
    text-align: center;
}

.rtw-brand-img {
    max-width: 110px;
    margin-bottom: 1.5rem;
}

.rtw-claim {
    font-size: 2.3em;
    margin-bottom: .9em;
    font-weight: 800;
    letter-spacing: -1px;
	color:#fff;
}

.rtw-desc {
    font-size: 1.16em;
    opacity: .92;
}

/* === Right Testimonial Slider Side === */
.rtw-right {
    flex: 2 1 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 350px;
    padding: 2.5rem 1.5rem;
    background: #fff;
}

/* === Slider Container === */
.rtw-slider-container {
    width: 100%;
    min-height: 420px;
    position: relative;
    height: 100%;
}

/* === Slider and Slides === */
.rtw-slider {
    position: relative;
    height: 100%;
    overflow: hidden;
}

.rtw-slide {
    min-height: 300px;
    padding: 1.5rem 1.2rem 1.2rem 1.2rem;
    font-size: 1.27em;
    background: #f6f9fa;
    border-radius: 22px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.11);
    text-align: center;
    display: none;
    opacity: 0;
    transition: opacity 0.5s;
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

.rtw-slide.active {
    display: flex;
    opacity: 1;
    position: relative;
    z-index: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* === Quote Icon & Text === */
.rtw-quote-icon {
    margin-bottom: 1em;
    width: 56px;
    height: 56px;
}

.rtw-quote p {
    margin: 0 0 1.5em 0;
    font-size: 0.8em;
    color: #222;
    line-height: 1.5;
    font-style: italic;
}

/* === Author Section === */
.rtw-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2em;
    margin-top: 1.5em;
}

.rtw-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 14px rgba(0, 115, 170, 0.14);
    border: 2.5px solid #1c244b;
}

.rtw-author-name {
    font-weight: 700;
    color: #1c244b;
    font-size: 1.2em;
    letter-spacing: 0.5px;
}

/* === Slider Controls === */
.rtw-slider-controls {
    position: absolute;
    bottom: 0%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 2em;
    pointer-events: auto;
}

.rtw-slider-controls button {
    background: #1c244b;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    font-size: 2em;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 115, 170, 0.11);
    transition: background .2s, box-shadow .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}


.rtw-slider-controls button:hover {
    background: #005177;
    box-shadow: 0 4px 16px rgba(0, 115, 170, 0.18);
}

/* Kontakt */
.rtw-form {
    max-width: 470px;
    margin: 2.5em auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 115, 170, 0.13);
    padding: 2.2em 2em 2em 2em;
    font-family: 'Segoe UI', 'Arial', sans-serif;
}

.rtw-form-title {
    text-align: center;
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 2em;
    color: #1c244b;
}

.rtw-form-title span {
    font-size: 1.4em;
    vertical-align: middle;
}

.rtw-form-group {
    margin-bottom: 1.2em;
}

.rtw-form-label {
    display: block;
    margin-bottom: .5em;
    font-weight: 500;
    color: #333;
}

.rtw-form-input,
.rtw-form-select,
.rtw-form-textarea {
    width: 100%;
    padding: .8em;
    border: 1.5px solid #d4eaf5;
    border-radius: 7px;
    font-size: 1em;
    background: #f8fcfd;
    transition: border-color .2s;
    box-sizing: border-box;
}

.rtw-form-input:focus,
.rtw-form-select:focus,
.rtw-form-textarea:focus {
    border-color: #1c244b;
    outline: none;
    background: #fff;
}

.rtw-form-textarea {
    min-height: 90px;
    resize: vertical;
}

.rtw-form-btn {
    display: block;
    width: 100%;
    background: linear-gradient(90deg, #1c244b 65%, #42caff 100%);
    color: #fff;
    font-weight: 700;
    font-size: 1.15em;
    border: none;
    border-radius: 8px;
    padding: 1em;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 115, 170, 0.12);
    margin-top: 1em;
    transition: background .2s;
}

.rtw-form-btn:hover {
    background: linear-gradient(90deg, #005177 65%, #1c244b 100%);
}

.rtw-form-success {
    background: #e7f9f1;
    color: #18a561;
    border: 1.5px solid #a3e6c7;
    border-radius: 7px;
    padding: .8em 1em;
    margin-bottom: 1.4em;
    text-align: center;
    font-weight: 500;
}

.rtw-form-error {
    background: #fff2f2;
    color: #d30000;
    border: 1.5px solid #ffd7d7;
    border-radius: 7px;
    padding: .8em 1em;
    margin-bottom: 1.4em;
    text-align: center;
    font-weight: 500;
}

/* === Responsive Styles === */
@media (max-width: 900px) {
    .ronald-testimonials-fullwidth {
        flex-direction: column;
        min-height: 0;
    }

    .rtw-left,
    .rtw-right {
        min-width: unset;
        padding: 2rem 1rem;
    }

    .rtw-slider-container {
        max-width: 100%;
        min-height: 260px;
    }

    .rtw-slider {
        height: auto;
    }

    .rtw-slide {
        padding: 1.2rem .5rem;
        font-size: 1em;
        min-height: 240px;
    }

    .rtw-quote p {
        font-size: 1em;
    }

    .rtw-avatar {
        width: 42px;
        height: 42px;
    }

    .rtw-slider-controls button {
        width: 36px;
        height: 36px;
        font-size: 1.3em;
    }

    .rtw-brand-img {
        max-width: 70px;
    }

    .rtw-claim {
        font-size: 1.4em;
    }

    /*     Kontakt */
    .rtw-form {
        padding: 1em .5em;
    }

    .rtw-form-title {
        font-size: 1.1em;
    }
	.rtw-slider-controls{
		bottom:-20%;
	}
}
