#page {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

footer {
    background-color: white;
    color: black;
    min-height: 300px;
    border-radius: 10px;
    align-content: center;
    text-align: center;
    box-shadow: 0 50px 100px rgba(100, 100, 255, 5);
}

#general-background-color {
    background-color: white;
}

code {
    font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}

.tabs-color {
    background-color: white;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: #00b8d9;
    text-decoration: none;
}

p {
    color: inherit;
    text-decoration: none;
    font-size: 14pt;
    font-family: "Yu Gothic UI Light";
}

.App {
    text-align: center;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Nimmt die gesamte Breite des Fensters ein */
    background-color: white;
    box-shadow: 0 5px 100px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    transition: transform 0.5s ease;
    height: auto; /* Passt sich automatisch an den Inhalt an */
    min-height: 20px; /* Mindesthöhe, um Platz für kleine Inhalte zu garantieren */
    max-height: 56px; /* Optional: maximale Höhe, um das Layout nicht zu sprengen */
    display: flex;
    flex-direction: column; /* Stellt sicher, dass Kinder-Elemente gestapelt werden */
    justify-content: center; /* Zentriert die Inhalte vertikal */
}

.header.hidden {
    transform: translateY(-100%);
}

.header.visible {
    transform: translateY(0);
}

.header-text-size {
    font-size: 8pt; /* Passt sich an die Schriftgröße des Eltern-Elements an */
}

#enterprise-logo {
    height: 40px; /* Standardhöhe für das Logo */
    max-height: 80px; /* Maximale Höhe für größere Header */
    width: auto; /* Beibehaltung des Seitenverhältnisses */
}

#enterprise-logo-mobile {
    height: 55px; /* Standardhöhe für das Logo */
    max-height: 55px; /* Maximale Höhe für größere Header */
    width: auto; /* Beibehaltung des Seitenverhältnisses */
}

/* Allgemeines Styling */
/* BURGER-MENU */
.burger-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 56px;
    padding: 0 8px;
}

.burger-icon {
    font-size: 24px;
    background: none;
    color: black;
    border: none;
    cursor: pointer;
    z-index: 1100;
}

.burger-icon:hover {
    background: none;
    color: black;
}

.menu-links {
    position: fixed;
    top: 0;
    right: -300px; /* Start außerhalb des Bildschirms */
    width: 250px;
    height: 100vh;
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(0);
    transition: transform 0.3s ease, right 0.3s ease;
    z-index: 1000;
}

.menu-links.visible {
    right: 0; /* Menü erscheint */
}

.menu-links a {
    margin: 10px 0;
    text-decoration: none;
    color: black;
    font-size: 18px;
    transition: color 0.2s;
}

.menu-links a:hover {
    color: lightcyan;
}

/* LANGUAGE MENU MOBILE */

.language-menu-links-mobile {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    min-width: 160px;
}

.language-menu-links-mobile.visible {
    opacity: 1;
    visibility: visible;
}

.language-menu-links-mobile img {
    width: 45px;
    height: 45px;
    cursor: pointer;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 8px;
    border: 2px solid transparent;
}

.language-menu-links-mobile img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    border-color: #00e0ff;
}

/* MOBILE BURGER MENU - Sprachauswahl */
.mobile-lang-current {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: none;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px 14px;
    cursor: pointer;
    font-size: 16px;
}

.mobile-lang-current img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.mobile-lang-sub-panel {
    margin-top: 6px;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    animation: slideIn 0.2s ease;
}

.mobile-lang-option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    background: none;
    border: none;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 16px;
    text-align: left;
}

.mobile-lang-option:last-child {
    border-bottom: none;
}

.mobile-lang-option img {
    width: 28px;
    height: 28px;
    border-radius: 4px;
}

.mobile-lang-option.active {
    background-color: rgba(0, 224, 255, 0.08);
    font-weight: 600;
    color: #00c4e0;
}

.mobile-lang-option:hover {
    background-color: #f5f5f5;
}

/* LANGUAGE MENU DESKTOP */

.language-menu-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 120px;
}

.language-menu-links.visible {
    opacity: 1;
    visibility: visible;
}

.language-menu-links img {
    width: 35px;
    height: 35px;
    cursor: pointer;
    border-radius: 4px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 5px;
}

