/* style.css */

:root {
  /* Farbpalette: Provence & Ahrtal */
  --primary-color: #6b4c3b;    /* Warres Braun (Erde/Holz) */
  --secondary-color: #fef6e4;  /* Creme/Beige (Hintergrund) */
  --accent-color: #7f6a9f;     /* Sanftes Lavendel (Akzent) */
  --text-dark: #2c2c2c;        /* Dunkles Grau für Lesbarkeit */
  --white: #ffffff;
  --light-gray: #f4f4f4;
  
  /* Typografie */
  --font-heading: 'Georgia', serif;
  --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--secondary-color);
  color: var(--text-dark);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

/* Header / Hero Section */
header {
    position: relative;
    height: 80vh;
    /* HIER GEÄNDERT: Dein existierendes Bild background.png */
    background: url("images/background.png") no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

    /* Dunkler Overlay bleibt, damit man den Text auf dem Bild lesen kann */
    header::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.3);
        z-index: 1;
    }

.hero-content {
  position: relative;
  z-index: 2;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 3rem;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-width: 600px;
  margin: 0 1rem;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.subtitle {
  font-style: italic;
  color: var(--accent-color);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: background 0.3s ease, transform 0.2s;
}

.btn:hover {
  background-color: var(--accent-color);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  margin-left: 10px;
}

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

/* Sections Allgemein */
section {
  padding: 4rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Text & Bild Grid (z.B. für "Willkommen") */
.text-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.text-image-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Ausstattung (Icons / Liste) */
.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  list-style: none;
  margin-top: 2rem;
}

.features-list li {
  background: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  border-bottom: 3px solid var(--accent-color);
}

/* Galerie */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.02);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Formulare (Anfrage) */
form {
  background: var(--white);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: 0 auto;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--primary-color);
}

input, textarea {
  width: 100%;
  padding: 0.8rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 5px rgba(127, 106, 159, 0.3);
}

button[type="submit"] {
  width: 100%;
  border: none;
  cursor: pointer;
  background-color: var(--primary-color);
  color: white;
  padding: 1rem;
  font-size: 1.1rem;
  border-radius: 4px;
  transition: background 0.3s;
}

button[type="submit"]:hover {
  background-color: var(--accent-color);
}

/* Footer */
footer {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  text-align: center;
  padding: 3rem 1rem;
  margin-top: 3rem;
}

footer a {
  color: var(--secondary-color);
  text-decoration: underline;
}

/* Responsive Anpassungen (Handy) */
@media (max-width: 768px) {
  header h1 { font-size: 2rem; }
  .text-image-grid { grid-template-columns: 1fr; }
  .hero-content { margin: 0 1rem; width: 100%; }
}
