/* ============================================================
   Griechische Feinkost Kirchrode — Design System
   Marke: Türkis-Petrol (echte Ladenfarbe) + warme Creme & Gold
   ============================================================ */

:root {
  /* Brand / Petrol */
  --teal-900: #0A3B3B;
  --teal-800: #0C5050;
  --teal-700: #0E6E6E;   /* Hauptmarke */
  --teal-600: #128585;
  --teal-500: #18A2A2;   /* Ladenfarbe / Akzent */
  --teal-300: #7FCFCD;
  --teal-100: #DCF0EF;

  /* Warm neutrals */
  --cream:    #FBF6EC;   /* Seitenhintergrund */
  --cream-2:  #F4ECDC;
  --paper:    #FFFFFF;
  --ink:      #18302F;   /* Fließtext */
  --ink-soft: #4A5F5E;   /* Sekundärtext */
  --gold:     #B6862C;   /* Premium-Akzent */
  --gold-soft:#D9B466;

  /* Semantic */
  --bg:           var(--cream);
  --surface:      var(--paper);
  --text:         var(--ink);
  --text-muted:   var(--ink-soft);
  --primary:      var(--teal-700);
  --primary-hover:var(--teal-800);
  --accent:       var(--teal-500);
  --border:       #E7DFCF;
  --error:        #C0392B;

  /* Typo */
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing & radius */
  --container: 1180px;
  --radius-sm: 10px;
  --radius:    18px;
  --radius-lg: 26px;
  --shadow-sm: 0 2px 8px rgba(10,59,59,.06);
  --shadow:    0 14px 40px -18px rgba(10,59,59,.30);
  --shadow-lg: 0 30px 70px -30px rgba(10,59,59,.45);

  --ease: cubic-bezier(.22,.61,.36,1);
  --dur:  .55s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-hover); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--teal-900);
  margin: 0 0 .4em;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; }
p  { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.1rem, 4vw, 2.2rem); }

.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 2000;
  background: var(--primary); color: #fff; padding: .6rem 1rem; border-radius: 0 0 8px 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 0; color: #fff; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--primary);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: .8rem 1.4rem; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; text-align: center; white-space: nowrap;
  transition: transform .2s var(--ease), background .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 10px 24px -12px rgba(14,110,110,.8); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -14px rgba(14,110,110,.85); }

.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255,255,255,.92); color: var(--teal-900); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), padding .3s var(--ease);
  padding: .55rem 0;
}
.site-header.scrolled {
  background: rgba(251,246,236,.88);
  backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--border), 0 8px 30px -22px rgba(10,59,59,.5);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--teal-900); }
.brand-mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(150deg, var(--teal-600), var(--teal-800));
  color: #fff; box-shadow: var(--shadow-sm); flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.16rem; color: var(--teal-900); }
.brand-sub  { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }

/* Header color when over hero (top, not scrolled) */
.site-header:not(.scrolled) .brand-name { color: #fff; }
.site-header:not(.scrolled) .brand-sub  { color: rgba(255,255,255,.8); }
.site-header:not(.scrolled) .nav a      { color: rgba(255,255,255,.92); }
.site-header:not(.scrolled) .nav a::after{ background: #fff; }
.site-header:not(.scrolled) .nav-toggle span { background: #fff; }

.nav { display: flex; gap: 1.6rem; }
.nav a {
  position: relative; color: var(--teal-900); font-weight: 500; font-size: 1rem; padding: .3rem 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: .8rem; }
.btn-call { padding: .6rem 1.1rem; font-size: .92rem; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; background: none; border: 0; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--teal-900); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0 0 auto 0; z-index: 999; top: 0; padding: 5.5rem 1.4rem 1.6rem;
  background: rgba(251,246,236,.98); backdrop-filter: blur(10px);
  box-shadow: var(--shadow); transform: translateY(-100%); transition: transform .4s var(--ease);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu nav { display: flex; flex-direction: column; gap: .3rem; }
.mobile-menu nav a { padding: .9rem .4rem; font-size: 1.15rem; font-weight: 500; color: var(--teal-900); border-bottom: 1px solid var(--border); }
.mobile-menu nav a.btn { margin-top: 1rem; border-bottom: 0; color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); will-change: transform; }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,59,59,.55) 0%, rgba(10,59,59,.30) 35%, rgba(10,59,59,.78) 100%),
    radial-gradient(120% 80% at 15% 30%, rgba(12,80,80,.55), transparent 60%);
}
.hero-content { position: relative; max-width: 760px; padding-block: 7rem 5rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .95rem; letter-spacing: .02em; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); padding: .45rem .95rem; border-radius: 100px; backdrop-filter: blur(4px); }
.stars { color: var(--gold-soft); letter-spacing: .12em; }
.hero h1 { color: #fff; margin-top: 1.1rem; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero-lead { font-size: clamp(1.08rem, 2vw, 1.32rem); max-width: 40ch; color: rgba(255,255,255,.94); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 1.8rem; }

.scroll-hint { position: absolute; bottom: 1.6rem; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.85); animation: bob 2.2s var(--ease) infinite; }
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- Section helpers ---------- */
section { position: relative; }
.section-head { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-eyebrow { font-weight: 600; font-size: .82rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); margin-bottom: .5rem; }
.section-eyebrow.on-dark { color: var(--teal-300); }
.section-intro { color: var(--text-muted); font-size: 1.1rem; }