.language-menu-links img:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Home Component Styles */
.home-section {
  padding: 80px 0;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
  box-sizing: border-box;
  overflow: hidden;
  background: #06192b;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 280px;
  background: linear-gradient(to bottom, transparent, #06192b);
  pointer-events: none;
  z-index: 1;
}

#tsparticles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-content {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-text-container {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin: 0 0 1.5rem 0;
  line-height: 1.2;
  animation: fadeInDown 1s ease-out;
  padding: 0 10px;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  margin: 0 auto 2.5rem;
  font-weight: 300;
  line-height: 1.5;
  max-width: 800px;
  animation: fadeInUp 1s ease-out 0.3s both;
  padding: 0 10px;
}

.hero-cta {
  margin-top: 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background-color: #fff;
  color: #06192b;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary:hover {
  background-color: transparent;
  color: #fff;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
  }
  
  .btn-primary {
    padding: 10px 25px;
    font-size: 1rem;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #ff4081;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1.1rem;
  transition: background-color 0.3s;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: #f50057;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #333;
}

.section-subtitle {
  text-align: center;
  font-size: 1.125rem;
  line-height: 1.65;
  max-width: 820px;
  margin: -24px auto 48px;
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 768px) {
  .section-subtitle {
    font-size: 1rem;
    padding: 0 8px;
    margin: -16px auto 32px;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.service-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 30px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #00c4e0;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.portfolio-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.portfolio-content {
  padding: 20px;
}

.portfolio-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #333;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.contact-info h3,
.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #333;
}

.contact-info p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.bg-light {
  background-color: #f8f9fa;
}

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  #portfolio {
    padding: 80px 0 !important;
  }

  #portfolio .portfolio-cards-wrapper {
    gap: 30px !important;
  }

  #portfolio a {
    max-width: 100% !important;
  }
}

.language-switcher {
    display: flex;
    gap: 10px;
    margin-right: 40px;
    justify-content: center;
    align-items: center;
}

.language-switcher img {
    width: 30px;
    height: 30px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.language-switcher img:hover {
    transform: scale(1.1);
}

.highlighted {
    border: 2px solid #00e0ff;
    border-radius: 8px;
}

/* Animation beim Öffnen */
.menu-links.visible {
    animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(300px);
    }
    to {
        transform: translateX(0);
    }
}

/* Animation beim Schließen */
.menu-links:not(.visible) {
    animation: slideOut 0.3s ease forwards;
}

@keyframes slideOut {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(300px);
    }
}

/* Desktop Styling */
@media (min-width: 769px) {
    .burger-menu {
        display: none;
    }
}

