/*
 * Theme Name: BFI Design - Bodenleger Edition
 * Author: Tunahan Karacigay
 */

 :root {
  --white: #ffffff;
  --black: #000000;
  --grey-light: #f0f0f0;
  --grey-medium: #bbb;
  --grey-dark: #444;
  --text: #000;
  --text-light: #fff;
  --primary: #8B5E3C;
  --secondary: #C29552;
  --navigation-width: 350px;
  --navigation-background: rgba(139, 94, 60, 0.9);
  --navigation-backdrop: rgba(0, 0, 0, 0.4);
  --header-padding: 30px;
  --header-bottom: 40vh;
  --logo-width: 190px;
}

/* =========
   GRUNDSTIL
=========== */

body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  background-color: var(--grey-light);
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Montserrat", sans-serif;
  color: var(--primary);
  margin-top: 0;
}

/* =========
   HEADER
=========== */

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--primary);
  z-index: 999;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.logo-area {
  background: white;
  padding: 10px;
  display: flex;
  align-items: center;
  box-shadow: 5px 5px 15px #000;
}

.custom-logo {
  max-width: var(--logo-width);
  height: auto;
  transition: 0.3s ease;
}

/* =========
   NAVIGATION
=========== */

.main-menu {
  display: flex;
  list-style: none;
  gap: 35px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.main-menu li {
  position: relative;
}

.main-menu a {
  color: var(--white);
  text-decoration: none;
  font-weight: bold;
  padding: 10px;
  transition: color 0.3s ease;
  position: relative;
}

.main-menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.main-menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.menu-toggle .bar {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  background: var(--white);
  transition: 0.4s ease;
}

.menu-toggle.open .bar:nth-child(1) {
  transform: rotate(45deg);
  position: relative;
  top: 8px;
}

.menu-toggle.open .bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .bar:nth-child(3) {
  transform: rotate(-45deg);
  position: relative;
  top: -8px;
}

/* ===============================
   HEADER MEDIA – Hero Bereich
   =============================== */

   /* ===== Header-Bild ===== */
.header-media {
  width: 100%;
  height: 83vh;
  overflow: hidden;
  position: relative;
}

.header-media-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* ===== Textbox unter dem Bild ===== */
.header-media-content-below {
  max-width: 1000px;
  margin: -60px auto 60px;
  background: rgba(255, 255, 255, 0.65);

  padding: 30px 40px;
  text-align: center;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.header-media-content-below h1 {
  font-size: 2.5rem;
  color: #8B5E3C;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.header-media-content-below p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
  margin: 0;
}

/* ===== Mobile Optimierung ===== */

@media (max-width: 768px) {
  /* HEADER-BEREICH */
  .header-media {
    position: relative !important;
    margin-top: 100px !important; /* Abstand zur fixen Navigation */
    height: auto !important;
    overflow: hidden !important;
  }

  .header-media-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
    position: relative;
  }

  /* TEXTBOX über dem Bild */
  .header-media-content-below {
    position: absolute !important;
    top: 50% !important; /* vertikal mittig */
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    max-width: 100% !important;
    background: rgba(255, 255, 255, 0.85) !important;
    padding: 1px 10px !important;
    border-radius: 16px !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1) !important;
    text-align: center !important;
    z-index: 10 !important;
  }

  .header-media-content-below h1 {
    font-size: 0.9rem !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
    color: #8B5E3C !important;
  }

  .header-media-content-below p {
    font-size: 0.65rem !important;
    line-height: 1.5 !important;
    color: #333 !important;
    margin: 0 !important;
  }
}

.header-media-content-below {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
  animation-delay: 0.3s;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate(-50%, -40%);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}









/* =========
   BUTTON
=========== */

.btn-primary {
  background: var(--secondary);
  color: var(--white);
  padding: 12px 25px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: 20px;
}

.btn-primary:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

/* =========
   WHATSAPP & TOP BUTTON
=========== */

.whatsapp-float {
  display: flex;
  position: fixed;
  bottom: 90px;
  right: 20px;
  z-index: 999;
  background: #25D366;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float img {
  width: 40px;
  height: 40px;
}

