/* =========================================================
   gratis-solar-offerte.ch — Design System v2
   Calm Swiss premium · navy + cream + muted gold
   ========================================================= */

:root {
  --navy: #0f2942;
  --navy-2: #1e3a5f;
  --cream: #faf7f0;
  --cream-2: #f3ede0;
  --gold: #d4a838;
  --gold-soft: #e8c66a;
  --green: #5a7a52;
  --text: #1a2233;
  --text-muted: #5a6478;
  --border: #e6dfd1;
  --border-soft: #efebe1;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(15,41,66,0.06);
  --shadow-md: 0 6px 18px rgba(15,41,66,0.08);
  --shadow-lg: 0 14px 40px rgba(15,41,66,0.12);
  --radius: 10px;
  --radius-lg: 16px;
  --primary: var(--navy);
  --primary-dark: var(--navy-2);
  --accent: var(--gold);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-2); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--gold); }
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', sans-serif; font-weight: 700; line-height: 1.2; color: var(--navy); letter-spacing: -0.012em; }
h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.2rem); }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin-bottom: 1em; color: var(--text); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== Buttons ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 26px; border-radius: 10px; font-family: inherit; font-weight: 600; font-size: 0.96rem; border: none; cursor: pointer; transition: all .2s ease; white-space: nowrap; text-decoration: none; }
.btn-xl { padding: 16px 36px; font-size: 1.04rem; }
.btn-primary, .btn-accent { background: var(--navy) !important; color: var(--white) !important; box-shadow: var(--shadow-sm); }
.btn-primary:hover, .btn-accent:hover { background: var(--navy-2) !important; color: var(--white) !important; transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent !important; color: var(--navy) !important; border: 1.5px solid var(--navy); box-shadow: none; }
.btn-outline:hover { background: var(--navy) !important; color: var(--white) !important; }
.pulse-animation { animation: none !important; }

/* ===== Navbar ===== */
.navbar { position: sticky; top: 0; z-index: 100; background: rgba(250, 247, 240, 0.92); backdrop-filter: saturate(150%) blur(10px); -webkit-backdrop-filter: saturate(150%) blur(10px); border-bottom: 1px solid var(--border-soft); padding: 0; }
.nav-container { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 1.5rem; gap: 1.5rem; max-width: 1200px; margin: 0 auto; }
.nav-logo, .navbar-brand { display: inline-flex; align-items: center; }
.nav-logo img, .navbar-brand img { height: 36px !important; width: auto; }
.nav-menu, .navbar-links { display: flex; align-items: center; list-style: none; gap: 1.6rem; margin: 0; padding: 0; }
.nav-menu li, .navbar-links li { display: inline-flex; }
.nav-menu a, .navbar-links a { color: var(--text); font-weight: 500; font-size: 0.94rem; }
.nav-menu a:not(.btn):not(.nav-cta):hover, .navbar-links a:not(.btn):not(.navbar-cta):hover { color: var(--gold); }
.nav-cta, .navbar-cta { background: var(--navy) !important; color: var(--white) !important; padding: 0.55rem 1.1rem !important; border-radius: 8px; font-weight: 600 !important; white-space: nowrap; font-size: 0.88rem !important; }
.nav-cta:hover, .navbar-cta:hover { background: var(--navy-2) !important; color: var(--white) !important; }
.nav-toggle, .menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--navy); cursor: pointer; }
@media (max-width: 900px) {
  .nav-menu, .navbar-links { display: none; }
  .nav-menu.active, .navbar-links.active { display: flex; position: absolute; top: 100%; right: 1rem; background: var(--white); flex-direction: column; padding: 0.6rem; border-radius: 12px; box-shadow: var(--shadow-lg); min-width: 220px; gap: 0; }
  .nav-menu.active a, .navbar-links.active a { display: block; padding: 0.6rem 0.9rem; width: 100%; border-radius: 6px; }
  .nav-toggle, .menu-toggle { display: inline-flex; }
}