.card-color {
    background-color: aliceblue;
    color: black;
    min-height: 300px;
    border-radius: 10px;
    align-content: center;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.card-color-white-border {
    background-color: aliceblue;
    color: black;
    min-height: 100px;
    border-radius: 10px;
    align-content: center;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.card {
    display: flex;
    flex-direction: row; /* Elemente nebeneinander anordnen */
    align-items: center; /* Vertikale Zentrierung */
    justify-content: space-between; /* Platz zwischen den Elementen aufteilen */
    width: 100%; /* Nimmt die gesamte Breite des Headers ein */
}

.card img {
    max-height: 100%; /* Passt die Bildgröße an die Header-Höhe an */
    height: auto; /* Behält das Seitenverhältnis des Logos bei */
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; /* Inhalte umbrechen, wenn der Platz nicht ausreicht */
    align-items: center;
    justify-content: space-between;
}

/* Services Section Styling */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  height: 280px;
  perspective: 1000px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.service-card.expanded {
  height: auto;
  min-height: 400px;
  z-index: 10;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.service-card.expanded .service-card-inner {
  transform: rotateY(180deg);
}

.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  padding: 2.5rem 2rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-card-back {
  transform: rotateY(180deg);
  overflow-y: auto;
  text-align: left;
}

.service-icon {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-card h3 {
  color: #2c3e50;
  font-size: 1.5rem;
  margin: 0 0 1rem 0;
  font-weight: 600;
}

.short-description {
  color: #7f8c8d;
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.expand-button {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00e0ff;
  font-weight: 500;
  margin-top: auto;
  transition: color 0.3s ease;
}

.expand-button .arrow {
  margin-left: 0.5rem;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.service-card:hover .expand-button {
  color: #00c8e6;
}

.service-card:hover .expand-button .arrow {
  transform: translateX(5px);
}

.description {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-align: justify;
}

.service-card-back {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  width: 100%;
}

.features li {
  padding: 0.5rem 0;
  color: #555;
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}

.features li span {
  color: #00e0ff;
  margin-right: 0.75rem;
  font-weight: bold;
}

.close-button {
  margin-top: auto;
  padding: 0.75rem 1.5rem;
  background-color: #f8f9fa;
  border-radius: 30px;
  color: #00e0ff;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.close-button:hover {
  background-color: #e9ecef;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .services-grid {
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .services-grid {
      grid-template-columns: 1fr;
      max-width: 500px;
  }
  
  .service-card {
      height: 260px;
  }
  
  .service-card.expanded {
      min-height: 380px;
  }
}

/* Animation for the flip effect */
@keyframes flipInY {
  from {
      transform: perspective(400px) rotate3d(0, 1, 0, 90deg);
      opacity: 0;
  }
  to {
      transform: perspective(400px);
      opacity: 1;
  }
}

.service-card {
  animation: flipInY 0.6s ease-out;
}

/* --- Services performance overrides --- */
.service-card {
  animation: none !important;
  perspective: initial !important;
  height: auto !important;
}
.service-card .service-icon {
  transition: none !important;
}
.service-card:hover .service-icon {
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .service-card { transition: none; }
}

/* Simple details section shown only when expanded (rendered by React) */
.service-details {
  margin-top: 12px;
}

/* Ensure grid stays efficient */
.services-grid {
  gap: 24px;
}

/* --- Service Modal (dark theme, matches section) --- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 10, 20, 0.72);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(920px, 94vw);
  max-height: 86vh;
  background: linear-gradient(180deg, #0a2034 0%, #122d44 100%);
  color: #f8fafd;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.modal-title {
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-title .service-icon {
  font-size: 1.6rem;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 224, 255, 0.16);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.modal-title h3 {
  margin: 0;
  font-size: 1.25rem;
  color: #ffffff;
  font-weight: 700;
}

.modal-body {
  padding: 24px 28px;
  overflow: auto;
}

.modal-body .description {
  color: rgba(248, 250, 253, 0.88);
  line-height: 1.65;
  font-size: 1.02rem;
  margin: 0;
  text-align: left;
}

.modal-footer-wizard {
  padding: 12px 20px 14px;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(6, 25, 43, 0.45);
  display: flex;
  align-items: center;
  gap: 14px;
}

.modal-footer-wizard .btn {
  font-weight: 600;
  border-radius: 10px;
  padding: 9px 16px;
  font-size: 0.95rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.modal-footer-wizard .btn-primary {
  background: #00e0ff;
  color: #06192b;
  border: 1px solid #00e0ff;
}
.modal-footer-wizard .btn-primary:hover { background: #1ee9ff; }
.modal-footer-wizard .btn-primary:active { transform: translateY(1px); }
.modal-footer-wizard .btn-secondary {
  background: transparent;
  color: #00e0ff;
  border: 1px solid rgba(0, 224, 255, 0.45);
}
.modal-footer-wizard .btn-secondary:hover {
  background: rgba(0, 224, 255, 0.1);
  border-color: #00e0ff;
}
.modal-footer-wizard .btn[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

.modal-timeline-container {
  position: relative;
  flex: 1 1 auto;
  height: 52px;
  margin: 0 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.timeline-line {
  position: absolute;
  top: 7px;
  left: 6px;
  right: 6px;
  height: 2px;
  background-color: rgba(255,255,255,0.12);
  z-index: 0;
}

.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 1;
  flex: 1;
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.15);
  border: 2px solid transparent;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.timeline-item.completed .timeline-dot {
  background-color: #00e0ff;
  border-color: #00e0ff;
}

.timeline-item.active .timeline-dot {
  background-color: #00e0ff;
  border-color: #ffffff;
  transform: scale(1.18);
  box-shadow: 0 0 0 4px rgba(0, 224, 255, 0.22);
}

.timeline-label {
  font-size: 12px;
  color: rgba(248, 250, 253, 0.6);
  margin-top: 8px;
  text-align: center;
  max-width: 110px;
  line-height: 1.25;
}

.timeline-item.active .timeline-label {
  font-weight: 700;
  color: #00e0ff;
}

.feature-details h4 {
  margin-top: 0;
  color: #ffffff;
}

.feature-title {
  text-align: left;
  font-size: 1.3rem;
  margin: 0 0 12px 0;
  color: #ffffff;
  font-weight: 700;
}
.feature-text {
  text-align: left;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(248, 250, 253, 0.85);
}

.modal-content-anim {
  animation: fadeSlideIn 200ms ease;
}
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .modal-content-anim { animation: none; }
}

.modal-close {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: rgba(248,250,253,0.7);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.modal-close:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.3);
}

/* --- Mobile Modal (full-screen, single dark surface) --- */
.modal-mobile {
  width: 100vw !important;
  height: 100vh !important;
  max-height: 100vh !important;
  border-radius: 0 !important;
  margin: 0 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #06192b 0%, #122d44 100%);
  color: #f8fafd;
  border: none;
}

.modal-mobile .modal-header {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: transparent;
  box-shadow: none;
}

.modal-mobile .modal-title h3 {
  font-size: 1.15rem;
  margin: 0;
  color: #ffffff;
  font-weight: 700;
}

.modal-mobile .modal-title .service-icon {
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
}

.modal-mobile .modal-close {
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(248,250,253,0.85);
  font-weight: 400;
}
.modal-mobile .modal-close:hover {
  background: rgba(255,255,255,0.1);
  color: #ffffff;
  border-color: rgba(255,255,255,0.2);
  transform: none;
  box-shadow: none;
}

.mobile-progress-header {
  padding: 12px 18px 14px;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  box-shadow: none;
}

.mobile-progress-bar {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 8px;
  border: none;
}

.mobile-progress-fill {
  height: 100%;
  background: #00e0ff;
  border-radius: 2px;
  transition: width 0.3s ease;
  box-shadow: none;
}

.mobile-step-counter {
  font-size: 0.78rem;
  color: rgba(248,250,253,0.55);
  text-align: center;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: none;
}

.modal-mobile .modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 20px;
  -webkit-overflow-scrolling: touch;
  background: transparent;
}

.modal-mobile .description {
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(248,250,253,0.88);
  margin: 0;
  text-align: left;
  text-shadow: none;
}

.modal-mobile .feature-details {
  padding: 0;
}

.modal-mobile .feature-title {
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  text-shadow: none;
}

.modal-mobile .feature-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(248,250,253,0.85);
  text-align: left;
  text-shadow: none;
}

/* Feature pills (overview) */
.mobile-features-preview {
  margin-top: 24px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.mobile-features-preview h4 {
  color: rgba(248,250,253,0.55);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 12px 0;
  text-align: left;
  text-shadow: none;
}

.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  color: #f8fafd;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
  -webkit-tap-highlight-color: transparent;
}

.feature-pill:hover,
.feature-pill:focus-visible {
  background: rgba(0, 224, 255, 0.12);
  border-color: rgba(0, 224, 255, 0.45);
  outline: none;
}

.feature-pill:active {
  transform: scale(0.97);
}

.feature-pill-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(0, 224, 255, 0.18);
  color: #00e0ff;
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
}

.feature-pill-text {
  line-height: 1.2;
}

/* Swipe hint */
.mobile-swipe-hint {
  margin-top: 22px;
  text-align: center;
  padding: 8px 12px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.mobile-swipe-hint--overview {
  margin-top: 26px;
  padding-top: 14px;
  border-top: 1px dashed rgba(255,255,255,0.08);
}

.mobile-swipe-hint span {
  color: rgba(248,250,253,0.5);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: none;
}

/* Slim footer */
.mobile-footer {
  padding: 12px 16px 14px !important;
  background: rgba(6,25,43,0.6);
  border-top: 1px solid rgba(255,255,255,0.08);
  box-shadow: none;
}

.mobile-navigation {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  width: 100%;
  flex: 1;
}

.mobile-nav-back {
  justify-self: start;
}

.mobile-nav-next,
.mobile-nav-done {
  justify-self: end;
}

.mobile-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  background: #00e0ff;
  color: #06192b;
  border: none;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, opacity 0.15s ease;
  min-width: 88px;
  justify-content: center;
  box-shadow: none;
  text-shadow: none;
}

.mobile-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: rgba(255,255,255,0.08);
  color: rgba(248,250,253,0.5);
}

.mobile-nav-btn:not(:disabled):active {
  transform: scale(0.96);
}

.mobile-nav-back {
  background: transparent;
  color: #f8fafd;
  border: 1px solid rgba(255,255,255,0.18);
}
.mobile-nav-back:not(:disabled):hover {
  background: rgba(255,255,255,0.06);
}

.mobile-nav-done {
  background: #34d399;
  color: #06192b;
}

.nav-icon {
  font-size: 1rem;
  font-weight: 700;
}

.nav-text {
  font-size: 0.92rem;
  font-weight: 600;
}

.mobile-dots-indicator {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 0;
}

.mobile-dots-indicator .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  border: none;
}

.mobile-dots-indicator .dot.active {
  background: #00e0ff;
  transform: scale(1.5);
  box-shadow: none;
  border: none;
}

.mobile-dots-indicator .dot.completed {
  background: rgba(0, 224, 255, 0.5);
  transform: none;
  box-shadow: none;
}

.mobile-nav-btn:not(:disabled):hover {
  background: #1ee9ff;
  transform: none;
  box-shadow: none;
}

.mobile-dots-indicator .dot:hover {
  background: rgba(255,255,255,0.35);
  transform: none;
}

/* AGB Component Styles */
.agb-container {
  min-height: 100vh;
  background: #ffffff;
}

.agb-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 2px solid #dee2e6;
}

