/* ===================================================================
   Prana Banana – Catering & Foodtruck
   style.css
   Farben: Bananengelb #F7C10B · Dunkel #232021
   Schrift: Figtree (selbst gehostet, DSGVO-konform – keine Google-Server)
=================================================================== */

/* Figtree Variable Font – lokal gehostet (assets/fonts/) */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../assets/fonts/figtree-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('../assets/fonts/figtree-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --gelb: #F7C10B;
  --gelb-dark: #e0ac00;
  --dunkel: #232021;
  --dunkel-soft: #322f30;
  --weiss: #ffffff;
  --grau-bg: #f6f5f3;
  --grau-line: #e5e3e0;
  --text: #232021;
  --text-muted: #6b6866;
  --radius: 4px;
  --maxw: 1200px;
  --ff: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ---------- Reset / Base ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--ff);
  font-weight: 400;
  color: var(--text);
  background: var(--weiss);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-weight: 700; line-height: 1.2; color: var(--dunkel); }

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 4rem 0; }
.section--dark { background: var(--dunkel); color: #f3f1ef; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--gelb { background: var(--gelb); color: var(--dunkel); }
.section--gelb h1, .section--gelb h2, .section--gelb h3 { color: var(--dunkel); }
.section--grau { background: var(--grau-bg); }

.text-center { text-align: center; }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 760px; }
.section--dark .lead { color: #cbc8c5; }
.section--gelb .lead { color: #3a3406; }
.mx-auto { margin-left: auto; margin-right: auto; }

.eyebrow {
  display: inline-block;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gelb-dark);
  margin-bottom: 0.75rem;
}
.section--dark .eyebrow { color: var(--gelb); }
.section--gelb .eyebrow { color: #6b5c00; }

/* ---------- Button ---------- */
.btn {
  display: inline-block;
  background: var(--gelb);
  color: var(--dunkel);
  border: none;
  border-radius: var(--radius);
  padding: 8px 31px;
  font-family: var(--ff);
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
  line-height: 1.5;
}
.btn:hover { background: var(--gelb-dark); }
.btn--lg { padding: 13px 38px; font-size: 18px; }
.btn--outline {
  background: transparent;
  color: var(--dunkel);
  box-shadow: inset 0 0 0 2px var(--dunkel);
}
.btn--outline:hover { background: var(--dunkel); color: #fff; }
.section--dark .btn--outline { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.section--dark .btn--outline:hover { background: #fff; color: var(--dunkel); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: saturate(160%) blur(6px);
  border-bottom: 1px solid var(--grau-line);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 74px;
  padding: 0.5rem 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
}
.header__logo img { height: 46px; width: auto; }

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin-left: 0.5rem;
}
.nav a {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--dunkel);
  padding: 0.25rem 0;
  position: relative;
}
.nav a:hover { color: var(--gelb-dark); }

.header__contact {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.header__contact a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}
.header__contact a:hover { color: var(--dunkel); }
.header__contact svg { width: 17px; height: 17px; flex-shrink: 0; }

.header__cta { display: inline-block; }
.nav .btn, .nav__mobile-contact { display: none; }

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--dunkel);
  margin: 5px 0;
  transition: transform .25s, opacity .25s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: linear-gradient(rgba(20,18,19,.55), rgba(20,18,19,.68)), url('../assets/img/hero.jpg') center/cover no-repeat;
}
.hero__inner { max-width: 760px; padding: 5rem 0; }
.hero h1 { color: #fff; margin-bottom: 1rem; }
.hero__sub {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--gelb);
  margin-bottom: 2rem;
}

