/* CSS Custom Properties & Design Tokens */
:root {
  /* Colors - Komplementär-Spannung & Saftiges Erlebnis (Kundenwunsch) */
  --color-background: #fafaf9; /* Helles Stein-Grau für Neutralität */
  --color-surface: #ffffff;
  --color-text: #1c1917; /* Sehr dunkles Warm-Grau */
  --color-heading: #1c1917;
  --color-border: #e7e5e4; /* Haarlinien */
  
  /* Branchen-Akzent (Referenz): Sattes Blau */
  --color-primary: #2563eb;
  --color-primary-hover: #1d4ed8;
  --color-primary-contrast: #ffffff;
  
  /* Komplementärer Akzent: Saftiges Orange für Kontrast & Akzente */
  --color-accent: #ea580c;
  --color-accent-hover: #c2410c;
  
  /* Fonts - Klassisch-Serif */
  --font-display: Georgia, 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  
  /* Spacing */
  --grid-gap: 2rem;
  --section-padding: 6rem 0;
  --radius: 0px; /* Strenges Schweizer Raster verzichtet auf Radien */
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
}

.lead-text {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  line-height: 1.5;
  color: var(--color-heading);
  margin-bottom: 1.5rem;
}

/* Schweizer Raster: 12-Spalten-Layout */
.grid-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

@media (min-width: 768px) {
  .grid-container {
    grid-template-columns: repeat(12, 1fr);
  }
  
  .col-span-12 { grid-column: span 12; }
  .col-span-8 { grid-column: span 8; }
  .col-span-7 { grid-column: span 7; }
  .col-span-6 { grid-column: span 6; }
  .col-span-5 { grid-column: span 5; }
  .col-span-4 { grid-column: span 4; }
}

/* Header & Navigation */
.site-header {
  border-bottom: 1px solid var(--color-border);
  background-color: var(--color-surface);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 1.5rem 0;
}

.brand-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--color-heading);
  letter-spacing: -0.03em;
  transition: color 0.3s ease;
}

.brand-logo:hover {
  color: var(--color-primary);
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

@media (max-width: 767px) {
  .main-nav {
    display: none; /* Einfachheitshalber mobil reduziert für puren Fokus */
  }
}

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

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

.btn-primary:hover {
  background-color: var(--color-accent); /* Komplementär-Spannung bei Interaktion */
}

/* Deko-Technik: Große Kennzahl */
.grid-bg-number {
  position: absolute;
  top: -2rem;
  right: 0;
  font-family: var(--font-display);
  font-size: clamp(8rem, 15vw, 16rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-border);
  opacity: 0.35;
  pointer-events: none;
  z-index: -1;
  user-select: none;
}

/* Sektions-Konstruktion */
section {
  padding: var(--section-padding);
  border-bottom: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent); /* Saftiger Akzent für Labels */
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

/* 1. Hero / Auftakt */
.section-hero {
  background-color: var(--color-surface);
}

.hero-text-block {
  padding-right: 2rem;
}

@media (min-width: 768px) {
  .hero-text-block {
    grid-column: span 6;
    align-self: center;
  }
  .hero-image-block {
    grid-column: span 6;
  }
}

.hero-image-block img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: #4b5563;
}

/* 2. Für wen */
@media (min-width: 768px) {
  .section-target .section-header-cell {
    grid-column: span 4;
  }
  .section-target .section-content-cell {
    grid-column: span 8;
  }
}

/* 3. Das Angebot (Hauptgewicht, Rhythmus: Leistung vorn) */
.offers-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
  margin-top: 3rem;
  margin-bottom: 3rem;
}

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

.offer-item {
  padding: 2.5rem;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  transition: border-color 0.3s ease;
}

.offer-item:hover {
  border-color: var(--color-primary);
}

.offer-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1rem;
  line-height: 1;
}

.section-image-cell img {
  width: 100%;
  height: auto;
  max-height: 450px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--color-border);
}

/* 4. Ablauf */
@media (min-width: 768px) {
  .section-process .section-header-cell {
    grid-column: span 4;
  }
  .section-process .section-content-cell {
    grid-column: span 8;
  }
}

.process-list {
  list-style: none;
  margin-top: 2rem;
}

.process-list li {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.process-list li::before {
  content: counter(step-counter, decimal);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 0;
  width: 2rem;
  height: 2rem;
  background-color: var(--color-primary);
  color: var(--color-primary-contrast);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.process-list {
  counter-reset: step-counter;
}

/* 5. Lage */
.address-text {
  font-size: 1.15rem;
  line-height: 1.8;
  color: var(--color-heading);
}

.location-image {
  margin-top: 2rem;
}

.location-image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--color-border);
}

/* 6. FAQ */
.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 1.5rem;
}

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

/* 7. Öffnungszeiten */
@media (min-width: 768px) {
  .section-hours .section-header-cell {
    grid-column: span 4;
  }
  .section-hours .section-content-cell {
    grid-column: span 8;
  }
}

.hours-box {
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: 2rem;
  margin-top: 2rem;
  border-left: 4px solid var(--color-primary);
}

/* 8. Kontakt */
.contact-details {
  margin-top: 2rem;
}

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

.footer-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 90%;
  max-width: 1300px;
  margin: 0 auto;
}

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

.footer-tagline {
  margin-top: 0.5rem;
  color: #6b7280;
}

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

.footer-links a {
  color: #4b5563;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  width: 90%;
  max-width: 1300px;
  margin: 3rem auto 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
}

/* Micro-Interactions & Animations */
.animate-fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}