/* ---- Variablen & Reset ---- */
:root {
  --bg-color: #F9F7F2;      /* Sand/Beige */
  --primary-color: #7D8471;  /* Salbeigrün */
  --secondary-color: #BC8F8F; /* Altrosa/Erde */
  --text-dark: #4A4A4A;      /* Schiefergrau */
  --white: #ffffff;
  --transition: all 0.3s ease;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto; /* Drückt den Footer nach unten */
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- Navigation ---- */
header {
  background: var(--white);
  padding: 20px 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

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

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 400;
  transition: var(--transition);
}

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

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 30px;
  transition: var(--transition);
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #6a7161;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(125, 132, 113, 0.3);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  padding: 13px 28px;
  text-decoration: none;
  border-radius: 30px;
  transition: var(--transition);
  font-weight: bold;
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: white;
}

.btn-small {
  padding: 8px 18px;
  border-radius: 20px;
  background-color: var(--primary-color);
  color: white !important;
}

.btn-small:hover {
  background-color: #6a7161;
}

/* ---- Typografie & Layout ---- */
.section-padding {
  padding: 80px 0;
}

.text-center {
  text-align: center;
}

.section-title {
  text-align: center;
  margin: 30px 0 50px;
}

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 5px;
}

.section-divider {
  width: 50px;
  margin: 15px auto 0;
  border: 0;
  border-top: 2px solid var(--secondary-color);
}

.content-page {
  max-width: 800px;
  margin: 0 auto;
}

.content-page p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

/* ---- Grid & Cards ---- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.card {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card:hover {
  border-bottom: 3px solid var(--secondary-color);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transform: translateY(-5px);
}

.card h3 {
  font-size: 1.4rem;
}

.card p {
  flex-grow: 1;
  margin-bottom: 20px;
}

.text-link {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.text-link:hover {
  color: var(--secondary-color);
}

/* ---- Hero Section (Startseite) ---- */
.hero {
  background: linear-gradient(to right, #f2eee6, #F9F7F2);
  min-height: 80vh;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-text h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 20px;
}

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

.hero-actions {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image-placeholder {
  height: 500px;
  background-color: #e0ddd5;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 250px 250px 0 0;
  border: 1px dashed var(--primary-color);
  overflow: hidden;
}

/* ---- Footer ---- */
footer {
  background: #4A4A4A;
  color: #bfbfbf;
  padding: 60px 0 20px;
  flex-shrink: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-grid h4 {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-grid p, .footer-grid ul {
  margin-bottom: 10px;
}

.footer-grid ul {
  list-style: none;
}

.footer-grid a {
  color: #bfbfbf;
  text-decoration: none;
  transition: var(--transition);
}

.footer-grid a:hover {
  color: var(--white);
}

.copyright {
  text-align: center;
  font-size: 0.8rem;
  border-top: 1px solid #5a5a5a;
  padding-top: 20px;
}

/* ---- Mobile Menu (Burger) ---- */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

@media (max-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-image-placeholder {
    height: 300px;
  }
  .hero-text h1 {
    font-size: 2.2rem;
  }
  .hero-actions {
    justify-content: center;
  }
  .menu-toggle {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 70px;
    left: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  .nav-links.active {
    display: flex;
  }
}