/* ===== Hide screaming urgency banner & countdown ===== */
.urgency-banner, .urgency-bar { display: none !important; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%) !important;
  background-image: linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%) !important;
  color: var(--text) !important;
  padding: 4.5rem 0 4rem !important;
  overflow: hidden;
}
.hero .container { position: relative; background: transparent !important; background-image: none !important; }
.hero::after { content: ""; position: absolute; right: -180px; top: -100px; width: 600px; height: 600px; background: radial-gradient(circle, rgba(212,168,56,0.10), transparent 70%); pointer-events: none; }
.hero h1 { color: var(--navy) !important; -webkit-text-fill-color: var(--navy) !important; }
.hero h1 span { color: var(--gold); }
.hero p, .hero-sub, .hero-subtitle { color: var(--text) !important; font-size: 1.08rem; max-width: 600px; margin-bottom: 1.6rem; }
.hero-text p { color: var(--text) !important; }
.hero-content, .hero-text { color: var(--text); }
.hero-grid { display: grid; grid-template-columns: 1fr; max-width: 1200px; margin: 0 auto; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--white); color: var(--navy); padding: 0.45rem 0.95rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600; border: 1px solid var(--border); box-shadow: var(--shadow-sm); margin-bottom: 1.4rem; }
.hero-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem; max-width: 720px; margin: 1.8rem auto 0; padding: 1.4rem 1.2rem; background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.stat-item, .hero-stat { text-align: center; }
.stat-number, .hero-stat .number, .hero-stat .stat-number, .hero-stat-number { display: block !important; color: var(--navy) !important; font-weight: 800 !important; font-size: 1.6rem !important; letter-spacing: -0.02em; line-height: 1.1; }
.stat-label, .hero-stat .label, .hero-stat .stat-label, .hero-stat-label { display: block !important; font-size: 0.78rem !important; color: var(--text-muted) !important; margin-top: 0.3rem; }
.hero-cta-btn { margin-top: 2rem; }
.hero-micro { font-size: 0.88rem; color: var(--text-muted); margin-top: 1rem; }

/* hero-visual / calc preview */
.hero-visual { background: var(--white) !important; border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 1.8rem 2rem; box-shadow: var(--shadow-md); color: var(--text) !important; }
.hero-visual h3 { color: var(--navy) !important; margin-bottom: 1.1rem; font-size: 1.1rem; font-weight: 700; }
.calc-preview { display: flex; flex-direction: column; gap: 0.4rem; }
.calc-row { display: flex; justify-content: space-between; padding: 0.7rem 0; border-bottom: 1px dashed var(--border-soft); font-size: 0.95rem; }
.calc-row:last-child { border-bottom: 0; padding-top: 1rem; border-top: 2px solid var(--navy); margin-top: 0.5rem; }
.calc-label { color: var(--text) !important; font-weight: 500; }
.calc-value { color: var(--navy) !important; font-weight: 700; -webkit-text-fill-color: var(--navy) !important; }
@media (max-width: 860px) { .hero-stats { grid-template-columns: 1fr 1fr; } }

/* ===== Trust bar ===== */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--border-soft); padding: 1.5rem 0; }
.trust-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; }
.trust-item { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--text-muted); }
.trust-icon { color: var(--gold); font-size: 1rem; }

/* ===== Sections ===== */
section { padding: 4rem 0; }
section.bg-light { background: var(--cream); }
section[style*="background-image"] { background-image: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%) !important; color: var(--text) !important; }
section[style*="background-image"] h2, section[style*="background-image"] h3 { color: var(--navy) !important; }
section[style*="background-image"] p { color: var(--text-muted) !important; }
.section-title, h2.section-title { text-align: center; color: var(--navy); }
.benefits-section, .blog-preview-section, .faq-section { background: var(--cream); }

