/* ==========================================================================
   RHEIN RUHR ENERGIEBERATUNG — COMPONENTS v5
   Architectural Tannengrün (#1e4620) & Soft Signal Colors (Hakan Kilinc, M.Sc.)
   8px Glatte Kanten konsequent | Keine Button-Schlagschatten | Ghost Secondary Buttons
   ========================================================================== */

/* ── SVG ICON HELPER ──────────────────────────────────────────────────────── */
.ui-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.18em;
  flex-shrink: 0;
}

/* ── LAYOUT CONTAINERS ────────────────────────────────────────────────────── */
.container {
  width: min(var(--max-w), calc(100% - 96px));
  margin: 0 auto;
}

.container-text {
  width: min(var(--max-w-text), calc(100% - 96px));
  margin: 0 auto;
}

.section {
  position: relative;
  z-index: var(--z-content);
  padding: var(--space-2xl) 0;
  background: transparent;
}

.section-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 20px);
  padding-bottom: 60px;
}

/* ── STICKY HEADER (ARCHITECTURAL LIGHT) ──────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: var(--z-header);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--rre-card-border);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom-color: var(--rre-card-border-hi);
  box-shadow: var(--shadow-header);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Brand logo: Single line title and subtitle exactly matching in length (Flucht) via Letter-Spacing */
.header-brand,
.footer-brand {
  display: inline-flex;
  flex-direction: column;
  width: fit-content;
  text-decoration: none;
  line-height: 1.15;
}

.brand-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--rre-ink);
  text-transform: uppercase;
  white-space: nowrap;
  display: block;
}

.brand-sub {
  font-family: var(--font-sans);
  font-size: 10.8px;
  font-weight: 700;
  letter-spacing: 0.222em;
  color: var(--rre-green);
  text-transform: uppercase;
  margin-top: 3px;
  white-space: nowrap;
  line-height: 1;
  display: block;
}

/* Hero Scroll Indicator (Dezent, ohne Kachel/Umrandung) */
.hero-scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rre-muted);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--font-sans);
}

.scroll-hint-icon {
  color: var(--rre-green);
  animation: scrollPulse 2.4s infinite ease-in-out;
}

@keyframes scrollPulse {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.85;
  }
  50% {
    transform: translateY(4px);
    opacity: 1;
  }
}

/* Navigation Links */
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--rre-muted);
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}

.nav-link:hover {
  color: var(--rre-green);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Phone link in header: Ghost/Pill with 8px radius & no drop shadow */
.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--rre-green) !important;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--rre-green) !important;
  background: var(--rre-green-subtle);
  box-shadow: none !important;
  text-shadow: none !important;
  transition: all var(--dur-fast) ease;
  white-space: nowrap;
}

.btn-phone:hover {
  border-color: var(--rre-green-hover) !important;
  background: var(--rre-green) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

/* Dynamic header selection badge */
.header-selection-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: all var(--dur-fast) ease;
  user-select: none;
}

.header-selection-badge.empty {
  background: var(--rre-bg-alt);
  border: 1px solid var(--rre-card-border);
  color: var(--rre-muted);
}

.header-selection-badge.empty:hover {
  background: var(--rre-green-subtle);
  border-color: var(--rre-green);
  color: var(--rre-green);
  transform: translateY(-1px);
}

.header-selection-badge.has-items {
  background: var(--rre-green);
  border: 1px solid var(--rre-green);
  color: #ffffff;
}

.header-selection-badge.has-items:hover {
  background: var(--rre-green-hover);
  border-color: var(--rre-green-hover);
  color: #ffffff;
  transform: translateY(-1px);
}

.header-selection-badge .badge-icon {
  font-size: 14px;
  line-height: 1;
}

/* ── BUTTON SYSTEM: SOLID & GHOST (NO DROP-SHADOWS) ───────────────────────── */

