/* ===== Zwischen den Zeilen – main.css (Optimiert & Bereinigt) ===== */
:root {
  --main-bg: #fdfbf7;
  --accent: #8b6f57;
  --light: #f5f1eb;
  --highlight: #e8ded1;
  --text-dark: #2c2c2c;
  --text-muted: #555555;
}

* { box-sizing: border-box; }

/* Helper */
.visually-hidden {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  background-color: var(--main-bg);
  color: var(--text-dark);
  line-height: 1.6;
  scroll-behavior: smooth;
}

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

/* Header & Navigation */
header {
  height: 80vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  padding: 1rem;
  overflow: hidden;
  position: relative;
}
header::before {
  content: "";
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: var(--header-bg);
  background-size: cover;
  background-position: center;
  will-change: transform;
  transition: transform 0.3s ease-out;
  z-index: 0;
}
header > div { position: relative; z-index: 1; }
header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem; margin-bottom: 0.5rem;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}
header p {
  font-size: 1.2rem; font-weight: 300;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.6);
}

nav {
  position: sticky; top: 0; z-index: 999;
  background-color: var(--main-bg);
  padding: 1rem; display: flex; flex-wrap: wrap;
  justify-content: center; gap: 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}
nav a { color: var(--text-dark); text-decoration: none; font-weight: bold; transition: color 0.2s; }
nav a:hover { color: var(--accent); }

section { padding: 5rem 2rem; max-width: 1000px; margin: auto; }
h2 { font-family: 'Playfair Display', serif; color: var(--accent); font-size: 2.2rem; margin-bottom: 2.5rem; text-align: center; }

/* Layout Komponenten */
.image-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.image-row img {
  flex: 1; min-width: 100px; object-fit: cover;
  border-radius: 10px; max-height: 260px; width: 100%;
}

/* Responsive Grid Adjustments */
@media (min-width: 768px) {
  .ueber-container { display: flex; flex-direction: row; gap: 3rem; }
  .image-row { flex-direction: column; flex: 1; }
  .ueber-text { flex: 1.5; }
}
@media (max-width: 767px) {
  .image-row { display: none !important; }
  .ueber-container { flex-direction: column; }
}

/* CTA Buttons */
.cta-button {
  display: inline-block; margin-top: 1rem;
  padding: 0.8rem 2rem; background-color: var(--accent); color: #fff;
  border-radius: 6px; text-decoration: none; font-weight: bold;
  transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border: none; cursor: pointer;
}
.cta-button:hover { background-color: #755c47; box-shadow: 0 6px 14px rgba(0,0,0,0.2); transform: translateY(-1px); }

/* Animations & Fade-ins */
.fade-in-section { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in-section.visible, .fade-in.visible { opacity: 1; transform: none; }

/* Mobile Image Slider */
.image-slider { display: none; }
@media (max-width: 767px) {
  .image-slider { display: block; overflow-x: scroll; white-space: nowrap; margin-top: 1rem; }
  .image-slider-track { display: flex; gap: 1rem; }
  .image-slider-track img {
    width: 100%; max-width: 80%; border-radius: 10px; object-fit: cover;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  }
}

/* ==========================================
   TIMELINE ABLAUF – MODERNES CARD GRID (FIX)
   ========================================== */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.timeline-content {
  background-color: #fff;
  padding: 2.5rem 1.8rem;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  border: 1px solid rgba(139, 111, 87, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.timeline-content:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px rgba(139, 111, 87, 0.08);
}
.timeline-content h3