/* Eichhorn's Grill & Catering: Holzkohle, Glut-Kupfer, Rauch-Creme, ein Hauch Salbei.
   Überschriften: „Grill Display“ (im Admin wählbar, siehe app/fonts.php), Text: Jost. */
.s-grill {
  --bg: #1d1916; --surface: #25201d; --surface-2: #2e2825; --fg: #f4ebe1; --muted: #c2b3a3; --line: #463c36;
  --ember: #c8703e; --ember-hi: #e08a55; --sage: #9aa582; --cream: #f4ebe1;
  --accent: #c8703e; --accent-hover: #da844f; --accent-fg: #1d1916; --focus: #e0a070; --field-bg: #221d1a;
  --ok-bg: #26301f; --ok-line: #5d6b4a; --ok-fg: #dfe8cf; --err-bg: #3a1f1a; --err-line: #8a4434; --err-fg: #f4d3c8; --info-bg: #2a2421;
  --font-display: "Grill Display", "Helvetica Neue", Arial, sans-serif; --font-body: "Jost", system-ui, sans-serif;
}
.s-grill h1, .s-grill h2, .s-grill h3, .s-grill h4 { font-weight: 700; letter-spacing: calc(-.01em + var(--gd-ls, 0em)); line-height: calc(1.12 * var(--gd-lh, 1)); }
.s-grill ::selection { background: var(--ember); color: #1d1916; }

.btn-ember { background: var(--ember); color: #1d1916; }
.btn-ember:hover { background: var(--ember-hi); }

/* Kopfzeile */
.g-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(29,25,22,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.s-grill::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: #1d1916; }
.g-head__in { display: flex; align-items: center; gap: 1.5rem; max-width: 1200px; margin-inline: auto; padding: .7rem max(20px, env(safe-area-inset-right, 0px)) .7rem max(20px, env(safe-area-inset-left, 0px)); }
.g-head__logo img { width: 132px; height: auto; }
.g-head__toggle { display: none; margin-left: auto; background: none; border: 0; padding: .7rem; cursor: pointer; color: var(--fg); }
.g-nav { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; font-size: .9rem; letter-spacing: .08em; text-transform: uppercase; }
.g-nav a { text-decoration: none; color: var(--muted); transition: color .15s; white-space: nowrap; }
.g-nav a[aria-current=page] { color: var(--fg); }
.g-nav a:hover { color: var(--fg); }
.g-nav .g-nav__cross { color: var(--sage); }
.g-nav .g-nav__cta { color: #1d1916; padding: .75em 1.3em; }
@media (max-width: 1120px) { .g-nav { gap: 1.2rem; } }
@media (max-width: 1000px) {
  .g-head__toggle { display: grid; place-items: center; min-width: 44px; min-height: 44px; }
  .g-nav { display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 0; background: #1d1916; border-bottom: 1px solid var(--line); padding: .5rem max(20px, env(safe-area-inset-right, 0px)) 1.2rem max(20px, env(safe-area-inset-left, 0px)); }
  .g-nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .g-nav .g-nav__cta { margin-top: 1rem; border-bottom: 0; }
  .nav-open .g-nav { display: flex; }
}

/* Abschnitte */
.g-sec { padding-block: clamp(4rem, 9vw, 7rem); }
.g-sec--alt { background: var(--surface); }
.g-kicker { font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: var(--sage); }
.g-h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); font-weight: 700; letter-spacing: calc(-.015em + var(--gd-ls, 0em)); line-height: calc(1.08 * var(--gd-lh, 1)); }
.g-lead { color: var(--muted); font-size: 1.1rem; max-width: 56ch; }
.g-sec__head { display: grid; gap: .9rem; margin-bottom: clamp(2rem, 5vw, 3.2rem); }

/* Hero */
.g-hero {
  position: relative; overflow: hidden; isolation: isolate;
  background:
    radial-gradient(ellipse 70% 55% at 75% 115%, rgba(200,112,62,.42), transparent 70%),
    radial-gradient(ellipse 40% 30% at 20% 110%, rgba(200,112,62,.18), transparent 70%),
    repeating-linear-gradient(90deg, rgba(244,235,225,.05) 0 3px, transparent 3px 44px),
    #1d1916;
}
.g-hero__in { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; padding-block: clamp(3.5rem, 9vw, 6.5rem); max-width: 1200px; }
.g-hero__text-col { display: grid; gap: 1.5rem; justify-items: start; }
.g-hero__photo { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 4px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(244,235,225,.08); transform: rotate(1.5deg); }
.g-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.g-hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(29,25,22,.35)); }
@media (max-width: 860px) {
  .g-hero__in { grid-template-columns: 1fr; }
  .g-hero__photo { aspect-ratio: 4 / 3; transform: none; order: -1; }
}
.g-rating { display: inline-flex; align-items: center; gap: .7rem; font-size: .88rem; color: var(--muted); text-decoration: none; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: rgba(29,25,22,.6); }
.g-rating:hover { color: var(--fg); border-color: var(--muted); }
.g-rating__stars { color: #f0b860; letter-spacing: .12em; }

.g-hero__title { font-size: clamp(2.5rem, 6.2vw, 4.9rem); font-weight: 700; line-height: calc(1.02 * var(--gd-lh, 1)); letter-spacing: calc(-.025em + var(--gd-ls, 0em)); }
.g-hero__title em { font-style: normal; color: var(--ember-hi); }
.g-hero__text { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 52ch; }
.g-hero__facts { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; font-size: .86rem; color: var(--muted); letter-spacing: .04em; margin-top: .6rem; }
.g-hero__facts span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); margin-right: .55rem; vertical-align: middle; }