/* small hero (subpages) */
.subhero {
  background: linear-gradient(rgba(20,18,19,.5), rgba(20,18,19,.62)), url('../assets/img/wide.jpg') center/cover no-repeat;
  color: #fff;
  padding: 5rem 0 4.5rem;
}
.subhero h1 { color: #fff; margin-bottom: 1rem; }
.subhero p { color: #ececec; max-width: 720px; font-size: 1.1rem; }

/* ---------- Karten (Leben) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.75rem;
}
.card {
  background: #fff;
  border: 1px solid var(--grau-line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(0,0,0,.09); }
.card__img { aspect-ratio: 4/3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.4rem 1.5rem 1.7rem; }
.card__body h3 { margin-bottom: 0.6rem; }
.card__body p { color: var(--text-muted); font-size: 1rem; }

/* ---------- Leistungs-Kacheln ---------- */
.tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.tile {
  background: var(--dunkel);
  color: #fff;
  border-radius: 8px;
  padding: 1.6rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  min-height: 130px;
  transition: transform .2s ease;
}
.section--gelb .tile { background: var(--dunkel); }
.tile:hover { transform: translateY(-3px); }
.tile svg { width: 30px; height: 30px; color: var(--gelb); stroke: var(--gelb); }
.tile span { font-weight: 600; font-size: 1.05rem; line-height: 1.3; }

/* ---------- Über Frank ---------- */
.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: center;
}
.split__img img {
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  aspect-ratio: 4/5;
}
.split__body h2 { margin-bottom: 1.2rem; }
.split__body p { color: var(--text-muted); font-size: 1.08rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 2.5rem auto 0; }
.faq details {
  border-bottom: 1px solid var(--grau-line);
  padding: 0.25rem 0;
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 2.5rem 1.15rem 0;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--dunkel);
  position: relative;
  transition: color .15s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gelb-dark); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.4rem;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--gelb-dark);
  border-bottom: 2px solid var(--gelb-dark);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p {
  padding: 0 2.5rem 1.3rem 0;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ---------- Galerie (Angebote Kategorien) ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}
.gallery__item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.gallery__item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item span {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  padding: 1.4rem 1rem 1rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  background: linear-gradient(transparent, rgba(20,18,19,.82));
}
/* Auto-Slider je Kategorie (Vielfalt) */
.catslide__img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease, transform .4s ease;
  z-index: 1;
}
.catslide__img.is-active { opacity: 1; z-index: 2; }
.gallery__item:hover .catslide__img.is-active { transform: scale(1.06); }
@media (prefers-reduced-motion: reduce) {
  .catslide__img { transition: none; }
}

