/*
Theme Name: Immo Valuation Theme
Theme URI: https://example.com
Author: Claude
Author URI: https://anthropic.com
Description: Premium Immobilienbewertungs-Funnel mit Sprengnetter-Integration zur Leadgenerierung.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: immo-theme
Tags: real-estate, landing-page, one-page, custom-menu, custom-logo, featured-images, responsive-layout
*/

/* =========================================
   Custom Properties
========================================= */
:root {
    --navy:        #0b1929;
    --navy-mid:    #162840;
    --navy-light:  #1e3a5f;
    --gold:        #c4973a;
    --gold-light:  #ddb96a;
    --gold-pale:   #f5edd8;
    --cream:       #faf8f5;
    --white:       #ffffff;
    --text:        #1a1a2a;
    --text-muted:  #6b7280;
    --border:      #e5e0d8;
    --shadow-sm:   0 1px 3px rgb(0 0 0 / .08);
    --shadow-md:   0 4px 16px rgb(0 0 0 / .10);
    --shadow-lg:   0 12px 40px rgb(0 0 0 / .15);
    --shadow-gold: 0 8px 32px rgb(196 151 58 / .30);
    --radius:      8px;
    --radius-lg:   16px;
    --radius-xl:   24px;
    --font:        'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif:  'Playfair Display', Georgia, serif;
    --container:   1160px;
    --trans:       0.2s ease;
}

/* =========================================
   Reset & Base
========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font);
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold); text-decoration: none; transition: color var(--trans); }
a:hover { color: var(--gold-light); }
ul { list-style: none; }

/* =========================================
   Google Fonts Import
========================================= */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:wght@600;700&display=swap');

/* =========================================
   Utility
========================================= */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 4rem 0; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0;
    margin: -1px; overflow: hidden; clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

/* Label */
.label-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--gold);
    margin-bottom: 1rem;
}
.label-tag::before {
    content: '';
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
}

/* Section Headlines */
.section-headline {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.2;
    color: var(--navy);
    margin-bottom: 1rem;
}
.section-headline.light { color: var(--white); }
.section-sub {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto 3rem;
    line-height: 1.7;
}
.section-sub.light { color: rgba(255,255,255,.7); }

/* =========================================
   Buttons
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--trans);
    text-decoration: none;
    white-space: nowrap;
}
.btn-primary {
    background: var(--gold);
    color: var(--navy);
    border-color: var(--gold);
    box-shadow: var(--shadow-gold);
}
.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--navy);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgb(196 151 58 / .45);
}
.btn-outline {
    background: transparent;
    border-color: rgba(255,255,255,.4);
    color: var(--white);
}
.btn-outline:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.7);
    color: var(--white);
}
.btn-lg { padding: 1.125rem 2.5rem; font-size: 1.0625rem; }
.btn-xl { padding: 1.25rem 3rem; font-size: 1.125rem; border-radius: var(--radius-lg); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }

/* =========================================
   Site Header
========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    transition: background var(--trans), box-shadow var(--trans), padding var(--trans);
    padding: 0;
}
.site-header.transparent { background: transparent; }
.site-header.scrolled {
    background: rgba(11, 25, 41, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 24px rgb(0 0 0 / .25);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    gap: 1.5rem;
}
.site-branding { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.site-logo-text {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    letter-spacing: -0.01em;
    display: inline-flex;
    align-items: baseline;
    gap: 0;
    line-height: 1;
}
.site-logo-text span {
    color: var(--gold);
    font-family: var(--font);
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    opacity: 0.9;
    align-self: flex-end;
    padding-bottom: 0.1em;
}
.site-logo-img { height: 40px; width: auto; }

.header-nav { display: flex; align-items: center; gap: 0.25rem; }
.header-nav a {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255,255,255,.85);
    border-radius: var(--radius);
    text-decoration: none;
    transition: all var(--trans);
}
.header-nav a:hover { color: var(--white); background: rgba(255,255,255,.08); }
.header-nav a.active { color: var(--gold); }

.header-cta { display: flex; align-items: center; gap: 1rem; }
.header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,.75);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--trans);
}
.header-phone:hover { color: var(--white); }
.header-phone svg { color: var(--gold); }

.menu-toggle {
    display: none;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: var(--radius);
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    color: var(--white);
    font-size: 1.25rem;
    line-height: 1;
}

/* =========================================
   Hero Section
========================================= */
.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    background: var(--navy);
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(11,25,41,.95) 0%, rgba(22,40,64,.85) 50%, rgba(30,58,95,.75) 100%),
        url('assets/images/hero-bg.jpg') center/cover no-repeat;
}
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 50%, rgba(196,151,58,.12) 0%, transparent 70%);
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 680px;
    padding: 8rem 0 5rem;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(196,151,58,.15);
    border: 1px solid rgba(196,151,58,.3);
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.75rem;
}
.hero h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.5rem;
}
.hero h1 em {
    font-style: normal;
    color: var(--gold);
    display: block;
}
.hero-sub {
    font-size: 1.125rem;
    color: rgba(255,255,255,.72);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 520px;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.hero-trust {
    margin-top: 3rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,.6);
    font-size: 0.875rem;
}
.trust-item svg { color: var(--gold); flex-shrink: 0; }

