/* ============================================================================
   Gastrify.de – main.css (kompiliert aus assets/scss/*.scss)
   Generiert per Konkatenation (kein Sass-Build im Projekt vorhanden, siehe
   main.scss). NICHT von Hand am Ende dieser Datei weiterbearbeiten -
   Änderungen in den jeweiligen .scss-Partials vornehmen und neu zusammenführen.
   ============================================================================ */

/* ============================================================================ */
/* Gastrify.de – Design Tokens (Abschnitt 2 der Build-Anweisung) */
/* Einzige Quelle der Wahrheit für Farben, Radius, Schatten, Layout-Maße. */
/* Werte 1:1 aus dem akzeptierten Design-Template (index.html) übernommen, */
/* damit neue, komponentenbasierte Seiten visuell identisch bleiben. */
/* */
/* Hinweis Build-Toolchain: Für dieses Projekt existiert (noch) kein Sass- */
/* Compiler-Setup (kein package.json/npm-Build, siehe CLAUDE.md). Die Tokens */
/* werden deshalb bewusst als plain CSS Custom Properties geschrieben (gültige */
/* SCSS-Syntax, aber ohne SCSS-only-Features wie $variablen/Nesting/Mixins), */
/* damit diese Datei unverändert nach assets/css/main.css übernommen werden */
/* kann. Sobald ein echter Sass-Build eingeführt wird, kann hier ohne Bruch */
/* auf $variablen/Mixins erweitert werden. */
/* ============================================================================ */

:root {
  /* ---- Primärfarbe (Teal) ---- */
  --teal-900: #0A3E49;
  --teal-800: #0B4A57;
  --teal-700: #0E7490; /* Primärfarbe lt. Abschnitt 2 */
  --teal-600: #128BAC;
  --teal-500: #17A2C9;
  --teal-100: #E0F2FE;
  --teal-50:  #F0FAFD;

  /* ---- Akzentfarbe (Orange) ---- */
  /* orange-700 statt orange-500 für weißen Text auf Orange (WCAG AA 4.5:1, */
  /* orange-500 alleine erreicht nur ~2.8:1 Kontrast). */
  --orange-700: #C2410C;
  --orange-600: #EA580C;
  --orange-500: #F97316; /* Akzentfarbe lt. Abschnitt 2 */
  --orange-400: #FB923C;
  --orange-100: #FFEDD5;
  --orange-50:  #FFF7ED;

  /* ---- Textfarbe (dunkles Anthrazit statt reinem Schwarz) ---- */
  --ink-900: #0F172A;
  --ink-700: #334155;
  --ink-600: #475569;
  --ink-400: #94A3B8;

  /* ---- Hintergrund (helle Grautöne) ---- */
  --bg:     #F7F9FB;
  --bg-alt: #F1F5F8;
  --white:  #FFFFFF;
  --line:      #E4E9EF;
  --line-soft: #EEF2F6;

  /* ---- Radius (groß/abgerundet: Karten ≥1rem, Buttons/Pills ≥2rem) ---- */
  --radius-lg:   20px; /* Karten */
  --radius-md:   14px;
  --radius-sm:   10px;
  --radius-pill: 999px; /* Buttons/Pills */

  /* ---- Schatten (sehr dezent, mehrstufig) ---- */
  --shadow-sm:   0 1px 2px rgba(15, 23, 42, .05), 0 1px 1px rgba(15, 23, 42, .03);
  --shadow-md:   0 6px 20px -4px rgba(15, 23, 42, .08), 0 2px 6px -2px rgba(15, 23, 42, .04);
  --shadow-lg:   0 20px 50px -12px rgba(15, 23, 42, .16);
  --shadow-glow: 0 8px 30px -6px rgba(14, 116, 144, .25);

  /* ---- Layout ---- */
  --container: 1240px;
  --header-h:  76px;

  /* ---- Typografie ---- */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* ============================================================================ */
/* Gastrify.de – Basis-Reset & Typografie */
/* Gilt global für alle Seiten/Komponenten. Baut auf Bootstrap 5 (CDN) als */
/* Reset/Grid-Basis auf (siehe pages/*), ergänzt/überschreibt gezielt. */
/* ============================================================================ */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }
section { position: relative; }

