/* ===== Globale Schriftart ===== */
html, body {
  font-family: "Cormorant Garamond", serif;
  font-weight: 400;
  margin: 0;
  padding: 0;
  background-color: #4f2516;   /* überall gleiche Hintergrundfarbe */
  color: #f0eee6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Logo-Bereich (Desktop-Basis) */
.container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 0;
  margin-top: 1%;
  gap: 16px;
}

.logo img {
  height: 150px;
  width: auto;
  margin-left: 4%;
}

.divider {
  width: 1px;
  background: #f0eee6;
  margin: 0 20px;
  align-self: stretch; /* volle Höhe zwischen Logo & Schriftzug */
}

/* ===== Navigation – Desktop/Tablet Basis ===== */
.navbar {
  position: relative;          /* Bezugsrahmen für Dropdown / Positionen */
  margin-top: 20px;
  padding: 10px 0;
}

/* Eine Menüleiste für Desktop & größere Tablets */
.navbar ul {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin: 0;
  padding: 0 60px;             /* Seitenrand rechts/links */
}

.navbar li {
  margin: 0;
  padding: 0;
}

.navbar a {
  text-decoration: none;
  color: #c9a98d;
  font-size: 18px;
  font-weight: 500;
  display: inline-block;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent; /* Platz für Hover-Unterstrich */
  line-height: 1.4;                      /* gute Klickfläche */
}

.navbar a:hover {
  color: #ffffff;
  transform: translateY(-3px);       /* schwebt leicht hoch (nur optisch) */
  border-bottom-color: #c9a98d;      /* Unterstrich in Akzentfarbe */
}

/* alte mobile Menü-Struktur (falls vorhanden) ausblenden */
.menu {
  display: none;
}

/* Checkbox für Hamburger: unsichtbar, aber über Label steuerbar */
.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

/* Hamburger-Icon – Standard: Desktop = ausblenden */
.hamburger {
  display: none;               /* nur in Media-Queries sichtbar */
  position: relative;
  width: 32px;
  height: 22px;
  margin: 0 auto;              /* kann für kleinere Screens genutzt werden */
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* ===================== KLEINERE DESKTOPS (bis ca. 1277 px) ===================== */

@media (max-width: 1277px) {
  .navbar ul {
    gap: 28px;          /* kleinere Abstände -> keine Lücken */
    padding: 0 32px;
  }

  .navbar a {
    font-size: 16px;
  }
}

/* Noch etwas kleiner (bis ca. 1150 px) – Schrift & Abstände weiter anpassen */
@media (max-width: 1150px) {
  .navbar ul {
    gap: 20px;
    padding: 0 24px;
  }

  .navbar a {
    font-size: 15px;
  }
}

/* ===================== MOBILE / HAMBURGER (bis 1007 px) ===================== */

@media (max-width: 1007px) {

  /* Abstand zur Logo-Zeile etwas reduzieren */
  .navbar {
    margin-top: 10px;
    padding: 0;
    text-align: center;          /* hilft, alles mittig zu halten */
  }

  /* Hamburger anzeigen – erscheint unter der Logo-Zeile */
  .hamburger {
    display: flex;
    margin-top: 14px;            /* Abstand zum Divider */
    margin-bottom: 0;
  }

  /* Desktop-Menü zunächst ausblenden und als Dropdown vorbereiten */
  .navbar ul {
    display: none;               /* wird nur per Checkbox eingeblendet */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin: 16px 0 0 0;
    padding: 12px 0 18px;
    background-color: #4f2516;   /* gleicher Hintergrund wie Seite */
    border-top: 1px solid #c9a98d;
  }

  .navbar li {
    width: 100%;
    text-align: center;
  }

  .navbar a {
    font-size: 18px;
    border-bottom: none;         /* Unterstrich-Hover hier weglassen */
    padding: 4px 0;
    transform: none;
  }

  .navbar a:hover {
    transform: none;
    border-bottom: none;
    color: #ffffff;
  }

  /* Wenn Checkbox aktiv -> Menü anzeigen (vereinheitlicht) */
  .nav-toggle:checked ~ ul {
    display: flex;
  }

  /* Hamburger zu "X" animieren, wenn geöffnet */
  .nav-toggle:checked + .hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle:checked + .hamburger span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle:checked + .hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ===== Hero Section (Desktop-Basis) ===== */
.hero-section {
  position: relative;
  height: 140vh;
  display: flex;
  align-items: center;
  justify-content: left;
  background-image: url("IMG/Home.JPG");
  background-repeat: no-repeat;
  background-size: cover;        /* sauber füllend */
  background-position: 60% 69%;  /* X% (links→rechts), Y% (oben→unten) */
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to bottom, rgba(79,37,22,1) 0%, rgba(79,37,22,0.95) 20%, rgba(201,169,141,0) 100%);
  z-index: 1;
}

.hero-section::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(79,37,22,1) 0%, rgba(79,37,22,0.9) 20%, rgba(201,169,141,0) 100%);
  z-index: 1;
}

/* Hero Text */
.hero-overlay {
  position: relative;
  z-index: 2;
  padding-left: 12%;
  margin-top: 55%;
}

.hero-overlay h1 {
  font-size: 3.2rem;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  margin: 0 0 12px 0; /* definierter Abstand nach unten */
  margin-top: 20%;
}

.welcome-text p {
  font-size: 1.2rem;
  max-width: 800px;
  margin-top: -10%;
  margin-left: 12%;
  color: #f0eee6;
  line-height: 1.8;
  text-align: justify;
  margin-top: 6px; /* enger an H1 */
}

