/* ============================================================================
   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 – Webfont Inter, selbst gehostet (assets/fonts/inter/, Lizenz OFL.txt) */
/* Kein Laden von Google-Servern (Datenschutz). Inter ist eine variable Schrift:   */
/* eine Datei je Zeichensatz deckt alle Stärken 400–800 ab. Pfade relativ zu       */
/* assets/css/main.css.                                                             */
/* ============================================================================ */

/* latin-ext */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/inter/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================================ */
/* 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; }
/* 41 px: Header 76 px minus 1 px Rand = 75 px, (75 - 41) / 2 = 17 -> Logo liegt auf ganzen Pixeln (40 px ergab 17,5 px = unscharf) */
.logo-img { height: 41px; 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; }
}

/* ---- Aufklappmenü "Ressourcen" (components/navbar.php, Toggle in main.js) ---- */
.nav-dropdown { position: relative; }
.nav-dropdown-toggle { background: none; border: 0; padding: 10px 14px; border-radius: var(--radius-pill); font: inherit; font-weight: 600; font-size: 15px; line-height: inherit; color: var(--ink-700); display: inline-flex; align-items: center; gap: 6px; cursor: pointer; transition: background .18s ease, color .18s ease; }
.nav-dropdown-toggle:hover, .nav-dropdown-toggle:focus-visible, .nav-dropdown-toggle[aria-expanded="true"] { background: var(--white); color: var(--teal-700); box-shadow: var(--shadow-sm); }
.nav-dropdown-chevron { width: 16px; height: 16px; stroke-width: 2.6; transition: transform .18s ease; }
.nav-dropdown-toggle[aria-expanded="true"] .nav-dropdown-chevron { transform: rotate(180deg); }
/* Klickfläche der Menüpunkte unsichtbar auf die volle Header-Höhe erweitern (Pille 44 px, Header 76 px) */
.nav-links > a, .nav-dropdown-toggle { position: relative; }
.nav-links > a::after, .nav-dropdown-toggle::after { content: ""; position: absolute; left: 0; right: 0; top: -16px; bottom: -16px; }
.nav-dropdown-menu { display: none; position: absolute; top: calc(100% + 6px); left: 0; width: 330px; padding: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); z-index: 50; }
.nav-dropdown-menu.open { display: block; }
.nav-dropdown-menu a { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border-radius: var(--radius-sm); color: var(--ink-900); }
.nav-dropdown-menu a:hover, .nav-dropdown-menu a:focus-visible { background: var(--teal-50); }
.nav-dropdown-menu .icon { width: 20px; height: 20px; color: var(--teal-700); margin-top: 2px; }
.nav-dropdown-menu strong { display: block; font-size: 14.5px; }
.nav-dropdown-menu small { display: block; font-size: 12.5px; color: var(--ink-400); font-weight: 600; margin-top: 2px; }
.nav-dropdown-menu strong { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.nav-dropdown-title { margin: 4px 12px 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-400); }
.nav-dropdown-menu a.nav-dropdown-all { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; padding: 10px 12px; border-top: 1px solid var(--line-soft); border-radius: 0 0 var(--radius-sm) var(--radius-sm); font-weight: 700; font-size: 14px; color: var(--teal-700); }
.nav-dropdown-menu a.nav-dropdown-all .icon { width: 15px; height: 15px; margin: 0; }

/* ---- 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 { line-height: 1.08; }
.hero-copy h1 { font-size: clamp(30px, 4.2vw, 46px); }
/* Mobil: Hero-Bild direkt unter den Titel (Textblock auflösen, Reihenfolge per order) */
@media (max-width: 991px) {
  .hero-grid { gap: 0; }
  .hero-copy { display: contents; }
  .hero-copy .eyebrow { order: 1; justify-self: start; }
  .hero-copy h1 { order: 2; }
  .hero-visual { order: 3; margin-top: 24px; height: clamp(220px, 58vw, 380px); }
  .hero-copy p.lead { order: 4; margin-top: 24px; }
  .hero-copy .hero-quickstart { order: 5; }
  .hero-copy .hero-cta { order: 6; }
}
.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; }
/* "Speisekarte hochladen – Shop online": Kernversprechen des Onboardings, direkt über den CTAs */
.hero-quickstart {
  display: flex; align-items: flex-start; gap: 16px; margin-top: 28px; max-width: 560px;
  padding: 18px 20px; border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--white), var(--teal-50));
  border: 1px solid var(--teal-100); border-left: 0;
  box-shadow: var(--shadow-md);
}
.hero-quickstart-icon {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--radius-sm);
  background: var(--teal-700); color: var(--white); box-shadow: var(--shadow-glow);
}
.hero-quickstart-icon .icon { width: 24px; height: 24px; }
.hero-quickstart-title { font-size: clamp(17px, 1.8vw, 20px); font-weight: 800; line-height: 1.3; color: var(--ink-900); margin: 0 0 10px; }
.hero-quickstart-steps { list-style: none; counter-reset: qs; margin: 0; padding: 0; display: grid; gap: 7px; }
.hero-quickstart-steps li { counter-increment: qs; display: flex; align-items: center; gap: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink-700); }
.hero-quickstart-steps li::before {
  content: counter(qs); flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; border-radius: 50%; font-size: 12px; font-weight: 800;
  background: var(--orange-100); color: var(--orange-700);
}
.hero-quickstart + .hero-cta { margin-top: 20px; }
.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-Foto ---- */
.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; }

/* ---- 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-custom { text-align: center; margin-top: 28px; font-size: 15px; color: var(--ink-700); display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.pricing-custom button { background: none; border: 0; padding: 0; cursor: pointer; }
.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; }
.cta-banner-note { font-size: 14px !important; margin-top: 18px !important; }
.cta-banner-link { position: relative; display: inline-block; margin-top: 12px; color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cta-banner-link:hover { color: var(--orange-100); }

/* ============================================================================ */
/* Gastrify.de – Startseite (pages/home.template.php), Aufbau nach             */
/* Neustrukturierung 2026-09-30: ruhiger, weniger Features, mehr Nutzen   */
/* ============================================================================ */

.home-narrow { max-width: 980px; }
.home-punch { text-align: center; font-size: clamp(20px, 2.6vw, 26px); font-weight: 800; color: var(--teal-700); margin: 36px 0 0; }
.home-center { text-align: center; margin-top: 40px; }
.home-more { text-align: center; margin: 32px 0 0; font-weight: 600; color: var(--ink-700); }
.home-more + .more-functions { margin-top: 16px; }

