:root {
  /* Premium Bright Theme - Inspired by classic high-end craft portals */
  --bg: #FFFFFF; 
  --surface: #F8F9FA; 
  --surface-hover: #FFFFFF; 
  --primary: #0056b3; /* Trustworthy Corporate Blue */
  --accent: #E3A82B; /* Warm Gold / Amber Accent */
  --text: #333333; 
  --text-muted: #666666; 
  --border: #E5E5E5;
  
  /* Clean, legible typography */
  --font-head: 'DM Sans', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  
  --transition-smooth: 0.4s ease; 
  --transition-fast: 0.2s ease;
  
  --nav-height: 90px;
}

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

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700; 
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 3vw, 1.8rem); font-weight: 600; }

p { margin-bottom: 1.2rem; color: var(--text-muted); font-size: 1.05rem; }
a { color: inherit; text-decoration: none; }

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

/* ================== LAYOUT & COMPONENTS ================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0; 
}

.section-header {
  margin-bottom: 4rem;
  text-align: center;
}

/* Buttons - Conversion Optimized */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.2rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-fast);
  border: 2px solid transparent;
  text-transform: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 6px rgba(0, 86, 179, 0.2);
}

.btn-primary:hover {
  background-color: #004494;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 86, 179, 0.3);
  color: #FFFFFF;
}

.btn-secondary {
  background-color: #FFFFFF;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--primary);
  color: #FFFFFF;
}

/* ================== NAVIGATION ================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar .logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.navbar .logo img {
  display: block;
  height: 52px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

.navbar .nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  padding: 0.5rem 0;
  transition: color 0.2s ease;
}

/* Scrolled Navbar State - Pure White */
.navbar.scrolled {
  background: #FFFFFF;
  box-shadow: 0 2px 15px rgba(0,0,0,0.08);
  border-bottom: none;
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a {
  color: var(--text);
}

.navbar.scrolled .logo {
  opacity: 1;
}

.navbar.scrolled .logo .text-gold {
  color: var(--primary);
}

.navbar.scrolled .nav-links a:hover,
.navbar.scrolled .nav-links a.active {
  color: var(--primary);
}

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

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  width: 30px;
  height: 22px;
  position: relative;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #FFFFFF;
  position: absolute;
  transition: var(--transition-fast);
  border-radius: 2px;
}

.navbar.scrolled .menu-toggle span {
  background-color: var(--text);
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.menu-toggle span:nth-child(3) { bottom: 0; }

.menu-toggle.open span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); background-color: var(--text); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); background-color: var(--text); }

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-menu .nav-links {
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.mobile-menu .nav-links a {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--text);
  font-weight: 700;
}

/* ================== HERO SECTION WITH IMAGE ================== */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
  
  /* Beautiful Background Image for all Hero sections */
  background-image: linear-gradient(rgba(0, 30, 60, 0.6), rgba(0, 30, 60, 0.7)), url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Parallax effect */
}

/* Ensure canvas is hidden as we don't need particles anymore */
#hero-canvas {
  display: none !important;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: #FFFFFF;
}

.hero h1 {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: block;
}

.hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.hero .trust-strip {
  display: flex;
  gap: 2.5rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 0.95rem;
  color: #FFFFFF;
  font-weight: 600;
}

/* General trust strip for other sections */
.trust-strip {
  display: flex;
  gap: 2.5rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  flex-wrap: wrap;
}

/* ================== GRID & CARDS ================== */
.services-grid, .projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: #FFFFFF;
  padding: 3rem 2.5rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.card h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

