@import url("fonts.css");

/* ============================================================
   TISCHRUF — KI-Telefonassistent für Restaurants
   Farbwelt: Creme, Espresso, Terrakotta. Warme Serif-Anmutung.
   ============================================================ */

:root {
  --ink:        #1A1512;
  --ink-soft:   #3D332C;
  --muted:      #6E6157;
  --cream:      #FBF7F1;
  --cream-deep: #F4EDE2;
  --paper:      #FFFFFF;
  --line:       #E7DCCC;
  --terra:      #AF4C2B;
  --terra-deep: #8A3919;
  --terra-tint: #FBEDE6;
  --olive:      #59614A;
  --gold:       #C89544;

  --radius:     14px;
  --radius-lg:  22px;
  --maxw:       1140px;
  --gutter:     clamp(20px, 5vw, 48px);

  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --shadow-sm: 0 1px 2px rgba(26,21,18,.05), 0 4px 14px rgba(26,21,18,.045);
  --shadow-md: 0 2px 6px rgba(26,21,18,.06), 0 18px 44px rgba(26,21,18,.09);

  color-scheme: light;
}

*, *::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;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.018em;
  line-height: 1.12;
  margin: 0;
  font-variation-settings: "SOFT" 0, "WONK" 0, "opsz" 96;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--terra-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--terra); }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--cream);
  padding: 12px 20px; border-radius: 0 0 10px 0; font-weight: 600;
}
.skip:focus { left: 0; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section--tight { padding-block: clamp(52px, 7vw, 88px); }
.section--paper { background: var(--paper); }
.section--deep  { background: var(--ink); color: var(--cream); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans);
  font-size: 12.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  color: var(--terra-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: ""; width: 22px; height: 1.5px; background: var(--terra); flex: none;
}
.section--deep .eyebrow { color: var(--gold); }
.section--deep .eyebrow::before { background: var(--gold); }

.h2 { font-size: clamp(30px, 4.4vw, 46px); }
.lede {
  font-size: clamp(17px, 1.9vw, 20px);
  color: var(--muted);
  max-width: 62ch;
  margin-top: 20px;
}
.section--deep .lede { color: #C9BDB1; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,247,241,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 72px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand svg { flex: none; }
.brand span {
  font-family: var(--serif); font-weight: 700; font-size: 21px; letter-spacing: -.02em;
}
.nav { display: flex; align-items: center; gap: 30px; }
.nav a:not(.btn) {
  font-size: 15px; font-weight: 500; color: var(--ink-soft); text-decoration: none;
}
.nav a:not(.btn):hover { color: var(--terra-deep); }
@media (max-width: 860px) { .nav .nav-link { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--sans); font-size: 15.5px; font-weight: 600; line-height: 1;
  padding: 15px 26px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease;
}
.btn:hover { transform: translateY(-1.5px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--terra); color: #fff; box-shadow: 0 6px 18px rgba(175,76,43,.28); }
.btn--primary:hover { background: var(--terra-deep); color: #fff; box-shadow: 0 10px 26px rgba(175,76,43,.34); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); background: rgba(26,21,18,.03); }
.btn--light { background: var(--cream); color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); }
.btn--sm { padding: 11px 20px; font-size: 14.5px; }
.btn--block { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .btn:hover { transform: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: clamp(56px, 9vw, 108px) clamp(56px, 8vw, 96px);
  overflow: hidden;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(60% 55% at 78% 12%, rgba(200,149,68,.16), transparent 62%),
    radial-gradient(52% 48% at 8% 88%, rgba(175,76,43,.10), transparent 64%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 {
  font-size: clamp(38px, 6.2vw, 68px);
  font-weight: 700;
  letter-spacing: -.028em;
  line-height: 1.04;
}
.hero h1 em {
  font-style: italic; color: var(--terra); margin-right: .14em;
  font-variation-settings: "SOFT" 40, "WONK" 1, "opsz" 120;
}
.hero-lede {
  font-size: clamp(17px, 2.1vw, 20.5px); color: var(--ink-soft);
  max-width: 46ch; margin-top: 24px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note {
  display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px;
  font-size: 14.5px; color: var(--muted);
}
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note svg { color: var(--olive); flex: none; }

/* Telefon-Mockup */
.phone {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md); padding: 24px; position: relative;
}
.phone-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 18px;
}
.phone-dot {
  width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--terra-tint); color: var(--terra-deep);
  display: grid; place-items: center;
}
.phone-head strong { font-size: 15px; display: block; }
.phone-head small { font-size: 13px; color: var(--muted); }
.phone-live {
  margin-left: auto; font-size: 12px; font-weight: 600; color: var(--olive);
  display: inline-flex; align-items: center; gap: 6px;
}
.phone-live i {
  width: 7px; height: 7px; border-radius: 50%; background: var(--olive);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .3; } }
@media (prefers-reduced-motion: reduce) { .phone-live i { animation: none; } }

.bubble {
  font-size: 15px; line-height: 1.55; padding: 12px 16px; border-radius: 14px;
  margin-bottom: 10px; max-width: 88%;
}
.bubble--them { background: var(--cream-deep); color: var(--ink-soft); border-bottom-left-radius: 5px; }
.bubble--us {
  background: var(--terra); color: #fff; margin-left: auto;
  border-bottom-right-radius: 5px;
}
.phone-foot {
  margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--muted);
}
.phone-foot svg { color: var(--olive); flex: none; }

/* ---------- Problem-Karten ---------- */
.cards { display: grid; gap: 18px; margin-top: 48px; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .cards--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 780px) { .cards--3 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .cards--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow-sm);
}
.card-ico {
  width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center;
  background: var(--terra-tint); color: var(--terra-deep); margin-bottom: 16px;
}
.card h3 { font-size: 19px; margin-bottom: 9px; letter-spacing: -.012em; }
.card p { font-size: 15.3px; color: var(--muted); line-height: 1.6; }

/* ---------- ROI ---------- */
.roi-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center;
}
@media (max-width: 900px) { .roi-grid { grid-template-columns: 1fr; } }
.roi-panel {
  background: rgba(251,247,241,.05); border: 1px solid rgba(251,247,241,.14);
  border-radius: var(--radius-lg); padding: clamp(24px, 3.4vw, 36px);
}
.roi-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 15px 0; border-bottom: 1px solid rgba(251,247,241,.11);
  font-size: 15.5px;
}
.roi-row:last-of-type { border-bottom: 0; }
.roi-row span { color: #BFB2A5; }
.roi-row b { font-family: var(--serif); font-size: 21px; font-weight: 600; color: var(--cream); }
.roi-total {
  margin-top: 20px; padding-top: 22px; border-top: 2px solid rgba(200,149,68,.4);
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap;
}
.roi-total span { font-size: 15.5px; color: var(--cream); font-weight: 500; }
.roi-total b {
  font-family: var(--serif); font-size: clamp(32px, 5vw, 44px); font-weight: 700;
  color: var(--gold); letter-spacing: -.02em; line-height: 1;
}
.roi-fine { font-size: 13.2px; color: #ADA093; margin-top: 18px; line-height: 1.55; }

/* ---------- Schritte ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 50px; counter-reset: s; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; gap: 20px; } }
.step { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.step::before {
  counter-increment: s; content: "0" counter(s);
  position: absolute; top: -15px; left: 0;
  background: var(--cream); padding-right: 12px;
  font-family: var(--serif); font-size: 15px; font-weight: 700; color: var(--terra);
  letter-spacing: .04em;
}
.section--paper .step::before { background: var(--paper); }
.step h3 { font-size: 20px; margin-bottom: 10px; }
.step p { font-size: 15.3px; color: var(--muted); }

/* ---------- Benefit-Liste ---------- */
.benefits { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 44px; margin-top: 40px; padding: 0; list-style: none; }
@media (max-width: 760px) { .benefits { grid-template-columns: 1fr; } }
.benefits li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 15px 0; border-bottom: 1px solid var(--line);
}
.benefits svg { flex: none; color: var(--terra); margin-top: 3px; }
.benefits strong { display: block; font-size: 16.5px; font-weight: 600; margin-bottom: 3px; }
.benefits p { font-size: 15px; color: var(--muted); margin: 0; }

/* ---------- Vertrauen ---------- */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 44px; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }
.trust-item {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; background: var(--cream);
}
.section--paper .trust-item { background: var(--cream); }
.trust-item svg { color: var(--olive); margin-bottom: 13px; }
.trust-item strong { display: block; font-size: 16px; margin-bottom: 5px; }
.trust-item p { font-size: 14.6px; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { margin-top: 44px; max-width: 860px; }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 22px 44px 22px 0; position: relative;
  font-size: 17.5px; font-weight: 600; color: var(--ink);
  font-family: var(--serif); letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%;
  width: 11px; height: 11px; margin-top: -7px;
  border-right: 2px solid var(--terra); border-bottom: 2px solid var(--terra);
  transform: rotate(45deg); transition: transform .22s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq summary:hover { color: var(--terra-deep); }
.faq-body { padding: 0 40px 24px 0; font-size: 15.8px; color: var(--muted); }

/* ---------- Formular / CTA ---------- */
.cta-grid {
  display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(34px, 5vw, 66px); align-items: start;
}
@media (max-width: 920px) { .cta-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(24px, 3.4vw, 36px); box-shadow: var(--shadow-md);
}
.field { margin-bottom: 17px; }
.field label {
  display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; color: var(--ink-soft);
}
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--ink);
  background: var(--cream); border: 1.5px solid var(--line); border-radius: 10px;
  padding: 13px 15px; transition: border-color .16s ease, background .16s ease;
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.55; }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--terra); background: var(--paper);
  box-shadow: 0 0 0 3px rgba(175,76,43,.13);
}
.field input::placeholder, .field textarea::placeholder { color: #A89A8D; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-consent {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: 13.6px; color: var(--muted); line-height: 1.5; margin: 4px 0 20px;
}
.form-consent input { margin-top: 3px; width: 17px; height: 17px; flex: none; accent-color: var(--terra); }
.form-fine { font-size: 13px; color: var(--muted); margin-top: 15px; text-align: center; }

