/*
Theme Name:   wwwagency.de Child Theme
Template:     Divi
Description:  Custom child theme for wwwagency.de based on DIVI
Author:       wwwagency.de - Daniel Pelz
Author URI:   https://wwwagency.de
Version:      1.0.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  wwwagencyde
screenshot: screenshot.png
*/

/* ==========================================================================
   Probst & Rixen Bewertungsseite
   ========================================================================== */

.pr-reviews-wrapper {
    --pr-red: #b00400;
    --pr-red-dark: #850300;
    --pr-ink: #202020;
    --pr-text: #4b4b4b;
    --pr-muted: #707070;
    --pr-line: #e7e2dd;
    --pr-soft: #f8f6f3;
    --pr-paper: #ffffff;
    --pr-gold: #c89a3c;

    margin: 0 auto;

    color: var(--pr-text);
    font-family: inherit;
    line-height: 1.7;
}

.pr-reviews-wrapper *,
.pr-reviews-wrapper *::before,
.pr-reviews-wrapper *::after {
    box-sizing: border-box;
}

.pr-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    background: rgba(176, 4, 0, 0.08);
    color: var(--pr-red);
    flex: 0 0 auto;
    display: flex;
}

.pr-icon svg {
    display: block;
    width: 24px;
    height: 24px;
}

.pr-section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    color: var(--pr-red);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-transform: uppercase;
}

.pr-section-label::before {
    content: "";
    width: 34px;
    height: 2px;
    background: currentColor;
}

.pr-hero-section {
    position: relative;
    overflow: hidden;
    display: grid;
    min-height: 520px;
    align-items: end;
    padding: clamp(44px, 7vw, 86px);
    border-radius: 10px;
    background:
        linear-gradient(105deg, rgb(41 0 7) 0%, rgb(32 32 32 / 66%) 52%, rgb(176 4 0 / 0%) 100%), url(/wp-content/uploads/2024/05/Hamburger-Immobileinverwaltung-in-guten-Haenden.jpg) center / cover no-repeat, var(--pr-ink);
    color: #ffffff;
}

/* .pr-hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(90deg, transparent, #000 34%, #000 100%);
    opacity: 0.32;
}
 */
.pr-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.pr-hero-card {
    position: absolute;
    right: clamp(22px, 5vw, 72px);
    bottom: clamp(22px, 5vw, 58px);
    z-index: 3;
    width: min(300px, 32vw);
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(12px);
}

.pr-hero-card .pr-icon {
    margin-bottom: 18px;
    background: rgba(241, 209, 141, 0.16);
    color: #f1d18d;
    display: flex;
}

.pr-hero-card strong,
.pr-hero-card span {
    display: block;
}

.pr-hero-card strong {
    font-size: 18px;
    line-height: 1.25;
}

.pr-hero-card span {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 14px;
    line-height: 1.45;
}

.pr-hero-section .pr-section-label {
    color: #f1d18d;
}

.pr-hero-section h1,
.pr-section-heading h2,
.pr-intro-copy h2,
.pr-info-box h2,
.pr-cta h2 {
    margin: 0;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.08;
}

.pr-hero-section h1 {
    color: #ffffff;
    font-size: clamp(38px, 6vw, 72px);
}

.pr-hero-section p {
    max-width: 690px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(17px, 2vw, 21px);
}

.pr-hero-actions,
.pr-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

.pr-hero-actions {
    margin-top: 34px;
}

.pr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 13px 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.2;
    text-decoration: none;
    transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.pr-btn:hover {
    transform: translateY(-1px);
}

.pr-btn-primary {
    background: var(--pr-red);
    color: #ffffff !important;
}

.pr-btn-primary:hover {
    background: var(--pr-red-dark);
    color: #ffffff !important;
}

.pr-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.46);
    color: #ffffff !important;
}

.pr-btn-secondary:hover {
    background: #ffffff;
    color: var(--pr-red) !important;
}

.pr-fact-strip {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    margin: -38px clamp(14px, 4vw, 58px) 76px;
    border: 1px solid var(--pr-line);
    border-radius: 10px;
    background: var(--pr-line);
    box-shadow: 0 18px 50px rgba(32, 32, 32, 0.14);
}

.pr-fact {
    padding: 28px 20px;
    background: #ffffff;
    text-align: center;
    transition: transform 180ms ease, background 180ms ease;
}