/* ===== Card grids ===== */
.benefits-grid, .reasons-grid, .features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.4rem; }
.benefit-card, .reason-card, .feature-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 1.8rem 1.6rem; transition: all .2s ease; box-shadow: var(--shadow-sm); }
.benefit-card:hover, .reason-card:hover, .feature-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.benefit-icon, .reason-icon, .feature-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--cream-2); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 1rem; font-size: 1.4rem; }
.benefit-icon svg, .reason-icon svg, .feature-icon svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.benefit-card h3, .reason-card h3, .feature-card h3 { color: var(--navy); margin-bottom: 0.4rem; }
.benefit-card p, .reason-card p, .feature-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* ===== ROI / EIV ===== */
.roi-section, .roi-grid, .eiv-content { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: center; }
.roi-content h2, .eiv-text h2 { text-align: left; color: var(--navy); margin-bottom: 1rem; }
.roi-features { padding-left: 1.2rem; }
.roi-features li { color: var(--text); margin-bottom: 0.5rem; }
.roi-content p, .eiv-text p { color: var(--text); }
.eiv-sidebar { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.eiv-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.eiv-table th, .eiv-table td { padding: 0.7rem 0.6rem; text-align: left; border-bottom: 1px solid var(--border-soft); color: var(--text); }
.eiv-table th { color: var(--navy); font-weight: 600; }
.eiv-table tbody tr:last-child td { border-bottom: 0; }
@media (max-width: 860px) { .roi-section, .roi-grid, .eiv-content { grid-template-columns: 1fr; gap: 1.6rem; } }

/* ===== Process ===== */
.process-steps, .ablauf-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.process-step, .ablauf-step { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 1.8rem 1.5rem 1.5rem; text-align: center; box-shadow: var(--shadow-sm); }
.step-number, .step-num { width: 40px; height: 40px; background: var(--navy); color: var(--white); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 1rem; font-size: 1rem; }
.process-step h3, .ablauf-step h3 { color: var(--navy); margin-bottom: 0.4rem; }
.process-step p, .ablauf-step p { color: var(--text-muted); font-size: 0.93rem; margin: 0; }

/* ===== Blog grid ===== */
.blog-grid, .blog-preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.6rem; }
.blog-card, .blog-preview-card { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: all .2s ease; box-shadow: var(--shadow-sm); }
.blog-card:hover, .blog-preview-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card img, .blog-preview-img img, .blog-preview-card img { width: 100% !important; height: 200px !important; object-fit: cover; }
.blog-preview-img { height: 200px; overflow: hidden; }
.blog-preview-content { padding: 1.1rem 1.2rem; flex-grow: 1; display: flex; flex-direction: column; }
.blog-card h3, .blog-preview-content h3 { color: var(--navy); font-size: 1.05rem; margin: 0 0 0.4rem; line-height: 1.35; }
.blog-card h3 a, .blog-preview-content h3 a { color: inherit; }
.blog-card h3 a:hover, .blog-preview-content h3 a:hover { color: var(--gold); }
.blog-card p, .blog-preview-content p { color: var(--text-muted); font-size: 0.93rem; margin: 0 0 0.8rem; flex-grow: 1; }
.blog-link, .blog-preview-cta { color: var(--gold) !important; font-weight: 600 !important; font-size: 0.9rem !important; }

/* ===== FAQ ===== */
.faq-list, .faq-grid { max-width: 820px; margin: 0 auto; }
.faq-item { background: var(--white); border: 1px solid var(--border-soft); border-radius: var(--radius); margin-bottom: 0.7rem; overflow: hidden; }
.faq-question { width: 100%; background: transparent !important; border: 0; padding: 1rem 1.2rem; font-family: inherit; font-size: 0.98rem; font-weight: 600; color: var(--navy) !important; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; }
.faq-toggle { font-size: 1.4rem; font-weight: 300; color: var(--gold); transition: transform .2s ease; flex-shrink: 0; }
.faq-item.active .faq-toggle, .faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; background: var(--cream); }
.faq-item.active .faq-answer, .faq-item.open .faq-answer { max-height: 500px; }
.faq-answer-inner, .faq-answer p, .faq-answer div { padding: 0 1.2rem 1.1rem; color: var(--text-muted); font-size: 0.95rem; line-height: 1.65; }

