/*
Theme Name: Strom-Wechsel
Theme URI: https://www.strom-wechsel.info
Author: Localmates.de
Author URI: https://localmates.de
Description: Stromvergleichsportal mit KI-Stadtseiten, Check24 & Schema.org.
Version: 1.2.3
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Proprietary
Text Domain: strom-wechsel
*/

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #101828;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
ul, ol { list-style: none; }

/* =========================================================
   CSS CUSTOM PROPERTIES
   ========================================================= */
:root {
  --green:       #2E7D32;
  --green-light: #4CAF50;
  --green-bg:    #F0FFF1;
  --green-dark:  #1B5E20;
  --text:        #101828;
  --text-muted:  #6B7280;
  --text-sub:    #374151;
  --border:      #E5E7EB;
  --bg-light:    #F9FAFB;
  --white:       #fff;
  --radius:      10px;
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08);
  --shadow-md:   0 4px 20px rgba(0,0,0,.1);
  --shadow-lg:   0 8px 40px rgba(0,0,0,.14);
}

/* =========================================================
   LAYOUT HELPERS
   ========================================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.container--narrow { max-width: 760px; }
.text-center { text-align: center; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.25;
}
.section-head h2 .hl { color: var(--green); }
.section-head p { color: var(--text-muted); font-size: .98rem; }

/* =========================================================
   TOP BAR
   ========================================================= */
.top-bar {
  background: var(--green-dark);
  color: rgba(255,255,255,.92);
  font-size: .78rem;
  padding: 7px 0;
  line-height: 1;
}
.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.top-bar-inner > span {
  display: flex;
  align-items: center;
  gap: 5px;
}
.top-bar-inner svg { flex-shrink: 0; }
@media (max-width: 640px) { .top-bar-hide-sm { display: none !important; } }

/* =========================================================
   HEADER
   ========================================================= */
#sw-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 9000;
  transition: box-shadow .2s;
}
#sw-header.scrolled { box-shadow: 0 2px 16px rgba(0,0,0,.09); }

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  flex-shrink: 0;
  line-height: 1;
}
.logo-mark svg { display: block; }
.logo-text {
  font-size: 1.15rem;
  color: var(--text);
  white-space: nowrap;
}
.logo-text strong { font-weight: 800; }
.logo-text em { font-style: normal; color: var(--green); font-weight: 700; }

/* Nav */
#sw-nav { flex: 1; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0;
  margin: 0;
}
.nav-list li { list-style: none; }
.nav-list a {
  display: flex;
  align-items: center;
  gap: 3px;
  padding: 6px 13px;
  border-radius: 6px;
  font-size: .88rem;
  font-weight: 500;
  color: #374151;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav-list a:hover { background: #F3F4F6; color: var(--text); }

/* Header CTA */
.header-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  padding: 8px 20px;
  border: 2px solid var(--green);
  border-radius: 8px;
  color: var(--green);
  font-size: .87rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: all .2s;
}
.header-cta:hover { background: var(--green); color: #fff; }

/* Burger */
.burger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  flex-shrink: 0;
}
.burger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #374151;
  border-radius: 2px;
  transition: all .25s;
}

/* ── MOBILE: hide nav + cta, show burger ── */
@media (max-width: 960px) {
  #sw-nav,
  .header-cta { display: none !important; }
  .burger-btn  { display: flex !important; }
}

/* =========================================================
   MOBILE MENU — hidden by default, shown via .open
   ========================================================= */
#sw-mobile-menu {
  display: none;        /* CRITICAL: hidden by default */
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 8999;
  padding: 80px 32px 40px;
  overflow-y: auto;
}
#sw-mobile-menu.open {
  display: block;       /* shown only when JS adds .open */
}
#sw-mobile-menu ul { padding: 0; margin: 0; }
#sw-mobile-menu li { border-bottom: 1px solid #F3F4F6; }
#sw-mobile-menu a {
  display: block;
  padding: 15px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}
.mobile-cta {
  display: block;
  margin-top: 20px;
  background: var(--green) !important;
  color: #fff !important;
  padding: 14px 24px !important;
  border-radius: var(--radius);
  text-align: center;
  font-size: 1rem !important;
  font-weight: 700 !important;
}

#sw-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 8998;
}
#sw-overlay.show { display: block; }
body.menu-open { overflow: hidden; }

/* =========================================================
   HERO v1.1
   ========================================================= */
