/* =================================================================
   WIENER MEISTER MALEREI - ULTRA MODERN DESIGN SYSTEM 2024
   Complete modern CSS for professional painter website
   ================================================================= */

/* Prevent horizontal scroll on all pages */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

* {
  box-sizing: border-box;
}

:root {
  /* Modern Color Palette */
  --primary-dark: #1a2332;
  --primary-green: #2d5a41;
  --accent-gold: #d4af37;
  --accent-coral: #ff6b6b;
  --neutral-light: #f8fafc;
  --neutral-medium: #64748b;
  --neutral-dark: #0f172a;
  --glass-bg: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.2);
  
  /* Surface Colors */
  --surface-primary: #ffffff;
  --surface-secondary: #f1f5f9;
  --surface-accent: #e2e8f0;
  --surface-dark: var(--primary-dark);
  
  /* Text Colors */
  --text-primary: var(--neutral-dark);
  --text-secondary: var(--neutral-medium);
  --text-light: #ffffff;
  --text-light-secondary: rgba(255, 255, 255, 0.8);
  --text-accent: var(--accent-gold);
  
  /* Typography Scale */
  --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* Spacing Scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  
  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-normal: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* =================================================================
   RESET & BASE STYLES
   ================================================================= */

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

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

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--surface-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* =================================================================
   TYPOGRAPHY SYSTEM
   ================================================================= */

.display-large {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.display-medium {
  font-family: var(--font-display);
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.heading-large {
  font-family: var(--font-display);
  font-size: clamp(var(--text-2xl), 3vw, var(--text-4xl));
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.heading-medium {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-3xl));
  font-weight: 600;
  line-height: 1.3;
}

.heading-small {
  font-family: var(--font-primary);
  font-size: clamp(var(--text-lg), 2vw, var(--text-2xl));
  font-weight: 600;
  line-height: 1.4;
}

.body-large {
  font-size: var(--text-lg);
  line-height: 1.7;
  font-weight: 400;
}

.body-medium {
  font-size: var(--text-base);
  line-height: 1.6;
  font-weight: 400;
}

.body-small {
  font-size: var(--text-sm);
  line-height: 1.5;
  font-weight: 400;
}

.overline {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-accent);
}

/* Text Colors */
.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-light { color: var(--text-light); }
.text-light-secondary { color: var(--text-light-secondary); }
.text-accent { color: var(--text-accent); }

/* =================================================================
   LAYOUT SYSTEM
   ================================================================= */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  overflow-x: hidden;
}

/* Prevent horizontal overflow for all images and containers */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.image-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.company-image,
.achievements-image,
.member-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 100%;
}

.section-padding {
  padding: var(--space-20) 0;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: 0 calc(-1 * var(--space-3));
}

.col-md-6 {
  flex: 0 0 100%;
  padding: 0 var(--space-3);
}

.col-lg-5 {
  flex: 0 0 100%;
  padding: 0 var(--space-3);
}

.col-lg-7 {
  flex: 0 0 100%;
  padding: 0 var(--space-3);
}

.align-items-center {
  align-items: center;
}

.text-center {
  text-align: center;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-5 { margin-bottom: var(--space-5); }

.max-width-lg {
  max-width: 600px;
}

/* =================================================================
   SURFACE BACKGROUNDS
   ================================================================= */

.bg-surface {
  background-color: var(--surface-secondary);
}

.bg-dark {
  background-color: var(--surface-dark);
}

/* =================================================================
   NAVIGATION
   ================================================================= */

.nav-modern {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: blur(0px);
  transition: all var(--transition-normal);
  padding: var(--space-4) 0;
}

.nav-modern.scrolled {
  background: rgba(26, 35, 50, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-3) 0;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.nav-brand .brand-link {
  text-decoration: none;
  color: var(--text-light);
}

.brand-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  display: block;
}

.brand-subtitle {
  font-size: var(--text-sm);
  font-weight: 400;
  color: var(--text-accent);
  display: block;
  margin-top: -2px;
}

.nav-links {
  display: none;
  gap: var(--space-8);
}

.desktop-nav {
  display: none;
}

.nav-link {
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--text-sm);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-accent);
  background: rgba(212, 175, 55, 0.1);
}