/* ---- Zielgruppen: Fotokacheln statt Icon-Leiste ---- */
.home-audience { padding-block: clamp(48px, 7vw, 80px); }
.home-audience .section-head { margin-bottom: 32px; }
.home-audience-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 700px) { .home-audience-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .home-audience-grid { grid-template-columns: repeat(6, 1fr); } }
.home-audience-grid figure { position: relative; margin: 0; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-md); }
.home-audience-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.home-audience-grid figure:hover img { transform: scale(1.05); }
.home-audience-grid figcaption { position: absolute; inset: auto 0 0; padding: 36px 12px 12px; background: linear-gradient(transparent, rgba(10, 62, 73, .88)); color: #fff; font-weight: 700; font-size: 14.5px; }

/* ---- Problem ---- */
.home-problems { display: grid; gap: 16px; }
@media (min-width: 800px) { .home-problems { grid-template-columns: repeat(3, 1fr); } }
.home-problem { padding: 26px; }
.home-problem:hover { transform: none; }
.home-problem-icon { display: inline-flex; width: 46px; height: 46px; border-radius: var(--radius-sm); align-items: center; justify-content: center; background: var(--orange-50); color: var(--orange-600); margin-bottom: 14px; }
.home-problem h3 { font-size: 18px; margin-bottom: 6px; }
.home-problem p { color: var(--ink-600); font-size: 15px; margin: 0; }

/* ---- Digital-Check: Überschrift, echter KI-Berater, darunter "direkt loslegen" ---- */
.home-check { max-width: 980px; }
.home-check .section-head { margin-bottom: 36px; }
.home-check-app { min-width: 0; }
.home-check-alt { max-width: 720px; margin: 32px auto 0; padding: 22px 26px; border-radius: var(--radius-lg); background: var(--bg-alt); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; justify-content: space-between; }
.home-check-alt p { margin: 0; color: var(--ink-600); font-size: 15px; }
.home-check-alt strong { color: var(--ink-900); }

/* ---- AI-Speisekarte: visueller Höhepunkt ---- */
.home-ai { padding-block: clamp(72px, 10vw, 128px); background: radial-gradient(900px 480px at 85% 0%, rgba(249, 115, 22, .22), transparent 60%), linear-gradient(160deg, var(--teal-900), var(--teal-800) 55%, var(--teal-700)); color: #fff; overflow: hidden; }
.home-ai .section-head { max-width: 760px; }
.home-ai .section-head h2 { color: #fff; font-size: clamp(30px, 4.6vw, 50px); }
.home-ai .section-head p { color: rgba(255, 255, 255, .85); font-size: 18px; }
.home-eyebrow-light { background: rgba(255, 255, 255, .12); color: #fff; }
.home-flow { display: grid; gap: 12px; align-items: stretch; margin-top: 8px; }
@media (min-width: 992px) { .home-flow { grid-template-columns: 1fr auto 1fr auto 1.2fr auto 1fr; } }
.home-flow-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 24px 18px; border-radius: var(--radius-lg); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.home-flow-step strong { font-size: 16.5px; line-height: 1.3; }
.home-flow-step small { color: rgba(255, 255, 255, .72); font-size: 13.5px; }
.home-flow-icon { display: inline-flex; width: 56px; height: 56px; border-radius: 16px; align-items: center; justify-content: center; background: rgba(255, 255, 255, .14); margin-bottom: 4px; }
.home-flow-icon .icon { width: 28px; height: 28px; }
.home-flow-icon--ai { background: var(--orange-500); box-shadow: 0 10px 30px -8px rgba(249, 115, 22, .7); }
.home-flow-step--done { background: #fff; color: var(--ink-900); border-color: #fff; }
.home-flow-step--done small { color: var(--ink-600); }
.home-flow-step--done .home-flow-icon { background: var(--teal-700); color: #fff; }
.home-flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--orange-400); }
.home-flow-arrow .icon { width: 26px; height: 26px; }
@media (max-width: 991px) { .home-flow-arrow .icon { transform: rotate(90deg); } }
.home-ai-photo { max-width: 900px; margin: 48px auto 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.home-ai-photo img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; object-position: center 30%; display: block; }
.home-btn-light { background: #fff; color: var(--teal-800); }
.home-btn-light:hover { background: var(--orange-50); color: var(--teal-900); }

/* ---- Vier Nutzen ---- */
.home-benefits { display: grid; gap: 20px; }
@media (min-width: 700px) { .home-benefits { grid-template-columns: 1fr 1fr; } }
.home-benefit { display: flex; gap: 20px; align-items: center; padding: 18px; }
.home-benefit img { width: 112px; height: 112px; border-radius: var(--radius-md); object-fit: cover; flex-shrink: 0; }
.home-benefit h3 { font-size: 19px; margin-bottom: 6px; }
.home-benefit p { color: var(--ink-600); margin: 0; font-size: 15px; }

/* ---- Alles arbeitet zusammen ---- */
.home-chain { list-style: none; padding: 0; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 0; max-width: 1100px; }
.home-chain li { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-pill); font-weight: 700; font-size: 14.5px; color: var(--ink-900); box-shadow: var(--shadow-sm); }
.home-chain li .icon { width: 18px; height: 18px; color: var(--teal-700); }
.home-chain li:not(:last-child) { margin-right: 22px; }
.home-chain li:not(:last-child)::after { content: "→"; margin: 0 -8px 0 16px; color: var(--orange-500); font-weight: 800; }
.home-chain li.home-chain-end { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }
.home-chain li.home-chain-end .icon { color: #fff; }
@media (max-width: 767px) {
  .home-chain { flex-direction: column; align-items: center; gap: 0; }
  .home-chain li:not(:last-child) { margin: 0 0 30px; position: relative; }
  .home-chain li:not(:last-child)::after { content: "↓"; position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); margin: 0; }
}
.home-together { text-align: center; margin-top: 36px; }
.home-together p { color: var(--ink-600); font-size: 17px; margin: 0; }
.home-together .home-punch { margin-top: 12px; }

/* ---- Wissen (3 Artikel) ---- */
@media (min-width: 1080px) { .home-know { grid-template-columns: repeat(3, 1fr); } }
/* ============================================================================ */
/* 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; }

/* Funktionen-Übersicht (/{lang}/funktionen/, pages/funktionen-index.template.php) */
.functions-group-title { font-size: clamp(22px, 2.6vw, 28px); text-align: center; margin: 8px 0 28px; }

/* ============================================================================ */
/* Gastrify.de – ConsultationModal (Abschnitt 16, Beratungs-CTA & Kontaktformular) */
/* Submit per AJAX an actions/send-consultation-request.php (assets/js/main.js) */
/* ============================================================================ */

.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); }

/* Bootstrap (ebenfalls geladen) setzt .modal-header auf flex mit Padding und
   Rahmen - hier explizit zurücksetzen, damit Badge, Titel und Text untereinander stehen. */
.modal-header { display: block; padding: 0; border: 0; max-width: 440px; margin-bottom: 24px; }
.modal-header h2 { font-size: clamp(21px, 3vw, 26px); line-height: 1.25; margin-top: 14px; }
.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); }
.modal-form .field-error { font-size: 13px; font-weight: 600; color: var(--orange-700); margin-top: -10px; }

/* ============================================================================ */
/* Gastrify.de – Rechtsseiten (Impressum, Datenschutz, AGB; pages/legal.template.php) */
/* ============================================================================ */

.legal-page { padding-block: clamp(32px, 6vw, 64px) clamp(56px, 8vw, 96px); background: var(--white); }

.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; max-width: 760px; margin: 0 auto 32px; }
.legal-nav a {
  padding: 7px 16px; border-radius: var(--radius-pill); border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink-700); text-decoration: none;
}
.legal-nav a:hover { background: var(--bg-alt); }
.legal-nav a[aria-current="page"] { background: var(--teal-50); border-color: var(--teal-100); color: var(--teal-700); }