/* Leistungen */
.g-services { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 720px) { .g-services { grid-template-columns: 1fr; } }
.g-service { background: var(--bg); padding: clamp(1.6rem, 3.5vw, 2.6rem); display: grid; gap: .9rem; align-content: start; }
.g-service__icon { width: 46px; height: 46px; color: var(--ember); }
.g-service h3 { font-size: 1.5rem; font-weight: 700; }
.g-service p { color: var(--muted); max-width: 48ch; }

/* Impressionen auf der Grillseite und der Bilderseite: Kopf und Abstände hier, Fotoabzüge und Kacheln (app/gallery.php)
   sowie die Großansicht (.gal) in base.css. */
.g-gal { padding-top: 0; }   /* folgt direkt auf die Leistungen */
.g-gal__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 5vw, 3.2rem); }
.g-gal__head .g-sec__head { margin-bottom: 0; }
.g-more { display: inline-flex; align-items: center; gap: .5rem; color: var(--ember-hi); text-decoration: none; font-size: .88rem; letter-spacing: .12em; text-transform: uppercase; padding-block: .55rem; border-bottom: 1px solid currentColor; }
.g-more span { transition: transform .2s; }
.g-more:hover span { transform: translateX(4px); }

/* Farben und Schrift der Impressionen (Aufbau in base.css) */
.s-grill {
  --gal-radius: 4px; --gal-tile-bg: var(--surface-2); --gal-img-bg: #2e2825; --gal-lh: var(--gd-lh, 1); --gal-ls: var(--gd-ls, 0em);
  --gal-cap-bg: linear-gradient(transparent, rgba(16,13,11,.88)); --gal-zoom-bg: rgba(16,13,11,.6);
  --gal-lift: 0 30px 70px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(244,235,225,.16); --gal-dim: brightness(.55) saturate(.8);
  --gal-paper: #f6efe4; --gal-ink: #4a3b30; --gal-print-font: inherit; --gal-print-style: normal;
  --gal-print-size: clamp(.72rem, .95vw, .88rem); --gal-print-size-m: .72rem;
  --gal-print-shadow: 0 1px 1px rgba(0,0,0,.25), 0 18px 34px -14px rgba(0,0,0,.75);
  --gal-print-lift: 0 2px 2px rgba(0,0,0,.2), 0 40px 80px -24px rgba(0,0,0,.9); --gal-print-dim: brightness(.6);
}