h1, h2, h3, h4 {
  color: var(--ink-900);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
  overflow-wrap: break-word;
  hyphens: auto;
}

p { overflow-wrap: break-word; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
@media (min-width: 768px) { .container { padding-inline: 32px; } }

/* Grid-/Flex-Kinder bekommen implizit ein min-content min-width, das Spuren */
/* breiter als ihren 1fr-Anteil erzwingen kann (v. a. bei langen deutschen */
/* Komposita) – dieser Reset verhindert horizontales Overflow in Grids. */
.solutions-grid > *, .tools-grid > *, .know-grid > *, .stories-grid > *,
.pricing-grid > *, .why-wrap > *, .hero-grid > *, .footer-top > *,
.chip-grid > *, .trust-row > *, .stats-row > * { min-width: 0; }

.icon {
  width: 22px; height: 22px;
  stroke: currentColor; fill: none;
  stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  flex-shrink: 0;
}

/* ============ UTILITIES ============ */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--teal-700); background: var(--teal-50); border: 1px solid var(--teal-100);
  padding: 7px 16px; border-radius: var(--radius-pill);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange-500); }

.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin-top: 16px; }
.section-head p { font-size: 17px; color: var(--ink-600); margin-top: 16px; }
.section-pad { padding-block: clamp(64px, 9vw, 112px); }

.badge-soft { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: var(--radius-pill); }
.badge-teal { background: var(--teal-50); color: var(--teal-700); border: 1px solid var(--teal-100); }
.badge-orange { background: var(--orange-50); color: var(--orange-700); border: 1px solid var(--orange-100); }

/* ============ SKIP LINK ============ */
.skip-link {
  position: absolute; left: 12px; top: -60px;
  background: var(--teal-900); color: #fff; padding: 12px 18px; border-radius: 8px;
  z-index: 1000; transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ============ FORM FIELDS (gemeinsame Basis, u. a. für Beratungsformular) ============ */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 14px; font-weight: 700; color: var(--ink-900); }
.form-label .req { color: var(--orange-700); margin-left: 2px; }
.form-control {
  width: 100%; font: inherit; color: var(--ink-900);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .18s ease, box-shadow .18s ease;
}
.form-control:focus {
  outline: none; border-color: var(--teal-700);
  box-shadow: 0 0 0 3px rgba(14, 116, 144, .15);
}
textarea.form-control { resize: vertical; min-height: 96px; }
.form-hint { font-size: 12.5px; color: var(--ink-600); }
.form-checkbox { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink-600); }
.form-checkbox input { margin-top: 3px; flex-shrink: 0; width: 16px; height: 16px; accent-color: var(--teal-700); }
.form-checkbox a { color: var(--teal-700); font-weight: 600; text-decoration: underline; }

/* Honeypot: für Screenreader/Tab-Reihenfolge unsichtbar gemacht, NICHT per */
/* display:none/visibility:hidden – manche Bots überspringen sonst gezielt */
/* exakt solche Felder. Off-screen-Technik ist robuster. */
.hp-field {
  position: absolute !important;
  width: 1px !important; height: 1px !important;
  overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important;
  white-space: nowrap !important; border: 0 !important; padding: 0 !important; margin: -1px !important;
}

/* ============================================================================ */
/* Gastrify.de – Buttons & Links (Grundkomponente) */
/* ============================================================================ */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 16px; line-height: 1;
  padding: 16px 26px; border-radius: var(--radius-pill);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--teal-700); outline-offset: 2px; }

