@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

:root {
  --primary: #4169E1;
  --primary-foreground: #FFFFFF;
  --accent: #FF8C42;
  --accent-foreground: #FFFFFF;
  --background: #FAFAFA;
  --foreground: #1A1A1A;
  --card: #FFFFFF;
  --card-foreground: #1A1A1A;
  --muted: #F5F5F5;
  --muted-foreground: #666666;
  --border: #E5E5E5;
  --radius: 0.5rem;
}

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

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
}

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

a:hover {
  opacity: 0.8;
}

/* 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 2rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

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

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

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(65, 105, 225, 0.3);
}

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

.btn-outline:hover {
  background-color: var(--muted);
}

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

.btn-ghost:hover {
  background-color: var(--muted);
}

/* Hero Section */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(65, 105, 225, 0.05) 0%, var(--background) 50%, rgba(255, 140, 66, 0.05) 100%);
}

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

.hero-content {
  position: relative;
  padding: 6rem 0;
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 8rem 0;
  }
}

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

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

.hero p {
  font-size: 1.25rem;
  color: rgba(26, 26, 26, 0.8);
  margin-bottom: 2rem;
}

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

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

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

/* Section Styles */
section {
  padding: 5rem 0;
}

.section-muted {
  background-color: rgba(245, 245, 245, 0.5);
}

.section-gradient {
  background: linear-gradient(135deg, rgba(65, 105, 225, 0.05) 0%, rgba(255, 140, 66, 0.05) 100%);
}

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

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

.section-subtitle {
  font-size: 1.125rem;
  color: rgba(26, 26, 26, 0.8);
  text-align: center;
  max-width: 56rem;
  margin: 0 auto 3rem;
}

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

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

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

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

/* Cards */
.card {
  background-color: var(--card);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

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

.icon-wrapper {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.icon-primary {
  background-color: rgba(65, 105, 225, 0.1);
  color: var(--primary);
}

.icon-accent {
  background-color: rgba(255, 140, 66, 0.1);
  color: var(--accent);
}

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

.card p {
  color: rgba(26, 26, 26, 0.8);
  line-height: 1.6;
}

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

.feature-item {
  display: flex;
  gap: 0.75rem;
}

.feature-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
  color: var(--primary);
}

.feature-item h4 {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.feature-item p {
  color: rgba(26, 26, 26, 0.7);
}

/* Images */
.section-image {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

/* Two Column Layout */
.two-col {
  display: grid;
  gap: 3rem;
  align-items: center;
}

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

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

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

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

.max-w-3xl {
  max-width: 48rem;
  margin: 0 auto;
}

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

.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-text {
  font-size: 0.875rem;
  color: rgba(26, 26, 26, 0.6);
}

/* Impressum Page */
.impressum-header {
  padding: 3rem 0;
}

.impressum-content {
  padding-bottom: 3rem;
}

.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.75rem;
  margin-top: 1.5rem;
}

.impressum-content p {
  color: rgba(26, 26, 26, 0.9);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

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

/* Icons (using Unicode symbols) */
.icon {
  display: inline-block;
  width: 1.5rem;
  height: 1.5rem;
}

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

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}