.top-button {
  position: fixed;
  right: 90px;
  bottom: var(--header-padding);
  background: var(--navigation-backdrop);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  padding: 10px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 0.2s ease-out;
}

body.top-btn-visible .top-button {
  opacity: 1;
  visibility: visible;
}

.top-button svg {
  width: 100%;
  height: 100%;
  fill: var(--white);
}

/* =========
   FOOTER
=========== */

.site-footer {
  background: var(--primary);
  color: var(--text-light);
  padding: 40px 20px;
  box-sizing: border-box;
}

.site-footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 30px;
}

.site-footer-about,
.site-footer-contact,
.site-footer-social {
  flex: 1 1 250px;
}

.site-footer h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--secondary);
}

.site-footer p,
.site-footer a {
  font-size: 0.95rem;
  color: var(--white);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
  color: var(--secondary);
}

.bfi-social-links {
  display: flex;
  gap: 15px;
}

.bfi-social-links a svg {
  width: 24px;
  height: 24px;
  fill: var(--text-light);
  transition: fill 0.3s;
}

.bfi-social-links a:hover svg {
  fill: var(--secondary);
}

.site-footer-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.site-footer-navigation a {
  font-size: 0.9rem;
  color: var(--text-light);
}

.site-footer-navigation a:hover {
  color: var(--secondary);
}

.site-copyright {
  text-align: center;
  font-size: 0.85rem;
  color: #ccc;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
}

/* =========
   ANIMATIONEN
=========== */

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========
   MEDIA QUERIES
=========== */

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
  }

  .main-menu {
    display: none;
    flex-direction: column;
    background: var(--primary);
    position: absolute;
    top: 60px;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding-left: 0;
  }

  .main-menu.open {
    display: flex;
  }

  .main-menu li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    width: 100%;
    text-align: left;
  }

  .main-menu li a {
    padding: 15px 20px;
  }

  .custom-logo {
    max-width: 140px;
  }

  .logo-area {
    padding: 5px;
    justify-content: center;
  }

  .header-media {
    height: 100vh;
  }

  .header-media-content h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    padding: 0 10px;
    word-break: break-word;
  }

  body,
  #content,
  .site,
  .header-media-content,
  .site-footer,
  .site-footer-columns {
    /*padding-left: 20px;
    padding-right: 20px;*/
  }

  .site-footer-columns {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media screen and (min-width: 768px) {
  #content {
    padding: 40px 0;
    max-width: 650px;
    margin: 0 auto;
  }
}

@media screen and (min-width: 1024px) {
  #content {
    max-width: 900px;
  }
}

@media screen and (min-width: 1300px) {
  #content {
    max-width: 1100px;
  }
}

.boden-boxen {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  margin: 60px auto;
  max-width: 1200px;
  padding: 0 20px;
}

.boden-box {
  flex: 1 1 300px;
  background-color: var(--white);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.boden-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.boden-box h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.boden-box p {
  font-size: 1rem;
  color: var(--grey-dark);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .boden-boxen {
    flex-direction: column;
    align-items: stretch;
  }
}

.about-us {
  padding: 80px 20px;
  background-color: #f7f7f7;
  font-size: 1.1rem;
  line-height: 1.8;
}

.about-us h1, .about-us h2 {
  color: var(--primary);
  margin-bottom: 20px;
}

.about-us p {
  margin-bottom: 20px;
}

.about-us ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 30px;
}

.cta-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--secondary);
  color: var(--white);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* ========== Hero Bereich ========== */
