/* ============================================================
   ELEXONS.CH — PREMIUM SWISS RENOVATION
   style.css | Version 1.0
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --bg:            #FFFFFF;
  --bg-soft:       #F7F5F0;
  --bg-section:    #F0EDE7;
  --bg-dark:       #141414;
  --bg-dark-2:     #1E1E1E;
  --text:          #1A1A1A;
  --text-sec:      #555555;
  --text-muted:    #888888;
  --text-light:    #FFFFFF;
  --accent:        #D52B1E;
  --accent-hover:  #B82318;
  --accent-light:  #E8473B;
  --gold:          #B89A5C;
  --gold-light:    #CAB07A;
  --gold-dark:     #9A7F48;
  --border:        #E5E1D8;
  --border-light:  #EEEBE5;
  --font-h:        'Cormorant Garamond', Georgia, serif;
  --font-b:        'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease:          cubic-bezier(0.4, 0, 0.2, 1);
  --trans:         0.35s var(--ease);
  --radius:        4px;
  --radius-lg:     8px;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.06);
  --shadow-md:     0 8px 28px rgba(0,0,0,0.09);
  --shadow-lg:     0 20px 56px rgba(0,0,0,0.13);
  --max-w:         1240px;
  --header-h:      80px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-b);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-b); }
input, textarea, select { font-family: var(--font-b); }

/* ── Container ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-h);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
}
h1 { font-size: clamp(2.6rem, 5vw, 4.2rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.8rem); }
h4 { font-size: 1.2rem; font-family: var(--font-b); font-weight: 600; letter-spacing: 0.01em; }
p  { font-size: 1rem; color: var(--text-sec); line-height: 1.8; }

.label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.label--light { color: rgba(255,255,255,0.55); }
.lead { font-size: 1.1rem; line-height: 1.75; }

/* ── Section ── */
.section { padding: 100px 0; }
.section--soft  { background: var(--bg-soft); }
.section--gray  { background: var(--bg-section); }
.section--dark  { background: var(--bg-dark); }
.section--dark h1, .section--dark h2, .section--dark h3,
.section--dark h4 { color: #fff; }
.section--dark p { color: rgba(255,255,255,0.65); }
.section--dark .label { color: var(--gold); }

.section__header { margin-bottom: 60px; }
.section__header--center { text-align: center; }
.section__header p { margin-top: 18px; max-width: 620px; }
.section__header--center p { margin-left: auto; margin-right: auto; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: var(--trans);
  white-space: nowrap;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(213,43,30,0.3); }
.btn--outline {
  border: 1.5px solid currentColor;
  color: var(--text);
}
.btn--outline:hover { background: var(--text); color: #fff; }
.btn--outline-light {
  border: 1.5px solid rgba(255,255,255,0.5);
  color: #fff;
}
.btn--outline-light:hover { background: #fff; color: var(--text); }
.btn--gold {
  background: var(--gold);
  color: #fff;
}
.btn--gold:hover { background: var(--gold-dark); transform: translateY(-1px); }
.btn--lg { padding: 18px 42px; font-size: 0.9rem; }
.btn svg { width: 18px; height: 18px; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.header.transparent { background: transparent; }
.header.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-h);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  transition: color var(--trans);
  margin-left: -16px;
}

.logo img { height: 36px; width: auto; display: block; filter: brightness(1); transition: var(--trans); }
.header.transparent .logo img { filter: brightness(0) invert(1); }
.header.scrolled .logo img { filter: brightness(1); }
.footer__brand .logo img { filter: brightness(0) invert(1); height: 32px; }

/* ── Language Switcher ── */
.lang-switch { display: flex; align-items: center; gap: 2px; margin-left: 8px; }
.lang-btn {
  background: none; border: 1px solid transparent; cursor: pointer;
  font-family: var(--font-b); font-size: .7rem; font-weight: 700;
  letter-spacing: .08em; padding: 5px 9px; border-radius: 3px;
  color: var(--text-sec); transition: all var(--trans);
}
.lang-btn.active { border-color: var(--accent); color: var(--accent); background: rgba(213,43,30,.07); }
.lang-btn:hover:not(.active) { color: var(--text); border-color: var(--border); }
.header.transparent .lang-btn { color: rgba(255,255,255,.5); }
.header.transparent .lang-btn.active { color: #fff; border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.1); }
.header.transparent .lang-btn:hover:not(.active) { color: rgba(255,255,255,.85); border-color: rgba(255,255,255,.3); }

/* ── Services Dropdown ── */
.nav__dropdown { position: relative; }
.nav__dropdown-toggle {
  cursor: pointer; display: flex; align-items: center; gap: 5px;
  font-size: 0.82rem; font-weight: 400; color: var(--text-sec);
  letter-spacing: 0.02em; transition: color var(--trans); user-select: none;
}
.nav__dropdown-toggle:hover { color: var(--accent); }
.nav__dropdown-toggle svg { width: 11px; height: 11px; transition: transform 0.22s ease; flex-shrink: 0; }
.nav__dropdown:hover .nav__dropdown-toggle svg { transform: rotate(180deg); }
/* Invisible bridge: keeps hover alive between toggle and menu */
.nav__dropdown::after {
  content: ''; position: absolute;
  top: 100%; left: -20px; right: -20px; height: 18px;
}
.dropdown-menu {
  position: absolute; top: calc(100% + 18px); left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: #fff; border: 1px solid var(--border-light);
  box-shadow: 0 12px 40px rgba(0,0,0,.11), 0 2px 8px rgba(0,0,0,.06);
  border-radius: 6px; min-width: 230px; padding: 6px 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}
/* Triangle tip */
.dropdown-menu::before {
  content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  border: 7px solid transparent; border-bottom-color: var(--border-light); margin-bottom: -1px;
}
.dropdown-menu::after {
  content: ''; position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%);
  border: 6px solid transparent; border-bottom-color: #fff;
}
.nav__dropdown:hover .dropdown-menu {
  opacity: 1; visibility: visible; pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px; font-size: 0.83rem; color: var(--text-sec);
  text-decoration: none; transition: color 0.15s, background 0.15s, padding-left 0.15s;
}
.dropdown-item:hover { color: var(--accent); background: var(--bg-soft); padding-left: 22px; }
.dropdown-item__icon { width: 16px; height: 16px; color: var(--accent); opacity: .55; flex-shrink: 0; }
.dropdown-divider { height: 1px; background: var(--border-light); margin: 5px 0; }
.dropdown-item--all { color: var(--accent); font-weight: 600; font-size: 0.78rem; letter-spacing: .04em; }
.dropdown-item--all:hover { background: rgba(213,43,30,.06); }

.logo__mark {
  width: 28px; height: 28px;
  background: var(--accent);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-family: var(--font-b);
  flex-shrink: 0;
}
.header.transparent .logo { color: #fff; }

.nav { display: flex; align-items: center; gap: 8px; margin-left: 48px; }
.nav__link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 12px;
  color: var(--text);
  transition: color var(--trans);
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 12px; right: 12px;
  height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--trans);
}
.nav__link:hover::after,
.nav__link.active::after { transform: scaleX(1); }
.nav__link:hover { color: var(--accent); }
.header.transparent .nav__link { color: rgba(255,255,255,0.85); }
.header.transparent .nav__link:hover { color: #fff; }
.header.transparent .nav__dropdown-toggle { color: rgba(255,255,255,0.85); }
.header.transparent .nav__dropdown-toggle:hover { color: #fff; }

.header__actions { display: flex; align-items: center; gap: 16px; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  cursor: pointer;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text);
  transition: var(--trans);
  border-radius: 2px;
}
.header.transparent .hamburger span { background: #fff; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--text); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--text); }

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0; right: 0;
  width: 100%; max-width: 360px;
  height: 100vh;
  background: #fff;
  z-index: 999;
  padding: calc(var(--header-h) + 32px) 40px 40px;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  box-shadow: -8px 0 40px rgba(0,0,0,0.12);
  overflow-y: auto;
}
.mobile-menu.open { transform: translateX(0); }
.mobile-menu__nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 32px; }
.mobile-menu__link {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  transition: color var(--trans);
}
.mobile-menu__link:hover { color: var(--accent); }
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg-dark);
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.hero__bg--video { background: #0a0a0a; }
.hero__bg--video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero.loaded .hero__bg { transform: scale(1); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,20,20,0.85) 0%, rgba(213,43,30,0.35) 100%);
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 740px;
}
.hero__title {
  color: #fff;
  margin-bottom: 24px;
  font-weight: 400;
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
}
.hero__title em {
  font-style: italic;
  color: var(--gold-light);
}
.hero__subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.1rem;
  max-width: 580px;
  margin-bottom: 16px;
  line-height: 1.75;
}
.hero__text {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  max-width: 540px;
  margin-bottom: 40px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
.hero__stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}
.hero__stat-num {
  font-family: var(--font-h);
  font-size: 2.2rem;
  font-weight: 500;
  color: #fff;
  line-height: 1;
  display: block;
}
.hero__stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-top: 4px;
}