/* 1. Primary CTA: Solid Tannengrün (#1e4620), White Text, 8px Radius, NO Shadows */
.btn-primary,
.btn-orange,
.wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: #ffffff !important;
  background: var(--rre-green) !important;
  padding: 11px 24px;
  border-radius: 8px !important;
  border: 1px solid var(--rre-green) !important;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: all var(--dur-fast) ease;
  white-space: nowrap;
}

.btn-primary:hover,
.btn-orange:hover,
.wp-block-button__link:hover {
  background: var(--rre-green-hover) !important;
  border-color: var(--rre-green-hover) !important;
  color: #ffffff !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

.btn-primary:active,
.btn-orange:active,
.wp-block-button__link:active {
  transform: translateY(0);
}

/* 2. Secondary CTA: Ghost Button (Transparent, 1px Tannengrün Border, Tannengrün Text) */
.btn-outline,
.btn-ghost,
.wp-block-button.is-style-outline .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--rre-green) !important;
  background: transparent !important;
  border: 1px solid var(--rre-green) !important;
  padding: 11px 22px;
  border-radius: 8px !important;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: all var(--dur-fast) ease;
  white-space: nowrap;
}

.btn-outline:hover,
.btn-ghost:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--rre-green-subtle) !important;
  border-color: var(--rre-green-hover) !important;
  color: var(--rre-green-hover) !important;
  box-shadow: none !important;
  transform: translateY(-1px);
}

/* Global Drop-Shadow Prohibition on all interactive buttons */
button,
.btn-primary,
.btn-orange,
.btn-outline,
.btn-ghost,
.btn-phone,
.header-selection-badge,
.btn-toggle-services,
.filter-btn,
.btn-wizard-nav,
.btn-clear-selection,
.wp-block-button__link {
  box-shadow: none !important;
  text-shadow: none !important;
}

/* Mobile menu toggle button */
.menu-toggle {
  display: none;
  background: var(--rre-surface);
  border: 1px solid var(--rre-card-border);
  border-radius: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--rre-ink);
  align-items: center;
  gap: 6px;
  box-shadow: none !important;
}

/* ── HERO & PHILOSOPHY SECTIONS (8PX ARCHITECTURAL RADIUS) ────────────────── */
.hero-layout,
.philosophy-layout {
  display: grid;
  grid-template-columns: minmax(340px, 700px) 1fr;
  gap: 56px;
  align-items: center;
}

.hero-glass-card,
.philosophy-card {
  width: 100%;
  max-width: 700px;
  background: var(--rre-surface);
  border: 1px solid var(--rre-card-border);
  border-radius: 8px;
  padding: 48px 44px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.hero-glass-card::before,
.philosophy-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rre-green);
}

.hero-trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 36px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--rre-ink);
  background: var(--rre-green-subtle);
  padding: 6px 14px;
  border-radius: 8px;
  border: 1px solid rgba(30, 70, 32, 0.18);
  box-shadow: none !important;
}

.trust-badge.highlight {
  background: var(--rre-green-subtle);
  border-color: var(--rre-green);
  color: var(--rre-green);
  font-weight: 600;
}

/* ── PHILOSOPHIE FEATURES ─────────────────────────────────────────────────── */
.philosophy-feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.philosophy-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: var(--rre-muted);
}

.feature-check {
  display: inline-flex;
  color: var(--rre-green);
  flex-shrink: 0;
  margin-top: 3px;
}

/* ── FOKUSBEREICHE (SELECTION TILES) ──────────────────────────────────────── */
.focus-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ── SERVICES FILTER BAR ─────────────────────────────────────────────────── */
.services-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 40px;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--rre-muted);
  background: var(--rre-surface);
  border: 1px solid var(--rre-card-border);
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: none !important;
  transition: all var(--dur-fast) ease;
  user-select: none;
}

.filter-btn:hover {
  border-color: var(--rre-green);
  color: var(--rre-green);
  background: var(--rre-green-subtle);
  transform: translateY(-1px);
}

.filter-btn.active {
  border-color: var(--rre-green);
  color: #ffffff;
  background: var(--rre-green);
}

