/* === 01 Fonts & Reset === */
/* ############################################### */
/* ##########  CONTENT  ########## */
/* ############################################### */

@font-face {
    font-family: 'Metropolis-Light';
    src: url('fonts/Metropolis/Metropolis-light.woff2') format('woff2'),
         url('fonts/Metropolis/Metropolis-light.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Metropolis-Thin';
    src: url('fonts/Metropolis/Metropolis-thin.woff2') format('woff2'),
         url('fonts/Metropolis/Metropolis-thin.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Metropolis-ExtraLight';
    src: url('fonts/Metropolis/Metropolis-ExtraLight.woff2') format('woff2'),
         url('fonts/Metropolis/Metropolis-ExtraLight.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
}
/* === 02 Root & Base === */body {
    font-family: 'Metropolis-Light', sans-serif;
    font-weight: 200;
    line-height: 1.0;
    color: #000000;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
/* === 03 Layout === */
/* ############################################### */
/* ##########  FOOTER  ########## */
/* ############################################### */

.site-footer {
  margin-top: auto; /* Footer rutscht ans Ende der Seite */
  position: static; /* sicherstellen, dass kein fixed o.ä. greift */
}
.page-wrapper {
    flex: 1;
}
h1, h2, h3, h4, h5, h6 {
    font-weight: 200;
}
/* Navigation *//* NAV: Desktop als “Pill” in der Mitte *//* === 04 Navigation === */
/* ############################################### */
/* ##########  NAVIGATION  ########## */
/* ############################################### */

.nav-container {
  width: 70vw;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 1.5rem;
  background: rgba(245,235,221,.95);
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(245, 235, 221, 0.95);
  z-index: 1000;
  padding: 1.5rem 0;
  transition: transform 0.01s ease, background 0.01s ease;
  transform: translateY(0);
}
/* Beim Scrollen minimal transparenter */nav.scrolled .nav-container {
  background: rgba(245,235,221,.75);
}
/* Mobile: volle Breite, kein “Pill” *//* === 90 Media Queries === */@media (max-width: 1000px) {
  .nav-container {
    width: 100vw;
    border-radius: 0;
    padding: .75rem 1rem;
  }


#navbar {
  background: rgba(0, 0, 0, 0.7);   /* halbtransparent dunkel */
  color: #fff;                       /* Schrift in Weiß */
}


}
.hamburger {
  display: none;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  color: #000;        /* <-- schwarze Farbe */
}
/* Hide hamburger on desktop, show on mobile */.hamburger { display: none; cursor: pointer; font-size: 28px; line-height: 1; }
@media (max-width: 1000px) {
  .hamburger { display: block; }

}
/* Make the full-width nav bar transparent; the pill background stays on .nav-container */nav { background: transparent !important; box-shadow: none !important; }
.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}
.nav-container img {
  height: 45px;          /* oder deine Wunschgröße */
  margin-top: .25rem;    /* optional, für mehr Luft */
}
.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #000000;
    text-decoration: none;
}
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}
.nav-links a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    font-weight: 700;   /* macht die Links fett */
}
.nav-links a:hover {
    color: #D4A574;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #D4A574;
    transition: width 0.3s ease;
}
.nav-links a:hover::after {
    width: 100%;
}
/* mehr Abstand nach dem letzten Nav-Element */.nav-links li:last-child {
  margin-right: 2rem;   /* Abstand nach rechts */
}
/* Pill-Nav mit deutlicherem Kontrast */
.nav-container {
  width: 70vw;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .5rem 1.5rem;
  background: #EADFD0;               /* neu: hellere Creme */
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  border-radius: 999px;
}
nav.scrolled .nav-container {
  background: rgba(234, 223, 208, .92); /* leicht transparenter beim Scrollen */
}
/* Links auf hell */.nav-links a { color: #3B2E2A; }
.nav-links a::after { background: #D4A574; }
/* ——— NAV: Logo näher an den linken Rand ——— */.nav-container {
  /* vorher: padding: .5rem 1.5rem; (mehrfach definiert) */
  padding: .4rem .75rem; /* deutlich weniger links/rechts */
}
.logo img,
.nav-container img {
  display: block;      /* entfernt eventuelle Inline-Lücke */
  /* height bleibt wie bei dir, wird vom Inline-Style am <img> ggf. überschrieben */
}
/* Standard: auf Mobile ausgeblendet */@media (max-width: 1000px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: #EADFD0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    text-align: center;
  }


  .nav-links.open {
    display: flex;
  }


  .nav-links li {
    margin: 0.5rem 0;
  }

}
/* Ganz oben / außerhalb eines Media-Querys */.close-nav {
  display: none; /* Standard = Desktop ausgeblendet */
}
/* Nur auf Geräten bis 768 px Breite anzeigen */@media screen and (max-width: 1000px) {
  .close-nav {
    display: block !important;   /* erzwingt Anzeige auf Mobile */
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    font-size: 2rem;
    font-weight: 300;
    color: #000;
    cursor: pointer;
    line-height: 1;
    z-index: 1100;
  }

}
/* Hero Section *//* === 05 Hero === */.hero {
    background-image: url('https://www.icf-bielefeld.de/wp-content/uploads/sites/40/2023/08/Cafe-Joy-1280x700.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 60vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
/* Mobile: scroll statt fixed */@media (max-width: 1000px) {
  .hero { background-attachment: scroll; }

}

/* === 99 Misc === */@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }

    50% { transform: translateX(100%); }

}
.hero-content {
    z-index: 2;
    position: relative;
    padding-top: 150px;
}
.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
    font-weight: 700;  /* fett */
    line-height: 1.3;
}
.hero p {
  font-size: 1.0rem;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease 0.3s both;
  font-weight: 700;
  line-height: 1.5;
}
/* korrekt: eigenes Media Query */@media (max-width: 768px) {
  .hero h1 { font-size: 2.0rem; }

  .hero p  { font-size: .95rem; }

}
/* Hero linksbündig unter Navigation/Logo */.hero { justify-content: flex-start; text-align: left; }
.hero-content {
  padding-top: 160px;               /* Platz für fixe Nav */
  width: 70vw;                      /* wie .nav-container */
  max-width: 1200px;
  margin: 0 auto;                   /* mittig, Text dennoch linksbündig */
}
.hero h1, .hero p { text-align: left; }
/* ==== HERO: Mobile-Fix für Background ==== */@media (max-width: 768px) {
  .hero {
    background-attachment: scroll; /* statt fixed */
  }

}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }

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

}
/* Sections */section {
    padding: 5rem 0;
    position: relative;
    scroll-margin-top: 100px;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #000000;
    position: relative;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: #D4A574;
}
/* About Section *//* === 09 About === */.about { background: #F5F1EB; position: relative; }
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}
.about-text { font-size: 1.1rem; line-height: 1.8; }
.about-image {
    height: 400px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
}
.about-image::before {
    content: '☕';
    position: absolute;
    font-size: 8rem;
    opacity: 0.1;
    animation: pulse 3s infinite;
    z-index: 1;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }

    50% { transform: translate(-50%, -50%) scale(1.1); }

}
/* Menu Section *//* === 08 Menu === */.menu { background: white; position: relative; }
.menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 154, 122, 0.05);
    pointer-events: none;
}
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}
.menu-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #F5F1EB;
}
.menu-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(245, 235, 221, 0.1);
    transition: left 0.5s ease;
}
.menu-item:hover::before { left: 100%; }
.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}
.menu-item h3 {
    color: #000000;
    margin-bottom: 2rem;
    font-size: 1.3rem;
}
.menu-item .price {
    float: right;
    font-weight: bold;
    color: #000000;
}
.menu-item p {
    display: flex;
    align-items: baseline;
    margin-bottom: 0.8rem;
}
.menu-item .dots {
    flex-grow: 1;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.5);
    height: 0;
    margin: 0 10px;
    align-self: baseline;
}
.menu-item .price { white-space: nowrap; }
.menu-item p:last-child { border-bottom: none; margin-bottom: 0; }
.menu-stack .menu-item:first-child { margin-bottom: 2rem; }
/* Ambiance Section *//* === 07 Ambiance === */.ambiance { background: white; color: black; position: relative; }
.ambiance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 2rem;
}
.ambiance-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.ambiance-item.visible { opacity: 1; transform: translateY(0); }
.ambiance-item:nth-child(even) { direction: rtl; }
.ambiance-item:nth-child(even) .ambiance-text { direction: ltr; }
.ambiance-image {
    height: 300px;
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}
.ambiance-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 15px;
}