.hero-v2 {
  background-color: #e8f5e9;
  background-size: cover;
  background-position: 70% center;
  background-repeat: no-repeat;
  min-height: 580px;
  display: flex;
  align-items: center;
}
.hero-v2-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 48px;
  align-items: center;
}
.hero-v2-content h1 {
  font-size: clamp(2rem, 3.5vw, 2.9rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
}
.hero-v2-content h1 .hl { color: var(--green); }
.hero-v2-sub {
  font-size: 1.05rem;
  color: var(--text-sub);
  max-width: 500px;
  margin-bottom: 28px;
  line-height: 1.65;
}
.hero-checks {
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.hero-checks li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: .95rem;
  color: var(--text-sub);
  font-weight: 500;
}
.hero-checks li svg { flex-shrink: 0; }
.hero-v2-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.hero-stars-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: var(--text-sub);
  line-height: 1.4;
}
.hero-stars-row > div { display: flex; align-items: center; gap: 2px; }
.tuev-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 9px 14px;
  background: #fff;
}
.tuev-icon {
  background: #1565C0;
  color: #fff;
  font-weight: 900;
  font-size: .58rem;
  line-height: 1.3;
  padding: 5px 7px;
  border-radius: 4px;
  text-align: center;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.tuev-badge > span { font-size: .73rem; color: var(--text-muted); line-height: 1.45; }

/* ── Calc Card ── */
.calc-card-v2 {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  width: 100%;
}
.calc-card-header {
  padding: 24px 28px 16px;
  border-bottom: 1px solid #F3F4F6;
}
.calc-card-header h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  line-height: 1.3;
}
.calc-card-header h2 .hl { color: var(--green); }
.calc-card-body {
  padding: 20px 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-field {}
.form-field label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  color: #374151;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.form-field input[type="text"] {
  display: block;
  width: 100%;
  border: 1.5px solid #D1D5DB;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: .95rem;
  color: var(--text);
  font-family: inherit;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.form-field input[type="text"]::placeholder { color: #9CA3AF; }
.form-field input[type="text"]:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,125,50,.1);
}
.select-wrap { position: relative; }
.select-wrap::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid #6B7280;
  pointer-events: none;
}
.select-wrap select {
  display: block;
  width: 100%;
  border: 1.5px solid #D1D5DB;
  border-radius: 8px;
  padding: 11px 36px 11px 14px;
  font-size: .95rem;
  color: var(--text);
  font-family: inherit;
  -webkit-appearance: none;
  appearance: none;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s;
}
.select-wrap select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(46,125,50,.1);
}
.tarif-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1.5px solid #D1D5DB;
  border-radius: 8px;
  overflow: hidden;
}
.tarif-btn {
  display: block;
  padding: 11px 10px;
  border: none;
  background: #fff;
  font-size: .9rem;
  font-weight: 600;
  color: #6B7280;
  cursor: pointer;
  transition: all .18s;
  line-height: 1;
}
.tarif-btn.active { background: var(--green); color: #fff; }
.tarif-btn:not(.active):hover { background: #F3F4F6; color: var(--text); }
.oeko-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;      /* bigger: was .78rem */
  font-weight: 600;
  color: var(--green);
  margin-top: -4px;
  background: var(--green-bg);
  border-radius: 6px;
  padding: 6px 10px;
}
.btn-compare {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--green);
  color: #fff;
  padding: 15px 20px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-compare:hover { background: var(--green-dark); transform: translateY(-1px); }
.btn-compare svg { flex-shrink: 0; }
.calc-note-v2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: .76rem;
  color: #9CA3AF;
  text-align: center;
}

/* ── Hero responsive ── */
@media (max-width: 1024px) {
  .hero-v2-inner {
    grid-template-columns: 1fr 400px;
    gap: 32px;
  }
}
@media (max-width: 860px) {
  .hero-v2-inner {
    grid-template-columns: 1fr;
    padding: 40px 20px 48px;
  }
  .calc-card-v2 { max-width: 520px; }
  .hero-v2 { background-position: center; }
}

/* =========================================================
   BENEFITS ROW
   ========================================================= */