/* Trennlinie unter der Navigation – wie Desktop */
.nav-divider {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #f0eee6;
  margin: 60px 0 0 0;   /* direkt unter der Navi */
  position: relative;
  left: 0;
  transform: none;
}

/* ===== Footer ===== */
.footer {
  width: 100%;
  background: #4f2516;
  margin-top: 3%;
  text-align: center;
  padding: 30px 0 20px;
  color: #f0eee6;
  font-size: 16px;
}

.footer-links {
  display: flex;
  justify-content: center; 
  gap: 120px; 
  margin-bottom: 20px;
}

.footer a {
  text-decoration: none;
  color: #f0eee6;
  font-weight: 500;
  font-size: 18px;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  margin: 0 8px; 
}

.footer a:hover { 
  color: #c9a98d; 
  text-decoration: underline; 
}

.copyright {
  font-size: 15px;
  color: #d6c4b3;
  margin-top: 20px;
  margin-bottom: 4%;
}

/* =================================================================== */
/* ======  DESKTOP / MITTLERE SCREENS  (<= 1500px)  ================== */
/* =================================================================== */
@media (max-width: 1500px) {
  /* Hintergrundfarbe sicherstellen */
  html, body { 
    background-color: #4f2516; 
    font-size: 16px; 
  }

  /* HEADER: Logo – Divider – Schriftzug nebeneinander wie Desktop */
  .container {
    display: flex;
    flex-direction: row;
    align-items: center;           /* vertikal mittig */
    justify-content: center;
    gap: 14px;
    padding: 14px 0;
    flex-wrap: nowrap;             /* kein Umbruch */
  }

  .container > * { 
    flex: 0 0 auto; 
  }

  .logo img { 
    height: 110px;                 /* etwas kleiner als ganz großes Desktop */
    width: auto; 
    margin-left: 0; 
  }

  .divider {
    display: block;
    width: 1px;
    height: 110px;                 /* gleiche Höhe wie Logo -> klarer Strich */
    background: #f0eee6;
    margin: 0 14px;
    flex-shrink: 0;
  }

  /* ===== Hero ===== */
  .hero-section {
    min-height: 100dvh;
    padding-top: 30vh;             /* Position von „Herzlich Willkommen“ */
    padding-bottom: clamp(18vh, 22dvh, 30vh);
    background-position: 50% 60%;
    background-size: cover;
  }

  .hero-overlay { 
    padding-left: 8%; 
    margin: 0;                     /* kein margin-top mehr */
    margin-top: 177vh;
  }

  .hero-overlay h1 { 
    font-size: 2.9rem; 
    margin: 0 0 10px 0;            /* nur Abstand nach unten */
  }

  .welcome-text p {
    font-size: 1.1rem;
    max-width: 82%;
    margin-left: 8%;
    margin-top: 18px;
    line-height: 1.75;
    text-align: justify;
    color: #f0eee6;
  }

  /* Footer */
  .footer-links { 
    gap: 48px; 
  }

  .footer a { 
    font-size: 17px; 
  }

  .copyright { 
    font-size: 14.5px; 
  }
}


/* =================================================================== */
/* ===========  TABLET / MITTLERE SCREENS  (<= 1323px)  ============== */
/* =================================================================== */
@media (max-width: 1323px) {
  /* Hintergrundfarbe sicherstellen */
  html, body { 
    background-color: #4f2516; 
    font-size: 16px; 
  }

  /* HEADER: Logo – Divider – Schriftzug nebeneinander wie Desktop */
  .container {
    display: flex;
    flex-direction: row;
    align-items: center;          /* vertikal mittig */
    justify-content: center;
    gap: 14px;
    padding: 14px 0;
    flex-wrap: nowrap;            /* kein Umbruch */
  }

  .container > * { 
    flex: 0 0 auto; 
  }

  .logo img { 
    height: 110px;                /* etwas kleiner als ganz großes Desktop */
    width: auto; 
    margin-left: 0; 
  }

  .divider {
    display: block;
    width: 1px;
    height: 110px;                /* GLEICHE Höhe wie Logo -> Strich ist sicher sichtbar */
    background: #f0eee6;
    margin: 0 14px;
    flex-shrink: 0;
  }


  /* ===== Hero ===== */
  .hero-section {
    min-height: 100dvh;
    padding-top: 30vh;                         /* Position von „Herzlich Willkommen“ */
    padding-bottom: clamp(18vh, 22dvh, 30vh);
    background-position: 50% 60%;
    background-size: cover;
  }

  .hero-overlay { 
    padding-left: 8%; 
    margin: 0;                                 /* kein margin-top mehr */
    margin-top: 177vh;
  }

  .hero-overlay h1 { 
    font-size: 2.9rem; 
    margin: 0 0 10px 0;                        /* nur Abstand nach unten */
  }

  .welcome-text p {
    font-size: 1.05rem;
    max-width: 82%;
    margin-left: 8%;
    margin-top: 18px;
    line-height: 1.75;
    text-align: justify;
    color: #f0eee6;
  }

  /* Footer */
  .footer-links { 
    gap: 48px; 
  }

  .footer a { 
    font-size: 17px; 
  }

  .copyright { 
    font-size: 14.5px; 
  }
}





