:root {
  --color-primary: #4f46e5;
  --color-primary-hover: #4338ca;
  --color-secondary: #2563eb;
  --color-bg-light: #ffffff;
  --color-bg-muted: #f3f4f6;
  --color-text-dark: #111827;
  --color-text-light: #ffffff;
  --color-border: #d1d5db;
  --color-hero-text: #f3f4f6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

h1, h2, h3, h4, p, li {
  color: var(--color-text-dark);
}
a {
  color: var(--color-secondary);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-secondary);
  transition: width 0.3s ease;
}
a:hover::after {
  width: 100%;
}

/* Hero */
.hero {
  background: url('/assets/images/startseite.jpg') center/cover no-repeat;
  padding: 6rem 0;
  text-align: center;
  color: var(--color-hero-text);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 0;
}
.hero .container {
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s ease forwards;
}
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero h1,
.hero p {
  color: var(--color-hero-text) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.hero h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.125rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Services */
.services {
  background-color: var(--color-bg-light);
  padding: 4rem 0;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.service-card {
  background-color: var(--color-bg-muted);
  padding: 2rem;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}
.service-card i {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
  transition: transform 0.3s ease;
}
.service-card:hover i {
  transform: scale(1.2) rotate(5deg);
}
.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 1rem;
}

/* Detail Section */
.detail-section {
  background-color: var(--color-bg-light);
  padding: 4rem 0;
}
.detail-block {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
}
.detail-block img {
  width: 100%;
  max-width: 360px;
  height: auto;
  border-radius: 0.75rem;
  border: 1px solid var(--color-border);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  object-fit: contain;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.detail-block img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.detail-block h2 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}
.detail-block p {
  margin-bottom: 1rem;
}
.detail-block ul {
  list-style: disc inside;
}

/* Process Section */
.process-section {
  background-color: var(--color-bg-muted);
  padding: 4rem 0;
}
.process-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.process-step {
  background-color: var(--color-bg-light);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.process-step:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}
.process-step i {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
}
.process-step:hover i {
  transform: rotate(10deg) scale(1.1);
}
.process-step h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.process-step p {
  font-size: 0.95rem;
}

/* USP Section */
.usp-section {
  background-color: var(--color-bg-muted);
  padding: 4rem 0;
}
.usp-section h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
.usp-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.usp-item {
  background-color: var(--color-bg-light);
  padding: 1.5rem;
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.usp-item:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary-hover);
}
.usp-item i,
.usp-item .usp-emoji {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
  transition: transform 0.3s ease;
}
.usp-item:hover i,
.usp-item:hover .usp-emoji {
  transform: scale(1.2) rotate(-5deg);
}
.usp-item p {
  font-size: 1rem;
}

/* Button */
.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text-light);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  display: inline-block;
}
.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.usp-section .btn-primary {
  display: block;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  .services-grid,
  .detail-block,
  .process-grid,
  .usp-list {
    grid-template-columns: 1fr;
  }
}
