/* Bereinigt: Desktop-Regeln konsolidiert, doppelte/konfliktierende Regeln entfernt */

/* Einheitlicher Innenabstand für alle Content-Sections */
.section-inner {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
  box-sizing: border-box;
}

/* Zielselector: sowohl IDs als auch optional vorhandene wrapper-klassen abdecken */
#ueberuns .about-content,

#ueberuns .about-content {
  display: flex;
  flex-direction: row;
  align-items: center; /* vorher flex-start: jetzt vertikal zum Bild zentriert */
  gap: 4rem;
}

.about-section .about-content,
#catering .about-content,
.catering-section .about-content {
  display: flex;
  flex-direction: row;
  align-items: center; /* vorher flex-start: jetzt vertikal zum Bild zentriert */
  gap: 4rem;
}

#ueberuns .about-content {
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center; /* vorher flex-start */
}
.about-section .about-content,
#catering .about-content,
.catering-section .about-content {
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center; /* vorher flex-start */
}

/* Bildcontainer */
#ueberuns .about-images-overlap {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  width: 320px; /* vorher 420px */
  max-width: 100%;
}
.about-section .about-images-overlap,
#catering .about-images-overlap,
.catering-section .about-images-overlap {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start; /* vorher center */
  justify-content: flex-start; /* vorher center */
  width: 320px; /* vorher 420px */
  max-width: 100%;
}

/* Einheitliches Bild: immer 5:4 und kleiner (max 320px) */
#ueberuns .about-img {
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  width: 100%;
  max-width: 320px; /* vorher 420px */
  min-width: 120px; /* vorher 180px */
  height: auto;
  display: block;
  margin-bottom: 0;
}
.about-section .about-img,
#catering .about-img,
.catering-section .about-img {
  aspect-ratio: 5/4;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
  width: 100%;
  max-width: 320px; /* vorher 420px */
  min-width: 120px; /* vorher 180px */
  height: auto;
  display: block;
}

/* Abstand nach unten für Bild, Text und Button gezielt steuern */
#ueberuns .about-img {
  margin-bottom: 0;
}
.about-section .about-img,
#catering .about-img,
.catering-section .about-img {
  margin-bottom: 30px;
}

#ueberuns .section-info,
.about-section .section-info,
#catering .section-info,
.catering-section .section-info {
  margin-bottom: 0;
}

/* Make the right column stack title, subtitle, CTA neatly */
#ueberuns .section-info,
.about-section .section-info,
#catering .section-info,
.catering-section .section-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem; /* etwas mehr Luft zwischen Titel und Text/CTA */
}

#ueberuns .section-info .catering-cta-row,
.about-section .section-info .catering-cta-row,
#catering .section-info .catering-cta-row,
.catering-section .section-info .catering-cta-row {
  align-self: flex-start; /* linksbündig */
  margin-top: 12px;
  margin-bottom: 0;
}

/* Sicherstellen: Button unter dem Text und linksbündig in der rechten Spalte */
#catering .section-info .catering-cta-row {
  align-self: flex-start;
  margin-top: 16px; /* etwas mehr Abstand zum Text */
}

.catering-section .catering-cta-row,
#catering .catering-cta-row {
  margin-bottom: 0;
}

/* Textbereich */
#ueberuns .section-info,
.about-section .section-info,
#catering .section-info,
.catering-section .section-info {
  flex: 1 1 320px;
  min-width: 0;
}

/* Trim default margins inside the text area to avoid extra bottom gap */
#ueberuns .section-info>*:first-child,
.about-section .section-info>*:first-child,
#catering .section-info>*:first-child,
.catering-section .section-info>*:first-child {
  margin-top: 0;
}

#ueberuns .section-info>*:last-child,
.about-section .section-info>*:last-child,
#catering .section-info>*:last-child,
.catering-section .section-info>*:last-child {
  margin-bottom: 0;
}

/* Tighten spacing between description and CTA button */
#ueberuns .section-info .catering-cta-row,
.about-section .section-info .catering-cta-row,
#catering .section-info .catering-cta-row,
.catering-section .section-info .catering-cta-row {
  margin-top: 12px;
  margin-bottom: 0;
}