/* =================================================================== */
/* ======================  TABLET  (<= 1023px)  ====================== */
/* =================================================================== */
@media (max-width: 1023px) {
  /* Hintergrundfarbe sicherstellen */
  html, body { 
    background-color: #4f2516; 
    font-size: 16px; 
  }

  /* HEADER: Logo – Divider – Schriftzug nebeneinander wie Desktop */
  .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 0;
    flex-wrap: nowrap; /* kein Umbruch */
  }

  .container > * { 
    flex: 0 0 auto; 
  }

  .logo img { 
    height: 110px; 
    width: auto; 
    margin-left: 0; 
  }

  .divider {
    display:block;
    width:1px;
    height:100%;
    background:#f0eee6;
    margin:0 14px;
    align-self:stretch;
  }

  /* ===== Hero ===== */
  .hero-section {
    min-height: 100dvh;
    padding-bottom: clamp(18vh, 22dvh, 30vh);
    background-position: 50% 60%;
    background-size: cover;
  }

  .hero-overlay { 
    padding-left: 8%; 
    margin-top: 170vh; 
  }

  .hero-overlay h1 { 
    font-size: 2.4rem; 
    margin: 10% 0 10px 0; 
  }

  .welcome-text p {
    font-size: 1.05rem;
    max-width: 82%;
    margin-left: 8%;
    margin-top: 18px;
    line-height: 1.75;
    text-align: justify;
    color: #f0eee6;
  }

  /* Footer */
  .footer-links { 
    gap: 48px; 
  }

  .footer a { 
    font-size: 17px; 
  }

  .copyright { 
    font-size: 14.5px; 
  }
}

/* =====================  SMARTPHONE  (<= 767px)  ==================== */
/* =================================================================== */
@media (max-width: 767px) {
  html, body { 
    background-color: #4f2516; 
    font-size: 15px; 
  }

  /* HEADER ebenfalls nebeneinander (kein Stapeln) */
  .container {
    display: flex;
    flex-direction: row;
    margin-top: 5%;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 14px 0;
    flex-wrap: nowrap;
  }

  .container > * { 
    flex: 0 0 auto; 
  }

  .logo img { 
    height: 110px; 
    width: auto; 
    margin-left: 0; 
  }

  .divider {
    display: block;
    width: 1px;
    height: 110px;        /* etwas kleiner auf Handy */
    background: #f0eee6;
    margin: 0 14px;
    flex-shrink: 0;
  }

  /* ===== Smartphone: Hamburger-Menü ===== */

  /* Navbar für Handy: Platz für Burger lassen */
  .navbar {
    padding: 10px 16px;
    position: relative;
  }

  /* Standard-Menü auf Handy: versteckt, wird vom Toggle geöffnet */
  .navbar ul {
    position: absolute;
    top: 100%;          /* direkt unter der Navbar */
    left: 0;
    right: 0;
    display: none;      /* wird vom Toggle eingeschaltet */
    flex-direction: column;
    align-items: center;        /* Links mittig */
    gap: 16px;
    margin: 0;
    padding: 16px 0 20px;
    background-color: #4f2516;  /* dein Braunton */
    border-top: 1px solid rgba(215, 207, 207, 0.526);
    z-index: 999;
  }

  .navbar li {
    width: 100%;
    margin-top: 2%;
  }

  .navbar a {
    display: block;
    width: 100%;
    text-align: center;         /* Text mittig */
  }

  /* Hamburger-Button nur auf Handy sichtbar – jetzt mittig unter dem Strich */
  .hamburger {
    display: flex;
    flex-direction: column;
    align-items: center;        /* Linien horizontal mittig */
    justify-content: center;    /* Linien vertikal mittig */
    position: absolute;
    left: 50%;                  /* mittig relativ zur Navbar */
    top: 50%;
    transform: translate(-50%, -50%);
    width: 34px;
    height: 34px;
    background: #4f2516;        /* braunes Quadrat */
    border-radius: 6px;
    cursor: pointer;
  }

  .hamburger span {
    width: 70%;
    height: 2px;
    background: #ffffff;        /* weiße Linien */
    border-radius: 999px;
  }

  .hamburger span + span {
    margin-top: 4px;            /* Abstand zwischen den Linien */
  }

  /* Checkbox-Hack: wenn angehakt => Menü zeigen */
  .nav-toggle:checked ~ ul {
    display: flex;
  }

  /* ===== Hero ===== */
  .hero-section {
    min-height: 100dvh;
    padding-bottom: clamp(20vh, 24dvh, 34vh);
    background-position: center center;
    background-size: cover;
  }

  .hero-overlay {
    padding-left: 6%;
    margin-top: 179vh;
  }

  .hero-overlay h1 {
    font-size: 1.9rem;
    margin: 0 0 8px 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.55);
  }

  .welcome-text p {
    font-size: 1rem;
    max-width: 94%;
    margin-left: 6%;
    margin-right: 6%;
    margin-top: 8px;
    line-height: 1.7;
    text-align: left;
    color: #f0eee6;
  }

  /* Footer untereinander */
  .footer-links {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
  }

  .footer a { 
    font-size: 16px; 
  }

  .footer { 
    padding: 32px 0 16px; 
  }

  .copyright {
    font-size: 13.5px;
    margin-top: 14px;
    margin-bottom: 3%;
    margin-left: 1px;
  }
}

/* =====================  EXTRA-SMALL SMARTPHONE (<= 480px)  ==================== */