.btn-primary { background: var(--orange-700); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { background: #9A3412; box-shadow: 0 10px 34px -6px rgba(194, 65, 12, .45); transform: translateY(-1px); }

.btn-outline { background: var(--white); color: var(--ink-900); border-color: var(--line); }
.btn-outline:hover { border-color: var(--teal-700); color: var(--teal-700); transform: translateY(-1px); }

/* Sekundär-Stil für den Beratungs-CTA (Abschnitt 16): outline, damit der */
/* primäre "Kostenlos testen"-Button visuell führend bleibt. */
.btn-consultation { background: var(--teal-50); color: var(--teal-700); border-color: var(--teal-100); }
.btn-consultation:hover { background: var(--teal-100); border-color: var(--teal-500); transform: translateY(-1px); }

.btn-ghost-light { background: rgba(6, 32, 38, .28); color: #fff; border-color: rgba(255, 255, 255, .4); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { background: rgba(6, 32, 38, .42); }

.btn-block { width: 100%; }
.btn-sm { padding: 11px 18px; font-size: 14px; }

.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--teal-700); font-size: 15px; }
.link-arrow .icon { width: 16px; height: 16px; transition: transform .18s ease; }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ============================================================================ */
/* Gastrify.de – Card (Grundkomponente) */
/* ============================================================================ */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: #DCE4EC; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================================================ */
/* Gastrify.de – Navbar (Grundkomponente, siehe components/navbar.php) */
/* Sticky-Nav mit punktuellem Glassmorphism (Abschnitt 2), Off-Canvas mobil. */
/* ============================================================================ */

/* ---- Logo ---- */
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 19px; color: var(--teal-900); flex-shrink: 0; }
@media (min-width: 400px) { .logo { gap: 10px; font-size: 22px; } }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; display: block; }
.logo .dot-i { color: var(--orange-500); }
.logo-tagline { display: block; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-600); margin-top: 2px; }
.logo-tagline .accent { color: var(--orange-500); }

/* ---- Header ---- */
header.site {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(247, 249, 251, .85);
  backdrop-filter: saturate(180%) blur(14px); /* Glassmorphism, punktuell */
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
header.site.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -8px rgba(15, 23, 42, .08); background: rgba(247, 249, 251, .96); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 24px; }

.nav-links { display: none; align-items: center; gap: 6px; }
.nav-links a { padding: 10px 14px; border-radius: var(--radius-pill); font-weight: 600; font-size: 15px; color: var(--ink-700); transition: background .18s ease, color .18s ease; }
.nav-links a:hover, .nav-links a:focus-visible { background: var(--white); color: var(--teal-700); box-shadow: var(--shadow-sm); }

.nav-right { display: flex; align-items: center; gap: 10px; }

/* ---- Sprachumschalter ---- */
.lang-switch { display: none; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--ink-700); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill); padding: 9px 14px; cursor: pointer; position: relative; }
.lang-switch .icon { width: 16px; height: 16px; }
.lang-switch-wrap { position: relative; display: none; }
@media (min-width: 1080px) { .lang-switch-wrap { display: block; } }
.lang-switch-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 160px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg); padding: 6px; display: none; z-index: 110;
}
.lang-switch-menu.open { display: block; }
.lang-switch-menu a { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; color: var(--ink-700); }
.lang-switch-menu a:hover, .lang-switch-menu a:focus-visible { background: var(--bg-alt); color: var(--teal-700); }
.lang-switch-menu a[aria-current="true"] { color: var(--teal-700); background: var(--teal-50); }

.lang-switch-mobile { display: flex; gap: 8px; margin-bottom: 4px; }
.lang-switch-mobile a { flex: 1; }
.lang-switch-mobile a[aria-current="true"] { border-color: var(--teal-700); color: var(--teal-700); background: var(--teal-50); }

.nav-login { display: none; font-weight: 600; font-size: 15px; color: var(--ink-700); padding: 10px 6px; }

.burger { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); cursor: pointer; flex-shrink: 0; }
.burger .icon { width: 22px; height: 22px; }

/* Auf sehr schmalen Phones passen Logo + Beratungs-Button + CTA + Burger */
/* nicht nebeneinander – Beratungs-Button/CTA leben dann nur im Drawer. */
.nav-right > .btn-consultation.btn-sm,
.nav-right > .btn-primary.btn-sm { display: none; }
@media (min-width: 400px) {
  .nav-right > .btn-primary.btn-sm { display: inline-flex; }
}
@media (min-width: 560px) {
  .nav-right > .btn-consultation.btn-sm { display: inline-flex; }
}
@media (min-width: 1080px) {
  .nav-links { display: flex; }
  .lang-switch { display: inline-flex; }
  .nav-login { display: inline-flex; }
  .burger { display: none; }
}