/* BREAKPOINT: Mobile / Tablet */
@media (max-width: 900px) {

  /* Stapeln: Bild oben, Text unten */
  #ueberuns .about-content,
  .about-section .about-content,
  #catering .about-content,
  .catering-section .about-content {
    flex-direction: column;
    align-items: flex-start;
    /* Mobile bleibt linksbündig */
    gap: 1.25rem;
    /* kompakter und identisch */
  }

  /* Bilder auf Mobile: volle Breite innerhalb des Containers (mit Section-Padding) */
  #ueberuns .about-images-overlap,
  .about-section .about-images-overlap,
  #catering .about-images-overlap,
  .catering-section .about-images-overlap {
    width: 100%;
    /* vorher 92vw */
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    align-items: flex-start;
    justify-content: flex-start;
  }

  #ueberuns .about-img,
  .about-section .about-img,
  #catering .about-img,
  .catering-section .about-img {
    width: 100%;
    /* vorher 92vw */
    max-width: 100%;
    min-width: 120px;
    aspect-ratio: 6/4; /* Mobile: weniger hoch - war 5/4, jetzt 6/4 (etwa 20% weniger Höhe) */
    margin-bottom: 12px;
    /* etwas enger */
  }

  /* CTA in Catering linksbündig */
  #catering .catering-cta-row {
    justify-content: flex-start;
    /* vorher center */
  }

  /* ===== Über uns: mobile Marquee - Variable für Abstand unter der Beschreibung ===== */
  #ueberuns { 
    --about-desc-gap: 8px; /* Standard-Lücke unter der Beschreibung - reduziert von 12px */ 
  }

  /* Sichtbar nur mobil */
  #ueberuns .about-mobile-marquee-wrap {
    display: block;
    margin-top: var(--about-desc-gap, 8px);
    margin-bottom: 20px; /* MEHR ABSTAND zum Bild: war 0, jetzt 20px */
  }

  /* Full‑bleed exakt auf Viewport, unabhängig vom .section-inner Padding */
  #ueberuns .about-marquee {
    position: relative;
    left: calc(50% - 50svw);
    width: 100svw;
    margin: 0;
    transform: none;
    background: #39312A;
    color: #E5D5C7;
    padding: 8px 0;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
    overflow: hidden; /* Wichtig für die Animation */
  }

  #ueberuns .about-mobile-band {
    display: none;
  }

  #ueberuns .about-marquee-inner {
    display: flex;
    white-space: nowrap;
    animation: aboutMarquee var(--marquee-speed, 14s) linear infinite;
    width: fit-content;
  }

  #ueberuns .about-marquee-content {
    display: inline-flex;
    gap: var(--marquee-gap, 24px);
    padding-right: var(--marquee-gap, 24px);
    min-width: max-content;
    flex-shrink: 0;
  }

  #ueberuns .about-marquee-content span {
    display: inline-block;
    font-size: 16px;
    line-height: 1.2;
    letter-spacing: 0.02em;
  }

  /* Sicherstellen: keine erzwungene Mindest-/Vollhöhe der Section auf Mobil */
  #ueberuns.content-section {
    min-height: auto;
    height: auto;
  }
}

/* KEYFRAMES für die Marquee-Animation */
@keyframes aboutMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Bewegt sich um die Hälfte (wegen doppeltem Content) */
  }
}

/* Abstand unter den Sections immer 30px, außer wenn direkt ein .content-section folgt */
.content-section {
  margin-bottom: 0;
  margin-top: 0;
  padding: 40px 0 0 0;
}

/* Nur Über uns & Catering: oben 80px Padding auf Desktop */
#ueberuns.content-section,
#catering.content-section {
  padding-top: 110px; /* vorher 80px */
  padding-bottom: 60px; /* mehr Luft unten */
}

@media (max-width: 900px) {
  .content-section {
    padding-top: 0;
  }
}

/* Über uns & Catering: oben/unten 40px Padding */

#ueberuns .section-inner,
.about-section .section-inner {
  padding-top: 40px;
  padding-bottom: 40px;
}

#catering .section-inner,
.catering-section .section-inner {
  padding-top: 40px;
  padding-bottom: 24px;
  /* reduced bottom padding to avoid oversized gap */
}

@media (max-width: 900px) {

  #ueberuns .section-inner,
  .about-section .section-inner,
  #catering .section-inner,
  .catering-section .section-inner {
    padding-bottom: 16px;
  }
}

