/* =========================================================
   MAHARAJA CATERING WEBSITE
   Datei: css/style.css

   Hier kannst du Farben, Abstände und Größen schnell ändern.
   Wichtig für dich:
   - Hero-Text Abstand links: Suche nach .hero-content
   - Header/Footer Farbe: Suche nach --black
   - Goldfarbe: Suche nach --gold
   ========================================================= */

/* 1) Grundeinstellungen / Farben */
:root {
  --black: #111111;
  --black-soft: #1a1a1a;
  --gold: #c9a227;
  --gold-hover: #dfbd47;
  --gold-dark: #a78317;

  --text: #172033;
  --muted: #667085;
  --white: #ffffff;
  --soft-bg: #f6f4ef;
  --line: #e7e2d8;

  --shadow: 0 18px 45px rgba(17, 17, 17, 0.10);
  --radius: 12px;
  --radius-small: 8px;

  --container: 1140px;

  /* Bildpfad für das große Titelbild.
     Du musst nur assets/hero.jpg ersetzen. */
  --hero-image: url("../assets/hero.jpg");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

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

.container {
  width: min(var(--container), 92%);
  margin-inline: auto;
}

.narrow {
  width: min(850px, 92%);
}

/* 2) Header / Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--black);
  color: #f7f9fc;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.nav-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.logo-fallback {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--black);
  font-weight: 800;
  border-radius: var(--radius-small);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-size: 20px;
  letter-spacing: 0.2px;
}

.brand-text small {
  color: #d5dde9;
  font-size: 12px;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  font-weight: 600;
  font-size: 15px;
  color: #eef3fb;
}

.main-nav a:hover {
  color: var(--white);
}

.nav-cta {
  background: var(--gold);
  color: #101828 !important;
  padding: 11px 17px;
  border-radius: var(--radius-small);
}

.nav-cta:hover {
  background: var(--gold-hover);
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  color: var(--white);
  font-size: 30px;
  cursor: pointer;
}

/* 3) Hero-Bereich oben
   WICHTIG: Das große Bild kommt aus assets/hero.jpg.
   Wenn du dein eigenes Bild einfügst, genau diesen Dateinamen behalten. */
.image-bg {
  position: relative;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #222222; /* Fallback, falls das Bild fehlt */
}

.hero {
  /* PC: Hero füllt den sichtbaren Bildschirm unter dem Header.
     Tablet/Handy werden unten in den Media Queries separat angepasst. */
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.62),
    rgba(0, 0, 0, 0.36),
    rgba(0, 0, 0, 0.10)
  );
}

/* HIER ÄNDERST DU DEN ABSTAND DER GROẞEN ÜBERSCHRIFT LINKS */
.hero-content {
  position: relative;
  width: min(720px, calc(100% - 90px));
  max-width: 720px;
  margin-left: 60px;
  margin-right: auto;
  padding: 90px 0;
}

.eyebrow,
.section-kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 2.4px;
  font-weight: 800;
  color: var(--gold);
  margin: 0 0 13px;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(42px, 7vw, 74px);
  line-height: 1.02;
  margin: 0 0 22px;
  letter-spacing: -2.5px;
  font-weight: 800;
}

.hero-sub {
  font-size: 20px;
  max-width: 680px;
  color: #eef2f7;
  margin: 0 0 34px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* 4) Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-small);
  padding: 14px 22px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
  font-size: 15px;
}

.btn-primary {
  background: var(--gold);
  color: #111827;
}

.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.btn-light {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* 5) Allgemeine Bereiche */
.section {
  padding: 92px 0;
}

.soft-bg {
  background: var(--soft-bg);
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.section h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -1.4px;
}

.section p {
  color: var(--muted);
  font-size: 17px;
}

.section-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.check-list {
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  margin: 13px 0;
  padding-left: 32px;
  position: relative;
  font-weight: 600;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--gold);
  font-weight: 900;
}

/* 6) Bilder / Karten / Galerie */
.photo-card,
.event-card,
.food-card,
.step,
.request-form,
.form-info,
.contact-box {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.photo-card {
  position: relative;
  background: #dddddd;
}

.photo-card img {
  height: 520px;
  width: 100%;
  object-fit: cover;
}

.photo-note {
  position: absolute;
  left: 18px;
  bottom: 18px;
  background: rgba(255, 255, 255, 0.90);
  padding: 10px 14px;
  border-radius: var(--radius-small);
  font-weight: 700;
  color: #344054;
}

.cards,
.food-grid {
  display: grid;
  gap: 24px;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.event-card img {
  height: 185px;
  width: 100%;
  object-fit: cover;
}

.event-card div {
  padding: 22px;
}

.event-card h3,
.food-card h3,
.step h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.event-card p,
.food-card p,
.step p {
  font-size: 15px;
  margin: 0;
  color: var(--muted);
}

.food-grid {
  grid-template-columns: repeat(3, 1fr);
}

.food-card {
  padding: 12px;
}

.food-card img {
  height: 210px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-small);
}

.food-card h3 {
  padding: 18px 10px 0;
}

.food-card p {
  padding: 0 10px 12px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.gallery-grid img {
  height: 255px;
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

/* 7) Ablauf / FAQ / Kontakt */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  padding: 30px;
}

.step span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius-small);
  font-weight: 800;
  margin-bottom: 20px;
}