/* ---- Mobile Drawer ---- */
.mobile-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; }
.mobile-drawer.open { visibility: visible; }
.mobile-drawer .scrim { position: absolute; inset: 0; background: rgba(10, 20, 30, .4); opacity: 0; transition: opacity .25s ease; }
.mobile-drawer.open .scrim { opacity: 1; }
.mobile-drawer .panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 360px);
  background: #fff; box-shadow: var(--shadow-lg); padding: 20px;
  transform: translateX(100%); transition: transform .28s ease;
  display: flex; flex-direction: column; gap: 4px; overflow-y: auto;
}
.mobile-drawer.open .panel { transform: translateX(0); }
.mobile-drawer .panel-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mobile-drawer a.mnav { display: flex; align-items: center; justify-content: space-between; padding: 15px 10px; font-weight: 700; font-size: 17px; color: var(--ink-900); border-bottom: 1px solid var(--line-soft); }
.mobile-drawer .mnav .icon { width: 18px; height: 18px; color: var(--ink-600); }
.mobile-drawer .drawer-actions { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }

/* ============================================================================ */
/* Gastrify.de – Hero + Trust-Strip (components/hero.php) */
/* ============================================================================ */

.hero {
  padding-top: clamp(48px, 8vw, 88px); padding-bottom: clamp(40px, 8vw, 80px);
  background:
    radial-gradient(1100px 520px at 85% -10%, var(--teal-50), transparent 60%),
    radial-gradient(700px 400px at -5% 20%, var(--orange-50), transparent 55%),
    var(--bg);
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
@media (min-width: 992px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 40px; } }
.hero-copy h1 { font-size: clamp(34px, 5.4vw, 58px); line-height: 1.08; }
.hero-copy h1 .grad { background: linear-gradient(100deg, var(--teal-700), var(--teal-600) 60%, var(--orange-600)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-copy p.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-600); margin-top: 20px; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn-play { width: 22px; height: 22px; border-radius: 50%; background: rgba(255, 255, 255, .25); display: inline-flex; align-items: center; justify-content: center; }
.hero-trust { display: flex; align-items: center; gap: 14px; margin-top: 36px; flex-wrap: wrap; }
.avatar-stack { display: flex; }
.avatar-stack span { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--bg); margin-left: -10px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; }
.avatar-stack span:first-child { margin-left: 0; }
.hero-trust .stars { display: flex; gap: 2px; color: var(--orange-500); }
.hero-trust .stars .icon { width: 15px; height: 15px; fill: currentColor; }
.hero-trust-text { font-size: 14px; color: var(--ink-600); }
.hero-trust-text strong { color: var(--ink-900); }

/* ---- Hero-Mockups ---- */
.hero-visual { position: relative; height: clamp(340px, 42vw, 480px); }
.hero-photo { position: absolute; inset: 0; z-index: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(10, 62, 73, .28), rgba(249, 115, 22, .12)); }
.mock-card { position: absolute; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-card .mock-bar { height: 34px; background: var(--bg-alt); display: flex; align-items: center; gap: 6px; padding-inline: 12px; border-bottom: 1px solid var(--line-soft); }
.mock-card .mock-bar span { width: 8px; height: 8px; border-radius: 50%; background: #DDE3EA; }
.mock-card .mock-body { padding: 16px; }
.mock-pos { width: 62%; left: 0; top: 6%; z-index: 3; animation: float1 7s ease-in-out infinite; }
.mock-order { width: 52%; right: 0; top: 0; z-index: 2; animation: float2 8s ease-in-out infinite; }
.mock-resv { width: 56%; left: 6%; bottom: 0; z-index: 4; animation: float3 7.5s ease-in-out infinite; }
@keyframes float1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes float2 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes float3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.mock-bars { display: flex; gap: 6px; align-items: flex-end; height: 52px; margin-top: 14px; }
.mock-bars .bar { width: 14%; transform-origin: bottom; animation: barGrow .8s cubic-bezier(.22, 1, .36, 1) both; }
.mock-bars .bar:nth-child(1) { animation-delay: .05s; }
.mock-bars .bar:nth-child(2) { animation-delay: .15s; }
.mock-bars .bar:nth-child(3) { animation-delay: .25s; }
.mock-bars .bar:nth-child(4) { animation-delay: .35s; }
.mock-bars .bar:nth-child(5) { animation-delay: .45s; }
.mock-bars .bar:nth-child(6) { animation-delay: .55s; }
@keyframes barGrow { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.mock-order-line { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--ink-700); padding: 6px 0; }
.mock-order-line strong { color: var(--ink-900); font-weight: 700; flex-shrink: 0; }
.mock-order-total { display: flex; justify-content: space-between; font-size: 14px; font-weight: 800; color: var(--ink-900); padding-top: 10px; margin-top: 4px; border-top: 1px dashed var(--line); }

.mock-resv-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-600); padding: 8px 0; }
.mock-resv-row strong { color: var(--ink-900); }
.mock-resv-row + .mock-resv-row { border-top: 1px solid var(--line-soft); }