.legal-content { max-width: 760px; margin-inline: auto; color: var(--ink-700); font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.legal-content h1 { font-size: clamp(30px, 4.5vw, 42px); line-height: 1.15; color: var(--ink-900); }
.legal-content h2 { font-size: clamp(20px, 2.6vw, 24px); line-height: 1.3; color: var(--ink-900); margin: 40px 0 12px; }
.legal-content h3 { font-size: 17px; line-height: 1.4; color: var(--ink-900); margin: 24px 0 8px; }
.legal-content p { margin: 0 0 14px; }
.legal-content ul { margin: 0 0 14px; padding-left: 22px; list-style: disc; }
.legal-content li { margin-bottom: 4px; }
.legal-content a { color: var(--teal-700); font-weight: 600; text-decoration: underline; }

.legal-updated { font-size: 14px; color: var(--ink-600); margin-top: 10px; }
.legal-notice {
  padding: 14px 16px; border-radius: var(--radius-sm); font-size: 14.5px;
  background: var(--teal-50); border: 1px solid var(--teal-100); color: var(--teal-800);
}
.legal-notice--draft { background: var(--orange-50); border-color: var(--orange-100); color: var(--orange-700); font-weight: 600; }

/* ============================================================================ */
/* Gastrify.de – Wissensbereich (pages/wissen.template.php, wissen-index.template.php) */
/* ============================================================================ */

.section-head h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12; margin-top: 16px; }
.knowledge-empty { text-align: center; color: var(--ink-600); font-size: 17px; }
.func-hero .know-grid { text-align: left; }

/* ---- Artikel-Kopf ---- */
.article-hero { padding-top: clamp(36px, 6vw, 64px); background: radial-gradient(900px 420px at 50% -15%, var(--teal-50), transparent 70%); }
.article-hero-inner { max-width: 780px; margin-inline: auto; text-align: center; }
.article-hero-inner .tag { display: inline-block; }
.article-hero h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12; margin-top: 16px; hyphens: manual; text-wrap: balance; }
.article-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--ink-600); }
.article-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-meta .icon { width: 15px; height: 15px; }
.article-hero-img {
  display: block; width: 100%; max-width: 1040px; height: auto; aspect-ratio: 16 / 7; object-fit: cover;
  margin: clamp(28px, 5vw, 44px) auto 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}

/* ---- Layout: Inhaltsverzeichnis + Text ---- */
.article-section { padding-block: clamp(36px, 6vw, 64px) clamp(56px, 8vw, 96px); }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; max-width: 1040px; }
.article-layout > * { min-width: 0; }
@media (min-width: 1080px) {
  .article-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 56px; align-items: start; }
  .article-toc { position: sticky; top: 100px; }
}

.article-toc details { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--white); padding: 16px 18px; }
.article-toc summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-900);
}
.article-toc summary::-webkit-details-marker { display: none; }
.article-toc .chevron { width: 18px; height: 18px; color: var(--ink-600); transition: transform .25s ease; }
.article-toc details[open] .chevron { transform: rotate(180deg); }
.article-toc ol { list-style: none; margin: 12px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; counter-reset: toc; }
.article-toc li { counter-increment: toc; }
.article-toc a { display: flex; gap: 8px; padding: 6px 0; font-size: 14px; line-height: 1.4; color: var(--ink-700); }
.article-toc a::before { content: counter(toc) "."; color: var(--teal-700); font-weight: 700; min-width: 18px; }
.article-toc a:hover { color: var(--teal-700); }

/* ---- Artikeltext ---- */
.article-body { max-width: 720px; color: var(--ink-700); font-size: 17px; line-height: 1.75; overflow-wrap: break-word; }
.article-body > :first-child { margin-top: 0; }
.article-body .article-lead { font-size: clamp(18px, 1.8vw, 20px); line-height: 1.65; color: var(--ink-900); }
.article-body h2 { font-size: clamp(23px, 3vw, 30px); line-height: 1.25; color: var(--ink-900); margin: 48px 0 16px; scroll-margin-top: 100px; }
.article-body h3 { font-size: 19px; line-height: 1.35; color: var(--ink-900); margin: 28px 0 10px; }
.article-body p { margin: 0 0 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px; padding-left: 24px; }
.article-body ul { list-style: disc; }
.article-body li::marker { color: var(--teal-700); }
.article-body li { margin-bottom: 8px; }
.article-body a { color: var(--teal-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.article-body strong { color: var(--ink-900); }

.article-formula {
  padding: 16px 20px; border-radius: var(--radius-sm); background: var(--bg-alt); border: 1px solid var(--line);
  font-weight: 700; color: var(--ink-900); text-align: center;
}

.article-table-wrap { overflow-x: auto; margin: 8px 0 22px; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.article-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; }
.article-table caption { caption-side: top; text-align: left; padding: 12px 16px; font-size: 14px; font-weight: 700; color: var(--ink-900); background: var(--bg-alt); }
.article-table th, .article-table td { padding: 10px 12px; border-top: 1px solid var(--line); text-align: right; white-space: nowrap; }
.article-table th:first-child, .article-table td:first-child { text-align: left; white-space: normal; }
.article-table thead th { font-size: 12.5px; color: var(--ink-600); font-weight: 700; white-space: normal; vertical-align: bottom; }
.article-table tfoot th, .article-table tfoot td { font-weight: 700; color: var(--ink-900); background: var(--bg-alt); }

.article-matrix { display: grid; grid-template-columns: 1fr; gap: 14px; margin: 8px 0 22px; }
@media (min-width: 640px) { .article-matrix { grid-template-columns: 1fr 1fr; } }
.article-matrix-cell { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--white); }
.article-matrix-cell h3 { margin: 0; font-size: 18px; }
.article-matrix-cell p { margin: 0; font-size: 15px; line-height: 1.6; }
.article-matrix-cell .article-matrix-rule { margin: 4px 0 10px; font-size: 13px; font-weight: 700; color: var(--teal-700); text-transform: uppercase; letter-spacing: .03em; }

.article-tip { margin: 8px 0 26px; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--teal-50); border: 1px solid var(--teal-100); border-left: 4px solid var(--teal-700); }
.article-tip p { margin: 0; font-size: 16px; line-height: 1.65; }
.article-tip .article-tip-label { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--teal-800); }
.article-tip .article-tip-label .icon { width: 18px; height: 18px; }

.article-body .article-checklist { list-style: none; padding: 0; }
.article-checklist li { position: relative; padding-left: 34px; }
.article-checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 3px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--teal-50); color: var(--teal-700); font-size: 13px; font-weight: 800; line-height: 22px; text-align: center;
}

/* ---- Passende Funktionen ---- */
.article-related { display: grid; grid-template-columns: 1fr; gap: 20px; max-width: 1040px; margin-inline: auto; }
.article-related > * { min-width: 0; }
@media (min-width: 768px) { .article-related { grid-template-columns: repeat(3, 1fr); } }
.article-related-card { color: inherit; }
.article-related-card:hover h3 { color: var(--teal-700); }

/* ============================================================================ */
/* Gastrify.de – Kostenlose Tools (/{lang}/tools/, pages/tool*.template.php)    */
/* ============================================================================ */

/* ---- Übersicht ---- */
.tools-index-more { text-align: center; color: var(--ink-600); margin-top: 32px; }

