/* Gemeinsames Erscheinungsbild der Unterseiten (Richtung «Raster/Werkstatt»).
   Wird als letztes Stylesheet geladen und stellt die bestehenden Seitenbausteine
   aus legal.css, detail.css, faq.css, pakete-vergleichen.css und demo.css
   auf die Farben, Schriftgrössen und flachen Flächen der Startseite um.
   Dunkel ist der Standard, Hell wird über data-mode="light" gesetzt (theme-init.js, Umschalter in ui.js). */

:root {
  color-scheme: dark;
  --bg: #0c1a26;
  --ink: #eef4f6;
  --soft: #c6d4dc;
  --muted: #a9bcc7;
  --rule: #eef4f6;
  --hair: #33495a;
  --link: #bcf36a;
  --tint: #13283a;
  --field: #13283a;
  --panel-bg: #eef4f6;
  --panel-ink: #0c1a26;
  --panel-muted: #33495a;
  --btn: #bcf36a;
  --btn-ink: #0c1a26;
  /* Namen der bisherigen Stylesheets */
  --card: transparent;
  --line: var(--hair);
  --accent: var(--link);
  --warning: #2c2a1f;
  --surface: var(--tint);
  --surface2: #1b3447;
  --mint: var(--link);
  --lime: var(--link);
  --white: var(--ink);
  color: var(--ink);
  background: var(--bg);
}

:root[data-mode="light"] {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #14181c;
  --soft: #38424b;
  --muted: #55606a;
  --rule: #14181c;
  --hair: #c9cfd4;
  --link: #1b5f59;
  --tint: #f1f4f5;
  --field: #ffffff;
  --panel-bg: #102536;
  --panel-ink: #f1f8f7;
  --panel-muted: #b8c9d2;
  --warning: #fbf3dc;
  --surface2: #e6eaec;
}

/* Die interaktiven Demos sind als dunkle Anwendung gestaltet und bleiben es. */
:root.always-dark {
  color-scheme: dark;
  --bg: #0c1a26; --ink: #eef4f6; --soft: #c6d4dc; --muted: #a9bcc7; --rule: #eef4f6; --hair: #33495a;
  --link: #bcf36a; --tint: #13283a; --field: #13283a;
  --surface: #14283a; --surface2: #1a3447; --line: #365165; --mint: #bcf36a; --lime: #bcf36a; --white: #edf6f8;
}

html { scroll-padding-top: 96px; }
body { background: var(--bg); color: var(--ink); font-size: 1.0625rem; line-height: 1.6; }
h1, h2, h3, h4, p, li, dd, summary { overflow-wrap: anywhere; }
::selection { background: #bcf36a; color: #0c1a26; }
:is(a, button, input, select, textarea, summary, [tabindex]):focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }

.container { width: min(1216px, 100% - 64px); }
.skip { background: var(--btn); color: var(--btn-ink); font-weight: 600; }

/* Kopfzeile */
.header, .topbar { position: sticky; top: 0; z-index: 10; background: var(--bg); backdrop-filter: none; border-bottom: 1px solid var(--hair); }
.header .nav, .topbar-inner { min-height: 76px; flex-wrap: wrap; padding-block: 10px; gap: 8px 28px; }
.brand { font-weight: 600; font-size: 1.125rem; letter-spacing: 0; gap: 12px; min-width: 0; color: var(--ink); }
.brand img, .brand svg { width: 42px; height: 42px; }
.brand > span { text-transform: none; letter-spacing: 0; min-width: 0; }
.brand small { font-size: .8125rem; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-top: 2px; }
.links { gap: 6px 26px; font-size: 1rem; font-weight: 400; flex-wrap: wrap; }
.links a { padding-block: 10px; }
.links a[aria-current=page] { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }

/* Titelbereich */
.eyebrow { font-size: .9375rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--muted); }
.eyebrow::before { content: none; }
.hero h1, .detail-hero h1, .compare-hero h1, .faq-intro h1, main h1 {
  font-family: var(--font-display); font-weight: 380; letter-spacing: -.035em; line-height: 1.02; font-size: clamp(2.4rem, 5.6vw, 4.5rem);
  font-variation-settings: 'opsz' 144;
}
.lead { color: var(--soft); font-size: 1.25rem; line-height: 1.45; }
.breadcrumbs { color: var(--muted); font-size: .9375rem; flex-wrap: wrap; }
h2 { font-family: var(--font-display); letter-spacing: -.02em; font-weight: 450; }
h1 em, h2 em { font-style: italic; color: var(--link); }