@media (prefers-reduced-motion: reduce) { .mock-pos, .mock-order, .mock-resv, .mock-bars .bar { animation: none; } }

.skeleton { border-radius: 6px; background: var(--bg-alt); }
.mini-chip { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: var(--radius-pill); }

/* ---- Trust-Strip ---- */
.trust-strip { padding-block: 36px; border-block: 1px solid var(--line-soft); background: var(--white); }
.trust-strip p { text-align: center; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-600); margin-bottom: 22px; }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.trust-row .item { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink-600); font-size: 15px; padding: 8px 16px 8px 8px; background: var(--bg-alt); border-radius: var(--radius-pill); }
.trust-row .icon { width: 17px; height: 17px; color: var(--teal-700); }

/* ============================================================================ */
/* Gastrify.de – Startseiten-Sections (Solutions, Why, Stories, Pricing, FAQ, */
/* Knowledge, Tools, CTA-Banner). Siehe components/*.php + pages/{lang}/index.php. */
/* ============================================================================ */

/* ---- Solutions Grid (components/feature-card.php) ---- */
.solutions-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 640px) { .solutions-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .solutions-grid { grid-template-columns: repeat(3, 1fr); } }
.sol-card { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.sol-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--teal-50); color: var(--teal-700); }
.sol-icon .icon { width: 26px; height: 26px; }
.sol-card h3 { font-size: 19px; }
.sol-card p { font-size: 15px; color: var(--ink-600); margin: 0; flex-grow: 1; }
.more-functions { margin-top: 36px; text-align: center; font-size: 15px; color: var(--ink-600); }

/* ---- Solutions Grid thumbnail variant (KI-generierte Illustration, Abschnitt 17) ---- */
.sol-card.has-thumb { padding: 0; overflow: hidden; }
.sol-thumb { position: relative; height: 170px; }
.sol-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sol-thumb-icon { position: absolute; left: 20px; bottom: -22px; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; background: var(--teal-50); color: var(--teal-700); box-shadow: var(--shadow-md); border: 2px solid var(--white); }
.sol-thumb-icon .icon { width: 26px; height: 26px; }
.sol-body { padding: 34px 28px 28px; display: flex; flex-direction: column; gap: 14px; flex-grow: 1; }
.sol-body h3, .sol-body p { margin: 0; }

/* ---- Function Chips (Funktionen-Teaser) ---- */
.chip-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: 9px; background: var(--white); border: 1px solid var(--line); padding: 12px 18px; border-radius: var(--radius-pill); font-weight: 600; font-size: 14.5px; color: var(--ink-700); transition: all .18s ease; }
.chip .icon { width: 17px; height: 17px; color: var(--teal-700); }
.chip:hover, .chip:focus-visible { border-color: var(--teal-700); color: var(--teal-700); box-shadow: var(--shadow-sm); transform: translateY(-2px); }