@media (max-width: 480px) {

  html, body {
    background-color: #4f2516;
    font-size: 15px;
  }

  /* Header: Logo & Trenner – leicht verkleinert */
  .container {
    display: flex;
    flex-direction: row;
    margin-top: 5%;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 0;
  }

  .container > * {
    flex: 0 0 auto;
  }

  .logo img {
    height: 95px;
    width: auto;
    margin-left: 0;
  }

  .divider {
    display: block;
    width: 1px;
    height: 95px;
    background: #f0eee6;
    margin: 0 10px;
    flex-shrink: 0;
  }

  /* ===== Smartphone-Navigation ===== */

  .navbar {
    background-color: #4f2516;
    padding: 8px 0 14px;
    position: relative;
  }

  /* Menü, das ausgeklappt wird */
  .navbar ul {
    position: absolute;
    top: 100%;        /* direkt unter der Navbar */
    left: 0;
    right: 0;
    display: none;    /* wird durch Checkbox eingeblendet */
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin: 0;
    padding: 14px 0 18px;
    background-color: #4f2516;
    border-top: 1px solid rgba(215, 207, 207, 0.53);
    z-index: 999;
  }

  .navbar li {
    width: 100%;
  }

  .navbar a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 6px 0;
    font-size: 15.5px;
  }

  /* Hamburger bleibt zentriert (geerbt aus ≤767px) */

  .hamburger span {
    width: 70%;
    height: 2px;
    background: #ffffff;
    border-radius: 999px;
  }

  .hamburger span + span {
    margin-top: 4px;
  }

  /* Checkbox-Hack: Menü anzeigen, wenn angehakt */
  .nav-toggle:checked ~ ul {
    display: flex;
  }
}



/* ===== Über mich Bereich ===== */
.about-section {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 60px;
  gap: 50px;
  flex-wrap: nowrap;
}

/* Linke Spalte */
.about-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px; /* Abstand zwischen Bild und Icons */
  min-width: 360px;
}

/* Rechte Spalte */
.about-right {
  flex: 2;
  font-size: 18px;
  line-height: 1.6;
  max-width: 700px;
  margin-right: 9%;
  margin-top: -9px;
  color: #ffffff;
  text-align: justify;
}

.about-right strong {
  font-size: 20px;
  color: #ffffff;
}

/* Slideshow Container */
.about-slider {
  position: relative;
  width: 350px;
  height: 450px;
  overflow: hidden;
  border-radius: 18px;
}

/* Slides Wrapper */
.about-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Alle Bilder ausblenden */
.about-slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  display: none;
}

/* NUR das erste Bild anzeigen */
.about-slides img:first-child {
  display: block;
}


/* ===== Social Icons ===== */
.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 10px;
}

.social-icons a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
}

.social-icons svg {
  width: 25px;
  height: 25px;
  stroke: #ffffff;
  stroke-width: 1.4;
  transition: stroke 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover svg {
  stroke: #b07250;
  transform: scale(1.15);
}

/* ===== Zitatbereich ===== */
.quote-section {
  position: relative;
  width: 100%;
  height: 75vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150px;
  z-index: 2;
}

.quote-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 0%;
  z-index: 0;
}

.quote-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.quote-text {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
}

.quote-text h2 {
  font-size: 32px;
  font-style: italic;
  margin-bottom: 10px;
}

/* ========== TABLET (bis 1160px) ========== */
@media (max-width: 1160px) {
  .about-section {
    padding: 40px 32px;
    gap: 36px;
    flex-wrap: wrap; /* erlaubt Umbrechen */
    margin-bottom: 0; /* FIX 1: Entfernt den vertikalen Abstand zur Sektion darunter (.quote-section), um die sichtbare Linie zu verhindern */
  }

  .about-left {
    min-width: 320px; /* enger als Desktop */
    flex: 1 1 320px; /* darf schrumpfen */
  }

  .about-right {
    flex: 1 1 520px;
    max-width: 100%;
    margin-right: 0;
    font-size: 17px;
    line-height: 1.7;
    text-align: justify;
  }
  .about-right strong {
    font-size: 19px;
  }

  /* Slideshow etwas kleiner */
  .about-slider {
    width: 320px;
    height: 410px;
    border-radius: 16px;
  }
  .about-slides img {
    border-radius: 16px;
  }

  /* Social Icons */
  .social-icons {
    gap: 16px;
  }
  .social-icons a {
    width: 32px;
    height: 32px;
  }
  .social-icons svg {
    width: 22px;
    height: 22px;
  }

  /* Zitatbereich */
  .quote-section {
    height: 60vh;
  }
  .quote-text {
    max-width: 680px;
    padding: 16px;
  }
  .quote-text h2 {
    font-size: 28px;
  }
}

