/*
Theme Name: Energiewerk Sachsen
Theme URI: https://energiewerk-sachsen.de
Description: Custom dark theme for EWS Energiewerk Sachsen – PV & Wärmepumpe (slug-basierte Templates, Auto-Page-Setup)
Version: 2.7.0
Author: EWS
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* =============================================
   CSS VARIABLES
   ============================================= */
:root {
  --font-primary: 'Outfit', 'Segoe UI', sans-serif;

  --color-bg:          #0b1420;
  --color-bg-card:     #111d2e;
  --color-bg-section:  #0e1929;
  --color-border:      rgba(0,200,224,0.12);

  --color-accent:      #00c8e0;
  --color-accent-dark: #009ab0;
  --color-accent-glow: rgba(0,200,224,0.25);

  --color-text:        #e6f0fa;
  --color-text-muted:  #7a90ab;
  --color-text-sub:    #a8bbd0;

  --color-white:       #ffffff;

  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   24px;
  --radius-full: 999px;

  --shadow-card: 0 4px 32px rgba(0,0,0,0.35);
  --shadow-glow: 0 0 28px rgba(0,200,224,0.18);

  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  --max-width: 1200px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-primary);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-white); }
ul { list-style: none; }

/* =============================================
   TYPOGRAPHY SYSTEM (Outfit-based)
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.7rem); font-weight: 600; }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { font-size: 1rem; color: var(--color-text-sub); line-height: 1.75; }

/* Sachsen-label style – tracked uppercase, matches logo */
.label-tag {
  display: inline-block;
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.6rem;
}

.section-eyebrow {
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.8rem;
  display: block;
}

/* =============================================
   LAYOUT HELPERS
   ============================================= */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }

.text-center { text-align: center; }
.text-accent  { color: var(--color-accent); }

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

/* =============================================
   BUTTONS
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  color: #fff;
  box-shadow: 0 4px 20px rgba(0,200,224,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,200,224,0.5);
  color: #fff;
}
.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}
.btn-outline:hover {
  background: var(--color-accent);
  color: #fff;
}
.btn-white {
  background: #fff;
  color: var(--color-bg);
  font-weight: 700;
}
.btn-white:hover { background: var(--color-accent); color: #fff; }

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(11,20,32,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 0 32px;
  max-width: 1400px;
  margin: 0 auto;
}
.site-logo img { height: 44px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-sub);
  letter-spacing: 0.02em;
  transition: color var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--color-accent); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav-phone {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
}
.nav-phone span { color: var(--color-accent); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--color-text); margin: 5px 0;
  transition: var(--transition);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg {
  position: absolute;
  inset: -8%;
  background-size: cover;
  background-position: center 30%;
  will-change: transform;
  animation: kenBurns 10s ease-out forwards;
}
@keyframes kenBurns {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(11,20,32,0.88) 0%,
    rgba(11,20,32,0.65) 50%,
    rgba(11,20,32,0.4) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: 80px 48px;
}
.hero-eyebrow {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px; height: 2px;
  background: var(--color-accent);
}
.hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}
.hero p {
  font-size: 1.15rem;
  color: rgba(230,240,250,0.82);
  margin-bottom: 40px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(0,200,224,0.2);
}
.hero-stat-num {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* =============================================
   TRUST BAR
   ============================================= */
.trust-bar {
  background: var(--color-bg-card);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 20px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-sub);
  letter-spacing: 0.03em;
}
.trust-item svg { color: var(--color-accent); flex-shrink: 0; }
.trust-divider { width: 1px; height: 28px; background: var(--color-border); }

/* =============================================
   SECTION: WHY PV + WÄRMEPUMPE COMBO
   ============================================= */
.combo-section {
  background: var(--color-bg-section);
  position: relative;
  overflow: hidden;
}
.combo-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,200,224,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.combo-header { text-align: center; margin-bottom: 64px; }
.combo-header h2 span { color: var(--color-accent); }

.combo-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }

.combo-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.combo-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), transparent);
}
.combo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}
.combo-card-icon {
  width: 56px; height: 56px;
  background: rgba(0,200,224,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-accent);
  font-size: 1.6rem;
}
.combo-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.combo-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* =============================================
   SECTION: VERTRIEBSHIGHLIGHTS
   ============================================= */