/* ---- Why / ComparisonTable (components/comparison-table.php) ---- */
.why-wrap { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 860px) { .why-wrap { grid-template-columns: 1fr 1fr; } }
.why-card { border-radius: var(--radius-lg); padding: 32px; border: 1px solid var(--line); }
.why-card.old { background: var(--white); }
.why-card.new { background: linear-gradient(160deg, var(--teal-800), var(--teal-700)); border-color: transparent; color: #fff; box-shadow: var(--shadow-lg); }
.why-card h3 { font-size: 20px; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.why-card.new h3 { color: #fff; }
.why-list li { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; font-size: 15px; border-bottom: 1px solid var(--line-soft); }
.why-card.new .why-list li { border-color: rgba(255, 255, 255, .14); }
.why-list li:last-child { border-bottom: none; }
.why-list .icon { width: 19px; height: 19px; margin-top: 1px; flex-shrink: 0; }
.why-card.old .icon { color: var(--orange-600); }
.why-card.new .icon { color: #7BE0C4; }
.why-card.new .price-tag { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.why-card.new .price-tag strong { font-size: 30px; }
.why-card.old .price-tag { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line-soft); color: var(--ink-600); font-size: 15px; flex-wrap: wrap; display: flex; align-items: baseline; gap: 8px; }

/* ---- Stories / TestimonialCard (components/testimonial-card.php) ---- */
.stories-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 768px) { .stories-grid { grid-template-columns: repeat(3, 1fr); } }
.story-card { padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.story-stars { display: flex; gap: 3px; color: var(--orange-500); }
.story-stars .icon { width: 15px; height: 15px; fill: currentColor; }
.story-card p.quote { font-size: 15.5px; color: var(--ink-700); margin: 0; flex-grow: 1; }
.story-person { display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line-soft); }
.story-avatar { width: 44px; height: 44px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; flex-shrink: 0; }
.story-person .name { font-weight: 700; font-size: 14.5px; color: var(--ink-900); }
.story-person .role { font-size: 13px; color: var(--ink-600); }
.story-metric { align-self: flex-start; }

.stats-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-top: 56px; }
@media (min-width: 768px) { .stats-row { grid-template-columns: repeat(4, 1fr); } }
.stat { text-align: center; }
.stat strong { display: block; font-size: clamp(28px, 3.4vw, 40px); color: var(--teal-800); font-weight: 800; }
.stat span { font-size: 14px; color: var(--ink-600); }

/* ---- Pricing / PricingBox (components/pricing-box.php) ---- */
.pricing-grid { display: grid; grid-template-columns: 1fr; gap: 22px; }
@media (min-width: 900px) { .pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }
.price-card { padding: 32px; display: flex; flex-direction: column; gap: 22px; }
.price-card.featured { border-color: var(--teal-700); box-shadow: var(--shadow-lg); position: relative; }
@media (min-width: 900px) { .price-card.featured { transform: scale(1.035); } }
.price-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--orange-700); color: #fff; font-size: 12px; font-weight: 800; padding: 6px 16px; border-radius: var(--radius-pill); letter-spacing: .03em; }
.price-card h3 { font-size: 21px; }
.price-card .desc { font-size: 14.5px; color: var(--ink-600); margin-top: 6px; }
.price-amount { display: flex; align-items: baseline; gap: 6px; }
.price-amount strong { font-size: 42px; color: var(--ink-900); font-weight: 800; }
.price-amount span { color: var(--ink-600); font-size: 15px; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; padding: 8px 0; color: var(--ink-700); }
.price-features .icon { width: 18px; height: 18px; color: var(--teal-700); flex-shrink: 0; margin-top: 1px; }
.pricing-note { text-align: center; margin-top: 32px; font-size: 14.5px; color: var(--ink-600); display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pricing-note .icon { width: 16px; height: 16px; color: var(--teal-700); }

/* ---- FAQ (components/faq-accordion.php) ---- */
.faq-list { max-width: 820px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 4px; font-weight: 700; font-size: 16.5px; color: var(--ink-900); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item .chevron { width: 20px; height: 20px; color: var(--ink-600); transition: transform .25s ease; flex-shrink: 0; }
.faq-item[open] .chevron { transform: rotate(180deg); color: var(--teal-700); }
.faq-item .faq-a { padding: 0 4px 22px; color: var(--ink-600); font-size: 15px; max-width: 700px; }

/* ---- Knowledge / BlogCard (components/blog-card.php) ---- */
.know-grid { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 700px) { .know-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) { .know-grid { grid-template-columns: repeat(4, 1fr); } }
.know-card { overflow: hidden; display: flex; flex-direction: column; }
.know-thumb { height: 140px; display: flex; align-items: center; justify-content: center; position: relative; background-size: cover; background-position: center; }
.know-thumb .icon { width: 34px; height: 34px; color: #fff; opacity: .9; position: relative; }
.know-body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex-grow: 1; }
.know-body .tag { align-self: flex-start; }
.know-body h3 { font-size: 16.5px; line-height: 1.35; }
.know-body p { font-size: 14px; color: var(--ink-600); margin: 0; flex-grow: 1; }
.know-meta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-600); font-weight: 600; }

/* ---- Tools / ToolCard (components/tool-card.php) ---- */
.tools-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (min-width: 640px) { .tools-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .tools-grid { grid-template-columns: repeat(4, 1fr); } }
.tool-card { padding: 22px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.tool-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-50); color: var(--teal-700); display: flex; align-items: center; justify-content: center; }
.tool-icon .icon { width: 22px; height: 22px; }
.tool-card h3 { font-size: 15px; line-height: 1.3; align-self: stretch; width: 100%; }
.tool-card .badge-soft { margin-top: auto; }