.ambiance-text h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #000000; }
.ambiance-text p { font-size: 1.1rem; line-height: 1.6; }
/* Heart Section *//* === 10 Heart === */.heart { background: #EACFC2; color: black; position: relative; }
.heart-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-top: 2rem;
}
.heart-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}
.heart-item.visible { opacity: 1; transform: translateY(0); }
.heart-item:nth-child(even) { direction: rtl; }
.heart-item:nth-child(even) .ambiance-text { direction: ltr; }
.heart-image {
    height: 624px; /* 520px + 20% */
    border-radius: 15px;
    position: relative;
    overflow: hidden;
}

.heart-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* Bild füllt den Container vollständig */
    object-position: bottom;  /* Fokus nach oben, damit unten nichts abgeschnitten wird */
    border-radius: 15px;
}

.heart-text h3 { font-size: 1.5rem; margin-bottom: 1rem; color: #000000; }
.heart-text p { font-size: 1.1rem; line-height: 1.6; }
/* Team Section *//* === 11 Team === */.team { background: #eeeeee; position: relative; }
.team-header { text-align: center; margin-bottom: 3rem; }
.team-photo {
    width: 100%;
    max-width: 800px;
    border-radius: 15px;
    margin: 0 auto 3rem;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.team-photo:hover::before { transform: translateX(100%); }
.team-photo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 15px;
    position: relative;
    z-index: 0;
}
.team-photo::before {
    content: none;
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 1;
    font-size: 6rem;
    opacity: 0.2;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;  /* Karten mittig unter dem Bild */
    gap: 0.5rem;
}
.team-member {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #E8E1D8;
    transform: scale(0.8);        /* 0.8 = 80 % → also 20 % kleiner */
    transform-origin: center top; /* Skalierung zentriert */
    max-width: 260px;
    margin: 0 auto;
}
.team-member:hover { transform: translateY(-10px); }
.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom;
    position: relative;
    overflow: hidden;
}

.team-info { padding: 1rem; text-align: center; }
.team-info h3 { color: #000000; margin-bottom: 0.5rem; }
.team-info p { color: #000000; }
/* === 12 Taste Banner === */.taste-banner {
    background: #F5EBDD;
    padding: 2.5rem 0;
    overflow: hidden;
    width: 100%;     /* neu */
    margin: 0;       /* neu */
}
.taste-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  width: max-content;
  animation: taste-marquee 35s linear infinite;
  /* Start etwas mittig ausrichten */
  transform: translateX(0);
  white-space: nowrap;      /* <-- verhindert Zeilenumbruch */
  flex-wrap: nowrap;        /* sicherstellen, dass nichts umbrechen darf */
  display:flex;
}
.taste-item {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0 .5rem;
  white-space: nowrap;
  flex: 0 0 auto;
}
.taste-logo { height: 48px; width: auto; display: block; }
.taste-text { letter-spacing: .35em; font-size: 1.1rem; }
@keyframes taste-marquee {
  0%   { transform: translateX(0); }

  100% { transform: translateX(-50%); }
   /* ggf. an Anzahl Items anpassen */
}
@media (max-width: 768px) {
  .taste-text { letter-spacing: .25em; }

  .taste-track { animation-duration: 35s; }

}
/* Optional: Animation beim Hover pausieren */.taste-banner:hover .taste-track { animation-play-state: paused; }
/* Contact Section *//* === 13 Contact === */.contact { background: #F5EBDD; color: black; position: relative; }
.contact-content {
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 320px));
  gap: 2rem;
  justify-content: center;   /* Zentriert die drei Spalten in der Mitte */
  justify-items: start;      /* Inhalt in jeder Spalte links ausrichten */
  align-items: start;        /* Oben beginnen lassen */
  max-width: 1100px;
  margin: 0 auto;
}
@media (min-width: 901px) {
  .contact-content {
    display: grid;
    grid-template-columns: repeat(3, 320px) !important; /* statt 1fr */
    gap: 2rem;
    justify-content: center;    /* zentriert die 3er-Gruppe unter der Überschrift */
    align-items: start;
    margin-inline: auto;
  }


  .contact-info {
    width: 320px;               /* echte Kartenbreite */
    text-align: left;           /* Text bleibt links */
  }

}
@media (max-width: 900px) { .contact-content { grid-template-columns: 1fr 1fr; justify-items: start; }
 }
 @media (max-width: 600px) { .contact-content { grid-template-columns: 1fr; justify-items: stretch; }
 }
 .contact-info h3 { color: #000000; margin-bottom: 1rem; }
.contact-info p { margin-bottom: 0.5rem; }
.contact-info h3,
.contact-info p,
.contact-info a,
.contact-info img {
  margin-left: 0;
}
/* Parallax Effects *//* === 14 Parallax === */.parallax-section { position: relative; overflow: hidden; }
.parallax-bg {
    position: absolute;
    top: -20%;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    will-change: transform;
    transition: transform 0.2s ease-out;
}
.parallax-content { position: relative; z-index: 2; }
/* Responsive Design */@media (max-width: 768px) {
    .heart-item { grid-template-columns: 1fr; }

    .heart-item:nth-child(even) { direction: ltr; }

    .instagram-grid { grid-template-columns: 1fr; }

    .nav-links { display: none; }

    .hero h1 { font-size: 2.5rem; }

    .about-content,
    .contact-content,
    .ambiance-item { grid-template-columns: 1fr; }

    .ambiance-item:nth-child(even) { direction: ltr; }

    .section-title { font-size: 2rem; }

    .menu-grid { grid-template-columns: 1fr; }

      .nav-links { text-align: center; align-items: center; justify-content: center; }

  .nav-links li { margin: .5rem 0; }

  .nav-links li:last-child { margin-right: 0 !important; }

}
/* Instagram Section *//* === 15 Instagram === */@media (max-width: 768px) {
  .instagram-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 2rem;
  }

}
/* Image slider *//* === 16 Image Slider === */.image-slider-section { background: #F5F1EB; padding: 4rem 0; overflow: hidden; }
.image-slider-container { max-width: 1400px; margin: 0 auto; overflow: hidden; width: 100%; cursor: grab;}
.mosaic-slider-track.is-dragging { animation-play-state: paused; cursor: grabbing; }
/* Track läuft horizontal durch */.mosaic-slider-track {
  display: flex;
  gap: 20px;
  animation: slide 25s linear infinite;
  will-change: transform;
}
.mosaic-slider-track {
  /* vorher: animation: slide 60s linear infinite;  o.ä.  */
  animation: none !important;
  will-change: transform;
}
.image-slider-container {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.image-slider-container.is-dragging { cursor: grabbing; }
/* Einzelne Mosaik-Gruppe */.mosaic {
  display: grid;
  grid-template-columns: minmax(216px, 312px) minmax(216px, 312px);
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  flex: 0 0 auto;
}
/* Bilder anordnen: portrait spannt 2 Reihen */.mosaic .portrait { grid-column: 1; grid-row: 1 / span 2; }
.mosaic .landscape:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.mosaic .landscape:nth-of-type(3) { grid-column: 2; grid-row: 2; }
/* Jede zweite Gruppe gespiegelt (portrait rechts) */.mosaic:nth-child(even) .portrait { grid-column: 2; }
.mosaic:nth-child(even) .landscape:nth-of-type(2) { grid-column: 1; grid-row: 1; }
.mosaic:nth-child(even) .landscape:nth-of-type(3) { grid-column: 1; grid-row: 2; }
/* Bild-Styles */.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  display: block;

}



/* Animation */@keyframes slide {
  0%   { transform: translateX(0); }

  100% { transform: translateX(-50%); }
   /* ggf. an Anzahl Gruppen anpassen */
}
/* Insta-Mosaik: Mobil kleiner & konsistent */@media (max-width: 768px) {
  .image-slider-section { padding: 2.5rem 0; }

  .mosaic { gap: 10px; }


  /* statt voller Höhe: über Aspect Ratios steuern */
  .mosaic img { width: 100%; height: auto; object-fit: cover; display: block; }


  /* feste Seitenverhältnisse für harmonische Höhen */
  .mosaic .portrait  { aspect-ratio: 3 / 4; }

  .mosaic .landscape { aspect-ratio: 4 / 3; }


  /* optional: Track langsamer und ohne „endlose“ Höhe */
  .mosaic-slider-track { animation-duration: 40s; }

}
/* Vision & Mission nebeneinander als Karten *//* === 17 Vision & Mission === */.vm { background:#F5F1EB; }
.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.vm-card {
  background: #fff;
  border: 1px solid #E8E1D8;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.vm-image { height: 260px; overflow: hidden; }
.vm-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vm-title { font-size: 1.8rem; font-weight: 200; margin: 1.25rem 1.25rem 0.5rem; }
.vm-text { padding: 0 1.25rem 1.25rem; line-height: 1.6; }
@media (max-width: 900px) {
  .vm-grid { grid-template-columns: 1fr; }

}
/* Footer *//* Footer nach unten drücken */.site-footer {
  position: static;
  background: rgba(240, 227, 202, 0.95);
  padding: 1rem 2rem;
  margin-top: auto;   /* <- sorgt fürs „ans Ende rutschen“ */
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}
.site-footer a {
    color: #000000;
    text-decoration: none;
    font-size: 0.9rem;
}
.site-footer a:hover { color: #D4A574; text-decoration: underline; }
a { color: black; text-decoration: none; }
a:hover { color: gray; }

.vm-title {
  font-size: 1.8rem;
  font-weight: 200;
  margin: 1.25rem 1.25rem 1.5rem;
}


/* Cookie popup *//* === 19 Cookie Banner === */
/* ############################################### */
/* ##########  COOKIE BANNER & MISC  ########## */
/* ############################################### */

#cookie-popup .cookie-section { margin-bottom: 0.8rem; }
#cookie-popup .cookie-buttons { display: flex; gap: .5rem; justify-content: flex-end; margin-bottom: 3rem; }
#cookie-popup button { padding: .6rem .8rem; border: none; border-radius: 8px; cursor: pointer; }
#cookie-popup .btn-decline { background: #eee; }
#cookie-popup .btn-accept { background: #D4A574; }
#cookie-popup .btn-save { background: #f0e3ca; }
/* ===== Legal pages (Impressum/Datenschutz) ===== */
:root{
  --bg:#F5EBDD;
  --ink:#2a2017;
  --ink-muted:#5a4a3b;
  --line:#E8E1D8;
  margin-bottom: 0;
}
/* === 18 Legal Pages === *//* Nav/Footer auf der Legal-Seite etwas transparenter, wie bisher gewünscht */.legal-page #navbar{
  background:transparent !important;
  border-bottom:1px solid var(--line);
  backdrop-filter:saturate(100%) blur(0px);
}
.legal-page .site-footer{
  background:transparent !important;
  border-top:1px solid var(--line);
  color:var(--ink-muted);
  text-align:center;
  padding:1rem;
}
/* Logo leicht kleiner auf der Legal-Seite */.legal-page nav .logo img{height:64px;}
@media (max-width:520px){
  .legal-wrapper{ padding: 6.5rem 1rem 2.25rem; }

}
/* === Mobile Nav: Vollbild & kein Loch === */@media (max-width: 1000px) {
  body.menu-open { overflow: hidden; }



  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    inset: 0;                 /* top:0; right:0; bottom:0; left:0 */
    width: 100vw; height: 100vh;
    padding: 6rem 1.25rem 2rem;
    background: #EADFD0;      /* deckend */
    z-index: 1001;
    gap: 1rem;
    text-align: center;
    overflow-y: auto;
  }

  .nav-links.open { display: flex; }


  .nav-links li a { font-size: 1.25rem; padding: .75rem 0; display: block; }


  #navbar.menu-open {
    background: #EADFD0 !important;
    box-shadow: 0 2px 20px rgba(0,0,0,.08);
  }

}
/* === Vision & Mission gleiche Höhe === */.vm-grid { align-items: stretch; }
.vm-card { display: flex; flex-direction: column; height: 100%; }
.vm-image { flex: 0 0 260px; }
.vm-title { flex: 0 0 auto; }
.vm-text { flex: 1 1 auto; display: flex; }
.vm-text > * { flex: 1 1 auto; }
#hamburger span {
  background: #000;          /* schwarze Balken */
}
/* Slider-Container für natürliches Scrollen (Touch & Maus) */.image-slider-container {
  max-width: 1400px;
  margin: 0 auto;
  overflow-x: auto;              /* vorher: hidden */
  overflow-y: hidden;
  cursor: grab;
  -webkit-overflow-scrolling: touch; /* sanftes iOS-Scrollen */
}
/* Scrollbar ausblenden (optional) */.image-slider-container::-webkit-scrollbar { display: none; }
.image-slider-container { scrollbar-width: none; }
/* Beim aktiven Drag visuelles Feedback *//* Optional: Wenn Nutzer interagiert, Animation pausieren (Class via JS) */.mosaic-slider-track.is-dragging { animation-play-state: paused; }
/* Kontakt-Spalten immer linksbündig ausrichten */.contact-info { text-align: left; }
/* Grid auf kleineren Breakpoints NICHT zentrieren */@media (max-width: 600px) {
  .contact-content { grid-template-columns: 1fr; justify-items: start; }

}
/* kleine Hilfsklasse für die Insta-Reihe (s. HTML) */.contact-row {
  margin-left: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}



/* Abstand für Impressum-Text unter der fixen Navi */
.impressum-content {
    margin-top: 8rem;   /* je nach Nav-Höhe anpassen */
}





/* =========================================================
   Team-Bereich im Stil "The joy"
   ========================================================= */
.team-joy {
  background: #F5F1EB;
  padding: 6rem 0;
}


.team-joy__header {
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: center;
}


.team-joy__intro {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #555;
  margin-top: 1rem;
}


.team-joy__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}


