
:root {
  --beige: #f9f6f2;
  --salbei: #c8d5c1;
  --rosé: #f3e0dc;
  --akzent: #c59c2e;
  --gold: #d4af37;
  --text: #222;
  --weiß: #fff;
  --offwhite: #F7F4EF; 
}

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--weiß);
  color: #7A6249;
  line-height: 1.6;
  scroll-behavior: smooth;
  margin: 0;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  color: var(--akzent);
}

section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}
.hero {
  padding: 6rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 1.5rem;
  line-height: 1.4;
}

.hero .subline {
  margin-top: 0.75rem;
  font-size: 1.25rem;
  color: var(--offwhite);
  font-style: italic;
}
.hero-logo {
  display: block;
  margin: 0 auto 1.5rem auto;
  width: 60%;
}

@media (max-width: 768px) {
  .hero-logo {
    width: 100%;
  }
}

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

.text-divider {
  width: 120px;
  height: 3px;
  background: var(--gold);
  margin: 1rem auto ;
  border-radius: 2px;
  animation: expandBar 0.8s ease forwards;
}

@keyframes expandBar {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 120px;
    opacity: 1;
  }
}
.beige {
  background-color: var(--beige);
  max-width: 1200px;
}
.darkbeige {
  background-color: #e6e0cd;
  max-width: 1200px;
}

.benefits-kacheln {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;

  max-width: 1200px;      /* Begrenzte Breite */
  margin: 0 auto;          /* Horizontal zentriert */
  padding: 2rem 1rem;      /* Innenabstand */
}

.benefits-kacheln .kachel {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: var(--weiß);
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}
.benefits-kacheln .kachel img {
  width: 50px;       /* oder z. B. 48px, je nach gewünschter Größe */
  height: auto;
  flex-shrink: 0;    /* verhindert, dass das Bild gequetscht wird */
  margin-top: 4px;   /* optional: leicht nach unten versetzen für Ausrichtung */
}

.kachel.in-view {
  opacity: 1;
  transform: translateY(0);
}
.image-unter-kacheln {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;              /* Abstand zwischen den Bildern */
  flex-wrap: wrap;        /* Für mobile Ansicht: untereinander */
  margin-top: 1rem;
}

.image-unter-kacheln img {
  max-width: 45%;
  height: 500px;
  border-radius: 10px;    /* Optional: für weichere Ecken */
  object-fit: cover;
}
/* Responsive Anpassung */
@media (max-width: 768px) {
  .image-unter-kacheln {
    flex-direction: column; /* Untereinander */
  }

  .image-unter-kacheln img {
    
    height: 400px;           /* Höhe automatisch für Mobil */
    max-width: 100%;
    object-fit: contain;
  }
}