.benefits-row {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.benefit-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--green-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.benefit-item strong { display: block; font-size: .88rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.benefit-item p { font-size: .79rem; color: var(--text-muted); margin: 0; line-height: 1.5; }
@media (max-width: 768px) { .benefits-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px) { .benefits-grid { grid-template-columns: 1fr; } }

/* =========================================================
   CHECK24 SECTION
   ========================================================= */
.check24-section {
  background: var(--bg-light);
  padding: 56px 0;
}
.check24-header {
  text-align: center;
  margin-bottom: 32px;
}
.check24-header h2 { font-size: 1.7rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.check24-header p { color: var(--text-muted); }
.check24-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--green-bg);
  border: 1px solid #A5D6A7;
  color: var(--green);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.check24-wrapper {
  background: #fff;
  border-radius: 14px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  min-height: 200px;
}
.c24-loading-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 200px;
  gap: 16px;
  color: var(--text-muted);
  font-size: .9rem;
}
.c24-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border);
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.how-section {
  padding: 72px 0;
  background: var(--bg-light);
}
.steps-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.step-item { position: relative; }
.step-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.step-num {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 1.35rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(46,125,50,.28);
  position: relative;
  z-index: 1;
  font-family: 'Manrope', system-ui, sans-serif;
}
.step-connector {
  position: absolute;
  left: calc(50% + 30px);
  top: 50%;
  transform: translateY(-50%);
  width: calc(100% - 60px);
  height: 2px;
  border-top: 2px dashed #A5D6A7;
}
.step-item h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.step-item p { font-size: .87rem; color: var(--text-muted); line-height: 1.6; max-width: 240px; margin: 0 auto; }
@media (max-width: 640px) {
  .steps-row { grid-template-columns: 1fr; gap: 40px; }
  .step-connector { display: none; }
}

/* =========================================================
   PROVIDERS
   ========================================================= */