.team-joy__person {
  display: flex;
  flex-direction: column;
  text-align: center;
}


.team-joy__figure {
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}


.team-joy__figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}


.team-joy__figure:hover img {
  transform: scale(1.05);
}


.team-joy__name {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.35rem;
  color: #000;
}


.team-joy__role {
  font-size: 0.95rem;
  font-weight: 400;
  color: #888;
  margin-bottom: 1rem;
}


.team-joy__bio {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  max-width: 28rem;
  margin: 0 auto;
}


.team-joy__footer {
  text-align: center;
  margin-top: 4rem;
}


.team-joy__cta {
  background: #d4a574;
  color: #fff;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s;
}


.team-joy__cta:hover {
  background: #b8884a;
}


/* Responsive Tweaks */
@media (max-width: 600px) {
  .team-joy {
    padding: 4rem 1rem;
  }

  .team-joy__list {
    gap: 2rem;
  }

}



/* === Team: exakt 4 Spalten auf Desktop === */
.team-joy__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)); /* 4 Spalten */
  gap: 3rem;              /* gerne anpassen */
  max-width: 1200px;      /* bleibt wie gehabt */
  margin: 0 auto;
  align-items: start;
}


/* Tablet: 2 Spalten */
@media (max-width: 1024px) {
  .team-joy__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }

}


