/* =====================================================================
   Lyria Basis-Stylesheet · Version 1.0 (Oktober 2026)
   Ablage im CMS:  https://www.lyria-app.com/media/CMS/88/Navi/lyria-base.css
   Einbindung im <head> jeder Seite:
     <link rel="stylesheet" href="https://www.lyria-app.com/media/CMS/88/Navi/lyria-base.css"/>

   Regeln
   - Alle Klassen beginnen mit "ly-". Alte Seiten werden dadurch nicht beeinflusst.
   - Farben, Radien und Abstände nur über die Tokens (--ly-*), nie als Hex-Wert in Seiten.
   - Seiten-CSS nur für echte Sonderfälle, wenige Zeilen, Klassen mit Seitenpräfix.
   - Header und Footer bringen ihr eigenes CSS über die Siteface-Templates mit.
   ===================================================================== */

/* ---------- Schriften (selbst gehostet, kein Google-Aufruf) ---------- */
@font-face {
  font-family: Inter; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("https://www.lyria-app.com/media/CMS/88/Navi/Inter-Variable.woff2") format("woff2");
}
@font-face {
  font-family: Manrope; font-style: normal; font-weight: 200 800; font-display: swap;
  src: url("https://www.lyria-app.com/media/CMS/88/Navi/Manrope-Variable.woff2") format("woff2");
}

