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

/* --- THEME VARIABLEN --- */

/* V1: Tech Neon (Dunkel-Limette/Cyan) */
body.theme-v1, :root {
  --bg-deep: #080c14;
  --bg-card: rgba(20, 28, 48, 0.55);
  --bg-card-hover: rgba(26, 36, 62, 0.75);
  --bg-nav: rgba(8, 12, 20, 0.85);
  --primary: #bcd52c;
  --primary-rgb: 188, 213, 44;
  --secondary: #00f0ff;
  --secondary-rgb: 0, 240, 255;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.07);
  --border-focus: rgba(188, 213, 44, 0.5);
  --shadow-glow: 0 0 20px rgba(188, 213, 44, 0.2);
  --shadow-glow-sec: 0 0 20px rgba(0, 240, 255, 0.2);
  --input-bg: rgba(8, 12, 20, 0.5);
}

/* V2: Eco Solar (Helles Smaragdgrün/Solarblau - Light Mode) */
body.theme-v2 {
  --bg-deep: #f5f8f5;
  --bg-card: rgba(255, 255, 255, 0.85);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --bg-nav: rgba(245, 248, 245, 0.9);
  --primary: #10b981;
  --primary-rgb: 16, 185, 129;
  --secondary: #3b82f6;
  --secondary-rgb: 59, 130, 246;
  --text-main: #1f2937;
  --text-muted: #4b5563;
  --border: rgba(16, 185, 129, 0.15);
  --border-focus: rgba(16, 185, 129, 0.6);
  --shadow-glow: 0 10px 25px rgba(16, 185, 129, 0.15);
  --shadow-glow-sec: 0 10px 25px rgba(59, 130, 246, 0.15);
  --input-bg: rgba(255, 255, 255, 0.9);
}

/* V3: Cyber Volt (Tiefschwarz-Cyan/Fuchsia) */
body.theme-v3 {
  --bg-deep: #030308;
  --bg-card: rgba(13, 13, 30, 0.65);
  --bg-card-hover: rgba(22, 22, 50, 0.85);
  --bg-nav: rgba(3, 3, 8, 0.9);
  --primary: #00f0ff;
  --primary-rgb: 0, 240, 255;
  --secondary: #d946ef;
  --secondary-rgb: 217, 70, 239;
  --text-main: #f3f4f6;
  --text-muted: #a5b4fc;
  --border: rgba(0, 240, 255, 0.15);
  --border-focus: rgba(0, 240, 255, 0.7);
  --shadow-glow: 0 0 25px rgba(0, 240, 255, 0.35);
  --shadow-glow-sec: 0 0 25px rgba(217, 70, 239, 0.35);
  --input-bg: rgba(13, 13, 30, 0.7);
}

/* V4: Swiss Minimal (Platin-Schwarz/Minimalistisches Anthrazit) */
body.theme-v4 {
  --bg-deep: #121214;
  --bg-card: rgba(30, 30, 34, 0.55);
  --bg-card-hover: rgba(42, 42, 48, 0.75);
  --bg-nav: rgba(18, 18, 20, 0.9);
  --primary: #f3f4f6;
  --primary-rgb: 243, 244, 246;
  --secondary: #9ca3af;
  --secondary-rgb: 156, 163, 175;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --border: rgba(255, 255, 255, 0.05);
  --border-focus: rgba(255, 255, 255, 0.3);
  --shadow-glow: 0 4px 20px rgba(255, 255, 255, 0.05);
  --shadow-glow-sec: 0 4px 20px rgba(156, 163, 175, 0.05);
  --input-bg: rgba(30, 30, 34, 0.7);
}

/* V5: Industrial Grid (Kohle-Rost/Bernstein) */
body.theme-v5 {
  --bg-deep: #161311;
  --bg-card: rgba(36, 30, 27, 0.65);
  --bg-card-hover: rgba(54, 45, 40, 0.85);
  --bg-nav: rgba(22, 19, 17, 0.9);
  --primary: #f59e0b;
  --primary-rgb: 245, 158, 11;
  --secondary: #ef4444;
  --secondary-rgb: 239, 68, 68;
  --text-main: #f3f4f6;
  --text-muted: #a8a29e;
  --border: rgba(245, 158, 11, 0.12);
  --border-focus: rgba(245, 158, 11, 0.6);
  --shadow-glow: 0 0 25px rgba(245, 158, 11, 0.3);
  --shadow-glow-sec: 0 0 25px rgba(239, 68, 68, 0.3);
  --input-bg: rgba(36, 30, 27, 0.8);
}