/* ========== SMARTPHONE (bis 767px) ========== */
@media (max-width: 767px) {
    .about-section {
        flex-direction: column; /* übereinander */
        align-items: center;
        padding: 28px 18px;
        gap: 22px;
    }

    .about-left {
        min-width: 0; /* verhindert Overflow */
        width: 100%;
        flex: 0 1 auto;
        gap: 18px;
    }

    .about-right {
        width: 90%;
        max-width: 680px;
        margin: 0;
        text-align: justify;
        font-size: 16px;
        line-height: 1.75;
        text-align: left; /* besser lesbar mobil */
    }
    .about-right strong {
        font-size: 18px;
    }

    /* Slideshow kompakt & zentriert */
    .about-slider {
        width: 100%; /* FIX 2: Auf 100% gesetzt, um den horizontalen Überlauf (Buckeln) zu verhindern (war 188vw) */
        max-width: 360px;
        height: auto; /* Stellt sicher, dass die Höhe flexibel ist */
        aspect-ratio: 360 / 460; /* Behält das ursprüngliche Seitenverhältnis bei (Breite/Höhe) */
        max-height: 460px;
        border-radius: 14px;
    }
    .about-slides img {
        border-radius: 14px;
    }

    /* Social Icons größer klickbar */
    .social-icons {
        gap: 14px;
        margin-top: 10px;
        margin-bottom: 35px;
    }
    .social-icons a {
        width: 38px;
        height: 38px;
    }
    .social-icons svg {
        width: 24px;
        height: 24px;
        stroke-width: 1.6;
    }

    /* Zitatbereich mobil */
    .quote-section {
        height: 56vh;
        /* Sicherstellen, dass die Zentrierung aktiv ist */
        display: flex; 
        align-items: center; /* Vertikal zentriert */
        justify-content: center; /* Horizontal zentriert */
    }
    .wave {
        /* FIX für den Strich: Höhe leicht erhöhen, um überlappende Ränder zu vermeiden */
        height: 120px; 
    }
    .quote-img {
        object-position: center; 
    }
    .quote-overlay {
        background: rgba(0, 0, 0, 0.35);
    }
    .quote-text {
        max-width: 92%;
        padding: 14px;
        /* Der Text ist jetzt vertikal zentriert durch 'align-items: center;' in '.quote-section' */
        margin-top: 9%;
    }
    .quote-text h2 {
        font-size: 22px;
        line-height: 1.35;
        margin-bottom: 8px;
    }
}












/* Systemische aufstellungsarbeit */
/* ====== Block 1: Systemische Aufstellungsarbeit ====== */
.block1 {
  font-size: 3.2rem;
  color: #fff;
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 40px 20px;
}

.block1 h1 {
  font-size: 3.0rem;
  color: #ffffff;
  margin-bottom: -20px;
  font-family: "Cormorant Garamond", serif;
}

.block1 p {
  font-size: 19px;
  margin-bottom: 20px;
  line-height: 1.9;
  color: #f0eee6;
  text-align: justify;
}

.block1 .content {
  display: flex;
  gap: 30px;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: -25px;
}

.block1 .content .text {
  flex: 2;
  margin-top: 5%;
  min-width: 290px;
  color: #f0eee6;
}

.block1 .content img {
  flex: 1;
  max-width: 400px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* ====== Block 2 ====== */
.block2 {
  max-width: 2000px; /* breiter, damit Text + Bild mehr Platz haben */
  margin: 0 auto 100px;
  padding: 40px 10px;
}

.block2 h2 {
  font-size: 2.0rem;
  color: #ffffff;
  font-family: "Cormorant Garamond", serif;
  font-weight: bold;
  margin-top: 11%;    
  margin-bottom: -10px;  
  margin-left: 467px;
}

.block2 p {
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.9;
  text-align: justify;
}

.block2 .content {
  display: flex;
  flex-direction: row-reverse; /* Bild links */
  gap: 120px; /* 👈 viel größerer Abstand */
  align-items: flex-start;
  flex-wrap: wrap;
}

.block2 .content .text {
  flex: 2;
  min-width: 280px;
  color: #f0eee6;
  margin-top: 43px;
}

/* ====== Block 3 ====== */
.block3 {
  max-width: 2000px;
  margin: 0 auto 80px;
  padding: 40px 20px;
  position: relative;
}

.block3 h2 {
  font-size: 2.0rem;
  color: #ffffff;
  font-family: "Cormorant Garamond", serif;
  font-weight: bold;
  margin-bottom: -10px;
}

.block3 p {
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.9;
  text-align: justify;
}

.block3 .content {
  display: flex;
  gap: 190px; /* 👈 deutlich größerer Abstand */
  align-items: flex-start;
  flex-wrap: wrap;
}

.block3 .content .text {
  flex: 2;
  min-width: 280px;
  color: #f0eee6;
}

/* ====== Block 4 ====== */
.block4 {
  max-width: 1400px;
  margin: 0 auto 80px;
  padding: 40px 20px;
}

.block4 h2 {
  font-size: 2.0rem;
  color: #ffffff;
  font-family: "Cormorant Garamond", serif;
  font-weight: bold;
  margin-bottom: 40px;
  margin-left: 468px;
}

.block4 p {
  font-size: 20px;
  margin-bottom: 20px;
  line-height: 1.9;
  text-align: justify;
}

.block4 .content {
  display: flex;
  flex-direction: row-reverse; /* Bild links */
  margin-top: -65px;
  gap: 120px; /* 👈 großer Abstand */
  align-items: flex-start;
  flex-wrap: wrap;
}

.block4 .content .text {
  flex: 2;
  margin-top: 44px;
  min-width: 280px;
  color: #f0eee6;
}


/* ===== Slideshow: weiche, lange Crossfades für 2 oder 3 Bilder ===== */
.slideshow {
  width: min(100%, 350px);
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
  border-radius: 18px;

  /* 👉 Gesamtdauer 1 kompletter Durchlauf (alle Bilder einmal) */
  --dur: 30s; /* z.B. 24s, 30s, 36s. Höher = länger sichtbar & sanfter */
}

.slideshow img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: inherit;
  opacity: 0;
  animation-fill-mode: both;
  will-change: opacity;
}

/* ===== 2 Bilder: sehr weiche Fades =====
   Fenster je Bild = 50% der Gesamtdauer.
   - Einblenden:   0%  → 10% (weich)
   - Halten:      10%  → 40%
   - Ausblenden:  40%  → 50% (weich)
   (Rest des Zyklus: 0)
*/
.slideshow.two img {
  animation: crossfade2 var(--dur) infinite;
  animation-timing-function: cubic-bezier(.45,.05,.55,.95); /* smooth ease-in-out */
}
.slideshow.two img:nth-child(1) { animation-delay: 0s; }
.slideshow.two img:nth-child(2) { animation-delay: calc(var(--dur) / 2); }