/* ---- Final CTA (components/cta-banner.php) ---- */
.cta-banner { border-radius: 28px; background: linear-gradient(120deg, var(--teal-900), var(--teal-700) 85%); padding: clamp(40px, 7vw, 72px); text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-banner::before { content: ""; position: absolute; width: 420px; height: 420px; background: radial-gradient(circle, rgba(249, 115, 22, .35), transparent 65%); top: -120px; right: -100px; }
.cta-banner h2 { color: #fff; font-size: clamp(28px, 4vw, 42px); position: relative; }
.cta-banner p { color: rgba(255, 255, 255, .85); font-size: 17px; max-width: 560px; margin: 16px auto 0; position: relative; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 32px; position: relative; }

/* ============================================================================ */
/* Gastrify.de – Funktions-Landingpages (pages/funktion.template.php, Abschnitt 6) */
/* ============================================================================ */

/* ---- Breadcrumb ---- */
.func-breadcrumb { padding-block: 18px; border-bottom: 1px solid var(--line-soft); background: var(--white); }
.func-breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-600); list-style: none; margin: 0; padding: 0; }
.func-breadcrumb li:not(:last-child)::after { content: "/"; margin-left: 8px; color: var(--line); }
.func-breadcrumb li { display: flex; align-items: center; gap: 8px; }
.func-breadcrumb a:hover { color: var(--teal-700); }
.func-breadcrumb li[aria-current="page"] { color: var(--ink-900); font-weight: 600; }

/* ---- Feature Hero (H1) ---- */
.func-hero { padding-top: clamp(40px, 6vw, 64px); text-align: center; background: radial-gradient(900px 420px at 50% -15%, var(--teal-50), transparent 60%), var(--bg); }
.func-hero-inner { max-width: 720px; margin-inline: auto; }
.func-hero-icon { width: 64px; height: 64px; border-radius: 18px; margin-bottom: 24px; }
.func-hero-inner .func-hero-icon { margin-inline: auto; }
.func-hero-icon .icon { width: 32px; height: 32px; }
.func-hero h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12; }
.func-hero .lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-600); margin-top: 20px; max-width: 600px; margin-inline: auto; }
.func-hero .hero-cta { justify-content: center; margin-top: 32px; }

/* ---- Mockup / Preview ---- */
.func-preview { max-width: 640px; margin-inline: auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: clamp(28px, 5vw, 44px); display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.func-preview-icon { width: 72px; height: 72px; border-radius: 20px; display: flex; align-items: center; justify-content: center; background: var(--teal-50); color: var(--teal-700); }
.func-preview-icon .icon { width: 36px; height: 36px; }
.func-preview-img { width: 220px; height: 220px; border-radius: var(--radius-lg); object-fit: cover; box-shadow: var(--shadow-sm); }
.func-preview-list { display: flex; flex-direction: column; gap: 12px; align-self: stretch; max-width: 420px; margin-inline: auto; }
.func-preview-list li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-700); font-weight: 600; padding: 10px 14px; background: var(--bg-alt); border-radius: var(--radius-sm); text-align: left; }
.func-preview-list .icon { width: 18px; height: 18px; color: var(--teal-700); flex-shrink: 0; }

