/* site-specific tweaks that lived in WP "Additional CSS" */
.form-group.privacy span.wpcf7-list-item {
    margin: 0;
}
.form-group.privacy.privacy-check a {
    color: #fff;
}
span.wpcf7-not-valid-tip {
    color: #fff;
}
.cmplz-hidden {
    display: none !important;
}

/* ============ landing-page improvements (hero USPs, trust bar, steps) ============ */

/* solid primary CTA — filled variant of the theme's .btn */
.btn.btn-solid {
    background: linear-gradient(180deg, #FF2613 0%, #99170B 100%);
    color: #fff;
    border-top-color: #99170B;
    border-right-color: #99170B;
}
.btn.btn-solid:hover {
    color: #fff !important;
    background: linear-gradient(180deg, #d61f0e 0%, #7d1309 100%);
}

/* hero: benefit checklist + CTA row */
.homebanner-usplist {
    margin-top: 28px;
}
.homebanner-usplist li {
    position: relative;
    padding-left: 28px;
    font-size: 16px;
    font-weight: 500;
}
.homebanner-usplist li + li {
    margin-top: 8px;
}
.homebanner-usplist li:before {
    content: "";
    position: absolute;
    left: 3px;
    top: 4px;
    width: 7px;
    height: 13px;
    border: solid #FF2613;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.homebanner-rating {
    margin-top: 22px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}
.homebanner-rating .review-stars {
    color: #F5A623;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1;
}
.homebanner-rating a {
    color: #3C3C3C;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.homebanner-rating a:hover {
    color: #FF2613;
}
.homebanner-ctawrapper {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

/* trust bar: quick facts under the hero */
.trustbar {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 70px;
}
.trustbar-item {
    flex: 1 1 200px;
    background: #fff;
    border: 1px solid #FF2613;
    position: relative;
    z-index: 1;
    padding: 20px 24px;
}
.trustbar-item:after {
    content: "";
    position: absolute;
    top: 100%;
    right: 1px;
    width: calc(100% + 2px);
    height: 5px;
    background: linear-gradient(180deg, #FF2613 0%, #99170B 100%);
    z-index: -1;
    transform: skewX(-40deg);
}
.trustbar-item:before {
    content: "";
    position: absolute;
    top: 1px;
    right: 100%;
    height: calc(100% + 2px);
    width: 5px;
    background: linear-gradient(0deg, #FF2613 0%, #99170B 100%);
    z-index: -1;
    transform: skewY(-40deg);
}
.trustbar-number {
    font-size: 28px;
    font-weight: 700;
    color: #FF2613;
    line-height: 1.2;
}
.trustbar-label {
    font-weight: 500;
    margin-top: 4px;
}

/* "So einfach geht's" steps section */
.home-steps-section {
    padding: 100px 0;
}
.home-steps-section .steps-heading {
    text-align: center;
    margin-bottom: 60px;
}
.home-steps-section .steps-heading h2 {
    margin-bottom: 10px;
}
.steps-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}
.step-item {
    flex: 1 1 260px;
    text-align: center;
    padding: 0 10px;
}
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px solid #FF2613;
    color: #FF2613;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}
.step-item .step-title {
    font-size: 22px;
    margin-bottom: 12px;
}
.step-item p a {
    color: #99170B;
    font-weight: 600;
    white-space: nowrap;
}

@media only screen and (max-width: 991px) {
    /* the caption overlays a min-height hero image here — keep it compact */
    .homebanner-usplist {
        display: none;
    }
    .homebanner-ctawrapper {
        margin-top: 25px;
    }
    .trustbar {
        gap: 15px;
        margin-bottom: 50px;
    }
    .trustbar-item {
        flex: 1 1 45%;
        padding: 15px 18px;
    }
    .trustbar-number {
        font-size: 22px;
    }
    .home-steps-section {
        padding: 60px 0;
    }
}

@media only screen and (max-width: 575px) {
    /* caption is static below the image here — the checklist fits again */
    .homebanner-usplist {
        display: block;
    }
    .trustbar-item {
        flex: 1 1 100%;
    }
}

/* ============ Anfrage form: 3-step wizard ============ */

.step-counter {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #FF2613;
    margin-bottom: 12px;
}
.wpcf7-form.is-wizard .form-section {
    display: none;
}
.wpcf7-form.is-wizard .form-section.is-active {
    display: block;
    animation: stepfade 0.35s ease;
}
@keyframes stepfade {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}

.stepform-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.stepform-controls .stepform-next,
.stepform-controls .form-actions {
    margin-left: auto;
}
.form-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.form-reassurance {
    font-size: 12px;
    opacity: 0.75;
    margin: 0;
}

/* submit button: shell carries the theme button style, input stays plain */
.submit-shell {
    cursor: pointer;
}
.submit-shell:has(input[type="submit"]:disabled) {
    opacity: 0.6;
}
.submit-shell input[type="submit"]:disabled {
    cursor: not-allowed;
}
.submit-shell input[type="submit"] {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    border: 0;
    color: inherit;
    font: inherit;
    font-weight: 500;
    padding: 10px 24px;
    cursor: pointer;
}

/* success screen */
.wpcf7-form.is-sent .form-section,
.wpcf7-form.is-sent .stepform-controls,
.wpcf7-form.is-sent .step-counter {
    display: none !important;
}
.wpcf7-form.is-sent .success-block {
    display: block !important;
}
.success-hint a {
    color: #99170B;
    font-weight: 600;
    white-space: nowrap;
}

/* field extras */
.field-hint {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 6px;
}
.optional-label {
    font-weight: 400;
    opacity: 0.6;
}
.form-group.privacy .errormessage {
    display: block;
    margin-top: 5px;
}

/* pill radios (Ja/Nein, Vorderhaus/Hinterhaus) */
.pill-radios .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.pill-radios .wpcf7-list-item {
    margin: 0;
}
.pill-radios label {
    cursor: pointer;
    margin: 0;
}
.pill-radios input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.pill-radios .wpcf7-list-item-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 110px;
    padding: 9px 24px;
    border: 1px solid #a0a09f;
    background: #fff;
    font-weight: 500;
    transition: all 0.2s linear;
}
.pill-radios label:hover .wpcf7-list-item-label {
    border-color: #FF2613;
}
.pill-radios input[type="radio"]:checked + .wpcf7-list-item-label {
    border-color: #99170B;
    background: linear-gradient(180deg, #FF2613 0%, #99170B 100%);
    color: #fff;
}
.pill-radios input[type="radio"]:focus-visible + .wpcf7-list-item-label {
    outline: 2px solid #FF2613;
    outline-offset: 2px;
}

/* product choice cards */
.product-cards .wpcf7-radio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.product-cards .wpcf7-list-item {
    display: block;
    margin: 0;
    border: 1px solid #a0a09f;
    background: #fff;
    position: relative;
    transition: border-color 0.2s linear, box-shadow 0.2s linear;
}
.product-cards .wpcf7-list-item:hover {
    border-color: #FF2613;
}
.product-cards .wpcf7-list-item:focus-within {
    outline: 2px solid #FF2613;
    outline-offset: 2px;
}
.product-cards .wpcf7-list-item.is-checked {
    border-color: #FF2613;
    box-shadow: inset 0 0 0 1px #FF2613;
}
.product-cards .wpcf7-list-item.is-checked:after {
    content: "";
    position: absolute;
    top: 12px;
    right: 14px;
    width: 7px;
    height: 13px;
    border: solid #FF2613;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.product-cards label {
    display: block;
    cursor: pointer;
    margin: 0;
    padding: 14px 32px 14px 16px;
    height: 100%;
}
.product-cards input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px;
}
.product-cards .wpcf7-list-item-label {
    display: block;
    font-weight: 600;
    font-size: 15px;
}
.radio-card-hint {
    display: block;
    font-size: 12px;
    line-height: 1.45;
    opacity: 0.75;
    margin-top: 3px;
}

@media only screen and (max-width: 1199px) {
    .product-cards .wpcf7-radio {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* ============ price estimator ============ */

.home-priceestimate-section {
    padding: 90px 0;
}
.home-priceestimate-section .priceestimate-heading {
    text-align: center;
}
.home-priceestimate-section .priceestimate-heading h2 {
    margin-bottom: 10px;
}
.priceestimate-box {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #FF2613;
    position: relative;
    z-index: 1;
    padding: 35px 40px;
}
.priceestimate-box:after {
    content: "";
    position: absolute;
    top: 100%;
    right: 1px;
    width: calc(100% + 2px);
    height: 5px;
    background: linear-gradient(180deg, #FF2613 0%, #99170B 100%);
    z-index: -1;
    transform: skewX(-40deg);
}
.priceestimate-box:before {
    content: "";
    position: absolute;
    top: 1px;
    right: 100%;
    height: calc(100% + 2px);
    width: 5px;
    background: linear-gradient(0deg, #FF2613 0%, #99170B 100%);
    z-index: -1;
    transform: skewY(-40deg);
}
.pe-group {
    margin-bottom: 25px;
}
.pe-group .fieldlabels {
    font-weight: 600;
    margin-bottom: 10px;
}
.pe-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.pe-pill {
    -webkit-appearance: none;
    appearance: none;
    border: 1px solid #a0a09f;
    background: #fff;
    color: #3C3C3C;
    font: inherit;
    font-weight: 500;
    padding: 9px 22px;
    cursor: pointer;
    transition: all 0.2s linear;
}
.pe-pill:hover {
    border-color: #FF2613;
}
.pe-pill:focus-visible {
    outline: 2px solid #FF2613;
    outline-offset: 2px;
}
.pe-pill.is-selected {
    border-color: #99170B;
    background: linear-gradient(180deg, #FF2613 0%, #99170B 100%);
    color: #fff;
}
.pe-stepper {
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: 1px solid #a0a09f;
}
.pe-step {
    -webkit-appearance: none;
    appearance: none;
    border: 0;
    background: #fff;
    color: #FF2613;
    font-size: 22px;
    font-weight: 700;
    width: 44px;
    height: 44px;
    cursor: pointer;
    line-height: 1;
}
.pe-step:hover {
    background: #F9F5F4;
}
.pe-duration-value {
    min-width: 120px;
    text-align: center;
    font-weight: 600;
    font-size: 16px;
    border-left: 1px solid #a0a09f;
    border-right: 1px solid #a0a09f;
    padding: 10px 15px;
}
.pe-result {
    border-top: 1px solid rgba(160, 160, 159, 0.4);
    margin-top: 30px;
    padding-top: 25px;
}
.pe-price-line {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}
.pe-label {
    font-size: 16px;
    font-weight: 500;
}
.pe-price {
    font-size: 30px;
    font-weight: 700;
    color: #FF2613;
    line-height: 1.2;
}
.pe-gross {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.75;
}
.pe-explain {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
    margin-top: 6px;
}
.pe-includes {
    margin-top: 12px;
}
.pe-includes li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    font-weight: 500;
}
.pe-includes li:before {
    content: "";
    position: absolute;
    left: 3px;
    top: 4px;
    width: 6px;
    height: 12px;
    border: solid #FF2613;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.pe-ctawrapper {
    margin-top: 25px;
}
.pe-disclaimer {
    font-size: 12px;
    opacity: 0.65;
    margin: 15px 0 0;
}

@media only screen and (max-width: 767px) {
    .home-priceestimate-section {
        padding: 60px 0;
    }
    .priceestimate-box {
        padding: 25px 20px;
    }
    .pe-pill {
        flex: 1 1 auto;
        text-align: center;
    }
}

/* ============ reviews section ============ */

.home-reviews-section {
    padding: 90px 0;
}
.home-reviews-section .reviews-heading {
    text-align: center;
}
.reviews-badges {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}
.review-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    background: #fff;
    border: 1px solid #FF2613;
    position: relative;
    z-index: 1;
    padding: 18px 34px;
    color: #3C3C3C;
    transition: color 0.2s linear;
}
.review-badge:after {
    content: "";
    position: absolute;
    top: 100%;
    right: 1px;
    width: calc(100% + 2px);
    height: 5px;
    background: linear-gradient(180deg, #FF2613 0%, #99170B 100%);
    z-index: -1;
    transform: skewX(-40deg);
}
.review-badge:before {
    content: "";
    position: absolute;
    top: 1px;
    right: 100%;
    height: calc(100% + 2px);
    width: 5px;
    background: linear-gradient(0deg, #FF2613 0%, #99170B 100%);
    z-index: -1;
    transform: skewY(-40deg);
}
.review-stars {
    color: #F5A623;
    font-size: 20px;
    letter-spacing: 4px;
    line-height: 1;
}
.review-score {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
}
.review-source {
    font-size: 13px;
    font-weight: 500;
    text-decoration: underline;
}
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1100px;
    margin: 0 auto;
}
.review-card {
    background: #fff;
    padding: 28px 25px;
    margin: 0;
    border-left: 3px solid #FF2613;
}
.review-card p {
    font-size: 16px;
    line-height: 1.6;
}
.review-card footer {
    margin-top: 14px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0.7;
}

@media only screen and (max-width: 991px) {
    .home-reviews-section {
        padding: 60px 0;
    }
    .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* ============ floating contact buttons (phone + WhatsApp) ============ */

.mobilecall-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: auto;
    width: 50px;
}
.mobilecall-container a.mobilecall-icon {
    height: 50px;
    width: 50px;
}
.mobilecall-container a.mobilecall-icon.whatsapp-icon {
    background: #25D366;
    color: #fff;
}
.whatsapp-icon svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

/* ============ blog overview ============ */

.blog-meta {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.7;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}
.blog-listwrapper .mainblog-list {
    transition: box-shadow 0.3s linear;
}
.blog-listwrapper .mainblog-list:hover {
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}
.blog-listwrapper .mainblog-list .blog-contentwrap .blog-title {
    margin-bottom: 12px;
}
.blog-listwrapper .mainblog-list .blog-contentwrap .blog-title a {
    color: inherit;
    text-decoration: none;
}
.blog-listwrapper .mainblog-list .blog-contentwrap .blog-title a:hover {
    color: #FF2613;
}
.blog-postdate .month {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-size: 13px;
}
.blog-detailwrapper .blog-meta {
    margin: -5px 0 10px;
}
.latest-postwrapper .latestpost-title a {
    color: inherit;
    text-decoration: none;
}
.latest-postwrapper .latestpost-title a:hover {
    color: #FF2613;
}
.latest-postwrapper .latestpost-img img {
    width: 100%;
}

/* sidebar inquiry CTA */
.blog-cta-box {
    border: 1px solid #FF2613;
    background: #fff;
    position: relative;
    z-index: 1;
    padding: 25px;
    margin-top: 40px;
}
.blog-cta-box:after {
    content: "";
    position: absolute;
    top: 100%;
    right: 1px;
    width: calc(100% + 2px);
    height: 5px;
    background: linear-gradient(180deg, #FF2613 0%, #99170B 100%);
    z-index: -1;
    transform: skewX(-40deg);
}
.blog-cta-box:before {
    content: "";
    position: absolute;
    top: 1px;
    right: 100%;
    height: calc(100% + 2px);
    width: 5px;
    background: linear-gradient(0deg, #FF2613 0%, #99170B 100%);
    z-index: -1;
    transform: skewY(-40deg);
}
.blog-cta-box h4 {
    margin-bottom: 8px;
}
.blog-cta-box p {
    font-size: 14px;
    margin-bottom: 20px;
}

/* WP pagination on the blog index */
.blog-section .navigation.pagination {
    margin-top: 50px;
}
.blog-section .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.blog-section .nav-links .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #a0a09f;
    background: #fff;
    font-weight: 500;
}
.blog-section .nav-links .page-numbers.current {
    border-color: #99170B;
    background: linear-gradient(180deg, #FF2613 0%, #99170B 100%);
    color: #fff;
}
.blog-section .nav-links a.page-numbers:hover {
    border-color: #FF2613;
    color: #FF2613;
}

@media only screen and (max-width: 767px) {
    .blog-listwrapper {
        padding-right: 0;
    }
    .latest-postwrapper {
        position: static;
        margin-top: 50px;
    }
}

@media only screen and (max-width: 575px) {
    .product-cards .wpcf7-radio {
        grid-template-columns: 1fr;
    }
    .stepform-controls .stepform-back,
    .stepform-controls .stepform-next {
        flex: 1 1 auto;
    }
    .stepform-controls .form-actions {
        flex: 1 1 100%;
        align-items: stretch;
        text-align: center;
    }
}

/* FAQ accordion arrows as CSS chevrons (replaces the icomoon glyphs so the
   44 KB icon font stylesheet is no longer needed) */
.homefaq-section .homefaq-accordion .card-header a:after {
    content: "";
    font-family: inherit;
    width: 11px;
    height: 11px;
    border: solid #FF2613;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    transition: transform 0.2s linear;
    top: 26px;
}
.homefaq-section .homefaq-accordion .card-header a[aria-expanded="true"]:after {
    content: "";
    transform: rotate(-135deg);
    top: 32px;
}

/* accessibility: solid mid-grey for small helper text instead of opacity
   (opacity-faded #3C3C3C fails WCAG contrast on white) */
.field-hint,
.optional-label,
.radio-card-hint,
.pe-gross,
.pe-explain,
.pe-disclaimer,
.form-reassurance,
.blog-meta,
.review-card footer,
.pricelist-wrapper .pricelistbox .pricemore-info {
    color: #595959;
    opacity: 1;
}
.step-counter {
    color: #99170B;
}
.mobilecall-container a.mobilecall-icon svg {
    width: 22px;
    height: 22px;
}