.service-card.is-filtered-out {
  display: none !important;
}

/* ── SERVICE CARDS & SELECTION TILES (ARCHITECTURAL FLAT 8PX) ─────────────── */
.services-grid-awwwards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card,
.selection-tile {
  position: relative;
  background: var(--rre-surface);
  border: 1px solid var(--rre-card-border);
  border-radius: 8px;
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  cursor: pointer;
  transition:
    transform var(--dur-normal) var(--ease-spring),
    border-color var(--dur-fast) ease,
    background-color var(--dur-fast) ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  user-select: none;
}

.service-card:hover,
.selection-tile:hover {
  transform: translateY(-2px);
  background: var(--rre-surface-hover);
  border-color: var(--rre-green);
  box-shadow: var(--shadow-card-hover);
}

/* Card kicker */
.card-kicker {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rre-green);
  margin-bottom: 14px;
  line-height: 1;
}

/* Card title */
.card-title {
  font-size: 19px;
  font-weight: 700;
  color: var(--rre-ink);
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

/* Card description */
.card-desc {
  font-size: 14.5px;
  color: var(--rre-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card-desc .desc-full {
  display: block;
}

.card-desc .desc-mobile {
  display: none;
}

/* Card footer action */
.card-footer-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--rre-card-border);
}

.card-detail-link {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--rre-green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all var(--dur-fast) ease;
  cursor: pointer;
}

.service-card:hover .card-detail-link {
  gap: 9px;
  color: var(--rre-green-hover);
}

.card-select-pill {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--rre-muted);
  background: var(--rre-bg-alt);
  border: 1px solid var(--rre-card-border);
  padding: 4px 12px;
  border-radius: 8px;
  box-shadow: none !important;
  transition: all var(--dur-fast) ease;
}

.service-card:hover .card-select-pill,
.selection-tile:hover .card-select-pill {
  border-color: var(--rre-green);
  color: var(--rre-green);
  background: var(--rre-green-subtle);
}

/* ── SELECTED TILE STATE (2px SOLID TANNENGRÜN BORDER, NO GLOW) ─────────── */
.service-card.selected,
.selection-tile.selected {
  border: 2px solid var(--rre-green) !important;
  background: var(--rre-surface);
  box-shadow: none !important;
}

.service-card.selected .card-select-pill,
.selection-tile.selected .card-select-pill {
  background: var(--rre-green);
  color: #ffffff;
  border-color: var(--rre-green);
}

/* ── SERVICES EXPAND / COLLAPSE ─────────────────────────────────────────── */
.service-card.service-card-extra {
  display: none;
}

.services-grid-awwwards.is-expanded .service-card.service-card-extra {
  display: flex;
  animation: cardFadeIn 0.3s ease forwards;
}

@keyframes cardFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-toggle-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 36px;
  gap: 18px;
}

.btn-toggle-services {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid var(--rre-green);
  border-radius: 8px;
  color: var(--rre-green);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: none !important;
  transition: all var(--dur-normal) var(--ease-spring);
}

.btn-toggle-services:hover {
  background: var(--rre-green-subtle);
  border-color: var(--rre-green-hover);
  color: var(--rre-green-hover);
  box-shadow: none !important;
  transform: translateY(-1px);
}

.btn-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: var(--rre-green-subtle);
  color: var(--rre-green);
  transition: transform 0.3s ease;
}

.btn-toggle-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  background: var(--rre-green-subtle);
  color: var(--rre-green);
  border: 1px solid rgba(30, 70, 32, 0.2);
  border-radius: 6px;
}

.services-grid-awwwards.is-expanded + .services-toggle-wrap .btn-toggle-badge {
  display: none;
}

.slider-indicators {
  display: none;
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.slider-indicators .dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--rre-card-border-hi);
  cursor: pointer;
  transition: all 0.25s ease;
}

.slider-indicators .dot.active {
  width: 24px;
  border-radius: 4px;
  background: var(--rre-green);
}