.providers-section {
  padding: 72px 0;
  background: #fff;
}
.providers-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.provider-card-v2 {
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 22px 16px;
  text-align: center;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  background: #fff;
}
.provider-card-v2:hover {
  border-color: var(--green);
  box-shadow: 0 6px 24px rgba(46,125,50,.12);
  transform: translateY(-2px);
}
.provider-logo {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -.5px;
}
.provider-stars {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  margin-bottom: 10px;
}
.provider-stars small { font-size: .73rem; color: var(--text-muted); margin-left: 4px; }
.provider-price { font-size: .82rem; color: var(--text-muted); margin-bottom: 14px; line-height: 1; }
.provider-price strong { display: block; font-size: 1.1rem; color: var(--text); font-weight: 800; margin-bottom: 2px; }
.provider-btn {
  display: block;
  border: 1.5px solid var(--green);
  border-radius: 7px;
  color: var(--green);
  font-size: .82rem;
  font-weight: 700;
  padding: 8px;
  text-decoration: none;
  transition: all .18s;
  margin-bottom: 8px;
  background: #fff;
}
.provider-btn:hover { background: var(--green); color: #fff; }
.provider-eco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: .72rem;
  color: var(--green);
  margin: 0;
}
.btn-outline-green {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 28px;
  border: 2px solid var(--green);
  border-radius: var(--radius);
  color: var(--green);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  background: #fff;
  transition: all .2s;
}
.btn-outline-green:hover { background: var(--green); color: #fff; }
@media (max-width: 900px) { .providers-row { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .providers-row { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   BLOG
   ========================================================= */
.blog-section-v2 {
  padding: 72px 0;
  background: var(--bg-light);
}
.blog-grid-v2 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.blog-card-v2 {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.blog-card-v2:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card-img-wrap {
  display: block;
  overflow: hidden;
  height: 170px;
  flex-shrink: 0;
}
.blog-card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.blog-card-v2:hover .blog-card-img-wrap img { transform: scale(1.05); }
.blog-card-placeholder { background: linear-gradient(135deg, #E8F5E9, #C8E6C9); }
.blog-card-body-v2 {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
}
.blog-cat-tag {
  display: inline-block;
  background: #E8F5E9;
  color: var(--green);
  font-size: .7rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: .4px;
  align-self: flex-start;
}
.blog-card-body-v2 h3 {
  font-size: .88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
}
.blog-card-body-v2 h3 a { color: inherit; text-decoration: none; }
.blog-card-body-v2 h3 a:hover { color: var(--green); }
.blog-card-body-v2 p {
  font-size: .8rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}
.blog-read-more {
  font-size: .8rem;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
}
.blog-read-more:hover { text-decoration: underline; }
@media (max-width: 900px) { .blog-grid-v2 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .blog-grid-v2 { grid-template-columns: 1fr; } }

/* =========================================================
   TRUST BAR
   ========================================================= */
.trust-bar-v2 {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 0;
}
.trust-bar-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  align-items: start;
}
.trust-item-v2 {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.trust-icon-v2 {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--green-bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trust-item-v2 strong { display: block; font-size: .82rem; font-weight: 700; color: var(--text); margin-bottom: 2px; }
.trust-item-v2 p { font-size: .74rem; color: var(--text-muted); margin: 0; line-height: 1.4; }
@media (max-width: 900px) { .trust-bar-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .trust-bar-grid { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter-v2 {
  background: var(--green-bg);
  border-top: 1px solid #C8E6C9;
  border-bottom: 1px solid #C8E6C9;
  padding: 32px 0;
}
.newsletter-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.newsletter-icon { flex-shrink: 0; }
.newsletter-text { flex: 1; min-width: 200px; }
.newsletter-text strong { display: block; font-size: 1.05rem; color: var(--text); font-weight: 700; margin-bottom: 4px; }
.newsletter-text p { font-size: .85rem; color: var(--text-sub); margin: 0; line-height: 1.5; }
.newsletter-form { display: flex; gap: 8px; flex-shrink: 0; }
.newsletter-form input[type="email"] {
  padding: 11px 16px;
  border: 1.5px solid #A5D6A7;
  border-radius: 8px;
  font-size: .9rem;
  font-family: inherit;
  width: 260px;
  background: #fff;
}
.newsletter-form input[type="email"]:focus { outline: none; border-color: var(--green); }
.newsletter-form button {
  padding: 11px 20px;
  background: var(--green);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  font-family: inherit;
  white-space: nowrap;
  transition: background .2s;
}
.newsletter-form button:hover { background: var(--green-dark); }
.newsletter-legal { font-size: .74rem; color: var(--text-muted); margin-top: 10px; text-align: center; }
@media (max-width: 720px) {
  .newsletter-form { width: 100%; }
  .newsletter-form input[type="email"] { flex: 1; width: auto; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #0d1a0e;
  color: rgba(255,255,255,.75);
  padding: 56px 0 0;
  font-size: .87rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.footer-brand .logo-text { color: #fff; font-size: 1.1rem; }
.footer-brand .logo-text em { color: #81C784; }
.footer-brand p { margin-top: 14px; font-size: .82rem; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 240px; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
  transition: background .2s;
}
.footer-social a:hover { background: var(--green); color: #fff; }
.footer-col h4 {
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .6px;
}
.footer-col ul { padding: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(255,255,255,.6); text-decoration: none; font-size: .84rem; transition: color .15s; }
.footer-col a:hover { color: #81C784; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.4); text-decoration: none; }
.footer-bottom a:hover { color: #81C784; }
.made-with { display: flex; align-items: center; gap: 5px; }
.made-with .heart { color: #F87171; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } .footer-bottom { flex-direction: column; align-items: center; text-align: center; } }

/* =========================================================
   CITY LANDING PAGE
   ========================================================= */
.city-hero {
  background: linear-gradient(135deg, #0f2027 0%, #1a3a2e 60%, #0d1a14 100%);
  padding: 100px 0 64px;
  min-height: 380px;
  display: flex;
  align-items: center;
}
.city-hero h1 { font-size: clamp(1.7rem,4vw,2.6rem); font-weight: 800; color: #fff; margin-bottom: 14px; }
.city-breadcrumb { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: rgba(255,255,255,.6); margin-bottom: 20px; }
.city-breadcrumb a { color: #81C784; text-decoration: none; }
.city-breadcrumb .sep { color: rgba(255,255,255,.3); }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(76,175,80,.15); border: 1px solid rgba(76,175,80,.35); color: #81C784; padding: 5px 14px; border-radius: 50px; font-size: .78rem; font-weight: 600; }
.hero-badge .dot { width: 6px; height: 6px; background: #4CAF50; border-radius: 50%; flex-shrink: 0; }
.hero-stars { display: flex; align-items: center; gap: 5px; margin-top: 16px; }
.star { color: #F59E0B; font-size: 1.1rem; }
.rating-text { font-size: .82rem; color: rgba(255,255,255,.65); margin-left: 6px; }
.city-savings { display: inline-flex; align-items: center; gap: 8px; background: rgba(76,175,80,.12); border: 1px solid rgba(76,175,80,.25); color: #81C784; padding: 8px 16px; border-radius: 8px; font-size: .88rem; font-weight: 600; margin-top: 12px; }
.city-content-grid { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: start; padding: 48px 0; }
.city-article h2 { font-size: 1.35rem; font-weight: 700; color: var(--text); margin: 28px 0 12px; }
.city-article h3 { font-size: 1.1rem; font-weight: 700; color: var(--text); margin: 22px 0 9px; }
.city-article p { font-size: .95rem; color: var(--text-sub); line-height: 1.8; margin-bottom: 16px; }
.city-article ul, .city-article ol { padding-left: 22px; margin-bottom: 16px; }
.city-article li { font-size: .95rem; color: var(--text-sub); line-height: 1.7; margin-bottom: 5px; }
.city-info-box { background: var(--bg-light); border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin: 20px 0; }
.city-info-box h4 { display: flex; align-items: center; gap: 8px; font-size: .95rem; font-weight: 700; margin-bottom: 10px; }
.sticky-calc-card { background: #fff; border: 1.5px solid var(--border); border-radius: 14px; padding: 22px; }
.sticky-calc-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.author-box { display: flex; align-items: flex-start; gap: 16px; background: var(--green-bg); border: 1px solid #A5D6A7; border-radius: 14px; padding: 22px; }
.author-avatar { width: 52px; height: 52px; min-width: 52px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.3rem; }
.author-info h4 { font-size: .95rem; font-weight: 700; margin-bottom: 4px; }
.author-role { font-size: .78rem; color: var(--green); font-weight: 600; margin-bottom: 8px; }
.author-info p { font-size: .83rem; color: var(--text-sub); line-height: 1.6; margin: 0; }
.city-sidebar { position: sticky; top: 84px; }
@media (max-width: 860px) { .city-content-grid { grid-template-columns: 1fr; } .city-sidebar { position: static; } }

/* =========================================================
   FAQ
   ========================================================= */
.faq-section { padding: 72px 0; background: #fff; }
.faq-section.inside { padding: 2rem 0 0; background: none; }
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item { border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden; }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: #fff;
  border: none;
  cursor: pointer;
  font-size: .97rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 12px;
  line-height: 1.4;
}
.faq-icon { flex-shrink: 0; transition: transform .3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-answer-inner { padding: 0 20px 20px; font-size: .92rem; color: var(--text-sub); line-height: 1.75; }

/* =========================================================
   RELATED CITIES / PROVIDER GRID
   ========================================================= */
.cities-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 12px; }
.city-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 15px;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}
.city-card:hover { border-color: var(--green); background: var(--green-bg); }
.city-card-icon { width: 30px; height: 30px; min-width: 30px; background: var(--green-bg); border-radius: 7px; display: flex; align-items: center; justify-content: center; }
.city-card-info h4 { font-size: .85rem; font-weight: 700; color: var(--text); margin: 0; }
.city-card-info p { font-size: .73rem; color: var(--text-muted); margin: 2px 0 0; }

/* =========================================================
   PAGE / BLOG SINGLE
   ========================================================= */
.sw-main-content { padding-top: 64px; }
.post-content h2 { font-size: 1.4rem; font-weight: 700; color: var(--text); margin: 36px 0 12px; }
.post-content h3 { font-size: 1.15rem; font-weight: 700; margin: 26px 0 9px; }
.post-content p { margin-bottom: 18px; color: var(--text-sub); line-height: 1.8; }
.post-content ul, .post-content ol { padding-left: 26px; margin-bottom: 18px; }
.post-content li { margin-bottom: 7px; color: var(--text-sub); line-height: 1.7; }
.post-content a { color: var(--green); text-decoration: underline; }
.post-content blockquote { border-left: 4px solid var(--green); background: var(--green-bg); padding: 14px 18px; border-radius: 0 8px 8px 0; margin: 20px 0; font-style: italic; }
.post-content img { border-radius: 10px; margin: 20px auto; }
.post-content table { width: 100%; border-collapse: collapse; font-size: .9rem; margin: 20px 0; }
.post-content th { background: var(--green-bg); padding: 10px 14px; font-weight: 700; border: 1px solid #A5D6A7; }
.post-content td { padding: 10px 14px; border: 1px solid var(--border); }

/* =========================================================
   UTILITIES
   ========================================================= */
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.reveal-hidden { opacity: 0; transform: translateY(20px); transition: opacity .5s ease, transform .5s ease; }
.reveal-hidden.revealed { opacity: 1; transform: none; }

/* PLZ field error state */
.form-field input.has-error {
  border-color: #DC2626 !important;
  box-shadow: 0 0 0 3px rgba(220,38,38,.1) !important;
}
/* Calc button loading state */
#sw-calc-btn:disabled {
  opacity: .7;
  cursor: not-allowed;
  transform: none !important;
}