/* Mobile: 1 Spalte */
@media (max-width: 600px) {
  .team-joy__list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

}




#cookie-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 525px;
  max-width: 90vw;
  background: #fff;
  color: #333;
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
  padding: 1.5rem 1.5rem 0;  /* ⟵ unten 0: kein Leerraum unter Buttons */
  font-size: 0.95rem;
  line-height: 1.5;
  z-index: 2000;
  display: none;
  padding: 0.5rem; 
}


#cookie-popup > *:last-child { margin-bottom: 0; }

#cookie-popup .cookie-buttons { margin-bottom: 0; }


#cookie-popup h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}


#cookie-popup p {
  margin-bottom: 1rem;
}


#cookie-popup .cookie-section {
  margin-bottom: 1rem;
}


#cookie-popup .cookie-buttons {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}


#cookie-popup button {
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
}


#cookie-popup .btn-accept {
  background: #4caf50;
  color: #fff;
}


#cookie-popup .btn-decline {
  background: #eee;
}


#cookie-popup .btn-save {
  background: #d4a574;
  color: #fff;
}


.cookie-required input[type="checkbox"]:disabled {
  accent-color: #4caf50; /* hübsches Grün */
  opacity: 1;
  cursor: not-allowed;
}


.cookie-table {
  width: 100%;
  margin-top: 0.8rem;
  border-collapse: collapse;
  font-size: 0.85rem;
}


.cookie-table th,
.cookie-table td {
  padding: 6px 8px;
  border-bottom: 1px solid #ddd;
  text-align: left;
}


.cookie-table th {
  background: #f9f9f9;
  font-weight: 600;
}



/* Vollflächiger Overlay-Hintergrund */
.cookie-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5); /* halbtransparent */
  z-index: 1999;
}


/* Popup immer in der Mitte */
#cookie-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2000;
  display: none;          /* beim Start sichtbar */
}



/* nur EINE finale Definition behalten: */
#cookie-popup { 
  display: none;         /* <— standardmäßig ausblenden */
}


/* Vollflächiger Overlay-Hintergrund */
.cookie-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  display: none;        /* ⟵ hinzufügen */
}



/* Fix: 768–1000px – Links zentrieren, ohne die Sichtbarkeit zu ändern */
@media (min-width: 768px) and (max-width: 1000px) {
  .nav-links {
    /* KEIN display hier! */
    flex: 1;
    justify-content: center;
  }
  .nav-links li:last-child { margin-right: 0; }
}



/* ===== Schimmernder Hover-Effekt (Textfarbe bleibt unverändert) ===== */
button,
.team-joy__cta,
.cookie-buttons button {
  position: relative;
  overflow: hidden;
  z-index: 0; /* Basis-Layer */
}

/* Schimmer-Layer */
button::before,
.team-joy__cta::before,
.cookie-buttons button::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  z-index: 0;             /* bleibt UNTER dem Text */
}

/* Button-Text liegt immer oben */
button span,
.team-joy__cta,
.cookie-buttons button {
  position: relative;
  z-index: 1;
}

/* Animation beim Hover */
button:hover::before,
.team-joy__cta:hover::before,
.cookie-buttons button:hover::before {
  animation: shimmer 1.8s ease forwards;
}

@keyframes shimmer {
  0%   { left: -75%; }
  100% { left: 125%; }
}


/* Fix: Textfarbe bleibt weiß */
.team-joy__cta,
.team-joy__cta:hover,
.btn-accept,
.btn-accept:hover {
  color: #fff !important; /* erzwingt weiß */
  position: relative;
  z-index: 1;             /* Text immer über dem Schimmer */
}

/* Schimmer-Layer */
.team-joy__cta::before,
.btn-accept::before {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-20deg);
  z-index: 0; /* unter Text */
}

/* Hover-Effekt */
.team-joy__cta:hover::before,
.btn-accept:hover::before {
  animation: shimmer 1.8s ease forwards;
}

@keyframes shimmer {
  0%   { left: -75%; }
  100% { left: 125%; }
}








