
/* ==========================================================
   Emanuel Gastronomy – zentrales Stylesheet (für ALLE Seiten)
   Farben/Schrift ändern: nur die Variablen hier oben anpassen.
   ========================================================== */
:root {
  --gold: #BF962C;        /* Hauptfarbe, wie im Kontaktformular-Screenshot */
  --gold-dark: #8f6d15;   /* dunkleres Gold für Hover */
  --sea: #12384A;         /* tiefes Meerblau: Buttons, Footer, Akzente */
  --salt: hsl(0, 0%, 100%);        /* heller Seitenhintergrund */
  --ink: #1b1b1b;         /* Textfarbe */
  /* Futura-ähnlich: nutzt Futura (Mac/iOS), sonst Century Gothic (Windows).
     Für identischen Look überall: Jost (OFL) selbst hosten, siehe README. */
  --font: "Futura", "Jost", "Century Gothic", "Trebuchet MS", sans-serif;
  --max: 1100px;          /* maximale Inhaltsbreite */
}


*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; } /* sanftes Scrollen; Platz für die Menüleiste */

body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--salt); line-height: 1.6; }

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2 { font-weight: 500; line-height: 1.2; margin: 0 0 .6em; }

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }

h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }

.justCenter {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}


.justCenter h1{
  color: var(--gold);
  
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }

section { padding: 4rem 0; }

:focus-visible { outline: 3px solid var(--sea); outline-offset: 3px; } /* sichtbarer Tastaturfokus */

/* ---------- Buttons ---------- */
.btn { display: inline-block; padding: .7rem 1.6rem; background: var(--sea); color: #fff; border: 0;
       text-decoration: none; font: inherit; cursor: pointer; transition: background .2s; }

.btn:hover { background: #0b2532; }

/* ---------- Menüleiste (bleibt beim Scrollen oben) ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--salt); border-bottom: 2px solid var(--gold); }

/* Menüleiste nutzt die volle Bildschirmbreite: Logo ganz links, Menü ganz rechts.
   Der Selektor mit zwei Klassen schlägt die allgemeine .wrap-Regel (max-width: 1100px). */
.site-header .wrap { max-width: none; padding: 0 4rem; }

/* Menü schiebt sich immer an den rechten Rand, auch wenn sich die Abstände ändern */
.nav ul { margin-left: auto; }

.nav { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }

.logo {
   font-size: 1.5rem; font-weight: 600; text-decoration: none; letter-spacing: .02em; text-align: center; }


.nav ul { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; align-items: center; }

.nav li { display: flex; align-items: center; }

.nav a {
  text-decoration: none;
  display: inline-flex;
  align-items: center;       /* Icon und Text auf einer Linie */
  gap: .4rem;
  line-height: 1;            /* entfernt den Leerraum unter der Schrift */
  padding-block: .35rem;     /* Platz für die Unterstreichung beim Hover */
  font-weight: 600;
}

.nav .material-symbols-outlined { font-size: 1.25em; line-height: 1; }

.nav li a:not(.btn):hover, .nav a.active { border-bottom: 2px solid var(--gold); }

.burger { display: none; background: none; border: 0; font-size: 1.8rem; cursor: pointer; }


@media (max-width: 1000px) {           /* Mobil: Menü klappt per Burger auf */
  .burger { display: block; }
  .nav ul { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
            background: var(--salt); padding: 1.5rem; border-bottom: 2px solid var(--gold); }
  .nav ul.open { display: flex; }
}

/* ---------- Hero (Hauptüberschrift) ---------- */
.hero { 
  background: var(--gold);
   padding: 4.5rem 0 3rem; 
  }

.hero p { font-size: 1.25rem; max-width: 36ch; margin: 0; }

.hero-logo{
display: flex;
height: 300px;
justify-content: center;
align-items: center;
}

.hero-logo img {
    width: clamp(120px, 40vw, 400px);
    height: auto;
    object-fit: contain;
}

/* ---------- Karussell (CSS scroll-snap + JS-Pfeile/Autoplay) ---------- */
.carousel { position: relative; background: var(--gold); padding-bottom: 3rem; }

.track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }

.track::-webkit-scrollbar { display: none; }

.track figure { flex: 0 0 min(80%, 420px); margin: 0; aspect-ratio: 4/3; scroll-snap-align: center;
                background: var(--sea); }       /* Platzhalterfarbe, falls das Bild noch fehlt */

.track img { width: 100%; height: 100%; object-fit: cover; }

.arrows { display: flex; gap: .5rem; margin-top: 1rem; }

.arrows button { width: 44px; height: 44px; border: 2px solid var(--ink); background: transparent; font-size: 1.2rem; cursor: pointer; }