.vertrieb-section {
  background: var(--color-bg);
  position: relative;
}
.vertrieb-header { text-align: center; margin-bottom: 64px; }
.vertrieb-header h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.vertrieb-header h2 span { color: var(--color-accent); }

.vertrieb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.vertrieb-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px 28px 32px;
  text-align: center;
  transition: transform var(--transition), border-color var(--transition);
}
.vertrieb-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
}
.vertrieb-number {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
.vertrieb-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
  display: block;
}
.vertrieb-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--color-white);
}
.vertrieb-card p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* =============================================
   SECTION: PRODUKTE
   ============================================= */
.products-section {
  background: var(--color-bg-section);
  overflow: hidden;
}
.products-header { text-align: center; margin-bottom: 64px; }

.product-nav-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.product-tab {
  font-family: var(--font-primary);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 10px 28px;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all var(--transition);
}
.product-tab.active,
.product-tab:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: #fff;
}

.product-card-large {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-card);
}
.product-card-large .product-image {
  position: relative;
  overflow: hidden;
}
.product-card-large .product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.product-card-large:hover .product-image img {
  transform: scale(1.04);
}
.product-card-body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,200,224,0.12);
  border: 1px solid rgba(0,200,224,0.3);
  border-radius: var(--radius-full);
  padding: 5px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
  width: fit-content;
}
.product-card-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 8px;
}
.product-card-body .product-subtitle {
  font-size: 1rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 20px;
}
.product-card-body p {
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 28px;
}
.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}
.product-spec {
  background: rgba(0,200,224,0.06);
  border: 1px solid rgba(0,200,224,0.15);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.product-spec-val {
  font-family: var(--font-primary);
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
}
.product-spec-key {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  margin-top: 3px;
}

/* EcoFlow card (secondary) */
.product-card-sm {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.product-card-sm:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}
.product-card-sm .product-card-sm-img {
  height: 220px;
  background: linear-gradient(135deg, #0a1e32 0%, #0e2840 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card-sm .product-card-sm-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(0,200,224,0.15), transparent 70%);
}
.ecoflow-logo-text {
  font-family: var(--font-primary);
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.02em;
  position: relative;
  z-index: 1;
}
.ecoflow-logo-text span { color: var(--color-accent); }
.product-card-sm-body {
  padding: 28px;
}

/* =============================================
   SECTION: TEAM / ENERGIEBERATER
   ============================================= */
.team-section {
  background: var(--color-bg);
}
.team-header { text-align: center; margin-bottom: 60px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.team-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition);
}
.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
}
.team-photo {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-photo-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(11,20,32,0.95) 0%, transparent 100%);
}
.team-info {
  padding: 16px 20px 20px;
}
.team-name {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}
.team-role {
  font-family: var(--font-primary);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* =============================================
   SECTION: TESTIMONIAL SLIDER
   ============================================= */
.testimonials-section {
  background: var(--color-bg-section);
  overflow: hidden;
}
.testimonials-header { text-align: center; margin-bottom: 56px; }

.slider-container { position: relative; overflow: hidden; }
.slider-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 16px;
}
.testimonial-inner {
  max-width: 820px;
  margin: 0 auto;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 52px;
  position: relative;
}
.testimonial-inner::before {
  content: '"';
  position: absolute;
  top: 20px; left: 40px;
  font-size: 7rem;
  line-height: 1;
  color: rgba(0,200,224,0.1);
  font-family: Georgia, serif;
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: #f5c518;
  font-size: 1.1rem;
}
.testimonial-text {
  font-size: 1.1rem;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 32px;
  font-style: italic;
  font-weight: 400;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}
.testimonial-avatar {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-accent);
}
.testimonial-avatar-placeholder {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(0,200,224,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  font-size: 1.4rem;
  font-weight: 800;
  border: 2px solid var(--color-accent);
  flex-shrink: 0;
}
.testimonial-name {
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-white);
}
.testimonial-detail {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.testimonial-system {
  margin-left: auto;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(0,200,224,0.1);
  border-radius: var(--radius-full);
  padding: 4px 14px;
  white-space: nowrap;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: transparent;
  color: var(--color-text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  font-size: 1.1rem;
}
.slider-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(0,200,224,0.1);
}
.slider-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}
.slider-dot.active {
  background: var(--color-accent);
  width: 24px;
  border-radius: 4px;
}