@keyframes crossfade2 {
  0%    { opacity: 0; }
  10%   { opacity: 1; }  /* sanft rein */
  40%   { opacity: 1; }  /* lange halten */
  50%   { opacity: 0; }  /* sanft raus */
  100%  { opacity: 0; }
}

/* ===== 3 Bilder: sehr weiche Fades =====
   Fenster je Bild = 33.333% der Gesamtdauer.
   - Einblenden:   0%   → 8%
   - Halten:       8%   → 26%
   - Ausblenden:  26%   → 33.333%
   (Rest des Zyklus: 0)
*/
.slideshow.three img {
  animation: crossfade3 var(--dur) infinite;
  animation-timing-function: cubic-bezier(.45,.05,.55,.95); /* smooth ease-in-out */
}
.slideshow.three img:nth-child(1) { animation-delay: 0s; }
.slideshow.three img:nth-child(2) { animation-delay: calc(var(--dur) / 3); }
.slideshow.three img:nth-child(3) { animation-delay: calc(2 * var(--dur) / 3); }

@keyframes crossfade3 {
  0%        { opacity: 0; }
  8%        { opacity: 1; }   /* sanft rein (länger) */
  26%       { opacity: 1; }   /* lange halten */
  33.333%   { opacity: 0; }   /* sanft raus (länger) */
  100%      { opacity: 0; }
}

/* Bewegungen für empfindliche Nutzer reduzieren */
@media (prefers-reduced-motion: reduce) {
  .slideshow img { animation: none; opacity: 1; }
  .slideshow img:not(:first-child) { display: none; }
}





/* === Spezielle Anpassungen je Block === */
/* Block 2 Bilder (z. B. nach oben verschieben) */
#slideshow2 img {
  object-position: center top;  /* oben zentrieren */
  margin-top: 2%;
}

/* Block 3 Bilder (z. B. nach unten verschieben) */
#slideshow3 img {
  object-position: center bottom; /* unten zentrieren */
  margin-top: 13%;
}

/* Block 4 Bilder (z. B. nach links verschieben) */
#slideshow4 img {
  object-position: left center; /* links zentrieren */
  margin-top: 12%;
}




/* ===== Footer (neue Klassen) ===== */
/* ===== Footer (fix & sichtbares Copyright) ===== */
.tiw-footer {
  width: 100%;
  background: #4f2516;
  text-align: center;
  padding: 28px 16px 24px;
  color: #f0eee6;
  font-size: 16px;
  position: relative;
}

/* Links in einer Zeile – optisch etwas nach unten */
.tiw-legal {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  position: relative;
  transform: translateY(14px);
}

