/* hungrywulf-landing: dunkles Theme, Tokens aus brand/BRAND.md (--hw-*) */
@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-tight-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/inter-tight-latin-700-normal.woff2") format("woff2"); }

:root {
  --hw-primary: #7E1A34;
  --hw-primary-hover: #8F2140;
  --hw-primary-active: #6E152D;
  --hw-brand: #7E1A34; /* offizieller Markenton, nicht direkt auf Dunkel rendern (zu wenig Kontrast) */
  --hw-brand-on-dark: #E5576E; /* Markenton-Variante für Dark-Mode-Flächen (Logo, Headline-Akzent) */
  --hw-accent-dark: #E5576E;
  --hw-bg: #141316;
  --hw-text: #F4F1EC;
  --hw-muted: #A9A5AE;
  --hw-bg-light: #FFFFFF;
  --hw-text-light: #19171B;
  --hw-muted-light: #5E5A63;
  --hw-border-light: #E6E2DB;
  --hw-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hw-font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Strukturelle Werte, nicht Teil des Markenkits */
  --hw-surface: #1c1a1f;
  --hw-raised: #242228;
  --hw-sunken: #0e0d10;
  --hw-border: #312e34;
  --hw-border-strong: #6f6b74;
  --hw-radius-sm: 4px; --hw-radius-md: 8px; --hw-radius-lg: 12px; --hw-radius-xl: 16px;
  --hw-shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);
  --hw-nav-h: 68px;
  --hw-t: 0.2s ease;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  position: relative;
  z-index: 0;
  margin: 0;
  background-color: var(--hw-bg);
  color: var(--hw-text);
  font-family: var(--hw-font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.16;
  pointer-events: none;
  background-image: url("/assets/bg-glitter.jpg");
  background-size: 640px 640px;
  background-repeat: repeat;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--hw-font-display); font-weight: 700; line-height: 1.05; margin: 0; }
h1 { letter-spacing: -0.03em; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--hw-brand-on-dark); outline-offset: 2px; }
.container { width: 100%; max-width: 1152px; margin: 0 auto; padding: 0 24px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--hw-primary); color: #fff; padding: 8px 14px; border-radius: var(--hw-radius-md); z-index: 200; font-weight: 600; }
.skip-link:focus { left: 8px; }
section[id] { scroll-margin-top: 68px; }