.hero-section {
  background: linear-gradient(to bottom, #f6f2ed, #ffffff);
  padding: 100px 20px 60px;
  text-align: center;
}

.hero-section h1 {
  font-size: 3rem;
  color: #8B5E3C;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero-section p {
  font-size: 1.2rem;
  color: #555;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ========== Einleitung mit Icon ========== */
.intro-box {
  display: flex;
  align-items: center;
  gap: 25px;
  max-width: 1100px;
  margin: 60px auto;
  padding: 30px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.intro-box img {
  width: 70px;
  height: auto;
  flex-shrink: 0;
}

.intro-box h3 {
  margin-bottom: 10px;
  color: #8B5E3C;
  font-size: 1.5rem;
}

.intro-box p {
  margin: 0;
  color: #444;
  line-height: 1.6;
}

/* ========== Text-Bild Sektion ========== */
.text-image-section {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 20px;
  align-items: center;
}

.text-image-section img {
  flex: 1 1 50%;
  max-width: 100%;
  border-radius: 15px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.text-image-section .text {
  flex: 1 1 50%;
}

.text-image-section h3 {
  font-size: 2rem;
  color: #8B5E3C;
  margin-bottom: 15px;
}

.text-image-section p {
  color: #555;
  line-height: 1.8;
  font-size: 1.05rem;
}

/* ========== Leistungen (Boxen) ========== */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.leistung-box {
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  text-align: center;
}

.leistung-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.leistung-box h3 {
  color:var(--primary);
  margin-top: 20px;
  font-size: 1.4rem;
}

.leistung-box p {
  font-size: 1rem;
  color: #555;
  margin-top: 10px;
}

/* ========== Vorteile (2 Spalten) ========== */
.vorteile-section {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  padding: 60px 20px;
  background: #f2eee9;
}

.vorteile-box {
  flex: 1 1 300px;
  background-color: #fff;
  padding: 30px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
}

.vorteile-box h4 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.vorteile-box p {
  color: #444;
  font-size: 1rem;
}

/* ========== Referenzbild groß ========== */
.referenzbild {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 20px;
}

.referenzbild img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* ========== CTA Button ========== */
.cta-center {
  text-align: center;
  margin-top: 50px;
}

.cta-button {
  display: inline-block;
  padding: 14px 28px;
  background-color: var(--secondary);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  transition: background 0.3s ease, transform 0.2s;
  font-size: 1rem;
}

.cta-button:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
}

/* ========== Mobile Anpassungen ========== */
@media (max-width: 768px) {
  .intro-box, .text-image-section {
    flex-direction: column;
    text-align: center;
  }

  .text-image-section .text {
    padding-top: 20px;
  }

  .hero-section h1 {
    font-size: 2.2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }
}

.button-braun {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--secondary);
  color: white;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: background 0.3s ease, transform 0.2s ease;
}

.button-braun:hover {
  background-color:var(--secondary);
  transform: scale(1.05);
}

.boden-details-bereich {
  padding: 4rem 1rem;
}

.bereich-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.bereich-titel {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.bereich-einleitung {
  font-size: 1rem;
  line-height: 1.6;
}

.boden-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 4rem;
  align-items: flex-start;
}

.boden-detail:nth-child(even) {
  flex-direction: row-reverse;
}

.boden-detail-bild {
  flex: 1 1 40%;
  min-width: 280px;
}

.boden-detail-bild img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0.5rem;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.boden-detail-text {
  flex: 1 1 50%;
}

.boden-detail-text h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.boden-detail-text p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

/* Responsive: Spalten untereinander bei kleinen Bildschirmen */
@media (max-width: 768px) {
  .boden-detail {
    flex-direction: column;
  }

  .boden-detail:nth-child(even) {
    flex-direction: column;
  }
}

/* Style für kompakten SmartSlider mit ID 7 */
#n2-ss-7 {
  max-width: 300px;
  margin: 3rem auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Optional: Slides leicht abgerundet */
#n2-ss-7 .n2-ss-slide-background {
  border-radius: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
  #n2-ss-7 {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
    overflow: hidden;
  }
}





/* --- BEGIN: Kontaktseite Styles --- */
.kontakt-seite {
  padding: 80px 20px;
  max-width: 1100px;
  margin: 0 auto;
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #333;
  background: linear-gradient(to bottom, #fefbf8, #f7f3ef);
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
}

.kontakt-seite h1 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 20px;
  color: #8B5E3C;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.kontakt-seite p {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px;
  font-size: 1.15rem;
  line-height: 1.8;
  color: #4a3e36;
}

.kontakt-seite h3 {
  color: #C29552;
  margin-bottom: 12px;
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.kontakt-seite a {
  text-decoration: none;
  color: #8B5E3C;
  font-weight: 600;
  transition: color 0.3s ease;
}

.kontakt-seite a:hover {
  color: #C29552;
  text-decoration: underline;
}

.kontakt-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 70px;
}