.agb-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #06192b;
  margin-bottom: 20px;
  text-shadow: none;
  line-height: 1.2;
}

.agb-subtitle {
  font-size: 1.2rem;
  color: #495057;
  opacity: 1;
  font-weight: 500;
}

.agb-content {
  padding: 60px 20px;
  max-width: 1200px;
}

.agb-section {
  margin-bottom: 80px;
}

.agb-card {
  background: #ffffff;
  border-radius: 16px;
  margin-bottom: 30px;
  border: 2px solid #e9ecef;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.agb-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: #00e0ff;
}

.agb-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 30px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #dee2e6;
}

.agb-icon {
  font-size: 1.8rem;
  filter: none;
}

.agb-card-header h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #06192b;
  margin: 0;
  text-shadow: none;
}

.agb-card-header h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #06192b;
  margin: 0;
  text-shadow: none;
}

.agb-card-content {
  padding: 25px 30px 30px;
}

.agb-card-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #495057;
  margin: 0;
  text-align: justify;
  text-shadow: none;
}

.agb-customer-info {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 2px solid #dee2e6;
}

.agb-info-header {
  text-align: center;
  margin-bottom: 50px;
}

.agb-info-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #06192b;
  margin: 0;
  text-shadow: none;
}

.agb-info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.agb-info-card {
  background: #ffffff;
  border-radius: 16px;
  border: 2px solid #e9ecef;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.agb-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: #00e0ff;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
  .agb-hero {
    padding: 60px 0 40px;
  }
  
  .agb-title {
    font-size: 1.8rem;
    padding: 0 20px;
  }
  
  .agb-subtitle {
    font-size: 1rem;
    padding: 0 20px;
  }
  
  .agb-content {
    padding: 40px 15px;
  }
  
  .agb-card-header {
    padding: 20px 20px 15px;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .agb-card-content {
    padding: 20px;
  }
  
  .agb-info-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .agb-info-title {
    font-size: 1.6rem;
    padding: 0 20px;
  }
}

/* Datenschutz Component Styles */
.datenschutz-container {
  min-height: 100vh;
  background: #ffffff;
}

.datenschutz-hero {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 2px solid #dee2e6;
}

.datenschutz-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #06192b;
  margin-bottom: 20px;
  text-shadow: none;
  line-height: 1.2;
}

