/* ===================================
   INDUSTRIAL MODERN CSS - Steady Stash Rechtsanwälte
   Design Style: Industrial Modern with Dark Colors
   =================================== */

/* 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', Arial, sans-serif;
  line-height: 1.6;
  color: #E0E0E0;
  background-color: #1A1A1A;
  background-image: linear-gradient(180deg, #1A1A1A 0%, #0F0F0F 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: #F5F5F5;
  margin-bottom: 16px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

h1 {
  font-size: 48px;
  letter-spacing: -1px;
}

h2 {
  font-size: 32px;
  border-left: 4px solid #D4AF37;
  padding-left: 16px;
  margin-bottom: 24px;
}

h3 {
  font-size: 24px;
  color: #D4AF37;
}

h4 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #B8B8B8;
}

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

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

a:hover {
  color: #FFD700;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

strong {
  color: #F5F5F5;
  font-weight: 600;
}

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

/* HEADER */
header {
  background: linear-gradient(135deg, #0D2840 0%, #154166 100%);
  border-bottom: 3px solid #D4AF37;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 0;
  z-index: 900;
  backdrop-filter: blur(10px);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  flex-wrap: wrap;
}

.logo img {
  height: 50px;
  width: auto;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

/* NAVIGATION */
.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  color: #E0E0E0;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 16px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  transition: all 0.3s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: #D4AF37;
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-nav a:hover {
  color: #D4AF37;
  background: rgba(212, 175, 55, 0.1);
}

.main-nav a:hover::after {
  width: 100%;
}

/* MOBILE MENU */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1100;
  background: linear-gradient(135deg, #154166 0%, #0D2840 100%);
  border: 2px solid #D4AF37;
  color: #D4AF37;
  font-size: 28px;
  width: 50px;
  height: 50px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background: linear-gradient(135deg, #0D2840 0%, #154166 100%);
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100vh;
  background: linear-gradient(180deg, #0D2840 0%, #1A1A1A 100%);
  z-index: 1000;
  transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.6);
  border-left: 3px solid #D4AF37;
}

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

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: transparent;
  border: 2px solid #D4AF37;
  color: #D4AF37;
  font-size: 32px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mobile-menu-close:hover {
  background: rgba(212, 175, 55, 0.2);
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  padding: 80px 30px 30px;
  gap: 8px;
}

.mobile-nav a {
  color: #E0E0E0;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  font-size: 18px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.02);
}

.mobile-nav a:hover {
  background: rgba(212, 175, 55, 0.15);
  color: #D4AF37;
  padding-left: 30px;
  border-left: 4px solid #D4AF37;
}

/* HERO SECTIONS */
.hero {
  background: linear-gradient(135deg, #0D2840 0%, #1A1A1A 50%, #0F0F0F 100%);
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    repeating-linear-gradient(90deg, rgba(212, 175, 55, 0.03) 0px, transparent 1px, transparent 40px, rgba(212, 175, 55, 0.03) 41px),
    repeating-linear-gradient(0deg, rgba(212, 175, 55, 0.03) 0px, transparent 1px, transparent 40px, rgba(212, 175, 55, 0.03) 41px);
  pointer-events: none;
}

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

.hero h1 {
  color: #F5F5F5;
  margin-bottom: 24px;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
  font-size: 20px;
  color: #B8B8B8;
  margin-bottom: 32px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.trust-indicators {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.trust-indicators span {
  padding: 12px 24px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 4px;
  color: #D4AF37;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-internal {
  background: linear-gradient(135deg, #0D2840 0%, #1A1A1A 100%);
  padding: 60px 20px 40px;
  border-bottom: 3px solid #D4AF37;
}

.hero-internal-simple {
  background: linear-gradient(135deg, #0D2840 0%, #1A1A1A 100%);
  padding: 40px 20px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.5);
}

/* BREADCRUMB */
.breadcrumb {
  margin-bottom: 24px;
  font-size: 14px;
  color: #808080;
}

.breadcrumb a {
  color: #D4AF37;
}

.breadcrumb span {
  color: #B8B8B8;
}

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
  color: #0D2840;
  border-color: #D4AF37;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FFD700 0%, #D4AF37 100%);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5), 0 6px 16px rgba(0, 0, 0, 0.4);
  color: #0D2840;
}

.btn-secondary {
  background: transparent;
  color: #D4AF37;
  border-color: #D4AF37;
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: #FFD700;
  color: #FFD700;
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), 0 6px 16px rgba(0, 0, 0, 0.4);
}

.btn-link {
  color: #D4AF37;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-link::after {
  content: '→';
  transition: transform 0.3s ease;
}

.btn-link:hover::after {
  transform: translateX(4px);
}

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

/* SECTIONS */
section {
  padding: 60px 20px;
  margin-bottom: 0;
}

.section-subtitle {
  text-align: center;
  font-size: 18px;
  color: #B8B8B8;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.text-section {
  max-width: 900px;
  margin: 0 auto 40px;
}

/* SERVICE/FEATURE GRIDS */
.services-grid,
.features-grid,
.values-grid,
.benefits-grid,
.format-grid,
.pricing-grid,
.team-grid,
.trust-elements-grid,
.contact-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.service-card,
.feature,
.value-card,
.benefit-item,
.format-card,
.price-card,
.team-member-card,
.trust-element,
.contact-card {
  flex: 1 1 300px;
  background: linear-gradient(135deg, #1F1F1F 0%, #151515 100%);
  padding: 32px;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.service-card::before,
.feature::before,
.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #D4AF37 0%, transparent 100%);
}

.service-card:hover,
.feature:hover,
.value-card:hover,
.benefit-item:hover,
.format-card:hover,
.team-member-card:hover,
.contact-card:hover {
  transform: translateY(-4px);
  border-color: #D4AF37;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.3), 0 8px 24px rgba(0, 0, 0, 0.5);
}

.service-card img,
.feature img,
.value-card img,
.benefit-item img {
  width: 60px;
  height: 60px;
  filter: brightness(0) saturate(100%) invert(76%) sepia(51%) saturate(456%) hue-rotate(3deg) brightness(94%) contrast(87%);
}

.price,
.price-display {
  color: #D4AF37;
  font-size: 24px;
  font-weight: 700;
  margin: 16px 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* TESTIMONIALS */
.testimonials {
  background: linear-gradient(135deg, #0D2840 0%, #1A1A1A 100%);
  padding: 60px 20px;
}

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

.testimonial-card {
  flex: 1 1 450px;
  background: rgba(255, 255, 255, 0.05);
  padding: 32px;
  border-radius: 8px;
  border-left: 4px solid #D4AF37;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonial-card p {
  font-style: italic;
  color: #E0E0E0;
  font-size: 16px;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding-top: 16px;
  margin-top: 8px;
}

.testimonial-author strong {
  color: #D4AF37;
  font-size: 16px;
}

.testimonial-author span {
  color: #B8B8B8;
  font-size: 14px;
}

.trust-badge {
  text-align: center;
  color: #D4AF37;
  font-weight: 600;
  font-size: 18px;
  margin-top: 24px;
}

/* LISTS */
ul {
  list-style: none;
  margin-bottom: 24px;
}

ul li {
  padding-left: 32px;
  margin-bottom: 12px;
  position: relative;
  color: #C0C0C0;
}

ul li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: #D4AF37;
  font-weight: bold;
  font-size: 18px;
}

.benefits-list li::before,
.approach-list li::before,
.subcategories-list li::before,
.certification-list li::before {
  content: '✓';
  color: #D4AF37;
}

/* SERVICE DETAIL */
.service-detail {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 60px 20px;
}

.service-content {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.service-icon {
  width: 80px;
  height: 80px;
  filter: brightness(0) saturate(100%) invert(76%) sepia(51%) saturate(456%) hue-rotate(3deg) brightness(94%) contrast(87%);
}

/* PROCESS STEPS */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 4px solid #D4AF37;
  border-radius: 4px;
}

.step-number {
  min-width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
  color: #0D2840;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

/* TEAM MEMBERS */
.member-photo img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  border: 2px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 16px;
}

.member-title {
  color: #D4AF37;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.member-specialization {
  color: #B8B8B8;
  font-size: 14px;
  margin-bottom: 16px;
}

.member-email {
  color: #D4AF37;
  font-size: 14px;
  margin-top: auto;
}

/* CONTACT INFO */
.info-block {
  margin-bottom: 32px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid #D4AF37;
  border-radius: 4px;
}

.address,
.hours-display {
  font-size: 18px;
  color: #E0E0E0;
  margin: 16px 0;
  line-height: 1.8;
}

/* THANK YOU PAGE */
.thank-you-hero {
  padding: 80px 20px;
  text-align: center;
}

.success-content {
  max-width: 700px;
  margin: 0 auto;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 24px;
  filter: brightness(0) saturate(100%) invert(76%) sepia(51%) saturate(456%) hue-rotate(3deg) brightness(94%) contrast(87%);
}

/* FOOTER */
footer {
  background: linear-gradient(135deg, #0D2840 0%, #0A1F33 100%);
  color: #B8B8B8;
  padding: 60px 20px 20px;
  border-top: 3px solid #D4AF37;
  margin-top: 60px;
}

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

.footer-section {
  flex: 1 1 220px;
}

.footer-section h4 {
  color: #D4AF37;
  margin-bottom: 16px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-section ul {
  list-style: none;
  margin: 0;
}

.footer-section ul li {
  padding: 0;
  margin-bottom: 8px;
}

.footer-section ul li::before {
  display: none;
}

.footer-section a {
  color: #B8B8B8;
  transition: all 0.3s ease;
}

.footer-section a:hover {
  color: #D4AF37;
  padding-left: 8px;
}

.footer-logo {
  height: 45px;
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.footer-bottom {
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding-top: 24px;
  text-align: center;
  color: #808080;
  font-size: 14px;
}

/* COOKIE CONSENT BANNER */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #0D2840 0%, #1A1A1A 100%);
  border-top: 3px solid #D4AF37;
  padding: 24px;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.6);
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

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

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1 1 400px;
  color: #C0C0C0;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  padding: 10px 24px;
  font-size: 14px;
}

/* COOKIE MODAL */
.cookie-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 1001;
  padding: 20px;
  overflow-y: auto;
}

.cookie-modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.cookie-modal-content {
  background: linear-gradient(135deg, #1A1A1A 0%, #0F0F0F 100%);
  border: 2px solid #D4AF37;
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.7);
}

.cookie-modal h3 {
  margin-bottom: 24px;
}

.cookie-category {
  margin-bottom: 24px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid #D4AF37;
  border-radius: 4px;
}

.cookie-category h4 {
  margin-bottom: 8px;
}

.cookie-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
  background: #4A4A4A;
  border-radius: 13px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.toggle-switch.active {
  background: #D4AF37;
}

.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: #F5F5F5;
  border-radius: 50%;
  transition: left 0.3s ease;
}

.toggle-switch.active::after {
  left: 27px;
}

.cookie-modal-buttons {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  justify-content: flex-end;
}

/* MAP PLACEHOLDER */
.map-placeholder {
  background: rgba(255, 255, 255, 0.05);
  border: 2px dashed rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 80px 20px;
  text-align: center;
  color: #808080;
  margin-top: 24px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
  
  /* Hide desktop nav */
  .main-nav {
    display: none;
  }
  
  /* Show mobile menu toggle */
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-menu {
    display: block;
  }
  
  /* Hero */
  .hero {
    padding: 60px 20px;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  /* Grids */
  .services-grid,
  .features-grid,
  .values-grid,
  .benefits-grid,
  .format-grid,
  .pricing-grid,
  .team-grid,
  .trust-elements-grid {
    flex-direction: column;
  }
  
  .service-card,
  .feature,
  .value-card,
  .benefit-item,
  .format-card,
  .price-card,
  .team-member-card {
    flex: 1 1 100%;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 32px;
  }
  
  /* Cookie consent */
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-buttons .btn {
    width: 100%;
  }
  
  /* Sections */
  section {
    padding: 40px 20px;
  }
  
  /* Process steps */
  .step {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 28px; }
  h2 { font-size: 22px; }
  
  .mobile-menu {
    width: 100%;
  }
  
  .container {
    padding: 0 16px;
  }
  
  .btn {
    padding: 12px 24px;
    font-size: 14px;
  }
}

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

.hero-content,
.service-card,
.feature,
.testimonial-card {
  animation: fadeIn 0.6s ease-out;
}

/* UTILITY CLASSES */
.note,
.pricing-note,
.availability-note,
.duration-note,
.urgent-note,
.response-time,
.approach-note,
.recommendation {
  font-size: 14px;
  color: #B8B8B8;
  font-style: italic;
  margin-top: 12px;
}

.last-updated {
  color: #808080;
  font-size: 14px;
  margin-bottom: 24px;
}

/* LEGAL CONTENT */
.legal-content {
  background: rgba(255, 255, 255, 0.02);
  padding: 60px 20px;
}

.legal-content h2,
.legal-content h3 {
  margin-top: 32px;
}

/* ACCESSIBILITY */
:focus {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}

button:focus,
a:focus {
  outline: 2px solid #D4AF37;
  outline-offset: 2px;
}

/* PRINT STYLES */
@media print {
  header,
  footer,
  .mobile-menu-toggle,
  .cookie-consent,
  .btn {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}