/* GastroPtima — Site Studio v2 (custom, premium/luxus marke-spezifisch) */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --brand: #14140f;
  --brand-soft: #33332b;
  --accent: #12703f;
  --accent-2: #c69445;
  --accent-soft: #e6f4ec;
  --gold-soft: #f8f0df;
  --bg: #fffefb;
  --bg-alt: #f6f4ee;
  --border: #e7e4da;
  --text: #14140f;
  --text-muted: #5f5c50;
  --radius: 18px;
  --max-width: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

a { color: inherit; }

/* Scroll-reveal (IntersectionObserver-driven, see script.js) */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="fade"] { transform: none; }
[data-reveal].is-visible ~ * { }

/* stagger children with data-reveal-group */
[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
[data-reveal-group].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-group].is-visible > *:nth-child(1) { transition-delay: 0.02s; }
[data-reveal-group].is-visible > *:nth-child(2) { transition-delay: 0.12s; }
[data-reveal-group].is-visible > *:nth-child(3) { transition-delay: 0.22s; }
[data-reveal-group].is-visible > *:nth-child(4) { transition-delay: 0.32s; }

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 254, 251, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.nav img.logo { height: 30px; width: auto; }

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.94rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  position: relative;
  padding-bottom: 3px;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -2px;
  height: 1px;
  background: var(--accent-2);
  transition: right 0.3s var(--ease);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { right: 0; }

.nav-cta {
  background: var(--brand);
  color: #fff;
  padding: 11px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
  box-shadow: 0 1px 2px rgba(20,20,15,0.15);
}
.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(18,112,63,0.28);
}

/* Hero */
.hero {
  position: relative;
  padding: 100px 0 88px;
  text-align: center;
  overflow: hidden;
  background: var(--bg);
}

.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(circle at 20% 20%, rgba(18,112,63,0.11) 0%, transparent 55%),
    radial-gradient(circle at 82% 5%, rgba(198,148,69,0.16) 0%, transparent 50%),
    radial-gradient(circle at 50% 60%, rgba(20,20,15,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent-2);
  background: var(--gold-soft);
  border: 1px solid #ecdfc0;
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(198,148,69,0.28);
}

.hero img.hero-logo {
  height: 54px;
  width: auto;
  margin: 0 auto 30px;
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 22px;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.hero .lead {
  max-width: 620px;
  margin: 0 auto 38px;
  color: var(--text-muted);
  font-size: 1.15rem;
  position: relative;
  z-index: 1;
}

.cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 1px 2px rgba(20,20,15,0.15); }
.btn-primary:hover { background: var(--accent); box-shadow: 0 10px 24px rgba(18,112,63,0.28); }

.btn-secondary { background: transparent; color: var(--brand); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--brand); box-shadow: 0 6px 16px rgba(20,20,15,0.08); }

.pitch {
  margin: 48px auto 0;
  max-width: 760px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--brand-soft);
  border-left: 2px solid var(--accent-2);
  padding-left: 22px;
  text-align: left;
  position: relative;
  z-index: 1;
}

/* Section shell */
section { padding: 96px 0; }
section.alt { background: var(--bg-alt); }

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

.section-head .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 14px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.section-head p { color: var(--text-muted); margin: 0; font-size: 1.02rem; }

/* Bausteine (Leistungen) */
.bausteine {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.baustein-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease);
}
.baustein-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(20,20,15,0.10);
  border-color: transparent;
}

.baustein-card .num {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent-2);
}

.baustein-card h3 { font-family: var(--font-display); font-weight: 600; margin: 0; font-size: 1.35rem; }

.baustein-card .benefit {
  font-weight: 600;
  color: var(--brand);
}

.baustein-card p { margin: 0; color: var(--text-muted); font-size: 0.96rem; }

.baustein-card .status-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

/* Showcase / Produktscreens */
.showcase {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.showcase-copy h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 0 0 18px; }
.showcase-copy p { color: var(--text-muted); margin: 0 0 16px; font-size: 1.02rem; }

.showcase-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.showcase-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--brand-soft);
}
.showcase-list li::before { content: "—"; color: var(--accent-2); font-weight: 700; }