/* ---- Tool-Seite ---- */
.tool-page { padding-block: clamp(40px, 6vw, 72px) clamp(64px, 9vw, 112px); }
.tool-page .section-head { margin-bottom: 36px; }
.tool-page .section-head h1 { font-size: clamp(30px, 4.6vw, 46px); line-height: 1.12; margin-top: 16px; }
.tool-privacy { display: inline-flex; align-items: center; gap: 8px; font-size: 14px !important; font-weight: 600; color: var(--teal-700) !important; background: var(--teal-50); padding: 8px 14px; border-radius: var(--radius-pill); }
.tool-privacy .icon { width: 16px; height: 16px; flex-shrink: 0; }
.tool-how { list-style: none; counter-reset: how; margin: 0 auto; padding: 0; max-width: 980px; display: grid; gap: 20px; }
@media (min-width: 800px) { .tool-how { grid-template-columns: repeat(3, 1fr); } }
.tool-how li { counter-increment: how; background: var(--white); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.tool-how li::before { content: counter(how); display: inline-flex; width: 30px; height: 30px; border-radius: 50%; align-items: center; justify-content: center; background: var(--orange-100); color: var(--orange-700); font-weight: 800; margin-bottom: 12px; }
.tool-how h3 { font-size: 17px; margin-bottom: 6px; }
.tool-how p { color: var(--ink-600); font-size: 15px; margin: 0; }
.tool-legal { max-width: 760px; margin: 28px auto 0; text-align: center; font-size: 13.5px; color: var(--ink-600); }

/* ---- Kassenabrechnung (components/tools/kassenabrechnung.php) ---- */
.cash { display: grid; gap: 24px; align-items: start; }
@media (min-width: 992px) { .cash { grid-template-columns: minmax(0, 1fr) 360px; } }
.cash-main { display: grid; gap: 20px; min-width: 0; }
.cash-card { padding: clamp(20px, 3vw, 28px); }
.cash-card:hover, .cash-summary:hover { transform: none; }
.cash-card h2, .cash-summary h2 { font-size: 19px; margin: 0 0 14px; }
.cash-hint { font-size: 13.5px; color: var(--ink-600); margin: -8px 0 12px; display: block; }
.cash-fields { display: grid; gap: 14px; }
@media (min-width: 640px) { .cash-fields { grid-template-columns: 2fr 1fr 1fr; } }
.cash-field { display: block; margin: 0; }
.cash-field > span { display: block; font-size: 13.5px; font-weight: 700; color: var(--ink-700); margin-bottom: 6px; }
.cash-field em { color: var(--orange-600); font-style: normal; }
.cash-field--money .form-control { max-width: 220px; font-weight: 700; }
.cash-field .cash-hint { margin: -2px 0 8px; font-weight: 500; }
.cash .form-control.is-invalid { border-color: #DC2626; box-shadow: 0 0 0 3px rgba(220, 38, 38, .12); }

.cash-add { display: grid; grid-template-columns: minmax(0, 1fr) 120px auto; gap: 8px; }
.cash-add .btn { gap: 6px; padding-inline: 16px; }
.cash-add .btn .icon { width: 16px; height: 16px; }
@media (max-width: 480px) {
  .cash-add { grid-template-columns: minmax(0, 1fr) 100px; }
  .cash-add .btn { grid-column: 1 / -1; }
}
.cash-error { color: #B91C1C; font-size: 13.5px; font-weight: 600; margin: 8px 0 0; min-height: 0; }
.cash-error:empty { display: none; }
.cash-items { list-style: none; margin: 14px 0 0; padding: 0; }
.cash-items li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.cash-items li span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.cash-items li strong { white-space: nowrap; }
.cash-list--income .cash-items strong { color: #15803D; }
.cash-list--expenses .cash-items strong { color: #B91C1C; }
.cash-remove { background: none; border: 0; padding: 6px; color: var(--ink-400); cursor: pointer; border-radius: var(--radius-sm); }
.cash-remove:hover { color: #B91C1C; background: #FEF2F2; }
.cash-remove .icon { width: 18px; height: 18px; }
.cash-empty { color: var(--ink-400); font-size: 14px; margin: 14px 0 0; }
.cash-list-total { display: flex; justify-content: space-between; margin: 12px 0 0; padding-top: 12px; border-top: 2px solid var(--line); font-weight: 700; }

.cash-count { display: grid; gap: 20px; }
@media (min-width: 700px) { .cash-count { grid-template-columns: 1fr 1fr; } }
.cash-count-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.cash-count-table th, .cash-count-table td { padding: 6px 8px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.cash-count-table thead th { font-size: 12.5px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-600); border-bottom: 2px solid var(--line); }
.cash-count-table td:last-child, .cash-count-table th:last-child { text-align: right; white-space: nowrap; }
.cash-count-table tbody th { font-weight: 700; white-space: nowrap; }
.cash-count-table .form-control { max-width: 96px; padding: 6px 10px; text-align: center; }
.cash-count-table tfoot th, .cash-count-table tfoot td { font-weight: 800; border-bottom: 0; padding-top: 10px; }

.cash-side { min-width: 0; }
@media (min-width: 992px) { .cash-side { position: sticky; top: calc(var(--header-h) + 16px); } }
.cash-summary { padding: 24px; box-shadow: var(--shadow-lg); }
.cash-summary dl { margin: 0 0 16px; }
.cash-summary dl > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.cash-summary dt { font-weight: 600; color: var(--ink-700); }
.cash-summary dt small { display: block; font-weight: 500; font-size: 12.5px; color: var(--ink-400); }
.cash-summary dd { margin: 0; font-weight: 800; font-size: 17px; white-space: nowrap; }
.cash-diff { border-radius: var(--radius-sm); padding-inline: 10px !important; margin-top: 6px; border-bottom: 0 !important; }
.cash-diff[data-state="ok"] { background: #F0FDF4; }
.cash-diff[data-state="ok"] dd, .cash-diff[data-state="ok"] small { color: #15803D; }
.cash-diff[data-state="over"] { background: var(--teal-50); }
.cash-diff[data-state="over"] dd, .cash-diff[data-state="over"] small { color: var(--teal-700); }
.cash-diff[data-state="short"] { background: #FEF2F2; }
.cash-diff[data-state="short"] dd, .cash-diff[data-state="short"] small { color: #B91C1C; }
.cash-summary .cash-field { margin: 4px 0 8px; }
.cash-summary .cash-field--money .form-control { max-width: none; }
.cash-end dd { font-size: 22px; color: var(--teal-800); }
.cash-summary .btn-block { gap: 8px; margin-top: 4px; }
.cash-summary .btn-block .icon { width: 18px; height: 18px; }
.cash-reset { display: block; margin: 12px auto 0; background: none; border: 0; font: inherit; font-size: 14px; color: var(--ink-600); text-decoration: underline; cursor: pointer; }

/* ---- Zählprotokoll ---- */
@media (min-width: 640px) { .cash-fields--four { grid-template-columns: 2fr 1.4fr 1fr 1fr; } }

/* ---- Trinkgeldrechner (components/tools/trinkgeldrechner.php) ---- */
.cash-hint--below { margin: 6px 0 0; }
.tip-mode { border: 0; padding: 0; margin: 18px 0 0; min-width: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.tip-mode legend { float: none; width: auto; font-size: 13.5px; font-weight: 700; color: var(--ink-700); margin: 0 8px 0 0; padding: 0; }
.tip-mode label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid var(--line); border-radius: var(--radius-pill); cursor: pointer; font-weight: 600; font-size: 14.5px; }
.tip-mode label:has(input:checked) { border-color: var(--teal-700); background: var(--teal-50); color: var(--teal-800); }
.tip-mode input { accent-color: var(--teal-700); }
.tip-head, .tip-row { display: grid; grid-template-columns: minmax(0, 1fr) 140px 40px; gap: 8px; align-items: center; }
.tip-head { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-600); margin-bottom: 6px; }
.tip-staff { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tip-add { margin-top: 14px; gap: 6px; }
.tip-add .icon { width: 16px; height: 16px; }
.tip--equal [data-hours-only] { display: none; }
.tip--equal .tip-head, .tip--equal .tip-row { grid-template-columns: minmax(0, 1fr) 40px; }
.tip-empty { color: var(--ink-600); font-size: 14.5px; margin: 0 0 16px; }
.tip-result { width: 100%; border-collapse: collapse; font-size: 14.5px; margin-bottom: 12px; }
.tip-result th, .tip-result td { padding: 8px 4px; border-bottom: 1px solid var(--line-soft); text-align: left; }
.tip-result thead th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-600); }
.tip-result tbody th { font-weight: 600; overflow-wrap: anywhere; }
.tip-result td, .tip-result thead th:not(:first-child), .tip-result tfoot th:not(:first-child) { text-align: right; white-space: nowrap; }
.tip-result tbody td:last-child { font-weight: 800; color: var(--teal-800); }
.tip-result tfoot th, .tip-result tfoot td { font-weight: 800; border-bottom: 0; }
.tip-per-hour { font-size: 14px; color: var(--ink-600); margin: 0 0 16px; }

/* ---- Rechnungsgenerator (components/tools/rechnungsgenerator.php) ---- */
.inv-grid { display: grid; gap: 12px 14px; }
@media (min-width: 640px) { .inv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .inv-span-2 { grid-column: span 2; } .inv-span-3 { grid-column: 1 / -1; } }
.inv-inline-hint { margin: -4px 0 4px !important; }
.inv-grid .form-select, .inv-item .form-select { padding-block: 8px; }
.inv-logo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; }
.inv-logo-pick { gap: 6px; cursor: pointer; margin: 0; }
.inv-logo-pick .icon { width: 16px; height: 16px; }
.inv-logo-preview { display: inline-flex; padding: 6px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.inv-logo-preview img { max-height: 40px; max-width: 140px; display: block; }
.inv-logo-remove { margin: 0; }
.inv-logo .cash-hint { margin: 0; }
.inv-remember, .inv-check { display: flex; align-items: flex-start; gap: 10px; margin-top: 16px; cursor: pointer; font-size: 14.5px; }
.inv-remember input, .inv-check input { margin-top: 4px; accent-color: var(--teal-700); width: 16px; height: 16px; flex-shrink: 0; }
.inv-remember small { display: block; color: var(--ink-600); font-size: 13px; }
.inv-options { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; margin-bottom: 16px; }
.inv-options .tip-mode, .inv-options .inv-check { margin-top: 0; }
.inv-items-head, .inv-item { display: grid; grid-template-columns: minmax(0, 1fr) 64px 92px 96px 78px 92px 36px; gap: 6px; align-items: center; }
.invoice--small .inv-items-head, .invoice--small .inv-item { grid-template-columns: minmax(0, 1fr) 64px 92px 96px 92px 36px; }
.invoice--small [data-tax-only] { display: none; }
.inv-items-head { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-600); margin-bottom: 6px; }
.inv-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.inv-item .form-control, .inv-item .form-select { padding: 7px 8px; font-size: 14.5px; }
.inv-line-total { text-align: right; white-space: nowrap; font-size: 14.5px; }
@media (max-width: 767px) {
  .inv-items-head { display: none; }
  .inv-item, .invoice--small .inv-item { grid-template-columns: 1fr 1fr 1fr 36px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
  .inv-item [data-item="description"] { grid-column: 1 / -1; }
  .inv-item .inv-line-total { grid-column: 1 / 4; text-align: left; }
}
.inv-text { margin-bottom: 14px; }
.inv-text textarea { resize: vertical; }
.inv-small-note { font-size: 13px; color: var(--ink-600); margin: 0 0 14px; }

/* ---- Speichern auf dem Gerät (tool-common.js persist) ---- */
.tool-storage { font-size: 13px !important; color: var(--ink-600) !important; margin-top: 10px !important; }
.tool-forget { display: block; margin: 18px auto 0; background: none; border: 0; padding: 2px 4px; font: inherit; font-size: 12px; color: var(--ink-400); cursor: pointer; }
.tool-forget:hover { color: #B91C1C; text-decoration: underline; }
.tool-forget[hidden] { display: none; }

/* ---- Kalkulationsrechner (components/tools/kalkulationsrechner.php) ---- */
.calc-suffix { position: relative; display: block; }
.calc-suffix .form-control { padding-right: 52px; }
.calc-suffix em { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-style: normal; font-size: 13px; font-weight: 600; color: var(--ink-400); pointer-events: none; }
.calc-head, .calc-item { display: grid; grid-template-columns: minmax(0, 1fr) 80px 84px 130px 84px 36px; gap: 6px; align-items: center; }
.calc-head { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--ink-600); margin-bottom: 6px; }
.calc-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.calc-item .form-control, .calc-item .form-select { padding: 7px 8px; font-size: 14.5px; }
.calc-item .calc-suffix .form-control { padding-right: 58px; }
@media (max-width: 767px) {
  .calc-head { display: none; }
  .calc-item { grid-template-columns: 1fr 1fr 36px; padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
  .calc-item [data-item="name"] { grid-column: 1 / -1; }
  .calc-item .calc-suffix { grid-column: 1 / 3; }
  .calc-item .inv-line-total { grid-column: 1 / 3; text-align: left; }
}
.calc-pricing { margin-top: 16px; }
.calc-check-title { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-600); margin: 6px 0 0; }
.tool-article { text-align: center; margin: 24px 0 0; }

/* ---- App-Karten (components/tool-card.php), Entwurf "J" ---- */
.app-grid { display: grid; gap: 24px; }
@media (min-width: 700px) { .app-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .app-grid { grid-template-columns: repeat(3, 1fr); } }
.app-card { display: flex; flex-direction: column; align-items: center; text-align: center; height: 100%; padding-bottom: 22px; border-radius: 22px; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); color: inherit; transition: box-shadow .25s ease, transform .25s ease; }
.app-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); color: inherit; }
.app-card-media { width: 100%; height: 150px; overflow: hidden; background: linear-gradient(145deg, var(--teal-800), var(--teal-900)); }
.app-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.app-card:hover .app-card-media img { transform: scale(1.05); }
.app-icon { position: relative; z-index: 1; flex-shrink: 0; width: 50px; height: 50px; border-radius: 14px; margin: -25px 0 12px; display: inline-flex; align-items: center; justify-content: center; color: #fff;
  background: linear-gradient(150deg, var(--teal-500), var(--teal-700) 45%, var(--teal-900)); box-shadow: 0 10px 22px -10px rgba(10, 62, 73, .7), inset 0 1px 0 rgba(255, 255, 255, .3); }
.app-icon .icon { width: 24px; height: 24px; }
.app-card h3 { font-size: 18px; line-height: 1.2; margin: 0; padding: 0 20px; }
.app-card-meta { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-400); margin-top: 3px; }
.app-card p { flex: 1; color: var(--ink-600); font-size: 14.5px; line-height: 1.55; margin: 10px 0 18px; padding: 0 22px; }
.app-card-cta { display: inline-flex; align-items: center; gap: 8px; padding: 11px 26px; border-radius: var(--radius-pill); background: var(--teal-700); color: #fff; font-weight: 700; font-size: 14.5px;
  box-shadow: var(--shadow-glow); transition: background .2s ease; }
.app-card:hover .app-card-cta { background: var(--teal-800); }

/* ============ LOGIN-SEITE (/de/login, /en/login) ============ */
.login-page { padding-block: clamp(40px, 8vw, 96px); background: var(--bg-alt); }
.login-card { max-width: 440px; margin-inline: auto; padding: clamp(28px, 5vw, 40px); }
.login-head { text-align: center; margin-bottom: 24px; }
.login-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--teal-50); color: var(--teal-700);
}
.login-icon .icon { width: 24px; height: 24px; }
.login-head h1 { font-size: clamp(24px, 3.4vw, 30px); line-height: 1.2; margin-top: 16px; }
.login-head p { font-size: 15px; color: var(--ink-600); margin-top: 8px; }

.login-form { display: flex; flex-direction: column; gap: 16px; }
.login-form .field-error { font-size: 13px; font-weight: 600; color: var(--orange-700); margin-top: -10px; }
.password-field { position: relative; }
.password-field .form-control { padding-right: 48px; }
.password-toggle {
  position: absolute; top: 50%; right: 6px; transform: translateY(-50%);
  width: 38px; height: 38px; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; color: var(--ink-600); cursor: pointer;
}
.password-toggle:hover { color: var(--ink-900); background: var(--bg-alt); }
.password-toggle .icon { width: 18px; height: 18px; }

.login-foot { text-align: center; font-size: 14.5px; color: var(--ink-600); margin-top: 24px; }
.login-foot a { font-weight: 700; color: var(--teal-700); }

/* ============ REGISTRIERUNG / AI-ONBOARDING (/de/registrieren, /en/register) ============ */
.onb-page { padding-block: clamp(32px, 6vw, 72px); background: var(--bg-alt); min-height: 70vh; }
.onb-wrap { max-width: 720px; }
.onb-wrap > .modal-status { margin-bottom: 16px; }
.onb-card { padding: clamp(24px, 5vw, 44px); }
.onb-card h1 { font-size: clamp(24px, 3.6vw, 32px); line-height: 1.2; margin-bottom: 12px; }
.onb-card h1:focus { outline: none; }
.onb-lead { font-size: 16px; color: var(--ink-600); margin-bottom: 24px; }

.onb-intro { text-align: center; }
.onb-intro .onb-lead { max-width: 520px; margin-inline: auto; }
.onb-consent { margin: 0 0 24px; padding: 22px; border-radius: var(--radius-md); background: var(--orange-50); border: 1px solid var(--orange-100); }
.onb-consent h3:focus { outline: none; }
.onb-intro--photo { overflow: hidden; }
.onb-intro--photo:hover { transform: none; }
/* Foto randlos oben in der Karte (negativer Rand = Innenabstand der .onb-card) */
.onb-intro-photo {
  display: block; width: calc(100% + 2 * clamp(24px, 5vw, 44px)); max-width: none; height: auto;
  aspect-ratio: 16 / 8; object-fit: cover; object-position: center 30%;
  margin: calc(-1 * clamp(24px, 5vw, 44px)) calc(-1 * clamp(24px, 5vw, 44px)) 28px;
}
.onb-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px; border-radius: 50%; margin-bottom: 18px;
  background: var(--teal-50); color: var(--teal-700);
}
.onb-icon .icon { width: 28px; height: 28px; }
.onb-facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-bottom: 28px; font-size: 14.5px; font-weight: 600; color: var(--ink-700); }
.onb-facts li { display: inline-flex; align-items: center; gap: 8px; }
.onb-facts .icon { width: 18px; height: 18px; color: var(--teal-700); }
.onb-resume p { font-weight: 600; color: var(--ink-700); margin-bottom: 14px; }