.datenschutz-subtitle {
  font-size: 1.2rem;
  color: #495057;
  opacity: 1;
  font-weight: 500;
}

.datenschutz-content {
  padding: 60px 20px;
  max-width: 1200px;
}

.datenschutz-intro-card,
.datenschutz-card {
  background: #ffffff;
  border-radius: 16px;
  margin-bottom: 30px;
  border: 2px solid #e9ecef;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  overflow: hidden;
}

.datenschutz-intro-card:hover,
.datenschutz-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-color: #00e0ff;
}

.datenschutz-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 30px 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #dee2e6;
}

.datenschutz-icon {
  font-size: 1.8rem;
  filter: none;
}

.datenschutz-card-header h2 {
  font-size: 1.4rem;
  font-weight: 600;
  color: #06192b;
  margin: 0;
  text-shadow: none;
}

.datenschutz-card-content {
  padding: 25px 30px 30px;
}

.datenschutz-card-content p {
  font-size: 1rem;
  line-height: 1.7;
  color: #495057;
  margin: 0 0 15px 0;
  text-align: justify;
  text-shadow: none;
}

.datenschutz-card-content p:last-child {
  margin-bottom: 0;
}

.data-list {
  margin: 15px 0;
  padding-left: 20px;
}

.data-list li {
  font-size: 1rem;
  line-height: 1.7;
  color: #495057;
  margin-bottom: 10px;
  text-align: justify;
}