.kontakt-info,
.kontakt-formular {
  flex: 1 1 320px;
  background: #fffaf5;
  padding: 30px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.kontakt-info:hover,
.kontakt-formular:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.kontakt-info p,
.kontakt-formular p {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
  color: #5c4a3c;
}

.kontakt-map iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* --- MOBILE VERSION --- */
@media (max-width: 768px) {
  .kontakt-seite h1 {
    font-size: 2.2rem;
  }

  .kontakt-container {
    flex-direction: column;
  }

  .kontakt-info,
  .kontakt-formular {
    padding: 25px;
  }

  .kontakt-map iframe {
    height: 350px;
  }
}
/* --- END: Kontaktseite Styles --- */






/* Navigation Grundstruktur */
/* Menüliste */
.site-navigation ul {
  list-style-type: none;
  font-size: 1.2rem;
  line-height: 1.8;
  font-weight: 600;
  padding: 0;
  margin: 0;
  width: 100%;
}

/* Menüpunkt-Wrapper */
.site-navigation ul.menu > li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
}

/* Menülinks */
.site-navigation ul a,
.site-navigation ul a:visited {
  display: block;
  width: 100%;
  color: white;
  text-decoration: none;
  padding: 16px 1.5rem;
  transition: all 0.3s ease;
  font-size: 1.1rem;
}

/* Hover-Effekt */
.site-navigation ul a:hover {
  padding-left: 2rem;
  color: var(--secondary);
  background-color: rgba(255, 255, 255, 0.05);
}

/* Menü schließen-Button */
.menu-close {
  display: flex;
  justify-content: flex-end;
  padding: 1rem 1.5rem 0 1.5rem;
}

.menu-close-button {
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  user-select: none;
  padding: 0 0.5rem;
  transition: color 0.2s ease;
}

.menu-close-button:hover {
  color: rgba(255, 255, 255, 0.6);
}



.site-navigation {
  background-color: var(--primary);
  position: fixed;
  top: 0;
  left: 0; /* Menü kommt von links */
  height: 100vh;
  width: 100%;
  max-width: 320px;
  z-index: 9999;
  transform: translateX(-100%); /* Start außerhalb des Bildschirms */
  transition: transform 0.3s ease-in-out;
  box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2); /* Schatten rechts */
  padding-top: 1rem;
  display: flex;
  flex-direction: column;
}

/* Wenn Menü geöffnet ist (z. B. über Klasse 'nav-open') */
.site-navigation.active,
body.nav-open .site-navigation {
  transform: translateX(0) !important;
}













/* Allgemeine Basis-Stile */

/* =========================
   Layoutbereiche Styling – Verfeinert
========================= */

/* Willkommenstext */
.willkommen-text {
  background-color: #f7f4f1;
  padding: 5rem 2rem;
  text-align: center;
}

