/*
Theme Name: Wohn-Check
Theme URI: https://wohn-check.com
Description: Custom theme for Wohn-Check – Wohnberatung & Immobilien-Service
Author: Mayantigo
Version: 3.0
Template: twentytwentyfive
Text Domain: wohn-check
*/

/* ===== SELF-HOSTED FONTS (DSGVO) ===== */
@font-face {
    font-family: 'Material Symbols Outlined';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url(./fonts/material-symbols.woff2) format('woff2');
}

/* ===== RESET: TT5 DEFAULTS ===== */
.wp-site-blocks > header.wp-block-template-part,
.wp-site-blocks > footer.wp-block-template-part,
header.wp-block-template-part,
footer.wp-block-template-part { display: none !important; }

.wp-site-blocks > main { margin-block-start: 0 !important; }

.page .entry-title,
.page .wp-block-post-title,
body.home .entry-title,
body.home .wp-block-post-title,
body.page .entry-title,
body.page .wp-block-post-title { display: none !important; }

body.page .entry-content,
body.page .wp-site-blocks > main,
body.page .wp-site-blocks,
.wp-site-blocks > main > .entry-content {
    margin-top: 0 !important;
    margin-block-start: 0 !important;
    padding-top: 0 !important;
}

body.page { padding-top: 0 !important; }

.wp-site-blocks > main > .wp-block-group.alignfull { padding-top: 0 !important; }

.entry-content > .wp-block-group:first-child {
    margin-top: 0 !important;
    padding-top: 40px !important;
}

/* ===== NAVIGATION ===== */
.wc-nav {
    background: #fbf9f4;
    border-bottom: none;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.wc-nav a {
    color: #1b1c19;
    text-decoration: none;
    font-family: var(--wp--preset--font-family--source-serif-4);
    font-weight: 500;
    font-size: 17px;
    transition: color 0.2s;
}

.wc-nav a:hover { color: #334537; }

.wc-nav .wc-btn-nav {
    background: #1d2f22;
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
}

.wc-nav .wc-btn-nav:hover { background: #334537; }

/* ===== LAYOUT ===== */
.wc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== GLOBAL SPACING ===== */
.entry-content > .wp-block-group {
    padding-top: 60px;
    padding-bottom: 60px;
    margin-top: 40px;
}

.entry-content > .wp-block-group.wc-hero {
    padding-top: 80px;
    padding-bottom: 80px;
}

.entry-content > .wp-block-group.wc-testimonial {
    padding: 64px 48px;
    margin-top: 60px;
    margin-bottom: 60px;
}

.entry-content > .wp-block-group.wc-cta {
    padding-top: 80px;
    padding-bottom: 80px;
}

.wp-block-spacer { margin: 0 !important; }
.wp-block-columns { gap: 48px !important; }
.wp-block-heading { margin-bottom: 16px; }
h1.wp-block-heading { margin-bottom: 24px; }
h2.wp-block-heading { margin-bottom: 20px; }

/* ===== HERO SECTION ===== */
.wc-hero { position: relative; }

.wc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: #fbf9f4;
    z-index: -1;
}

.wc-eyebrow {
    font-family: var(--wp--preset--font-family--source-serif-4);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 500;
    font-size: 14px;
    color: #594325;
}

.wc-eyebrow-tag {
    display: inline-block;
    background: #ffddb6;
    color: #594325;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px !important;
}

.wc-hero-image-col { position: relative; }

.wc-badge-wrap {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    margin: 0 !important;
}

.wc-badge-btn .wp-block-button__link {
    background: #1d2f22 !important;
    color: #ffffff !important;
    border-radius: 12px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    padding: 12px 20px !important;
    width: 100%;
    text-align: left;
}

/* ===== SECTION BACKGROUNDS ===== */
.wc-section-cream { position: relative; }
.wc-section-cream::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: #fbf9f4;
    z-index: -1;
}

.wc-section-dark { position: relative; }
.wc-section-dark::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: #1d2f22;
    z-index: -1;
}
.wc-section-dark,
.wc-section-dark h2,
.wc-section-dark h3,
.wc-section-dark p { color: #ffffff; }

/* ===== CARDS (Startseite 4-Säulen) ===== */
.wc-card {
    background: #fbf9f4;
    border: 1px solid #c3c8c1;
    border-radius: 12px;
    padding: 32px 28px;
    transition: box-shadow 0.3s ease;
}

.wc-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.wc-card:not(.wc-step-card)::before {
    font-family: 'Material Symbols Outlined';
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #fbf9f4;
    border-radius: 12px;
    color: #1d2f22;
    margin-bottom: 16px;
}

.wc-card:nth-child(1)::before { content: 'house'; }
.wc-card:nth-child(2)::before { content: 'accessible'; }
.wc-card:nth-child(3)::before { content: 'bedroom_parent'; }
.wc-card:nth-child(4)::before { content: 'sell'; }

.wc-card-highlight {
    background: #f0eee9;
    border-color: #594325;
}

/* ===== TESTIMONIAL ===== */
.wc-testimonial {
    background: #1d2f22;
    color: #ffffff;
    border-radius: 40px;
    padding: 48px;
    overflow: hidden;
}

.wc-testimonial h3,
.wc-testimonial p { color: #ffffff; }

.wc-testimonial blockquote,
.wc-testimonial .wp-block-quote {
    font-family: var(--wp--preset--font-family--source-serif-4);
    font-size: 22px;
    line-height: 1.6;
    font-style: italic;
    border: none;
    padding: 0;
    margin: 0;
}

.wc-author-row {
    padding-top: 24px;
    border-top: 1px solid #334537;
    margin-top: 24px;
}

.wc-author-avatar img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}

.wc-reviews-card {
    background: #334537;
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 32px;
}

.wc-review {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wc-review:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.wc-review p { color: #ffffff; }

.wc-stars {
    color: #ffd700;
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 8px !important;
}

/* ===== CTA SECTION ===== */
.wc-cta {
    text-align: center;
    padding: 80px 0;
}

/* ===== BUTTONS ===== */
.wp-block-button__link {
    font-family: var(--wp--preset--font-family--source-serif-4);
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link {
    background: #1d2f22;
    color: #ffffff;
}

.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
    background: #334537;
}

.is-style-outline .wp-block-button__link {
    border: 2px solid #1d2f22;
    color: #1d2f22;
}

.is-style-outline .wp-block-button__link:hover {
    background: #1d2f22;
    color: #ffffff;
}

.wc-pill-button {
    display: inline-block;
    background: #1d2f22;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--wp--preset--font-family--source-serif-4);
    margin-bottom: 16px;
}

.wc-btn-light .wp-block-button__link {
    background: #fbf9f4 !important;
    color: #1d2f22 !important;
    border-radius: 100px !important;
    font-weight: 600 !important;
}

.wc-btn-secondary .wp-block-button__link {
    background: #eae8e3 !important;
    color: #1d2f22 !important;
    border-radius: 12px !important;
}

/* ===== BENEFITS LIST ===== */
.wc-benefits-list li {
    list-style: none;
    padding: 12px 0 12px 32px;
    position: relative;
    font-size: 16px;
    color: #1d2f22;
    font-weight: 500;
}

.wc-benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1d2f22;
    font-weight: 700;
}

.wc-benefits-list ul { padding-left: 0; }

/* ===== CONTACT FORM (CF7) ===== */
.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    background: #ffffff;
    border: 1px solid #c3c8c1;
    border-radius: 12px;
    padding: 12px 16px;
    font-family: var(--wp--preset--font-family--plus-jakarta-sans);
    font-size: 15px;
    margin-top: 4px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.wpcf7 textarea { min-height: 100px; }

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
    border-color: #1d2f22;
    box-shadow: 0 0 0 2px rgba(29, 47, 34, 0.1);
    outline: none;
}

.wpcf7 label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #5c5f5d;
    margin-bottom: 6px;
}

.wc-form-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wc-form-row {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 16px !important;
    margin-bottom: 16px;
    overflow: hidden;
}

.wc-form-row .wc-form-field {
    margin-bottom: 0 !important;
    min-width: 0;
    overflow: hidden;
}

.wc-form-row p,
.wc-form-row .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
    margin: 0;
    min-width: 0;
    overflow: hidden;
}

.wpcf7-form-control {
    width: 100% !important;
    box-sizing: border-box !important;
}

.wpcf7 input[type=text],
.wpcf7 input[type=email],
.wpcf7 input[type=tel] {
    max-width: 100% !important;
}
.wc-form-field { display: flex; flex-direction: column; }
.wpcf7-form .wc-form-field { margin-bottom: 20px; }
.wpcf7-form p { margin: 0 0 20px; }
.wpcf7-form-control-wrap { display: block; }

.wc-submit,
.wpcf7 input[type=submit] {
    width: 100%;
    background: #1d2f22;
    color: #ffffff;
    font-family: var(--wp--preset--font-family--source-serif-4);
    font-weight: 600;
    font-size: 16px;
    padding: 16px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s;
    min-height: 56px;
}

.wc-submit:hover,
.wpcf7 input[type=submit]:hover { background: #334537; }

.wc-form-hint {
    font-size: 12px;
    text-align: center;
    color: #5c5f5d;
    margin-top: 8px;
}

/* ===== LARGE AUTHOR AVATAR ===== */
.wc-author-avatar-large img {
    border-radius: 50%;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1;
    object-fit: cover;
    margin: 0 auto;
    display: block;
}

/* ===== IMAGES ===== */
.wp-block-image img { border-radius: 12px; }

/* ===== FOOTER ===== */
.wc-footer {
    background: #f0eee9;
    border-top: 1px solid #c3c8c1;
}

.wc-footer a {
    color: #5c5f5d;
    text-decoration: underline;
    transition: color 0.2s;
}

.wc-footer a:hover { color: #1d2f22; }

/* ===== SCROLL FADE-IN ===== */
/* Vorher: 0.6s duration, 30px translateY, stagger 0.1–0.3s → bis 0.9s Verzögerung */
/* Nachher: 0.25s duration, 12px translateY, kein Stagger → max 0.25s */
.wc-fade-in {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s ease-out, transform 0.25s ease-out;
}

.wc-fade-in.wc-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== PROZESS PAGE ===== */

/* Video Intro */
.wc-process-intro {
    text-align: center;
    padding: 0 0 40px;
}

.wc-video-thumb {
    margin-top: 48px;
    background: #334537;
    border-radius: 2rem;
    padding: 80px 40px 40px;
    position: relative;
    max-width: 896px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    aspect-ratio: 16/9;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.wc-video-thumb p:first-child {
    font-size: 48px;
    color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
    margin: 0 auto 16px !important;
}

.wc-video-label {
    color: #ffffff;
    font-size: 14px !important;
    opacity: 0.8;
}

/* Step Cards (01, 02, 03) */
.wc-steps-section { padding: 40px 0; }
.wc-step-cards { gap: 24px !important; }

.wc-step-card {
    background: #f5f3ee !important;
    border-radius: 2rem !important;
    padding: 32px !important;
    border: none !important;
    position: relative;
    padding-top: 200px !important;
}

.wc-step-card::before {
    position: absolute;
    top: 32px;
    left: 32px;
    font-size: 64px;
    font-weight: 700;
    color: rgba(29, 47, 34, 0.08);
    line-height: 1;
    font-family: var(--wp--preset--font-family--source-serif-4);
}

.wc-step-card::after {
    font-family: 'Material Symbols Outlined';
    font-size: 28px;
    position: absolute;
    top: 120px;
    left: 32px;
    width: 56px;
    height: 56px;
    background: #ffffff;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d2f22;
    box-shadow: 0px 8px 32px rgba(29, 47, 34, 0.05);
}

.wc-step-card:nth-child(1)::before { content: '01'; }
.wc-step-card:nth-child(2)::before { content: '02'; }
.wc-step-card:nth-child(3)::before { content: '03'; }

.wc-step-card:nth-child(1)::after { content: 'calendar_today'; }
.wc-step-card:nth-child(2)::after { content: 'home_work'; }
.wc-step-card:nth-child(3)::after { content: 'assignment_turned_in'; }

.wc-step-card h3 {
    margin-top: 32px !important;
    margin-bottom: 12px !important;
}

/* Quote + Feature Cards */
.wc-quote-section { padding: 40px 0; }

.wc-quote-grid {
    gap: 24px !important;
    align-items: stretch !important;
}

.wc-quote-left {
    background: #1d2f22;
    color: #ffffff;
    padding: 48px !important;
    border-radius: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.wc-quote-left::before {
    content: '\201C';
    font-family: var(--wp--preset--font-family--source-serif-4);
    font-size: 120px;
    color: rgba(183, 204, 185, 0.2);
    position: absolute;
    top: 20px;
    left: 48px;
    line-height: 1;
}

.wc-quote-left h2 {
    color: #ffffff !important;
    font-size: 32px !important;
    line-height: 1.3 !important;
    margin-top: 48px !important;
}

.wc-quote-left p,
.wc-quote-left strong { color: #ffffff !important; }

.wc-quote-left .wc-subtitle {
    opacity: 0.8;
    font-size: 14px !important;
}

.wc-quote-author {
    margin-top: 48px !important;
    padding-top: 24px;
    border-top: 1px solid #334537;
    gap: 16px !important;
}

.wc-avatar img {
    width: 56px !important;
    height: 56px !important;
    border-radius: 50% !important;
    object-fit: cover;
    border: 2px solid rgba(183, 204, 185, 0.5);
}

.wc-quote-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wc-feature-card {
    background: #f5f3ee;
    padding: 32px !important;
    border-radius: 2rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.wc-feature-card::before {
    font-family: 'Material Symbols Outlined';
    font-size: 24px;
    color: #1d2f22;
    margin-bottom: 8px;
}

.wc-feature-card:nth-child(1)::before { content: 'check_circle'; }
.wc-feature-card:nth-child(2)::before { content: 'payments'; }
.wc-feature-card:nth-child(3)::before { content: 'psychology'; }

.wc-feature-card strong { color: #1d2f22; }
.wc-feature-card p:last-child { color: #5c5f5d; font-size: 14px !important; }

/* Form Section */
.wc-form-section {
    background: #ffffff;
    padding: 64px !important;
    border-radius: 3rem;
    border: 1px solid #e4e2dd;
    box-shadow: 0px 32px 96px rgba(29, 47, 34, 0.06);
}

.wc-form-section .wp-block-columns { gap: 64px !important; }

.wc-check-list {
    list-style: none !important;
    padding-left: 0 !important;
    margin-top: 32px !important;
}

.wc-check-list li {
    padding: 8px 0 8px 32px !important;
    position: relative;
}

.wc-check-list li::before {
    content: 'verified';
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1;
    position: absolute;
    left: 0;
    color: #1d2f22;
    font-size: 20px;
}

.wc-form-col {
    background: #f5f3ee;
    padding: 40px !important;
    border-radius: 2rem;
}

/* ===== AGB PAGES ===== */
.wc-agb-section {
    background: #f5f3ee;
    padding: 40px !important;
    border-radius: 2rem;
    margin-bottom: 24px !important;
}

.wc-agb-section h2 {
    font-size: 24px !important;
    margin-bottom: 16px !important;
}

.wc-agb-highlight { border: 2px solid #e2c19b !important; }

.wc-agb-cta {
    border-radius: 2rem !important;
    padding: 48px !important;
    margin-top: 64px !important;
}

.wc-agb-cta h3 {
    color: #ffffff !important;
    margin-bottom: 8px !important;
}

.wc-agb-cta p { color: rgba(255,255,255,0.9) !important; }

/* ===== BEISPIELE PAGE (Bento Grid) ===== */
.wc-bento-section { padding: 40px 0; }

.wc-bento-header {
    margin-bottom: 48px !important;
}

.wc-bento-header h2 { margin-bottom: 8px !important; }

.wc-bento-divider {
    width: 96px;
    height: 4px;
    background: #533d20;
    border-radius: 4px;
    margin-top: 8px !important;
}

.wc-bento-grid,
.wc-bento-grid.is-layout-flow,
.wc-bento-grid.wp-block-group-is-layout-flow {
    display: grid !important;
    grid-template-columns: repeat(12, 1fr) !important;
    gap: 24px !important;
    align-items: start !important;
}

.wc-bento-card {
    border-radius: 24px;
    padding: 32px !important;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

.wc-bento-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 32px 64px rgba(29, 47, 34, 0.08);
}

/* Card variants */
.wc-bento-wide {
    grid-column: span 8;
    background: #f5f3ee;
    border: 1px solid rgba(195, 200, 193, 0.3);
}

.wc-bento-dark {
    grid-column: span 4;
    background: #334537;
    color: #ffffff;
}

.wc-bento-dark h3,
.wc-bento-dark p,
.wc-bento-dark blockquote { color: #ffffff; }

.wc-bento-white {
    grid-column: span 5;
    background: #ffffff;
    border: 1px solid rgba(195, 200, 193, 0.3);
}

.wc-bento-gray {
    grid-column: span 4;
    background: #f0eee9;
    border: 1px solid rgba(195, 200, 193, 0.3);
}

.wc-bento-sidebar {
    grid-column: span 3;
    padding: 0 !important;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wc-bento-sidebar:hover {
    transform: none;
    box-shadow: none;
}

/* Bento card inner elements */
.wc-bento-icon {
    font-family: 'Material Symbols Outlined' !important;
    font-size: 36px !important;
    margin-bottom: 16px !important;
    color: #1d2f22;
    font-variation-settings: 'FILL' 0, 'wght' 300;
}

.wc-bento-dark .wc-bento-icon,
p.wc-bento-icon.wc-bento-dark {
    color: #ffddb6 !important;
}

.wc-bento-quote {
    font-style: italic;
    border-left: 4px solid #533d20 !important;
    padding-left: 16px !important;
    margin: 16px 0 !important;
}

.wc-bento-wide .wp-block-columns { gap: 32px !important; }

.wc-bento-card h3 { font-size: 22px !important; }

.wc-bento-card-image img {
    border-radius: 16px !important;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.wc-bento-card-image-tall img {
    border-radius: 16px !important;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}

/* Video thumbnail in sidebar */
.wc-bento-video {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    background: #334537;
}

.wc-bento-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    border-radius: 16px !important;
}

.wc-bento-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wc-bento-video-play {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.3);
    color: #ffffff;
    font-size: 24px;
}

/* Small info card in sidebar */
.wc-bento-info {
    background: #eae8e3;
    border-radius: 24px;
    border: 1px solid rgba(195, 200, 193, 0.3);
    overflow: hidden;
    flex: 1;
}

.wc-bento-info img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 0 !important;
}

.wc-bento-info-text {
    padding: 24px !important;
}

.wc-bento-info-text h4 { margin-bottom: 4px !important; }

.wc-bento-info-text p {
    font-size: 14px !important;
    color: #5c5f5d;
}

/* Divider line inside cards */
.wc-bento-divider-line {
    border-top: 1px solid #c3c8c1;
    padding-top: 16px !important;
    margin-top: 16px !important;
}

.wc-bento-check-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1d2f22;
}

.wc-bento-check-badge::before {
    content: 'check_circle';
    font-family: 'Material Symbols Outlined';
    font-size: 18px;
}

/* CTA Section (Beispiele + shared) */
.wc-cta-bordered {
    text-align: center;
    padding: 64px 0 !important;
    border-top: 1px solid rgba(195, 200, 193, 0.3);
    border-bottom: 1px solid rgba(195, 200, 193, 0.3);
    max-width: 800px;
    margin: 0 auto;
}

.wc-cta-bordered h2 { margin-bottom: 16px !important; }
.wc-cta-bordered p { color: #5c5f5d; font-size: 18px !important; }

.wc-cta-buttons {
    gap: 24px !important;
    margin-top: 32px !important;
}

.wc-cta-buttons .wp-block-button__link {
    padding: 16px 40px !important;
    border-radius: 16px !important;
    font-size: 17px !important;
}

.wc-cta-btn-icon .wp-block-button__link::before {
    font-family: 'Material Symbols Outlined';
    margin-right: 8px;
    vertical-align: middle;
}

.wc-cta-btn-calendar .wp-block-button__link::before { content: 'calendar_today'; }
.wc-cta-btn-phone .wp-block-button__link::before { content: 'call'; }

/* ===== KONTAKT PAGE ===== */
.wc-kontakt-grid .wp-block-columns { gap: 24px !important; }

.wc-kontakt-profile {
    background: #f5f3ee;
    padding: 32px !important;
    border-radius: 16px;
    box-shadow: 0px 8px 32px rgba(29, 47, 34, 0.05);
    margin-bottom: 24px !important;
}

.wc-kontakt-profile .wp-block-columns { gap: 24px !important; }

.wc-kontakt-avatar img {
    width: 128px !important;
    height: 128px !important;
    border-radius: 50% !important;
    object-fit: cover;
    border: 4px solid #f0eee9;
}

.wc-kontakt-badge {
    display: inline-block;
    background: #ffddb6;
    color: #594325;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 13px !important;
    font-weight: 600;
}

.wc-kontakt-details {
    margin-top: 24px !important;
}

.wc-kontakt-item {
    padding: 8px 0 8px 40px !important;
    position: relative;
    font-size: 16px;
}

.wc-kontakt-item::before {
    font-family: 'Material Symbols Outlined';
    font-size: 24px;
    position: absolute;
    left: 0;
    color: #1d2f22;
}

.wc-kontakt-item a {
    color: #434843;
    text-decoration: none;
}

.wc-kontakt-item a:hover { color: #1d2f22; }

.wc-kontakt-location::before { content: 'location_on'; }
.wc-kontakt-phone::before { content: 'call'; }
.wc-kontakt-email::before { content: 'mail'; }

.wc-kontakt-map {
    background: #f5f3ee;
    border-radius: 16px;
    box-shadow: 0px 8px 32px rgba(29, 47, 34, 0.05);
    overflow: hidden;
    min-height: 400px;
    padding: 8px !important;
}

.wc-kontakt-map img {
    border-radius: 12px !important;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
    opacity: 0.8;
}

.wc-kontakt-form-card {
    background: #ffffff;
    padding: 48px !important;
    border-radius: 16px;
    box-shadow: 0px 8px 32px rgba(29, 47, 34, 0.05);
    height: 100%;
}

.wc-kontakt-form-card h2 { margin-bottom: 8px !important; }
.wc-kontakt-form-card > p { color: #5c5f5d; margin-bottom: 32px !important; }

/* ===== LEGAL PAGES (Impressum, Datenschutz) ===== */
.wc-legal-page {
    max-width: 800px;
    margin: 0 auto;
}

.wc-legal-page h2 {
    margin-top: 48px !important;
    padding-top: 24px;
    border-top: 1px solid #e4e2dd;
}

.wc-legal-page h2:first-of-type {
    border-top: none;
    padding-top: 0;
}

.wc-legal-page h3 {
    margin-top: 32px !important;
    font-size: 20px !important;
}

.wc-legal-page p {
    color: #434843;
    line-height: 1.8;
}

.wc-legal-page ul {
    color: #434843;
    padding-left: 24px;
}

.wc-legal-page li {
    padding: 4px 0;
}

.wc-legal-page a {
    color: #1d2f22;
    text-decoration: underline;
}

/* ===== LEISTUNGEN PAGE ===== */

/* Section: Wohnberatung cards */
.wc-leist-section {
    position: relative;
    padding: 80px 0;
}

.wc-leist-section-cream::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: #f5f3ee;
    z-index: -1;
}

.wc-leist-section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px !important;
}

.wc-leist-section-header-icon {
    font-family: 'Material Symbols Outlined' !important;
    font-size: 28px !important;
    color: #1d2f22;
}

.wc-leist-intro {
    color: #5c5f5d;
    max-width: 640px;
    margin-bottom: 48px !important;
}

.wc-leist-cards {
    gap: 24px !important;
}

.wc-leist-card {
    background: #ffffff;
    padding: 32px !important;
    border-radius: 16px;
    box-shadow: 0px 8px 32px rgba(29, 47, 34, 0.05);
    transition: transform 0.3s ease;
}

.wc-leist-card:hover {
    transform: translateY(-4px);
}

.wc-leist-card-icon {
    width: 48px;
    height: 48px;
    background: #f0eee9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px !important;
    font-family: 'Material Symbols Outlined' !important;
    font-size: 28px !important;
    color: #1d2f22;
}

.wc-leist-card h3 {
    font-size: 20px !important;
    margin-bottom: 12px !important;
}

.wc-leist-card p {
    color: #5c5f5d;
}

/* Section: Wohn-Check Video (green + video) */
.wc-leist-video {
    padding: 80px 0;
}

.wc-leist-video .wp-block-columns {
    gap: 0 !important;
    align-items: stretch !important;
}

.wc-leist-video-left {
    background: #1d2f22;
    padding: 48px !important;
    border-radius: 16px 0 0 16px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.wc-leist-video-left h2 {
    color: #ffffff !important;
    margin-bottom: 24px !important;
}

.wc-leist-video-left p {
    color: #9eb2a0 !important;
    margin-bottom: 32px !important;
}

.wc-leist-checklist {
    list-style: none !important;
    padding-left: 0 !important;
}

.wc-leist-checklist li {
    padding: 8px 0 8px 36px !important;
    position: relative;
    color: #ffffff;
    font-weight: 600;
}

.wc-leist-checklist li::before {
    content: 'check_circle';
    font-family: 'Material Symbols Outlined';
    position: absolute;
    left: 0;
    color: #d3e8d4;
    font-size: 20px;
}

.wc-leist-video-right {
    position: relative;
    border-radius: 0 16px 16px 0;
    overflow: hidden;
    min-height: 400px;
}

.wc-leist-video-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 !important;
    opacity: 0.8;
}

.wc-leist-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Material Symbols Outlined';
    font-variation-settings: 'FILL' 1;
    font-size: 36px;
    color: #1d2f22;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.wc-leist-video-label {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(29, 47, 34, 0.8);
    backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px !important;
    font-weight: 600;
}

/* Section: Immobilien-Service */
.wc-leist-immo {
    padding: 80px 0;
}

.wc-leist-immo .wp-block-columns {
    gap: 64px !important;
    align-items: center !important;
}

.wc-leist-immo-image img {
    border-radius: 16px !important;
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
}

.wc-leist-mini-row {
    gap: 16px !important;
    margin-top: 16px !important;
}

.wc-leist-mini-row:first-of-type {
    margin-top: 32px !important;
}

.wc-leist-mini-card {
    background: #f5f3ee !important;
    padding: 16px !important;
    border-radius: 12px !important;
    border: 1px solid #c3c8c1 !important;
}

.wc-leist-mini-icon {
    font-family: 'Material Symbols Outlined' !important;
    font-size: 24px !important;
    color: #1d2f22;
    margin-bottom: 4px !important;
}

.wc-leist-mini-card h4 {
    font-size: 14px !important;
    font-weight: 600;
    color: #1d2f22;
    margin-bottom: 4px !important;
}

.wc-leist-mini-card p {
    font-size: 13px !important;
    color: #5c5f5d;
}

/* Section: CTA (dark green with profile card) */
.wc-leist-cta {
    position: relative;
    padding: 80px 0;
}

.wc-leist-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: #1d2f22;
    z-index: -1;
}

.wc-leist-cta-inner {
    background: #334537;
    border-radius: 24px;
    padding: 64px !important;
    position: relative;
    overflow: hidden;
}

.wc-leist-cta-inner .wp-block-columns {
    gap: 48px !important;
    align-items: center !important;
}

.wc-leist-cta-inner h2 {
    color: #ffffff !important;
}

.wc-leist-cta-inner > p,
.wc-leist-cta-text p {
    color: #9eb2a0 !important;
    font-size: 18px !important;
}

.wc-leist-cta-text .wp-block-buttons {
    margin-top: 24px !important;
}

.wc-leist-cta-text .wp-block-button__link {
    border-radius: 12px !important;
    padding: 14px 32px !important;
}

.wc-leist-profile-card {
    background: rgba(29, 47, 34, 0.5);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 32px !important;
    text-align: center;
}

.wc-leist-profile-card img {
    width: 96px !important;
    height: 96px !important;
    border-radius: 50% !important;
    object-fit: cover;
    border: 4px solid #1d2f22;
    margin: 0 auto 16px !important;
}

.wc-leist-profile-card h4 {
    color: #ffffff !important;
    font-size: 18px !important;
    margin-bottom: 4px !important;
}

.wc-leist-profile-card p {
    color: #9eb2a0 !important;
    font-size: 14px !important;
}

.wc-leist-profile-card a {
    color: #9eb2a0 !important;
    text-decoration: none;
}

.wc-leist-profile-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px !important;
    color: #9eb2a0 !important;
    font-weight: 600;
}

.wc-leist-profile-phone::before {
    content: 'call';
    font-family: 'Material Symbols Outlined';
    font-size: 18px;
}

/* Hero badge (20+ Jahre) */
.wc-hero-badge {
    position: absolute;
    bottom: -32px;
    left: -32px;
    background: #ffffff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0px 8px 32px rgba(29, 47, 34, 0.08);
    z-index: 5;
}

.wc-hero-badge h3 {
    font-size: 24px !important;
    margin-bottom: 4px !important;
}

.wc-hero-badge p {
    font-size: 13px !important;
    color: #5c5f5d;
}

/* ===== HAMBURGER MENU ===== */
.wc-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.wc-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #1d2f22;
    transition: transform 0.3s;
}

.wc-mobile-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: #fbf9f4;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    z-index: 99;
    flex-direction: column;
    gap: 16px;
}

.wc-mobile-menu.wc-mobile-open {
    display: flex;
}

.wc-mobile-menu a {
    color: #1b1c19;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 0;
    border-bottom: 1px solid #e4e2dd;
}

.wc-mobile-menu a:last-child {
    border-bottom: none;
}

.wc-mobile-cta {
    background: #1d2f22 !important;
    color: #fff !important;
    padding: 12px 24px !important;
    border-radius: 6px;
    text-align: center;
}

/* ===== GLOBAL: prevent horizontal overflow (not on body - breaks iOS scroll) ===== */
.wp-site-blocks {
    overflow-x: hidden;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 782px) {
    .wc-nav .wc-nav-links { display: none !important; }
    .wc-hamburger { display: flex !important; }
    .wc-testimonial { padding: 32px 24px; }
    .wp-block-columns { flex-direction: column !important; }
    .wc-form-row { grid-template-columns: 1fr !important; }

    /* Footer */
    .wc-footer-grid { grid-template-columns: 1fr 1fr !important; }

    /* Prozess */
    .wc-quote-left { padding: 32px !important; border-radius: 1.5rem; }
    .wc-form-section { padding: 24px !important; border-radius: 1.5rem; }
    .wc-form-col { padding: 24px !important; }
    .wc-step-card { padding-top: 160px !important; }
    .wc-step-card::after { top: 100px; }

    /* Bento grid */
    .wc-bento-grid,
    .wc-bento-grid.is-layout-flow,
    .wc-bento-grid.wp-block-group-is-layout-flow {
        display: flex !important;
        flex-direction: column !important;
        gap: 16px !important;
    }
    .wc-bento-wide,
    .wc-bento-dark,
    .wc-bento-white,
    .wc-bento-gray,
    .wc-bento-sidebar {
        grid-column: span 1;
        width: 100% !important;
    }
    .wc-bento-wide .wp-block-columns { flex-direction: column !important; }

    /* Kontakt */
    .wc-kontakt-form-card { padding: 24px !important; }
    .wc-kontakt-profile { padding: 24px !important; }

    /* Leistungen */
    .wc-leist-video-left { border-radius: 16px 16px 0 0; padding: 32px !important; }
    .wc-leist-video-right { border-radius: 0 0 16px 16px; min-height: 280px; }
    .wc-leist-mini-row { margin-top: 12px !important; }
    .wc-leist-cta-inner { padding: 32px !important; }
    .wc-hero-badge { position: relative; bottom: auto; left: auto; margin-top: 24px; }

    /* Global mobile overflow fix */
    .entry-content { overflow-x: hidden; }
}

@media (max-width: 480px) {
    .wc-footer-grid { grid-template-columns: 1fr !important; }
}

@media (min-width: 783px) {
    .wc-hamburger { display: none !important; }
    .wc-mobile-menu { display: none !important; }
}