.contact-info {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #00e0ff;
  margin-top: 15px;
  font-size: 1rem;
  line-height: 1.6;
  color: #495057;
}

.contact-info strong {
  color: #06192b;
  font-size: 1.1rem;
}

/* Mobile Responsive Design for Datenschutz */
@media (max-width: 768px) {
  .datenschutz-hero {
    padding: 60px 0 40px;
  }
  
  .datenschutz-title {
    font-size: 1.8rem;
    padding: 0 20px;
  }
  
  .datenschutz-subtitle {
    font-size: 1rem;
    padding: 0 20px;
  }
  
  .datenschutz-content {
    padding: 40px 15px;
  }
  
  .datenschutz-card-header {
    padding: 20px 20px 15px;
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .datenschutz-card-content {
    padding: 20px;
  }
  
  .contact-info {
    padding: 15px;
  }
}

/* Accessibility improvements for mobile */
@media (max-width: 480px) {
  .modal-header, .modal-body, .modal-footer-wizard { 
    padding-left: 14px; 
    padding-right: 14px; 
  }
  .modal-timeline-container { 
    padding: 20px 15px; 
  }
  .timeline-label { 
    font-size: 10px; 
    max-width: 60px; 
  }
  
  .mobile-nav-btn {
    padding: 10px 12px;
    min-width: 70px;
  }
  
  .nav-text {
    font-size: 0.8rem;
  }
  
  .mobile-features-preview {
    padding: 15px;
  }
  
  .feature-preview-item {
    font-size: 0.9rem;
  }
}

/* ── Modern Contact Section ─────────────────────────────────── */
.modern-contact-section {
  position: relative;
  padding: 96px 0 120px;
  background:
    radial-gradient(60% 60% at 80% 20%, rgba(0, 224, 255, 0.07) 0%, transparent 60%),
    radial-gradient(50% 60% at 10% 80%, rgba(26, 112, 144, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, #06192b 0%, #04111e 100%);
  overflow: hidden;
  color: #e8f1f8;
}

.contact-bg-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

.contact-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(0, 224, 255, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(6, 25, 43, 0.35) 0%, rgba(4, 17, 30, 0.85) 100%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.contact-header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.contact-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 224, 255, 0.08);
  border: 1px solid rgba(0, 224, 255, 0.25);
  color: #6ee9ff;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.contact-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00e0ff;
  box-shadow: 0 0 10px #00e0ff, 0 0 24px #00e0ff66;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.35); opacity: 0.6; }
}

.contact-main-title {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  margin: 0 0 18px;
  line-height: 1.1;
  background: linear-gradient(90deg, #ffffff 0%, #00e0ff 60%, #00a8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.01em;
}

.contact-subtitle {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: rgba(232, 241, 248, 0.78);
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

/* ── Quick actions ──────────────────────────────────────────── */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto 48px;
}

.quick-action {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(140deg, rgba(17, 43, 70, 0.7) 0%, rgba(6, 25, 43, 0.7) 100%);
  border: 1px solid rgba(0, 224, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none;
  color: #e8f1f8;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  position: relative;
  overflow: hidden;
}

.quick-action::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 40%, rgba(0, 224, 255, 0.14) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.7s ease;
}

.quick-action:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 224, 255, 0.55);
  box-shadow: 0 12px 30px rgba(0, 224, 255, 0.15), 0 0 0 1px rgba(0, 224, 255, 0.25) inset;
  color: #ffffff;
}

.quick-action:hover::before { transform: translateX(100%); }

.quick-action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.18) 0%, rgba(0, 168, 255, 0.08) 100%);
  border: 1px solid rgba(0, 224, 255, 0.3);
  color: #00e0ff;
  flex-shrink: 0;
  box-shadow: 0 0 14px rgba(0, 224, 255, 0.18) inset;
}

.quick-action.quick-wa .quick-action-icon {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.22) 0%, rgba(37, 211, 102, 0.05) 100%);
  border-color: rgba(37, 211, 102, 0.4);
  color: #25d366;
}