/* ---------- Design-Tokens ---------- */
:root {
  color-scheme: light;
  /* Flächen */
  --ly-canvas: #e6eef6;
  --ly-surface: #ffffff;
  --ly-sunken: #f6f8fb;
  --ly-line: #e2e8f0;
  --ly-line-strong: #cbd5e1;
  /* Text */
  --ly-ink: #0f172a;
  --ly-secondary: #475569;
  --ly-muted: #64748b;
  /* Marke */
  --ly-blue: #2563eb;
  --ly-blue-dark: #1d4ed8;
  --ly-blue-soft: #eff6ff;
  --ly-blue-line: #bfdbfe;
  --ly-violet: #9333ea;
  --ly-gradient: linear-gradient(90deg, #2563eb 0%, #7c3aed 55%, #9333ea 100%);
  --ly-gradient-text: linear-gradient(90deg, #2563eb, #9333ea);
  --ly-hero-bg:
    radial-gradient(62% 62% at 14% 6%, #bfe4f6 0%, transparent 72%),
    radial-gradient(58% 56% at 100% 100%, #e3dced 0%, transparent 72%),
    var(--ly-canvas);
  --ly-star: #b57900;
  /* Partnerakzente (nur auf Partnerseiten) */
  --ly-lexware: #f04452;
  --ly-bexio: #237baa;
  /* Typografie */
  --ly-font: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --ly-fs-h1: clamp(36px, 3.9vw, 54px);
  --ly-fs-h2: clamp(30px, 3.2vw, 42px);
  --ly-fs-h3: clamp(21px, 1.9vw, 26px);
  --ly-fs-lead: 18px;
  --ly-fs-body: 16px;
  --ly-fs-small: 14px;
  /* Form */
  --ly-r-sm: 12px;
  --ly-r-md: 18px;
  --ly-r-lg: 24px;
  --ly-r-xl: 28px;
  --ly-r-pill: 999px;
  --ly-shadow-card: 0 20px 44px -26px rgba(15, 23, 42, .25);
  --ly-shadow-btn: 0 14px 28px -14px rgba(109, 64, 236, .5);
  /* Raster */
  --ly-wrap: 1240px;
  --ly-wrap-narrow: 1000px;
  --ly-gutter: 32px;
  --ly-section: 84px;
  --ly-header-offset: 104px;
}
@media (max-width: 767px) {
  :root { --ly-gutter: 20px; --ly-section: 54px; --ly-fs-lead: 16px; }
}

/* ---------- Basis ----------
   :where() hält die Spezifität bei 0, damit jede Komponentenklasse (z. B. .ly-btn--primary)
   die Basisregeln sicher überschreibt. */
:where(.ly-page), :where(.ly-page) *, :where(.ly-page) *::before, :where(.ly-page) *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.ly-page {
  margin: 0; background: var(--ly-sunken); color: var(--ly-ink);
  font: var(--ly-fs-body)/1.6 var(--ly-font); -webkit-font-smoothing: antialiased;
}
:where(.ly-page) :where(h1, h2, h3, h4, p, figure, blockquote) { margin: 0; }
:where(.ly-page) :where(h1, h2, h3, h4) { color: var(--ly-ink); overflow-wrap: break-word; hyphens: manual; }
:where(.ly-page) :where(h1, h2) { text-wrap: balance; }
:where(.ly-page) :where(a) { color: inherit; text-decoration: none; }
:where(.ly-page) :where(button, input, select, textarea) { font: inherit; color: inherit; }
:where(.ly-page) :where(img, video) { display: block; max-width: 100%; height: auto; }
:where(.ly-page) :where(svg) { display: block; flex: none; }
:where(.ly-page) [hidden] { display: none !important; }
:where(.ly-page) :where(a, button, summary):focus-visible { outline: 3px solid var(--ly-blue); outline-offset: 4px; border-radius: 6px; }
:where(.ly-page) :where(section, header)[id] { scroll-margin-top: var(--ly-header-offset); }
:where(.ly-page) ::selection { background: #dbeafe; color: var(--ly-ink); }
.ly-skip-link {
  position: fixed; top: 10px; left: 16px; z-index: 1000; padding: 10px 16px; border-radius: 8px;
  background: #fff; color: var(--ly-blue); transform: translateY(-200%);
}
.ly-skip-link:focus { transform: none; }

/* ---------- Layout ---------- */
.ly-wrap { width: 100%; max-width: var(--ly-wrap); margin-inline: auto; padding-inline: var(--ly-gutter); }
.ly-wrap--narrow { max-width: var(--ly-wrap-narrow); }
.ly-section { padding-block: var(--ly-section); }
.ly-section--white { background: var(--ly-surface); border-block: 1px solid var(--ly-line); }
.ly-section--canvas { background: var(--ly-hero-bg); }
.ly-section--tight { padding-block: calc(var(--ly-section) * .45); }
.ly-center { text-align: center; }
.ly-stack > * + * { margin-top: 16px; }

/* ---------- Typografie ---------- */
.ly-eyebrow { display: block; margin-bottom: 14px; color: var(--ly-muted); font-size: 12px; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; }
.ly-h1 { font-size: var(--ly-fs-h1); line-height: 1.05; letter-spacing: -.048em; font-weight: 800; }
.ly-h2, :where(.ly-page) h2 { font-size: var(--ly-fs-h2); line-height: 1.14; letter-spacing: -.035em; font-weight: 800; }
.ly-h3, :where(.ly-page) h3 { font-size: var(--ly-fs-h3); line-height: 1.25; letter-spacing: -.025em; font-weight: 750; }
.ly-lead { color: var(--ly-secondary); font-size: var(--ly-fs-lead); line-height: 1.7; }
.ly-text { color: var(--ly-secondary); line-height: 1.75; }
.ly-small { color: var(--ly-muted); font-size: 13px; line-height: 1.6; }
.ly-highlight { color: var(--ly-blue); }
@supports (background-clip: text) {
  .ly-highlight { background: var(--ly-gradient-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
}
.ly-section-head { max-width: 800px; margin: 0 auto 36px; }
.ly-section-head .ly-lead { margin-top: 18px; }
.ly-section-head--left { margin-inline: 0; }

/* ---------- Buttons und Links ---------- */
.ly-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 48px; padding: 13px 23px; border: 1px solid transparent; border-radius: var(--ly-r-pill);
  font-size: 15px; font-weight: 700; line-height: 1.4; text-align: center; cursor: pointer;
  transition: transform .2s, box-shadow .2s, background-color .2s, border-color .2s;
}
.ly-btn svg { width: 18px; height: 18px; }
.ly-btn--primary { color: #fff; background: var(--ly-gradient); box-shadow: var(--ly-shadow-btn); }
.ly-btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -14px rgba(109, 64, 236, .6); }
.ly-btn--secondary { color: var(--ly-ink); background: rgba(255, 255, 255, .75); border-color: var(--ly-line-strong); }
.ly-btn--secondary:hover { background: #fff; border-color: #94a3b8; }
.ly-btn--block { width: 100%; }
.ly-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.ly-center .ly-actions { justify-content: center; }
.ly-note { margin-top: 14px; color: var(--ly-secondary); font-size: 13px; }
.ly-link { display: inline-flex; align-items: center; gap: 8px; color: var(--ly-blue); font-size: 15px; font-weight: 650; text-underline-offset: 4px; }
.ly-link:hover { text-decoration: underline; }
.ly-text a, .ly-faq a { color: var(--ly-blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Tags und Badges ---------- */
.ly-tag { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: var(--ly-r-pill); background: rgba(255, 255, 255, .7); color: var(--ly-secondary); font-size: 13px; font-weight: 650; line-height: 1.5; }
.ly-tag--blue { background: var(--ly-blue-soft); color: var(--ly-blue-dark); }
.ly-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.ly-pill { display: inline-flex; align-items: center; gap: 10px; max-width: 100%; padding: 12px 16px; border: 1px solid var(--ly-line); border-radius: 14px; background: #fff; color: #334155; font-size: 13px; font-weight: 600; line-height: 1.45; }
.ly-pill svg { width: 20px; height: 20px; color: var(--ly-blue); }

/* ---------- Hero ---------- */
.ly-hero { padding: 136px 0 72px; background: var(--ly-hero-bg); }
.ly-hero__grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); align-items: center; gap: clamp(30px, 4vw, 56px); }
.ly-hero__copy, .ly-hero__visual { min-width: 0; }
.ly-hero__copy > .ly-tag { margin-bottom: 22px; }
.ly-hero__copy > .ly-lead { margin-top: 22px; max-width: 560px; }
.ly-hero__visual img { width: 100%; border-radius: var(--ly-r-lg); }
.ly-hero--center .ly-hero__grid { grid-template-columns: minmax(0, 1fr); text-align: center; max-width: 860px; margin-inline: auto; }
.ly-hero--center .ly-actions { justify-content: center; }
.ly-hero--center .ly-lead { margin-inline: auto; }
body[data-nav-variant="campaign"] .ly-hero { padding-top: 120px; }

/* ---------- Raster und Karten ---------- */
.ly-grid { display: grid; gap: 24px; }
.ly-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ly-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ly-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ly-card { min-width: 0; padding: 28px; border: 1px solid var(--ly-line); border-radius: var(--ly-r-lg); background: var(--ly-surface); }
.ly-card--sunken { background: var(--ly-sunken); }
.ly-card--featured { background: #eff5fc; border-color: #a9c4e9; }
.ly-card > h3 + p, .ly-card > .ly-h3 + p { margin-top: 12px; color: var(--ly-secondary); font-size: 15px; line-height: 1.7; }
.ly-card__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 18px; border-radius: 12px; background: var(--ly-blue-soft); color: var(--ly-blue); }
.ly-card__icon svg { width: 22px; height: 22px; }

/* ---------- Text und Bild nebeneinander ---------- */
.ly-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; gap: 40px; padding: 32px; border: 1px solid var(--ly-line); border-radius: var(--ly-r-lg); background: var(--ly-surface); }
.ly-split--plain { padding: 0; border: 0; background: none; }
.ly-split--reverse .ly-split__copy { order: -1; }
.ly-split__copy, .ly-split__visual { min-width: 0; }
.ly-split__copy > p { margin-top: 18px; color: var(--ly-secondary); line-height: 1.75; }
.ly-split__visual { padding: 18px; border-radius: var(--ly-r-md); background: var(--ly-sunken); }
.ly-split__visual img { width: 100%; max-height: 520px; object-fit: contain; }
.ly-stack-lg { display: grid; gap: 28px; }

/* ---------- Häkchenliste ---------- */
.ly-checks { display: grid; gap: 16px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--ly-secondary); font-size: 15px; }
.ly-checks li { position: relative; padding-left: 32px; }
.ly-checks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--ly-blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ly-checks strong { display: block; color: var(--ly-ink); }

/* ---------- Ablauf-Schritte ---------- */
.ly-steps { display: grid; grid-template-columns: repeat(var(--ly-steps, 3), minmax(0, 1fr)); gap: 20px; counter-reset: lystep; }
.ly-step { min-width: 0; padding: 26px; border: 1px solid var(--ly-line); border-radius: var(--ly-r-lg); background: var(--ly-surface); counter-increment: lystep; }
.ly-step::before { content: counter(lystep, decimal-leading-zero); display: block; margin-bottom: 18px; color: var(--ly-blue); font-size: 14px; font-weight: 800; }
.ly-step p { margin-top: 10px; color: var(--ly-secondary); font-size: 15px; line-height: 1.66; }

/* ---------- Logos (Partner, Integrationen) ---------- */
.ly-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.ly-logo-tile { display: flex; align-items: center; justify-content: center; width: 220px; min-height: 100px; padding: 24px; border: 1px solid var(--ly-line); border-radius: var(--ly-r-md); background: #fff; transition: border-color .2s; }
a.ly-logo-tile:hover { border-color: #93c5fd; }
.ly-logo-tile img { max-width: 170px; max-height: 48px; width: auto; }

/* ---------- Kundenstimmen ---------- */
.ly-quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.ly-quote { margin: 0; padding: 30px; border: 1px solid var(--ly-line); border-radius: var(--ly-r-lg); background: var(--ly-sunken); }
.ly-quote__stars { color: var(--ly-star); font-size: 18px; letter-spacing: .06em; }
.ly-quote blockquote { margin-top: 14px; font-size: 17px; font-weight: 550; line-height: 1.65; }
.ly-quote figcaption { margin-top: 18px; color: var(--ly-muted); font-size: 13px; }
.ly-quote-source { margin-top: 18px; color: var(--ly-muted); font-size: 12px; text-align: center; }

/* ---------- Kontaktkarte ---------- */
.ly-contact { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 30px; align-items: center; max-width: 900px; margin-inline: auto; padding: 34px; border: 1px solid var(--ly-line); border-radius: var(--ly-r-lg); background: var(--ly-sunken); }
.ly-contact__photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; }
.ly-contact p { margin: 14px 0 22px; color: var(--ly-secondary); font-size: 15px; line-height: 1.75; }

/* ---------- FAQ ---------- */
.ly-faq { display: grid; gap: 12px; }
.ly-faq details { padding: 22px 24px; border: 1px solid var(--ly-line); border-radius: var(--ly-r-md); background: var(--ly-surface); }
.ly-section--white .ly-faq details { background: var(--ly-sunken); }
.ly-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; cursor: pointer; list-style: none; font-size: 16px; font-weight: 650; line-height: 1.5; }
.ly-faq summary::-webkit-details-marker { display: none; }
.ly-faq summary::after { content: "+"; flex: none; color: var(--ly-blue); font-size: 22px; font-weight: 500; line-height: 1; }
.ly-faq details[open] summary::after { content: "−"; }
.ly-faq details > div, .ly-faq details > p { margin-top: 16px; max-width: 780px; color: var(--ly-secondary); font-size: 15px; line-height: 1.75; }

/* ---------- Abschluss-Box (CTA) ---------- */
.ly-cta { padding: 52px 32px; border-radius: var(--ly-r-xl); background: var(--ly-hero-bg); text-align: center; }
.ly-cta .ly-lead { max-width: 650px; margin: 18px auto 0; }
.ly-cta .ly-actions { justify-content: center; }

/* ---------- Vergleichstabelle ---------- */
.ly-table-wrap { overflow-x: auto; border: 1px solid var(--ly-line); border-radius: var(--ly-r-lg); background: #fff; }
.ly-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; }
.ly-table :is(th, td) { padding: 16px 20px; border-bottom: 1px solid var(--ly-line); text-align: left; vertical-align: top; }
.ly-table th { background: var(--ly-sunken); font-size: 13px; font-weight: 700; }
.ly-table tr:last-child td { border-bottom: 0; }

/* ---------- Tabs (Themenauswahl) ---------- */
.ly-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.ly-tab { padding: 11px 18px; border: 1px solid var(--ly-line); border-radius: var(--ly-r-pill); background: #fff; color: var(--ly-secondary); font-size: 14px; font-weight: 650; cursor: pointer; transition: border-color .2s, color .2s, background-color .2s; }
.ly-tab:hover { border-color: #93c5fd; color: var(--ly-ink); }
.ly-tab[aria-selected="true"] { border-color: var(--ly-blue); background: var(--ly-blue-soft); color: var(--ly-blue-dark); }
.ly-tabpanel > .ly-lead { max-width: 760px; margin: 14px auto 30px; text-align: center; }
.ly-tabpanel > h3 { text-align: center; font-size: var(--ly-fs-h2); line-height: 1.15; letter-spacing: -.035em; }
.ly-result { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ly-line); color: var(--ly-ink); font-size: 14px; font-weight: 600; }
.ly-card__img { margin: -28px -28px 22px; border-radius: var(--ly-r-lg) var(--ly-r-lg) 0 0; background: var(--ly-sunken); overflow: hidden; aspect-ratio: 16 / 10; display: grid; place-items: center; }
.ly-card__img img { width: 100%; height: 100%; object-fit: contain; padding: 14px; }

/* ---------- Preise ---------- */
.ly-price-card { display: flex; flex-direction: column; }
.ly-price-card .ly-btn { margin-top: auto; width: 100%; }
.ly-price { margin: 10px 0 6px; font-size: 42px; font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.ly-price small { display: block; margin-top: 6px; color: var(--ly-muted); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.ly-price-card .ly-checks { margin-bottom: 26px; }
.ly-badge { align-self: flex-start; padding: 4px 10px; border-radius: var(--ly-r-pill); background: #dbeafe; color: var(--ly-blue-dark); font-size: 11px; font-weight: 700; }

/* ---------- Formulare ---------- */
.ly-form { display: grid; gap: 16px; }
.ly-form label { display: block; margin-bottom: 6px; color: var(--ly-ink); font-size: 14px; font-weight: 650; }
.ly-form :is(input[type="text"], input[type="email"], textarea) { width: 100%; padding: 13px 14px; border: 1px solid var(--ly-line-strong); border-radius: var(--ly-r-sm); background: #fff; color: var(--ly-ink); font: inherit; }
.ly-form textarea { min-height: 120px; resize: vertical; }
.ly-form :is(input, textarea):focus { outline: none; border-color: var(--ly-blue); box-shadow: 0 0 0 4px rgba(37, 99, 235, .15); }

/* ---------- Filter ---------- */
.ly-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 34px; }

/* ---------- Stimme mit Foto ---------- */
.ly-reference { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: center; overflow: hidden; border: 1px solid var(--ly-line); border-radius: var(--ly-r-lg); background: #fff; }
.ly-reference img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.ly-reference > div { padding: 40px; }
.ly-reference blockquote { margin: 14px 0 22px; font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.4; letter-spacing: -.02em; }
.ly-reference strong { display: block; }
.ly-reference span { color: var(--ly-muted); font-size: 14px; }
@media (max-width: 767px) {
  .ly-reference { grid-template-columns: minmax(0, 1fr); }
  .ly-reference img { min-height: 240px; max-height: 320px; }
  .ly-reference > div { padding: 26px; }
}

/* ---------- Video ---------- */
.ly-video { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--ly-r-lg); background: #fff; box-shadow: var(--ly-shadow-card); }
.ly-video video { width: 100%; height: 100%; object-fit: contain; }

/* ---------- Responsiv ---------- */
@media (max-width: 1023px) {
  .ly-hero { padding-top: 116px; }
  .ly-hero__grid { grid-template-columns: minmax(0, 1fr); max-width: 760px; margin-inline: auto; text-align: center; }
  .ly-hero__copy > .ly-lead { margin-inline: auto; }
  .ly-hero .ly-actions { justify-content: center; }
  .ly-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ly-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ly-split { gap: 28px; padding: 26px; }
}
@media (max-width: 900px) {
  .ly-grid--3 { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .ly-hero { padding: 108px 0 44px; }
  .ly-hero .ly-actions .ly-btn { width: 100%; }
  .ly-grid--2, .ly-grid--4, .ly-quotes, .ly-steps { grid-template-columns: minmax(0, 1fr); }
  .ly-split { grid-template-columns: minmax(0, 1fr); padding: 22px; border-radius: 22px; }
  .ly-split__copy { order: -1; }
  .ly-split__visual { padding: 12px; }
  .ly-card, .ly-quote { padding: 24px; }
  .ly-contact { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 26px; }
  .ly-contact__photo { width: 100px; height: 100px; }
  .ly-contact .ly-btn, .ly-cta .ly-btn { width: 100%; }
  .ly-faq details { padding: 20px; }
  .ly-faq summary { font-size: 15px; gap: 14px; }
  .ly-cta { padding: 34px 22px; border-radius: 24px; }
  .ly-logo-tile { width: calc(50% - 10px); min-height: 84px; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ly-page *, .ly-page *::before, .ly-page *::after { animation: none !important; transition: none !important; }
}