.cta-side h2 { font-size: clamp(28px, 4.2vw, 42px); }
.cta-side .lede { margin-bottom: 30px; }
.cta-list { list-style: none; padding: 0; margin: 0; }
.cta-list li {
  display: flex; gap: 12px; align-items: flex-start; padding: 11px 0;
  font-size: 15.6px; color: var(--ink-soft);
}
.cta-list svg { flex: none; color: var(--terra); margin-top: 4px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink); color: #B5A79A; padding-block: 56px 32px; font-size: 14.8px;
}
.footer-top {
  display: flex; justify-content: space-between; gap: 34px; flex-wrap: wrap;
  padding-bottom: 34px; border-bottom: 1px solid rgba(251,247,241,.12);
}
.site-footer .brand { color: var(--cream); }
.site-footer .brand:hover { color: #fff; }
.footer-blurb { max-width: 38ch; margin-top: 14px; color: #948578; font-size: 14.5px; }
.footer-links { display: flex; gap: 30px; flex-wrap: wrap; }
.footer-links a { color: #B5A79A; text-decoration: none; }
.footer-links a:hover { color: var(--cream); text-decoration: underline; }
.footer-bottom {
  padding-top: 26px; display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 13.6px; color: #7C6E62;
}

/* ---------- Rechtstexte ---------- */
.legal { max-width: 780px; padding-block: clamp(48px, 7vw, 86px); }
.legal h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 14px; }
.legal h2 { font-size: 23px; margin: 44px 0 12px; }
.legal h3 { font-size: 18px; margin: 28px 0 8px; font-family: var(--sans); font-weight: 700; }
.legal p, .legal li { font-size: 16px; color: var(--ink-soft); }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 7px; }
.legal .updated { color: var(--muted); font-size: 14.5px; }
.todo {
  background: #FFF6E8; border: 1.5px dashed var(--gold); border-radius: 10px;
  padding: 15px 18px; font-size: 14.6px; color: #6B5122; margin: 22px 0;
}
.todo strong { color: #4E3A13; }

/* ---------- Danke ---------- */
.thanks { min-height: 74vh; display: grid; place-items: center; text-align: center; padding-block: 70px; }
.thanks .inner { max-width: 520px; }
.thanks-ico {
  width: 66px; height: 66px; border-radius: 50%; background: var(--terra-tint);
  color: var(--terra-deep); display: grid; place-items: center; margin: 0 auto 26px;
}
.thanks h1 { font-size: clamp(30px, 5vw, 44px); margin-bottom: 16px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Kopfzeile der Anrufkarte auf kleinen Displays umbrechen lassen */
@media (max-width: 520px) {
  .callcard-head, .phone-head { flex-wrap: wrap; }
  .callcard-head > div, .phone-head > div { min-width: 0; flex: 1 1 60%; }
  .callcard-live, .phone-live { margin-left: 0; flex-basis: 100%; }
}