.faq-list {
  display: grid;
  gap: 14px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 20px 24px;
}

.faq-list summary {
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin: 12px 0 0;
}

.contact-section {
  background: linear-gradient(180deg, var(--white), var(--soft-bg));
}

.contact-box {
  padding: 34px;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin: 22px 0 28px;
}

.contact-lines a,
.contact-lines span {
  font-weight: 700;
  color: #253858;
}

.contact-box iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 10px;
}

/* 8) Anfrage-Seite */
.page-hero {
  min-height: 390px;
  display: grid;
  align-items: center;
  color: var(--white);
}

.page-hero-content {
  position: relative;
  padding: 70px 0;
}

.page-hero h1 {
  font-size: clamp(38px, 6vw, 62px);
}

.page-hero p {
  font-size: 19px;
  color: #edf2f7;
  max-width: 680px;
}

.form-layout {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr;
  gap: 30px;
  align-items: start;
}

.request-form,
.form-info {
  padding: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.request-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  font-weight: 800;
  color: #27364f;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid #d9d6ce;
  border-radius: var(--radius-small);
  padding: 14px 13px;
  font: inherit;
  color: var(--text);
  background: var(--white);
}

.request-form input:focus,
.request-form select:focus,
.request-form textarea:focus {
  outline: 3px solid rgba(201, 162, 39, 0.20);
  border-color: var(--gold);
}

.small-note {
  font-size: 13px !important;
  color: #7a8699 !important;
}

.info-card {
  border-left: 4px solid var(--gold);
  background: var(--soft-bg);
  padding: 18px;
  margin-top: 24px;
  border-radius: var(--radius-small);
}

.info-card h3 {
  margin: 0 0 6px;
}

.info-card p {
  margin: 0;
  font-size: 15px;
}

/* 9) Footer */
.site-footer {
  background: var(--black);
  color: #eef3fb;
  padding: 54px 0 22px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr 0.95fr 0.9fr;
  gap: 38px;
}

.site-footer h3,
.site-footer h4 {
  margin: 0 0 14px;
  color: var(--white);
}

.site-footer p,
.site-footer a {
  display: block;
  color: #e7e7e7;
  margin: 8px 0;
}

.hours-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hours-list li {
  color: #e7e7e7;
  margin: 8px 0;
}

.hours-list strong {
  color: var(--white);
}

.hours-list span {
  display: block;
  color: #cfcfcf;
  font-size: 14px;
  margin-top: 2px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin-top: 34px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: #cbd5e1;
}

.footer-bottom a {
  display: inline;
}

/* 10) Animationen */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}


/* 11) Desktop-Feinschliff
   Nur für PC/Laptop. Tablet- und Handy-Version bleiben dadurch stabil. */
@media (min-width: 901px) {
  .hero {
    min-height: calc(100vh - 78px);
  }

  .hero-content {
    margin-left: 60px;
    max-width: 700px;
  }

  .hero h1 {
    font-size: clamp(54px, 5.4vw, 78px);
  }
}

/* 12) Tablet / Handy */
@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 78px;
    background: var(--black);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 4%;
    gap: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

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

  .hero {
    min-height: 620px;
  }

  .two-col,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .grid-4,
  .food-grid,
  .gallery-grid,
  .steps,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-box iframe {
    height: 300px;
  }
}

@media (max-width: 620px) {
  .nav-wrap {
    height: 70px;
  }

  .main-nav {
    top: 70px;
  }

  .brand-text strong {
    font-size: 18px;
  }

  .brand img,
  .logo-fallback {
    width: 44px;
    height: 44px;
  }

  .hero {
    min-height: 590px;
  }

  .hero-content {
    width: min(92%, calc(100% - 32px));
    margin-left: 16px;
  }

  .hero h1 {
    letter-spacing: -1.4px;
  }

  .section {
    padding: 68px 0;
  }

  .grid-4,
  .food-grid,
  .gallery-grid,
  .steps,
  .footer-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    height: 220px;
  }

  .photo-card img {
    height: 360px;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}