.arrows button:hover { background: var(--ink); color: var(--gold); }

/* ---------- Vorteile & Textblöcke ---------- */
.features { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0 3rem;
            grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.features li { padding: .9rem 0; border-bottom: 1px solid var(--gold); }

.prose { max-width: 68ch; }

.center { text-align: center; }

.notice { border-left: 4px solid var(--gold); padding-left: 1rem; color: #555; }  /* Hinweis „Text einfügen“ */

/* ---------- Kontaktbereich (Look wie im Screenshot: Gold, nur Unterstriche) ---------- */
.contact { background: var(--gold); }

.contact form { max-width: 640px; display: grid; gap: 1.6rem; grid-template-columns: 1fr 1fr; }

.contact .full { grid-column: 1 / -1; }

.contact label { display: block; font-size: .95rem; }

.contact input:not([type=checkbox]), .contact textarea { width: 100%; background: transparent; border: 0;
        border-bottom: 2px solid var(--ink); padding: .5rem 0; font: inherit; color: var(--ink); border-radius: 0; }

.contact textarea { min-height: 7rem; resize: vertical; }

.contact input:focus, .contact textarea:focus { outline: none; border-bottom-width: 4px; }

/* ---------- Kontakt: Formular + Ansprechpartner ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 640px) minmax(240px, 1fr); /* Formular behält 640px, Bild nimmt den Rest */
  gap: 3rem;
  align-items: start;                                          /* Bild oben bündig mit dem Formular */
}
.contact-person { margin: 0; max-width: 380px; }
.contact-person img {
  width: 100%;              /* skaliert mit der Spalte */
  height: auto;
  aspect-ratio: 4 / 5;      /* gleiche Form, egal welches Foto */
  object-fit: cover;        /* beschneidet statt zu verzerren */
  object-position: center top; /* Gesichter bleiben im Bild */
  background: var(--sea);   /* Farbfläche, falls das Bild fehlt */
}
.contact-person figcaption { margin-top: .8rem; line-height: 1.5; }

/* Tablet/Handy: untereinander statt nebeneinander */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-person { max-width: 280px; }   /* auf kleinen Geräten nicht bildschirmfüllend */
}


.hp { position: absolute; left: -9999px; }   /* Spam-Falle (Honeypot): für Menschen unsichtbar */

.form-msg { grid-column: 1 / -1; font-weight: 600; margin: 0; }

.social { margin-top: .8rem; display: flex; gap: 1rem; }

/* ---------- Social-Icons ---------- */
.social a, .nav-social a { display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap; }
.social-label { font-weight: 600; line-height: 1; }
.social-sub   { font-size: .9em; line-height: 1; }

/* In der Menüleiste nur "4,9 ★", das "bei Google" bleibt dem Kontaktbereich vorbehalten */
.nav-social .social-sub { display: none; }

/* Gefüllter Stern in Gold */
a[aria-label^="Google"] svg { fill: var(--gold); stroke: var(--gold-dark); }

.social svg, .nav-social svg { width: 1.5rem; height: 1.5rem; }
.social a:hover { color: var(--sea); }

/* Menüleiste: Icons in einer Reihe, ohne Unterstreichung beim Hover */
.nav-social { gap: 1.25rem; margin-left: 0.5rem; }   /* der negative Abstand von vorhin hat die Punkte zusammengeschoben */
.nav li.nav-social a:not(.btn):hover { border-bottom: 0; color: var(--gold-dark); }

/* Nur Desktop: Im Handy-Menü ausblenden (dort stehen die Icons im Kontaktbereich) */
@media (max-width: 760px) { .nav-social { display: none; } }

@media (max-width: 600px) { .contact form { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: var(--sea); color: #fff; padding: 2rem 0; font-size: .95rem; }

.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; }

.site-footer nav { display: flex; gap: 1.5rem; }

/* Links im Footer: ohne Unterstreichung, beim Darüberfahren unterstrichen */
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Ersteller-Zeile: eigene Zeile über die ganze Breite, dezent und mittig */
.site-footer .credit {
  flex-basis: 100%;
  margin: 0;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, .25);
  font-size: .85em;
  text-align: center;
  opacity: .85;
}
/* ---------- Hero: Bild nur auf Desktop ---------- */
.hero-img { display: none; }              /* Standard (Handy/Tablet): Bild ausgeblendet, Text steht allein */

@media (min-width: 900px) {               /* ab 900px Breite = Desktop */
  .hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;     /* Text etwas breiter als das Bild */
    gap: 3rem;
    align-items: center;                  /* Text vertikal mittig zum Bild */
  }
  .hero-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;                    /* Hero wird nicht zu hoch */
    aspect-ratio: 9 / 7;
    object-fit: cover;                    /* beschneidet statt zu verzerren */
    background: var(--sea);               /* Farbfläche, falls das Bild fehlt */
  }
}