.mobile-menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light);
  margin: 3px 0;
  transition: all var(--transition-fast);
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(300px, 85vw);
  height: 100vh;
  background: rgba(26, 35, 50, 0.98);
  backdrop-filter: blur(20px);
  transition: right var(--transition-normal);
  z-index: 999;
  padding: var(--space-20) var(--space-6);
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.mobile-menu-link {
  color: var(--text-light);
  text-decoration: none;
  font-size: var(--text-lg);
  font-weight: 500;
  padding: var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  color: var(--text-accent);
  background: rgba(212, 175, 55, 0.1);
}

/* =================================================================
   PAGE HEADER
   ================================================================= */

.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-green) 100%);
  color: var(--text-light);
  padding: calc(var(--space-20) + 80px) 0 var(--space-20) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="25" cy="25" r="0.5" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="0.5" fill="white" opacity="0.1"/><circle cx="25" cy="75" r="0.5" fill="white" opacity="0.1"/><circle cx="75" cy="25" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.page-header-content {
  position: relative;
  z-index: 2;
}

/* =================================================================
   HERO SECTIONS
   ================================================================= */

.hero-modern {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
}

.hero-video-modern {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: cover;
}

.hero-overlay-modern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 35, 50, 0.8) 0%,
    rgba(45, 90, 65, 0.6) 100%
  );
  z-index: 2;
}

.hero-content-modern {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 var(--space-6);
}

.hero-title-modern {
  margin-bottom: var(--space-6);
}

.hero-subtitle-modern {
  margin-bottom: var(--space-8);
  opacity: 0.9;
}

/* =================================================================
   CARDS & COMPONENTS
   ================================================================= */

.card-modern {
  background: var(--surface-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-gold), var(--primary-green));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.card-modern:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card-modern:hover::before {
  opacity: 1;
}

/* =================================================================
   BUTTONS
   ================================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary-green);
  color: var(--text-light);
  border-color: var(--primary-green);
}

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

.btn-secondary {
  background: transparent;
  color: var(--primary-green);
  border-color: var(--primary-green);
}

.btn-secondary:hover {
  background: var(--primary-green);
  color: var(--text-light);
}

.btn-accent {
  background: var(--accent-gold);
  color: var(--primary-dark);
  border-color: var(--accent-gold);
}

.btn-accent:hover {
  background: var(--primary-dark);
  color: var(--text-light);
  border-color: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary-dark);
  border-color: rgba(0, 0, 0, 0.2);
}

.btn-outline:hover {
  background: var(--primary-dark);
  color: var(--text-light);
  border-color: var(--primary-dark);
}

.btn-light-outline {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-light-outline:hover {
  background: var(--text-light);
  color: var(--primary-dark);
  border-color: var(--text-light);
}

.btn-large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* =================================================================
   GRIDS & LAYOUTS
   ================================================================= */

.services-grid {
  display: grid;
  gap: var(--space-6);
  margin-top: var(--space-16);
}

.values-grid,
.team-grid,
.pricing-grid {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.process-steps {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.process-step {
  display: flex;
  gap: var(--space-6);
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-lg);
}

.step-content h3 {
  margin-bottom: var(--space-2);
}

/* =================================================================
   SERVICE CARDS
   ================================================================= */

.service-card {
  position: relative;
  overflow: hidden;
}

.service-image {
  position: relative;
  height: 250px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-6);
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 35, 50, 0.8), rgba(45, 90, 65, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-icon {
  color: var(--text-light);
}

.service-features {
  list-style: none;
  margin-bottom: var(--space-6);
}

.service-features li {
  padding: var(--space-2) 0;
  padding-left: var(--space-6);
  position: relative;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 700;
}

/* =================================================================
   TEAM CARDS
   ================================================================= */

.team-member {
  text-align: center;
}

.member-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto var(--space-6);
  position: relative;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-content h3 {
  margin-bottom: var(--space-2);
}

/* =================================================================
   PRICING CARDS
   ================================================================= */

.pricing-card {
  position: relative;
  text-align: center;
}

.pricing-card.featured {
  transform: scale(1.05);
  border-color: var(--accent-gold);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gold);
  color: var(--primary-dark);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  font-weight: 600;
}