/* ---- Back-to-functions link under CTA ---- */
.func-back-link { text-align: center; margin-top: 24px; }

/* ============================================================================ */
/* Gastrify.de – ConsultationModal (Abschnitt 16, Beratungs-CTA & Kontaktformular) */
/* UI-Grundgerüst; Submit-Handling/Backend siehe TODO in components/consultation-form.php */
/* ============================================================================ */

.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  display: none; align-items: flex-start; justify-content: center;
  padding: 24px 16px; overflow-y: auto;
}
.modal-overlay.open { display: flex; }
.modal-overlay .scrim { position: fixed; inset: 0; background: rgba(10, 20, 30, .5); opacity: 0; transition: opacity .25s ease; }
.modal-overlay.open .scrim { opacity: 1; }

.modal-panel {
  position: relative; z-index: 1; width: 100%; max-width: 560px;
  margin: auto; background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: clamp(24px, 4vw, 40px);
  opacity: 0; transform: translateY(16px) scale(.98);
  transition: opacity .25s ease, transform .25s ease;
}
.modal-overlay.open .modal-panel { opacity: 1; transform: translateY(0) scale(1); }

.modal-close {
  position: absolute; top: 16px; right: 16px;
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--bg-alt); border: 1px solid var(--line); cursor: pointer;
}
.modal-close:hover { background: var(--line-soft); }
.modal-close .icon { width: 18px; height: 18px; color: var(--ink-700); }

.modal-header { max-width: 440px; margin-bottom: 24px; }
.modal-header h2 { font-size: clamp(21px, 3vw, 26px); line-height: 1.25; }
.modal-header p { font-size: 15px; color: var(--ink-600); margin-top: 10px; }

.modal-form { display: flex; flex-direction: column; gap: 16px; }
.modal-form .required-note { font-size: 12.5px; color: var(--ink-600); margin-top: -4px; }

.modal-status { display: none; padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14.5px; font-weight: 600; }
.modal-status.visible { display: block; }
.modal-status.success { background: var(--teal-50); color: var(--teal-800); border: 1px solid var(--teal-100); }
.modal-status.error { background: var(--orange-50); color: var(--orange-700); border: 1px solid var(--orange-100); }

/* ============================================================================ */
/* Gastrify.de – Footer (components/footer.php) */
/* ============================================================================ */

footer.site { background: var(--teal-900); color: rgba(255, 255, 255, .78); padding-top: 64px; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
@media (min-width: 768px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1080px) { .footer-top { grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; } }
footer.site .logo { color: #fff; }
footer.site .logo-tagline { color: rgba(255, 255, 255, .55); }
.footer-about p { font-size: 14.5px; margin-top: 16px; max-width: 280px; color: rgba(255, 255, 255, .65); }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: flex; align-items: center; justify-content: center; transition: background .2s ease; }
.footer-social a:hover { background: rgba(255, 255, 255, .18); }
.footer-social .icon { width: 17px; height: 17px; color: #fff; }
.footer-col h4 { color: #fff; font-size: 14px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 18px; }
.footer-col li { margin-bottom: 12px; }
.footer-col a, .footer-link-btn { font-size: 14.5px; color: rgba(255, 255, 255, .68); transition: color .18s ease; }
.footer-col a:hover, .footer-link-btn:hover { color: #fff; }
.footer-link-btn { background: none; border: none; padding: 0; cursor: pointer; font: inherit; text-align: left; }
.footer-bottom { display: flex; flex-direction: column; gap: 18px; padding-block: 26px; font-size: 13.5px; color: rgba(255, 255, 255, .62); }
@media (min-width: 768px) { .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-legal { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-legal a { color: rgba(255, 255, 255, .62); }
.footer-legal a:hover { color: #fff; }
.footer-lang { display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .15); padding: 8px 14px; border-radius: var(--radius-pill); font-weight: 700; color: #fff; font-size: 13.5px; cursor: pointer; }
.footer-lang .icon { width: 15px; height: 15px; }
.footer-lang-wrap .lang-switch-menu { right: 0; left: auto; }