.onb-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; }
.onb-actions--center { justify-content: center; margin-top: 0; }
.onb-actions .btn:only-child { margin-left: auto; }

/* Fortschritt */
.onb-progress { display: flex; justify-content: center; gap: 8px; margin: 0 0 20px; padding: 0; list-style: none; }
.onb-progress li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 6px; border-radius: var(--radius-pill);
  font-size: 13.5px; font-weight: 700; color: var(--ink-600); background: var(--white); border: 1px solid var(--line);
}
.onb-progress-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; font-size: 12px; background: var(--bg-alt); color: var(--ink-600);
}
.onb-progress li.is-active { color: var(--teal-800); border-color: var(--teal-700); }
.onb-progress li.is-active .onb-progress-num { background: var(--teal-700); color: #fff; }
.onb-progress li.is-done .onb-progress-num { background: var(--teal-100); color: var(--teal-800); }
@media (max-width: 480px) { .onb-progress li { padding-right: 6px; font-size: 0; } .onb-progress li .onb-progress-num { font-size: 12px; } }

/* Restaurant-Suche */
.onb-search { position: relative; }
.onb-search .form-control { padding-left: 46px; font-size: 16px; min-height: 54px; }
.onb-search-icon { position: absolute; left: 16px; top: 17px; width: 20px; height: 20px; color: var(--ink-400); pointer-events: none; }
.onb-search .form-hint { min-height: 1.4em; margin-top: 8px; }
.onb-suggestions {
  position: absolute; z-index: 20; top: 58px; left: 0; right: 0; margin: 0; padding: 6px; list-style: none;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
}
.onb-suggestion { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: 15px; color: var(--ink-900); }
.onb-suggestion .icon { width: 18px; height: 18px; flex-shrink: 0; color: var(--teal-700); }
.onb-suggestion:hover, .onb-suggestion[aria-selected="true"] { background: var(--teal-50); }
.onb-new {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  margin-top: 28px; padding: 18px 20px; border-radius: var(--radius-md); background: var(--bg-alt); border: 1px dashed var(--line);
  font-size: 14.5px; color: var(--ink-600);
}
.onb-new strong { color: var(--ink-900); }

.onb-place { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; border-radius: var(--radius-md); background: var(--bg-alt); color: var(--ink-700); font-size: 15px; }
.onb-place span:empty { display: none; }
.onb-place-name { font-size: 18px; color: var(--ink-900); }
.onb-place-hours { margin-top: 8px; }
.onb-place-hours summary { cursor: pointer; font-weight: 600; color: var(--teal-700); }
.onb-place-hours ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; }