.pricing-header {
  margin-bottom: var(--space-6);
}

.price-range {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.price-from {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.price-amount {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--accent-gold);
}

.price-unit {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.pricing-features {
  list-style: none;
  margin-bottom: var(--space-8);
  text-align: left;
}

.pricing-features li {
  padding: var(--space-3) 0;
  padding-left: var(--space-6);
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-gold);
  font-weight: 700;
}

.pricing-note {
  margin-top: var(--space-8);
}

/* =================================================================
   STATS & ACHIEVEMENTS
   ================================================================= */

.stats-grid {
  display: grid;
  gap: var(--space-8);
  margin-top: var(--space-12);
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  margin-bottom: var(--space-2);
}

.achievements-stats {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

/* =================================================================
   FORMS
   ================================================================= */

.contact-form-container {
  margin-bottom: var(--space-8);
}

.form-header {
  margin-bottom: var(--space-8);
}

.contact-form {
  display: grid;
  gap: var(--space-6);
}

.form-row {
  display: grid;
  gap: var(--space-4);
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-weight: 600;
  margin-bottom: var(--space-2);
  color: var(--text-primary);
}

.form-input,
.form-select,
.form-textarea {
  padding: var(--space-3) var(--space-4);
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: inherit;
  transition: all var(--transition-fast);
  background: var(--surface-primary);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(45, 90, 65, 0.1);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
  border-color: var(--accent-coral);
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  cursor: pointer;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
}

.checkbox-container input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-green);
  border-color: var(--primary-green);
}

.checkbox-container input[type="checkbox"]:checked + .checkmark::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.checkbox-container input[type="checkbox"] {
  display: none;
}

.checkbox-text {
  font-size: var(--text-sm);
  line-height: 1.5;
}

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

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

.field-error {
  color: var(--accent-coral);
  font-size: var(--text-sm);
  margin-top: var(--space-1);
}

.form-success {
  background: rgba(34, 197, 94, 0.1);
  color: rgb(22, 163, 74);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
}

.form-error {
  background: rgba(239, 68, 68, 0.1);
  color: rgb(185, 28, 28);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  margin-top: var(--space-4);
}

/* =================================================================
   CONTACT INFO
   ================================================================= */

.contact-info-container {
  display: grid;
  gap: var(--space-6);
}

.contact-item-large {
  display: flex;
  gap: var(--space-4);
  align-items: flex-start;
  margin-bottom: var(--space-6);
}

.contact-icon-large {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-details h4 {
  margin-bottom: var(--space-2);
  font-weight: 600;
}

.contact-title {
  color: var(--text-primary);
}

.contact-text {
  color: var(--text-secondary);
  line-height: 1.6;
}

.contact-link {
  color: var(--primary-green);
  text-decoration: none;
}

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

.contact-note {
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

/* Opening Hours */
.hours-list {
  margin-bottom: var(--space-4);
}

.hours-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-3) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.day {
  font-weight: 500;
}

.time {
  color: var(--text-secondary);
}

.hours-note {
  padding-top: var(--space-4);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Emergency Contact */
.emergency-contact {
  background: linear-gradient(135deg, var(--accent-coral), #ff8a8a);
  color: white;
  text-align: center;
}

.emergency-contact h3 {
  color: white;
}

/* =================================================================
   SERVICE AREA
   ================================================================= */

.area-grid {
  display: grid;
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.area-column {
  background: var(--surface-primary);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
}

.area-items {
  list-style: none;
}

.area-items li {
  padding: var(--space-2) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.area-items li:last-child {
  border-bottom: none;
}

.area-note {
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.map-placeholder {
  position: relative;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.map-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.map-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(212, 175, 55, 0.9);
  color: var(--primary-dark);
  padding: var(--space-3);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-marker {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.7; }
  100% { transform: scale(1); opacity: 1; }
}

/* =================================================================
   FAQ SECTION
   ================================================================= */

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  margin-top: var(--space-12);
}

.faq-item {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--accent-gold);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6);
  cursor: pointer;
  background: var(--surface-primary);
  transition: background var(--transition-fast);
}

.faq-question:hover {
  background: var(--surface-secondary);
}

.faq-question h3 {
  margin: 0;
}

.faq-toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-secondary);
  transition: transform var(--transition-fast);
}

.faq-item.active .faq-toggle {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 var(--space-6);
  max-height: 0;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.faq-item.active .faq-answer {
  padding: 0 var(--space-6) var(--space-6);
  max-height: 200px;
}

/* =================================================================
   CTA SECTIONS
   ================================================================= */

.cta-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-green) 100%);
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" patternUnits="userSpaceOnUse" width="100" height="100"><circle cx="25" cy="25" r="0.5" fill="white" opacity="0.05"/><circle cx="75" cy="75" r="0.5" fill="white" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* =================================================================
   FOOTER
   ================================================================= */