.large-image img {
  display: block;
  object-position: center;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.image-text-switch {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}

.image-text-switch.reverse {
  flex-direction: row-reverse;
}

.image-text-switch img {
  max-width: 50%;      /* Innerhalb der 50%-Spalte kleiner */
  height: auto;
  border-radius: 15px;
  display: block;
  margin: 0 auto;      /* optional: zentriert das Bild in der eigenen Hälfte */
}

.image-text-switch .text {
  flex: 1;
  min-width: 250px;
}

.ablauf-section {
  border-left: 2px solid var(--akzent);
  padding-left: 1.5rem;
  margin: 3rem 0;
}

.text-image {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.text-image .text {
  flex: 1 1 50%;
}

.text-image img {
  flex: 1 1 40%;
  max-width: 100%;
  border-radius: 8px;
}
.image-text-group {
  display: flex;
  flex-direction: column;
  gap: 3rem; /* kontrolliert Abstand zwischen den Blöcken */
}

.arbeitsweise .ablauf-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.arbeitsweise .ablauf-block p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0;
}

.arbeitsweise .linie {
  width: 2px;
  height: 40px;
  background-color: var(--akzent);
}
.angebote {
  
  padding: 4rem 2rem;
}

.angebots-grid {
  background-color: var(--weiß);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 8px;
}

.angebots-grid .karte {
  background: #e6e0cd;

  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
@media (max-width: 768px) {
  .angebots-grid {
    grid-template-columns: 1fr;
  }
}

.karte.in-view {
  opacity: 1;
  transform: translateY(0);
}

.schritte-section .schritte {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  max-width: 700px;
  margin: 0 auto;
}

.schritte-section .schritt {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: center;
  gap: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  align-self: start;
}

.schritte-section .schritt.visible {
  opacity: 1;
  transform: translateY(0);
}

.schritte-section .schritt img {
  width: 60px;
  height: auto;
  justify-self: center;
}

.schritte-section .schritt .text {
  flex: 1;
}

.schritte-section .linie {
  width: 2px;
  height: 40px;
  background-color: var(--akzent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.schritte-section .linie.visible {
  opacity: 1;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
  .schritte-section .schritt {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    text-align: center;
  }

  .schritte-section .schritt img {
    justify-self: center;
    margin-bottom: 0.5rem;
  }

  .schritte-section .schritt .text {
    text-align: center;
  }
}

.bildergalerie {
  text-align: center;
}

.bildergalerie img {
  max-width: 50%;
  height: auto;
  margin: 0.5rem;
  border-radius: 6px;
}

.cta-kontakt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  justify-content: center;
  text-align: center;
}

.cta-kontakt .text, .cta-kontakt img {
  flex: 1 1 45%;
}

.cta-kontakt button {
  background: var(--akzent);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 1rem;
}

.faq .faq-item {
  margin-bottom: 1rem;
}

.faq .faq-item h3 {
  cursor: pointer;
  background: var(--beige);
  padding: 1rem;
  margin: 0;
  border-radius: 5px;
}

.faq .faq-content {
  display: none;
  padding: 1rem;
  background: #f4f4f4;
}

.faq .faq-item.open .faq-content {
  display: block;
}

.section-divider {
  height: 35px;
  background: var(--weiß);
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-divider .bar {
  width: 1000px;
  height: 5px;
  background: var(--gold);
  border-radius: 10px;
  animation: expandBar 1s ease forwards;
}

@keyframes expandBar {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 1000;
    opacity: 1;
  }
}

@media (max-width: 768px) {
  section {
    padding: 2rem 1rem;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.5rem;
  }

  .image-text-switch,
  .image-text-switch.reverse,
  .text-image {
    flex-direction: column;
  }

  .image-text-switch img
  {
    max-width: 100%;
  }

  .image-text-switch .text,
  .text-image .text,
  .text-image img {
    width: 100%;
  }

  .cta-kontakt {
    flex-direction: column;
  }

  .cta-kontakt .text, .cta-kontakt img {
    width: 100%;
  }
}
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  padding: 1rem 0;
  background: transparent;
}

.nav-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  color: white;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
}

.navbar .nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.navbar .nav-list a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  transition: opacity 0.3s;
}

.navbar .nav-list a:hover {
  opacity: 0.7;
}

.burger {
  display: none;
  font-size: 2rem;
  color: var(--gold);
  cursor: pointer;
}

@media (min-width: 769px) {
  .nav-container {
    justify-content: space-evenly; /* Logo links, Navi rechts */
  }

  .navbar .nav-list {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
    display: flex !important; /* sicherstellen, dass es sichtbar ist */
    position: static;
    background: transparent;
    width: auto;
    padding: 0;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .navbar .nav-list {
    position: absolute;
    top: 100%;
    right: 5px;
    background: #e6e0cdf5 ; /* dunkelbeige */
    color: white;
    width: 80%;
    flex-direction: column;
    display: none;
    padding: 2rem ;
    z-index: 999;
  }

  .navbar .nav-list a {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
  }

  .navbar .nav-list.open {
    display: flex;
  }

  .burger {
    display: block;
    position: fixed;
    z-index: 9999;
  }
}

.site-footer {
  background-color: #e6e0cd; /* z. B. #7b1f32 */
  color: white;
  padding: 2rem 1rem;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem; /* ➜ gleicht den restlichen Seiten an */
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-left,
.footer-center,
.footer-right {
  display: flex;
  align-items: center;
}

.footer-logo {
  height: 100px;
  width: auto;
}

.footer-nav {
  display: flex;
  gap: 2rem;
}

.footer-nav a {
  color: white;
  text-decoration: none;
  font-weight: 400;
  transition: opacity 0.3s ease;
}

.footer-nav a:hover {
  opacity: 0.7;
}

.social-icon {
  height: 24px;
  width: 24px;
  margin-left: 1rem;
  transition: opacity 0.3s ease;
}

.social-icon:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 20px;
  }

  .footer-nav {
    gap: 1.5rem;
    margin: 1rem 0;
  }

  .footer-right {
    justify-content: center;
  }

  .footer-left, .footer-center, .footer-right {
    justify-content: center;
  }
}