/* Design System: Swiss Modernist Architecture & Renovation */
:root {
  --primary: #1c2833;
  --primary-light: #2c3e50;
  --accent: #c0392b; /* Swiss red accent */
  --accent-hover: #a93226;
  --gold: #d4ac0d;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --surface-card: #f1f5f9;
  --border: #e2e8f0;
  --border-dark: #cbd5e1;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.12);
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.25s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-main);
  background-color: var(--surface-alt);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header & Navigation */
header.site-header {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
}

.top-bar {
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  padding: 6px 0;
}

.top-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar a {
  color: #e2e8f0;
  text-decoration: none;
  transition: var(--transition);
}

.top-bar a:hover {
  color: #fff;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
}

.brand-badge {
  background: var(--accent);
  color: white;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  border-radius: var(--radius-sm);
  letter-spacing: -0.5px;
}

.brand-text h1 {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.brand-text span {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav.main-nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
  align-items: center;
}

nav.main-nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  padding: 6px 2px;
  position: relative;
  transition: var(--transition);
}

nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--accent);
}

.nav-cta-btn {
  background: var(--accent);
  color: #fff !important;
  padding: 10px 18px !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  box-shadow: var(--shadow-sm);
}

.nav-cta-btn:hover {
  background: var(--accent-hover);
}

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #1c2833 0%, #2c3e50 100%);
  color: #fff;
  padding: 70px 20px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: radial-gradient(circle at top right, rgba(192, 57, 43, 0.15), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-content p {
  font-size: 18px;
  color: #cbd5e1;
  margin-bottom: 30px;
  line-height: 1.6;
}

.hero-badges {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: #f8fafc;
}

/* Calculator / Lead Card in Hero */
.lead-card {
  background: #ffffff;
  color: var(--text);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

.lead-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}

.lead-card p.subtitle {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary-light);
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-sm);
  font-size: 15px;
  background-color: var(--surface);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.15);
}

.btn-primary {
  width: 100%;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  margin-top: 10px;
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 4px 12px rgba(192, 57, 43, 0.3);
}

/* Section Common */
.section {
  padding: 70px 20px;
}

.section-alt {
  background-color: #ffffff;
}

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

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-tag {
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
  display: inline-block;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
}

/* Services Grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 30px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-dark);
}

.service-icon {
  width: 54px;
  height: 54px;
  background: var(--surface-card);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-card h4 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary);
}

.service-card p {
  color: var(--text-muted);
  font-size: 15px;
  flex-grow: 1;
  margin-bottom: 20px;
}

.card-link {
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-link:hover {
  text-decoration: underline;
}

/* Swiss Quality / Trust Badges */
.trust-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 30px 20px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  text-align: center;
}

.trust-item strong {
  display: block;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 4px;
}

.trust-item span {
  font-size: 14px;
  color: var(--text-muted);
}

/* Interactive Calculator */
.calc-wrapper {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 40px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.calc-slider-box {
  margin-bottom: 24px;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-weight: 600;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--accent);
}

.calc-summary {
  background: var(--surface-card);
  padding: 30px;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.calc-total-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.calc-total-val {
  font-size: 38px;
  font-weight: 800;
  color: var(--accent);
  margin: 10px 0 20px 0;
}

.calc-notice {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Steps Process */
.process-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
}

.step-num {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  width: 32px;
  height: 32px;
  line-height: 32px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 16px;
  font-size: 14px;
}

/* Contact Details & Info */
.info-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  font-size: 20px;
  color: var(--accent);
  background: #fdf2f2;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Footer */
footer.site-footer {
  background: var(--primary);
  color: #e2e8f0;
  padding: 60px 20px 30px 20px;
  margin-top: auto;
}

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

.footer-col h5 {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

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

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-col a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-disclaimer {
  background: rgba(0, 0, 0, 0.2);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 30px;
  border-left: 3px solid var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #94a3b8;
}

/* Cookie Banner (Consent Mode v2) */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 520px;
  background: #ffffff;
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
  border-radius: var(--radius-md);
  padding: 24px;
  z-index: 9999;
  border: 1px solid var(--border);
  display: none;
}

.cookie-banner.active {
  display: block;
}

.cookie-banner h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.cookie-banner p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.cookie-btn-group {
  display: flex;
  gap: 10px;
}

.btn-cookie-accept {
  flex: 1;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
}

.btn-cookie-decline {
  flex: 1;
  background: var(--surface-card);
  color: var(--text);
  border: 1px solid var(--border-dark);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
}

/* Legal & Text Content Pages */
.content-box {
  background: #fff;
  padding: 40px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
}

.content-box h2 {
  font-size: 24px;
  margin-top: 25px;
  margin-bottom: 12px;
  color: var(--primary);
}

.content-box h3 {
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 8px;
  color: var(--primary-light);
}

.content-box p, .content-box ul {
  margin-bottom: 16px;
  color: #334155;
  font-size: 15px;
}

.content-box ul {
  padding-left: 20px;
}

/* Responsive */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  nav.main-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
}