/* Hero Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}
.hero__scroll svg { width: 20px; height: 20px; }
@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.service-card {
  background: var(--bg);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: var(--trans);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
.service-card:hover::before { width: 100%; }
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); z-index: 1; }
.service-card__icon {
  width: 48px; height: 48px;
  margin-bottom: 24px;
  color: var(--accent);
}
.service-card__title {
  font-family: var(--font-b);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}
.service-card__text {
  font-size: 0.9rem;
  color: var(--text-sec);
  margin-bottom: 24px;
  line-height: 1.7;
}
.service-card__link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--trans);
}
.service-card__link:hover { gap: 10px; }
.service-card__link svg { width: 14px; height: 14px; }

/* ============================================================
   WHY ELEXONS
   ============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.why-image {
  position: relative;
  height: 560px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.why-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.why-image:hover img { transform: scale(1.03); }
.why-image__badge {
  position: absolute;
  bottom: 32px; right: -24px;
  background: var(--accent);
  color: #fff;
  padding: 24px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.why-image__badge-num {
  font-family: var(--font-h);
  font-size: 2.2rem;
  font-weight: 600;
  display: block;
  line-height: 1;
}
.why-image__badge-text {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
  display: block;
  margin-top: 4px;
}
.why-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}
.pillar {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--trans);
}
.pillar:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.pillar__icon {
  width: 36px; height: 36px;
  color: var(--accent);
  margin-bottom: 12px;
}
.pillar__title {
  font-family: var(--font-b);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
}
.pillar__text {
  font-size: 0.85rem;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ============================================================
   STATS BANNER
   ============================================================ */