/* ---------- Highlights ---------- */
.highlights { padding: clamp(3rem, 6vw, 5rem) 0; }
.highlights-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.highlight {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.highlight:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.highlight svg { color: var(--accent); margin-bottom: .8rem; }
.highlight h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; color: var(--teal-900); margin-bottom: .3rem; }
.highlight p { color: var(--text-muted); font-size: .96rem; margin: 0; }

/* ---------- About ---------- */
.about { padding: clamp(3rem, 7vw, 6rem) 0; }
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); width: 100%; }
.about-badge {
  position: absolute; right: -10px; bottom: 24px; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: .9rem 1.2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; line-height: 1.3;
}
.about-badge strong { color: var(--teal-900); font-family: var(--font-display); font-size: 1.15rem; }
.about-badge span { color: var(--text-muted); font-size: .85rem; }
.about-points { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .6rem; }
.about-points li { position: relative; padding-left: 1.8rem; color: var(--text); }
.about-points li::before { content: ""; position: absolute; left: 0; top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px var(--teal-100); }

/* ---------- Sortiment ---------- */
.sortiment { padding: clamp(3rem, 7vw, 6rem) 0; background: linear-gradient(180deg, transparent, var(--cream-2) 60%, transparent); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.prod-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.prod-media { aspect-ratio: 4 / 3; overflow: hidden; }
.prod-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.prod-card:hover .prod-media img { transform: scale(1.07); }
.prod-body { padding: 1.3rem 1.4rem 1.5rem; }
.prod-body h3 { color: var(--teal-900); margin-bottom: .35rem; }
.prod-body p { color: var(--text-muted); font-size: .97rem; margin: 0; }
.sortiment-note { text-align: center; margin-top: 2.4rem; color: var(--text-muted); }

/* ---------- Catering ---------- */
.catering { padding: clamp(3.5rem, 8vw, 7rem) 0; background: linear-gradient(155deg, var(--teal-800), var(--teal-900)); color: #fff; }
.catering-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.catering h2 { color: #fff; }
.catering-info > p { color: rgba(255,255,255,.86); max-width: 52ch; }
.catering-points { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; gap: .7rem; }
.catering-points li { display: flex; align-items: center; gap: .7rem; color: #fff; font-weight: 500; }
.catering-points svg { color: var(--teal-300); flex: none; }
.catering-media { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.catering-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; cursor: zoom-in; transition: transform .4s var(--ease); }
.catering-media img:hover { transform: scale(1.03) rotate(-.5deg); }

.catering-form-wrap { position: sticky; top: 90px; }
.catering-form { background: var(--surface); color: var(--text); border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2.2rem); box-shadow: var(--shadow-lg); }
.catering-form h3 { color: var(--teal-900); font-size: 1.5rem; }
.form-sub { color: var(--text-muted); font-size: .95rem; margin-top: -.2rem; }
.field { margin-bottom: 1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--teal-900); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--text); background: #fff; border: 1.5px solid var(--border);
  border-radius: var(--radius-sm); padding: .75rem .85rem; min-height: 46px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: auto; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--teal-100); }
.field input[aria-invalid="true"] { border-color: var(--error); }
.error { display: block; color: var(--error); font-size: .82rem; min-height: 1em; margin-top: .25rem; }
.form-status { font-size: .95rem; margin: .8rem 0 0; min-height: 1.2em; }
.form-status.ok { color: var(--teal-700); font-weight: 600; }
.form-status.err { color: var(--error); }
.form-alt { text-align: center; font-size: .92rem; color: var(--text-muted); margin: .9rem 0 0; }

