/* Lebensleicht-Alltagshilfe - Stylesheet */

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

:root {
  /* Colors - Calming green & warm accents */
  --primary: hsl(142, 60%, 45%);
  --primary-light: hsl(142, 50%, 92%);
  --primary-dark: hsl(142, 60%, 35%);
  --secondary: hsl(25, 75%, 60%);
  --secondary-dark: hsl(25, 75%, 50%);
  
  --background: hsl(0, 0%, 100%);
  --foreground: hsl(210, 15%, 20%);
  --muted: hsl(142, 20%, 96%);
  --muted-foreground: hsl(210, 15%, 50%);
  --border: hsl(142, 20%, 90%);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px -2px rgba(52, 168, 83, 0.1);
  --shadow-md: 0 4px 16px -4px rgba(52, 168, 83, 0.15);
  --shadow-lg: 0 8px 32px -8px rgba(52, 168, 83, 0.2);
  
  /* Spacing */
  --radius: 0.75rem;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--foreground);
  background-color: var(--background);
}

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

/* Typography */
h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--muted-foreground);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
}

.nav-logo-main {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.nav-logo-sub {
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 500;
  transition: all 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-cta {
  display: none;
  margin-left: 1rem;
}

.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 0.5rem;
  transition: background 0.3s;
}

.nav-toggle:hover {
  background: var(--primary-light);
}

.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

.nav-mobile {
  display: none;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.nav-mobile.active {
  display: block;
}

.nav-mobile a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  font-weight: 500;
  transition: all 0.3s;
}

.nav-mobile a:hover,
.nav-mobile a.active {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-mobile-cta {
  margin-top: 0.5rem;
  padding: 0 1rem;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  
  .nav-cta {
    display: block;
  }
  
  .nav-toggle {
    display: none;
  }
  
  h1 {
    font-size: 3rem;
  }
  
  h2 {
    font-size: 2.5rem;
  }
}

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

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

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

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn-cta {
  background: var(--secondary);
  color: white;
  box-shadow: var(--shadow-md);
}

.btn-cta:hover {
  background: var(--secondary-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

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

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

.btn-lg {
  height: 3rem;
  padding: 0 2rem;
  font-size: 1rem;
}

.btn-xl {
  height: 3.5rem;
  padding: 0 2.5rem;
  font-size: 1.125rem;
}

.btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* Card */
.card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s;
}

.card:hover {
  box-shadow: var(--shadow-lg);
}

.card-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s;
}

.card:hover .card-img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.5rem;
}

.card-icon {
  display: inline-flex;
  padding: 0.5rem;
  background: var(--primary-light);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}

.card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

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

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

.bg-muted {
  background: var(--muted);
}

/* Hero Section */
.hero {
  padding: 4rem 0;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  color: var(--foreground);
  line-height: 1.1;
}

.hero-text {
  font-size: 1.25rem;
  color: var(--muted-foreground);
}

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

.hero-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-info svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-img {
  width: 100%;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  section {
    padding: 6rem 0;
  }
  
  .hero {
    padding: 6rem 0;
  }
  
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
  
  .hero-text {
    font-size: 1.5rem;
  }
}

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

.grid-cols-1 {
  grid-template-columns: 1fr;
}

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

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

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

/* Service Icons */
.service-icon {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.service-icon-box {
  padding: 0.75rem;
  background: var(--primary-light);
  border-radius: var(--radius);
}

.service-icon-box svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

/* Check List */
.check-list {
  list-style: none;
  padding: 0;
}

.check-list li {
  display: flex;
  align-items: start;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.check-list svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 0.25rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(52, 168, 83, 0.1);
}

.form-textarea {
  resize: vertical;
  min-height: 150px;
}

/* Contact Info */
.contact-card {
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.contact-info {
  display: flex;
  align-items: start;
  gap: 1rem;
}

.contact-icon {
  padding: 0.75rem;
  background: var(--primary-light);
  border-radius: var(--radius);
}

.contact-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--primary);
}

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

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.footer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: var(--muted-foreground);
  transition: color 0.3s;
}

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

.footer-link svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

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

/* Values/Benefits Section */
.value-card {
  text-align: center;
  padding: 1.5rem;
}

.value-icon {
  display: inline-flex;
  padding: 1rem;
  background: var(--primary-light);
  border-radius: 50%;
  margin-bottom: 1rem;
}

.value-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--primary);
}

/* Steps */
.step-card {
  text-align: center;
  padding: 2rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

/* Prose Content (for legal pages) */
.prose {
  max-width: 65ch;
  color: var(--foreground);
}

.prose h2 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose h4 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.prose p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

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

.text-lg {
  font-size: 1.125rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-2xl {
  font-size: 1.5rem;
}

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

.text-foreground {
  color: var(--foreground);
}

.text-muted {
  color: var(--muted-foreground);
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

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

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

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

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

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

.max-w-2xl {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
}

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