/* ===== CTA ===== */
.cta-banner, .cta-section, .final-cta-section { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%) !important; color: var(--white) !important; padding: 4rem 0; text-align: center; position: relative; overflow: hidden; }
.cta-banner::before, .cta-section::before, .final-cta-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at top right, rgba(212,168,56,0.18), transparent 50%); pointer-events: none; }
.cta-banner > *, .cta-section > *, .final-cta-section > * { position: relative; }
.cta-banner h2, .cta-section h2, .final-cta-section h2 { color: var(--white) !important; margin-bottom: 0.7rem; }
.cta-banner p, .cta-section p, .final-cta-section p { color: rgba(255,255,255,0.82) !important; max-width: 580px; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-banner .btn-primary, .cta-banner .btn-accent, .cta-section .btn-primary, .final-cta-section .btn-primary, .final-cta-section .btn-accent { background: var(--gold) !important; color: var(--navy) !important; }
.final-cta-card { background: var(--white); color: var(--text); padding: 2.5rem; border-radius: var(--radius-lg); max-width: 720px; margin: 0 auto; box-shadow: var(--shadow-lg); }
.final-cta-card h2, .final-cta-card h3 { color: var(--navy) !important; }
.final-cta-card p { color: var(--text-muted) !important; }
.final-cta-features { list-style: none; padding: 0; margin: 1rem 0 1.6rem; display: grid; gap: 0.5rem; text-align: left; }
.final-cta-features li { color: var(--text); padding-left: 1.6rem; position: relative; font-size: 0.94rem; }
.final-cta-features li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

/* ===== Footer ===== */
.footer, .site-footer { background: var(--navy) !important; color: rgba(255,255,255,0.78) !important; padding: 3.5rem 0 1.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.2rem; }
.footer-logo, .footer-brand { margin-bottom: 1rem; }
.footer-logo img, .footer-brand img { height: 44px !important; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,0.82) !important; font-size: 0.92rem; line-height: 1.55; }
.footer h4, .footer-col h4 { color: var(--white) !important; font-size: 0.95rem; margin-bottom: 1rem; font-weight: 600; }
.footer-links, .footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer a, .footer-col a { color: rgba(255,255,255,0.7) !important; font-size: 0.92rem; display: block; padding: 0.25rem 0; }
.footer a:hover, .footer-col a:hover { color: var(--gold-soft) !important; }
.footer-contact { color: rgba(255,255,255,0.7); font-size: 0.92rem; }
.footer-bottom { max-width: 1200px; margin: 2.5rem auto 0; padding-top: 1.4rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 0.85rem; color: rgba(255,255,255,0.55); }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; } }

/* ===== Disclaimer ===== */
.legal-notice { background: var(--cream-2); border-top: 1px solid var(--border); padding: 0.95rem 1.5rem; text-align: center; font-size: 0.78rem; line-height: 1.6; color: var(--text-muted); }
.legal-notice strong { color: var(--navy); font-weight: 600; }
.legal-notice a { color: var(--navy-2); text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 2px; }
.legal-notice a:hover { color: var(--gold); text-decoration-color: var(--gold); }

/* ===== Cookie ===== */
.cookie-banner { position: fixed; bottom: 0; left: 0; right: 0; background: var(--navy) !important; color: var(--white) !important; padding: 1rem 1.5rem !important; z-index: 1000; display: none; box-shadow: 0 -4px 20px rgba(15,41,66,0.18); }
.cookie-banner.show { display: block; }
.cookie-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.cookie-inner p { color: rgba(255,255,255,0.85); font-size: 0.88rem; margin: 0; }
.cookie-buttons { display: flex; gap: 0.5rem; }
.cookie-btn { border: 0; padding: 0.55rem 1.2rem; border-radius: 8px; font-weight: 600; cursor: pointer; font-size: 0.85rem; font-family: inherit; }
.cookie-accept { background: var(--gold) !important; color: var(--navy) !important; }
.cookie-decline { background: transparent !important; color: rgba(255,255,255,0.85) !important; border: 1px solid rgba(255,255,255,0.3) !important; }

/* ===== Hide leftover popup floating trigger ===== */
#pvf-quick-trigger, #pvf-quick-popup { display: none !important; }

/* ===== Article ===== */
.blog-post, .article-body { max-width: 760px; margin: 0 auto; padding: 3rem 1.5rem; }
.blog-post h1, .article-body h1 { color: var(--navy); margin-bottom: 0.6rem; }
.blog-post .meta, .article-body .meta { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2rem; }
.blog-post h2, .article-body h2 { color: var(--navy); margin: 2.2rem 0 0.8rem; }
.blog-post h3, .article-body h3 { color: var(--navy); margin: 1.6rem 0 0.6rem; }
.blog-post img, .article-body img { border-radius: var(--radius-lg); margin: 1.6rem 0; box-shadow: var(--shadow-sm); }
.blog-post ul, .blog-post ol, .article-body ul, .article-body ol { padding-left: 1.4rem; margin-bottom: 1.4rem; }
.blog-post li, .article-body li { color: var(--text); margin-bottom: 0.4rem; }