/* ---------- Galerie ---------- */
.galerie { padding: clamp(3rem, 7vw, 6rem) 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 1rem; }
.g-item { position: relative; padding: 0; border: 0; background: var(--cream-2); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; box-shadow: var(--shadow-sm); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.g-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10,59,59,.35)); opacity: 0; transition: opacity .3s var(--ease); }
.g-item:hover img { transform: scale(1.08); }
.g-item:hover::after { opacity: 1; }
.g-tall { grid-row: span 2; }
.g-wide { grid-column: span 2; }

/* ---------- Reviews ---------- */
.reviews { padding: clamp(3rem, 7vw, 6rem) 0; background: linear-gradient(180deg, var(--cream-2), transparent); }
.reviews-head { text-align: center; margin-bottom: 2.6rem; }
.rating-big { display: inline-flex; align-items: baseline; gap: .6rem; margin-bottom: .6rem; flex-wrap: wrap; justify-content: center; }
.rating-num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 600; color: var(--teal-900); }
.stars-lg { font-size: 1.5rem; }
.rating-meta { color: var(--text-muted); font-size: .95rem; }
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review-card { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 1.8rem; box-shadow: var(--shadow-sm); position: relative; }
.review-card::before { content: "\201C"; font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--teal-300); position: absolute; top: .3rem; left: 1rem; }
.review-card p { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: var(--teal-900); position: relative; padding-top: 1rem; }
.review-card footer { color: var(--text-muted); font-size: .85rem; font-style: normal; }
.reviews-note { text-align: center; color: var(--text-muted); font-size: .85rem; margin-top: 1.6rem; }

/* ---------- Kontakt ---------- */
.kontakt { padding: clamp(3rem, 7vw, 6rem) 0; }
.kontakt-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact-list { list-style: none; padding: 0; margin: 1.4rem 0 2rem; display: grid; gap: 1.3rem; }
.contact-list li { display: flex; gap: 1rem; }
.ci { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--teal-100); color: var(--teal-700); }
.contact-list strong { color: var(--teal-900); }
.hours { border-collapse: collapse; margin-top: .3rem; }
.hours th, .hours td { text-align: left; padding: .15rem 1.2rem .15rem 0; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.hours th { color: var(--text-muted); font-weight: 600; }
.kontakt-map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; border: 1px solid var(--border); }
.kontakt-map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-900); color: rgba(255,255,255,.8); padding: 3rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem; align-items: start; }
.footer-brand .brand-name { color: #fff; font-size: 1.25rem; }
.footer-brand p { margin-top: .5rem; font-size: .95rem; }
.footer-brand a, .footer-legal a { color: var(--teal-300); }
.footer-nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-nav a { color: rgba(255,255,255,.8); }
.footer-nav a:hover { color: #fff; }
.footer-legal { display: flex; flex-direction: column; gap: .5rem; }
.copyright { margin-top: .6rem; font-size: .85rem; color: rgba(255,255,255,.55); }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(8,30,30,.92); display: grid; place-items: center; opacity: 0; transition: opacity .3s var(--ease); }
.lightbox.open { opacity: 1; }
.lightbox[hidden] { display: none; }
.lb-img { max-width: 90vw; max-height: 86vh; border-radius: 12px; box-shadow: var(--shadow-lg); transform: scale(.94); transition: transform .3s var(--ease); }
.lightbox.open .lb-img { transform: scale(1); }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); color: #fff; cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: background .2s var(--ease); }
.lb-close { top: 1.2rem; right: 1.2rem; width: 48px; height: 48px; font-size: 2rem; line-height: 1; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 2rem; }
.lb-prev { left: 1.2rem; } .lb-next { right: 1.2rem; }
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,.28); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--reveal-delay, 0ms); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }

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

@media (max-width: 820px) {
  .nav { display: none; }
  .btn-call span { display: none; }
  .btn-call { padding: .6rem; width: 44px; height: 44px; }
  .nav-toggle { display: flex; }
  .about-grid, .catering-grid, .kontakt-grid { grid-template-columns: 1fr; }
  .catering-form-wrap { position: static; }
  .review-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 460px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .highlights-grid { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .field-row { grid-template-columns: 1fr; }
  .catering-media { grid-template-columns: 1fr 1fr; }
  .hero-cta .btn { flex: 1 1 auto; }
  .about-badge { right: 8px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-media img { transform: none !important; }
  .scroll-hint { animation: none; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .05ms !important; }
}