.stats-banner {
  background: var(--bg-dark);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.stats-banner::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -3%;
  transform: translateY(-50%);
  width: 220px;
  aspect-ratio: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Crect x='37.5' y='10' width='25' height='80' fill='white'/%3E%3Crect x='10' y='37.5' width='80' height='25' fill='white'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.04;
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item {
  padding: 24px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 20%; bottom: 20%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
.stat-num {
  font-family: var(--font-h);
  font-size: 3.2rem;
  font-weight: 400;
  color: #fff;
  line-height: 1;
  display: block;
}
.stat-num span { color: var(--gold-light); }
.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: block;
  margin-top: 10px;
}

/* ============================================================
   TIMELINE / PROJEKTABLAUF
   ============================================================ */
.timeline { position: relative; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 24px; bottom: 24px;
  width: 1px;
  background: var(--border);
}
.timeline-step {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  gap: 24px;
  align-items: center;
  margin-bottom: 48px;
}
.timeline-step:last-child { margin-bottom: 0; }
.timeline-step__content {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  transition: var(--trans);
}
.timeline-step__content:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.timeline-step__num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-h);
  font-size: 1.3rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(213,43,30,0.3);
  position: relative;
  z-index: 1;
}
.timeline-step--right .timeline-step__content { grid-column: 3; }
.timeline-step--right .timeline-step__spacer { grid-column: 1; grid-row: 1; }
.timeline-step__title {
  font-family: var(--font-b);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.timeline-step__text {
  font-size: 0.88rem;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ============================================================
   PROJECT CARDS
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}
.project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--trans);
  background: var(--bg);
}
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-card__image {
  height: 240px;
  overflow: hidden;
  position: relative;
}
.project-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.project-card:hover .project-card__image img { transform: scale(1.06); }
.project-card__tag {
  position: absolute;
  top: 16px; left: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
}
.project-card__body { padding: 28px; }
.project-card__location {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}
.project-card__location svg { width: 13px; height: 13px; }
.project-card__title {
  font-family: var(--font-b);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text);
}
.project-card__text {
  font-size: 0.88rem;
  color: var(--text-sec);
  margin-bottom: 20px;
  line-height: 1.65;
}
.project-card__link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--trans);
}
.project-card__link:hover { gap: 10px; }
.project-card__link svg { width: 13px; height: 13px; }