/* ── FAHRPLAN (3 STEPS) ───────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: var(--rre-surface);
  border: 1px solid var(--rre-card-border);
  border-radius: 8px;
  padding: 38px 30px;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-normal) var(--ease-spring), border-color var(--dur-fast) ease;
}

.step-card:hover {
  transform: translateY(-2px);
  border-color: var(--rre-green);
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--rre-green);
}

.step-num {
  font-family: var(--font-sans);
  font-size: 38px;
  font-weight: 800;
  color: var(--rre-green);
  line-height: 1;
  margin-bottom: 18px;
  display: block;
}

.step-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--rre-ink);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.step-desc {
  font-size: 15px;
  color: var(--rre-muted);
  line-height: 1.65;
}

/* ── KONTAKT & 4-STEP WIZARD ──────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  background: var(--rre-surface);
  border: 1px solid var(--rre-card-border);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: var(--rre-green-subtle);
  border: 1px solid rgba(30, 70, 32, 0.2);
  color: var(--rre-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

/* Wizard card */
.wizard-card {
  background: var(--rre-surface);
  border: 1px solid var(--rre-card-border);
  border-radius: 8px;
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.wizard-stepper {
  display: flex;
  align-items: center;
  margin-bottom: 36px;
}

.wizard-node {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.wizard-node:last-child {
  flex: 0;
}

.wizard-dot {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--rre-bg-alt);
  border: 2px solid var(--rre-card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  color: var(--rre-muted);
  transition: all var(--dur-normal) ease;
  flex-shrink: 0;
}

.wizard-node.active .wizard-dot {
  background: var(--rre-green);
  border-color: var(--rre-green);
  color: #ffffff;
}

.wizard-node.completed .wizard-dot {
  background: var(--rre-green);
  border-color: var(--rre-green);
  color: #ffffff;
}

.wizard-divider {
  flex: 1;
  height: 2px;
  background: var(--rre-card-border);
  margin: 0 6px;
}

.wizard-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rre-muted);
  display: none;
}

.wizard-node.active .wizard-label {
  color: var(--rre-ink);
}

@media (min-width: 900px) {
  .wizard-label { display: block; }
}

/* Wizard Options */
.wizard-pane { display: none; }
.wizard-pane.active { display: block; }

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

.wizard-option-card {
  background: var(--rre-surface);
  border: 1.5px solid var(--rre-card-border);
  border-radius: 8px;
  padding: 18px;
  cursor: pointer;
  box-shadow: none !important;
  transition: all var(--dur-fast) ease;
}

.wizard-option-card:hover {
  border-color: var(--rre-green);
  background: var(--rre-green-subtle);
}

.wizard-option-card.selected {
  border-color: var(--rre-green);
  background: var(--rre-green-subtle);
  box-shadow: 0 0 0 1px var(--rre-green) !important;
}

.wizard-option-card h5 {
  font-size: 15px;
  font-weight: 700;
  color: var(--rre-ink);
  margin-bottom: 4px;
}

.wizard-option-card p {
  font-size: 12.5px;
  color: var(--rre-muted);
}

/* Form inputs in wizard */
.form-input,
.form-select,
.form-textarea {
  display: block;
  width: 100%;
  padding: 13px 16px;
  font-size: 15px;
  font-family: var(--font-sans);
  color: var(--rre-ink);
  background: var(--rre-surface);
  border: 1.5px solid var(--rre-card-border);
  border-radius: 8px;
  outline: none;
  box-shadow: none !important;
  transition: border-color var(--dur-fast) ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--rre-green);
  background: var(--rre-surface);
}

.form-select option {
  background: #ffffff;
  color: var(--rre-ink);
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
  line-height: 1.6;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

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

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rre-muted);
  margin-bottom: 6px;
}

/* Selection badge in wizard */
.wizard-selection-badge {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  background: var(--rre-green-subtle);
  border: 1px solid rgba(30, 70, 32, 0.2);
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--rre-ink);
}

.wizard-selection-badge.visible {
  display: flex;
}