/* Logo-Lockup (Inline-SVG Marke + Wordmark als Text, nach BRAND.md) */
.hw-logo { display: inline-flex; align-items: baseline; gap: .22em; font: 700 19px/1 var(--hw-font-display); letter-spacing: -0.03em; color: var(--hw-text); text-decoration: none; }
.hw-logo svg { width: .76em; height: .76em; flex-shrink: 0; }
.hw-logo path { fill: var(--hw-brand-on-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: var(--hw-radius-md); border: 0; font: 600 15px/1 var(--hw-font-display); text-decoration: none; cursor: pointer; transition: background var(--hw-t), border-color var(--hw-t), transform var(--hw-t); box-shadow: none; }
.btn-lg { height: 52px; padding: 0 24px; font-size: 16px; }
.hw-btn { background: var(--hw-primary); color: #fff; }
.hw-btn:hover { background: var(--hw-primary-hover); }
.hw-btn:active { background: var(--hw-primary-active); }
.hw-btn:focus-visible { outline: 2px solid var(--hw-brand-on-dark); outline-offset: 2px; }
.btn-ghost { background: transparent; color: var(--hw-text); border: 1px solid var(--hw-border-strong); }
.btn-ghost:hover { border-color: var(--hw-text); }
.text-link { color: var(--hw-accent-dark); text-decoration: none; font-weight: 600; }
.text-link:hover { text-decoration: underline; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hw-nav-h); display: flex; align-items: center; transition: background var(--hw-t), border-color var(--hw-t); border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(20, 19, 22, 0.88); border-bottom-color: var(--hw-border); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; gap: 6px; }
.nav-link { text-decoration: none; color: var(--hw-muted); font-size: 15px; font-weight: 500; padding: 8px 12px; border-radius: var(--hw-radius-md); transition: color var(--hw-t); }
.nav-link:hover, .nav-link.active { color: var(--hw-text); }
.nav-login { color: var(--hw-accent-dark); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; width: 44px; height: 44px; background: none; border: 1px solid var(--hw-border); border-radius: var(--hw-radius-md); cursor: pointer; padding: 0; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.nav-burger span { display: block; width: 20px; height: 2px; background: var(--hw-text); border-radius: 2px; transition: transform var(--hw-t), opacity var(--hw-t); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--hw-nav-h) 0 0 0; z-index: 99; background: var(--hw-bg); padding: 24px; display: none; flex-direction: column; gap: 4px; overflow-y: auto; }
.mobile-menu.open { display: flex; }
.mobile-menu-link { text-decoration: none; font-size: 20px; font-weight: 600; padding: 14px 4px; border-bottom: 1px solid var(--hw-border); color: var(--hw-text); }
.mobile-menu-cta { margin-top: 24px; }
.mobile-menu-cta .btn { width: 100%; }

/* Sections (generisches Grundgerüst, Inhalte folgen in Checkpoint 3) */
.section { padding: 96px 0; }
.section.alt { background: var(--hw-surface); border-block: 1px solid var(--hw-border); }
.section-header { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-label { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--hw-accent-dark); margin-bottom: 14px; }
.section-headline { font-size: clamp(1.9rem, 4vw, 2.75rem); }
.section-sub { color: var(--hw-muted); font-size: 1.1rem; margin-top: 16px; }
.section-placeholder { color: var(--hw-muted); text-align: center; padding: 40px 0; border: 1px dashed var(--hw-border); border-radius: var(--hw-radius-lg); }

/* Footer */
.footer { border-top: 1px solid var(--hw-border); padding: 56px 0 28px; background: var(--hw-sunken); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-logo { margin-bottom: 14px; }
.footer-desc { color: var(--hw-muted); font-size: 0.95rem; max-width: 300px; }
.footer-col-heading { font-weight: 700; font-size: 14px; margin-bottom: 12px; font-family: var(--hw-font-display); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-links a { color: var(--hw-muted); text-decoration: none; font-size: 15px; }
.footer-links a:hover { color: var(--hw-text); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--hw-border); color: var(--hw-muted); font-size: 14px; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a { color: var(--hw-muted); text-decoration: none; }
.footer-legal a:hover { color: var(--hw-text); }

/* Kontakt / Rechtliches (Grundlayout, Inhalte folgen später) */
.page-hero { padding: calc(var(--hw-nav-h) + 64px) 0 24px; text-align: center; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.page-hero p { color: var(--hw-muted); font-size: 1.1rem; margin-top: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: calc(var(--hw-nav-h) + 64px) 0 64px; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto -10%; height: 90%; background: radial-gradient(ellipse 60% 55% at 50% 0%, rgba(204, 69, 96, 0.16) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.hero > .container { position: relative; z-index: 1; will-change: transform, opacity; transform-origin: 50% 0; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: 56px; align-items: center; }
.hero-text { text-align: left; }
.hero-text h1 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); line-height: 1.04; }
.hero-text h1 .hl { color: var(--hw-brand-on-dark); }
.hero-sub { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--hw-muted); max-width: 480px; margin: 22px 0 34px; }
.hero-actions { display: flex; align-items: center; gap: 20px; justify-content: flex-start; flex-wrap: wrap; }
.hero-visual-frame { position: relative; aspect-ratio: 4 / 5; border-radius: var(--hw-radius-xl); overflow: hidden; background: var(--hw-bg); border: 1px solid var(--hw-border); box-shadow: var(--hw-shadow-lg); }
.hero-visual-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s ease; }
.hero-visual-video.is-active { opacity: 1; }

@media (max-width: 960px) {
  .hero-split { grid-template-columns: 1fr; gap: 36px; }
  .hero-text { text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual-frame { aspect-ratio: 16 / 10; }
}

/* Cards */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat-card { position: relative; background: var(--hw-surface); border: 1px solid var(--hw-border); border-radius: var(--hw-radius-lg); padding: 28px 26px; transition: border-color var(--hw-t), transform var(--hw-t); }
.section.alt .feat-card { background: var(--hw-bg); }
.feat-card:hover { border-color: rgba(229, 87, 110, 0.5); transform: translateY(-2px); }
.feat-icon { width: 44px; height: 44px; border-radius: var(--hw-radius-md); background: rgba(204, 69, 96, 0.14); color: var(--hw-accent-dark); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feat-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.feat-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feat-card p { color: var(--hw-muted); font-size: 0.96rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; padding: 28px 26px; border: 1px solid var(--hw-border); border-radius: var(--hw-radius-lg); background: var(--hw-bg); }
.step::before { counter-increment: step; content: counter(step); display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--hw-primary); color: #fff; font: 700 18px/1 var(--hw-font-display); margin-bottom: 18px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--hw-muted); font-size: 0.96rem; }

/* Check-Liste */
.check-list { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 10px; color: var(--hw-text); }
.check-list li::before { content: "✓"; color: var(--hw-accent-dark); font-weight: 700; flex: none; }
.text-block { max-width: 640px; margin: 0 auto; text-align: center; }
.text-block p { color: var(--hw-muted); margin-top: 14px; }
.text-block .check-list { text-align: left; max-width: 420px; margin: 24px auto 0; }

/* Live-Demo */
.widget-demo { max-width: 460px; margin: 0 auto; }
.widget-demo-frame { width: 100%; display: block; border: 0; border-radius: 12px; background: #f8f9fb; min-height: 600px; }
.widget-demo-note { text-align: center; font-size: 13px; color: var(--hw-muted); margin-top: 14px; }

/* Preise: Monats-/Jahres-Umschalter */
.billing-toggle { position: relative; display: flex; justify-content: center; gap: 4px; width: fit-content; margin: 0 auto 36px; padding: 4px; border: 1px solid var(--hw-border-strong); border-radius: 999px; background: var(--hw-surface); }
.bt-thumb { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: var(--hw-primary); opacity: 0; pointer-events: none; transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), width 0.4s cubic-bezier(0.4, 0, 0.2, 1), background var(--hw-t); }
.billing-toggle.has-thumb .bt-thumb { opacity: 1; }
.billing-toggle.has-thumb .bt-btn.active { background: transparent; }
.bt-btn { position: relative; z-index: 1; font: 600 14px/1 var(--hw-font); color: var(--hw-muted); background: transparent; border: 0; border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: background var(--hw-t), color var(--hw-t); display: inline-flex; align-items: center; gap: 8px; }
.bt-btn:hover { color: var(--hw-text); }
.bt-btn.active { background: var(--hw-primary); color: #fff; }
.bt-save { font-size: 11px; font-weight: 700; padding: 3px 7px; border-radius: 999px; background: rgba(255, 255, 255, 0.16); }
.bt-btn:not(.active) .bt-save { background: rgba(229, 87, 110, 0.16); color: var(--hw-accent-dark); }

/* Preise */
.price-box { max-width: 460px; margin: 0 auto; text-align: center; padding: 44px 40px; border: 1px solid var(--hw-border); border-radius: var(--hw-radius-lg); background: var(--hw-surface); }
.price-box p { color: var(--hw-muted); margin-bottom: 22px; }
.price-amount { font: 800 3rem/1 var(--hw-font-display); letter-spacing: -0.03em; }
.price-period { font: 600 1rem/1 var(--hw-font); color: var(--hw-muted); margin-left: 4px; }
.price-note { font-size: 0.9rem; margin: 10px 0 6px; }
.price-yearly { font-size: 0.9rem; margin: 0 0 26px; color: var(--hw-accent-dark); font-weight: 600; }
.price-yearly-amount { color: var(--hw-muted); font-weight: 400; }
.price-box .check-list { text-align: left; max-width: 320px; margin: 0 auto 28px; }
.price-founder { font-size: 0.85rem; margin: 20px 0 0; }
.plans-tax { max-width: 460px; margin: 22px auto 0; text-align: center; color: var(--hw-muted); font-size: 0.9rem; }

/* FAQ */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--hw-border); border-radius: var(--hw-radius-lg); background: var(--hw-bg); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 600; min-height: 44px; }
.faq-chevron { flex: none; transition: transform var(--hw-t); color: var(--hw-muted); }
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a { display: grid; grid-template-rows: minmax(0, 0fr); overflow: hidden; transition: grid-template-rows 0.25s ease; }
.faq-item.open .faq-a { grid-template-rows: minmax(0, 1fr); }
.faq-a-inner { min-height: 0; overflow: hidden; padding: 0 22px 22px; color: var(--hw-muted); }

/* Abschluss-CTA */
.page-cta { text-align: center; padding: 96px 0; border-top: 1px solid var(--hw-border); background: radial-gradient(ellipse 60% 90% at 50% 100%, rgba(204, 69, 96, 0.14), transparent 70%), var(--hw-bg); }
.page-cta h2 { font-size: clamp(2rem, 4.4vw, 3rem); }
.page-cta-sub { color: var(--hw-muted); font-size: 1.1rem; margin: 16px 0 32px; }

/* Kontakt */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; max-width: 760px; margin: 0 auto; }
.contact-card { text-decoration: none; display: block; }

/* Legal (Inhalte folgen in Checkpoint 5) */
.legal { padding: calc(var(--hw-nav-h) + 56px) 0 80px; }
.legal-inner { max-width: 760px; margin: 0 auto; overflow-wrap: anywhere; }
.legal-inner h1 { font-size: clamp(2rem, 4.4vw, 2.8rem); margin-bottom: 8px; }
.legal-inner h2 { font-size: 1.3rem; margin: 36px 0 10px; }
.legal-inner p, .legal-inner li { color: var(--hw-muted); margin-bottom: 10px; }
.legal-inner ul { padding-left: 20px; }
.legal-inner a { color: var(--hw-accent-dark); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-visual-frame { background: var(--hw-bg) url("/assets/hero-fine-dining-poster.jpg") center / cover no-repeat; }
  .hero-visual-video { display: none; }
}

@media (max-width: 960px) {
  .nav-links, .nav-login, .nav-cta-desktop { display: none; }
  .nav-burger { display: flex; }
  .grid-3, .steps { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .grid-3, .steps, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
