/* --- Variables --- */
:root {
  --color-bg: #f8f6f3;
  --color-surface: #fff;
  --color-text: #1a1a1a;
  --color-text-muted: #5a5a5a;
  --color-accent: #c45a2a;
  --color-accent-hover: #a04822;
  --color-border: #e0ddd8;
  --font-sans: 'DM Sans', system-ui, sans-serif;
  --font-serif: 'DM Serif Display', Georgia, serif;
  --space: 1.25rem;
  --container: min(90vw, 1100px);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--space); }

/* --- Image placeholders --- */
.placeholder-img {
  background: linear-gradient(135deg, #e8e6e2 0%, #d4d1cb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}
.placeholder-img::after {
  content: 'Bildplatzhalter';
  opacity: 0.7;
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4rem;
}
.logo {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--color-text);
  text-decoration: none;
}
.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}
.nav a:hover { color: var(--color-accent); }
.nav-cta {
  color: var(--color-accent) !important;
  font-weight: 600;
}
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-text);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-placeholder {
  width: 100%;
  height: 100%;
  min-height: 70vh;
}
.hero-placeholder::after { content: 'Hero-Bild (Platzhalter)'; }
.hero-content {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  margin: 0 0 1rem;
  max-width: 18ch;
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  max-width: 42ch;
  margin: 0 0 1.5rem;
}
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.2s;
}
.btn-primary {
  background: var(--color-accent);
  color: #fff;
  border: none;
}
.btn-primary:hover { background: var(--color-accent-hover); }
.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
  margin-top: 1rem;
  display: inline-block;
}
.btn-secondary:hover { background: var(--color-accent); color: #fff; }

/* --- Sections --- */
.section {
  padding: 4rem 0;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 400;
  margin: 0 0 0.5rem;
}
.section-intro {
  color: var(--color-text-muted);
  margin: 0 0 2.5rem;
  max-width: 60ch;
}

/* --- Leistungen --- */
.leistungen-list {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
  display: grid;
  gap: 2rem;
}
.leistung-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--color-surface);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.leistung-img {
  width: 100%;
  aspect-ratio: 4/3;
  min-height: 180px;
}
.leistung-body {
  padding: 1.5rem 1.5rem 1.5rem 0;
}
.leistung-nr {
  display: inline-block;
  width: 2rem;
  height: 2rem;
  line-height: 2rem;
  text-align: center;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.leistung-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}
.leistung-card p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.leistungsbereich {
  margin-bottom: 3.5rem;
}
.leistungsbereich:last-child { margin-bottom: 0; }
.bereich-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-accent);
  margin: 0 0 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
}
.leistungen-kategorien {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.kategorie-card {
  background: var(--color-surface);
  border-radius: 12px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  border: none;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.kategorie-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--color-accent);
  opacity: 0.85;
}
.kategorie-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.kategorie-card h4 {
  margin: 0 0 1rem;
  padding-left: 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--color-text);
  letter-spacing: 0.01em;
}
.kategorie-card ul {
  margin: 0;
  padding-left: 1.5rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.8;
  list-style: none;
}
.kategorie-card ul li {
  position: relative;
  margin-bottom: 0.35rem;
}
.kategorie-card ul li::before {
  content: '';
  position: absolute;
  left: -1rem;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-accent);
  opacity: 0.6;
}
.kategorie-card li:last-child { margin-bottom: 0; }

/* --- Über uns --- */
.ueber-uns { background: var(--color-surface); }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.ueber-img {
  aspect-ratio: 4/3;
  min-height: 260px;
  border-radius: 8px;
}
.ueber-img::after { content: 'Über uns (Platzhalter)'; }
.ueber-text h2 {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  margin: 0 0 1rem;
}
.ueber-text p { margin: 0 0 1rem; color: var(--color-text-muted); }
.ueber-text p:last-child { margin-bottom: 0; }

/* --- Kontakt --- */
.kontakt-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}
.kontakt-info p { margin: 0 0 0.75rem; }
.kontakt-info a { color: var(--color-accent); text-decoration: none; }
.kontakt-info a:hover { text-decoration: underline; }
.kontakt-placeholder {
  aspect-ratio: 16/9;
  min-height: 200px;
  border-radius: 8px;
}
.kontakt-placeholder::after { content: 'Kontakt / Karte (Platzhalter)'; }

/* --- Rechnungstool --- */
.rechnung-tool { background: var(--color-surface); }
.rechnung-placeholder {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  border: 2px dashed var(--color-border);
  border-radius: 8px;
  background: var(--color-bg);
}
.rechnung-img {
  aspect-ratio: 1;
  min-height: 160px;
  border-radius: 8px;
}
.rechnung-img::after { content: 'Tool'; font-size: 1rem; }
.rechnung-text p { margin: 0 0 0.5rem; }
.rechnung-text p:last-child { margin-bottom: 0; color: var(--color-text-muted); font-size: 0.95rem; }

/* --- Footer --- */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}
.footer p { margin: 0; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav { display: none; }
  .menu-toggle { display: flex; }
  .nav.open { display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--color-surface); padding: 1rem; border-bottom: 1px solid var(--color-border); }

  .leistung-card {
    grid-template-columns: 1fr;
  }
  .leistung-img { min-height: 180px; }
  .leistung-body { padding: 1rem 1.5rem 1.5rem; }

  .grid-2 { grid-template-columns: 1fr; }
  .ueber-img { order: -1; min-height: 220px; }

  .kontakt-inner { grid-template-columns: 1fr; }
  .rechnung-placeholder { grid-template-columns: 1fr; }
}