.onb-fields { display: grid; grid-template-columns: 1fr 2fr; gap: 16px; }
.onb-fields .onb-field-wide { grid-column: 1 / -1; }
.onb-fields .field-error { font-size: 13px; font-weight: 600; color: var(--orange-700); }
.onb-fields .form-control.is-invalid { border-color: var(--orange-600); }
.onb-optional { font-weight: 400; color: var(--ink-600); }
@media (max-width: 520px) { .onb-fields { grid-template-columns: 1fr; } }

/* Angebot */
.onb-card fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.onb-card legend { float: none; width: auto; padding: 0; margin: 0; font-size: inherit; }
.onb-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 12px; }
@media (max-width: 640px) { .onb-choices { grid-template-columns: 1fr; } }
.onb-choice { position: relative; cursor: pointer; }
.onb-choice input, .onb-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.onb-choice-body {
  display: flex; flex-direction: column; gap: 6px; height: 100%;
  padding: 20px 18px; border-radius: var(--radius-md); border: 2px solid var(--line); background: var(--white);
  font-size: 14px; color: var(--ink-600); transition: border-color .18s ease, box-shadow .18s ease;
}
.onb-choice-body .icon { width: 26px; height: 26px; color: var(--teal-700); margin-bottom: 4px; }
.onb-choice-body strong { font-size: 16px; color: var(--ink-900); }
.onb-choice:hover .onb-choice-body { border-color: var(--teal-500); }
.onb-choice input:checked + .onb-choice-body { border-color: var(--teal-700); box-shadow: var(--shadow-glow); background: var(--teal-50); }
.onb-choice input:focus-visible + .onb-choice-body, .onb-toggle input:focus-visible + span { outline: 3px solid rgba(14, 116, 144, .35); outline-offset: 2px; }

