/* Basis Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Grundschrift */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #222;
}

/* Zentrales Container-Prinzip */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0;
}

/* Header */
.logo img {
  height: 100px;
  width: auto;
  display: block;
}

.site-header {
  background-color: #6B4226;
  color: white;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
}

.main-nav a:hover {
  text-decoration: underline;
}

/* Hero Section */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;

  background-image: url("img/hero.png"); /* Platzhalter */
  background-size: cover;
  background-position: center;

  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
}

.hero-content {
  position: relative;
  color: white;
  max-width: 700px;
  text-align: center;
}

.hero .container {
  width: 100%;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.button {
  display: inline-block;
  padding: 14px 28px;
  background-color: #6B4226;
  color: white;
  text-decoration: none;
  font-weight: 500;
}

/* Leistungen */
.leistungen h2 {
  margin-bottom: 30px;
}

.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.leistung {
  background: #f5f5f5;
  padding: 24px;
  border-radius: 10px;
}

.leistung h3 {
  margin-bottom: 10px;
}

.leistung p {
  color: #333;
}

.leistung {
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.leistungen {
  background: #faf8f6;
}

/* Über mich */
.ueber-mich {
  background-color: #f5f3f1;
}

.ueber-mich .container {
  max-width: 800px;
}

.ueber-mich h2 {
  margin-bottom: 20px;
}

.ueber-mich p {
  font-size: 1.1rem;
  line-height: 1.8;
}

.ueber-mich h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #6B4226;
  margin-top: 10px;
}

/* Kontakt */
.kontakt {
  background-color: #6B4226;
  color: white;
}

.kontakt .container {
  max-width: 700px;
  text-align: center;
}

.kontakt h2 {
  margin-bottom: 15px;
}

.kontakt p {
  margin-bottom: 40px;
  font-size: 1.1rem;
}

.kontakt-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.kontakt-form input,
.kontakt-form textarea {
  padding: 14px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;

  background-color: #f2eee9;
  color: #222;
}

.kontakt-form input::placeholder,
.kontakt-form textarea::placeholder {
  color: #777;
}

.kontakt-form button {
  padding: 14px;
  background-color: #e8e1d8;
  color: #6B4226;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 6px;
}

.kontakt-form button:hover {
  background-color: #e3952f;
}

/* Mobile Feinschliff */
@media (max-width: 768px) {

  /* Header: Logo + Nav untereinander oder kompakter */
  .site-header .container {
    flex-direction: column;
    gap: 12px;
    padding: 16px;
  }

  .main-nav ul {
    gap: 18px;
    padding: 0;
  }

  /* Hero: weniger Höhe + kleinere Schrift */
  .hero {
    height: 65vh;
    min-height: 420px;
    padding: 0 10px;
  }

  .hero h2 {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero p {
    font-size: 1.05rem;
  }

  /* Sections: weniger Abstand */
  section {
    padding: 80px 0;
  }

  /* Leistungen: Grid passt sich zwar automatisch an, aber etwas enger */
  .leistungen-grid {
    gap: 16px;
  }

  .leistung {
    padding: 18px;
  }

  /* Kontakt: mehr Luft innen */
  .kontakt .container {
    padding: 0 16px;
    text-align: center;
  }

}

:root {
  --brand: #6B4226;
  --text: #222;
  --muted: #aeabab;
  --bg-soft: #f5f3f1;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text);
}

h1, h2, h3 {
  line-height: 1.2;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
}

.button {
  display: inline-block;
  padding: 14px 28px;
  background-color: var(--brand);
  color: white;
  text-decoration: none;
  font-weight: 600;
  border-radius: 8px;
}

.button:hover {
  opacity: 0.7;
}

.leistungen {
  background: #fff;
}

.ueber-mich {
  background: var(--bg-soft);
}

.form-status {
  margin-top: 10px;
  font-size: 0.95rem;
  min-height: 1.2em;
}

/* Seitenkopf für Impressum & Datenschutz */
.page-hero {
  background-color: var(--brand);
  color: white;
  padding: 60px 0;
}

.page-hero h1 {
  margin: 0;
  font-size: 2.2rem;
}

/* Legal Content */
.legal {
  background-color: var(--bg-soft);
}

.legal-content {
  max-width: 800px;
  background-color: white;
  padding: 40px;
  border-radius: 8px;
}

.legal-content h2 {
  margin-top: 30px;
  margin-bottom: 10px;
}