/* ============================================================
   SMART HOME SECTION
   ============================================================ */
.smart-home-section {
  background: var(--bg-dark);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.smart-home-section::before {
  content: '';
  position: absolute;
  right: -200px; top: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(213,43,30,0.22) 0%, transparent 70%);
}
.smart-home-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.smart-home-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}
.smart-feature {
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  transition: var(--trans);
}
.smart-feature:hover { border-color: var(--accent); background: rgba(213,43,30,0.1); }
.smart-feature__icon {
  color: var(--gold-light);
  margin-bottom: 10px;
  width: 28px; height: 28px;
}
.smart-feature__title {
  font-family: var(--font-b);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 4px;
}
.smart-feature__text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}
.smart-home-visual {
  position: relative;
  height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.smart-home-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

/* ============================================================
   SWISS PRECISION
   ============================================================ */
.precision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}
.precision-card {
  background: var(--bg-soft);
  padding: 52px 40px;
  text-align: center;
}
.precision-card__num {
  font-family: var(--font-h);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.precision-card__title {
  font-family: var(--font-b);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.precision-card__text {
  font-size: 0.85rem;
  color: var(--text-sec);
  line-height: 1.65;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 24px 0;
  font-size: 1.02rem;
  font-weight: 500;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  transition: color var(--trans);
  background: none;
  font-family: var(--font-b);
}
.faq-question:hover { color: var(--accent); }
.faq-question__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--trans);
}
.faq-item.open .faq-question__icon {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.faq-question__icon svg { width: 14px; height: 14px; transition: transform var(--trans); }
.faq-item.open .faq-question__icon svg { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease), padding 0.3s var(--ease);
}
.faq-answer__inner {
  padding-bottom: 24px;
  font-size: 0.93rem;
  color: var(--text-sec);
  line-height: 1.75;
}
.faq-item.open .faq-answer { max-height: 400px; }

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-section {
  background: var(--bg-dark);
  padding: 100px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-info__item {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  align-items: flex-start;
}
.contact-info__icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: rgba(213,43,30,0.15);
  border: 1px solid rgba(213,43,30,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  flex-shrink: 0;
}
.contact-info__icon svg { width: 20px; height: 20px; }
.contact-info__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 4px;
}
.contact-info__value {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}
.contact-info__value a { color: rgba(255,255,255,0.8); transition: color var(--trans); }
.contact-info__value a:hover { color: var(--gold-light); }
.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  margin-top: 12px;
  transition: var(--trans);
}
.whatsapp-btn:hover { background: #1db954; transform: translateY(-1px); }
.whatsapp-btn svg { width: 20px; height: 20px; }

/* Form */
.form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.form-control {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 14px 18px;
  color: #fff;
  font-size: 0.93rem;
  width: 100%;
  transition: border-color var(--trans), background var(--trans);
  resize: vertical;
}
.form-control::placeholder { color: rgba(255,255,255,0.25); }
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.08);
}
.form-control option { background: var(--bg-dark-2); color: #fff; }
.form-select { appearance: none; cursor: pointer; }
.form-note {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: #F5F0EE;
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* Swiss flag — clean square, centred watermark */
.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(55vw, 320px);
  aspect-ratio: 1 / 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 320'%3E%3Crect width='320' height='320' rx='6' fill='%23C8202A'/%3E%3Crect x='135' y='60' width='50' height='200' fill='white'/%3E%3Crect x='60' y='135' width='200' height='50' fill='white'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
.cta-banner::after { display: none; }
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner .label { color: var(--accent); }
.cta-banner h2 { color: #1A1A1A; font-size: clamp(1.8rem, 3vw, 2.8rem); }
.cta-banner p { color: #555; margin: 16px auto 40px; max-width: 520px; }
.cta-banner .btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-banner .btn--outline-light {
  border-color: var(--accent);
  color: var(--accent);
  background: transparent;
}
.cta-banner .btn--outline-light:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.cta-banner .btn--primary { background: var(--accent); color: #fff; }
.cta-banner .btn--primary:hover { background: var(--accent-hover); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-dark);
  padding: 72px 0 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand .logo { color: #fff; margin-bottom: 20px; }
.footer__brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 280px;
  margin-bottom: 24px;
}
.footer__socials { display: flex; gap: 12px; }
.footer__social {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: var(--trans);
}
.footer__social:hover { border-color: var(--accent); color: var(--accent); }
.footer__social svg { width: 16px; height: 16px; }
.footer__col h5 {
  font-family: var(--font-b);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__link {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--trans);
}
.footer__link:hover { color: #fff; }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  flex-wrap: wrap;
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: rgba(255,255,255,0.25); transition: color var(--trans); }
.footer__legal a:hover { color: rgba(255,255,255,0.6); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--bg-dark);
  padding: calc(var(--header-h) + 80px) 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  opacity: 0.2;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20,20,20,0.9) 0%, rgba(213,43,30,0.3) 100%);
}
.page-hero__content { position: relative; z-index: 1; max-width: 700px; }
.page-hero h1 { color: #fff; margin-bottom: 20px; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.05rem; line-height: 1.75; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,0.4); transition: color var(--trans); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb svg { width: 12px; height: 12px; }

/* ============================================================
   LEISTUNGEN PAGE - Full Service List
   ============================================================ */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.leistung-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  transition: var(--trans);
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.leistung-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--accent);
  transition: height 0.4s var(--ease);
  border-radius: 0 0 var(--radius) 0;
}
.leistung-card:hover { border-color: transparent; box-shadow: var(--shadow-md); }
.leistung-card:hover::after { height: 100%; }
.leistung-card__icon {
  width: 52px; height: 52px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 24px;
}
.leistung-card__icon svg { width: 26px; height: 26px; }

/* ============================================================
   KONTAKT PAGE
   ============================================================ */
.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}
.map-placeholder {
  height: 340px;
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 32px;
  border: 2px dashed var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
  padding: 20px;
}
.kontakt-info-card {
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.kontakt-info-item {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.kontakt-info-item:last-child { border-bottom: none; }
.kontakt-info-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.kontakt-info-icon svg { width: 18px; height: 18px; }
.kontakt-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 4px;
}
.kontakt-info-value {
  font-size: 0.95rem;
  color: var(--text);
}
.kontakt-info-value a { color: var(--text); transition: color var(--trans); }
.kontakt-info-value a:hover { color: var(--accent); }

/* Light contact form */
.form--light .form-label { color: var(--text-muted); }
.form--light .form-control {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text);
}
.form--light .form-control::placeholder { color: var(--text-muted); }
.form--light .form-control:focus { border-color: var(--accent); background: var(--bg); }
.form--light .form-control option { background: var(--bg); color: var(--text); }