/* V6: Aurora Flow (Dunkelviolett/Polarlicht) */
body.theme-v6 {
  --bg-deep: #0a0816;
  --bg-card: rgba(25, 20, 48, 0.55);
  --bg-card-hover: rgba(38, 30, 72, 0.75);
  --bg-nav: rgba(10, 8, 22, 0.9);
  --primary: #8b5cf6;
  --primary-rgb: 139, 92, 246;
  --secondary: #10b981;
  --secondary-rgb: 16, 185, 129;
  --text-main: #f3f4f6;
  --text-muted: #a78bfa;
  --border: rgba(139, 92, 246, 0.15);
  --border-focus: rgba(139, 92, 246, 0.6);
  --shadow-glow: 0 0 25px rgba(139, 92, 246, 0.3);
  --shadow-glow-sec: 0 0 25px rgba(16, 185, 129, 0.3);
  --input-bg: rgba(25, 20, 48, 0.6);
}

/* --- RESET & BASIC STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  transition: background-color 0.5s ease, color 0.5s ease;
  --font-title: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: rgba(128, 128, 128, 0.2);
  border-radius: 5px;
  border: 2px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-main);
}

h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: var(--primary);
  margin: 0.75rem auto 0 auto;
  border-radius: 2px;
  transition: background-color 0.5s ease;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-main);
}

p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

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

/* --- STRUCTURE --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 8rem 0;
  position: relative;
}

/* Subtle glowing background decorations */
section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(var(--primary-rgb), 0.04) 0%, rgba(0, 0, 0, 0) 70%);
  top: 10%;
  left: -150px;
  z-index: 0;
  pointer-events: none;
  transition: background 0.5s ease;
}

section:nth-child(even)::before {
  left: auto;
  right: -150px;
  background: radial-gradient(circle, rgba(var(--secondary-rgb), 0.03) 0%, rgba(0, 0, 0, 0) 70%);
}

/* --- HEADER & NAVIGATION --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition-normal), background-color 0.5s ease, border-color 0.5s ease;
}

header.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body.theme-v2 header.scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height var(--transition-normal);
}

header.scrolled .nav-wrapper {
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  height: 45px;
}

.logo img {
  height: 100%;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-muted);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-main);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--primary);
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: var(--text-main);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: .25s ease-in-out;
}

.nav-toggle span:nth-child(1) { top: 0px; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }

.nav-toggle.open span:nth-child(1) {
  top: 10px;
  transform: rotate(135deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}
.nav-toggle.open span:nth-child(3) {
  top: 10px;
  transform: rotate(-135deg);
}

/* CTA Header button */
.header-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

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

body.theme-v4 .btn-primary {
  color: #121214 !important;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border-color: rgba(128, 128, 128, 0.3);
  color: var(--text-main);
}

.btn-secondary:hover {
  background-color: rgba(128, 128, 128, 0.08);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.btn-phone {
  background-color: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  color: var(--primary);
}

.btn-phone:hover {
  background-color: var(--primary);
  color: var(--bg-deep);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* --- GLASS CARD --- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition-normal), background-color 0.5s ease, border-color 0.5s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.glass-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(var(--primary-rgb), 0.25);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

body.theme-v2 .glass-card:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
  z-index: -1;
}

/* --- HERO SECTION --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background-size: cover;
  background-position: center;
  position: relative;
  transition: background-image 0.5s ease;
}

/* Dynamic Gradients overlay based on active themes */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(var(--bg-deep-rgb, 8), 12, 20, 0.4) 0%, var(--bg-deep) 100%);
  z-index: 1;
  transition: background 0.5s ease;
  pointer-events: none;
}