.willkommen-text h1 {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.willkommen-text p {
  font-size: 1.2rem;
  color: var(--text);
  max-width: 850px;
  margin: 0 auto 1rem auto;
  line-height: 1.8;
}

/* Slider Abstand */
.slider-top {
  margin: 3rem 0;
}

/* Über uns */
.ueber-uns {
  background-color: #f1ede9;
  padding: 4rem 2rem;
  text-align: center;
}

.ueber-uns h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.ueber-uns p {
  max-width: 800px;
  margin: 0 auto;
  color: var(--text);
  font-size: 1.1rem;
  line-height: 1.7;
}

/* Text-Bild Kombination */
.text-bild {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem;
  padding: 4rem 2rem;
  background-color: var(--white);
  align-items: center;
}

.text-bild .bild {
  flex: 1 1 45%;
  text-align: center;
}

.text-bild .bild img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.text-bild .text {
  flex: 1 1 50%;
}

.text-bild h3 {
  color: var(--primary);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.text-bild p {
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.7;
  font-size: 1.1rem;
}

.text-bild .button-braun {
  margin-top: 1rem;
}

/* Leistungen */
.leistungen {
  background-color: #f5f2ef;
  padding: 5rem 2rem;
  text-align: center;
}

.leistungen h2 {
  font-size: 2.4rem;
  color: var(--primary);
  margin-bottom: 2rem;
}

.leistungen-grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.leistung {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.leistung:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.leistung img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.leistung h3 {
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.leistung p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
}


/* Info-Boxen */
.info-boxen {
  background-color: #eae5dd;
  padding: 4rem 2rem;
}

.info-boxen-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.info-boxen .box {
  flex: 1 1 320px;
  max-width: 400px;
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px; /* sorgt für gleichmäßige Höhe */
}

.info-boxen .box img {
  width: 80px;
  height: auto;
  margin: 0 auto 1rem auto;
}

.info-boxen h3 {
  color: var(--primary);
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}

.info-boxen p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.info-boxen .box {
  flex: 1 1 320px;
  max-width: 400px;
  background-color: var(--white);
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
}

/* Hover-Animation */
.info-boxen .box:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* Optional: sanftes Icon-Zoomen beim Hover */
.info-boxen .box img {
  width: 80px;
  height: auto;
  margin: 0 auto 1rem auto;
  transition: transform 0.3s ease;
}

.info-boxen .box:hover img {
  transform: scale(1.05);
}




/* Kontakt CTA */
.kontakt-cta {
  background-color: var(--secondary);
  color: var(--text-light);
  text-align: center;
  padding: 4rem 2rem;
}

.kontakt-cta h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.kontakt-cta p {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

/* Buttons */
.button-braun {
  background-color: var(--primary);
  color: var(--white);
  padding: 0.85rem 1.7rem;
  border-radius: 8px;
  display: inline-block;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.button-braun:hover {
  background-color: var(--primary);
  transform: scale(1.03);
}





/* =========================
   Mobile-Optimierung
   ========================= */
   @media (max-width: 768px) {
    /* Grundlegende Textgrößen und Abstände */
    body {
      font-size: 16px;
    }
  
    h1, h2, h3 {
      line-height: 1.3;
    }
  
    /* Willkommenstext */
    .willkommen-text {
      padding: 3rem 1.5rem;
    }
  
    .willkommen-text h1 {
      font-size: 2rem;
    }
  
    .willkommen-text p {
      font-size: 1rem;
    }
  
    /* Text mit Bild */
    .text-bild {
      flex-direction: column;
      padding: 2.5rem 1.5rem;
    }
  
    .text-bild .bild,
    .text-bild .text {
      flex: 1 1 100%;
      text-align: center;
    }
  
    .text-bild .text {
      margin-top: 1rem;
    }
  
    .text-bild h3 {
      font-size: 1.5rem;
    }
  
    .text-bild p {
      font-size: 1rem;
    }
  
    /* Leistungen */
    .leistungen {
      padding: 3rem 1.5rem;
    }
  
    .leistungen h2 {
      font-size: 2rem;
    }
  
    .leistungen-grid {
      grid-template-columns: 1fr;
    }
  
    .leistung {
      padding: 1.5rem;
    }
  
    /* Info-Boxen */
    /* Responsive Anpassung */
    @media (max-width: 768px) {
      .info-boxen-grid {
        align-items: center;
        gap: 1.5rem;
        padding: 0 1rem; /* Innenabstand links/rechts */
      }
    
      .info-boxen .box {
        width: 70%;
        max-width: 95%; /* Verhindert volle Breite am Rand */
        padding: 1.5rem 1rem;
        border-radius: 12px;
        min-height: auto;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
      }
    
      .info-boxen .box img {
        width: 56px;
        margin-bottom: 1rem;
      }
    
      .info-boxen h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
        text-align: center;
      }
    
      .info-boxen p {
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: center;
      }
    }
    
    
  
    /* Kontakt-CTA */
    .kontakt-cta {
      padding: 3rem 1.5rem;
    }
  
    .kontakt-cta h2 {
      font-size: 1.8rem;
    }
  
    .kontakt-cta p {
      font-size: 1rem;
    }
  
    /* Button */
    .button-braun {
      padding: 0.75rem 1.2rem;
      font-size: 1rem;
    }
  
    /* Bildanpassung */
    img {
      max-width: 100%;
      height: auto;
    }
  }
  