.easyButton {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 30px auto;
}

.easyButton a {
    display: inline-block;
    background-color: var(--sea);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    padding: 12px 35px;
    font-size: 18px;
    cursor: pointer;
}
.easyButton :hover{
  opacity: 80%;
}



/* style für Über uns Partner*/

/* ---------- Partner-Logos ---------- */
.partners { border-top: 2px solid var(--gold); }   /* trennt den Abschnitt vom Text darüber */

.logo-grid {
  list-style: none; padding: 0; margin: 2rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));  /* so viele Spalten, wie passen */
  gap: 1.5rem;
}
.logo-grid li {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 2 / 1;                 /* jedes Logo bekommt gleich großen Platz, auch ohne Bild */
  padding: 1rem;
  border: 1px solid var(--gold);       /* sichtbare Platzhalter-Box, bis die Logos da sind */
  background: #fff;
}
.logo-grid a { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.logo-grid img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;                 /* Logos werden nie verzerrt oder beschnitten */
  filter: grayscale(1); opacity: .8;   /* einheitlicher, ruhiger Look */
  transition: filter .2s, opacity .2s;
}
.logo-grid a:hover img { filter: none; opacity: 1; }   /* Farbe beim Darüberfahren */




/* ---------- Speisekarte ---------- */

.menu-section {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--gold);
}

.menu-section:first-of-type {
  padding-top: 1rem;
}

.menu-section h2 {
  margin-bottom: 1rem;
}


/* ---------- Layout mit Bild ---------- */

/* Zwei Spalten: Text breiter als Bild */
.menu-section.with-image {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Bild links: Spalten tauschen */
.menu-section.image-left {
  grid-template-columns: 1fr 1.4fr;
}

.menu-section.image-left figure {
  order: -1;
}

.menu-section figure {
  margin: 0;
}

.menu-section img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--sea);
}


/* ---------- Gerichte ---------- */

/* Name links, optionale Mengenangabe und Preis rechts */
.dish {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-weight: 600;
  margin-top: 1.2rem;
}

/* Name und Beschreibung untereinander */
.dish-details {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

/* Name des Gerichts */
.dish-name {
  font-weight: 600;
}

/* Beschreibung unter dem Namen */
.dish-info {
  font-size: 0.85rem;
  font-weight: 400;
  color: #777;
  line-height: 1.45;
  margin-top: 0.2rem;
}

/* Mengenangabe neben dem Preis */
.dish-amount {
  color: #777;
  font-size: 0.85rem;
  font-weight: 400;
  white-space: nowrap;
  margin-left: auto;
}

/* Preis */
.dish-price {
  white-space: nowrap;
  text-align: right;
  font-weight: 600;
}


/* ---------- Mobile / Tablet ---------- */

@media (max-width: 900px) {

  .menu-section.with-image,
  .menu-section.image-left {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Bild auf Mobilgeräten nach oben */
  .menu-section.with-image figure {
    order: -1;
  }

  .menu-section img {
    aspect-ratio: 16 / 9;
  }

}


/* ---------- Kleine Smartphones ---------- */

@media (max-width: 480px) {

  .menu-section {
    padding: 2rem 0;
  }

  .menu-section.with-image {
    gap: 1.2rem;
  }

  .dish {
    gap: 0.6rem;
    margin-top: 1rem;
  }

  .dish-info {
    font-size: 0.82rem;
  }

  .dish-amount {
    font-size: 0.8rem;
  }

  .dish-price {
    font-size: 0.95rem;
  }

}


/* ---------- Karten-Platzhalter (2-Klick) ---------- */
.map-consent {
  position: relative;                    /* Bezugspunkt für den iframe */
  width: 90%;
  max-width: 600px;
  min-width: 0;                          /* darf in Flex/Grid schmaler werden */
  height: clamp(320px, 60vw, 420px);     /* FESTE Höhe (nicht min-height): Platzhalter und Karte sind immer gleich groß */
  padding: 1.5rem;
  background: #fff;
  border: 2px solid var(--gold);
  display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: .8rem;
  overflow: auto;                        /* falls der Text auf sehr kleinen Handys nicht ganz reinpasst */
  overflow-wrap: anywhere;               /* lange Links dürfen umbrechen */
}
.map-consent h2 { margin: 0; font-size: 1.3rem; }
.map-consent p  { margin: 0; max-width: 55ch; }

/* Geladene Karte: iframe liegt absolut im Kasten und füllt ihn exakt aus */
.map-consent.loaded { padding: 0; display: block; overflow: hidden; }
.map-consent iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }