/* ========================================
   IMMOKOMPASS BERLIN - SOFT PASTEL DESIGN
   Mobile-First Responsive CSS
   ======================================== */

/* CSS RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.7;
  color: #4a4a4a;
  background: linear-gradient(135deg, #fef9f3 0%, #fff5f8 100%);
  overflow-x: hidden;
}

/* SOFT PASTEL COLOR PALETTE */
:root {
  --pastel-blue: #a8d8ea;
  --pastel-pink: #ffb6c1;
  --pastel-lavender: #d8bfd8;
  --pastel-mint: #b5e7a0;
  --pastel-peach: #ffd5b5;
  --pastel-cream: #fff5f0;
  --soft-gray: #6a6a6a;
  --dreamy-white: #ffffff;
  --shadow-soft: rgba(200, 180, 200, 0.15);
}

/* TYPOGRAPHY - SOFT & GENTLE */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.3;
  color: #5a5a5a;
  letter-spacing: 0.02em;
}

h1 {
  font-size: 32px;
  margin-bottom: 20px;
}

h2 {
  font-size: 28px;
  margin-bottom: 18px;
}

h3 {
  font-size: 22px;
  margin-bottom: 14px;
}

h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

p {
  margin-bottom: 16px;
  color: #6a6a6a;
}

a {
  color: #a8d8ea;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #8ec5d8;
  text-decoration: none;
}

ul, ol {
  margin-bottom: 16px;
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
  color: #6a6a6a;
}

strong {
  font-weight: 600;
  color: #5a5a5a;
}

/* CONTAINER & LAYOUT */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* MOBILE MENU TOGGLE BUTTON */
.mobile-menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #ffb6c1 0%, #d8bfd8 100%);
  border: none;
  border-radius: 50%;
  font-size: 24px;
  color: white;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(216, 191, 216, 0.3);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(216, 191, 216, 0.4);
}

@media (min-width: 769px) {
  .mobile-menu-toggle {
    display: none;
  }
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: linear-gradient(180deg, #fff5f8 0%, #fef9f3 100%);
  z-index: 1000;
  padding: 80px 30px 30px;
  box-shadow: -5px 0 30px rgba(200, 180, 200, 0.2);
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  overflow-y: auto;
}

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

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #ffb6c1 0%, #d8bfd8 100%);
  border: none;
  border-radius: 50%;
  font-size: 20px;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  transform: rotate(90deg);
  background: linear-gradient(135deg, #d8bfd8 0%, #ffb6c1 100%);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-nav a {
  display: block;
  padding: 14px 18px;
  color: #6a6a6a;
  font-size: 16px;
  font-weight: 500;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.5);
  margin-bottom: 8px;
}

.mobile-nav a:hover {
  background: linear-gradient(135deg, #ffb6c1 0%, #d8bfd8 100%);
  color: white;
  transform: translateX(8px);
  box-shadow: 0 4px 12px rgba(216, 191, 216, 0.3);
}

@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }
}

/* HEADER */
header {
  background: linear-gradient(135deg, #fff5f8 0%, #fef9f3 100%);
  padding: 20px 0;
  box-shadow: 0 2px 20px rgba(200, 180, 200, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.logo img {
  height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

/* MAIN NAVIGATION */
.main-nav {
  display: none;
}

@media (min-width: 769px) {
  .main-nav {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
  }
  
  .main-nav a {
    padding: 10px 16px;
    color: #6a6a6a;
    font-size: 15px;
    font-weight: 500;
    border-radius: 20px;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  .main-nav a:hover {
    background: linear-gradient(135deg, #ffb6c1 0%, #d8bfd8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(216, 191, 216, 0.3);
    transform: translateY(-2px);
  }
}

/* BUTTONS - DREAMY SOFT STYLE */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 30px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(200, 180, 200, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, #ffb6c1 0%, #d8bfd8 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffa0ae 0%, #c9a5c9 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(216, 191, 216, 0.4);
  color: white;
}

.btn-secondary {
  background: linear-gradient(135deg, #a8d8ea 0%, #b5e7a0 100%);
  color: white;
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #95c8da 0%, #a0d88d 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(168, 216, 234, 0.4);
  color: white;
}

/* HERO SECTION - DREAMY & INVITING */
.hero {
  padding: 80px 20px;
  background: linear-gradient(135deg, #fff5f8 0%, #fef9f3 50%, #f0f8ff 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(216, 191, 216, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(30px, -30px) rotate(120deg); }
  66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 36px;
  color: #5a5a5a;
  margin-bottom: 20px;
  line-height: 1.3;
}

.hero-subheadline {
  font-size: 18px;
  color: #6a6a6a;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  margin-bottom: 32px;
}

.trust-indicators {
  padding: 20px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(200, 180, 200, 0.1);
}

.trust-indicators p {
  margin: 0;
  color: #6a6a6a;
  font-size: 14px;
}

/* INTERNAL HERO */
.hero-internal {
  padding: 60px 20px 40px;
  background: linear-gradient(135deg, #fff5f8 0%, #fef9f3 100%);
  text-align: center;
}

.breadcrumbs {
  margin-bottom: 20px;
  font-size: 14px;
  color: #8a8a8a;
}

.breadcrumbs a {
  color: #a8d8ea;
}

.subheadline {
  font-size: 18px;
  color: #6a6a6a;
  margin-bottom: 16px;
}

.meta {
  font-size: 14px;
  color: #8a8a8a;
  font-style: italic;
}

/* PROBLEM-SOLUTION SECTION */
.problem-solution {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f8ff 0%, #fff5f8 100%);
}

.problem-solution h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #5a5a5a;
}

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

.problem-item {
  padding: 20px 24px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  border-left: 4px solid #ffb6c1;
  box-shadow: 0 4px 12px rgba(200, 180, 200, 0.1);
  transition: all 0.3s ease;
}

.problem-item:hover {
  transform: translateX(8px);
  box-shadow: 0 6px 20px rgba(216, 191, 216, 0.2);
}

.solution {
  text-align: center;
  padding: 40px 24px;
  background: linear-gradient(135deg, #ffb6c1 0%, #d8bfd8 100%);
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(216, 191, 216, 0.3);
}

.solution h3 {
  color: white;
  margin-bottom: 16px;
}

.value-prop {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

/* SERVICES OVERVIEW */
.services-overview {
  padding: 60px 20px;
  background: linear-gradient(135deg, #fff5f8 0%, #fef9f3 100%);
}

.section-intro {
  text-align: center;
  font-size: 18px;
  color: #6a6a6a;
  margin-bottom: 40px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.service-card {
  flex: 1 1 100%;
  padding: 32px 24px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(200, 180, 200, 0.15);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(216, 191, 216, 0.25);
  border-color: #d8bfd8;
}

.service-card h3 {
  color: #5a5a5a;
  margin-bottom: 12px;
}

.service-card .price {
  font-size: 24px;
  font-weight: 700;
  color: #ffb6c1;
  margin-bottom: 16px;
}

.service-card.highlight {
  background: linear-gradient(135deg, #fff5f8 0%, #f0f8ff 100%);
  border: 2px solid #ffb6c1;
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 14px;
  background: linear-gradient(135deg, #ffb6c1 0%, #d8bfd8 100%);
  color: white;
  font-size: 12px;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cta-center {
  text-align: center;
  margin-top: 32px;
}

/* PROCESS STEPS */
.process-steps {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f8ff 0%, #fff5f8 100%);
}

.steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.step {
  flex: 1 1 100%;
  padding: 28px 24px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(200, 180, 200, 0.1);
  position: relative;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(216, 191, 216, 0.2);
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #a8d8ea 0%, #b5e7a0 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(168, 216, 234, 0.3);
}

.step h3 {
  color: #5a5a5a;
  margin-bottom: 8px;
}

.step p {
  color: #6a6a6a;
  margin: 0;
}

/* LOCATION HIGHLIGHT */
.location-highlight {
  padding: 60px 20px;
  background: linear-gradient(135deg, #fff5f8 0%, #fef9f3 100%);
}

.districts-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.district-card {
  flex: 1 1 100%;
  padding: 32px 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(240, 248, 255, 0.9) 100%);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(200, 180, 200, 0.15);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.district-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(216, 191, 216, 0.25);
  border-color: #a8d8ea;
}

.district-card h3 {
  color: #5a5a5a;
  margin-bottom: 8px;
}

.district-card p {
  color: #8a8a8a;
  font-size: 14px;
  margin: 0;
}

/* TESTIMONIALS - HIGH CONTRAST FOR READABILITY */
.testimonials {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f8ff 0%, #fff5f8 100%);
}

.testimonial-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.testimonial-card {
  flex: 1 1 100%;
  padding: 32px 28px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(200, 180, 200, 0.15);
  border-left: 4px solid #ffb6c1;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(216, 191, 216, 0.25);
}

.testimonial-card p {
  color: #4a4a4a;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 16px;
  font-style: italic;
}

.testimonial-card .author {
  color: #6a6a6a;
  font-size: 14px;
  font-weight: 600;
  font-style: normal;
  margin: 0;
}

.stats {
  text-align: center;
  padding: 24px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
}

.stats p {
  color: #5a5a5a;
  font-weight: 600;
  margin: 0;
}

/* RESOURCES PREVIEW */
.resources-preview {
  padding: 60px 20px;
  background: linear-gradient(135deg, #fff5f8 0%, #fef9f3 100%);
}

.resources-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.resource-item {
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(200, 180, 200, 0.1);
  transition: all 0.3s ease;
  border-left: 4px solid #a8d8ea;
}

.resource-item:hover {
  transform: translateX(8px);
  box-shadow: 0 6px 25px rgba(168, 216, 234, 0.2);
}

.resource-item h3 {
  color: #5a5a5a;
  margin-bottom: 8px;
}

.resource-item p {
  color: #8a8a8a;
  font-size: 14px;
  margin: 0;
}

/* CTA BANNER */
.cta-banner {
  padding: 60px 20px;
  background: linear-gradient(135deg, #ffb6c1 0%, #d8bfd8 100%);
  text-align: center;
  box-shadow: 0 8px 30px rgba(216, 191, 216, 0.3);
}

.cta-banner h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-banner > p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 18px;
  margin-bottom: 24px;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.benefit-list li {
  color: white;
  margin-bottom: 12px;
  font-size: 16px;
}

.benefit-list li::before {
  content: '✓ ';
  font-weight: 700;
  margin-right: 8px;
}

.contact-info {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

/* CONTENT SECTIONS */
.content-section {
  padding: 40px 20px;
  margin-bottom: 40px;
}

.toc {
  padding: 28px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  margin-bottom: 40px;
  box-shadow: 0 4px 15px rgba(200, 180, 200, 0.1);
}

.toc h2 {
  color: #5a5a5a;
  margin-bottom: 20px;
  font-size: 22px;
}

.toc ul {
  list-style: none;
  padding: 0;
}

.toc li {
  margin-bottom: 12px;
}

.toc a {
  color: #a8d8ea;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.toc a:hover {
  color: #8ec5d8;
  transform: translateX(5px);
}

.key-points, .info-box, .warning-box, .expert-tip {
  padding: 24px;
  border-radius: 16px;
  margin: 24px 0;
  box-shadow: 0 4px 15px rgba(200, 180, 200, 0.1);
}

.key-points {
  background: linear-gradient(135deg, #f0f8ff 0%, #fff5f8 100%);
  border-left: 4px solid #a8d8ea;
}

.info-box {
  background: linear-gradient(135deg, #fff5f8 0%, #fef9f3 100%);
  border-left: 4px solid #b5e7a0;
}

.warning-box {
  background: linear-gradient(135deg, #fff5f0 0%, #ffefd5 100%);
  border-left: 4px solid #ffd5b5;
}

.expert-tip {
  background: linear-gradient(135deg, #f5f0ff 0%, #fff0f5 100%);
  border-left: 4px solid #d8bfd8;
}

.timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 32px 0;
}

.phase, .milestone {
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  border-left: 4px solid #ffb6c1;
  box-shadow: 0 4px 15px rgba(200, 180, 200, 0.1);
  transition: all 0.3s ease;
}

.phase:hover, .milestone:hover {
  transform: translateX(8px);
  box-shadow: 0 6px 25px rgba(216, 191, 216, 0.2);
}

.checklist-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 32px 0;
}

.checklist-item {
  flex: 1 1 100%;
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(200, 180, 200, 0.1);
  transition: all 0.3s ease;
}

.checklist-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(216, 191, 216, 0.2);
}

/* DISTRICT COMPARISON */
.comparison-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin: 32px 0;
}

.district-item {
  flex: 1 1 100%;
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(200, 180, 200, 0.1);
  transition: all 0.3s ease;
}

.district-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(216, 191, 216, 0.2);
}

.district-item strong {
  display: block;
  color: #5a5a5a;
  font-size: 18px;
  margin-bottom: 8px;
}

.district-item p {
  color: #ffb6c1;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

/* DISTRICT DETAIL */
.district-detail {
  padding: 40px 20px;
  margin-bottom: 32px;
}

.features {
  padding: 24px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  margin: 24px 0;
  box-shadow: 0 4px 15px rgba(200, 180, 200, 0.1);
}

/* SERVICE DETAIL */
.service-detail {
  padding: 40px 20px;
  margin-bottom: 32px;
}

.price-highlight {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(135deg, #ffb6c1 0%, #d8bfd8 100%);
  color: white;
  font-size: 24px;
  font-weight: 700;
  border-radius: 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(216, 191, 216, 0.3);
}

.guarantee, .price-comparison {
  padding: 24px;
  background: linear-gradient(135deg, #f0f8ff 0%, #fff5f8 100%);
  border-radius: 16px;
  margin: 24px 0;
  text-align: center;
  box-shadow: 0 4px 15px rgba(200, 180, 200, 0.1);
}

/* CONTACT PAGE */
.contact-options {
  padding: 60px 20px;
  background: linear-gradient(135deg, #fff5f8 0%, #fef9f3 100%);
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.contact-option {
  flex: 1 1 100%;
  padding: 28px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(200, 180, 200, 0.1);
  transition: all 0.3s ease;
}

.contact-option:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(216, 191, 216, 0.2);
}

.contact-option h3 {
  color: #5a5a5a;
  margin-bottom: 12px;
}

.form-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 32px;
}

.form-placeholder {
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(200, 180, 200, 0.15);
}

.form-placeholder p {
  margin-bottom: 24px;
  padding: 14px;
  background: rgba(168, 216, 234, 0.1);
  border-radius: 8px;
  border: 1px solid rgba(168, 216, 234, 0.3);
}

/* THANK YOU PAGE */
.thank-you-hero {
  padding: 80px 20px;
  background: linear-gradient(135deg, #fff5f8 0%, #f0f8ff 100%);
  text-align: center;
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  margin: 32px auto;
  background: linear-gradient(135deg, #b5e7a0 0%, #a8d8ea 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: white;
  box-shadow: 0 8px 30px rgba(181, 231, 160, 0.3);
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from {
    transform: scale(0);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* LEGAL CONTENT */
.legal-content {
  padding: 40px 20px;
  background: white;
}

.content-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(200, 180, 200, 0.1);
}

.content-wrapper h2 {
  color: #5a5a5a;
  margin-top: 32px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid #d8bfd8;
}

.content-wrapper h3 {
  color: #6a6a6a;
  margin-top: 24px;
  margin-bottom: 12px;
}

/* STATS & OVERVIEW */
.overview {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f8ff 0%, #fff5f8 100%);
  text-align: center;
}

.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 32px;
}

.stat {
  flex: 1 1 100%;
  max-width: 200px;
  padding: 28px 24px;
  background: white;
  border-radius: 16px;
  font-size: 24px;
  font-weight: 700;
  color: #ffb6c1;
  box-shadow: 0 4px 15px rgba(200, 180, 200, 0.15);
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(216, 191, 216, 0.25);
}

/* FOOTER */
footer {
  padding: 60px 20px 30px;
  background: linear-gradient(135deg, #5a5a5a 0%, #4a4a4a 100%);
  color: rgba(255, 255, 255, 0.9);
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  flex: 1 1 100%;
}

.footer-col h4 {
  color: #ffb6c1;
  margin-bottom: 20px;
  font-size: 18px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  font-size: 14px;
}

.footer-col nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col nav a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-col nav a:hover {
  color: #ffb6c1;
  transform: translateX(5px);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin: 0;
}

/* COOKIE CONSENT BANNER */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: linear-gradient(135deg, #5a5a5a 0%, #4a4a4a 100%);
  padding: 24px 20px;
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-consent.show {
  transform: translateY(0);
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.cookie-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  text-align: center;
  line-height: 1.6;
}

.cookie-text p {
  color: #d8bfd8;
}
.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cookie-btn {
  padding: 12px 24px;
  border: none;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cookie-btn-accept {
  background: linear-gradient(135deg, #b5e7a0 0%, #a8d8ea 100%);
  color: white;
}

.cookie-btn-accept:hover {
  background: linear-gradient(135deg, #a0d88d 0%, #95c8da 100%);
  transform: translateY(-2px);
}

.cookie-btn-reject {
  background: rgba(255, 255, 255, 0.1);
  color: #a0d88d;
  border: 1px solid #a0d88d;
}

.cookie-btn-reject:hover {
  background: rgba(255, 255, 255, 0.2);
}

.cookie-btn-settings {
  background: transparent;
  color: #ffb6c1;
  border: 1px solid #ffb6c1;
}

.cookie-btn-settings:hover {
  background: rgba(255, 182, 193, 0.1);
}

/* COOKIE SETTINGS MODAL */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cookie-modal.show {
  opacity: 1;
  pointer-events: auto;
}

.cookie-modal-content {
  background: white;
  padding: 40px 32px;
  border-radius: 20px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.cookie-modal.show .cookie-modal-content {
  transform: scale(1);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid #d8bfd8;
}

.cookie-modal-header h2 {
  color: #5a5a5a;
  margin: 0;
}

.cookie-modal-close {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 182, 193, 0.1);
  border-radius: 50%;
  font-size: 20px;
  color: #ffb6c1;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-close:hover {
  background: #ffb6c1;
  color: white;
  transform: rotate(90deg);
}

.cookie-category {
  padding: 20px;
  margin-bottom: 16px;
  background: rgba(168, 216, 234, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(168, 216, 234, 0.2);
}

.cookie-category h3 {
  color: #5a5a5a;
  margin-bottom: 8px;
  font-size: 16px;
}

.cookie-category p {
  color: #6a6a6a;
  font-size: 14px;
  margin-bottom: 12px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cookie-toggle input[type="checkbox"] {
  width: 50px;
  height: 26px;
  appearance: none;
  background: #ddd;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  transition: background 0.3s ease;
}

.cookie-toggle input[type="checkbox"]:checked {
  background: linear-gradient(135deg, #b5e7a0 0%, #a8d8ea 100%);
}

.cookie-toggle input[type="checkbox"]::before {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  top: 2px;
  left: 2px;
  transition: left 0.3s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.cookie-toggle input[type="checkbox"]:checked::before {
  left: 26px;
}

.cookie-toggle input[type="checkbox"]:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.cookie-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  flex-wrap: wrap;
}

/* RESPONSIVE DESIGN - TABLET */
@media (min-width: 600px) {
  h1 { font-size: 42px; }
  h2 { font-size: 32px; }
  h3 { font-size: 24px; }
  
  .hero h1 { font-size: 48px; }
  .hero-subheadline { font-size: 20px; }
  
  .hero-cta {
    flex-direction: row;
    justify-content: center;
  }
  
  .service-grid .service-card {
    flex: 1 1 calc(50% - 12px);
  }
  
  .steps-grid .step {
    flex: 1 1 calc(50% - 12px);
  }
  
  .districts-grid .district-card {
    flex: 1 1 calc(50% - 10px);
  }
  
  .testimonial-grid .testimonial-card {
    flex: 1 1 calc(50% - 12px);
  }
  
  .district-item {
    flex: 1 1 calc(50% - 10px);
  }
  
  .checklist-item {
    flex: 1 1 calc(50% - 10px);
  }
  
  .contact-option {
    flex: 1 1 calc(50% - 12px);
  }
  
  .cookie-content {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .cookie-text {
    text-align: left;
    flex: 1;
  }
  
  .cookie-buttons {
    flex-shrink: 0;
  }
}

/* RESPONSIVE DESIGN - DESKTOP */
@media (min-width: 992px) {
  h1 { font-size: 48px; }
  h2 { font-size: 36px; }
  h3 { font-size: 26px; }
  
  .hero { padding: 120px 20px; }
  .hero h1 { font-size: 56px; }
  .hero-subheadline { font-size: 22px; }
  
  .section { padding: 80px 20px; }
  
  .service-grid .service-card {
    flex: 1 1 calc(33.333% - 16px);
  }
  
  .steps-grid .step {
    flex: 1 1 calc(33.333% - 16px);
  }
  
  .districts-grid .district-card {
    flex: 1 1 calc(33.333% - 14px);
  }
  
  .testimonial-grid .testimonial-card {
    flex: 1 1 calc(33.333% - 16px);
  }
  
  .district-item {
    flex: 1 1 calc(33.333% - 14px);
  }
  
  .checklist-item {
    flex: 1 1 calc(50% - 10px);
  }
  
  .contact-option {
    flex: 1 1 calc(25% - 18px);
  }
  
  .footer-col {
    flex: 1 1 calc(33.333% - 27px);
  }
}

/* PRINT STYLES */
@media print {
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-consent,
  .cookie-modal,
  header,
  footer {
    display: none !important;
  }
  
  body {
    background: white;
  }
  
  .hero,
  .section,
  .content-section {
    page-break-inside: avoid;
  }
}

/* ACCESSIBILITY IMPROVEMENTS */
.btn:focus,
a:focus,
button:focus {
  outline: 3px solid #a8d8ea;
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

/* UTILITY CLASSES */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

.p-1 { padding: 8px; }
.p-2 { padding: 16px; }
.p-3 { padding: 24px; }
.p-4 { padding: 32px; }

/* LOADING STATES */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(216, 191, 216, 0.3);
  border-top-color: #d8bfd8;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 20px auto;
}

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