.g-pagehead {
  padding-block: clamp(3rem, 7vw, 5rem) 0;
  background: radial-gradient(ellipse 60% 80% at 85% -10%, rgba(200,112,62,.2), transparent 70%);
}
.g-pagehead .wrap { display: grid; gap: 1rem; justify-items: start; }
.g-pagehead .g-kicker a { color: inherit; text-decoration: none; }
.g-pagehead .g-kicker a:hover { color: var(--fg); }
.g-h1 { font-size: clamp(2.3rem, 5.5vw, 4.2rem); font-weight: 700; line-height: calc(1.04 * var(--gd-lh, 1)); letter-spacing: calc(-.02em + var(--gd-ls, 0em)); }
.g-gal--all { padding-top: clamp(2rem, 5vw, 3rem); }
.g-cta { background: var(--surface); border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 8vw, 5.5rem); text-align: center; }
.g-cta__in { display: grid; gap: 1.1rem; justify-items: center; }

/* Anlässe */
.g-occasions { display: flex; flex-wrap: wrap; gap: .6rem; }
.g-occasions li { border: 1px solid var(--line); border-radius: 999px; padding: .5rem 1.05rem; font-size: .95rem; background: var(--surface-2); }

/* Ablauf: echte Reihenfolge, daher nummeriert */
.g-steps { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); counter-reset: step; }
.g-step { position: relative; padding-top: 3.8rem; counter-increment: step; }
.g-step::before { content: counter(step); position: absolute; top: 0; left: 0; font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--ember); }
.g-step::after { content: ""; position: absolute; top: 1.6rem; left: 2.8rem; right: -1rem; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.g-step h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: .4rem; }
.g-step p { color: var(--muted); }

/* Über mich */
.g-about { display: grid; gap: clamp(2rem, 5vw, 4.5rem); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
@media (max-width: 860px) { .g-about { grid-template-columns: 1fr; } }
.g-portrait { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: 4px; overflow: hidden; background: var(--surface-2); }
.g-portrait img { width: 100%; height: 100%; object-fit: cover; }
.g-portrait--empty { display: grid; place-items: center; background: repeating-linear-gradient(90deg, rgba(244,235,225,.04) 0 2px, transparent 2px 30px), var(--surface-2); }
.g-portrait--empty img { width: 42%; height: auto; opacity: .85; }
.g-portrait--empty figcaption { position: absolute; bottom: 1rem; left: 1rem; right: 1rem; font-size: .8rem; color: var(--muted); text-align: center; letter-spacing: .05em; }
.g-about__text { display: grid; gap: 1.2rem; }
.g-about__text p { color: var(--muted); max-width: 60ch; }
.g-about__text .rt-list { color: var(--muted); max-width: 60ch; }
.g-facts { display: flex; flex-wrap: wrap; gap: .5rem; }
.g-facts li { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; border: 1px solid var(--sage); color: var(--sage); border-radius: 999px; padding: .4rem .9rem; }
.g-quote { border-left: 3px solid var(--ember); padding: .4rem 0 .4rem 1.4rem; display: grid; gap: .4rem; }
.g-quote p { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 2.6vw, 1.8rem); line-height: calc(1.25 * var(--gd-lh, 1)); letter-spacing: calc(-.01em + var(--gd-ls, 0em)); color: var(--fg); }
.g-quote cite { font-style: normal; font-size: .85rem; color: var(--muted); letter-spacing: .04em; }

.g-refs { display: grid; max-width: 48rem; margin-top: 1.4rem; }   /* einspaltig, eine Zeile je Eintrag */
.g-refs li { display: flex; gap: .9rem; align-items: baseline; padding: 1rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.g-refs li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); transform: translateY(-2px); }
.g-refs strong { color: var(--fg); font-weight: 500; }
/* Link hinter einem Eintrag: kleiner Kugelgrill (app/views/layout.php → grill_ref_link); beim Drüberfahren hebt sich der
   Deckel und ein Flämmchen erscheint */