/* ===== CAFÉ JOY – zarter Kaffeedampf im Hero ===== */
.hero { position: relative; }
.steam {
  position: absolute; inset: 0; pointer-events: none; z-index: 3; overflow: hidden;
  /* optional: leichter Overlay, um zu prüfen ob Layer da ist */
  /* background: rgba(255,0,0,.02); */
}
.steam span {
  position: absolute; bottom: -8vh; left: 15vw;
  width: 140px; height: 280px;
  /* kräftiger & weniger transparent zum Testen */
  background: radial-gradient(50% 50% at 50% 60%,
              rgba(255,255,255,0.55) 0%,
              rgba(255,255,255,0.35) 40%,
              rgba(255,255,255,0.00) 70%);
  filter: blur(4px);
  opacity: .6;
  animation: steamFloatDEBUG 9s linear infinite;
}
.steam span:nth-child(2){ left: 18vw; animation-delay: 1s; }
.steam span:nth-child(3){ left: 21vw; animation-delay: 2s; }
.steam span:nth-child(4){ left: 24vw; animation-delay: 3s; }
.steam span:nth-child(5){ left: 27vw; animation-delay: 4s; }

@keyframes steamFloatDEBUG {
  0%   { transform: translateY(0) scale(1);   opacity: .0; }
  10%  { opacity: .6; }
  60%  { transform: translateY(-38vh) scale(1.06); opacity: .45; }
  100% { transform: translateY(-60vh) scale(1.1);  opacity: 0; }
}



.cookie-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 1999;
  pointer-events: none;  /* Scroll nicht blockieren */
}