/* Flache Flächen statt abgerundeter Karten */
.content section, .detail-wide, .detail-grid article, .faq-group details, .aside,
.tech-flow div, .price-card, .detail-cta, .faq-links a, .label, .note {
  border-radius: 0; box-shadow: none;
}
.content section { background: transparent; border: 0; border-top: 1px solid var(--hair); padding: 28px 0; margin: 0; }
.content section:first-child { border-top-color: var(--rule); }
.content h2 { font-size: 1.5rem; }
.content a, .faq-group a, .detail-wide a { color: var(--link); text-underline-offset: 4px; }
.note { background: var(--warning) !important; border: 0 !important; border-left: 3px solid #c9a23a !important; padding: 20px 24px !important; }
.note strong { color: var(--ink); }
.aside { background: var(--tint); border: 0; }
.label { background: var(--tint); color: var(--soft); font-weight: 500; }
.muted { color: var(--muted); }

/* Paketdetails */
.detail-nav { font-weight: 400; font-size: 1rem; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--hair); padding-block: 12px; }
.detail-nav a { color: var(--soft); padding-block: 6px; }
.detail-nav a:hover, .detail-nav a[aria-current=page] { color: var(--ink); }
.detail-nav a[aria-current=page] { font-weight: 600; text-decoration: underline; text-underline-offset: 6px; }
.detail-scope { color: var(--link); font-weight: 500; }
.price-card { background: var(--panel-bg); color: var(--panel-ink); padding: 28px; }
.price-card .eyebrow { color: var(--panel-muted); }
.price-card strong { font-family: var(--font-display); font-weight: 450; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.price-card p { color: var(--panel-muted); font-size: .9375rem; }
.price-card a, .detail-cta a, .compare-button.primary {
  border-radius: 0; background: var(--btn); color: var(--btn-ink); border-color: var(--btn);
  font-weight: 600; font-size: 1rem; min-height: 48px; padding: 12px 22px;
}
.price-card a:hover, .detail-cta a:hover { background: #a9e04f; }
.detail-grid { gap: 0 32px; border-top: 1px solid var(--rule); margin-bottom: 0; }
.detail-grid article { background: transparent; border: 0; padding: 24px 0 28px; }
.detail-grid h2 { font-size: 1.375rem; }
.detail-grid li, .tech-flow p, .detail-wide p, .detail-cta p, .faq-group details p { font-size: 1rem; line-height: 1.6; color: var(--soft); }
.tech-flow { gap: 0 32px; border-top: 1px solid var(--hair); margin-bottom: 0; }
.tech-flow div { background: transparent; border: 0; padding: 22px 0 26px; }
.tech-flow b { font-size: 1.0625rem; }
.detail-wide { background: transparent; border: 0; border-top: 1px solid var(--hair); padding: 26px 0 30px; margin: 0; }
.detail-wide h2 { font-size: 1.5rem; }
.detail-wide p { max-width: 46em; }
.detail-cta { background: var(--tint); margin-top: 28px; }
.detail-cta h2 { font-size: 1.5rem; }
.detail-cta p { color: var(--soft); }

/* FAQ */
.faq-group > h2 { font-size: 1.5rem; }
.faq-group details { background: transparent; border: 0; border-top: 1px solid var(--hair); margin: 0; padding: 0; }
.faq-group details:last-child { border-bottom: 1px solid var(--hair); }
.faq-group summary { font-size: 1.0625rem; font-weight: 600; padding: 18px 0; }
.faq-group summary::after { color: var(--muted); }
.faq-links a { border-color: var(--hair); font-weight: 500; font-size: .9375rem; }

/* FAQ-Suche und Themen */
.faq-search input, .faq-search button, .faq-empty { border-radius: 0; border-color: var(--muted); }
.faq-search input { background: var(--field); }
.faq-shortcuts a { font-size: .9375rem; }
.faq-page .faq-group details[open] { border-color: var(--hair); }

/* Paketvergleich */
.compare-button { border-radius: 0; }
.hero-note { border-left-color: var(--link); }
.compare-table-wrap, .scenario-content, .example-switch, .example-switch button, .handover-grid > *, .shared-grid > *, .preparation { border-radius: 0; }
.deliverable-number { color: var(--muted); letter-spacing: 0; }
.example-switch button[aria-pressed=true] { background: var(--btn); color: var(--btn-ink); }

/* Fusszeile */
.footer, .page-end { border-top: 1px solid var(--hair); color: var(--muted); font-size: .9375rem; }
.footer a, .page-end a { padding-block: 6px; text-underline-offset: 4px; }

@media (max-width: 700px) {
  .container { width: calc(100% - 40px); }
  .header .nav { align-items: center; }
  .links { width: 100%; justify-content: flex-start; }
  .brand small { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Auf Inhaltsseiten keine abgerundeten Flächen; Demos und das Browser-Beispiel behalten ihre Form. */
:root:not(.always-dark) main :is(section, article, aside, details, table, button, input, select, a, li, .compare-table-wrap, .scenario-content, .example-switch):not(.pin):not(.example-browser):not(.example-browser *) { border-radius: 0; }

/* Umschalter Dunkel/Hell (ui.js) */
.mode-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; background: transparent; border: 1px solid var(--hair); color: var(--ink); cursor: pointer; white-space: nowrap; flex: none; font: inherit; font-size: .9375rem; border-radius: 0; }
.mode-toggle:hover { border-color: var(--ink); }
.header .nav .mode-toggle, .topbar-inner .mode-toggle { margin-left: auto; }
@media (prefers-reduced-motion: no-preference) {
  .mode-toggle, .price-card a, .detail-cta a, .compare-button { transition: background-color .2s, border-color .2s, color .2s; }
  main h1 { animation: rise-in .9s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes rise-in { from { opacity: 0; transform: translateY(.3em); } to { opacity: 1; transform: none; } }
}

/* Produkte: kompakte Übersicht */
.products-page { padding-bottom: 48px; }
.products-intro { max-width: none; }
.products-page .products-intro h1 { font-size: clamp(2rem, 4vw, 3rem); }
.products-intro .lead { margin-top: 12px; font-size: 1.0625rem; max-width: 40em; }
.app-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--page-gap, 18px); margin-bottom: var(--page-gap, 18px); }
.app-card { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden; background: var(--frame-bg); border: 1px solid var(--frame-line); }
:root:not(.always-dark) main .app-card { border-radius: 20px !important; }
.app-card :is(h2, p) { margin: 0; }
:root:not(.always-dark) main.products-page .products-intro { padding-block: clamp(18px, 2.4vw, 28px); }
.products-intro :is(.eyebrow, h1) { margin: 0; }
.products-intro .status-line { margin: 14px 0 0; padding: 5px 14px; font-size: .875rem; }
.app-card:hover { border-color: var(--link); }
.app-card-shot { height: 220px; overflow: hidden; background: var(--shot-bg); display: flex; justify-content: center; align-items: flex-start; }
.app-card-shot.phone { padding-top: 20px; }
.app-card-shot.phone img { width: 132px; height: auto; border: 3px solid var(--shot-frame); border-radius: 15px; }
.app-card-shot.window { align-items: center; padding: 16px; }
.app-card-shot.window img { width: 100%; height: auto; border-radius: 8px; }
.app-card-copy { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: 16px 18px 18px; }
.product-meta { font-size: .8125rem; color: var(--muted); }
.app-card h2 { font-size: 1.375rem; line-height: 1.15; }
.app-card h2 a { color: var(--ink); text-decoration: none; }
.app-card h2 a::after { content: ""; position: absolute; inset: 0; }
.app-card h2 a:focus-visible { outline: 0; }
.app-card:focus-within { outline: 3px solid var(--link); outline-offset: 3px; }
.app-card-copy p:not(.product-meta) { font-size: .9375rem; line-height: 1.5; color: var(--soft); }
.app-card-more { margin-top: auto; padding-top: 8px; font-size: .9375rem; color: var(--link); }
.products-end { max-width: none; }
.products-end h2 { font-size: 1.5rem; }
.products-end p { margin-top: 8px; color: var(--soft); max-width: 44em; }
.products-end p a { color: var(--link); text-underline-offset: 4px; }

/* Farbfläche je App */
.app-aufgetischt { --shot-bg: #2a2440; --shot-frame: #322b40; }
.app-familiennachlass { --shot-bg: #1d332a; --shot-frame: #2c473b; }
.app-getstronger { --shot-bg: #232c17; --shot-frame: #3a4528; }
.app-migraene { --shot-bg: #242a4a; --shot-frame: #363e66; }
:root[data-mode="light"] .app-aufgetischt { --shot-bg: #dcd2f0; --shot-frame: #322b40; }
:root[data-mode="light"] .app-familiennachlass { --shot-bg: #d3e3d8; --shot-frame: #2c473b; }
:root[data-mode="light"] .app-getstronger { --shot-bg: #e2ecc9; --shot-frame: #2b3020; }
:root[data-mode="light"] .app-migraene { --shot-bg: #d9ddf2; --shot-frame: #363e66; }

/* Detailseite je App */
:root:not(.always-dark) main :is(.app-hero, .app-block) { background: var(--frame-bg); border: 1px solid var(--frame-line); border-radius: var(--frame-radius) !important; padding: var(--frame-pad); margin: 0 0 var(--page-gap); box-sizing: border-box; min-width: 0; overflow: clip; }
.app-hero-copy > .eyebrow { margin: 0; }
.app-block :is(h3, p) { margin: 0; }
.app-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 28px 48px; align-items: center; }
.app-page .app-hero h1 { font-size: clamp(2rem, 4vw, 3.1rem); margin: 6px 0 16px; }
.app-hero .lead { font-size: 1.0625rem; line-height: 1.55; }
.app-hero-copy p a { color: var(--link); text-underline-offset: 4px; }
.app-hero-copy > p:not(.eyebrow):not(.lead):not(.status-line) { margin-top: 16px; }
.app-hint { font-size: .9375rem; color: var(--muted); border-left: 3px solid var(--link); padding-left: 12px; }
.app-hero-art { background: var(--shot-bg); border-radius: 18px; padding: 24px; }
.app-hero-art.phones { display: flex; justify-content: center; align-items: flex-start; gap: 16px; }
.app-hero-art.phones img { display: block; width: 100%; max-width: 180px; min-width: 0; height: auto; border: 3px solid var(--shot-frame); border-radius: 18px; }
.app-hero-art.phones img + img { margin-top: 28px; }
.app-hero-art.window img { display: block; width: 100%; height: auto; border-radius: 10px; }
.app-block h2 { margin: 0 0 18px; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1.1; }
.feature-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px 28px; }
.feature-grid li { border-top: 1px solid var(--hair); padding-top: 12px; }
.feature-grid h3 { margin: 0 0 4px; font-size: 1.0625rem; font-weight: 600; }
.feature-grid p { font-size: .9375rem; line-height: 1.5; color: var(--soft); }
.app-facts { display: flex; flex-wrap: wrap; gap: 10px 40px; margin: 24px 0 0; padding-top: 16px; border-top: 1px solid var(--hair); font-size: .9375rem; }
.app-facts dt { color: var(--muted); }
.app-facts dd { margin: 0; color: var(--ink); }
.phone-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 20px 18px; }
.phone-gallery figure, .window-gallery figure { margin: 0; display: grid; gap: 10px; align-content: start; }
.phone-gallery img { display: block; width: 100%; height: auto; border: 3px solid var(--shot-frame); border-radius: 18px; box-sizing: border-box; }
.window-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.window-gallery img { display: block; width: 100%; height: auto; border: 1px solid var(--hair); border-radius: 12px; box-sizing: border-box; }
:is(.phone-gallery, .window-gallery) figcaption { display: grid; gap: 2px; font-size: .9375rem; }
:is(.phone-gallery, .window-gallery) figcaption span { color: var(--soft); font-size: .875rem; line-height: 1.45; }
.app-block .app-note { margin-top: 20px; font-size: .875rem; color: var(--muted); }
.plan-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 40px; }
.plan-grid h3 { margin: 0 0 10px; font-size: 1.0625rem; font-weight: 600; }
.plan-grid ul { list-style: none; margin: 0; padding: 0; }
.plan-grid li { position: relative; padding: 9px 0 9px 28px; border-top: 1px solid var(--hair); font-size: .9375rem; line-height: 1.5; color: var(--soft); }
.plan-grid li::before { position: absolute; left: 2px; color: var(--link); }
.plan-grid .done li::before { content: "✓"; }
.plan-grid .next li::before { content: "○"; }
.app-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; margin-top: 18px; }
@media (max-width: 1000px) { .app-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .app-hero { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .app-cards { grid-template-columns: 1fr; }
  .app-card { flex-direction: row; }
  .app-card-shot { width: 108px; flex: none; height: auto; position: relative; }
  .app-card-shot.phone { padding-top: 14px; }
  .app-card-shot.phone img { position: absolute; width: 80px; border-radius: 11px; }
  .app-card-shot.window { padding: 8px; }
  .app-card-copy { padding: 14px; }
  .feature-grid, .plan-grid, .window-gallery { grid-template-columns: 1fr; }
  .phone-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-hero-art { padding: 16px; }
}
@media (max-width: 700px) {
  .mode-toggle { padding: 8px; min-width: 44px; justify-content: center; }
  .mode-toggle .mode-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
}

/* Rahmen um die Bereiche der Unterseiten (wie auf der Startseite) */
:root:not(.always-dark) {
  --frame-bg: #102536; --frame-line: #33495a; --frame-radius: 28px; --frame-pad: clamp(22px, 4vw, 48px); --page-gap: 18px;
}
:root[data-mode="light"] { --frame-bg: #f4f6f7; --frame-line: #d2d8dc; }
:root:not(.always-dark) body { background: color-mix(in srgb, var(--bg) 82%, #000); }
:root[data-mode="light"]:not(.always-dark) body { background: #e9edef; }
:root:not(.always-dark) .header, :root:not(.always-dark) .topbar { background: var(--bg); }
:root:not(.always-dark) main.container { padding-top: var(--page-gap); }
:root:not(.always-dark) main .breadcrumbs { margin-bottom: var(--page-gap); }

:root:not(.always-dark) main :is(.detail-hero, .detail-grid, .detail-wide, .compare-hero, .compare-section, .faq-intro, .faq-search, .faq-group, .products-intro, .products-end, .hero, .layout > .content, .layout > .aside, .tech-flow) {
  background: var(--frame-bg); border: 1px solid var(--frame-line); border-radius: var(--frame-radius);
  padding: var(--frame-pad); margin: 0 0 var(--page-gap); overflow: clip; box-sizing: border-box; min-width: 0;
  border-radius: var(--frame-radius) !important;
}
:root:not(.always-dark) main :is(.detail-grid, .tech-flow) { gap: 0 var(--frame-pad); }
:root:not(.always-dark) main .detail-grid > article, :root:not(.always-dark) main .tech-flow > div { padding-top: 0; }
:root:not(.always-dark) main :is(.detail-grid, .detail-wide) { border-top-color: var(--frame-line); }
:root:not(.always-dark) .content section:first-child { border-top-color: var(--hair); }
:root:not(.always-dark) main .layout > .content { padding-block: 8px; }
:root:not(.always-dark) main .layout > .aside { background: var(--frame-bg); }
:root:not(.always-dark) main .faq-group details:last-child { border-bottom-color: transparent; }

/* Abschluss-Aufruf: ruhiger Rahmen, Limette nur am Knopf */
:root:not(.always-dark) main .detail-cta { background: #17324a; border: 1px solid var(--frame-line); border-radius: var(--frame-radius) !important; padding: var(--frame-pad); margin: 0 0 var(--page-gap); }
:root[data-mode="light"]:not(.always-dark) main .detail-cta { background: #eaf0f2; }
:root:not(.always-dark) .footer, :root:not(.always-dark) .page-end { border-top: 0; margin-top: var(--page-gap); }
@media (max-width: 700px) { :root:not(.always-dark) { --frame-radius: 20px; --page-gap: 12px; } }

/* Weitere Bewegung: Lesefortschritt, Kopfzeile, Hero-Neigung, FAQ-Öffnen, Links */
.scroll-bar { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 30; background: var(--lime); transform: scaleX(var(--p, 0)); transform-origin: left; pointer-events: none; }
.site-header, .header, .topbar { transition: box-shadow .3s, border-color .3s; }
.site-header.is-scrolled, .header.is-scrolled, .topbar.is-scrolled { box-shadow: 0 8px 24px rgba(0, 0, 0, .22); }
@media (prefers-reduced-motion: no-preference) {
  :root { interpolate-size: allow-keywords; }
  .hero-art { perspective: 900px; }
  .hd-browser { transform: rotateY(var(--ry, 0deg)) rotateX(var(--rx, 0deg)); transition: transform .35s ease-out; }
  .text-link { text-underline-offset: 5px; transition: text-underline-offset .25s, color .2s; }
  .text-link:hover { text-underline-offset: 9px; }
  details::details-content { block-size: 0; overflow: clip; transition: block-size .35s ease, content-visibility .35s allow-discrete; }
  details[open]::details-content { block-size: auto; }
  .motion main.container [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
  .motion main.container [data-reveal].is-in { opacity: 1; transform: none; }
}

/* Demos: gleiche Schrift und Akzentfarbe wie die übrige Website */
:root.always-dark :is(h1, h2) { font-family: var(--font-display); font-weight: 400; letter-spacing: -.02em; }
:root.always-dark .intro h1 { font-weight: 380; letter-spacing: -.035em; }
:root.always-dark .topbar { transition: box-shadow .3s; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; }
.breadcrumbs a { text-underline-offset: 4px; }

.status-line { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 8px 16px; border: 1px solid var(--frame-line, var(--hair)); border-radius: 99px; font-size: .9375rem; color: var(--ink); }
.status-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--lime, #bcf36a); flex: none; }
@media (prefers-reduced-motion: no-preference) { .status-dot { animation: status-pulse 2.4s ease-in-out infinite; } @keyframes status-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(188, 243, 106, .5); } 50% { box-shadow: 0 0 0 7px rgba(188, 243, 106, 0); } } }

:root:not(.always-dark) main .products-gallery { background: var(--frame-bg); border: 1px solid var(--frame-line); border-radius: var(--frame-radius) !important; padding: var(--frame-pad); margin: 0 0 var(--page-gap); box-sizing: border-box; overflow: clip; }
.products-gallery h2 { margin: 6px 0 24px; font-size: clamp(1.8rem, 3.2vw, 2.6rem); line-height: 1.05; }
.products-gallery > .note { margin-top: 24px; font-size: .9375rem; color: var(--muted); background: transparent !important; border: 0 !important; padding: 0 !important; }

/* Beispielseite eigene App */
:root:not(.always-dark) main .app-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 48px; align-items: center; background: var(--frame-bg); border: 1px solid var(--frame-line); border-radius: var(--frame-radius) !important; padding: var(--frame-pad); margin: 0 0 var(--page-gap); box-sizing: border-box; }
.app-title { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.app-title img { width: 56px; height: 56px; border-radius: 14px; }
.app-title p { font-weight: 600; line-height: 1.3; }
.app-title small { display: block; font-size: .875rem; font-weight: 400; color: var(--muted); }
.app-copy h2 { margin: 0 0 12px; font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.05; }
.app-copy p, .app-copy li { color: var(--soft); }
.app-copy ul { margin: 16px 0 0; padding-left: 1.2em; display: grid; gap: 6px; }
.app-phones { display: flex; justify-content: center; gap: 18px; padding: 32px 18px; background: #2a2440; border-radius: 16px; }
:root[data-mode="light"] .app-phones { background: #dcd2f0; }
.app-phones img, .app-gallery img { display: block; width: 100%; height: auto; border: 4px solid #322b40; border-radius: 22px; box-sizing: border-box; }
.app-phones img { max-width: 230px; min-width: 0; }
.app-phones img + img { margin-top: 36px; align-self: flex-start; }
.app-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.app-gallery figure { margin: 0; display: grid; gap: 12px; align-content: start; }
.app-gallery figcaption { display: grid; gap: 2px; }
.app-gallery figcaption span { color: var(--soft); font-size: .9375rem; }
.app-steps { list-style: none; margin: 18px 0 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 32px; }
.app-steps li { counter-increment: step; border-top: 1px solid var(--hair); padding-top: 14px; }
.app-steps h3 { margin: 0 0 6px; font-family: var(--font-display); font-weight: 450; font-size: 1.25rem; }
.app-steps h3::before { content: counter(step) "\2002"; color: var(--link); }
@media (max-width: 860px) {
  :root:not(.always-dark) main .app-feature { grid-template-columns: 1fr; }
  .app-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
}