.onb-delivery { margin-top: 28px !important; padding-top: 24px !important; border-top: 1px solid var(--line-soft) !important; }
.onb-delivery legend { font-size: 18px; font-weight: 800; color: var(--ink-900); margin-bottom: 4px; }
.onb-toggle { display: flex; gap: 12px; margin-top: 14px; }
.onb-toggle label { cursor: pointer; }
.onb-toggle span {
  display: inline-flex; align-items: center; gap: 8px; min-width: 110px; justify-content: center;
  padding: 12px 20px; border-radius: var(--radius-pill); border: 2px solid var(--line); background: var(--white);
  font-weight: 700; color: var(--ink-700);
}
.onb-toggle .icon { width: 18px; height: 18px; }
.onb-toggle input:checked + span { border-color: var(--teal-700); background: var(--teal-50); color: var(--teal-800); }

/* Upload */
.onb-dropzone {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 44px 20px; border-radius: var(--radius-lg); border: 2px dashed var(--teal-500); background: var(--teal-50);
  text-align: center; cursor: pointer; transition: background .18s ease, border-color .18s ease, padding .18s ease;
}
.onb-dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.onb-dropzone .icon { width: 40px; height: 40px; color: var(--teal-700); }
.onb-dropzone strong { font-size: 17px; color: var(--ink-900); }
.onb-dropzone span { font-size: 13.5px; color: var(--ink-600); }
.onb-dropzone:hover, .onb-dropzone.is-dragover { background: var(--teal-100); border-color: var(--teal-700); }
.onb-dropzone:focus-within { outline: 3px solid rgba(14, 116, 144, .35); outline-offset: 2px; }
.onb-dropzone.is-compact { padding: 22px 20px; }
.onb-dropzone.is-compact .icon { width: 28px; height: 28px; }

.onb-files { display: flex; flex-direction: column; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.onb-files:empty { display: none; }
.onb-file { position: relative; display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); overflow: hidden; }
.onb-file > .icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--teal-700); }
.onb-file-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.onb-file-name { font-size: 14.5px; font-weight: 600; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.onb-file-meta { font-size: 12.5px; color: var(--ink-600); }
.onb-file.is-failed { border-color: var(--orange-100); background: var(--orange-50); }
.onb-file.is-failed > .icon, .onb-file.is-failed .onb-file-meta { color: var(--orange-700); }
.onb-file-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--line-soft); }
.onb-file-progress span { display: block; width: 0; height: 100%; background: var(--teal-700); transition: width .2s ease; }
.onb-file-remove {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; flex-shrink: 0;
  border: 0; border-radius: 8px; background: none; color: var(--ink-600); cursor: pointer;
}
.onb-file-remove:hover { background: var(--bg-alt); color: var(--orange-700); }
.onb-file-remove .icon { width: 18px; height: 18px; }
.onb-add { margin-top: 12px; }
.onb-add .icon { width: 16px; height: 16px; }
.onb-tip { margin-top: 18px; font-weight: 600; color: var(--ink-700); }
.onb-card .form-hint a { color: var(--teal-700); font-weight: 600; }

/* Analyse-Fortschritt */
.onb-bar { height: 10px; border-radius: var(--radius-pill); background: var(--bg-alt); overflow: hidden; margin: 8px 0 24px; }
.onb-bar span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--teal-700), var(--teal-500)); transition: width .6s ease; }
.onb-checklist { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.onb-checklist li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 600; color: var(--ink-900); }
.onb-checklist li.is-pending { color: var(--ink-400); }
.onb-checklist small { font-weight: 500; color: var(--ink-600); margin-left: 4px; }
.onb-check { position: relative; flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); }
.is-processing .onb-check { border-color: var(--teal-100); border-top-color: var(--teal-700); animation: onbSpin .8s linear infinite; }
.is-completed .onb-check { border-color: var(--teal-700); background: var(--teal-700); }
.is-warning .onb-check { border-color: var(--orange-500); background: var(--orange-500); }
.is-failed .onb-check { border-color: var(--orange-700); background: var(--orange-700); }
.is-completed .onb-check::after, .is-warning .onb-check::after {
  content: ""; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.is-failed .onb-check::after { content: "!"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; font-weight: 800; }
@keyframes onbSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .is-processing .onb-check { animation: none; border-color: var(--teal-700); } .onb-bar span { transition: none; } }
.onb-icon--warn { background: var(--orange-50); color: var(--orange-700); }

/* Prüfliste (Phase 3) */
.onb-review-items { display: flex; flex-direction: column; gap: 16px; margin-top: 8px; }
.onb-rcard { border: 1px solid var(--line); border-radius: var(--radius-md); padding: 20px; background: var(--white); }
.onb-rcard h2 { font-size: 18px; line-height: 1.3; margin-bottom: 8px; }
.onb-rcard.is-resolved { padding: 12px 16px; background: var(--bg-alt); border-style: dashed; color: var(--ink-600); font-size: 14.5px; }
.onb-rcard.is-resolved p { margin: 0; }
.onb-rcard-done { color: var(--teal-700); font-weight: 700; }
.onb-rcard-product { font-size: 15px; color: var(--ink-600); margin-bottom: 10px; }
.onb-rcard-product strong { color: var(--ink-900); }
.onb-rcard-reason { font-size: 14.5px; color: var(--ink-600); margin-bottom: 10px; }
.onb-rcard-price { font-size: 15px; margin: 12px 0; }
.onb-rcard-price strong { font-size: 17px; color: var(--ink-900); }
.onb-crop { display: block; max-width: 100%; height: auto; border-radius: var(--radius-sm); border: 1px solid var(--line); margin: 4px 0 12px; }
.onb-rcard-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.onb-rcard-form { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.onb-rcard-form > .btn { align-self: flex-start; }
.onb-rcard > .btn { margin-top: 12px; }
.onb-rcard-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 8px 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.onb-rcard-row > span:first-child { flex: 1 1 180px; font-weight: 600; color: var(--ink-900); }
.onb-rcard-check { align-items: flex-start; cursor: pointer; }
.onb-rcard-check > span { display: flex; flex-direction: column; gap: 2px; }
.onb-rcard-check small { color: var(--ink-600); font-size: 13px; }
.onb-rcard-check input { margin-top: 4px; }
.onb-rcard-skip { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink-600); cursor: pointer; }
.onb-price-input { max-width: 120px; padding: 8px 12px; }
.onb-spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--teal-100); border-top-color: var(--teal-700); animation: onbSpin .8s linear infinite; }
@media (prefers-reduced-motion: reduce) { .onb-spinner { animation: none; border-color: var(--teal-700); } }

