/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #2563eb;
  --primary-dark: #1e40af;
  --primary-light: #3b82f6;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --background: #fafafa;
  --foreground: #1a1a1a;
  --card: #ffffff;
  --muted: #6b7280;
  --border: #e5e7eb;
  --secondary-bg: #f3f4f6;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 0.5rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  gap: 0.5rem;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: white;
}

.btn-secondary {
  background-color: white;
  color: var(--foreground);
  border: 2px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--secondary-bg);
  color: var(--foreground);
}

.btn-outline {
  background-color: transparent;
  color: var(--foreground);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  background-color: var(--secondary-bg);
  color: var(--foreground);
}

.btn-ghost {
  background-color: transparent;
  color: var(--muted);
  padding: 0.5rem 1rem;
}

.btn-ghost:hover {
  background-color: var(--secondary-bg);
  color: var(--foreground);
}

/* Cards */
.card {
  background-color: var(--card);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 2rem;
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, 
    rgba(250, 250, 250, 0.95), 
    rgba(250, 250, 250, 0.85), 
    rgba(250, 250, 250, 0.7));
}

.hero-content {
  position: relative;
  z-index: 10;
  padding: 5rem 0;
  max-width: 48rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.75rem;
  }
  .hero p {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 4.5rem;
  }
}

/* Sections */
section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: var(--muted);
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

/* Grid Layouts */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, 1fr);
}

@media (min-width: 768px) {
  .grid-md-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-lg-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-lg-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Icon Containers */
.icon-container {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.icon-container-sm {
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
}

.icon-primary {
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--primary);
}

.icon-destructive {
  background-color: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

.icon-accent {
  background-color: rgba(245, 158, 11, 0.1);
  color: var(--accent);
}

/* Icon Styles */
.icon {
  width: 2rem;
  height: 2rem;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-sm {
  width: 1.5rem;
  height: 1.5rem;
}

.icon-lg {
  width: 2.5rem;
  height: 2.5rem;
}

/* Background Colors */
.bg-secondary {
  background-color: rgba(243, 244, 246, 0.5);
}

.bg-primary {
  background-color: var(--primary);
  color: white;
}

.bg-primary h2,
.bg-primary p {
  color: white;
}

/* Text Alignment */
.text-center {
  text-align: center;
}

/* Spacing */
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }

/* Flex Utilities */
.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.justify-between {
  justify-content: space-between;
}

.gap-4 {
  gap: 1rem;
}

.gap-6 {
  gap: 1.5rem;
}

/* Max Width */
.max-w-3xl {
  max-width: 48rem;
}

.max-w-4xl {
  max-width: 56rem;
  margin: 0 auto;
}

.max-w-5xl {
  max-width: 64rem;
  margin: 0 auto;
}

.max-w-6xl {
  max-width: 72rem;
  margin: 0 auto;
}

/* Feature List */
.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-item h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.feature-item p {
  color: var(--muted);
}

/* Image Styles */
.rounded-lg {
  border-radius: 0.5rem;
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Footer */
footer {
  padding: 2rem 0;
  background-color: var(--secondary-bg);
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

footer p {
  color: var(--muted);
}

/* Impressum Page */
.impressum-container {
  min-height: 100vh;
  background-color: var(--background);
}

.impressum-content {
  padding: 3rem 0;
  max-width: 56rem;
}

.impressum-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.impressum-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}

.impressum-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  margin-top: 1.5rem;
}

.impressum-content p {
  margin-bottom: 0.5rem;
}

.impressum-content section {
  padding: 1.5rem 0;
}

/* Contact Cards */
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.contact-card a {
  font-size: 1.125rem;
  font-weight: 500;
  word-break: break-all;
}

.contact-card p {
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Info Box */
.info-box {
  margin-top: 3rem;
  padding: 2rem;
  background-color: rgba(243, 244, 246, 0.5);
  border-radius: 0.5rem;
  text-align: center;
}

.info-box p {
  font-size: 1.125rem;
  color: var(--muted);
}

.info-box strong {
  color: var(--foreground);
}

/* Responsive Typography */
@media (max-width: 640px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.125rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .btn-lg {
    width: 100%;
  }
}

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

.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
}
