/* ============================================================
   Landingpage-Vorlage (Startseite + Staedteseiten, z.B. Duesseldorf)
   Gemeinsame Styles der Abschnitte: Hero-Video, Unsere Story, Referenzen,
   La Tapita in Aktion, Warum La Tapita, Unser Einsatzgebiet, Im Einsatz,
   Fuer jeden Anlass, Unsere Kuechen, Impressionen, Kundenstimmen,
   Ablauf ("In 4 Schritten") und Kontakt.
   Wird NACH css/style.css geladen und nur von diesen Seiten eingebunden.
   Grundregeln, die fuer alle Seiten gelten, stehen in css/style.css.
   ============================================================ */

/* ===== Hellere Grau-/Schwarztöne (überschreibt die Design-Tokens nur auf dieser Seite) ===== */
  :root {
    --color-bg: #2a2724;
    --color-bg-dark: #1c1a17;
    --color-surface: #3a3532;
  }

  /* TEST: Hero-Video statt/zusaetzlich zum statischen Hero-Hintergrund */
  .hero-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .hero-bg {
    background: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.7));
    filter: none;
    transform: none;
    z-index: 1;
  }
  .hero-sound-btn {
    position: absolute;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(20, 17, 15, 0.4);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.25s var(--ease), transform 0.25s var(--ease);
  }
  .hero-sound-btn:hover { background: rgba(20, 17, 15, 0.65); transform: translateY(-2px); }
  .hero-sound-btn svg { width: 20px; height: 20px; flex-shrink: 0; }
  .hero-sound-btn .icon-unmuted { display: none; }
  .hero-sound-btn.is-unmuted .icon-muted { display: none; }
  .hero-sound-btn.is-unmuted .icon-unmuted { display: block; }

  /* ===== Übernommene Abschnitte im Startseite-3-Stil ===== */
  
  
  
  
  

  
  
  
  
  
  

  /* STORY (voller Rot-Block) */
  .s3-story-block { background: var(--color-primary); color: #fff; padding-block: 4rem; }
  .s3-story-grid { display: grid; gap: 2.5rem; align-items: center; }
  .s3-story-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.05;
    margin-bottom: 1.25rem;
  }
  .s3-story-text p { font-size: 1.05rem; color: rgba(255,255,255,0.92); margin-bottom: 1.5rem; }
  .s3-check-list { list-style: none; margin: 0 0 2rem; padding: 0; display: flex; flex-direction: column; gap: 0.75rem; }
  .s3-check-list li { display: flex; align-items: flex-start; gap: 0.65rem; font-weight: 600; }
  .s3-check-list svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 0.1rem; }
  .s3-story-photo { border-radius: 8px; overflow: hidden; border: 4px solid #fff; box-shadow: 10px 10px 0 rgba(0,0,0,0.18); }
  .s3-story-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .s3-story-block .s3-btn-light { background: #1a1512; color: #fff; }
  .s3-story-block .s3-btn-light:hover { background: #000; }

  @media (min-width: 900px) {
    .s3-story-grid { grid-template-columns: 1fr 1.15fr; }
  }

  /* VIDEO */
  
  
  
  
  
  
  

  /* PROMO */
  
  .s3-promo-grid { display: grid; gap: 3rem; }
  @media (min-width: 900px) {
    .s3-promo-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
  }
  
  
  
  
  
  
  
  
  

  /* REGION MAP */
  
  
  
  
  
  
  .s3-pin-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-primary);
    border: 3px solid #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.45);
    position: relative;
  }
  
  .s3-pin-label {
    margin-top: 0.35rem;
    background: #1a1512;
    color: #fff;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.7rem;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
    transition: background-color 0.25s var(--ease);
  }
  
  
  

  /* IMPRESSIONEN MARQUEE - zwei gegenlaeufige, tag-basierte Banderolen wie
     auf der Weihnachtsfeier-/Hochzeit-Seite (js/tag-photo-marquee.js). */
  .s3-photo-marquee-section { background: var(--color-bg); padding-block: 4rem; text-align: center; }
  .s3-photo-marquee-section .s3-eyebrow {
    display: table;
    margin-inline: auto;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(227, 30, 36, 0.14);
  }
  .s3-photo-marquee-section .s3-eyebrow-light { background: rgba(244, 185, 66, 0.14); }
  .photo-marquee-wrap {
    margin-top: 2.5rem;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  }
  .photo-marquee-wrap + .photo-marquee-wrap { margin-top: 1.5rem; }
  .photo-marquee-track {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    width: max-content;
    animation: logo-marquee-scroll 36s linear infinite;
  }
  .photo-marquee-track-reverse { animation-direction: reverse; }
  .photo-marquee-track img {
    height: clamp(140px, 18vw, 220px);
    width: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }
  @media (prefers-reduced-motion: reduce) {
    .photo-marquee-track { animation: none; }
  }

  /* MENU SELECT ("Unsere Küchen"): Styles zentral in css/style.css */

  /* ABLAUF – gleiches Rot wie "Unsere Story" */
  #buchungsanfrage-ablauf { background: var(--color-primary); padding-block: 3rem; }
  #buchungsanfrage-ablauf .ablauf-step-number { background: var(--color-bg-dark); }
  #buchungsanfrage-ablauf .eyebrow-light { background: rgba(0, 0, 0, 0.22); color: #fff; } /* Blase, lesbar auf Rot */
  #buchungsanfrage-ablauf .section-sub { margin-bottom: 1.5rem; }
  #buchungsanfrage-ablauf .ablauf-step p { color: var(--color-text-inverse); }
  #buchungsanfrage-ablauf .ablauf-steps { margin-top: 2rem; gap: 1.5rem; }
  #buchungsanfrage-ablauf .btn-primary { background: var(--color-bg-dark); }
  #buchungsanfrage-ablauf .btn-primary:hover { background: #1a1a1a; }

  /* EVENTS (Foto-Collage) */
  
  .s3-events .s3-eyebrow {
    text-align: center;
    display: table;
    margin-inline: auto;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: rgba(227, 30, 36, 0.14);
  }
  
  .s3-event-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; text-align: left; }
  
  
  
  
  
  

  /* 6 Event-Karten: Handy 1 Spalte, Tablet 2 Spalten, Desktop 3 x 2. Eine
     ungerade letzte Karte (falls es mal 5 oder 7 sind) geht auf Tablet ueber
     die volle Breite, quer: Bild links, Text rechts. */
  /* Handy: eine Spalte (zwei Spalten waren fuer die Texte zu schmal) */
  @media (max-width: 599px) {
    .s3-event-grid { grid-template-columns: 1fr; }
  }
  @media (min-width: 600px) and (max-width: 1099px) {
    .s3-event-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  }
  @media (min-width: 700px) and (max-width: 1099px) {
    .s3-event-card:last-child:nth-child(odd) { flex-direction: row; }
    .s3-event-card:last-child:nth-child(odd) .s3-event-card-media { flex: 0 0 50%; aspect-ratio: auto; min-height: 260px; }
    .s3-event-card:last-child:nth-child(odd) .s3-event-card-text { align-self: center; }
  }
  @media (min-width: 1100px) {
    .s3-event-grid { grid-template-columns: repeat(3, 1fr); }
  }

  @media (max-width: 480px) {
    .s3-pin-dot { width: 14px; height: 14px; border-width: 2px; }
    .s3-pin-label { font-size: 0.6rem; padding: 0.15rem 0.4rem; margin-top: 0.2rem; }
  }

  /* IMPRESSIONEN TEASER ("Mitten im Streetfood-Trubel") – groessere Bilder, weniger Abstand */
  #galerie .container { max-width: 1400px; }
  #galerie .gallery-grid { gap: 0.6rem; }
  @media (min-width: 700px) {
    #galerie .gallery-grid { grid-auto-rows: 260px; }
  }

  /* KUNDENSTIMMEN ("Das sagen unsere Gäste") – Karten breiter statt hoch.
     Das JS (js/main.js) setzt die Kartenbreite per Inline-Style (max. 420px) -
     das muss hier mit !important ueberschrieben werden, sonst greift es nicht.
     Container nur moderat verbreitert, damit weiterhin nur 1 aktive Karte +
     2 angeschnittene Nachbarn (= 3 sichtbare Boxen) ins Bild passen.
     (25% kleiner als die vorherige Version: 1700->1275, 1050->788, 65vw->49vw) */
  #stimmen .container { max-width: 1275px; }
  @media (min-width: 700px) {
    #stimmen .testimonial-track .testimonial-card { width: clamp(315px, 49vw, 788px) !important; }
  }