.pr-fact:hover {
    background: #fffaf7;
    transform: translateY(-2px);
}

.pr-fact .pr-icon {
    margin: 0 auto 16px;
}

.pr-fact strong {
    display: block;
    color: var(--pr-red);
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1;
}

.pr-fact span {

    margin-top: 8px;
    color: var(--pr-muted);
    font-size: 14px;
    font-weight: 700;
}

.pr-intro-section,
.pr-info-section,
.pr-process-grid {
    display: grid;
    gap: 24px;
}

.pr-intro-section {
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.75fr);
    align-items: stretch;
}

.pr-intro-copy,
.pr-intro-note,
.pr-info-box,
.pr-service-card,
.pr-process-item,
.pr-faq-item {
    border: 1px solid var(--pr-line);
    border-radius: 10px;
    background: var(--pr-paper);
}

.pr-intro-copy {
    padding: clamp(30px, 5vw, 58px);
    background: var(--pr-soft);
}

.pr-intro-note {
    padding: clamp(26px, 4vw, 38px);
    position: relative;
    overflow: hidden;
}

.pr-intro-note::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 130px;
    height: 130px;
    border: 24px solid rgba(176, 4, 0, 0.07);
    border-radius: 999px;
}

.pr-intro-note .pr-icon {
    margin-bottom: 22px;
}

.pr-intro-copy h2,
.pr-section-heading h2,
.pr-info-box h2,
.pr-cta h2 {
    color: var(--pr-ink);
    font-size: clamp(30px, 4vw, 48px);
}

.pr-intro-copy p,
.pr-section-heading p,
.pr-info-box p,
.pr-service-card p,
.pr-process-item p,
.pr-faq-item p,
.pr-cta p {
    margin: 14px 0 0;
    color: var(--pr-text);
    font-size: 16px;
}

.pr-intro-note h3,
.pr-info-box h3,
.pr-service-card h3,
.pr-process-item h3 {
    margin: 0;
    color: var(--pr-ink);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
}

.pr-intro-note ul {
    display: grid;
    gap: 12px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.pr-intro-note li {
    position: relative;
    padding-left: 24px;
    color: var(--pr-text);
    font-weight: 600;
}

.pr-intro-note li::before {
    content: "";
    position: absolute;
    top: 0.68em;
    left: 0;
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--pr-red);
}

.pr-trust-section,
.pr-info-section,
.pr-service-grid,
.pr-process-section,
.pr-moment-grid,
.pr-faq-section,
.pr-cta {
    margin-top: 76px;
}

.pr-section-heading {
    max-width: 780px;
    margin-bottom: 32px;
}

.pr-review-stage {
    display: grid;
    grid-template-columns: minmax(220px, 0.35fr) minmax(0, 1fr);
    gap: 18px;
    align-items: stretch;
}

.pr-review-aside,
.pr-trustindex-frame {
    padding: clamp(18px, 4vw, 36px);
    border: 1px solid var(--pr-line);
    border-radius: 10px;
    background: var(--pr-paper);
    box-shadow: 0 14px 44px rgba(32, 32, 32, 0.07);
}

.pr-review-aside {
    background: var(--pr-red);
    color: #ffffff;
}

.pr-review-aside .pr-icon {
    margin-bottom: 22px;
    background: rgba(255, 255, 255, 0.14);
    color: #f1d18d;
}

.pr-review-aside h3 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.16;
}

.pr-review-aside p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.84);
}

.pr-trustindex-frame {
    min-width: 0;
}

.pr-trustindex-fallback {
    margin: 0;
    padding: 22px;
    border: 1px solid #f0d6d4;
    border-radius: 8px;
    background: #fff8f7;
    color: var(--pr-red-dark);
    font-weight: 700;
    text-align: center;
}

.pr-info-section {
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
}

.pr-info-box {
    padding: clamp(28px, 4vw, 46px);
}

.pr-info-box-large {
    background: var(--pr-soft);
}