.tiw-legal-link {
  text-decoration: none;
  color: #f0eee6;
  font-weight: 500;
  font-size: 18px;
  transition: color .3s ease, text-decoration .3s ease;
}
.tiw-legal-link:hover { color: #c9a98d; text-decoration: underline; }

/* Copyright – garantiert andere Farbe */
.tiw-footer .tiw-copy {
  margin: 0;
  margin-bottom: -12%;
  margin-left: 38%;
  position: relative;
  transform: translateY(24px);
  font-size: 15px;
  color: #c9a98d !important; /* gut lesbar & setzt sich durch */
}



/* Falls du weiterhin einen eigenen Divider nutzt, so definieren (beeinflusst die Höhe nicht) */
.tiw-divider {
  height: 1px;
  margin: 0;
  margin-bottom: 3%;
  display: block;
  width: 1900px;                 /* immer volle Browserbreite */
  background-color: #f0eee6;
  position: relative;
  left: 50%;
  transform: translateX(-50%);  /* sorgt dafür, dass der Strich nicht „übersteht“ */
}




/* Copyright-Zeile – zentriert, ohne negative Margins */
.tiw-copy {
  margin: 6px 20px 0px 408px;
  font-size: 15px;
  color: #542b07;   /* etwas heller/wärmer als Text, wie im Screenshot */
}

/* ========== TABLET (bis 1023px) ========== */
@media (max-width: 1023px) {
  /* ---------- Block 1 ---------- */
  .block1 {
    font-size: 2.6rem;
    margin: 0 auto 60px;
    padding: 32px 16px;
  }
  .block1 h1 {
    font-size: 2.4rem;
    margin-bottom: -10px;
    margin-left: -10%;
  }
  .block1 p {
    font-size: 18px;
    line-height: 1.8;
  }
  .block1 .content {
    gap: 24px;
    align-items: stretch;
  }
  .block1 .content img {
    max-width: 340px;
  }
  .block1 .content .text {
    margin-top: 2%;
    min-width: 260px;
  }

  /* ---------- Block 2 ---------- */
  .block2 {
    max-width: 1200px;
    margin: 0 auto 80px;
    padding: 32px 12px;
  }
  .block2 h2 {
    font-size: 1.9rem;
    margin-top: 6%;
    margin-bottom: 0;
    margin-left: 0;         /* fix: keine harte linke Einrückung */
    text-align: center;     /* stattdessen sauber zentrieren */
  }
  .block2 p {
    font-size: 19px;
    line-height: 1.85;
  }
  .block2 .content {
    gap: 48px;              /* deutlich kleiner als 120px */
    align-items: center;
  }
  .block2 .content .text {
    margin-top: 20px;
    min-width: 260px;
  }

  /* ---------- Block 3 ---------- */
  .block3 {
    max-width: 1200px;
    margin: 0 auto 70px;
    padding: 32px 16px;
  }
  .block3 h2 {
    font-size: 1.9rem;
    margin-bottom: 0;
    text-align: center;
  }
  .block3 p {
    font-size: 19px;
  }
  .block3 .content {
    gap: 56px;              /* statt 190px */
    align-items: center;
  }
  .block3 .content .text {
    min-width: 260px;
  }

  /* ---------- Block 4 ---------- */
  .block4 {
    max-width: 1200px;
    margin: 0 auto 70px;
    padding: 32px 16px;
  }
  .block4 h2 {
    font-size: 1.9rem;
    margin-bottom: 20px;
    margin-left: 0;         /* fix: keine harte linke Einrückung */
    text-align: center;
  }
  .block4 p {
    font-size: 18px;
    line-height: 1.85;
  }
  .block4 .content {
    margin-top: -20px;
    gap: 48px;
    align-items: center;
  }
  .block4 .content .text {
    margin-top: 16px;
    min-width: 260px;
  }

  /* ---------- Slideshow ---------- */
  .slideshow {
    width: min(100%, 300px);
    border-radius: 16px;
  }
  #slideshow2 img { margin-top: 0; }
  #slideshow3 img { margin-top: 8%; }
  #slideshow4 img { margin-top: 6%; }

  /* ---------- Footer ---------- */
  .tiw-footer {
    padding: 24px 16px 20px;
    font-size: 15.5px;
  }
  .tiw-legal {
    gap: 18px;
    transform: translateY(10px);
  }
  .tiw-legal-link {
    font-size: 17px;
  }
  .tiw-footer .tiw-copy {
    transform: translateY(18px);
    margin: 6px 0 0 0;      /* weg von fixen %-Werten */
    text-align: center;
  }
  .tiw-divider {
    width: 100%;
    margin-bottom: 32px;
    left: 0;
    transform: none;
  }
}
/* ========== SMARTPHONE (bis 767px) ========== */
@media (max-width: 767px) {

  /* Gemeinsame Einstellungen für alle Absätze in Block 1–4 */
  .block1 p,
  .block2 p,
  .block3 p,
  .block4 p {
    font-size: 16.5px;
    line-height: 1.75;
    text-align: justify;          /* Blocksatz */
    text-justify: inter-word;     /* feinere Verteilung (wo unterstützt) */
    hyphens: auto;                /* Silbentrennung */
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    overflow-wrap: break-word;    /* lange Wörter umbrechen statt riesiger Lücken */
  }

  /* ---------- Block 1 ---------- */
  .block1 {
    font-size: 2.1rem;
    margin: 0 auto 40px;
    padding: 24px 14px;
  }
  .block1 h1 {
    font-size: 1.9rem;
    margin-top: 50px;
    margin-left: 0;
    margin-bottom: 5px;
    text-align: center;
  }
  .block1 p {
    /* Überschrift bleibt mittig, nur der Text rückt etwas nach rechts */
    margin-left: 7%;
    margin-right: 7%;
    max-width: 88%;
  }
  .block1 .content {
    gap: 18px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 0;
    text-align: justify;
  }
  .block1 .content img {
    width: 100%;
    max-width: 420px;
  }
  .block1 .content .text {
    margin-top: 0;
    min-width: 0;
  }

  /* ---------- Block 2 ---------- */
  .block2 {
    margin: 0 auto 56px;
    padding: 22px 12px;
  }
  .block2 h2 {
    font-size: 1.6rem;
    margin-top: 28px;
    margin-bottom: 8px;
    text-align: center;
  }
  .block2 p {
    /* nur noch Abstände, Blocksatz kam oben schon über die Sammel-Regel */
    margin-left: 7%;
    margin-right: 0;
  }
  .block2 .content {
    flex-direction: column;       /* stapeln */
    gap: 18px;
    align-items: center;
  }
  .block2 .content .text {
    min-width: 0;
    margin-bottom: 20px;
    margin-top: 0;
  }

  /* ---------- Block 3 ---------- */
  .block3 {
    margin: 0 auto 56px;
    padding: 22px 12px;
  }
  .block3 h2 {
    font-size: 1.6rem;
    margin-top: -10px;
    margin-bottom: 8px;
    text-align: center;
  }
  .block3 p {
    margin-left: 7%;
    margin-right: 0;
  }
  .block3 .content {
    flex-direction: column;
    gap: 18px;
    align-items: center;
  }
  .block3 .content .text {
    min-width: 0;
  }

  /* ---------- Block 4 ---------- */
  .block4 {
    margin: 0 auto 56px;
    padding: 22px 12px;
  }
  .block4 h2 {
    font-size: 1.6rem;
    margin-top: -10px;
    margin-bottom: 2px;
    margin-left: 0;
    text-align: center;
  }
  .block4 p {
    margin-left: 7%;
    margin-right: 0;
  }
  .block4 .content {
    flex-direction: column;       /* stapeln */
    gap: 18px;
    margin-top: 0;
    align-items: center;
  }
  .block4 .content .text {
    margin-top: 0;
    margin-bottom: 20px;
    min-width: 0;
  }

  /* ---------- Slideshow ---------- */
  .slideshow {
    width: min(100%, 260px);
    border-radius: 14px;
  }
  #slideshow2 img,
  #slideshow3 img,
  #slideshow4 img {
    margin-top: 0;                /* keine versetzten Crops mobil */
    object-position: center;
  }

  /* ---------- Footer ---------- */
  .tiw-footer {
    padding: 18px 12px 16px;
    font-size: 15px;
  }
  .tiw-legal {
    flex-direction: row;       /* nebeneinander */
    gap: 10px;
    margin-right: 5%;
    transform: none;
    margin-top: 6px;
  }
  .tiw-legal-link {
    font-size: 16px;
  }
  .tiw-footer .tiw-copy {
    transform: none;
    margin: 10px 0 0 0;
    margin-bottom: -4%;
    margin-left: 2%;
    text-align: center;
    font-size: 14px;
  }
  .tiw-divider {
    width: 131%;
    margin: 38px 0;
    left: -10%;
    transform: none;
  }
}