.g-refs__link {
  display: inline-grid; place-items: center; width: 2.3rem; height: 2.3rem; margin: -.5rem 0 -.5rem .35rem; vertical-align: middle;   /* Zeile wird nicht höher */
  border: 1px solid var(--line); border-radius: 50%; color: var(--ember-hi); background: rgba(200,112,62,.06);
  transition: background-color .25s, border-color .25s, color .25s, transform .25s;
}
.g-grill { overflow: visible; }
.g-grill__lid { transform-box: view-box; transform-origin: 5px 11.6px; transition: transform .35s cubic-bezier(.3,1.4,.5,1); }
.g-grill__flame { opacity: 0; transform-box: fill-box; transform-origin: 50% 100%; transform: scale(.4); transition: opacity .2s, transform .3s cubic-bezier(.3,1.4,.5,1); }
.g-refs__link:hover, .g-refs__link:focus-visible { border-color: var(--ember); background: rgba(200,112,62,.18); color: #f6b07e; }
.g-refs__link:hover .g-grill__lid, .g-refs__link:focus-visible .g-grill__lid { transform: translate(-.6px, -3.2px) rotate(-22deg); }
.g-refs__link:hover .g-grill__flame, .g-refs__link:focus-visible .g-grill__flame { opacity: 1; transform: scale(1); transition-delay: .08s; }
.g-refs__link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.g-refs__link:active { transform: scale(.94); }
@media (prefers-reduced-motion: reduce) { .g-grill__lid, .g-grill__flame { transition: none; } }

/* Anfrage */
.g-inquiry { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 900px) { .g-inquiry { grid-template-columns: 1fr; } }
.g-contact { display: grid; gap: 1.3rem; align-content: start; }
.g-contact__tel { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.7rem, 3.2vw, 2.2rem); line-height: calc(1.1 * var(--gd-lh, 1)); letter-spacing: calc(-.01em + var(--gd-ls, 0em)); text-decoration: none; color: var(--ember-hi); }
.g-contact__mail { color: var(--fg); }
.g-form { background: var(--surface); border: 1px solid var(--line); padding: clamp(1.4rem, 3.5vw, 2.4rem); border-radius: 6px; }
.g-form .btn { justify-self: start; }

/* Fußzeile */
.g-foot { border-top: 1px solid var(--line); background: #171411; color: var(--muted); font-size: .95rem; }
.g-foot__in { display: grid; gap: 2.4rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); max-width: 1200px; margin-inline: auto; padding: 3.5rem max(20px, env(safe-area-inset-right, 0px)) 2.5rem max(20px, env(safe-area-inset-left, 0px)); }
.g-foot__brand img { width: 190px; margin-bottom: 1rem; }
.g-foot__h { font-family: var(--font-body); font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sage); margin-bottom: .8rem; font-weight: 500; }
.g-foot p + p { margin-top: .8rem; }
.g-foot a { color: var(--fg); text-decoration: none; }
.g-foot a:hover { text-decoration: underline; }
.g-foot__legal { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; max-width: 1200px; margin-inline: auto; padding: 1.2rem max(20px, env(safe-area-inset-right, 0px)) calc(1.4rem + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left, 0px)); border-top: 1px solid var(--line); font-size: .82rem; }
.g-foot__legal a { color: var(--muted); display: inline-block; padding-block: .3rem; }

/* Häufige Fragen */
.g-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.g-faq__head { position: sticky; top: 6.5rem; margin-bottom: 0; }
.g-faq__head a { color: var(--fg); text-decoration-color: var(--ember); white-space: nowrap; }
.g-faq__head a:hover { color: var(--ember-hi); }
.s-grill .faq__icon { color: var(--ember-hi); }
.s-grill .faq > summary:hover .faq__q { color: var(--ember-hi); }
.s-grill .faq[open] .faq__icon { background: var(--ember); border-color: var(--ember); color: #1d1916; }
@media (max-width: 860px) { .g-faq { grid-template-columns: 1fr; } .g-faq__head { position: static; } }
.g-faq-sec + .g-sec { border-top: 1px solid var(--line); }