/* Hero scroll indicator */
.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,.4);
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    animation: bob 2s ease-in-out infinite;
}
.scroll-hint span { width: 1px; height: 48px; background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent); }
@keyframes bob { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(6px); } }

/* =========================================
   Stats Bar
========================================= */
.stats-bar {
    background: var(--navy-mid);
    padding: 2.5rem 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(255,255,255,.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.stat-item {
    background: var(--navy-mid);
    padding: 2rem 1.5rem;
    text-align: center;
}
.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 0.375rem;
}
.stat-label {
    font-size: 0.8rem;
    color: rgba(255,255,255,.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* =========================================
   How It Works
========================================= */
.how-it-works { background: var(--cream); }
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 3rem;
    left: calc(16.67% + 1.5rem);
    right: calc(16.67% + 1.5rem);
    height: 1px;
    background: linear-gradient(to right, var(--gold), var(--gold-light), var(--gold));
    opacity: 0.35;
    z-index: 0;
}
.step-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.5rem 2rem;
    text-align: center;
    z-index: 1;
    transition: transform var(--trans), box-shadow var(--trans);
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gold-pale);
    border: 2px solid var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--gold);
    margin: 0 auto 1.5rem;
}
.step-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
}
.step-card p { font-size: 0.9375rem; color: var(--text-muted); line-height: 1.65; }

/* =========================================
   Sprengnetter Tool Section
========================================= */
.tool-section {
    background: var(--white);
    padding: 5rem 0 6rem;
}
.tool-header { text-align: center; margin-bottom: 2.5rem; }
.tool-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    background: var(--gold-pale);
    border: 1px solid rgba(196,151,58,.3);
    color: var(--gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.25rem;
}
.tool-wrapper {
    max-width: 920px;
    margin: 0 auto;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}
.tool-topbar {
    background: var(--navy);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.tool-topbar-dots { display: flex; gap: 0.4rem; }
.tool-topbar-dots span {
    width: 12px; height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,.2);
}
.tool-topbar-dots span:nth-child(1) { background: #ff5f57; }
.tool-topbar-dots span:nth-child(2) { background: #febc2e; }
.tool-topbar-dots span:nth-child(3) { background: #28c840; }
.tool-topbar-title {
    font-size: 0.8rem;
    color: rgba(255,255,255,.5);
    font-weight: 500;
}

/* Sprengnetter iframe container */
.sprengnetter-container {
    max-width: 920px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--cream);
    border-radius: var(--radius-xl);
    min-height: 640px;
}
.sprengnetter-container sp-widget {
    display: block;
    width: 100%;
}

/* Placeholder shown until iframe src is set */
.tool-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 540px;
    text-align: center;
    padding: 3rem;
    gap: 1rem;
}
.tool-placeholder-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--gold-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.tool-placeholder-icon svg { width: 36px; height: 36px; color: var(--gold); }
.tool-placeholder h3 { font-size: 1.25rem; color: var(--navy); margin-bottom: 0.25rem; }
.tool-placeholder p { color: var(--text-muted); font-size: 0.9rem; max-width: 380px; }
.tool-placeholder code {
    display: inline-block;
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0.4rem 0.875rem;
    font-size: 0.8rem;
    color: var(--navy);
    font-family: monospace;
    margin-top: 0.5rem;
}

.tool-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background: var(--gold-pale);
    border: 1px solid rgba(196,151,58,.25);
    border-radius: var(--radius-lg);
    padding: 1.125rem 1.5rem;
    margin-top: 1.5rem;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.875rem;
    color: #7a5c1e;
}
.tool-note svg { flex-shrink: 0; margin-top: 1px; }