/* Fallback gradient if CSS variable for backdrop gradient is needed */
body.theme-v2 .hero::before {
  background: linear-gradient(to bottom, rgba(245, 248, 245, 0.3) 0%, #f5f8f5 100%);
}
body.theme-v1 .hero::before { background: linear-gradient(to bottom, rgba(8, 12, 20, 0.4) 0%, #080c14 100%); }
body.theme-v3 .hero::before { background: linear-gradient(to bottom, rgba(3, 3, 8, 0.4) 0%, #030308 100%); }
body.theme-v4 .hero::before { background: linear-gradient(to bottom, rgba(18, 18, 20, 0.4) 0%, #121214 100%); }
body.theme-v5 .hero::before { background: linear-gradient(to bottom, rgba(22, 19, 17, 0.4) 0%, #161311 100%); }
body.theme-v6 .hero::before { background: linear-gradient(to bottom, rgba(10, 8, 22, 0.4) 0%, #0a0816 100%); }

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(var(--secondary-rgb), 0.07) 0%, rgba(var(--primary-rgb), 0.05) 30%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  z-index: 1;
  transition: background 0.5s ease;
}

body.theme-v2 .hero::after {
  background: radial-gradient(circle at 70% 30%, rgba(59, 130, 246, 0.1) 0%, rgba(16, 185, 129, 0.07) 30%, rgba(0, 0, 0, 0) 70%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 750px;
}

.hero-tag {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.25);
  color: var(--primary);
  border-radius: 30px;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  transition: color 0.5s ease, background-color 0.5s ease, border-color 0.5s ease;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
}

.hero-btns {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* --- VALUES / INFO --- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.value-card {
  display: flex;
  flex-direction: column;
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: rgba(var(--primary-rgb), 0.08);
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: background-color 0.5s ease, border-color 0.5s ease, color 0.5s ease;
}

.value-card:hover .icon-wrapper {
  background: var(--primary);
  color: var(--bg-deep);
  box-shadow: var(--shadow-glow);
  transform: scale(1.05);
  transition: var(--transition-fast);
}

body.theme-v4 .value-card:hover .icon-wrapper {
  color: #121214 !important;
}

/* --- ABOUT SECTION --- */
.about-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text {
  position: relative;
  z-index: 1;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-family: var(--font-title);
  color: var(--text-main);
}

.about-feature svg {
  color: var(--primary);
  transition: color 0.5s ease;
}

.about-visual {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 450px;
  border: 1px solid var(--border);
  transition: border-color 0.5s ease;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: background-color 0.5s ease, border-color 0.5s ease;
}

.about-badge .years {
  font-family: var(--font-title);
  font-size: 3rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  transition: color 0.5s ease;
}

.about-badge .desc {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
  color: var(--text-main);
}

/* --- SERVICES TEASER --- */
.services-teaser-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.teaser-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.teaser-card-img {
  height: 200px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
  transition: border-color 0.5s ease;
}

.teaser-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.teaser-card:hover .teaser-card-img img {
  transform: scale(1.08);
}

.teaser-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: auto;
  transition: color 0.5s ease;
}

.teaser-card:hover .teaser-link svg {
  transform: translateX(5px);
  transition: var(--transition-fast);
}

/* --- SERVICE FULL GRID (Leistungen-Seite) --- */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-family: var(--font-title);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast), background-color 0.5s ease, border-color 0.5s ease;
  backdrop-filter: blur(12px);
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--text-main);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--bg-deep);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

body.theme-v4 .filter-btn.active {
  color: #121214 !important;
}

.services-full-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.service-card {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.4s ease, transform 0.4s ease, border-color 0.4s ease, background 0.4s ease;
  display: flex;
  flex-direction: column;
}

.service-card.hidden {
  opacity: 0;
  transform: scale(0.9);
  pointer-events: none;
  position: absolute;
  width: 0;
  height: 0;
  padding: 0;
  margin: 0;
  border: none;
  overflow: hidden;
}

.service-list {
  list-style: none;
  margin-top: 1.5rem;
}

.service-list li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 8px var(--primary);
  transition: background-color 0.5s ease;
}

.service-list strong {
  color: var(--text-main);
}

/* --- CALL TO ACTION BANNERS --- */
.cta-banner {
  background: linear-gradient(135deg, rgba(var(--bg-deep-rgb, 20), 28, 48, 0.9) 0%, rgba(var(--bg-deep-rgb, 8), 12, 20, 0.95) 100%);
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5rem 3rem;
  text-align: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: border-color 0.5s ease, background-color 0.5s ease;
}

body.theme-v2 .cta-banner {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 248, 245, 0.95) 100%);
}
body.theme-v1 .cta-banner { background: linear-gradient(135deg, rgba(20, 28, 48, 0.9) 0%, rgba(8, 12, 20, 0.95) 100%); }
body.theme-v3 .cta-banner { background: linear-gradient(135deg, rgba(13, 13, 30, 0.9) 0%, rgba(3, 3, 8, 0.95) 100%); }
body.theme-v4 .cta-banner { background: linear-gradient(135deg, rgba(30, 30, 34, 0.9) 0%, rgba(18, 18, 20, 0.95) 100%); }
body.theme-v5 .cta-banner { background: linear-gradient(135deg, rgba(36, 30, 27, 0.9) 0%, rgba(22, 19, 17, 0.95) 100%); }
body.theme-v6 .cta-banner { background: linear-gradient(135deg, rgba(25, 20, 48, 0.9) 0%, rgba(10, 8, 22, 0.95) 100%); }

.cta-banner::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: radial-gradient(circle at 10% 20%, rgba(var(--secondary-rgb), 0.05) 0%, rgba(0, 0, 0, 0) 60%);
  z-index: -1;
  pointer-events: none;
}

body.theme-v2 .cta-banner::before {
  background: radial-gradient(circle at 10% 20%, rgba(59, 130, 246, 0.05) 0%, rgba(0, 0, 0, 0) 60%);
}

.cta-banner h2 {
  left: 0;
  transform: none;
  text-align: center;
  display: block;
}

.cta-banner h2::after {
  margin: 0.75rem auto;
}

.cta-banner p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

.cta-btns {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

/* --- CONTACT SECTION & PAGE --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.contact-info-card .icon-wrapper {
  margin-bottom: 0;
  flex-shrink: 0;
}

.contact-info-content h4 {
  font-size: 1rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.contact-info-content p, .contact-info-content a {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--text-main);
  margin-bottom: 0;
}

.contact-info-content a:hover {
  color: var(--primary);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.form-group input, .form-group textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.85rem 1rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast), background-color 0.5s ease, border-color 0.5s ease;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.15);
  background: var(--bg-deep);
}

.form-status {
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  display: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-status.success {
  display: block;
  background: rgba(var(--primary-rgb), 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgb(239, 68, 68);
  color: rgb(239, 68, 68);
}

/* Map Styling */
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-top: 4rem;
  transition: border-color 0.5s ease;
}

/* --- FOOTER --- */
footer {
  background-color: rgba(0, 0, 0, 0.3);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem 0;
  font-size: 0.95rem;
  transition: border-color 0.5s ease;
}

body.theme-v2 footer {
  background-color: #ebefe6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 45px;
  margin-bottom: 1.5rem;
}

.footer-logo img {
  height: 100%;
  width: auto;
}

.footer-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-hours p {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-family: var(--font-title);
  font-weight: 500;
  color: var(--text-main);
}

.footer-hours p span:first-child {
  color: var(--text-muted);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: border-color 0.5s ease;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

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

/* --- LEGAL & PRIVACY PAGES --- */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h3 {
  margin-top: 2.5rem;
  color: var(--text-main);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  transition: border-color 0.5s ease;
}

.legal-content p, .legal-content ul {
  margin-bottom: 1.5rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  color: var(--text-muted);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* --- SCROLL ANIMATIONS --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  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; }

/* --- DESIGN SWITCHER WIDGET --- */
.design-switcher {
  position: fixed;
  right: 20px;
  top: 100px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.switcher-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-normal);
}

.switcher-btn:hover {
  transform: rotate(30deg);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.switcher-btn svg {
  width: 24px;
  height: 24px;
}

.switcher-panel {
  margin-top: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.25rem;
  width: 220px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transform: translateX(260px);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
}

.design-switcher.open .switcher-panel {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}

.switcher-title {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.5rem;
  color: var(--text-main);
}

.theme-opt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-muted);
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 0.9rem;
  text-align: left;
  width: 100%;
}

.theme-opt:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(var(--primary-rgb), 0.3);
  color: var(--text-main);
}

.theme-opt.active {
  border-color: var(--primary);
  background: rgba(var(--primary-rgb), 0.08);
  color: var(--primary);
}

.theme-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Theme Dot Colors */
.dot-v1 { background-color: #bcd52c; box-shadow: 0 0 6px #bcd52c; }
.dot-v2 { background-color: #10b981; box-shadow: 0 0 6px #10b981; }
.dot-v3 { background-color: #00f0ff; box-shadow: 0 0 6px #00f0ff; }
.dot-v4 { background-color: #f3f4f6; box-shadow: 0 0 6px #f3f4f6; }
.dot-v5 { background-color: #f59e0b; box-shadow: 0 0 6px #f59e0b; }
.dot-v6 { background-color: #8b5cf6; box-shadow: 0 0 6px #8b5cf6; }

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .about-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-visual {
    height: 350px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }
  
  .nav-menu {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--bg-deep);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition-normal);
    border-top: 1px solid var(--border);
    z-index: 999;
  }
  
  .nav-menu.open {
    left: 0;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .header-cta {
    display: none;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
  
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-btns .btn {
    width: 100%;
  }

  /* Reposition design switcher on mobile to be a floating button at bottom left */
  .design-switcher {
    left: 20px;
    right: auto;
    top: auto;
    bottom: 20px;
    flex-direction: column-reverse;
  }

  .switcher-panel {
    margin-top: 0;
    margin-bottom: 10px;
    transform: translateY(260px) translateX(0);
  }

  .design-switcher.open .switcher-panel {
    transform: translateY(0);
  }
}
