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

:root {
  --primary-color: #6eadcc;
  --secondary-color: #5a9bb8;
  --gray-color: #6b7280;
  --gray-light: #9ca3af;
  --dark-bg: #0a0a0a;
  --dark-card: #1a1a1a;
  --dark-card-hover: #252525;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --accent-gradient: linear-gradient(135deg, #6eadcc 0%, #5a9bb8 100%);
  --gray-gradient: linear-gradient(135deg, #6b7280 0%, #9ca3af 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  background-color: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 20px;
}

.logo {
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.logo:hover {
  opacity: 0.8;
}

.logo h1 {
  font-size: 1.5rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.tagline {
  font-size: 0.75rem;
  color: var(--text-secondary);
  display: block;
  margin-top: -5px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.cta-button {
  background: var(--accent-gradient);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  color: white !important;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("background.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: -1;
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
      to bottom,
      rgba(10, 10, 10, 0.4) 0%,
      rgba(10, 10, 10, 0.7) 100%
    ),
    radial-gradient(
      circle at 20% 50%,
      rgba(110, 173, 204, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(90, 155, 184, 0.1) 0%,
      transparent 50%
    );
}

.hero-content {
  text-align: center;
  z-index: 1;
}

.hero-main-title {
  font-size: 4rem;
  margin-bottom: 2rem;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.2;
}

.rotating-text {
  color: var(--primary-color);
  font-weight: 700;
  display: inline-block;
  min-width: 350px;
  text-align: left;
  animation: textGlow 2s ease-in-out infinite;
}

@keyframes textGlow {
  0%,
  100% {
    text-shadow: 0 0 20px rgba(110, 173, 204, 0.6),
      0 0 40px rgba(110, 173, 204, 0.3);
  }
  50% {
    text-shadow: 0 0 30px rgba(110, 173, 204, 0.8),
      0 0 60px rgba(110, 173, 204, 0.4);
  }
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(110, 173, 204, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(110, 173, 204, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

/* Contact Highlight */
.contact-highlight {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-card) 100%);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.contact-card {
  background: var(--dark-card);
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-card:hover {
  transform: translateY(-10px);
  background: var(--dark-card-hover);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(110, 173, 204, 0.3);
}

.contact-card .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.contact-card a {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-card a:hover {
  color: var(--primary-color);
}

.contact-card p {
  color: var(--text-secondary);
}

/* Services Section */
.services {
  padding: 6rem 0;
  background: var(--dark-bg);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-intro {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.services-cta {
  text-align: center;
  max-width: 800px;
  margin: 3rem auto 0;
  padding: 2rem;
  background: var(--dark-card);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.services-cta p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.services-cta p:last-child {
  margin-bottom: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--dark-card);
  padding: 2.5rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(110, 173, 204, 0.3);
}

.service-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

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

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  hyphens: auto;
  word-wrap: break-word;
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  hyphens: auto;
  word-wrap: break-word;
}

/* About Section */
.about {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-card) 100%);
}

.about-text {
  max-width: 800px;
  margin: 0 auto 3rem;
  text-align: center;
}

.about-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.feature {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--dark-card);
  padding: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-10px);
  border-color: var(--primary-color);
  box-shadow: 0 10px 30px rgba(110, 173, 204, 0.3);
}

.checkmark {
  color: var(--primary-color);
  font-size: 1.5rem;
  font-weight: bold;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: var(--dark-bg);
  text-align: center;
}

.cta-section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* Footer */
footer {
  background: var(--dark-card);
  padding: 3rem 0 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-section h4 {
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.footer-section p {
  color: var(--text-secondary);
  line-height: 1.8;
}

.footer-section a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-secondary);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in {
  animation: fadeIn 1s ease-out;
}

.slide-in {
  animation: slideIn 0.6s ease-out;
}

/* Responsive Design */
@media (max-width: 968px) {
  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  /* Navigation */
  .navbar .container {
    padding: 0.75rem 1rem;
  }

  .logo h1 {
    font-size: 1.25rem;
  }

  .tagline {
    font-size: 0.7rem;
  }

  /* Hamburger Menu */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 280px;
    background: var(--dark-card);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    z-index: 1000;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    text-align: center;
  }

  .nav-links a {
    display: block;
    padding: 1rem;
    font-size: 1.1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
  }

  .nav-links a:hover {
    background: var(--dark-card-hover);
  }

  .cta-button {
    padding: 1rem 1.5rem !important;
    font-size: 1.1rem !important;
  }

  /* Hero */
  .hero {
    min-height: 90vh;
    padding-top: 60px;
  }

  .hero-main-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
  }

  .rotating-text {
    min-width: 200px;
    font-size: 2rem;
    display: block;
    text-align: center;
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta {
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  /* Sections */
  .contact-highlight {
    padding: 3rem 0;
  }

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

  .services {
    padding: 4rem 0;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
  }

  .services-intro {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .service-card {
    padding: 2rem 1.5rem;
  }

  .services-cta {
    padding: 1.5rem;
    margin-top: 2rem;
  }

  .about {
    padding: 4rem 0;
  }

  .about-text {
    margin-bottom: 2rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .features {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature {
    padding: 1.25rem;
  }

  .cta-section {
    padding: 4rem 0;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  /* Buttons */
  .btn {
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    min-height: 48px;
  }

  .btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
    width: 100%;
  }
}

@media (max-width: 480px) {
  /* Hero */
  .hero-main-title {
    font-size: 1.5rem;
  }

  .rotating-text {
    min-width: 150px;
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  /* Cards */
  .contact-card,
  .service-card {
    padding: 1.5rem;
  }

  .contact-card .icon,
  .service-icon {
    font-size: 2.5rem;
  }

  .service-card h3 {
    font-size: 1.25rem;
  }

  /* Sections */
  .section-title {
    font-size: 1.5rem;
  }

  .services-intro,
  .services-cta p,
  .about-text p {
    font-size: 0.95rem;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }

  .cta-section p {
    font-size: 0.95rem;
  }

  /* Modal */
  .modal-content {
    padding: 1.25rem;
  }

  .modal-content h2 {
    font-size: 1.35rem;
    padding-right: 2rem;
  }

  .modal-content h3 {
    font-size: 1.1rem;
  }

  .modal-body {
    font-size: 0.9rem;
  }
}

@media (max-width: 360px) {
  .hero-main-title {
    font-size: 1.35rem;
  }

  .rotating-text {
    font-size: 1.35rem;
    min-width: 130px;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

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

.modal-content {
  background: var(--dark-card);
  border: 1px solid rgba(110, 173, 204, 0.3);
  border-radius: 15px;
  padding: 2rem;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideUp 0.3s ease;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  color: var(--primary-color);
}

.modal-content h2 {
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

.modal-content h3 {
  color: var(--primary-color);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.modal-body {
  color: var(--text-secondary);
  line-height: 1.8;
}

.modal-body p {
  margin-bottom: 1rem;
}

.modal-body a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.modal-body a:hover {
  color: var(--secondary-color);
  text-decoration: underline;
}

.modal-body strong {
  color: var(--text-primary);
}

/* Scrollbar für Modal */
.modal-content::-webkit-scrollbar {
  width: 8px;
}

.modal-content::-webkit-scrollbar-track {
  background: var(--dark-bg);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
  background: var(--secondary-color);
}

@media (max-width: 768px) {
  .modal-content {
    margin: 1rem;
    padding: 1.5rem;
    max-width: calc(100% - 2rem);
  }

  .modal-content h2 {
    font-size: 1.5rem;
  }
}