/* =========================================
   Benefits
========================================= */
.benefits { background: var(--navy); }
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}
.benefit-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--radius-xl);
    padding: 2rem;
    transition: border-color var(--trans), background var(--trans);
}
.benefit-card:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(196,151,58,.35);
}
.benefit-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-lg);
    background: rgba(196,151,58,.12);
    border: 1px solid rgba(196,151,58,.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}
.benefit-icon svg { width: 24px; height: 24px; color: var(--gold); }
.benefit-card h3 { font-size: 1rem; font-weight: 700; color: var(--white); margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.875rem; color: rgba(255,255,255,.55); line-height: 1.65; }

/* =========================================
   Testimonials
========================================= */
.testimonials { background: var(--cream); }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: box-shadow var(--trans);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.stars { display: flex; gap: 3px; }
.stars svg { width: 16px; height: 16px; color: var(--gold); fill: var(--gold); }
.testimonial-text {
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.7;
    flex: 1;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}
.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gold-pale);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--gold);
    font-size: 1rem;
    flex-shrink: 0;
}
.author-name { font-weight: 700; font-size: 0.875rem; color: var(--navy); }
.author-location { font-size: 0.75rem; color: var(--text-muted); }

/* =========================================
   FAQ
========================================= */
.faq-section { background: var(--white); }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color var(--trans);
}
.faq-item.open { border-color: var(--gold); }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    text-align: left;
    font-family: var(--font);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--navy);
    transition: background var(--trans);
}
.faq-question:hover { background: var(--cream); }
.faq-item.open .faq-question { background: var(--gold-pale); color: #7a5c1e; }
.faq-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--trans), transform var(--trans);
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 300;
}
.faq-item.open .faq-icon {
    background: var(--gold);
    color: var(--white);
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* =========================================
   CTA Section
========================================= */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196,151,58,.12) 0%, transparent 70%);
    pointer-events: none;
}
.cta-section h2 {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: 1rem;
}
.cta-section p { font-size: 1.0625rem; color: rgba(255,255,255,.65); margin-bottom: 2.5rem; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* =========================================
   Site Footer
========================================= */
.site-footer {
    background: #070f1a;
    color: rgba(255,255,255,.45);
    padding: 3rem 0 1.5rem;
}
.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(255,255,255,.07);
    margin-bottom: 2rem;
}
.footer-brand .site-logo-text { font-size: 1.25rem; display: block; margin-bottom: 0.875rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; }
.footer-col h4 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,.7);
    font-weight: 700;
    margin-bottom: 1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col ul li a {
    font-size: 0.875rem;
    color: rgba(255,255,255,.4);
    text-decoration: none;
    transition: color var(--trans);
}
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.footer-links { display: flex; gap: 1.25rem; }
.footer-links a { color: rgba(255,255,255,.35); font-size: 0.8rem; transition: color var(--trans); }
.footer-links a:hover { color: rgba(255,255,255,.7); }

/* =========================================
   Blog / Inner Pages
========================================= */
.page-hero {
    background: var(--navy);
    padding: 7rem 0 4rem;
    text-align: center;
}
.page-hero h1 {
    font-family: var(--font-serif);
    color: var(--white);
    font-size: clamp(1.75rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
}
.page-hero p { color: rgba(255,255,255,.6); font-size: 1.0625rem; }
.inner-content { padding: 4rem 0 5rem; background: var(--white); }
.inner-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 3rem;
    align-items: start;
}
.entry-content h2, .entry-content h3 { color: var(--navy); font-family: var(--font-serif); margin: 2rem 0 0.75rem; }
.entry-content p { margin-bottom: 1.25rem; }
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.entry-content li { margin-bottom: 0.375rem; }
.widget { border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.widget-title { font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--navy); margin-bottom: 1rem; }

