/* ==========================================================================
   Ferylicious – starter template
   Brand colors and fonts reverse-engineered from ferylicious.de:
   - Primary:   #AE0B0B (deep red)
   - Secondary: #244435 (dark green, used in nav)
   - Script accent font: "Pacifico"
   - Body font: "Noto Sans"
   ========================================================================== */

:root {
  --color-primary: #AE0B0B;
  --color-primary-dark: #8a0909;
  --color-secondary: #244435;
  --color-text: #333333;
  --color-text-light: #666666;
  --color-bg-tint: #f8f5f0;
  --color-header-bg: #f8f3e8;
  --font-script: 'Pacifico', cursive;
  --font-body: 'Noto Sans', Helvetica, Arial, sans-serif;
  --max-width: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.7;
  font-size: 17px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a { color: var(--color-primary); text-decoration: none; }

h1, h2, h3 { font-weight: 400; color: var(--color-text); margin: 0 0 20px; font-family: var(--font-script); }

h1 {
  font-size: 44px;
  color: var(--color-primary);
  letter-spacing: 2px;
  line-height: 1.4;
}

h2 {
  font-size: 32px;
  text-align: center;
}
h2::after {
  content: '';
  display: block;
  width: 80%;
  height: 3px;
  background: var(--color-primary);
  margin: 10px auto 0;
}
.split__content h2::after { margin-left: 0; }
.legal h2::after { display: none; }

h3 { font-size: 22px; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow { max-width: 860px; }

.text-center { text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border: 1px solid var(--color-primary);
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all .3s ease;
}

.btn--outline-dark {
  color: var(--color-primary);
  background: transparent;
}
.btn--outline-dark:hover { background: var(--color-primary); color: #fff; }

.btn--outline-light {
  color: #fff;
  border-color: rgba(255,255,255,.8);
  background: transparent;
}
.btn--outline-light:hover { background: #fff; color: var(--color-primary); }

/* ---- Media placeholder slots ---- */
.media-slot {
  position: relative;
  margin: 0;
  background: repeating-linear-gradient(45deg, #eee, #eee 10px, #f6f6f6 10px, #f6f6f6 20px);
  border: 1px dashed #ccc;
  overflow: hidden;
  min-height: 120px;
}
.media-slot img { width: 100%; height: 100%; object-fit: cover; }
.media-slot::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-size: 13px;
  color: #888;
  background: rgba(255,255,255,.6);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.media-slot.is-empty img { visibility: hidden; }
.media-slot.is-empty::after { opacity: 1; }

.media-slot--wide { aspect-ratio: 1200 / 471; }
.media-slot--icon { width: 80px; height: 80px; margin: 0 auto 16px; }
.media-slot--icon img { object-fit: contain; }
.media-slot--icon::after { font-size: 10px; padding: 4px; }
.media-slot--value { aspect-ratio: 3 / 2; margin: 0 0 16px; border-radius: 12px; }

/* logo gets a nice text fallback instead of a gray box */
#logo-slot {
  display: flex;
  align-items: center;
  width: auto;
  height: clamp(44px, 5vw + 24px, 78px);
  min-height: 0;
  background: none;
  border: none;
  overflow: visible;
}
#logo-slot img { display: block; width: auto; height: 100%; object-fit: contain; }
#logo-slot.is-empty::after {
  content: 'Ferylicious';
  font-family: var(--font-script);
  font-size: 26px;
  color: var(--color-primary);
  background: none;
}

/* ---- Header (topbar + mainnav stick together as one block) ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ---- Top bar ---- */
.topbar {
  background: var(--color-header-bg);
}
.topbar__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px clamp(20px, 5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar__logo { flex-shrink: 0; }
.topbar__social { list-style: none; display: flex; gap: clamp(10px, 1.4vw, 16px); margin: 0; padding: 0; flex-shrink: 0; }
.topbar__social a { color: var(--color-secondary); display: block; opacity: .85; }
.topbar__social a:hover { opacity: 1; }
.topbar__social svg { width: clamp(16px, 1.6vw + 9px, 22px); height: clamp(16px, 1.6vw + 9px, 22px); }

/* ---- Main nav ---- */
.mainnav { background: var(--color-header-bg); }
.mainnav__inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.mainnav__menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 36px;
  margin: 0;
  padding: 18px 0;
}
.mainnav__menu a {
  color: var(--color-secondary);
  font-size: 15px;
  font-weight: 500;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.mainnav__menu a:hover,
.mainnav__menu a.is-active { border-bottom-color: var(--color-primary); }

.mainnav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 16px 0;
  margin-left: auto;
}
.mainnav__burger span { width: 26px; height: 2px; background: var(--color-secondary); display: block; }

/* ---- Hero ---- */
.hero__text {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 56px;
  text-align: center;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
}
.hero__text p { font-size: 18px; margin-bottom: 24px; }

/* ---- Generic sections ---- */
.section { padding: 60px 0; }
.section--tinted { background: var(--color-bg-tint); }
.section p { max-width: 760px; margin-left: auto; margin-right: auto; }
.section .container--narrow p { max-width: none; }

/* ---- Split (image + text) ---- */
.split__grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 48px;
  align-items: center;
}
.split__content h2 { text-align: left; font-size: 26px; }
.split__content p { max-width: none; text-align: left; }
.split__content { text-align: center; }
.split--reverse .split__grid { grid-template-columns: 2fr 3fr; }

/* ---- Video ---- */
.video-embed { position: relative; padding-bottom: 56.25%; height: 0; max-width: 900px; margin: 0 auto; background: #000; }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-embed__facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; margin: 0; cursor: pointer; background: #000; }
.video-embed__facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-embed__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: clamp(56px, 8vw, 88px); height: clamp(40px, 5.6vw, 62px); transition: transform .15s ease; }
.video-embed__play svg { width: 100%; height: 100%; }
.video-embed__facade:hover .video-embed__play,
.video-embed__facade:focus-visible .video-embed__play { transform: translate(-50%, -50%) scale(1.08); }

/* ---- Benefits row ---- */
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.benefit__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  font-size: 20px;
  margin-bottom: 12px;
}
.benefit__label {
  font-family: var(--font-script);
  font-size: 26px;
  color: #000;
  margin: 0;
}

/* ---- Google Reviews widget ---- */
.reviews-widget {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 36px;
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  position: relative;
}
.reviews-summary { text-align: center; }
.reviews-summary__label { font-weight: 700; letter-spacing: 1px; margin: 0 0 8px; font-size: 15px; }
.reviews-summary__stars { color: #fbbc05; font-size: 26px; letter-spacing: 2px; margin-bottom: 8px; }
.reviews-summary__count { font-size: 14px; color: var(--color-text-light); margin: 0 0 12px; max-width: none; }
.reviews-summary__count strong { color: var(--color-text); }
.google-wordmark { font-family: 'Noto Sans', Arial, sans-serif; font-weight: 700; font-size: 20px; }
.google-wordmark span:nth-child(1) { color: #4285F4; }
.google-wordmark span:nth-child(2) { color: #EA4335; }
.google-wordmark span:nth-child(3) { color: #FBBC05; }
.google-wordmark span:nth-child(4) { color: #4285F4; }
.google-wordmark span:nth-child(5) { color: #34A853; }
.google-wordmark span:nth-child(6) { color: #EA4335; }

.reviews-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 4px 52px 4px 4px;
  margin: 0;
  scrollbar-width: none;
}
.reviews-scroll::-webkit-scrollbar { display: none; }
.review-card {
  flex: 0 0 320px;
  background: var(--color-bg-tint);
  border-radius: 14px;
  padding: 20px;
  margin: 0;
}
.review-card__header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.review-card__avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.review-card__name { font-weight: 700; font-size: 14px; margin: 0; }
.review-card__time { font-size: 12px; color: var(--color-text-light); margin: 0; }
.review-card__badge { margin-left: auto; flex-shrink: 0; }
.review-card__stars { color: #fbbc05; font-size: 15px; letter-spacing: 1px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.review-card__verified { color: #4285F4; font-size: 13px; }
.review-card__text {
  font-size: 14px;
  max-width: none;
  margin: 0 0 6px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  white-space: pre-line;
}
.review-card.is-expanded .review-card__text { -webkit-line-clamp: unset; overflow: visible; }
.review-card__more {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.reviews-scroll__next,
.reviews-scroll__prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  color: var(--color-text);
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  transition: opacity .2s ease;
}
.reviews-scroll__next:hover,
.reviews-scroll__prev:hover { background: var(--color-bg-tint); }
.reviews-scroll__next { right: 12px; }
.reviews-scroll__prev { left: 12px; }
.reviews-scroll__prev.is-hidden,
.reviews-scroll__next.is-hidden { opacity: 0; pointer-events: none; }

/* ---- Occasions (flexbox so a trailing 2-item row centers on its own, like the 3-2 layout on the original site) ---- */
.occasions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px 32px;
  margin-top: 40px;
  text-align: center;
}
.occasion { flex: 0 1 300px; max-width: 300px; }
.occasion p { font-size: 15px; max-width: none; }
.occasion__link { display: inline-block; margin-top: 8px; font-weight: 700; font-size: 14px; }

/* real icon artwork exists for all 5 occasions, so the placeholder stripe/border would only show through their transparent PNG background */
.media-slot--icon { background: none; border: none; }

/* ---- Menu section (photo background behind the pricing columns, like the original) ---- */
.menu-section { position: relative; overflow: hidden; }
.menu-section .media-slot--bg {
  position: absolute;
  inset: 0;
  background: var(--color-bg-tint);
  border: none;
}
.menu-section .media-slot--bg img { width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.menu-section .media-slot--bg::after { content: none; }
.menu-section__inner { position: relative; z-index: 1; }

/* ---- Pricing (translucent white frame per column over the photo, matching the original) ---- */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
  text-align: center;
}
.price-card { background: rgba(255,255,255,.7); padding: 20px; }
.price-card h3 { margin-bottom: 12px; color: var(--color-primary); }
.price-card__price {
  font-family: var(--font-script);
  font-size: 34px;
  color: #000;
  margin: 4px 0 16px;
}
.price-card__price span { font-family: var(--font-body); font-size: 16px; }
.price-card__or { color: var(--color-text-light); font-size: 14px; margin: 10px 0; }
.pricing__note { font-size: 13px; color: var(--color-text-light); margin-top: 24px; }

/* ---- Process (parallax-style) ---- */
.process { position: relative; color: #fff; overflow: hidden; }
.section--dark { background: var(--color-secondary); }
.process .media-slot--bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20,20,20,.55), rgba(20,20,20,.55)), repeating-linear-gradient(45deg,#333,#333 10px,#3a3a3a 10px,#3a3a3a 20px);
  border: none;
}
.process .media-slot--bg img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.process .media-slot--bg::after { content: none; }
.process__inner { position: relative; z-index: 1; }
.process h2 { color: #fff; }
.process__intro { font-size: 16px; margin-bottom: 40px; }
.process__step {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.15);
  align-items: start;
}
.process__step:first-of-type { border-top: none; }
.process__step h3 {
  font-family: var(--font-script);
  color: #ff8a8a;
  font-size: 26px;
  margin: 0;
}
.process__step p { margin: 0; max-width: none; font-size: 15px; opacity: .9; }

/* ---- FAQ ---- */
.faq__item { border-bottom: 1px solid #e5e5e5; }
.faq__question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  padding: 20px 32px 20px 0;
  position: relative;
  cursor: pointer;
}
.faq__question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 18px;
  font-size: 22px;
  color: var(--color-primary);
  transition: transform .2s ease;
}
.faq__question[aria-expanded="true"]::after { content: '\2212'; }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
}
.faq__answer p { max-width: none; margin: 0 0 16px; font-size: 15px; color: var(--color-text-light); }

/* ---- Social row ---- */
.social-row { list-style: none; display: flex; justify-content: center; gap: 20px; margin: 0; padding: 0; }
.social-row a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
}

/* ---- Footer ---- */
.site-footer {
  background: #1f1f1f;
  color: #bbb;
  padding: 28px 0;
  font-size: 13px;
  text-align: center;
}
.site-footer a { color: #ddd; }
.site-footer a:hover { color: #fff; }

/* ---- Legal / long-form text pages ---- */
.legal h1 { text-align: center; }
.legal h2 { text-align: left; font-size: 22px; margin-top: 44px; }
.legal h3 { font-size: 18px; margin-top: 28px; }
.legal p, .legal li { max-width: none; color: var(--color-text); }
.legal address { font-style: normal; }
.legal ul, .legal ol { padding-left: 22px; }
.legal .legal-note {
  background: var(--color-bg-tint);
  border-radius: 8px;
  padding: 16px 20px;
  font-size: 14px;
  color: var(--color-text-light);
  margin-bottom: 32px;
}

/* ---- Anfrage-Formular ---- */
.request-form { max-width: 640px; margin: 40px auto 0; }
.form-row { margin-bottom: 20px; }
.form-row--split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--color-secondary);
  margin-bottom: 6px;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background: #fff;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--color-primary);
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row--consent { display: flex; align-items: flex-start; gap: 10px; }
.form-row--consent input { width: auto; margin-top: 4px; }
.form-row--consent label { text-transform: none; font-weight: 400; font-size: 14px; letter-spacing: 0; }
.form-row--honeypot { position: absolute; left: -9999px; top: -9999px; }
.form-submit { text-align: center; margin-top: 8px; }
.form-submit .btn { border: none; cursor: pointer; background: var(--color-primary); color: #fff; }
.form-submit .btn:hover { background: var(--color-primary-dark); }
.form-submit .btn:disabled { opacity: .6; cursor: wait; }
.form-message { margin-top: 20px; padding: 14px 18px; border-radius: 8px; font-size: 14px; display: none; }
.form-message.is-visible { display: block; }
.form-message.is-success { background: #e6f4ea; color: #1e5b32; }
.form-message.is-error { background: #fbe7e7; color: var(--color-primary-dark); }

/* ---- Werte-Blöcke (Über Fery) ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0;
  text-align: center;
}
.value h3 { font-family: var(--font-script); color: var(--color-primary); font-size: 26px; }
.value p { font-size: 15px; max-width: none; }

/* ---- Services-Liste (Firmenevents) ---- */
.services-list { max-width: 760px; margin: 32px auto 0; padding-left: 24px; }
.services-list li { margin-bottom: 14px; font-size: 16px; }

/* ---- Kochkurs-Karten ---- */
.courses {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 36px 0;
}
.course-card {
  background: #fff;
  border-radius: 10px;
  padding: 28px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.course-card h3 { font-family: var(--font-script); color: var(--color-primary); font-size: 24px; }
.course-card p { max-width: none; font-size: 15px; }

/* ---- Galerie-Grid ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.gallery-grid .media-slot { aspect-ratio: 4 / 3; border-radius: 8px; }

/* ---- Eyebrow (Firmenevents-Landingpage) ---- */
.eyebrow {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 8px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .mainnav__inner { display: flex; flex-direction: column; align-items: center; }
  .mainnav__menu { display: none; }
  .mainnav__burger { display: flex; margin-left: 0; width: auto; }
  .mainnav__menu.is-open {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 8px 0 16px;
  }
  .mainnav__menu.is-open a { display: block; padding: 10px 0; }

  .split__grid,
  .split--reverse .split__grid { grid-template-columns: 1fr; }
  .split__content { text-align: center; }
  .split__content h2 { text-align: center; }

  .benefits__grid,
  .pricing { grid-template-columns: 1fr; }

  .reviews-widget { grid-template-columns: 1fr; padding: 24px; }
  .review-card { flex-basis: 280px; }
  .reviews-scroll__next { top: auto; bottom: -18px; right: 50%; transform: translateX(120%); }
  .reviews-scroll__prev { top: auto; bottom: -18px; left: 50%; transform: translateX(-120%); }

  .occasion { flex-basis: 45%; }

  .process__step { grid-template-columns: 1fr; }

  .values-grid,
  .courses { grid-template-columns: 1fr; }

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

  .form-row--split { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .occasion { flex-basis: 100%; max-width: none; }
  .topbar__inner { flex-wrap: wrap; justify-content: space-between; row-gap: 10px; padding-top: 12px; padding-bottom: 12px; }
  .topbar .btn { padding: 10px 20px; font-size: 11px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