.wizard-badge-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

/* Terrakotta Softened Error Color for selection reset */
.btn-clear-selection {
  background: var(--rre-error-subtle);
  border: 1px solid var(--rre-error);
  color: var(--rre-error);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none !important;
  text-shadow: none !important;
  transition: all var(--dur-fast) ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.btn-clear-selection:hover {
  background: var(--rre-error);
  color: #ffffff;
  border-color: var(--rre-error);
  box-shadow: none !important;
  transform: translateY(-1px);
}

.wizard-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: var(--rre-green);
  flex-shrink: 0;
}

/* Navigation controls in wizard */
.wizard-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--rre-card-border);
  gap: 12px;
}

.btn-wizard-nav {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--rre-muted);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 12px;
  box-shadow: none !important;
  transition: color var(--dur-fast) ease;
}

.btn-wizard-nav:hover {
  color: var(--rre-ink);
}

/* Summary box in step 4 */
.wizard-summary-box {
  background: var(--rre-green-subtle);
  border: 1px solid rgba(30, 70, 32, 0.2);
  border-radius: 8px;
  padding: 16px 20px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--rre-ink);
  line-height: 1.6;
}

/* ── FOOTER (ARCHITECTURAL LIGHT) ─────────────────────────────────────────── */
.site-footer {
  background: var(--rre-surface);
  border-top: 1px solid var(--rre-card-border);
  color: var(--rre-ink);
  padding: 80px 0 40px;
  position: relative;
  z-index: var(--z-content);
}

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

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rre-green);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  font-size: 14.5px;
  color: var(--rre-muted);
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}

.footer-links li a:hover {
  color: var(--rre-green);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid var(--rre-card-border);
  font-size: 13px;
  color: var(--rre-dim);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: var(--rre-dim);
  text-decoration: none;
  transition: color var(--dur-fast) ease;
}

.footer-legal-links a:hover {
  color: var(--rre-green);
}

/* ── MODAL DIALOG (ARCHITECTURAL LIGHT) ──────────────────────────────────── */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity var(--dur-normal) ease, visibility var(--dur-normal) ease;
}

.modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: var(--rre-surface);
  border: 1px solid var(--rre-card-border);
  border-radius: 8px;
  padding: 44px;
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  color: var(--rre-ink);
}

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--rre-bg-alt);
  border: 1px solid var(--rre-card-border);
  cursor: pointer;
  color: var(--rre-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: none !important;
  transition: all var(--dur-fast) ease;
}

.modal-close:hover {
  background: var(--rre-green-subtle);
  border-color: var(--rre-green);
  color: var(--rre-green);
}

/* ── RESPONSIVE BREAKPOINTS ───────────────────────────────────────────────── */

/* 1. Large Screens & Snap / Half-Screen (up to 1200px) */
@media (max-width: 1200px) {
  .header-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 6px; }
  .header-actions { gap: 10px; }
  .btn-phone { padding: 8px 14px; font-size: 12.5px; }
  .header-selection-badge { padding: 8px 14px; font-size: 12px; }
}