.browser-frame {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(20,20,15,0.16);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.browser-frame:hover { transform: translateY(-6px) rotate(0deg); box-shadow: 0 40px 90px rgba(20,20,15,0.2); }

.browser-frame .chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #f2f0ea;
  border-bottom: 1px solid var(--border);
}
.browser-frame .chrome .dot { width: 10px; height: 10px; border-radius: 50%; }
.browser-frame .chrome .dot.r { background: #ec6a5e; }
.browser-frame .chrome .dot.y { background: #f4bf4f; }
.browser-frame .chrome .dot.g { background: #61c454; }
.browser-frame .chrome .url {
  margin-left: 10px;
  font-size: 0.76rem;
  color: var(--text-muted);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 12px;
  flex: 1;
  max-width: 260px;
}

.browser-frame img { width: 100%; display: block; }

.showcase-stack {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.showcase-stack .browser-frame:nth-child(2) { margin-left: 32px; }

.showcase-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 10px;
}

/* Cuisine grid (Live im Einsatz — mehrere Küchen) */
.cuisine-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.cuisine-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cuisine-card .browser-frame img {
  aspect-ratio: 16 / 11;
  object-fit: cover;
  object-position: top;
}

.cuisine-caption {
  font-size: 0.92rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}

.cuisine-caption strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 3px;
}

.cuisine-caption a {
  display: inline-block;
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease);
}
.cuisine-caption a:hover { border-color: var(--accent); }

/* Pakete / Pricing */
.pakete {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 12px;
}

.paket-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.paket-card:hover { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(20,20,15,0.10); }

.paket-card.highlight {
  border-color: var(--brand);
  box-shadow: 0 16px 40px rgba(20,20,15,0.14);
  background: linear-gradient(180deg, #fff 0%, var(--gold-soft) 260%);
}

.paket-card .tag {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--accent-2);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}

.paket-card h3 { font-family: var(--font-display); font-weight: 600; margin: 0; font-size: 1.4rem; }
.paket-card .subtitle { color: var(--text-muted); font-size: 0.9rem; margin: -8px 0 0; }

.paket-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 0.93rem;
}

.paket-card ul li { display: flex; gap: 8px; align-items: flex-start; }
.paket-card ul li::before { content: "✓"; color: var(--accent); font-weight: 700; }

.paket-card .btn { margin-top: auto; text-align: center; }

/* Ueber uns */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-grid h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 0 0 18px; }
.about-grid p { color: var(--text-muted); margin: 0 0 15px; }

.about-visual {
  background: var(--brand);
  background-image: radial-gradient(circle at 85% 0%, rgba(198,148,69,0.24) 0%, transparent 55%);
  border-radius: var(--radius);
  color: #fff;
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.stat-block .num {
  font-family: var(--font-display);
  font-size: 2.3rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
}

.stat-block .label {
  font-size: 0.85rem;
  color: #c9c7bc;
  margin-top: 6px;
}

/* Vertrauen */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.trust-item {
  text-align: center;
  padding: 10px;
}

.trust-item .icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.4rem;
  font-weight: 700;
  transition: transform 0.35s var(--ease);
}
.trust-item:hover .icon { transform: scale(1.08) rotate(-4deg); }

.trust-item h4 { font-family: var(--font-display); font-weight: 600; margin: 0 0 8px; font-size: 1.05rem; }
.trust-item p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

/* Kontakt */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info h2 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 3.2vw, 2.4rem); margin: 0 0 18px; }
.contact-info p { color: var(--text-muted); }

.contact-detail {
  display: flex;
  gap: 12px;
  margin: 18px 0;
  font-size: 0.96rem;
}
.contact-detail .label { font-weight: 700; min-width: 90px; }

form.contact-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 17px;
  box-shadow: 0 20px 50px rgba(20,20,15,0.06);
}

form.contact-form label {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
}

form.contact-form input,
form.contact-form textarea,
form.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
form.contact-form input:focus,
form.contact-form textarea:focus,
form.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

form.contact-form textarea { min-height: 120px; resize: vertical; }

form.contact-form .form-note {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.form-status {
  font-size: 0.88rem;
  padding: 10px 14px;
  border-radius: 8px;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: var(--accent-soft); color: var(--accent); }
.form-status.err { background: #fdecea; color: #9c2b1b; }

/* Footer */
footer.site-footer {
  background: var(--brand);
  color: #cfccc0;
  padding: 52px 0 30px;
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}

footer.site-footer img.logo { height: 26px; filter: brightness(0) invert(1); margin-bottom: 12px; }

footer.site-footer a { text-decoration: none; color: #cfccc0; }
footer.site-footer a:hover { color: #fff; }

.footer-links {
  display: flex;
  gap: 22px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 22px;
  border-top: 1px solid #33332b;
  font-size: 0.82rem;
  color: #9c9a8f;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* Legal pages */
.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 64px 28px 96px;
}
.legal-page h1 { font-family: var(--font-display); font-weight: 500; margin-bottom: 8px; }
.legal-page .updated { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 40px; }
.legal-page h2 { font-family: var(--font-display); font-weight: 600; margin-top: 40px; font-size: 1.25rem; }
.legal-page p, .legal-page li { color: var(--text-muted); font-size: 0.95rem; }
.legal-page a.back { display: inline-block; margin-bottom: 24px; font-size: 0.9rem; }

/* Responsive */
@media (max-width: 960px) {
  .bausteine, .pakete, .trust-row, .cuisine-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid, .showcase { grid-template-columns: 1fr; }
  .about-visual { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .showcase-stack .browser-frame:nth-child(2) { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-group] > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