/* Vorschau + Account (Phase 6) */
.onb-preview { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; margin: 8px 0 24px; }
@media (max-width: 640px) { .onb-preview { grid-template-columns: 1fr; justify-items: center; } }
.onb-phone { width: 300px; height: 600px; border-radius: 36px; border: 10px solid var(--ink-900); background: var(--ink-900); box-shadow: var(--shadow-lg); overflow: hidden; }
.onb-phone iframe { width: 100%; height: 100%; border: 0; border-radius: 26px; background: var(--white); }
.onb-preview-side { display: flex; flex-direction: column; gap: 14px; padding-top: 8px; }
.onb-facts--list { flex-direction: column; align-items: flex-start; margin-bottom: 0; }
.onb-terms { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--ink-700); cursor: pointer; }
.onb-terms input { margin-top: 3px; flex-shrink: 0; }
.onb-terms a { color: var(--teal-700); font-weight: 600; }
[data-account-form] .password-field .form-control { padding-right: 48px; }

.onb-mailnote { display: flex; gap: 12px; align-items: flex-start; text-align: left; margin: 24px auto 0; max-width: 520px; padding: 14px 16px; border-radius: var(--radius-md); background: var(--teal-50); color: var(--ink-700); font-size: 14.5px; }
.onb-mailnote .icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--teal-700); margin-top: 2px; }
.onb-mailnote p { margin: 0; }
.onb-mailnote .btn-link { padding: 0 0 0 4px; }
.onb-rcard .field-error { width: 100%; font-size: 13px; font-weight: 600; color: var(--orange-700); margin: 4px 0 0; }
.onb-rcard .form-control.is-invalid { border-color: var(--orange-600); }
.onb-prewrap { white-space: pre-line; font-weight: 600; }
.onb-hours { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.onb-hours-row { display: grid; grid-template-columns: 110px 1fr auto 1fr auto; align-items: center; gap: 8px; }
.onb-hours-row .form-control { padding: 8px 10px; }
.onb-hours-day { font-weight: 600; font-size: 14.5px; }
.onb-hours-sep { color: var(--ink-400); }
@media (max-width: 560px) { .onb-hours-row { grid-template-columns: 1fr 1fr auto 1fr; } .onb-hours-day { grid-column: 1 / -1; } }
.onb-review-info { margin-top: 20px; font-size: 14.5px; color: var(--ink-600); }
.onb-review-info summary { cursor: pointer; font-weight: 600; color: var(--teal-700); }
.onb-review-info ul { margin: 8px 0 0; padding-left: 20px; }
.btn-link { background: none; border: 0; color: var(--ink-600); text-decoration: underline; padding: 8px 4px; }
.btn-link:hover { color: var(--orange-700); }

/* ============================================================================ */
/* 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; font-size: 14.5px; line-height: inherit; text-align: left; }
.footer-version { font-size: 12px; opacity: .6; margin-left: 2px; }
.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; }

/* ============ COOKIE-BANNER (components/cookie-banner.php, Logik in assets/js/main.js) ============ */
/* Unten links als Karte, blockiert die Seite nicht. "Alle akzeptieren" und "Nur notwendige" bewusst gleich gestaltet. */
.consent {
  position: fixed; z-index: 1100; left: 20px; bottom: 20px; width: min(540px, calc(100vw - 40px));
  max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 22px 24px 18px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  color: var(--ink-700); font-size: 14px; line-height: 1.55;
}
.consent[hidden] { display: none; }
.consent-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.consent-icon {
  flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 50%; background: var(--orange-50); color: var(--orange-600);
}
.consent-icon .icon { width: 24px; height: 24px; }
.consent-title { font-size: 18px; font-weight: 800; line-height: 1.3; color: var(--ink-900); margin: 0; }
.consent-text { margin: 0 0 16px; }

.consent-settings { display: grid; gap: 10px; margin-bottom: 16px; }
.consent-settings[hidden] { display: none; }
.consent-option {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--bg);
}
label.consent-option { cursor: pointer; }
.consent-option strong { display: block; color: var(--ink-900); font-size: 14px; }
.consent-option p { margin: 2px 0 0; font-size: 13px; color: var(--ink-600); }
.consent-always { flex-shrink: 0; font-size: 12.5px; font-weight: 700; color: var(--teal-700); }
.consent-switch {
  flex-shrink: 0; appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer;
  width: 44px; height: 26px; border-radius: var(--radius-pill); background: var(--ink-400); position: relative; transition: background .18s ease;
}
.consent-switch::after {
  content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--white); box-shadow: var(--shadow-sm); transition: transform .18s ease;
}
.consent-switch:checked { background: var(--teal-700); }
.consent-switch:checked::after { transform: translateX(18px); }
.consent-switch:focus-visible { outline: 2px solid var(--teal-600); outline-offset: 2px; }

.consent-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.consent-btn { flex: 1 1 150px; padding: 13px 18px; font-size: 15px; background: var(--teal-700); color: var(--white); }
.consent-btn:hover { background: var(--teal-800); color: var(--white); }
.consent-btn[hidden] { display: none; }
.consent-link { background: none; border: 0; padding: 6px 2px; font: inherit; font-weight: 700; color: var(--teal-700); text-decoration: underline; cursor: pointer; }
.consent-legal { margin: 12px 0 0; font-size: 12.5px; color: var(--ink-600); display: flex; gap: 8px; }
.consent-legal a { color: var(--ink-600); text-decoration: underline; }

.footer-consent-link { background: none; border: 0; padding: 0; font: inherit; color: rgba(255, 255, 255, .62); cursor: pointer; }
.footer-consent-link:hover { color: #fff; }

@media (max-width: 575px) {
  .consent { left: 10px; right: 10px; bottom: 10px; width: auto; padding: 18px 18px 14px; }
  .consent-btn { flex-basis: 100%; }
}

/* Hinweis an Ort und Stelle (KI-Berater, Registrierung), solange keine Einwilligung vorliegt */
.consent-gate { text-align: center; }
.consent-gate .consent-icon { margin: 0 auto 14px; width: 54px; height: 54px; }
.consent-gate h3 { font-size: clamp(19px, 2.4vw, 22px); font-weight: 800; color: var(--ink-900); margin: 0 0 10px; }
.consent-gate p { max-width: 520px; margin: 0 auto 18px; color: var(--ink-600); font-size: 15px; }
.consent-gate-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