/* ============================================================
   ABOUT US PAGE
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value-card {
  text-align: center;
  padding: 40px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--trans);
}
.value-card:hover { border-color: var(--accent); box-shadow: var(--shadow-sm); }
.value-card__icon {
  width: 56px; height: 56px;
  background: linear-gradient(135deg, rgba(213,43,30,0.08), rgba(213,43,30,0.03));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin: 0 auto 20px;
}
.value-card__icon svg { width: 26px; height: 26px; }
.value-card__title {
  font-family: var(--font-h);
  font-size: 1.35rem;
  font-weight: 500;
  margin-bottom: 8px;
}
.value-card__text {
  font-size: 0.88rem;
  color: var(--text-sec);
  line-height: 1.65;
}
.team-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* ============================================================
   LEGAL PAGES (Datenschutz / Impressum)
   ============================================================ */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 80px 0;
}
.legal-content h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  margin-top: 48px;
  color: var(--text);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 0.93rem;
  color: var(--text-sec);
  margin-bottom: 16px;
  line-height: 1.8;
}
.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}
.legal-content li {
  font-size: 0.93rem;
  color: var(--text-sec);
  line-height: 1.75;
  margin-bottom: 6px;
}
.legal-content a { color: var(--accent); text-decoration: underline; }

/* ============================================================
   LANDING PAGE EXTRAS
   ============================================================ */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.area-chip {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-sec);
  transition: var(--trans);
}
.area-chip:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-gold { color: var(--gold); }
.text-accent { color: var(--accent); }
.text-light { color: rgba(255,255,255,0.7); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-48 { margin-bottom: 48px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.text-center { text-align: center; }
.divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }
.divider--dark { border-color: rgba(255,255,255,0.08); }
.highlight-box {
  background: linear-gradient(135deg, rgba(213,43,30,0.05), rgba(184,154,92,0.04));
  border: 1px solid rgba(213,43,30,0.12);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 32px 0;
}
.highlight-box p { color: var(--text-sec); font-size: 0.95rem; margin: 0; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(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; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr; gap: 48px; }
  .why-image { height: 360px; }
  .why-image__badge { right: 16px; }
  .smart-home-grid { grid-template-columns: 1fr; gap: 48px; }
  .smart-home-visual { height: 360px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .timeline::before { display: none; }
  .timeline-step { grid-template-columns: 56px 1fr; }
  .timeline-step--right { direction: ltr; }
  .timeline-step--right .timeline-step__content { grid-column: 2; grid-row: 1; }
  .timeline-step--right .timeline-step__spacer { display: none; }
  .timeline-step__num { margin: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item::after { display: none; }
  .kontakt-grid { grid-template-columns: 1fr; gap: 48px; }
  .team-section { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }
  .container { padding: 0 20px; }
  .section { padding: 72px 0; }
  .nav, .header__actions .btn { display: none; }
  .hamburger { display: flex; }
  .hero__stats { gap: 28px; }
  .why-pillars { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__brand p { max-width: 100%; }
  .form-row { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .precision-grid { grid-template-columns: 1fr; }
  .smart-home-features { grid-template-columns: 1fr; }
  .timeline-step { grid-template-columns: 1fr; }
  .timeline-step__num { display: none; }
  .projects-grid { grid-template-columns: 1fr; }
  .leistungen-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; text-align: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.9rem; }
  .page-hero { padding-top: calc(var(--header-h) + 48px); padding-bottom: 56px; }
}

@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .cta-banner .btn-group { flex-direction: column; align-items: center; }
}

/* ── WhatsApp Floating Button ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45), 0 2px 8px rgba(0,0,0,0.18);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  text-decoration: none;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55), 0 4px 12px rgba(0,0,0,0.22);
}
.whatsapp-float svg { width: 30px; height: 30px; }

/* ── Home / Back Floating Button ── */
.home-float {
  position: fixed;
  bottom: 98px;
  right: 28px;
  z-index: 9999;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(213,43,30,0.35), 0 2px 6px rgba(0,0,0,0.14);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  text-decoration: none;
}
.home-float:hover {
  transform: scale(1.1);
  background: var(--accent-hover);
  box-shadow: 0 6px 22px rgba(213,43,30,0.45), 0 3px 10px rgba(0,0,0,0.18);
}
.home-float svg { width: 22px; height: 22px; stroke: #fff; }