.pr-service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.pr-service-card {
    min-height: 210px;
    padding: 26px;
    border-top: 4px solid var(--pr-red);
    position: relative;
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.pr-service-card::after {
    content: "";
    position: absolute;
    right: -34px;
    top: -34px;
    width: 92px;
    height: 92px;
    border-radius: 999px;
    background: rgba(176, 4, 0, 0.07);
}

.pr-service-card:hover {
    border-color: rgba(176, 4, 0, 0.34);
    box-shadow: 0 18px 44px rgba(32, 32, 32, 0.1);
    transform: translateY(-4px);
}

.pr-service-card .pr-icon {
    margin-bottom: 22px;
}

.pr-process-section {
    padding: clamp(32px, 5vw, 58px);
    border-radius: 10px;
    background: var(--pr-ink);
}

.pr-process-section .pr-section-label {
    color: #f1d18d;
}

.pr-process-section .pr-section-heading h2 {
    color: #ffffff;
}

.pr-process-grid {
    grid-template-columns: repeat(3, 1fr);
}

.pr-process-item {
    padding: 26px;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.14);
}

.pr-process-item span {

    margin-bottom: 18px;
    color: #f1d18d;
    font-size: 13px;
    font-weight: 800;
}

.pr-process-item .pr-icon {
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.1);
    color: #f1d18d;
}

.pr-process-item h3 {
    color: #ffffff;
}

.pr-process-item p {
    color: rgba(255, 255, 255, 0.78);
}

.pr-moment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.pr-moment-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
    padding: 24px;
    border: 1px solid var(--pr-line);
    border-radius: 10px;
    background: linear-gradient(135deg, #ffffff 0%, #fff8f7 100%);
    box-shadow: 0 14px 36px rgba(32, 32, 32, 0.06);
}

.pr-moment-card .pr-icon {
    grid-row: span 2;
}

.pr-moment-card h3 {
    margin: 0;
    color: var(--pr-ink);
    font-size: 20px;
    font-weight: 800;
    line-height: 1.18;
}

.pr-moment-card p {
    margin: 8px 0 0;
    color: var(--pr-muted);
    font-size: 15px;
    line-height: 1.5;
}

.pr-faq-section {
    padding: clamp(28px, 5vw, 54px);
    border-radius: 10px;
    background: var(--pr-soft);
}

.pr-faq-section h2 {
    margin: 0 0 24px;
    color: var(--pr-ink);
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 800;
}

.pr-faq-item {
    margin-top: 12px;
    padding: 0;
}

.pr-faq-item summary {
    cursor: pointer;
    padding: 20px 24px;
    color: var(--pr-ink);
    font-size: 17px;
    font-weight: 800;
}

.pr-faq-item p {
    padding: 0 24px 22px;
}

.pr-cta {
    justify-content: space-between;
    padding: clamp(30px, 5vw, 54px);
    border-radius: 10px;
    background: var(--pr-red);
    color: #ffffff;
}

.pr-cta>div {
    max-width: 720px;
}

.pr-cta .pr-section-label,
.pr-cta h2,
.pr-cta p {
    color: #ffffff;
}

.pr-cta p {
    color: rgba(255, 255, 255, 0.86);
}

.pr-cta .pr-btn-light {
    flex: 0 0 auto;
    background: #ffffff;
    color: var(--pr-red) !important;
}

.pr-cta .pr-btn-light:hover {
    background: #f1d18d;
    color: var(--pr-ink) !important;
}

@media (max-width: 980px) {

    .pr-fact-strip,
    .pr-service-grid,
    .pr-process-grid,
    .pr-moment-grid,
    .pr-info-section,
    .pr-intro-section,
    .pr-review-stage {
        grid-template-columns: 1fr 1fr;
    }

    .pr-intro-copy,
    .pr-info-box-large,
    .pr-trustindex-frame {
        grid-column: 1 / -1;
    }

    .pr-hero-card {
        display: none;
    }
}

@media (max-width: 680px) {
    .pr-reviews-wrapper {
        padding: 16px 14px 56px;
    }

    .pr-hero-section {
        min-height: 520px;
        padding: 42px 22px;
    }

    .pr-hero-actions,
    .pr-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .pr-btn {
        width: 100%;
    }

    .pr-fact-strip,
    .pr-service-grid,
    .pr-process-grid,
    .pr-moment-grid,
    .pr-info-section,
    .pr-intro-section,
    .pr-review-stage {
        grid-template-columns: 1fr;
    }

    .pr-fact-strip {
        margin: -28px 10px 58px;
    }
}