/* ===========================
   SM tech GmbH - Kanton Bern Solar Landing Page
   Color Scheme: Terracotta, Forest Green, Cream
   =========================== */

:root {
  --primary: #c45d3e;
  --primary-dark: #a84b30;
  --primary-light: #d4785e;
  --accent: #2d6a4f;
  --accent-dark: #1b4332;
  --accent-light: #40916c;
  --cream: #fdf8f0;
  --cream-dark: #f5edd8;
  --text: #2c2418;
  --text-light: #6b5e4f;
  --white: #ffffff;
  --border: #e8dfd2;
  --shadow: rgba(44, 36, 24, 0.08);
  --shadow-md: rgba(44, 36, 24, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Manrope', sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lexend', sans-serif;
  line-height: 1.2;
  font-weight: 700;
}

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

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Lexend', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 93, 62, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.1rem;
}

/* ========================
   NAVBAR
   ======================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(253, 248, 240, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px var(--shadow);
  padding: 10px 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}

.navbar.scrolled .logo {
  color: var(--text);
}

.logo-sm {
  color: var(--primary);
  font-weight: 800;
}

.navbar.scrolled .logo-sm {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color var(--transition);
}

.navbar.scrolled .nav-links a {
  color: var(--text-light);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.navbar.scrolled .nav-toggle span {
  background: var(--text);
}

/* ========================
   HERO
   ======================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('../images/hero.png') center/cover no-repeat;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(196,93,62,0.75) 0%, rgba(0,0,0,0.6) 100%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(44, 36, 24, 0.4), transparent);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, transparent 40%, rgba(253, 248, 240, 0.03) 40.5%, rgba(253, 248, 240, 0.03) 60%, transparent 60.5%),
    linear-gradient(45deg, transparent 40%, rgba(253, 248, 240, 0.02) 40.5%, rgba(253, 248, 240, 0.02) 60%, transparent 60.5%);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 120px 24px 80px;
  max-width: 800px;
}

.hero-badge {
  display: inline-block;
  padding: 8px 20px;
  background: rgba(196, 93, 62, 0.2);
  border: 1px solid rgba(196, 93, 62, 0.4);
  border-radius: 50px;
  color: var(--primary-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.hero-stat {
  text-align: center;
}

.hero-stat-value {
  font-family: 'Lexend', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-light);
}

.hero-stat-unit {
  font-family: 'Lexend', sans-serif;
  font-size: 1rem;
  color: var(--primary-light);
  font-weight: 500;
}

.hero-stat-label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
}

.scroll-arrow {
  width: 24px;
  height: 24px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  margin: 8px auto 0;
  animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(6px); }
}

/* ========================
   SECTION COMMON
   ======================== */
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 12px;
  color: var(--text);
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ========================
   FACTS SECTION
   ======================== */
.facts-section {
  padding: 100px 0;
  background: var(--white);
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.fact-card {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
  border: 1px solid var(--border);
}

.fact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px var(--shadow-md);
}

.fact-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  color: var(--primary);
}