/* =============================================
   SECTION: TIBBER
   ============================================= */
.tibber-section {
  background: var(--color-bg);
  position: relative;
  overflow: hidden;
}
.tibber-section::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,200,224,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.tibber-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.tibber-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 5/4;
  background: linear-gradient(135deg, #0b1e14 0%, #0e2820 50%, #071810 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0,200,224,0.15);
}
.tibber-visual-content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 40px;
}
.tibber-logo-display {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}
.tibber-logo-display span { color: #1ebe6e; }
.tibber-tagline {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
}
.tibber-mockup-price {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 20px 28px;
  display: inline-block;
}
.tibber-price-val {
  font-size: 2.6rem;
  font-weight: 800;
  color: #1ebe6e;
  line-height: 1;
}
.tibber-price-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em;
  margin-top: 4px;
}
.tibber-visual::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at 50% 50%, rgba(30,190,110,0.08), transparent 60%);
}

.tibber-benefits { margin: 28px 0 36px; }
.tibber-benefit {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.tibber-benefit-icon {
  width: 36px; height: 36px;
  background: rgba(30,190,110,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 1rem;
}
.tibber-benefit-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 3px;
}
.tibber-benefit-text p {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* =============================================
   SECTION: PROZESS / HOW IT WORKS
   ============================================= */
.process-section {
  background: var(--color-bg-section);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), rgba(0,200,224,0.2));
}
.process-step { text-align: center; padding: 0 16px; position: relative; }
.process-num {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-dark));
  border-radius: 50%;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-primary);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 24px rgba(0,200,224,0.35);
}
.process-step h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.process-step p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* =============================================
   SECTION: LOCAL SEO
   ============================================= */