.quick-action-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.quick-action-title {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(232, 241, 248, 0.6);
}

.quick-action-value {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-action-hint {
  font-size: 0.78rem;
  color: rgba(110, 233, 255, 0.75);
}

.quick-action-arrow {
  color: rgba(0, 224, 255, 0.5);
  transition: transform 0.25s ease, color 0.25s ease;
  display: flex;
  align-items: center;
}

.quick-action:hover .quick-action-arrow {
  transform: translateX(4px);
  color: #00e0ff;
}

/* ── Two-column layout ──────────────────────────────────────── */
.modern-contact-container {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}

/* ── Info card ──────────────────────────────────────────────── */
.contact-info-card,
.contact-form-card {
  background: linear-gradient(160deg, rgba(17, 43, 70, 0.85) 0%, rgba(6, 25, 43, 0.85) 100%);
  border: 1px solid rgba(0, 224, 255, 0.18);
  border-radius: 22px;
  padding: 36px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(0, 224, 255, 0.05) inset,
    0 0 60px rgba(0, 224, 255, 0.04) inset;
  color: #e8f1f8;
  position: relative;
}

.contact-info-card {
  position: sticky;
  top: 100px;
}

.info-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 224, 255, 0.15);
}

.info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.2) 0%, rgba(0, 168, 255, 0.06) 100%);
  border: 1px solid rgba(0, 224, 255, 0.3);
  color: #00e0ff;
  box-shadow: 0 0 18px rgba(0, 224, 255, 0.18);
}

.info-header h3 {
  font-size: 1.25rem;
  color: #ffffff;
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-style: normal;
  margin-bottom: 28px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-item:hover {
  background: rgba(0, 224, 255, 0.06);
  transform: translateX(3px);
}

.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00e0ff;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item span:last-child,
.contact-item a {
  color: rgba(232, 241, 248, 0.92);
  text-decoration: none;
  line-height: 1.55;
  font-weight: 500;
  font-size: 0.95rem;
}

.contact-item a:hover {
  color: #00e0ff;
}

.trust-list {
  list-style: none;
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(0, 224, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: rgba(232, 241, 248, 0.85);
  line-height: 1.45;
}

.trust-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00e0ff;
  flex-shrink: 0;
  margin-top: 1px;
  filter: drop-shadow(0 0 6px rgba(0, 224, 255, 0.4));
}

/* ── Form card ──────────────────────────────────────────────── */
.form-header {
  margin-bottom: 24px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0, 224, 255, 0.15);
}

.form-header h3 {
  font-size: 1.5rem;
  color: #ffffff;
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.form-lead {
  font-size: 0.95rem;
  color: rgba(232, 241, 248, 0.7);
  margin: 0 0 18px;
  line-height: 1.5;
}

.progress-container {
  display: flex;
  align-items: center;
  gap: 14px;
}

.progress-bar {
  flex: 1;
  height: 6px;
  background: rgba(0, 224, 255, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00a8ff 0%, #00e0ff 100%);
  border-radius: 999px;
  transition: width 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.6);
}

.progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: contactShimmer 2.4s linear infinite;
}

@keyframes contactShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.progress-text {
  font-size: 0.8rem;
  color: rgba(110, 233, 255, 0.85);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  min-width: 36px;
  text-align: right;
}

/* ── Alerts ─────────────────────────────────────────────────── */
.contact-alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.contact-alert-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-alert-success {
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #56e090;
}
.contact-alert-success .contact-alert-icon {
  background: rgba(37, 211, 102, 0.18);
  color: #56e090;
}

.contact-alert-error {
  background: rgba(245, 101, 101, 0.1);
  border: 1px solid rgba(245, 101, 101, 0.45);
  color: #ffabab;
}

/* ── Form ───────────────────────────────────────────────────── */
.modern-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 22px 18px 10px;
  border: 1px solid rgba(0, 224, 255, 0.22);
  border-radius: 12px;
  font-size: 1rem;
  background: rgba(4, 17, 30, 0.55);
  color: #ffffff;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  resize: none;
  font-family: inherit;
}

.form-field textarea {
  padding-top: 26px;
  min-height: 140px;
  line-height: 1.5;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: transparent;
}

.form-field label {
  position: absolute;
  left: 18px;
  top: 16px;
  font-size: 0.95rem;
  color: rgba(232, 241, 248, 0.55);
  font-weight: 400;
  pointer-events: none;
  transition: transform 0.18s ease, color 0.18s ease, font-size 0.18s ease;
  background: transparent;
}

