/* public/css/10-landing.css
   M3 „Landingpage→App-Einstieg": Landing-/Public-/Account-Styles byte-identisch aus
   06c-project-chat.css (Z. 824–1285) ausgelagert — dort waren sie beim God-File-Split
   fehlplatziert. Enthält: body.landing-page (H49a), l-*-Komponenten, body.acct-page,
   Rechtstext-Footer (H45-CSP). Geladen via style.css-@import und index.html. */

/* ─── H49a: Landing Page ─────────────────────────────────── */

/* Override global body scroll/height for landing page */
body.landing-page {
  overflow-y: auto !important;
  height: auto !important;
  background: #fff;
  /* M3: Landing-Tokens an das App-Redesign angeglichen (Dashboard/Projekte,
     Token-Familien dh/pj): Petrol-Akzent #0f766e, warme Neutrals (#23211C Ink,
     #6F6A60 Muted, #E7E3D9 Linien), Mint-Familie, Archivo-Stack. Lokal auf
     .landing-page/.acct-page begrenzt, kein App-CSS überschreiben. */
  --l-font: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-family: var(--l-font);
  --l-brand: #0f766e;
  --l-brand-strong: #115e59;
  --l-brand-soft: #EAF9F4;
  --l-accent: #0f766e;
  --l-accent-d: #115e59;
  --l-accent-bg: #EAF9F4;
  --l-accent-mid: #B9E4DC;
  --l-ink: #23211C;
  --l-ink-2: #4A473F;
  --l-muted: #6F6A60;
  --l-line: #E7E3D9;
  --l-surface: #ffffff;
  --l-surface-2: #F5F6F8;
  --l-radius: 14px;
  --l-radius-lg: 18px;
  --l-shadow-sm: 0 1px 2px rgba(31,29,26,.04), 0 2px 6px rgba(31,29,26,.05);
  --l-shadow-md: 0 14px 36px -16px rgba(31,29,26,.28);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Container */
.l-container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* Line-Icons (ersetzen Emoji) — currentColor, einheitlicher Stroke */
.l-icon { width: 22px; height: 22px; display: block; stroke: currentColor; fill: none;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons (use <a> tags → no global button conflicts) */
.l-btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 12px 22px; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: background .18s ease, transform .12s ease, box-shadow .18s ease, border-color .18s ease;
  border: 1.5px solid transparent; white-space: nowrap; line-height: 1;
}
.l-btn:active { transform: translateY(0) scale(0.985); }
.l-btn-sm { padding: 9px 16px; font-size: 0.87rem; }
.l-btn-primary { background: var(--l-brand); color: #fff; box-shadow: 0 1px 2px rgba(15,118,110,.24), 0 6px 16px -8px rgba(15,118,110,.42); }
.l-btn-primary:hover { background: var(--l-brand-strong); transform: translateY(-1px); box-shadow: 0 2px 4px rgba(15,118,110,.28), 0 12px 24px -10px rgba(15,118,110,.48); }
.l-btn-outline { background: var(--l-surface); color: var(--l-brand); border-color: #b2dbd8; }
.l-btn-outline:hover { background: var(--l-brand-soft); border-color: var(--l-brand); }
.l-btn-ghost { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.32); backdrop-filter: blur(4px); }
.l-btn-ghost:hover { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.5); }
.l-btn-inv { background: #fff; color: var(--l-brand); }
.l-btn-inv:hover { background: var(--l-brand-soft); transform: translateY(-1px); box-shadow: 0 10px 24px -10px rgba(0,0,0,.3); }

/* Header */
.l-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(255,255,255,.96); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
.l-header.l-scrolled {
  border-color: #E7E3D9;
  box-shadow: 0 2px 16px rgba(0,0,0,.07);
}
.l-nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 20px;
  display: flex; align-items: center; gap: 20px; height: 64px;
  position: relative;
}
.l-logo {
  display: flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 1.12rem; color: #1e293b;
  text-decoration: none; flex-shrink: 0;
}
.l-logo-icon { display: block; flex-shrink: 0; }
.l-nav-links {
  display: flex; align-items: center; gap: 26px; flex: 1;
  margin-left: 12px;
}
.l-nav-links a {
  font-size: 0.91rem; color: #6F6A60; text-decoration: none;
  font-weight: 500; transition: color .15s;
}
.l-nav-links a:hover { color: var(--l-brand); }
.l-nav-cta { margin-left: auto; flex-shrink: 0; }
/* SaaS-31e: Auth-CTAs nur im Mobil-Hamburger-Menü (Desktop nutzt .l-nav-cta). */
.l-nav-auth { display: none; }

/* SaaS-28: Konto-Menü (eingeloggt) im Landing-Header */
.l-acct { position: relative; display: inline-block; }
.l-acct-btn { display: inline-flex; align-items: center; gap: 6px; max-width: 220px; }
.l-acct-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 160px; }
.l-acct-caret { font-size: 0.7rem; opacity: 0.8; }
/* SaaS-31g: Account-/User-Menü modernisiert — klares Popover, ruhige Abstände,
   weicher Schatten, einheitliche Item-Styles, Firma read-only. */