/* 12) Rechtliches, Netlify Formular und Kartenlink */
.hidden-field {
  display: none !important;
}

.checkbox-label {
  display: flex !important;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 10px !important;
  font-weight: 600 !important;
  color: #344054 !important;
}

.checkbox-label input {
  width: auto !important;
  margin-top: 5px;
}

.checkbox-label a {
  color: var(--gold-dark);
  text-decoration: underline;
}

.map-card {
  min-height: 390px;
  border-radius: 10px;
  overflow: hidden;
  background: #eeeeee;
  position: relative;
  box-shadow: var(--shadow);
}

.map-card iframe {
  width: 100%;
  min-height: 390px;
  height: 100%;
  border: 0;
  display: block;
}

.map-info {
  position: absolute;
  left: 18px;
  bottom: 18px;
  width: min(330px, calc(100% - 36px));
  background: rgba(17, 17, 17, 0.92);
  color: var(--white);
  border-radius: 8px;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.map-info h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.map-info p {
  color: #e8edf6;
  margin: 0 0 14px;
}

.map-info .btn {
  width: auto;
  padding: 12px 18px;
}

.legal-page h1 {
  font-size: clamp(36px, 6vw, 58px);
  line-height: 1.05;
  margin: 0 0 28px;
}

.legal-page h2 {
  font-size: 24px;
  margin-top: 34px;
}

.legal-page a {
  color: var(--gold-dark);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .map-card,
  .map-card iframe {
    min-height: 330px;
  }

  .map-info {
    position: static;
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }

  .map-info .btn {
    width: 100%;
  }
}

.main-nav.always-visible { display: flex; }

@media (max-width: 900px) {
  .main-nav.always-visible {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    border-top: 0;
  }
}


/* =========================================================
   VERSION 2.6 – PHASE 1: FEINSCHLIFF DESIGN / UX
   ========================================================= */
:root {
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow-hover: 0 24px 60px rgba(17, 17, 17, 0.16);
}

body.is-loading {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--black);
  transition: opacity .45s ease, visibility .45s ease;
}

.site-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-mark {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(201, 162, 39, .45);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.loader-mark span {
  color: var(--gold);
  font-weight: 900;
  font-size: 28px;
  animation: spinReverse 1s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spinReverse { to { transform: rotate(-360deg); } }

.site-header {
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.site-header.scrolled {
  background: rgba(17, 17, 17, .94);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .28);
}

.main-nav a:not(.nav-cta) {
  position: relative;
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}

.main-nav a:not(.nav-cta):hover::after,
.main-nav a:not(.nav-cta):focus-visible::after {
  transform: scaleX(1);
}

.btn {
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  will-change: transform;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}

.nav-cta {
  box-shadow: 0 10px 24px rgba(201, 162, 39, .22);
}

.event-card,
.food-card,
.step,
.photo-card,
.request-form,
.form-info,
.contact-box,
.gallery-grid img {
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}

.event-card:hover,
.food-card:hover,
.step:hover,
.photo-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(201, 162, 39, .38);
}

.food-card img,
.event-card img,
.gallery-grid img,
.photo-card img {
  transition: transform .45s var(--ease), filter .35s ease;
}

.food-card:hover img,
.event-card:hover img,
.photo-card:hover img {
  transform: scale(1.035);
}

.gallery-grid img {
  cursor: zoom-in;
}

.gallery-grid img:hover,
.gallery-grid img:focus-visible {
  transform: translateY(-5px) scale(1.015);
  box-shadow: var(--shadow-hover);
  outline: 3px solid rgba(201, 162, 39, .28);
  outline-offset: 3px;
}

.faq-list details {
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.faq-list details[open] {
  border-color: rgba(201, 162, 39, .45);
  box-shadow: 0 14px 34px rgba(17, 17, 17, .08);
  background: #fffdf8;
}

.faq-list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  display: grid;
  place-items: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-small);
  background: var(--black);
  color: var(--gold);
  font-size: 22px;
  line-height: 1;
  transition: transform .25s ease, background .25s ease;
}

.faq-list details[open] summary::after {
  content: "–";
  background: var(--gold);
  color: var(--black);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, .82);
}

.lightbox.open {
  display: flex;
}

.lightbox-inner {
  position: relative;
  width: min(1050px, 96vw);
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 10px;
  background: #111;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .45);
}

.lightbox-caption {
  color: var(--white);
  margin-top: 14px;
  font-weight: 700;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .28);
}

.lightbox-close:hover,
.lightbox-close:focus-visible {
  background: var(--gold-hover);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 620px) {
  .site-loader { display: none; }
  body.is-loading { overflow: auto; }
  .lightbox-close { top: 8px; right: 8px; }
  .lightbox { padding: 14px; }
}