.form-field input:focus + label,
.form-field textarea:focus + label,
.form-field.filled input + label,
.form-field.filled textarea + label,
.form-field input:not(:placeholder-shown) + label,
.form-field textarea:not(:placeholder-shown) + label {
  transform: translateY(-10px);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #6ee9ff;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: #00e0ff;
  background: rgba(4, 17, 30, 0.85);
  box-shadow:
    0 0 0 3px rgba(0, 224, 255, 0.15),
    0 0 24px rgba(0, 224, 255, 0.15);
}

.form-field.filled input,
.form-field.filled textarea {
  border-color: rgba(0, 224, 255, 0.45);
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: #f56565;
  box-shadow: 0 0 0 3px rgba(245, 101, 101, 0.12);
}

.error-message {
  color: #ffabab;
  font-size: 0.82rem;
  margin-top: 6px;
  font-weight: 500;
}

.message-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 6px;
  gap: 12px;
  min-height: 18px;
}

.char-counter {
  font-size: 0.78rem;
  color: rgba(110, 233, 255, 0.6);
  font-variant-numeric: tabular-nums;
  margin-left: auto;
}

/* ── Topic chips ────────────────────────────────────────────── */
.topic-chips {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: -4px;
}

.topic-chips-label {
  font-size: 0.8rem;
  color: rgba(232, 241, 248, 0.6);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.topic-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-chip {
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 224, 255, 0.05);
  border: 1px solid rgba(0, 224, 255, 0.22);
  color: rgba(232, 241, 248, 0.85);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
}

.topic-chip:hover {
  background: rgba(0, 224, 255, 0.12);
  border-color: rgba(0, 224, 255, 0.5);
  color: #ffffff;
  transform: translateY(-1px);
}

.topic-chip.active {
  background: linear-gradient(135deg, rgba(0, 224, 255, 0.25) 0%, rgba(0, 168, 255, 0.15) 100%);
  border-color: #00e0ff;
  color: #ffffff;
  box-shadow: 0 0 16px rgba(0, 224, 255, 0.25);
}

/* ── Form footer / submit ───────────────────────────────────── */
.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.form-fineprint {
  font-size: 0.78rem;
  color: rgba(232, 241, 248, 0.55);
  line-height: 1.5;
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.modern-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #00e0ff 0%, #00a8ff 100%);
  color: #04111e;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 224, 255, 0.28), 0 0 0 1px rgba(0, 224, 255, 0.5) inset;
  font-family: inherit;
  letter-spacing: 0.01em;
}

.modern-submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  transition: left 0.6s ease;
}

.modern-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 224, 255, 0.4), 0 0 0 1px rgba(0, 224, 255, 0.7) inset;
}

.modern-submit-btn:hover:not(:disabled)::before { left: 100%; }

.modern-submit-btn:active:not(:disabled) {
  transform: translateY(0);
}

.modern-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-text { position: relative; z-index: 1; }
.btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  transition: transform 0.2s ease;
}
.modern-submit-btn:hover:not(:disabled) .btn-icon { transform: translateX(3px); }

.btn-spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(4, 17, 30, 0.3);
  border-top-color: #04111e;
  animation: btnSpin 0.8s linear infinite;
  display: inline-block;
}

@keyframes btnSpin {
  to { transform: rotate(360deg); }
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .modern-contact-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .contact-info-card {
    position: static;
    order: 2;
  }
  .contact-form-card { order: 1; }
}

@media (max-width: 768px) {
  .modern-contact-section { padding: 64px 0 80px; }
  .contact-header { margin-bottom: 36px; }
  .quick-actions {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 32px;
  }
  .contact-info-card,
  .contact-form-card {
    padding: 26px 22px;
    border-radius: 18px;
  }
  .form-row { grid-template-columns: 1fr; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .modern-submit-btn { width: 100%; }
}

@media (max-width: 480px) {
  .contact-inner { padding: 0 14px; }
  .contact-info-card,
  .contact-form-card {
    padding: 22px 18px;
  }
  .quick-action { padding: 14px 16px; }
  .quick-action-icon { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .contact-eyebrow-dot,
  .progress-fill::after,
  .btn-spinner,
  .quick-action::before,
  .modern-submit-btn::before { animation: none; transition: none; }
}