.l-acct-menu {
  position: absolute; right: 0; top: calc(100% + 10px); min-width: 264px;
  background: #fff; border: 1px solid #eef2f7; border-radius: 16px;
  box-shadow: 0 18px 44px rgba(31, 29, 26, 0.18); padding: 8px; z-index: 60;
}
.l-acct-menu[hidden] { display: none; }
.l-acct-head {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 12px 13px; margin: 2px 2px 8px;
  border-radius: 12px; background: #F5F6F8; border: 1px solid #F1EEE7;
}
.l-acct-mname { font-weight: 700; color: #23211C; font-size: 0.95rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l-acct-mcompany { font-size: 0.82rem; font-weight: 600; color: var(--l-brand); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l-acct-mmail { font-size: 0.82rem; color: #6F6A60; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.l-acct-item {
  display: block; width: 100%; text-align: left; box-sizing: border-box;
  padding: 10px 12px; border-radius: 10px; font-size: 0.92rem; color: #1e293b;
  background: none; border: none; cursor: pointer; text-decoration: none;
  transition: background .15s ease, color .15s ease;
}
.l-acct-item + .l-acct-item { margin-top: 2px; }
.l-acct-item:hover, .l-acct-item:focus-visible { background: #eff4ff; color: #1d4ed8; outline: none; }
.l-acct-logout { color: #b91c1c; margin-top: 4px; border-top: 1px solid #F1EEE7; border-radius: 0 0 10px 10px; }
.l-acct-logout:hover, .l-acct-logout:focus-visible { background: #fef2f2; color: #b91c1c; }

/* SaaS-28: Kundenbereich / Account-Portal */
/* SaaS-31b: Das App-Basis-`body { height:100vh; overflow:hidden }` (SPA-Viewport-
   Lock) verhindert auf der Account-Seite jedes Scrollen — Profil/Sicherheit
   waren auf kleinen Viewports abgeschnitten. Hier bewusst zur normalen Doku-
   Höhe + vertikalem Scroll zurückkehren (Desktop + Mobile). */
body.acct-page { --l-brand: #0f766e; --l-brand-strong: #115e59; --l-brand-soft: #EAF9F4; --l-surface: #ffffff; --l-line: #E7E3D9;
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.acct-page { background: #F5F6F8; height: auto; min-height: 100vh; overflow-x: hidden; overflow-y: auto; }
.acct-header { position: static; box-shadow: 0 1px 0 #E7E3D9; }
.acct-main { padding: 32px 20px 64px; }
.acct-wrap { max-width: 720px; margin: 0 auto; }
.acct-title { font-size: 1.7rem; color: #23211C; margin: 0 0 4px; }
.acct-sub { color: #6F6A60; margin: 0 0 12px; }
/* Auth-UX v2: kompakter Host-Hinweis (rivix.de Konto / my.rivix.de Workspace),
   gleiche Rolle wie .auth-side-note im Login-Panel. */
.acct-host-note {
  display: inline-block; margin: 0 0 24px; padding: 7px 14px;
  border: 1px solid #B9E4DC; border-radius: 999px; background: #EAF9F4;
  font-size: 0.78rem; line-height: 1.5; color: #4A473F;
}
.acct-host-note strong { color: #0B5A54; font-weight: 700; }
.acct-card {
  background: #fff; border: 1px solid #E7E3D9; border-radius: 14px;
  padding: 20px 22px; margin-bottom: 18px;
}
.acct-card h2 { font-size: 1.05rem; color: #23211C; margin: 0 0 14px; }
.acct-card-info { background: #EAF9F4; border-color: #B9E4DC; }
.acct-dl { display: grid; grid-template-columns: 140px 1fr; gap: 8px 16px; margin: 0 0 12px; }
.acct-dl dt { color: #6F6A60; font-size: 0.9rem; }
.acct-dl dd { margin: 0; color: #23211C; overflow-wrap: anywhere; }
.acct-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: #D0F8F0; color: #0B5A54; font-size: 0.82rem; }
.acct-btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.acct-note { color: #6F6A60; font-size: 0.85rem; margin: 10px 0 0; }
.acct-field { margin-bottom: 16px; }
.acct-field label { display: block; font-size: 0.9rem; color: #4A473F; margin-bottom: 6px; }
.acct-field input[disabled] { width: 100%; max-width: 360px; padding: 9px 12px; border: 1px solid #E7E3D9; border-radius: 8px; background: #F1EEE7; color: #A8A399; }
.acct-field input:not([disabled]) { width: 100%; max-width: 360px; padding: 9px 12px; margin-bottom: 8px; border: 1px solid #D8D2C4; border-radius: 8px; background: #fff; color: #23211C; font-size: 0.95rem; }
.acct-field input:not([disabled]):focus { outline: none; border-color: #0f766e; box-shadow: 0 0 0 3px rgba(15,118,110,0.12); }
.acct-msg { color: #6F6A60; font-size: 0.85rem; margin: 8px 0 0; min-height: 1.1em; }
.acct-foot { color: #b91c1c; font-size: 0.9rem; min-height: 1.2em; }
body.acct-page .l-btn:disabled,
body.acct-page .l-btn[disabled] { cursor: not-allowed; }
body.acct-page .l-btn-outline:disabled,
body.acct-page .l-btn-outline[disabled] { background: #F5F6F8; border-color: #E7E3D9; color: #A8A399; opacity: 1; }
@media (max-width: 520px) { .acct-dl { grid-template-columns: 1fr; gap: 2px 0; } .acct-dl dt { margin-top: 8px; } }
.l-menu-btn {
  display: none !important; flex-direction: column; justify-content: space-between;
  width: 26px; height: 18px;
  background: none !important; border: none !important; box-shadow: none !important;
  padding: 0 !important; min-width: 0 !important; min-height: 0 !important;
  cursor: pointer; flex-shrink: 0;
}
.l-menu-btn span { display: block; height: 2px; background: #6F6A60; border-radius: 2px; transition: all .25s; }
.l-menu-btn.l-menu-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.l-menu-btn.l-menu-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.l-menu-btn.l-menu-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Badge (landing, distinct from app unread-badge) */
.l-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.1); color: rgba(255,255,255,.9);
  font-size: 0.78rem; font-weight: 600; padding: 5px 13px 5px 11px;
  border-radius: 99px; margin-bottom: 20px; letter-spacing: .01em;
  border: 1px solid rgba(255,255,255,.16);
}
.l-badge::before {
  content: ''; width: 7px; height: 7px; border-radius: 50%;
  background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.22);
}

/* Hero — tiefes Petrol/Navy mit Teal-Glow + subtiles Raster */
.l-hero {
  position: relative;
  background: linear-gradient(155deg, #0c2b2a 0%, #103f43 52%, #11575c 100%);
  color: #fff; padding: 88px 0 72px; overflow: hidden;
}
/* Teal-Glow (top-right) + gedämpfter Teal-Glow (bottom-left) + feines Kachelraster */
.l-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(58% 72% at 82% 4%, rgba(20,184,166,.28), transparent 60%),
    radial-gradient(50% 70% at 12% 100%, rgba(15,118,110,.22), transparent 62%),
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px) 0 0 / 56px 100%;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
  mask-image: linear-gradient(to bottom, #000 0%, transparent 92%);
}
.l-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 52px; align-items: center;
}
.l-hero-title {
  font-size: clamp(2.1rem, 5vw, 3.25rem); font-weight: 800;
  line-height: 1.08; margin-bottom: 18px; letter-spacing: -.025em;
}
.l-hero-sub {
  font-size: 1.1rem; color: rgba(255,255,255,.72); line-height: 1.62;
  margin-bottom: 32px; max-width: 480px;
}
.l-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.l-hero-hint {
  font-size: 0.83rem; color: rgba(255,255,255,.62);
  background: rgba(255,255,255,.08); padding: 7px 14px; border-radius: 99px;
  border: 1px solid rgba(255,255,255,.12);
}

/* App mockup (hero visual) */
.l-hero-visual { display: flex; justify-content: flex-end; }
.l-mockup {
  width: 100%; max-width: 400px; background: #fff; border-radius: var(--l-radius-lg);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.05);
  overflow: hidden;
  transform: perspective(1100px) rotateY(-6deg) rotateX(2deg);
  transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.l-mockup:hover { transform: perspective(1100px) rotateY(-2deg) rotateX(1deg) translateY(-4px); }
.lm-bar {
  display: flex; align-items: center; gap: 5px;
  background: #F1EEE7; padding: 8px 14px; border-bottom: 1px solid #E7E3D9;
}
.lm-dot { width: 9px; height: 9px; border-radius: 50%; }
.lm-r { background: #ef4444; } .lm-y { background: #f59e0b; } .lm-g { background: #22c55e; }
.lm-url { font-size: .7rem; color: #A8A399; margin-left: 8px; flex: 1; text-align: center; }
.lm-body { display: flex; min-height: 200px; }
.lm-sidebar { width: 116px; flex-shrink: 0; background: #23211C; padding: 10px 0; }
.lm-item { display: flex; align-items: center; gap: 7px; padding: 7px 12px; font-size: .7rem; color: rgba(255,255,255,.55); cursor: default; }
.lm-ic { width: 13px; height: 13px; flex-shrink: 0; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lm-active { background: rgba(255,255,255,.1); color: #fff; font-weight: 600; }
.lm-content { flex: 1; padding: 11px; background: #F5F6F8; }
.lm-topbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 9px; font-weight: 700; font-size: .79rem; color: #1e293b;
}
.lm-count {
  background: var(--l-brand); color: #fff; border-radius: 99px;
  font-size: .63rem; font-weight: 700; padding: 1px 7px;
}
.lm-card {
  background: #fff; border-radius: 7px; padding: 7px 9px;
  margin-bottom: 6px; box-shadow: 0 1px 4px rgba(0,0,0,.07);
}
.lm-dim { opacity: .45; }
.lm-ct { font-size: .75rem; font-weight: 600; color: #1e293b; }
.lm-cs { font-size: .66rem; color: #6F6A60; margin-top: 2px; }

/* Section base */
.l-section { padding: 84px 0; }
.l-features  { background: var(--l-surface); }
.l-for-whom  { background: var(--l-surface-2); }
.l-pricing   { background: var(--l-surface); }
.l-trust     { background: var(--l-surface-2); }
.l-faq       { background: var(--l-surface); }

.l-section-head { text-align: center; max-width: 600px; margin: 0 auto 52px; }
.l-section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.25rem); font-weight: 800;
  color: var(--l-ink); margin-bottom: 14px; letter-spacing: -.02em; line-height: 1.15;
}
.l-section-head p { font-size: 1.04rem; color: var(--l-muted); line-height: 1.6; }

/* Grids */
.l-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.l-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* Feature cards */
.l-feat-card {
  background: var(--l-surface); border-radius: var(--l-radius); padding: 28px 24px;
  box-shadow: var(--l-shadow-sm); border: 1px solid var(--l-line);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.l-feat-card:hover { transform: translateY(-2px); box-shadow: var(--l-shadow-md); border-color: #D8D2C4; }
.l-feat-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 18px;
  background: var(--l-accent-bg); color: var(--l-accent);
  border: 1px solid var(--l-accent-mid);
}
.l-feat-card h3 { font-size: 1rem; font-weight: 700; color: var(--l-ink); margin-bottom: 8px; letter-spacing: -.01em; }
.l-feat-card p { font-size: .88rem; color: var(--l-muted); line-height: 1.58; }

/* Use-case cards */
.l-uc-card {
  text-align: left; padding: 26px 22px; border-radius: var(--l-radius);
  background: var(--l-surface); border: 1px solid var(--l-line);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.l-uc-card:hover { transform: translateY(-2px); box-shadow: var(--l-shadow-md); border-color: #D8D2C4; }
.l-uc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  background: var(--l-surface-2); color: var(--l-ink-2); border: 1px solid var(--l-line);
}
.l-uc-card h3 { font-size: 1rem; font-weight: 700; color: var(--l-ink); margin-bottom: 7px; letter-spacing: -.01em; }
.l-uc-card p { font-size: .86rem; color: var(--l-muted); line-height: 1.56; }

/* Pricing */
.l-pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 18px; }
.l-price-card {
  background: var(--l-surface); border-radius: var(--l-radius-lg); padding: 28px 22px;
  border: 1px solid var(--l-line); position: relative;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--l-shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.l-price-card:hover { transform: translateY(-2px); box-shadow: var(--l-shadow-md); border-color: #D8D2C4; }
.l-price-hl { border-color: var(--l-brand); box-shadow: 0 8px 28px -10px rgba(15,118,110,.28); }
.l-price-hl:hover { border-color: var(--l-brand); }
.l-price-tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--l-brand); color: #fff; font-size: .7rem; font-weight: 700;
  letter-spacing: .03em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 99px; white-space: nowrap;
  box-shadow: 0 4px 12px -3px rgba(15,118,110,.4);
}
.l-pn { font-size: 1.05rem; font-weight: 700; color: var(--l-ink); }
.l-pa { font-size: 1.9rem; font-weight: 800; color: var(--l-ink); line-height: 1; letter-spacing: -.02em; }
.l-pa small { font-size: .85rem; font-weight: 500; color: var(--l-muted); margin-left: 2px; }
.l-pd { font-size: .83rem; color: var(--l-muted); line-height: 1.5; }
.l-pf { list-style: none; padding: 14px 0 0; margin: 4px 0 0; flex: 1; display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--l-line); }
.l-pf li { font-size: .83rem; color: var(--l-ink-2); padding-left: 24px; position: relative; line-height: 1.4; }
.l-pf li::before {
  content: ''; position: absolute; left: 0; top: 1px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--l-accent-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='11' viewBox='0 0 24 24' fill='none' stroke='%230f766e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.l-pcta { width: 100%; justify-content: center; margin-top: 4px; }
.l-pricing-note { text-align: center; font-size: .79rem; color: var(--l-muted); }

/* Trust */
.l-trust-item {
  display: flex; flex-direction: column; align-items: flex-start; text-align: left; gap: 9px;
  padding: 24px 22px; background: var(--l-surface); border: 1px solid var(--l-line);
  border-radius: var(--l-radius);
}
.l-ti-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 42px; border-radius: 11px; margin-bottom: 2px;
  background: var(--l-accent-bg); color: var(--l-accent); border: 1px solid var(--l-accent-mid);
}
.l-trust-item strong { font-size: .94rem; color: var(--l-ink); letter-spacing: -.01em; }
.l-trust-item span { font-size: .84rem; color: var(--l-muted); line-height: 1.55; }

/* FAQ */
.l-faq-wrap { max-width: 700px; }
.l-faq-list { display: flex; flex-direction: column; gap: 8px; }
.l-faq-item { border: 1px solid #E7E3D9; border-radius: 12px; overflow: hidden; }
.l-faq-q {
  width: 100%; text-align: left; padding: 15px 20px;
  background: #fff !important; color: #1e293b !important;
  font-size: .93rem !important; font-weight: 600 !important;
  border: none !important; box-shadow: none !important; border-radius: 0 !important;
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 8px; min-height: 0 !important; min-width: 0 !important;
  transform: none !important;
}
.l-faq-q::after { content: '+'; font-size: 1.15rem; color: #A8A399; flex-shrink: 0; transition: transform .2s; }
.l-faq-q.l-faq-open::after { transform: rotate(45deg); }
.l-faq-q:hover { background: #F5F6F8 !important; transform: none !important; }
.l-faq-a { padding: 0 20px 16px; font-size: .87rem; color: #6F6A60; line-height: 1.65; }

/* Final CTA */
.l-final-cta {
  background: linear-gradient(140deg, #23211C 0%, #134e4a 55%, #0f766e 100%);
  color: #fff; text-align: center; padding: 80px 20px;
}
.l-final-cta h2 { font-size: clamp(1.55rem, 3.5vw, 2.3rem); font-weight: 800; margin-bottom: 12px; }
.l-final-cta p { color: rgba(255,255,255,.72); font-size: 1rem; margin-bottom: 28px; }
.l-final-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Footer */
.l-footer { background: #23211C; color: rgba(255,255,255,.55); padding: 32px 0; }
.l-footer-inner { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.l-footer-logo { color: rgba(255,255,255,.9); }
.l-footer-nav { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; }
.l-footer-nav a { color: rgba(255,255,255,.48); text-decoration: none; font-size: .87rem; }
.l-footer-nav a:hover { color: #fff; }
.l-footer-copy { font-size: .77rem; color: rgba(255,255,255,.3); }
/* H45-CSP: Rechtstext-Footer (agb/datenschutz/impressum) — ersetzt Inline-styles.
   Auf hellen Rechtstext-Seiten überschreibt der Footer die dunkle Landing-Variante;
   die aktuelle Seite wird per aria-current="page" (statt Inline-color) hervorgehoben. */
.legal-footer-nav { margin-left: auto; }
.legal-footer-nav a { color: var(--l-muted); }
.legal-footer-nav a[aria-current="page"] { color: var(--l-ink); }
.legal-meta { margin-top: 30px; }

/* Scroll reveal — sanftes Auftauchen, leichter Stagger pro Grid-Position */
.l-reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s cubic-bezier(.22,.61,.36,1), transform .5s cubic-bezier(.22,.61,.36,1); }
.l-revealed { opacity: 1; transform: none; }
.l-grid-3 .l-reveal:nth-child(2), .l-grid-4 .l-reveal:nth-child(2) { transition-delay: .06s; }
.l-grid-3 .l-reveal:nth-child(3), .l-grid-4 .l-reveal:nth-child(3) { transition-delay: .12s; }
.l-grid-3 .l-reveal:nth-child(4), .l-grid-4 .l-reveal:nth-child(4) { transition-delay: .18s; }
.l-grid-3 .l-reveal:nth-child(5), .l-grid-3 .l-reveal:nth-child(6) { transition-delay: .12s; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 960px) {
  .l-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .l-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .l-pricing-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .l-hero-inner { grid-template-columns: 1fr; }
  .l-hero-visual { display: none; }
  .l-hero { padding: 56px 0 44px; }

  /* BD-MOBILENAV-1: align-items/flex/margin aus der Desktop-Regel hier bewusst
     zuruecksetzen — sonst zentriert das geerbte align-items:center die Spalten-Items
     (Links + CTAs werden schmal/mittig statt voll breit). Solider Panel-Hintergrund
     statt halbtransparent (kein Durchscheinen des Heros). */
  .l-nav-links {
    display: none; flex-direction: column; gap: 0;
    align-items: stretch; flex: none; margin-left: 0;
    position: absolute; top: 64px; left: 0; right: 0;
    background: #ffffff;
    border-bottom: 1px solid #E7E3D9; padding: 6px 0 4px;
    box-shadow: 0 10px 28px rgba(31,29,26,.12); z-index: 499;
  }
  .l-nav-links.l-nav-open { display: flex; }
  .l-nav-links a { padding: 13px 22px; font-size: .95rem; color: #1e293b; border-bottom: 1px solid #F1EEE7; }
  .l-nav-links a:last-of-type { border-bottom: none; }
  .l-nav-cta { display: none; }
  /* Menue-Button rechts aussen (Logo links, Button rechts), sauberes 44px-Touch-Ziel. */
  .l-menu-btn { display: flex !important; margin-left: auto; width: 44px; height: 44px; padding: 13px 9px !important; }
  /* SaaS-31e: Auth-CTAs gestapelt unten im Hamburger-Menü, volle Breite, gut
     tappbar. Kein hover-only, lesbar auf hellem Menü-Hintergrund. Mit Trenn-Linie
     und etwas Luft als klare Hierarchie unter den Navigationslinks. */
  .l-nav-auth { display: flex; flex-direction: column; gap: 8px; padding: 14px 20px 16px; border-top: 1px solid #eef2f7; margin-top: 6px; }
  .l-nav-auth .l-btn { width: 100%; padding: 11px 14px; border-bottom: none; font-size: .95rem; }
  .l-nav-auth .l-btn-ghost { background: #F1EEE7; color: #4A473F; border-color: #E7E3D9; }

  .l-section { padding: 52px 0; }
  .l-section-head { margin-bottom: 32px; }
}

@media (max-width: 580px) {
  .l-grid-3 { grid-template-columns: 1fr; }
  .l-grid-4 { grid-template-columns: 1fr; }
  .l-pricing-grid { grid-template-columns: 1fr; }
  .l-ti-icon { flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .l-reveal, .l-revealed { opacity: 1; transform: none; transition: none; }
  .l-btn, .l-feat-card, .l-uc-card, .l-price-card, .l-mockup { transition: none; }
  .l-reveal[class] { transition-delay: 0s; }
}