/* ================== CARD WITH IMAGE ================== */
.services-grid-img {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card-img {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
}

.card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.card-img:hover .card-media img {
  transform: scale(1.06);
}

.card-img:hover {
  box-shadow: 0 15px 35px rgba(0,0,0,0.10);
}

.card-body {
  padding: 2rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-body p {
  margin-bottom: 1.5rem;
}

.card-link {
  margin-top: auto;
  font-weight: 600;
  font-size: 0.95rem;
}

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

/* ================== ALTERNATING SECTION BG ================== */
.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ================== CENTERED CTA ================== */
.center-cta {
  text-align: center;
  margin-top: 3.5rem;
}

/* ================== FEATURE GRID ================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature {
  background: #FFFFFF;
  padding: 2.5rem 2rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.feature-icon {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.feature h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.feature p {
  margin-bottom: 0;
  font-size: 1rem;
}

/* ================== PROCESS / STEPS ================== */
.process-list {
  list-style: none;
  max-width: 860px;
  margin: 0 auto;
  counter-reset: step;
}

.process-step {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.process-step:first-child {
  border-top: 1px solid var(--border);
}

.process-num {
  flex: 0 0 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.process-step h3 {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.process-step p {
  margin-bottom: 0;
}

/* ================== SERVICE AREA TAGS ================== */
.area-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  max-width: 900px;
  margin: 0 auto;
}

.area-tag {
  padding: 0.6rem 1.3rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.area-tag:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #FFFFFF;
}

/* ================== REVIEWS SLIDER ================== */
.reviews-section {
  background: var(--surface);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.review-slider-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.review-slider {
  overflow: hidden;
  padding: 2rem 0;
}

.review-track {
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

.review-card {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 2rem;
  opacity: 0.4;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.review-card.active {
  opacity: 1;
  transform: scale(1);
}

.stars {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
  letter-spacing: 0.1em;
}

.review-text {
  font-family: var(--font-head);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 500;
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.4;
  color: var(--text);
}

.reviewer-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

.reviewer-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.slider-btn {
  background: #FFFFFF;
  border: 1px solid var(--border);
  color: var(--text);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.slider-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #FFFFFF;
}

.slider-pagination {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #DDDDDD;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dot.active {
  background: var(--primary);
  width: 25px;
  border-radius: 5px;
}

.slider-progress {
  width: 100%;
  height: 3px;
  background: #E5E5E5;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.progress-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: var(--primary);
}

/* ================== CONTACT & FOOTER ================== */
.contact-section {
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info .info-item {
  margin-bottom: 2rem;
}

.contact-info h4 {
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  background: var(--surface);
  border: 1px solid var(--border);
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.status-open .status-dot { background: #28a745; box-shadow: 0 0 8px rgba(40, 167, 69, 0.5); }
.status-closed .status-dot { background: #dc3545; box-shadow: 0 0 8px rgba(220, 53, 69, 0.5); }

/* ================== GOOGLE MAPS EMBED ================== */
.map-embed {
  margin-top: 4rem;
  width: 100%;
}

.map-frame {
  position: relative;
  width: 100%;
  height: 320px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-directions-btn {
  margin-top: 1.25rem;
  width: 100%;
}

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

form input, form textarea, form select {
  width: 100%;
  padding: 1rem;
  background: #FFFFFF;
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  border-radius: 4px;
  transition: border-color 0.2s ease;
}

form input:focus, form textarea:focus, form select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

form textarea {
  resize: vertical;
  min-height: 150px;
}

.checkbox-group {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.checkbox-group input {
  width: auto;
  margin-top: 0.25rem;
}

footer {
  background: #222222;
  color: #FFFFFF;
  padding: 4rem 0 2rem;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-links a {
  font-size: 0.95rem;
  color: #AAAAAA;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-copy {
  font-size: 0.85rem;
  color: #777777;
}

/* ================== ANIMATIONS ================== */
.reveal-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-up.active {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Timeline in Über Uns */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 4rem auto;
  padding-left: 2.5rem;
  border-left: 2px solid var(--border);
}

.timeline-progress {
  position: absolute;
  top: 0;
  left: -2px;
  width: 2px;
  height: 0%;
  background: var(--primary);
  transition: height 0.3s ease-out;
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
  padding-left: 1.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.2rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 3px solid var(--border);
  transition: all 0.3s ease;
}

.timeline-item.active::before {
  border-color: var(--primary);
  background: var(--primary);
}

/* Page Transition Overlay */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #FFFFFF;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.is-transitioning .page-transition {
  opacity: 1;
  pointer-events: all;
}

/* ================== RESPONSIVE ================== */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 640px) {
  .process-step {
    gap: 1.25rem;
    padding: 1.5rem 0;
  }
  .process-num {
    flex-basis: 42px;
    height: 42px;
    font-size: 1.05rem;
  }
  .card-body {
    padding: 1.5rem 1.5rem 2rem;
  }
  .feature {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  
  .hero .trust-strip, .trust-strip {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
  }
  
  .section { padding: 4rem 0; }
  .review-text { font-size: 1.1rem; }
  .slider-btn { display: none; }
  
  .hero-actions { justify-content: center; }
  .hero { text-align: center; background-attachment: scroll; } /* Disable parallax on mobile */
  .hero-content { margin: 0 auto; }
  .navbar .logo img { height: 42px; max-width: 155px; }
}

.mobile-call-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  z-index: 900;
  text-decoration: none;
}

@media (max-width: 768px) {
  .mobile-call-btn { display: flex; }
}