/*EmKö*/
.collage {
  margin-top: 8%;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  position: relative;
}


.collage img {
  position: relative;
  z-index: 1;
  border-radius: 12px;
}


/* Gemeinsame Basis-Einstellungen */
.collage img {
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Einzelne Einstellungen pro Bild */
.bild1 {
  width: 380px;
  height: 350px;
  position: relative;
}

.bild2 {
  width: 364px;
  height: 350px;
  position: relative;
}

.bild3 {
  width: 384px;
  height: 350px;
  position: relative;
}

.bild4 {
  width: 384px;
  height: 350px;
  position: relative;
}

.bild5 {
  width: 380px;
  height: 350px;
  position: relative;
}


.text-bereich strong {
  font-weight: bold;
  color: #ffffff;
}

.text-bereich {
  max-width: 1150px;
  margin: 9% auto 5%;
  text-align: left;
}

.text-bereich p {
  font-size: 20px;
  line-height: 1.9;      /* angenehme Lesbarkeit */
  color: #ffffff;
  margin: 0 0 18px;      /* knapper Absatzabstand */
  text-align: justify;
}

/* Überschriften */
.text-bereich .sub1,
.text-bereich .sub2,
.text-bereich .sub3,
.text-bereich .sub4 {
  color: #ffffff;
  font-weight: 700;
  margin: 102px 0 32px;   /* Abstand ober/unter der Überschrift */
}

.text-bereich .sub1 { font-size: 44px; }
.text-bereich .sub2,
.text-bereich .sub3,
.text-bereich .sub4 { font-size: 28px; }


/* ========== TABLET (bis 1023px) ========== */
@media (max-width: 1023px) {
  /* Collage: in mehrere Zeilen umbrechen, gleichmäßige Kacheln */
  .collage {
    margin-top: 6%;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0 16px;
  }

  /* Starre Pixel-Maße der Einzelbilder auf flexible Kacheln setzen */
  .collage img,
  .bild1, .bild2, .bild3, .bild4, .bild5 {
    flex: 1 1 calc(33.333% - 12px);
    max-width: calc(33.333% - 12px);
    width: auto;                 /* überschreibt fixe Breite */
    height: 230px;               /* einheitliche Kachelhöhe */
    object-fit: cover;           /* sauberer Zuschnitt */
    border-radius: 12px;
  }

  /* Textbereich etwas schmaler + Typo entspannter */
  .text-bereich {
    max-width: 900px;
    margin: 6% auto 5%;
    padding: 0 16px;
  }
  .text-bereich p {
    font-size: 19px;
    line-height: 1.85;
    text-align: justify;
  }

  /* Überschriften kompakter */
  .text-bereich .sub1 { font-size: 40px; margin: 60px 0 26px; }
  .text-bereich .sub2,
  .text-bereich .sub3,
  .text-bereich .sub4 { font-size: 26px; margin: 44px 0 22px; }
}


/* ========== SMARTPHONE (bis 767px) ========== */
@media (max-width: 767px) {
  /* Collage: 2-Spalten-Grid für ruhiges Layout */
  .collage {
    margin-top: 7%;
    margin-bottom: 19px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 0 12px;
  }

  /* Alle starre Maße vollständig auf responsive Setzen */
  .collage img,
  .bild1, .bild2, .bild3, .bild4, .bild5 {
    width: 100% !important;
    max-width: 100%;
    height: 40vw;                /* dynamische Höhe relativ zur Breite */
    min-height: 150px;           /* nie zu klein */
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.18);
  }

  /* 🔴 Nur die ersten 4 anzeigen, ab dem 5. alles ausblenden */
  .collage > :nth-child(n+5) {
    display: none;
  }

  .collage img, .bild1, .bild2, .bild3, .bild4, .bild5 {
    height: 40vw;
  }

  /* Textbereich mobile: volle Breite mit Rand, bessere Lesbarkeit */
  .text-bereich {
    max-width: 88%;             /* etwas breiter → weniger Umbrüche */
    margin: 8% auto 6%;
    padding: 0 10px;
  }

  .text-bereich p {    
    font-size: 17px;            /* minimal kleiner */
    line-height: 1.65;          /* engerer Zeilenabstand */
    margin: 0 0 12px;           /* weniger Abstand nach unten */
    margin-left: 2%;
    margin-right: 2%;   
    text-align: justify;        /* Blocksatz */
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    overflow-wrap: break-word;  /* lange Wörter umbrechen statt Riesenlücken */
  }

  /* Überschriften mobil */
  .text-bereich .sub1 {
    font-size: 32px;
    margin: 42px 0 18px;
    margin-left: 2%;
  }
  .text-bereich .sub2,
  .text-bereich .sub3,
  .text-bereich .sub4 {
    font-size: 24px;
    margin: 26px 0 14px;
    margin-top: 11%;
    margin-left: 2%;
  }
}