/* 2. Half-Screen / Tablet (769px to 1080px) */
@media (max-width: 1080px) {
  .services-grid-awwwards { grid-template-columns: repeat(2, 1fr); }
  .focus-grid-3 { grid-template-columns: 1fr; }
  .philosophy-layout { grid-template-columns: 1fr; gap: 40px; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .steps-grid { grid-template-columns: 1fr; gap: 20px; }
  #header-cta-btn { display: none; }
  .brand-title { font-size: 16px; }
  .brand-sub { font-size: 9.6px; letter-spacing: 0.222em; }
}

/* 3. Mobile / Smartphones (<= 768px) */
@media (max-width: 768px) {
  .container {
    width: calc(100% - 32px);
  }
  .container-text {
    width: calc(100% - 32px);
  }
  .site-header {
    height: 68px;
    padding: 10px 0;
  }
  .header-inner {
    gap: 8px;
  }
  .brand-title {
    font-size: 14px;
    letter-spacing: -0.01em;
  }
  .brand-sub {
    font-size: 8.4px;
    letter-spacing: 0.222em;
    margin-top: 2px;
  }
  .header-actions {
    gap: 6px;
  }
  .btn-phone {
    padding: 6px 11px;
    font-size: 12px;
    gap: 5px;
  }
  .header-selection-badge {
    padding: 6px 10px;
    font-size: 11px;
    gap: 5px;
  }
  .menu-toggle {
    padding: 6px 11px;
    font-size: 12px;
  }
  #header-cta-btn {
    display: none;
  }
  .hero-layout { grid-template-columns: 1fr; }
  .hero-glass-card { padding: 32px 20px; }
  
  /* Mobile services horizontal snap slider (when collapsed) */
  .services-grid-awwwards:not(.is-expanded) {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 10px 16px 20px 16px;
    margin-left: -16px;
    margin-right: -16px;
    scrollbar-width: none;
  }
  .services-grid-awwwards:not(.is-expanded)::-webkit-scrollbar {
    display: none;
  }
  .services-grid-awwwards:not(.is-expanded) .service-card {
    min-width: 82vw;
    max-width: 320px;
    flex-shrink: 0;
    scroll-snap-align: center;
    margin-bottom: 0;
    border-radius: 8px;
  }

  /* When expanded on mobile: standard 1-column vertical list */
  .services-grid-awwwards.is-expanded {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    overflow-x: visible;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
  }

  /* Show slider dots on mobile when collapsed */
  .slider-indicators {
    display: flex;
  }
  .services-grid-awwwards.is-expanded + .services-toggle-wrap .slider-indicators {
    display: none;
  }

  /* Dual descriptions: on mobile show punchy text */
  .card-desc .desc-full {
    display: none;
  }
  .card-desc .desc-mobile {
    display: block;
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--rre-muted);
  }
  .services-filter-bar {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .services-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 14px; text-align: center; }
  .wizard-options-grid { grid-template-columns: 1fr; }
  .form-grid-2 { grid-template-columns: 1fr; }
  
  /* Prevent iOS Safari auto-zoom on input focus */
  .form-input,
  .form-select,
  .form-textarea {
    font-size: 16px;
  }
}

/* 4. Small Mobile (< 480px) */
@media (max-width: 480px) {
  .container {
    width: calc(100% - 24px);
  }
  .container-text {
    width: calc(100% - 24px);
  }
  .brand-title {
    font-size: 13px;
  }
  .brand-sub {
    font-size: 7.8px;
    letter-spacing: 0.222em;
  }
  .btn-phone span:last-child {
    display: none;
  }
  .btn-phone {
    padding: 6px 10px;
    font-size: 13px;
  }
  .header-selection-badge {
    padding: 6px 8px;
    font-size: 10px;
  }
}

/* ── DIRECT INQUIRY SUCCESS SCREEN (SALBEIGRÜN #8A9A5B) ──────────────────── */
.inquiry-success-card {
  text-align: center;
  padding: 36px 16px 20px;
  animation: fadeIn 0.4s ease;
}

.success-checkmark-circle {
  width: 58px;
  height: 58px;
  border-radius: 8px;
  background: var(--rre-success-subtle);
  border: 2px solid var(--rre-success);
  color: var(--rre-success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: none !important;
}

.success-summary-box {
  max-width: 520px;
  margin: 22px auto 0;
  background: var(--rre-surface);
  border: 1px solid var(--rre-card-border);
  border-radius: 8px;
  padding: 16px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 13.5px;
  color: var(--rre-muted);
  border-bottom: 1px solid var(--rre-card-border);
  padding-bottom: 8px;
  gap: 12px;
}

.summary-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.summary-line strong {
  color: var(--rre-ink);
  font-weight: 600;
  text-align: right;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner-icon {
  display: inline-block;
  animation: spin 1s linear infinite;
  margin-right: 6px;
}