/* Abstand zwischen den Elementen innerhalb der Section: 20px */
#ueberuns .about-content>*,
.about-section .about-content>*,
#catering .about-content>*,
.catering-section .about-content>* {
  margin-bottom: 20px;
}

#ueberuns .about-content>*:last-child,
.about-section .about-content>*:last-child,
#catering .about-content>*:last-child,
.catering-section .about-content>*:last-child {
  margin-bottom: 0;
}

/* Button-Row in Catering: 20px Abstand nach oben, 0 nach unten */
.catering-section .catering-cta-row,
#catering .catering-cta-row {
  margin-top: 20px;
  margin-bottom: 0;
}

/* Zusätzliche Regeln für Überlappende Bilder (Catering mit mehreren Bildern) */
.catering-section .about-img-top,
#catering .about-img-top {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
}

.catering-section .about-img-bottom,
#catering .about-img-bottom {
  position: absolute;
  left: 20%;
  top: 18px;
  z-index: 1;
  filter: grayscale(0.25) brightness(0.95);
}

/* Animationen (optional) */
.catering-section .about-img,
#catering .about-img,
.about-section .about-img,
#ueberuns .about-img {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s cubic-bezier(.4, 0, .2, 1), transform 0.6s cubic-bezier(.4, 0, .2, 1);
}

@keyframes aboutImgTopIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes aboutImgBottomIn {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 901px) {

  #ueberuns .about-img,
  .about-section .about-img,
  #catering .about-img,
  .catering-section .about-img {
    margin-bottom: 0;
  }
}

/* Symmetrisch mehr Abstand oben/unten um die Sections (Desktop) */
@media (min-width: 901px) {
  #ueberuns.content-section,
  #catering.content-section {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
  }
}

/* Symmetrisch mehr Abstand auch mobil/tablet */
@media (max-width: 900px) {
  #ueberuns.content-section,
  #catering.content-section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* KEYFRAMES für die Marquee-Animation */
@keyframes aboutMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Bewegt sich um die Hälfte (wegen doppeltem Content) */
  }
}

/* FLOATING BEANS Animation für "Über uns" */
.floating-beans {
  position: relative;
  height: 60px;
  margin-top: 20px;
  overflow: hidden;
}

.bean {
  position: absolute;
  font-size: 16px;
  opacity: 0.6;
  animation: floatBeans 8s infinite ease-in-out;
}

.bean-1 {
  left: 10%;
  animation-delay: 0s;
}

.bean-2 {
  left: 50%;
  animation-delay: 2.5s;
}

.bean-3 {
  left: 80%;
  animation-delay: 5s;
}

@keyframes floatBeans {
  0%, 100% {
    transform: translateY(40px);
    opacity: 0;
  }
  50% {
    transform: translateY(0px);
    opacity: 0.6;
  }
}

/* FLOATING EVENTS Animation für "Catering" */
.floating-events {
  position: relative;
  height: 60px;
  margin-top: 20px;
  overflow: hidden;
}

.event-icon {
  position: absolute;
  font-size: 18px;
  opacity: 0.5;
  animation: floatEvents 10s infinite ease-in-out;
}

.icon-1 {
  left: 20%;
  animation-delay: 1s;
}

.icon-2 {
  left: 55%;
  animation-delay: 4s;
}

.icon-3 {
  left: 75%;
  animation-delay: 7s;
}

@keyframes floatEvents {
  0%, 100% {
    transform: translateY(50px) rotate(0deg);
    opacity: 0;
  }
  50% {
    transform: translateY(-10px) rotate(5deg);
    opacity: 0.5;
  }
}

/* Mobile: Gadgets kompakter */
@media (max-width: 900px) {
  .floating-beans,
  .floating-events {
    height: 40px;
    margin-top: 15px;
  }
  
  .bean,
  .event-icon {
    font-size: 14px;
  }
}

/* ÜBER UNS: Mobile-only Marquee-Balken - Default versteckt */
.about-mobile-marquee-wrap {
  display: none; /* Desktop ausgeblendet */
}

/* Globaler Reset für Browser-Default-Ränder (verhindert kleine linke Lücke) */
html,
body {
  margin: 0;
  padding: 0;
}

/* Ende Datei */