/* Post Cards */
.post-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform var(--trans), box-shadow var(--trans);
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card-img { aspect-ratio: 16/9; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.post-card:hover .post-card-img img { transform: scale(1.05); }
.post-card-body { padding: 1.5rem; }
.post-cat {
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em;
    color: var(--gold); margin-bottom: 0.5rem; display: block;
}
.post-card h2, .post-card h3 { font-size: 1.125rem; color: var(--navy); margin-bottom: 0.5rem; }
.post-card h2 a, .post-card h3 a { color: inherit; text-decoration: none; }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--gold); }
.post-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.875rem; }
.post-excerpt { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.read-more-link {
    font-size: 0.875rem; font-weight: 600; color: var(--gold);
    text-decoration: none; display: inline-flex; align-items: center; gap: 0.375rem;
}
.read-more-link:hover { color: var(--navy); }

/* Pagination */
.pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 3rem; }
.page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 2.5rem; height: 2.5rem; padding: 0 0.75rem;
    border: 1px solid var(--border); border-radius: var(--radius);
    font-size: 0.875rem; font-weight: 500; color: var(--text); text-decoration: none;
    transition: all var(--trans);
}
.page-numbers:hover, .page-numbers.current {
    background: var(--gold); color: var(--navy); border-color: var(--gold);
}
.page-numbers.dots { border: none; }

/* 404 */
.error-page { text-align: center; padding: 6rem 0; }
.error-page h1 { font-family: var(--font-serif); font-size: 7rem; color: var(--gold); line-height: 1; }

/* Comments */
.comments-area { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.comment-list { list-style: none; padding: 0; }
.comment-list .comment { padding: 1.25rem 0; border-bottom: 1px solid var(--border); }
.comment-meta { display: flex; gap: 0.75rem; align-items: center; margin-bottom: 0.75rem; font-size: 0.85rem; }
.comment-form input, .comment-form textarea {
    width: 100%; padding: 0.625rem 0.875rem;
    border: 1px solid var(--border); border-radius: var(--radius);
    font-family: var(--font); font-size: 0.9375rem; outline: none;
    transition: border-color var(--trans);
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--gold); }
.comment-form textarea { min-height: 130px; resize: vertical; }
.comment-form label { font-weight: 600; font-size: 0.875rem; display: block; margin-bottom: 0.375rem; }
.comment-form p { margin-bottom: 1rem; }

/* Search form */
.search-form { display: flex; gap: 0.5rem; }
.search-field {
    flex: 1; padding: 0.5rem 0.875rem; border: 1px solid var(--border);
    border-radius: var(--radius); font-size: 0.9rem; outline: none;
    font-family: var(--font); transition: border-color var(--trans);
}
.search-field:focus { border-color: var(--gold); }
.search-submit {
    padding: 0.5rem 1rem; background: var(--gold); color: var(--navy);
    border: none; border-radius: var(--radius); cursor: pointer;
    font-weight: 600; font-size: 0.875rem; transition: background var(--trans);
}
.search-submit:hover { background: var(--gold-light); }

/* =========================================
   Responsive
========================================= */
@media (max-width: 960px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-grid { grid-template-columns: 1fr; gap: 1rem; }
    .steps-grid::before { display: none; }
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .inner-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    html, body { overflow-x: hidden; }

    /* Header */
    .header-inner { flex-wrap: nowrap; gap: 0.5rem; }
    .header-nav { display: none; }
    .header-nav.is-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 78px; left: 0; right: 0;
        background: rgba(11,25,41,.98);
        backdrop-filter: blur(12px);
        padding: 0.75rem 1rem 1rem;
        border-top: 1px solid rgba(255,255,255,.08);
        z-index: 998;
        gap: 0;
    }
    .header-nav.is-open a {
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid rgba(255,255,255,.06);
        border-radius: 0;
        font-size: 1rem;
    }
    .header-phone { display: none; }
    .header-cta .btn { font-size: .8rem; padding: .5rem .875rem; white-space: nowrap; }
    .menu-toggle { display: block; }

    /* Hero */
    .hero-content { padding: 7rem 0 4rem; }
    .hero h1 { font-size: 2.25rem; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .hero-trust { gap: 1rem; }

    /* Sections */
    .section, .cta-section { padding: 4rem 0; }
    .steps-grid { grid-template-columns: 1fr; gap: 1rem; }
    .steps-grid::before { display: none; }
    .benefits-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .cta-actions { flex-direction: column; align-items: center; }
    .cta-actions .btn { width: 100%; max-width: 340px; justify-content: center; }

    /* Footer */
    .footer-top { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