.footer-modern {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: var(--space-20) 0 var(--space-8) 0;
}

.footer-content {
  display: grid;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: var(--space-4);
}

.footer-title {
  font-family: var(--font-display);
  color: var(--text-accent);
}

.footer-subtitle {
  color: var(--text-light);
  font-size: var(--text-lg);
}

.footer-text {
  color: var(--text-light-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-6);
}

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

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: var(--text-light-secondary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* Kontakt Links in Footer weiß */
.contact-info a {
  color: var(--text-light) !important;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-info a:hover {
  color: var(--text-accent) !important;
}

.social-links {
  display: flex;
  gap: var(--space-4);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--accent-gold);
  color: var(--primary-dark);
  transform: translateY(-2px);
}

.contact-info {
  display: grid;
  gap: var(--space-4);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
}

.contact-icon {
  font-size: var(--text-lg);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: var(--space-8);
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.legal-links {
  display: flex;
  gap: var(--space-6);
}

.legal-links a {
  color: var(--text-light-secondary);
  text-decoration: none;
  font-size: var(--text-sm);
  transition: color var(--transition-fast);
}

.legal-links a:hover {
  color: var(--text-accent);
}

/* =================================================================
   ANIMATIONS
   ================================================================= */

.animate-fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

.stagger-animation > * {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Stagger delays */
.stagger-animation > *:nth-child(1) { animation-delay: 0ms; }
.stagger-animation > *:nth-child(2) { animation-delay: 150ms; }
.stagger-animation > *:nth-child(3) { animation-delay: 300ms; }
.stagger-animation > *:nth-child(4) { animation-delay: 450ms; }
.stagger-animation > *:nth-child(5) { animation-delay: 600ms; }
.stagger-animation > *:nth-child(6) { animation-delay: 750ms; }

/* =================================================================
   RESPONSIVE DESIGN
   ================================================================= */

/* Tablet */
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
  
  .area-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .achievements-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .desktop-nav {
    display: flex;
  }
  
  .mobile-menu-toggle {
    display: none;
  }
  
  .col-lg-5 {
    flex: 0 0 41.666667%;
  }
  
  .col-lg-7 {
    flex: 0 0 58.333333%;
  }
  
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .values-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .process-steps {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .cta-actions {
    flex-wrap: nowrap;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .container {
    padding: 0 var(--space-8);
  }
  
  .section-padding {
    padding: var(--space-24) 0;
  }
}

/* =================================================================
   HORIZONTAL SCROLL PREVENTION
   ================================================================= */

/* Ensure no element causes horizontal scroll */
* {
  max-width: 100%;
}

/* Additional protection for common overflow elements */
.row, 
.grid,
.services-grid,
.values-grid,
.team-grid,
.pricing-grid,
.process-steps,
.achievements-stats,
.stats-grid,
.area-grid {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Ensure all content blocks stay within bounds */
.content-block,
.card-modern,
.service-card,
.value-card,
.team-member,
.pricing-card {
  max-width: 100%;
  overflow-wrap: break-word;
}