.fact-value {
  font-family: 'Lexend', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.fact-label {
  font-family: 'Lexend', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
}

.fact-desc {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ========================
   FÖRDERUNG SECTION
   ======================== */
.foerderung-section {
  padding: 100px 0;
  background: var(--cream);
}

.foerderung-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.foerderung-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.foerderung-card:hover {
  box-shadow: 0 12px 40px var(--shadow-md);
  transform: translateY(-2px);
}

.foerderung-header {
  padding: 20px 28px;
  background: linear-gradient(135deg, var(--cream) 0%, var(--cream-dark) 100%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
}

.foerderung-header h3 {
  font-size: 1.1rem;
  color: var(--text);
}

.foerderung-badge {
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--primary);
  color: var(--white);
  white-space: nowrap;
}

.badge-kanton {
  background: var(--accent);
}

.badge-bkw {
  background: #3b82f6;
}

.badge-steuer {
  background: #8b5cf6;
}

.foerderung-body {
  padding: 28px;
}

.foerderung-amount {
  display: flex;
  flex-direction: column;
  margin-bottom: 8px;
}

.amount-main {
  font-family: 'Lexend', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
}

.amount-detail {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.foerderung-plus {
  font-family: 'Lexend', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  margin: 4px 0;
}

.foerderung-max {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(45, 106, 79, 0.1);
  color: var(--accent);
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  margin: 8px 0;
}

.foerderung-info {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 16px;
  line-height: 1.7;
}

/* Cost Table */
.cost-table-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  margin-bottom: 32px;
}

.table-title {
  font-size: 1.4rem;
  margin-bottom: 24px;
  color: var(--text);
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.cost-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
}

.cost-table th {
  font-family: 'Lexend', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border);
  white-space: nowrap;
}

.cost-table td {
  padding: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.95rem;
}

.cost-table tbody tr:hover {
  background: var(--cream);
}

.net-cost {
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  color: var(--accent);
  font-size: 1.05rem !important;
}

.table-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-light);
  font-style: italic;
}

.foerderung-cta {
  text-align: center;
}

/* ========================
   ARTICLE SECTION
   ======================== */
.article-section {
  padding: 100px 0;
  background: var(--white);
}

.article-header {
  text-align: center;
  margin-bottom: 48px;
}

.article-category {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(196, 93, 62, 0.1);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.article-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--text);
  max-width: 700px;
  margin: 0 auto 16px;
}

.article-meta {
  display: flex;
  gap: 24px;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.85rem;
}

.article-body {
  max-width: 760px;
  margin: 0 auto;
}

.article-intro {
  margin-bottom: 48px;
}

.article-intro p {
  font-size: 1.15rem;
  line-height: 1.9;
  color: var(--text);
}

.drop-cap {
  float: left;
  font-family: 'Lexend', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 0.8;
  padding: 4px 12px 0 0;
  color: var(--primary);
}

.article-topic {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.article-topic:last-of-type {
  border-bottom: none;
}

.article-topic h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 20px;
  padding-left: 16px;
  border-left: 4px solid var(--primary);
}

.article-topic p {
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 16px;
  color: var(--text);
}

/* Fact Box */
.fact-box {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: var(--cream);
  border-radius: var(--radius);
  border-left: 4px solid var(--primary);
  margin: 24px 0;
}

.fact-box-green {
  border-left-color: var(--accent);
}

.fact-box-green .fact-box-icon {
  background: var(--accent);
}

.fact-box-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lexend', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
}

.fact-box-content {
  font-size: 0.95rem;
  line-height: 1.7;
}

.fact-box-content strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
}

/* Pull Quote */
.pull-quote {
  position: relative;
  padding: 32px 40px;
  margin: 32px 0;
  border-left: none;
  background: linear-gradient(135deg, var(--cream), var(--cream-dark));
  border-radius: var(--radius);
}

.pull-quote::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 16px;
  font-family: 'Lexend', sans-serif;
  font-size: 4rem;
  color: var(--primary);
  line-height: 1;
  opacity: 0.3;
}

.pull-quote p {
  font-family: 'Lexend', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
}

.article-cta {
  text-align: center;
  padding: 40px;
  background: var(--cream);
  border-radius: var(--radius-lg);
  margin-top: 48px;
}

.article-cta p {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 20px;
}

/* ========================
   VORTEILE SECTION
   ======================== */
.vorteile-section {
  padding: 100px 0;
  background: linear-gradient(165deg, var(--accent-dark) 0%, var(--accent) 100%);
  color: var(--white);
}

.vorteile-section .section-title {
  color: var(--white);
}

.vorteile-section .section-subtitle {
  color: rgba(255,255,255,0.7);
}

.vorteile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.vorteil-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.vorteil-card:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px);
}

.vorteil-number {
  font-family: 'Lexend', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-light);
  opacity: 0.5;
  margin-bottom: 12px;
}