.local-seo {
  background: var(--color-bg);
  text-align: center;
}
.region-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 32px 0;
}
.region-pill {
  font-family: var(--font-primary);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 22px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  color: var(--color-text-muted);
  transition: all var(--transition);
}
.region-pill:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(0,200,224,0.06);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
  background: linear-gradient(135deg, #0a1e38 0%, #0b2a42 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,200,224,0.1), transparent 70%);
  pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p {
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: #070f1c;
  border-top: 1px solid var(--color-border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand img { height: 38px; margin-bottom: 20px; }
.footer-brand p {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  max-width: 260px;
}
.footer-col h4 {
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--color-accent); }
.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.footer-legal {
  display: flex;
  gap: 24px;
}
.footer-legal a {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}
.footer-legal a:hover { color: var(--color-accent); }

/* =============================================
   SCROLL REVEAL ANIMATIONS
   ============================================= */
.reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* =============================================
   SUBPAGE STYLES (PV / WP)
   ============================================= */
.page-hero {
  padding: 140px 0 80px;
  background: var(--color-bg-section);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(0,200,224,0.1), transparent 60%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: 20px; }
.page-hero p {
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 36px;
}

.feature-list { margin: 24px 0; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 16px;
}
.feature-check {
  width: 22px; height: 22px;
  background: rgba(0,200,224,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--color-accent);
  font-size: 0.7rem;
}
.feature-item p {
  font-size: 0.92rem;
  color: var(--color-text-sub);
  line-height: 1.6;
  margin: 0;
}

/* Bosch WP spec table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
}
.specs-table tr:not(:last-child) td {
  border-bottom: 1px solid var(--color-border);
}
.specs-table td {
  padding: 14px 0;
  font-size: 0.9rem;
}
.specs-table td:first-child {
  color: var(--color-text-muted);
  font-weight: 500;
  width: 55%;
}
.specs-table td:last-child {
  color: var(--color-accent);
  font-weight: 700;
  text-align: right;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .product-card-large { grid-template-columns: 1fr; }
  .product-card-large .product-image { height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .tibber-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(11,20,32,0.97);
    padding: 40px 32px;
    gap: 28px;
    z-index: 999;
  }
  .nav-links.open a { font-size: 1.3rem; }
  .hero-content { padding: 60px 24px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .process-steps::before { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .product-specs { grid-template-columns: 1fr 1fr; }
  .testimonial-inner { padding: 32px 24px; }
  .section-pad { padding: 64px 0; }
  .vertrieb-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr 1fr; }
  .vertrieb-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: center; }
}

/* =============================================
   LOGO TEXT FALLBACK (v2.4.1)
   ============================================= */
.logo-text-fallback {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon { flex-shrink: 0; }
.logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-ews {
  font-family: var(--font-primary);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
}
.logo-name {
  font-family: var(--font-primary);
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-top: 1px;
}
.logo-sub {
  font-family: var(--font-primary);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-top: 2px;
}

/* =============================================
   TEXT ALIGNMENT FIXES (v2.4.1)
   ============================================= */

/* Cards: headers centered, body text LEFT */
.combo-card p,
.vertrieb-card p,
.product-card-sm-body p,
.tibber-benefit-text p,
.process-step p,
.feature-item p {
  text-align: left;
}

/* Section intro paragraphs under centered h2 stay narrowed & centred */
.combo-header > p,
.vertrieb-header > p,
.products-header > p,
.team-header > p,
.testimonials-header > p,
.page-hero > .container > p {
  text-align: center;
}

/* General body text default: LEFT */
.product-card-body p,
.tibber-inner p,
section p:not([class]) {
  text-align: left;
}

/* Hero text always left */
.hero-content p,
.hero-content h1,
.hero-eyebrow { text-align: left; }

/* Footer body text left */
.footer-brand p,
.footer-col a { text-align: left; }

/* =============================================
   REFERENCE PROJECTS (v2.4.1)
   ============================================= */
.references-section { background: var(--color-bg-section); }

.reference-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition);
}
.reference-card:hover { box-shadow: var(--shadow-glow); }

.reference-gallery {
  position: relative;
  overflow: hidden;
}
.reference-main-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.reference-card:hover .reference-main-img { transform: scale(1.04); }

.reference-thumbs {
  display: flex;
  gap: 6px;
  position: absolute;
  bottom: 12px; left: 12px; right: 12px;
}
.reference-thumb {
  flex: 1;
  height: 54px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: border-color var(--transition);
}
.reference-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.reference-thumb.active,
.reference-thumb:hover { border-color: var(--color-accent); }

.reference-body {
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.reference-location {
  font-family: var(--font-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}
.reference-body h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 20px;
}
.reference-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}
.reference-spec-tag {
  background: rgba(0,200,224,0.1);
  border: 1px solid rgba(0,200,224,0.2);
  border-radius: var(--radius-full);
  padding: 5px 14px;
  font-family: var(--font-primary);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
}
.reference-note {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: left;
}
.reference-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 1rem;
  color: #f5c518;
}
.reference-stars span {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-left: 4px;
}
.reference-no-review {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: italic;
}

/* =============================================
   PROCESS STEPS – BUILD ANIMATION (v2.4.1)
   ============================================= */
.process-steps {
  position: relative;
}
.process-connector {
  position: absolute;
  top: 36px; left: 12.5%; right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), rgba(0,200,224,0.3));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 2s ease 0.5s;
}
.process-steps.steps-animated .process-connector {
  transform: scaleX(1);
}

.process-step {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.process-step.step-visible { opacity: 1; transform: translateY(0); }
.process-step:nth-child(2) { transition-delay: 0.75s; }
.process-step:nth-child(3) { transition-delay: 1.5s; }
.process-step:nth-child(4) { transition-delay: 2.25s; }

/* =============================================
   RESPONSIVE FIXES (v2.4.1)
   ============================================= */
@media (max-width: 900px) {
  .reference-card {
    grid-template-columns: 1fr;
  }
  .reference-gallery { min-height: 280px; }
  .reference-body { padding: 28px; }
}
@media (max-width: 600px) {
  .reference-thumbs { display: none; }
  .reference-body { padding: 20px; }
}