/* ---------- Service-Blöcke (Angebote) ---------- */
.service { padding: 3.25rem 0; }
.service__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.service--flip .service__media { order: 2; }
.service__media img {
  width: 100%;
  border-radius: 10px;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.service h2 { margin-bottom: 1rem; }
.service__intro { margin-bottom: 1.4rem; font-size: 1.05rem; }
.service--dark .service__intro { color: #cbc8c5; }
.service--gelb .service__intro { color: #3a3406; }
.bullets { list-style: none; display: grid; gap: 0.75rem; }
.bullets li {
  position: relative;
  padding-left: 1.9rem;
  font-size: 1rem;
}
.bullets li svg {
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  color: var(--gelb-dark);
  stroke: var(--gelb-dark);
}
.service--dark .bullets li svg { color: var(--gelb); stroke: var(--gelb); }
.service--gelb .bullets li svg { color: var(--dunkel); stroke: var(--dunkel); }

/* ---------- Kontakt ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.2rem; }
.contact-info p { color: var(--text-muted); }
.contact-info__list { list-style: none; margin-top: 1.75rem; display: grid; gap: 1rem; }
.contact-info__list li { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; }
.contact-info__list svg { width: 20px; height: 20px; color: var(--gelb-dark); stroke: var(--gelb-dark); flex-shrink: 0; }

/* Form */
.form-card {
  background: #fff;
  border: 1px solid var(--grau-line);
  border-radius: 12px;
  padding: 2rem 2rem 2.25rem;
  box-shadow: 0 12px 40px rgba(0,0,0,.05);
}
.form-card h2 { margin-bottom: 1.5rem; font-size: 1.6rem; }
.form-row { display: grid; gap: 1.1rem; margin-bottom: 1.1rem; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field input,
.field select,
.field textarea {
  font-family: var(--ff);
  font-size: 1rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--grau-line);
  border-radius: var(--radius);
  background: #fdfdfc;
  color: var(--text);
  width: 100%;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gelb);
  box-shadow: 0 0 0 3px rgba(247,193,11,.22);
}
.field textarea { resize: vertical; min-height: 120px; }
.checkbox-group { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 1rem; margin-top: 0.25rem; }
.checkbox-item, .consent { display: flex; align-items: flex-start; gap: 0.55rem; font-size: 0.95rem; font-weight: 400; }
.checkbox-item input, .consent input { width: auto; margin-top: 3px; }
.consent { margin: 0.75rem 0 1.25rem; }
.consent a { color: var(--gelb-dark); font-weight: 600; text-decoration: underline; }
.hp { position: absolute; left: -9999px; }

/* ---------- Danke ---------- */
.danke { text-align: center; padding: 6rem 0; }
.danke svg { width: 64px; height: 64px; color: var(--gelb-dark); stroke: var(--gelb-dark); margin: 0 auto 1.5rem; }
.danke h1 { margin-bottom: 1rem; }
.danke p { color: var(--text-muted); max-width: 560px; margin: 0 auto 2rem; font-size: 1.1rem; }

/* ---------- Legal pages ---------- */
.legal { padding: 3.5rem 0 4.5rem; }
.legal .container { max-width: 880px; }
.legal h1 { margin-bottom: 2rem; }
.legal h2 { font-size: 1.35rem; margin: 2.25rem 0 0.75rem; }
.legal h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.legal p, .legal li { color: var(--text-muted); font-size: 1rem; }
.legal ul { margin: 0 0 1rem 1.25rem; }
.legal a { color: var(--gelb-dark); text-decoration: underline; word-break: break-word; }
.legal address { font-style: normal; color: var(--text-muted); margin-bottom: 1rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 1rem; }
.cta-band p { max-width: 620px; margin: 0 auto 2rem; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dunkel);
  color: #cbc8c5;
  padding: 3.5rem 0 2rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.footer__brand img { height: 54px; margin-bottom: 1rem; }
.footer__brand p { font-size: 0.95rem; color: #a9a5a2; max-width: 320px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer ul { list-style: none; display: grid; gap: 0.6rem; }
.footer ul a, .footer ul li { color: #cbc8c5; font-size: 0.95rem; }
.footer ul a:hover { color: var(--gelb); }
.footer__contact li { display: flex; align-items: center; gap: 0.55rem; }
.footer__contact svg { width: 16px; height: 16px; color: var(--gelb); stroke: var(--gelb); }
.footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid #3a3738;
  font-size: 0.85rem;
  color: #8b8785;
  text-align: center;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 2rem; }
  .split__img img { aspect-ratio: 3/2; }
  .service__inner { grid-template-columns: 1fr; gap: 1.75rem; }
  .service--flip .service__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 3rem 0; }
  .cards { grid-template-columns: 1fr; }
  .header__contact { display: none; }
  .header__cta { display: none; }
  .burger { display: block; }
  .nav {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--grau-line);
    padding: 0.5rem 1.25rem 1.25rem;
    transform: translateY(-140%);
    transition: transform .28s ease;
    box-shadow: 0 16px 30px rgba(0,0,0,.08);
    margin-left: 0;
  }
  .nav.is-open { transform: translateY(0); }
  .nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--grau-line); }
  .nav .btn { display: block; margin-top: 0.9rem; text-align: center; }
  .nav a.nav__mobile-contact { display: block; border-bottom: none; color: var(--text-muted); font-weight: 600; }
  .form-row--2 { grid-template-columns: 1fr; }
  .checkbox-group { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .gallery { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hero { min-height: 70vh; }
}