#cookie-popup {
  z-index: 2000;         /* über Overlay */
}


.underline-angled {
  position: relative;
  display: inline-block;
  isolation: isolate;
  z-index: 0;
}

.underline-angled::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -40%;
  width: 120%;
  height: 15px;
  background: #EACFC2;
  clip-path: ellipse(60% 50% at 50% 100%);
  z-index: -1;
  pointer-events: none;
}


/* === Freunde Section === */
.friends {
  background: #fff;
  padding: 5rem 0;
}

.friends-grid {
  display: grid;
  grid-template-columns: 2fr 1fr; /* Bild = 2/3, Text = 1/3 */
  align-items: center;
  gap: 2rem;
  position: relative; /* Referenz für Z-Index */
  overflow: visible;  /* sicherstellen, dass nichts abgeschnitten wird */
}

.friends-image {
  position: relative;
  z-index: 1; /* Bild liegt unten */
}

.friends-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
  object-fit: cover;
}

.friends-card {
  position: absolute;
  z-index: 2;
  background: #fff;
  padding: 2rem;
  border-radius: 12px; /* alle vier Ecken rund */
  box-shadow: 0 12px 28px rgba(0,0,0,.15);

  /* Position */
  bottom: 10%;        /* weiter unten auf dem Bild */
  right: 0;           /* bündig am rechten Rand */
  width: 40%;         /* breiter Kasten */
  max-width: 500px;   /* optional Begrenzung für sehr große Bildschirme */
}


.friends-card h2 {
  margin-bottom: .75rem;
  font-size: 1.8rem;
  color: #000;
}
.friends-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
}

/* Responsiv: untereinander, keine Überlappung */
@media (max-width: 900px) {
  .friends-grid {
    grid-template-columns: 1fr;
  }
  .friends-card {
    transform: none;          /* Überlappung aus */
    margin-top: -1rem;        /* leichte optische Nähe zum Bild */
  }
}

/* Responsive: untereinander */
@media (max-width: 900px) {
  .friends-image {
    width: 100%;
  }
  .friends-text {
    position: static;
    width: 100%;
    margin-top: -3rem; /* leichte Überlappung behalten */
  }
}

  }
  .friends-text {
    position: static;
    width: 100%;
    margin-top: -3rem; /* leicht überlappend */
  }
}



/* === Freunde gespiegelt (Text links, Bild rechts, ohne Überlappung) === */
.friends-alt {
  background: #fff;
  padding: 5rem 0;
}

.friends-grid-alt {
  display: grid;
  grid-template-columns: 1fr 2fr; /* Text 1/3, Bild 2/3 */
  align-items: center;
  gap: 2rem;
}

.friends-card-alt {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0,0,0,.1);
}

.friends-card-alt h2 {
  margin-bottom: .75rem;
  font-size: 1.8rem;
  color: #000;
}

.friends-card-alt p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #333;
}

.friends-image-alt img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  object-fit: cover;
}

/* Responsive: untereinander */
@media (max-width: 900px) {
  .friends-grid-alt {
    grid-template-columns: 1fr;
  }
}




/* Spiegel-Variante: Karte links über dem rechten Bild – gleiche Optik wie rechts */
.friends-alt .friends-grid {
  grid-template-columns: 1fr 2fr;        /* Text-Spalte links (schmal), Bild rechts (breit) */
}

/* Bild explizit in die rechte Spalte setzen */
.friends-alt .friends-image {
  grid-column: 2;
}

/* Karte links platzieren, fein versetzt – analog zur rechten Version */
.friends-card-left {
  position: absolute;
  bottom: 10%;                            /* wie Original */
  left: clamp(8px, 3.5vw, 32px);          /* nicht direkt am Rand → wirkt wie rechts */
  right: auto;
  width: 40%;                              /* wie Original */
  max-width: 500px;                        /* wie Original */
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.15);
  z-index: 2;
}

/* Mobile: kein Überlappen, wie bei deiner Basis-Section */
@media (max-width: 900px) {
  .friends-alt .friends-grid {
    grid-template-columns: 1fr;
  }
  .friends-card-left {
    position: static;
    width: 100%;
    max-width: none;
    margin-top: -1rem;                     /* leichte optische Nähe zum Bild wie im Original */
  }
}