.vorteil-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--white);
}

.vorteil-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

/* ========================
   CALCULATOR SECTION
   ======================== */
.calculator-section {
  padding: 100px 0;
  background: var(--cream);
}

.calc-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 40px var(--shadow);
}

.calc-content {
  padding: 48px;
}

.calc-content h2 {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.calc-content > p {
  color: var(--text-light);
  margin-bottom: 36px;
}

.savings-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.savings-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.savings-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
}

.savings-bar {
  height: 48px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  width: var(--bar-width);
  min-width: 140px;
  transition: width 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.bar-without {
  background: linear-gradient(90deg, #e8dfd2, #d4c5b0);
}

.bar-with {
  background: linear-gradient(90deg, var(--accent-light), var(--accent));
}

.bar-savings {
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
}

.savings-amount {
  font-family: 'Lexend', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--text);
  white-space: nowrap;
}

.bar-with .savings-amount,
.bar-savings .savings-amount {
  color: var(--white);
}

.savings-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.savings-detail {
  text-align: center;
  padding: 20px;
  background: var(--cream);
  border-radius: var(--radius);
}

.detail-value {
  display: block;
  font-family: 'Lexend', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.detail-label {
  font-size: 0.8rem;
  color: var(--text-light);
}

.calc-cta {
  padding: 36px 48px;
  background: var(--cream);
  text-align: center;
  border-top: 1px solid var(--border);
}

.calc-cta p {
  color: var(--text-light);
  margin-bottom: 16px;
}

/* ========================
   FAQ SECTION
   ======================== */
.faq-section {
  padding: 100px 0;
  background: var(--white);
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Lexend', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  gap: 16px;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--primary);
  transition: transform var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s;
}

.faq-item.active .faq-answer {
  max-height: 400px;
}

.faq-answer p {
  padding: 0 0 24px;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ========================
   FINAL CTA
   ======================== */
.final-cta-section {
  padding: 100px 0;
  background: var(--cream);
}

.final-cta {
  text-align: center;
  padding: 64px 48px;
  background: linear-gradient(165deg, var(--accent-dark), var(--accent));
  border-radius: var(--radius-lg);
  color: var(--white);
}

.final-cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 16px;
}

.final-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 28px;
}

.cta-note {
  display: block;
  margin-top: 12px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ========================
   FOOTER
   ======================== */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.7);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  display: block;
  margin-bottom: 12px;
  color: var(--white);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-links h4 {
  font-size: 0.9rem;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--primary-light);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.8rem;
  text-align: center;
  color: rgba(255,255,255,0.4);
}

/* ========================
   REVEAL ANIMATIONS
   ======================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
  .facts-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .foerderung-grid {
    grid-template-columns: 1fr;
  }

  .vorteile-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--cream);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 24px;
    transition: right var(--transition);
    box-shadow: -4px 0 24px var(--shadow);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    color: var(--text) !important;
    font-size: 1rem;
  }

  .hero-content {
    padding: 100px 16px 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    gap: 24px;
  }

  .hero-stat-value {
    font-size: 1.6rem;
  }

  .facts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .fact-card {
    padding: 28px 24px;
  }

  .vorteile-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .savings-details {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .calc-content {
    padding: 32px 24px;
  }

  .calc-cta {
    padding: 24px;
  }

  .cost-table-wrapper {
    padding: 24px 16px;
  }

  .article-topic h3 {
    font-size: 1.15rem;
  }

  .pull-quote {
    padding: 24px;
  }

  .fact-box {
    flex-direction: column;
    align-items: flex-start;
  }

  .final-cta {
    padding: 40px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .savings-bar {
    min-width: 100px;
  }
}


/* === Mobile Logo Size === */
@media (max-width: 768px) {
  .logo img, .nav-logo img, .navbar-brand img, .nav-brand img, .navbar__logo img {
    height: 36px !important;
  }
}