/* Glanz: Showcase-Ebene über NeonPulse (Startseite, Projekte).
   Baut auf den Tokens aus neonpulse.css auf; Kopf und Fuß kommen weiter aus styles.css. */

:root {
    --gl-max: 1240px;
    --gl-radius: 22px;
    --gl-glass: rgba(18, 18, 31, .58);
    --gl-glass-line: rgba(255, 255, 255, .09);
    --gl-ease: cubic-bezier(.2, .7, .1, 1);
    --gl-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--gl-glass-line);
    --gl-glow-blue: rgba(45, 123, 255, .35);
    --gl-glow-cyan: rgba(0, 229, 255, .25);
}

/* Farben, Verläufe und Buttons wie auf der Live-Seite:
   Seitenhintergrund --color-bg-page, Verlaufstext --grad-pulse (wie .hl), Buttons sind die Live-Klassen .btn aus styles.css. */
.gl-page { background: var(--color-bg-page); color: var(--fg-1); overflow-x: clip; }
.gl-wrap { width: 100%; max-width: var(--gl-max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .gl-wrap { padding: 0 16px; } }

/* ---------- Typo ---------- */
.gl-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font: var(--mono-label); letter-spacing: var(--tracking-label); text-transform: uppercase;
    color: var(--neon-cyan);
}
.gl-eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: .7; }
.gl-h2 {
    font-family: var(--font-display); font-weight: 700; letter-spacing: -.025em;
    font-size: clamp(34px, 5.2vw, 64px); line-height: 1.02; margin: 18px 0 0; text-wrap: balance;
}
.gl-lead { font: var(--body-lg); color: var(--fg-2); max-width: 640px; margin: 20px 0 0; text-wrap: pretty; }
.gl-grad {
    background: var(--grad-pulse);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.gl-head { margin-bottom: clamp(36px, 5vw, 64px); }
.gl-head--center { text-align: center; }
.gl-head--center .gl-lead { margin-left: auto; margin-right: auto; }

.gl-section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.gl-section--tight { padding-top: clamp(40px, 5vw, 70px); }

/* ---------- Hero ---------- */
.gl-hero {
    position: relative; min-height: min(100svh, 980px); display: flex; align-items: center;
    padding: 120px 0 90px; isolation: isolate; overflow: hidden;
}
.gl-nebula {
    position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: block;
    opacity: 0; transition: opacity 1.6s ease;
}
.gl-nebula.is-ready { opacity: .5; }   /* Nebel 50 % schwächer */
.gl-nebula--fallback, .gl-hero::before {
    background:
        radial-gradient(60% 50% at 70% 40%, rgba(45, 123, 255, .28), transparent 70%),
        radial-gradient(40% 40% at 25% 70%, rgba(124, 77, 255, .12), transparent 70%),
        var(--color-bg-page);
}
.gl-nebula--fallback { opacity: .5; }
.gl-hero::after { /* feines Raster, das nach unten ausläuft */
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(80% 60% at 50% 35%, #000 30%, transparent 75%);
    mask-image: radial-gradient(80% 60% at 50% 35%, #000 30%, transparent 75%);
}
.gl-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 40px; align-items: center; }
.gl-hero__title {
    font-family: var(--font-display); font-weight: 700; letter-spacing: -.035em;
    font-size: clamp(44px, 7.4vw, 104px); line-height: .96; margin: 22px 0 0; text-wrap: balance;
}
/* Titel zeilenweise einblenden (glanz.js 1b): jede sichtbare Zeile weich von unten, ohne Maske. Bis die Zeilen gemessen sind, bleibt der Titel unsichtbar (von Anfang an, kein Aufblitzen). */
.gl-hero__title .gl-line { display: block; padding-bottom: .06em; }
.gl-hero__title .gl-zeile { display: block; }
.gl-hero__title:not(.is-zeilen) { visibility: hidden; animation: gl-sichtbar 0s 2s forwards; }   /* ohne Skript nach 2 s sichtbar */
@keyframes gl-sichtbar { to { visibility: visible; } }
.gl-hero__title.is-zeilen .gl-zeile { animation: gl-zeile .9s var(--gl-ease) both; animation-delay: calc(var(--z, 0) * .11s + .1s); }
.gl-hero__title .gl-zeile.ohne-anim { animation: none; }
@keyframes gl-zeile { from { opacity: 0; transform: translateY(.3em); } to { opacity: 1; transform: none; } }
.gl-hero__lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--fg-2); max-width: 560px; margin: 26px 0 0; animation: gl-fade 1s .6s var(--gl-ease) both; }
.gl-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; animation: gl-fade 1s .75s var(--gl-ease) both; }
@keyframes gl-fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Etikett über dem Titel wie .r-chip--live der Live-Seite */
.gl-live {
    display: inline-flex; align-items: center; gap: var(--s-2); padding: 6px 12px; border-radius: var(--r-full);
    background: var(--info-fill); border: 1px solid var(--line-glow);
    font: var(--mono-label); letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2);
    animation: gl-fade .9s .05s var(--gl-ease) both;
}
.gl-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--neon-magenta); box-shadow: 0 0 8px var(--neon-magenta); }

/* Umlaufbahn */
/* Flacher Ring in 3D um die Kugel (glanz.js 2): Bahn rx/ry als Anteil von Breite/Höhe, Obergrenze der Kachel in px */
.gl-orbit { position: relative; aspect-ratio: 1 / .72; width: 100%; animation: gl-fade 1.4s .4s var(--gl-ease) both;
    --gl-orbit-rx: .44; --gl-orbit-ry: .34; --gl-orbit-max: 80; }
.gl-orbit__core {
    position: absolute; left: 50%; top: 50%; width: 30%; aspect-ratio: 1; transform: translate(-50%, -50%);
    border-radius: 50%; display: grid; place-items: center;
    background: radial-gradient(circle at 35% 30%, rgba(120, 170, 255, .35), rgba(12, 12, 22, .9) 62%), var(--color-bg-page);   /* deckend: der Ring dahinter verschwindet */
    box-shadow: 0 0 120px 10px rgba(45, 123, 255, .25), inset 0 0 0 1px rgba(255,255,255,.1), inset 0 -20px 60px rgba(0, 229, 255, .12);
    z-index: 50;
}
.gl-orbit__core img { width: 62%; height: auto; filter: drop-shadow(0 0 18px rgba(0, 229, 255, .45)); }
.gl-orbit__ring { position: absolute; left: 4%; right: 4%; top: 20%; bottom: 20%; border-radius: 50%; border: 1px solid rgba(255,255,255,.07); pointer-events: none; }
.gl-orbit__ring--2 { left: 20%; right: 20%; top: 36%; bottom: 36%; border-color: rgba(0, 229, 255, .14); }
/* vorderer Bogen des inneren Rings vor der Kugel (Kugel 50, vordere Kacheln bis 100); hinterer Bogen bleibt hinter der deckenden Kugel */
.gl-orbit__ring--vorn { z-index: 60; clip-path: inset(50% 0 0 0); }
.gl-orbit__item {
    position: absolute; left: 50%; top: 50%; width: clamp(56px, 7vw, 92px); aspect-ratio: 1; border-radius: 24%;
    overflow: hidden; box-shadow: 0 18px 40px -10px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.12);
    background: var(--bg-2); will-change: transform; transition: box-shadow .3s;
}
.gl-orbit__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gl-orbit__item--word { display: grid; place-items: center; font: 700 13px/1.1 var(--font-display); text-align: center; padding: 6px; color: var(--fg-1); background: linear-gradient(160deg, #1d2a4a, #10101c); }
.gl-orbit__item:hover { box-shadow: 0 0 0 2px var(--neon-cyan), 0 18px 50px -6px rgba(0, 229, 255, .45); }

/* Kennzahlen */
.gl-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin-top: 70px; border-radius: 18px; overflow: hidden; background: var(--gl-glass-line); animation: gl-fade 1s .95s var(--gl-ease) both; }
.gl-stat { padding: 22px 24px; background: rgba(10, 10, 20, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.gl-stat b { display: block; font: 700 clamp(30px, 3.4vw, 44px)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.gl-stat span { display: block; margin-top: 8px; font-size: 14px; color: var(--fg-2); }

/* ---------- Laufband ---------- */
.gl-marquee { position: relative; padding: 26px 0; border-block: 1px solid var(--line-1); background: rgba(255,255,255,.012); overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.gl-marquee__track { display: flex; gap: 56px; width: max-content; animation: gl-marq 48s linear infinite; }
.gl-marquee:hover .gl-marquee__track { animation-play-state: paused; }
.gl-marquee__item { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font: 600 19px/1 var(--font-display); color: var(--fg-2); letter-spacing: -.01em; }
.gl-marquee__item img { width: 28px; height: 28px; border-radius: 8px; object-fit: cover; }
.gl-marquee__item small { font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
@keyframes gl-marq { to { transform: translateX(-50%); } }

/* ---------- Karten (Glas, Neigung, Lichtkante) ---------- */
.gl-card {
    --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 50%;
    position: relative; border-radius: var(--gl-radius); background: var(--gl-glass); overflow: hidden;
    box-shadow: var(--gl-shadow); isolation: isolate; color: inherit; text-decoration: none; display: flex; flex-direction: column;
    transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
    transition: transform .6s var(--gl-ease), box-shadow .4s var(--gl-ease);
}
.gl-card.is-lit { transition: transform .12s linear, box-shadow .4s var(--gl-ease); }
.gl-card::before { /* Lichtkante, folgt dem Zeiger */
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 3; pointer-events: none;
    background: radial-gradient(420px circle at var(--mx) var(--my), rgba(0, 229, 255, .55), rgba(45, 123, 255, .18) 40%, transparent 70%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: 0; transition: opacity .4s;
}
.gl-card::after { /* Glanz auf der Fläche */
    content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
    background: radial-gradient(600px circle at var(--mx) var(--my), rgba(255,255,255,.07), transparent 45%);
    opacity: 0; transition: opacity .4s;
}
.gl-card.is-lit::before, .gl-card.is-lit::after, .gl-card:focus-visible::before { opacity: 1; }
a.gl-card:hover { box-shadow: 0 40px 90px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.14), 0 0 60px -20px var(--gl-glow-blue); }
a.gl-card:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 4px; }

.gl-card__media { position: relative; overflow: hidden; background: #0a0a14; }
.gl-card__media img, .gl-card__media video { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--gl-ease); }
a.gl-card:hover .gl-card__media > img, a.gl-card:hover .gl-card__media > video { transform: scale(1.045); }
.gl-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(10, 10, 20, .92)); pointer-events: none; }
.gl-card__body { position: relative; z-index: 1; padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.gl-card__over { margin-top: -64px; }
.gl-card__title { font: 700 clamp(22px, 2.1vw, 28px)/1.12 var(--font-display); letter-spacing: -.02em; margin: 0; }
.gl-card__text { font-size: 15px; line-height: 1.6; color: var(--fg-2); margin: 0; }
.gl-card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.gl-card__go { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 8px; font: 600 14px/1 var(--font-display); color: var(--neon-cyan); }
.gl-card__go svg { width: 16px; height: 16px; transition: transform .35s var(--gl-ease); }
a.gl-card:hover .gl-card__go svg { transform: translateX(4px); }

/* Status */
.gl-badge {
    display: inline-flex; align-items: center; gap: 7px; height: 24px; padding: 0 10px; border-radius: 999px;
    font: 500 10.5px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
    background: rgba(255,255,255,.06); color: var(--fg-2); box-shadow: inset 0 0 0 1px var(--line-2);
}
.gl-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.gl-badge--live { color: #8ff5cf; background: rgba(24, 240, 160, .1); box-shadow: inset 0 0 0 1px rgba(24, 240, 160, .28); }
.gl-badge--store { color: #9cc6ff; background: rgba(45, 123, 255, .12); box-shadow: inset 0 0 0 1px rgba(45, 123, 255, .35); }
.gl-badge--soon { color: #ffe08a; background: rgba(255, 207, 58, .09); box-shadow: inset 0 0 0 1px rgba(255, 207, 58, .25); }
.gl-badge--dev { color: #d3c4ff; background: rgba(124, 77, 255, .12); box-shadow: inset 0 0 0 1px rgba(124, 77, 255, .3); }
.gl-tag { font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-3); }

/* ---------- Bento ---------- */
.gl-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; grid-auto-flow: dense; }
.gl-bento > * { grid-column: span 4; }
.gl-bento > .gl-span-8 { grid-column: span 8; }
.gl-bento > .gl-span-6 { grid-column: span 6; }
.gl-bento > .gl-span-12 { grid-column: span 12; }
.gl-bento > .gl-row-2 { grid-row: span 2; }
@media (max-width: 1020px) {
    .gl-bento > *, .gl-bento > .gl-span-8, .gl-bento > .gl-span-6 { grid-column: span 6; }
    .gl-bento > .gl-span-12, .gl-bento > .gl-wide-md { grid-column: span 12; }
    .gl-bento > .gl-row-2 { grid-row: auto; }
}
@media (max-width: 680px) { .gl-bento { gap: 16px; } .gl-bento > * { grid-column: 1 / -1 !important; } }

/* Großkarte mit Bild über die ganze Fläche */
.gl-card--hero { min-height: 560px; justify-content: flex-end; }
.gl-card--hero .gl-card__media { position: absolute; inset: 0; }
.gl-card--hero .gl-card__media::after { background: linear-gradient(180deg, rgba(7,7,13,0) 30%, rgba(7,7,13,.55) 60%, rgba(7,7,13,.96)); }
.gl-card--hero .gl-card__body { padding: 36px; }
.gl-card--hero .gl-card__title { font-size: clamp(30px, 3.6vw, 48px); }
.gl-card--hero .gl-card__text { max-width: 560px; font-size: 16px; }
@media (max-width: 680px) { .gl-card--hero { min-height: 480px; } .gl-card--hero .gl-card__body { padding: 24px; } }

/* ---------- Gerätrahmen ---------- */
.gl-browser { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.1); }
.gl-browser__bar { height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 10px; background: #1b1c2b; }
.gl-browser__bar i { width: 8px; height: 8px; border-radius: 50%; background: #3a3c55; }
.gl-browser__bar span { margin-left: 10px; flex: 1; height: 15px; border-radius: 6px; background: #111220; font: 500 9.5px/15px var(--font-mono); color: #8a8fb3; padding: 0 8px; overflow: hidden; white-space: nowrap; }
.gl-browser img { display: block; width: 100%; height: auto; }

.gl-phone {
    position: relative; aspect-ratio: 9 / 19.3; border-radius: 15% / 7%; padding: 3.2%; background: linear-gradient(145deg, #3a3d52, #14151f 40%, #2a2c3c);
    box-shadow: 0 40px 70px -24px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.14);
}
.gl-phone > img, .gl-phone > video { width: 100%; height: 100%; object-fit: cover; border-radius: 12.5% / 5.8%; display: block; background: #000; }
.gl-phone::after { content: ""; position: absolute; left: 50%; top: 4.6%; width: 30%; height: 3.2%; transform: translateX(-50%); border-radius: 999px; background: #05050a; }

/* Stapel aus Browserfenstern (Datenportale) */
.gl-stack { position: relative; height: 100%; min-height: 330px; perspective: 1400px; }
.gl-stack .gl-browser { position: absolute; width: 74%; transition: transform .9s var(--gl-ease); }
.gl-stack .gl-browser:nth-child(1) { left: 2%; top: 14%; transform: rotateY(14deg) rotateX(4deg) translateZ(-60px); }
.gl-stack .gl-browser:nth-child(2) { left: 13%; top: 7%; transform: rotateY(10deg) rotateX(3deg) translateZ(-20px); }
.gl-stack .gl-browser:nth-child(3) { left: 24%; top: 0; transform: rotateY(6deg) rotateX(2deg) translateZ(20px); }
a.gl-card:hover .gl-stack .gl-browser:nth-child(1) { transform: rotateY(18deg) rotateX(4deg) translate3d(-6%, 4%, -60px); }
a.gl-card:hover .gl-stack .gl-browser:nth-child(3) { transform: rotateY(3deg) rotateX(1deg) translate3d(5%, -3%, 40px); }

/* Fächer aus Handys (Apps) */
.gl-fan { position: relative; height: 100%; min-height: 360px; display: flex; justify-content: center; align-items: flex-end; padding-top: 30px; }
.gl-fan .gl-phone { position: absolute; bottom: -12%; width: 34%; transition: transform .9s var(--gl-ease); }
.gl-fan .gl-phone:nth-child(1) { transform: translateX(-62%) rotate(-9deg); }
.gl-fan .gl-phone:nth-child(2) { transform: translateY(-6%); z-index: 2; }
.gl-fan .gl-phone:nth-child(3) { transform: translateX(62%) rotate(9deg); }
a.gl-card:hover .gl-fan .gl-phone:nth-child(1) { transform: translateX(-74%) rotate(-13deg) translateY(-3%); }
a.gl-card:hover .gl-fan .gl-phone:nth-child(2) { transform: translateY(-11%); }
a.gl-card:hover .gl-fan .gl-phone:nth-child(3) { transform: translateX(74%) rotate(13deg) translateY(-3%); }

/* ---------- Baum-Diagramm ---------- */
.gl-tree { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.gl-tree__svg { width: 100%; height: auto; overflow: visible; }
.gl-tree__svg .ln { fill: none; stroke: rgba(130, 160, 255, .22); stroke-width: 1.2; }
.gl-tree__svg .pulse { fill: none; stroke: url(#gl-pulse); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 26 400; animation: gl-dash 3.6s linear infinite; animation-delay: var(--d, 0s); }
@keyframes gl-dash { from { stroke-dashoffset: 426; } to { stroke-dashoffset: 0; } }
.gl-tree__svg .node rect { fill: rgba(18, 18, 31, .92); stroke: rgba(255,255,255,.12); }
.gl-tree__svg .node--root rect { fill: url(#gl-rootfill); stroke: rgba(0, 229, 255, .55); }
.gl-tree__svg .node text { fill: var(--fg-1); font: 600 15px var(--font-display); }
.gl-tree__svg .node .sub { fill: var(--fg-3); font: 500 10px var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.gl-tree__svg .dot { fill: var(--neon-cyan); }
.gl-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 30px; }
.gl-role { padding: 18px 18px 16px; border-radius: 16px; background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px var(--line-1); }
.gl-role b { display: block; font: 600 16px/1.25 var(--font-display); }
.gl-role span { display: block; margin-top: 6px; font-size: 14px; line-height: 1.5; color: var(--fg-2); }
@media (max-width: 960px) { .gl-tree { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { .gl-roles { grid-template-columns: 1fr; } }

/* ---------- Spotlight-Sektion ---------- */
.gl-spot { --sx: 50%; --sy: 30%; }
.gl-spot::before { content: ""; position: absolute; inset: 0; pointer-events: none; z-index: -1;
    background: radial-gradient(700px circle at var(--sx) var(--sy), rgba(45, 123, 255, .09), transparent 60%); }

/* ---------- Leistungen ---------- */
.gl-offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gl-offer { padding: 32px 28px; }
.gl-offer__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(140deg, rgba(45,123,255,.25), rgba(0,229,255,.08)); box-shadow: inset 0 0 0 1px rgba(0,229,255,.25); color: var(--neon-cyan); }
.gl-offer__icon svg { width: 24px; height: 24px; }
.gl-offer .gl-tag { margin-top: 22px; display: block; }
.gl-offer h3 { font: 700 24px/1.15 var(--font-display); letter-spacing: -.02em; margin: 10px 0 8px; }
.gl-offer p { margin: 0; color: var(--fg-2); font-size: 15px; line-height: 1.6; }
.gl-offer--feat { background: linear-gradient(160deg, rgba(45,123,255,.18), rgba(18,18,31,.7) 55%); }
@media (max-width: 900px) { .gl-offers { grid-template-columns: 1fr; } }

/* Kundenarbeit: schlanke Liste */
.gl-cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gl-case { padding: 28px; }
.gl-case h3 { font: 600 19px/1.3 var(--font-display); margin: 12px 0 10px; letter-spacing: -.01em; }
.gl-case p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--fg-2); }
.gl-case p + p { margin-top: 8px; color: var(--fg-1); }
@media (max-width: 900px) { .gl-cases { grid-template-columns: 1fr; } }

/* Person */
.gl-person { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: center; padding: 34px; }
.gl-person img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 16px; box-shadow: 0 0 0 1px rgba(255,255,255,.1); }
.gl-person blockquote { margin: 0; font: 600 clamp(22px, 2.4vw, 30px)/1.3 var(--font-display); letter-spacing: -.015em; text-wrap: balance; }
.gl-person p { color: var(--fg-2); margin: 16px 0 0; }
.gl-person a { color: var(--neon-cyan); }
@media (max-width: 720px) { .gl-person { grid-template-columns: 1fr; gap: 22px; padding: 22px; } .gl-person img { max-width: 220px; } }

/* Abschluss */
.gl-close { position: relative; text-align: center; padding: clamp(60px, 8vw, 110px) 24px; border-radius: 32px; overflow: hidden; isolation: isolate;
    background: radial-gradient(80% 120% at 50% 0%, rgba(45, 123, 255, .3), transparent 60%), radial-gradient(60% 80% at 80% 100%, rgba(124, 77, 255, .22), transparent 60%), #0b0b17;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.gl-close .gl-h2 { font-size: clamp(36px, 6vw, 76px); }
.gl-close .gl-lead { margin-left: auto; margin-right: auto; }
.gl-close__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.gl-close__contact { margin-top: 26px; display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; color: var(--fg-3); }
.gl-close__contact a { color: var(--fg-2); text-decoration: none; }
.gl-close__contact a:hover { color: var(--fg-1); }

/* ---------- Projektseite: Filter ---------- */
.gl-filter { position: sticky; top: 76px; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 8px; margin-bottom: 34px;
    border-radius: 16px; background: rgba(10, 10, 20, .7); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); box-shadow: inset 0 0 0 1px var(--line-1); width: fit-content; max-width: 100%; }
.gl-filter button { height: 38px; padding: 0 16px; border-radius: 11px; border: 0; background: transparent; color: var(--fg-2); font: 600 14px/1 var(--font-display); cursor: pointer; transition: background .25s, color .25s; }
.gl-filter button:hover { color: var(--fg-1); background: rgba(255,255,255,.05); }
.gl-filter button[aria-pressed="true"] { color: var(--color-text-on-accent); background: var(--grad-pulse); }
.gl-filter button:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 2px; }
.gl-filter output { padding: 0 12px; font: 500 12px/1 var(--font-mono); color: var(--fg-3); letter-spacing: .08em; }
.gl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gl-grid .gl-card__media { aspect-ratio: 16 / 10; }
.gl-grid [hidden] { display: none !important; }
@media (max-width: 1020px) { .gl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .gl-grid { grid-template-columns: 1fr; } .gl-filter { top: 64px; } }

/* Medienfläche nur mit Icon: großes Icon vor seinem eigenen, weichgezeichneten Abbild */
.gl-media-icon { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; }
.gl-media-icon__bg { position: absolute; inset: -30%; width: 160%; height: 160%; object-fit: cover; filter: blur(40px) saturate(1.5) brightness(.55); transform: scale(1.1); }
.gl-media-icon__fg { position: relative; width: 34%; max-width: 150px; aspect-ratio: 1; border-radius: 23%; box-shadow: 0 26px 50px -14px rgba(0,0,0,.85), 0 0 0 1px rgba(255,255,255,.16); transition: transform 1s var(--gl-ease); }
a.gl-card:hover .gl-media-icon__fg { transform: translateY(-6px) scale(1.04); }
.gl-media-icon--wide .gl-media-icon__fg { width: 72%; max-width: none; aspect-ratio: auto; border-radius: 0; box-shadow: none; filter: drop-shadow(0 18px 30px rgba(0,0,0,.7)); }
.gl-media-word { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(70% 90% at 30% 20%, rgba(255, 98, 72, .55), transparent 60%), radial-gradient(70% 90% at 80% 90%, rgba(0, 200, 160, .45), transparent 60%), radial-gradient(60% 60% at 70% 20%, rgba(255, 207, 58, .4), transparent 60%), #141226; }
.gl-media-word span { font: 700 clamp(46px, 6vw, 72px)/1 var(--font-display); letter-spacing: -.04em; color: #fff; text-shadow: 0 10px 40px rgba(0,0,0,.45); }
/* Medienfläche mit Handy in der Mitte */
.gl-media-phone { position: absolute; inset: 0; display: flex; justify-content: center; align-items: flex-start; padding-top: 7%; background: radial-gradient(70% 80% at 50% 10%, var(--tint, rgba(45,123,255,.35)), transparent 70%), #0b0b16; }
.gl-media-phone .gl-phone { width: 36%; transition: transform 1s var(--gl-ease); }
a.gl-card:hover .gl-media-phone .gl-phone { transform: translateY(-8px); }
.gl-card__media .gl-browser { position: absolute; left: 7%; right: 7%; top: 9%; transition: transform 1s var(--gl-ease); }
.gl-card__media--shot { background: radial-gradient(80% 90% at 50% 0%, var(--tint, rgba(45,123,255,.35)), transparent 70%), #0b0b16; }
a.gl-card:hover .gl-card__media .gl-browser { transform: translateY(-6px); }
.gl-card__media .gl-media-icon__bg { width: 160%; height: 160%; }
.gl-card__media .gl-media-icon__fg { width: 34%; height: auto; object-fit: contain; }
.gl-card__media .gl-media-icon--wide .gl-media-icon__fg { width: 76%; mix-blend-mode: screen; }
.gl-card__media .gl-browser img { height: auto; }
a.gl-card:hover .gl-card__media .gl-browser img, a.gl-card:hover .gl-card__media .gl-phone img, a.gl-card:hover .gl-card__media .gl-media-icon__bg { transform: none; }
.gl-card__media--contain { background: #121420; }
.gl-card__media--contain img { object-fit: contain; }
.gl-card__media::after { z-index: 1; }
.gl-card--hero .gl-card__body { flex: 0 0 auto; }
.gl-card--hero .gl-card__media video { position: absolute; inset: 0; }

/* Langsamer Zoom auf Standbildern */
.gl-kenburns img { animation: gl-kb 26s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes gl-kb { from { transform: scale(1.02); } to { transform: scale(1.14) translate(-1.5%, 1%); } }

/* Karte „Nummer 21“ */
.gl-card--next { background: linear-gradient(150deg, rgba(45,123,255,.22), rgba(124,77,255,.12) 50%, rgba(18,18,31,.7)); box-shadow: inset 0 0 0 1px rgba(0,229,255,.25), var(--gl-shadow); min-height: 380px; }
.gl-card--next .gl-card__body { justify-content: flex-end; padding: 30px; }
.gl-next__num { position: absolute; top: 4px; right: 22px; font: 700 150px/1 var(--font-display); letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(0, 229, 255, .35); pointer-events: none; }

/* Apps-Karte: Handys unter dem Text, nicht darüber */
.gl-span-6 > .gl-card__body + .gl-fan { flex: 1; min-height: 330px; margin-top: 6px; }
.gl-fan .gl-phone { width: 30%; bottom: -26%; }

/* Aus home.css übernommen (dort an die alten r-Sektionen gekoppelt): Sprunglink, Fokus von main, Menüknöpfe, Kopfleiste oben ohne Schatten */
.skip-link { position: absolute; left: var(--s-4, 16px); top: -100px; z-index: var(--z-toast, 1000); padding: var(--s-3, 12px) var(--s-5, 20px);
    background: var(--color-accent, var(--neon-cyan)); color: var(--fg-on-neon); font: var(--body-sm); font-weight: 600; border-radius: var(--r-sm); transition: top 180ms; }
.skip-link:focus { top: var(--s-4, 16px); }
.main:focus { outline: none; }
.nav__toggle, .nav__close { padding: 0; font: inherit; color: inherit; -webkit-appearance: none; appearance: none; }
.gl-page .header:not(.scroll-header) { box-shadow: none; }

/* Apps-Karte auf dem Handy: weniger Leerraum über den Handys */
@media (max-width: 680px) {
    .gl-span-6 > .gl-card__body + .gl-fan { min-height: 250px; }
    .gl-fan .gl-phone { width: 36%; bottom: -34%; }
}

/* Fußzeile: styles.css legt .footer__nav nicht an (sonst in home.css) */
.gl-page .footer__nav { display: flex; flex-wrap: wrap; gap: var(--s-12, 48px); }

.gl-portals { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 460px; }
.gl-portals .gl-card__body { justify-content: center; padding: 40px; }
.gl-portals__list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gl-portals__list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; color: var(--fg-1); text-decoration: none; font: 600 15px/1.2 var(--font-display); background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line-1); transition: background .25s, box-shadow .25s; position: relative; z-index: 4; }
.gl-portals__list a:hover { background: rgba(255,255,255,.07); box-shadow: inset 0 0 0 1px rgba(0,229,255,.35); }
.gl-portals__list img { width: 24px; height: 24px; border-radius: 6px; }
.gl-portals__list small { display: block; font: 400 12px/1.3 var(--font-body); color: var(--fg-3); margin-top: 3px; }
.gl-portals .gl-stack { min-height: 380px; margin: 30px 30px 30px 0; }
@media (max-width: 900px) { .gl-portals { grid-template-columns: 1fr; } .gl-portals .gl-stack { margin: 0 20px 24px; min-height: 260px; } .gl-portals .gl-card__body { padding: 26px; } }
@media (max-width: 460px) { .gl-portals__list { grid-template-columns: 1fr; } }

.gl-pagehead { position: relative; padding: 150px 0 50px; isolation: isolate; overflow: hidden; }
.gl-pagehead .gl-nebula { -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.gl-pagehead h1 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.035em; font-size: clamp(44px, 7vw, 96px); line-height: .98; margin: 18px 0 0; }

/* ---------- Einblenden ---------- */
.gl-js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--gl-ease), transform 1.1s var(--gl-ease); transition-delay: calc(var(--d, 0) * 90ms); }
.gl-js [data-reveal].is-in { opacity: 1; transform: none; }
.gl-js .gl-card[data-reveal].is-in { transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); }

/* ---------- Responsiv Hero ---------- */
@media (max-width: 960px) {
    .gl-hero { min-height: auto; padding: 110px 0 60px; }
    .gl-hero__grid { grid-template-columns: 1fr; gap: 10px; }
    .gl-orbit { max-width: 520px; margin: 10px auto 0; aspect-ratio: 1 / .8; }
    .gl-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
}
@media (max-width: 520px) {
    .gl-stat { padding: 18px 16px; }
}

@media (prefers-reduced-motion: reduce) {
    .gl-hero__title .gl-zeile, .gl-hero__lead, .gl-hero__cta, .gl-live, .gl-orbit, .gl-stats { animation: none; }
    .gl-marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; gap: 22px 40px; }
    .gl-tree__svg .pulse { animation: none; stroke-dasharray: none; opacity: .5; }
    .gl-card, .gl-card__media img, .gl-stack .gl-browser, .gl-fan .gl-phone { transition: none; }
    .gl-kenburns img { animation: none; }
    /* Ohne Lauf keine zweite Hälfte der Schleife zeigen */
    .gl-marquee__item[aria-hidden="true"] { display: none; }
}

/* ---------- Feinschliff ---------- */
/* Abstände: weniger tote Fläche zwischen den Abschnitten */
.gl-section { padding: clamp(64px, 8vw, 110px) 0; }
.gl-section--tight { padding-top: clamp(40px, 4vw, 50px); }

/* Tags und Badges unter dem Bild statt auf hellen Screenshots, größer und heller */
.gl-tag { font-size: 12px; color: var(--fg-2); }
.gl-badge { font-size: 11.5px; height: 26px; }
.gl-card__media::after { background: linear-gradient(180deg, transparent 30%, rgba(10, 10, 20, .96)); }
.gl-card__over { margin-top: -18px; }
.gl-card--hero .gl-card__over, .gl-card--hero .gl-card__body { margin-top: 0; }

/* Flappy-Schriftzug steht links im Bild */
.gl-pos-left { object-position: 0% 50%; }

/* Überschrift der Projektseite ohne einzelnes Wort in Zeile 2 */
.gl-pagehead h1 { text-wrap: balance; max-width: 16ch; }

/* Umlaufbahn: kleinere Kacheln, dunkle Icons auf heller Glaskante */
.gl-orbit__item { width: var(--gl-orbit-tile, clamp(52px, 6.3vw, 84px)); box-shadow: 0 18px 40px -10px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.22), 0 0 24px -6px rgba(120, 170, 255, .35); }
.gl-orbit__item--dark { background: linear-gradient(160deg, rgba(150,180,255,.28), rgba(255,255,255,.06)); padding: 5px; }
.gl-orbit__item--dark img { border-radius: 18%; }
@media (max-width: 960px) {
    .gl-orbit { aspect-ratio: auto; height: min(300px, 70vw); max-width: 520px; --gl-orbit-ry: .31; --gl-orbit-max: 64; }
    .gl-orbit__core { width: 26%; }
}
/* Handy: erster Bildschirm wie live, nur Titel, Text, Knopf und unten die Vertrauenszeile, luftig auf genau eine Bildschirmhöhe; der Ring
   kommt beim Runterscrollen. Freier Platz verteilt sich gleich über dem Titel und über der Vertrauenszeile (margin-top: auto), wie live. */
@media (max-width: 520px) {
    .gl-hero { padding: 0 0 24px; }
    .gl-hero__grid > div:first-child { min-height: 100svh; display: flex; flex-direction: column; padding: 72px 0 20px; }
    /* Etikett wieder da, mit Titel, Text und Knopf als eine Gruppe mittig: der freie Platz liegt über dem Etikett */
    .gl-live { margin-top: auto; align-self: flex-start; }
    .gl-hero__title { margin-top: 16px; }
    .gl-hero__lead { font-size: 17px; margin-top: 24px; }
    .gl-hero__cta { margin-top: 24px; }
    .gl-hero__cta .btn--ghost { display: none; }
    /* Vertrauenszeile wie live: ruhige Textzeile, feine Linie darüber */
    .gl-hero .gl-chips { display: block; margin: auto 0 0; padding-top: 20px; border-top: 1px solid var(--line-1); font: 400 14px/1.55 var(--font-body, Sora, system-ui, sans-serif); color: var(--fg-3); animation: none; }
    .gl-hero .gl-chips li { display: inline; height: auto; padding: 0; background: none; box-shadow: none; font: inherit; letter-spacing: 0; text-transform: none; color: inherit; }
    .gl-hero .gl-chips li + li::before { content: " · "; }
    .gl-hero .gl-chips svg { display: none; }
    /* Ring mit Luft unter dem ersten Bildschirm */
    .gl-orbit { height: 290px; margin-top: 40px; --gl-orbit-rx: .37; --gl-orbit-ry: .33; --gl-orbit-max: 64; }
    .gl-orbit__core { width: 26%; }
    /* auf der flachen Bahn passen am Handy zehn Kacheln mit Luft; Projekte in Entwicklung oder Prüfung nur am Desktop */
    .gl-orbit__item--weit { display: none; }
    .gl-hero { padding-bottom: 24px; }
    .gl-hero + .gl-section { padding-top: 40px; }
}

/* Diagramm des KI-Teams: Text zuerst, auf dem Handy größere Schrift ohne Unterzeilen */
.gl-tree { align-items: start; }
.gl-tree > div:first-child { position: sticky; top: 110px; }
@media (max-width: 960px) {
    .gl-tree > div:first-child { order: 2; position: static; }
}
@media (max-width: 700px) {
    .gl-tree__svg .node text { font-size: 19px; }
    .gl-tree__svg .node .sub { display: none; }
    /* ohne Unterzeile rückt der Name in die Mitte des Kastens */
    .gl-tree__svg .node:has(.sub) text:first-of-type { transform: translateY(8px); }
    .gl-tree__svg .node:not(:has(.sub)) text { font-size: 18px; }
}

/* Filterleiste auf dem Handy: eine Zeile zum Wischen, 44 px hohe Tasten */
.gl-filter button { height: 44px; }
@media (max-width: 640px) {
    .gl-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; width: 100%; }
    .gl-filter::-webkit-scrollbar { display: none; }
    .gl-filter button { flex: 0 0 auto; }
    .gl-filter output { display: none; }
}

/* Tippflächen im Kontaktblock und am Profil */
.gl-close__contact a, .gl-person p a { display: inline-flex; align-items: center; min-height: 44px; }

/* ---------- Passgenaue Geräte und Kacheln ---------- */
/* Alle Icons sind randlose Quadrate (images/showcase/*-tile.webp); gerundet wird nur hier, überall gleich */
:root { --gl-icon-r: 22.5%; }
.gl-orbit__item, .gl-orbit__item img, .gl-media-icon__fg, .gl-marquee__item img, .gl-portals__list img { border-radius: var(--gl-icon-r); }
.gl-orbit__item { background: none; }
.gl-orbit__item--dark { background: none; padding: 0; }
.gl-card__media .gl-media-icon__fg { border-radius: var(--gl-icon-r); }

/* Handy: Gehäuse 0,4864, Bildschirm exakt 0,4634 wie die aufbereiteten Screens (*-screen.webp),
   Rand ringsum 4,4 % der Gehäusebreite, Bildschirmecken folgen den Gehäuseecken */
.gl-phone { aspect-ratio: 0.4864; padding: 0; border-radius: 15% / 7.3%;
    background: linear-gradient(145deg, #42465e, #16171f 40%, #2d2f40);
    box-shadow: 0 40px 70px -24px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.16), inset 0 0 0 2.5px rgba(0,0,0,.55); }
.gl-phone > img, .gl-phone > video, .gl-card__media .gl-phone > img {
    position: absolute; left: 4.4%; top: 2.14%; width: 91.2%; height: 95.72%;
    object-fit: cover; object-position: 50% 0; border-radius: 11.6% / 5.39%; transform: none; }
.gl-phone::after { top: 3.35%; width: 29%; height: 3.9%; z-index: 1; }

/* Fächer der Apps-Karte: drei ganze Handys, unten mit Luft statt angeschnitten */
.gl-span-6 > .gl-card__body + .gl-fan { flex: 1; min-height: 340px; margin-top: 0; padding: 0; }
.gl-fan .gl-phone { position: absolute; left: 50%; bottom: 26px; width: auto; height: 82%; max-height: 300px; transform-origin: 50% 100%; }
.gl-fan .gl-phone:nth-child(1) { transform: translateX(-120%) rotate(-8deg); }
.gl-fan .gl-phone:nth-child(2) { transform: translateX(-50%) translateY(-5%); z-index: 2; }
.gl-fan .gl-phone:nth-child(3) { transform: translateX(20%) rotate(8deg); }
a.gl-card:hover .gl-fan .gl-phone:nth-child(1) { transform: translateX(-130%) rotate(-11deg) translateY(-2%); }
a.gl-card:hover .gl-fan .gl-phone:nth-child(2) { transform: translateX(-50%) translateY(-9%); }
a.gl-card:hover .gl-fan .gl-phone:nth-child(3) { transform: translateX(30%) rotate(11deg) translateY(-2%); }
@media (max-width: 680px) {
    .gl-span-6 > .gl-card__body + .gl-fan { min-height: 270px; }
    .gl-fan .gl-phone { width: auto; bottom: 22px; }
}

/* Karten mit Gerät oder Icon: das Gerät steht ganz und mittig in der Fläche, nur ein schmaler Verlauf unten,
   der Text beginnt unter dem Bild */
.gl-card__media:has(.gl-browser, .gl-media-phone, .gl-media-icon)::after { background: linear-gradient(180deg, transparent 80%, rgba(10, 10, 20, .85)); }
.gl-card__media:has(.gl-browser, .gl-media-phone, .gl-media-icon) + .gl-card__over { margin-top: 0; }
.gl-card__media .gl-browser { left: 11.5%; right: 11.5%; top: 50%; transform: translateY(-50%); }
a.gl-card:hover .gl-card__media .gl-browser { transform: translateY(calc(-50% - 5px)); }
.gl-media-phone { align-items: center; padding: 0; }
.gl-media-phone .gl-phone { width: auto; height: 86%; }
a.gl-card:hover .gl-media-phone .gl-phone { transform: translateY(-5px); }
/* ---------- Einstiegsvisual Projekte: schräge Wand aus echten Screens (Startseite) ---------- */
.gl-wall { position: relative; min-height: clamp(560px, 60vw, 780px); overflow: hidden; isolation: isolate; display: grid; place-items: center; padding: 80px 0; }
.gl-wall__stage { position: absolute; left: -35%; right: -35%; top: 50%; height: 0; display: flex; flex-direction: column; justify-content: center; gap: 24px;
    transform: perspective(1700px) rotateX(24deg) rotateZ(-8deg); transform-origin: 50% 50%; z-index: -2; pointer-events: none; }
.gl-wall__row { display: flex; align-items: center; gap: 24px; width: max-content; will-change: transform; animation: gl-wall 120s linear infinite; }
.gl-wall__row:nth-child(2) { animation-direction: reverse; animation-duration: 140s; margin-left: -180px; }
.gl-wall__row:nth-child(3) { animation-duration: 130s; margin-left: -90px; }
.gl-wall.is-paused .gl-wall__row { animation-play-state: paused; }
@keyframes gl-wall { to { transform: translateX(-50%); } }
.gl-wall { --wh: clamp(132px, 14vw, 210px); }
.gl-wall__item { flex: 0 0 auto; height: var(--wh); border-radius: 14px; overflow: hidden; background: #0b0b16;
    box-shadow: 0 26px 50px -22px rgba(0,0,0,.95), 0 0 0 1px rgba(255,255,255,.1); }
.gl-wall__item > img { display: block; height: 100%; width: auto; }
.gl-wall .gl-browser { height: var(--wh); flex: 0 0 auto; border-radius: 12px; }
.gl-wall .gl-browser img { height: calc(100% - 26px); width: auto; }
.gl-wall .gl-phone { height: calc(var(--wh) * 1.18); flex: 0 0 auto; }
/* Abdunkeln zur Mitte und zu den Rändern, damit Text vorn ruhig lesbar bleibt */
.gl-wall::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background:
        radial-gradient(56% 58% at 50% 50%, rgba(12,12,22,.94) 0%, rgba(12,12,22,.8) 42%, rgba(12,12,22,.25) 78%, rgba(12,12,22,.05) 100%),
        linear-gradient(180deg, var(--color-bg-page) 0%, transparent 16%, transparent 84%, var(--color-bg-page) 100%),
        linear-gradient(90deg, var(--color-bg-page) 0%, transparent 12%, transparent 88%, var(--color-bg-page) 100%); }
.gl-wall__panel { position: relative; text-align: center; max-width: 820px; padding: 0 24px; }
.gl-wall__panel .gl-h2 { font-size: clamp(36px, 5.6vw, 72px); }
.gl-wall__panel .gl-lead { margin-left: auto; margin-right: auto; }
.gl-wall__stats { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 34px; margin: 30px 0 0; padding: 0; list-style: none; }
.gl-wall__stats li { text-align: center; }
.gl-wall__stats b { display: block; font: 700 clamp(28px, 3vw, 40px)/1 var(--font-display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.gl-wall__stats span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--fg-2); }
.gl-wall__cta { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
/* Handy: Wand als eigenes Band über dem Text, damit beides wirkt */
@media (max-width: 680px) {
    .gl-wall { --wh: 104px; display: block; min-height: 0; padding: 0 0 64px; }
    .gl-wall::before { display: none; }
    .gl-wall__stage { position: relative; left: -45%; right: auto; top: auto; width: 190%; height: 330px; gap: 14px;
        transform: perspective(1100px) rotateX(18deg) rotateZ(-9deg);
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 68%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 26%, #000 74%, transparent 100%);
        -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 68%, transparent 100%), linear-gradient(90deg, transparent 0%, #000 26%, #000 74%, transparent 100%); mask-composite: intersect; }
    .gl-wall__row { gap: 14px; }
    .gl-wall__panel { margin-top: -18px; }
    .gl-wall__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
}
@media (prefers-reduced-motion: reduce) { .gl-wall__row { animation: none; } }

/* Hervorhebung im Fließtext wie auf der bisherigen Startseite */
.gl-hl { background: var(--grad-pulse); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Längere Hero-Überschrift (bisherige Startseite) etwas kleiner setzen */
.gl-hero__title:has(.gl-line:nth-child(2):last-child) { font-size: clamp(42px, 6vw, 86px); }
/* Desktop: „Mit exzellenter UX.“ immer auf einer Zeile; bei den Schriftgrößen der Live-Seite passt sie in die Spalte */
@media (min-width: 1024px) {
    .gl-hero__title .gl-line:last-child { white-space: nowrap; }
}

/* Hero mit Umlaufbahn als Einstieg: Bildunterschrift unter dem Ring */
.gl-orbit-link { display: block; text-decoration: none; color: inherit; }
.gl-orbit-link:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 6px; border-radius: 24px; }
.gl-orbit__caption { display: flex; justify-content: center; align-items: center; gap: 8px; margin-top: 14px; font: 500 12px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-2); }
.gl-orbit__caption svg { width: 14px; height: 14px; transition: transform .35s var(--gl-ease); }
.gl-orbit-link:hover .gl-orbit__caption { color: var(--neon-cyan); }
.gl-orbit-link:hover .gl-orbit__caption svg { transform: translateX(4px); }

/* Hero-Chips (Erfahrung) wie auf der bisherigen Startseite */
.gl-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 34px 0 0; padding: 0; list-style: none; animation: gl-fade 1s .9s var(--gl-ease) both; }
.gl-chips li { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 12px; border-radius: 999px; font: 500 11.5px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line-2); }
.gl-chips svg { width: 14px; height: 14px; color: var(--neon-cyan); }

/* Problem: große, ruhige Frage */
.gl-problem { text-align: center; }
.gl-problem .gl-h2 { max-width: 900px; margin-left: auto; margin-right: auto; }
.gl-problem .gl-lead { margin-left: auto; margin-right: auto; }
.gl-problem__answer { margin: 22px auto 0; max-width: 640px; font: 600 clamp(18px, 1.6vw, 21px)/1.5 var(--font-display); color: var(--neon-cyan); }

/* Warum kudesi: Text und Person nebeneinander */
.gl-why { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.gl-why__list { display: grid; gap: 14px; margin-top: 30px; }
.gl-why__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: start; }
.gl-why__item .gl-offer__icon { width: 44px; height: 44px; border-radius: 12px; }
.gl-why__item h3 { font: 600 17px/1.3 var(--font-display); margin: 2px 0 4px; }
.gl-why__item p { margin: 0; font-size: 15px; color: var(--fg-2); line-height: 1.55; }
.gl-why__item a { color: var(--neon-cyan); }
@media (max-width: 900px) { .gl-why { grid-template-columns: 1fr; gap: 30px; } }
.gl-why .gl-person { grid-template-columns: 120px minmax(0, 1fr); gap: 22px; padding: 26px; align-items: center; }
.gl-why .gl-person blockquote { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.35; }
.gl-why .gl-person p { font-size: 15px; line-height: 1.55; }
@media (max-width: 420px) { .gl-why .gl-person { grid-template-columns: 1fr; } .gl-why .gl-person img { max-width: 160px; } }

/* Belege (Problem, Lösung, Ergebnis) */
.gl-proof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.gl-proof .gl-card { padding: 30px; }
.gl-proof h3 { font: 700 clamp(20px, 1.9vw, 24px)/1.25 var(--font-display); letter-spacing: -.015em; margin: 14px 0 18px; }
.gl-proof dl { margin: 0; display: grid; gap: 14px; }
.gl-proof dl > div { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; padding-top: 14px; border-top: 1px solid var(--line-1); }
.gl-proof dt { font: 500 11px/1.6 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fg-3); }
.gl-proof dd { margin: 0; font-size: 15px; line-height: 1.55; color: var(--fg-2); }
.gl-proof .is-result dt { color: var(--neon-cyan); }
.gl-proof .is-result dd { color: var(--fg-1); }
.gl-proof .gl-card__go { margin-top: 20px; }
@media (max-width: 900px) { .gl-proof { grid-template-columns: 1fr; } .gl-proof dl > div { grid-template-columns: 1fr; gap: 4px; } }

/* Zugang zu Quick Wins, Unterpunkte, großer erster Beleg, Satz unter dem Kontaktknopf */
.gl-problem__more { margin: 18px auto 0; font-size: 15px; color: var(--fg-2); }
.gl-problem__more a { color: var(--neon-cyan); text-decoration: none; border-bottom: 1px solid rgba(0,229,255,.35); }
.gl-problem__more a:hover { border-bottom-color: var(--neon-cyan); }
.gl-why__sub { list-style: none; margin: 12px 0 10px; padding: 0; display: grid; gap: 8px; }
.gl-why__sub li { position: relative; padding-left: 18px; font-size: 14.5px; line-height: 1.55; color: var(--fg-2); }
.gl-why__sub li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--neon-cyan); box-shadow: 0 0 10px rgba(0,229,255,.6); }
.gl-why__sub b { color: var(--fg-1); font-weight: 600; }
.gl-why__item p + p { margin-top: 6px; }
.gl-proof { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gl-proof dl > div { grid-template-columns: 1fr; gap: 4px; }
.gl-proof__main { grid-column: 1 / -1; background: linear-gradient(150deg, rgba(45,123,255,.16), rgba(18,18,31,.7) 55%); }
.gl-proof__main dl { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.gl-proof__main dl > div { grid-template-columns: 1fr; gap: 6px; }
.gl-proof__main h3 { font-size: clamp(24px, 2.6vw, 32px); }
@media (max-width: 900px) { .gl-proof, .gl-proof__main dl { grid-template-columns: 1fr; } }
.gl-close__note { margin: 22px auto 0; max-width: 560px; font-size: 15px; color: var(--fg-2); }

/* App-Icon vor dem Produktnamen (Projektseite), wie ein Store-Eintrag */
.gl-card__title:has(.gl-card__appicon) { display: flex; align-items: center; gap: 12px; }
.gl-card__appicon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: var(--gl-icon-r, 22.5%); box-shadow: 0 8px 18px -8px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.14); }

/* Ariadne: Bild ist auf 16:10 mit eigener Grundfarbe gebracht (ariadne-card.webp) */
.gl-card__media img[src*="ariadne-card"] { object-fit: cover; }

/* Startseite: Beispiele im Problemteil und Hinweis für Projektvermittler (Entwurf 04.11.2026, nur Variablen, keine eigenen Farben) */
.gl-problem .gl-eyebrow { margin-top: clamp(40px, 5vw, 64px); }
.gl-problem .gl-cases { margin-top: 24px; text-align: left; }
.gl-problem__more { margin-top: 36px; }
.gl-bridge { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; align-items: center; padding: 30px 34px; }
.gl-bridge h3 { font: 700 clamp(22px, 2.2vw, 28px)/1.2 var(--font-display); letter-spacing: -.02em; margin: 12px 0 8px; }
.gl-bridge p { margin: 0; max-width: 620px; font-size: 15px; line-height: 1.6; color: var(--fg-2); }
@media (max-width: 760px) { .gl-bridge { grid-template-columns: 1fr; padding: 24px 22px; } }
.gl-close__contact { align-items: center; }
.gl-case .gl-tag { line-height: 1.5; }

/* Unter 1024 px alles linksbündig wie die Live-Seite (dort schaltet home-desktop.css erst ab 1024 px auf zentriert); nur der Kontaktblock
   am Ende bleibt mittig wie live */
@media (max-width: 1023px) {
    .gl-head--center, .gl-problem, .gl-wall__panel { text-align: left; }
    .gl-head--center .gl-lead, .gl-problem .gl-h2, .gl-problem .gl-lead, .gl-wall__panel .gl-lead { margin-left: 0; margin-right: 0; }
    .gl-wall__stats, .gl-wall__cta, .gl-close__cta { justify-content: flex-start; }
    .gl-wall__stats li { text-align: left; }
    .gl-close .gl-close__cta { justify-content: center; }
}

/* Filterleiste wandert mit dem Kopf: Kopf sichtbar → knapp darunter,
   Kopf beim Runterscrollen ausgeblendet (main.js setzt .header--hidden) → ganz oben am Rand, gleiche Dauer und Kurve wie der Kopf */
/* Kopf ist 72 px hoch: die Leiste klebt direkt an seiner Unterkante, ohne Spalt */
.gl-filter { top: 72px; transition: top var(--dur) var(--ease-out), border-radius var(--dur); }
body:has(#header.header--hidden) .gl-filter { top: 0; }
.gl-filter.is-klebt { border-top-left-radius: 0; border-top-right-radius: 0; }

/* Schriftgrößen wie die Live-Seite. Live gemessen bei 1280 und 390 px: Titel 58/40, Hero-Einleitung 22/18, Abschnittstitel 42/26 (Kontakt 56/32),
   Kartentitel 22 und 18, Einleitungen 18, Fließtext 16, klein 14. Dazwischen gleitend. */
.gl-hero__title, .gl-hero__title:has(.gl-line:nth-child(2):last-child), .gl-pagehead h1 { font-size: clamp(40px, 4.53vw, 58px); line-height: 1.04; }
.gl-hero__lead { font-size: clamp(18px, 1.72vw, 22px); }
.gl-h2, .gl-wall__panel .gl-h2 { font-size: clamp(26px, 3.28vw, 42px); line-height: 1.12; }
.gl-close .gl-h2 { font-size: clamp(32px, 4.38vw, 56px); line-height: 1.08; }
.gl-card__title, .gl-offer h3, .gl-proof__main h3, .gl-card--hero .gl-card__title { font-size: 22px; }
.gl-case h3, .gl-why__item h3 { font-size: 18px; }
.gl-lead, .gl-why .gl-person blockquote { font-size: 18px; }
.gl-card__text, .gl-card--hero .gl-card__text, .gl-offer p, .gl-why__item p, .gl-proof dd, .gl-bridge p, .gl-why .gl-person p, .gl-problem__more, .gl-close__note { font-size: 16px; }
.gl-case p, .gl-why__sub li, .gl-role span { font-size: 14px; }
.gl-proof h3, .gl-bridge h3 { font-size: 22px; }
.gl-problem__answer { font-size: 18px; }

/* Desktop-Abstand zum Header wie live: live immer 99 px vom
   Header bis zum Etikett und 160 px bis zum Titel, unabhängig von der Fensterhöhe. Header 72 px + 99 px = 171 px Innenabstand oben. */
@media (min-width: 1024px) {
    .gl-hero { min-height: 0; align-items: flex-start; padding: 171px 0 90px; }
    .gl-hero__title { margin-top: 32px; }
}
@media (min-width: 1024px) { .gl-pagehead { padding-top: 171px; } }   /* Unterseiten wie live: erstes Element 99 px, Titel 145 px unter dem Header */

/* Desktop: klebt die Filterleiste, läuft ihr Glas über die ganze Breite wie der Header. Die Leiste selbst wird fensterbreit (negativer Rand), die Knöpfe bleiben per Innenabstand in der Inhaltsspalte.
   Kein Pseudo-Element: Safari wendet backdrop-filter dort nicht an (geprüft in WebKit). */
@media (min-width: 1024px) {
    .gl-filter.is-klebt {
        width: 100vw; max-width: none; margin-left: calc(50% - 50vw); padding-left: calc(50vw - 50% + 8px); padding-right: calc(50vw - 50% + 8px);
        border-radius: 0; box-shadow: inset 0 -1px 0 var(--line-1);
        background: color-mix(in srgb, var(--bg-1) 62%, transparent); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
    }
}

/* Vermittler-Pass unter dem Profil: Glaskarte mit umlaufender Verlaufskante (dreht langsam), weichem Schein und einem Glanzstreif,
   der beim Erscheinen einmal und beim Zeigen erneut über die Karte läuft. Ganze Karte ist der Link. */
@property --gl-pass-w { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.gl-why__seite { display: grid; gap: 16px; }
.gl-why__seite .gl-person { margin: 0; }   /* ohne Standardrand von <figure>, beide Karten gleich breit */
@media (min-width: 901px) { .gl-why__seite { padding: 0 40px; } }
.gl-pass { padding: 24px 26px; gap: 18px; background: linear-gradient(160deg, rgba(0, 229, 255, .07), rgba(45, 123, 255, .04) 45%, rgba(18, 18, 31, .62)), var(--gl-glass);
    box-shadow: var(--gl-shadow), 0 0 70px -30px var(--gl-glow-cyan); }
.gl-pass__rand { position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 1; pointer-events: none;
    background: conic-gradient(from var(--gl-pass-w), rgba(0, 229, 255, .75), rgba(45, 123, 255, .35) 25%, rgba(255, 45, 155, .55) 50%, rgba(45, 123, 255, .35) 75%, rgba(0, 229, 255, .75));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
    opacity: .55; animation: gl-pass-dreh 9s linear infinite; transition: opacity .4s; }
@keyframes gl-pass-dreh { to { --gl-pass-w: 360deg; } }
.gl-pass__glanz { position: absolute; inset: -20% -10%; z-index: 2; pointer-events: none; transform: translateX(-110%);
    background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .13) 48%, rgba(255, 255, 255, .03) 54%, transparent 62%); }
.gl-pass.is-in .gl-pass__glanz { animation: gl-pass-streif 1.6s .7s var(--gl-ease); }
.gl-pass:hover .gl-pass__glanz { transform: translateX(110%); transition: transform 1.1s var(--gl-ease); }
@keyframes gl-pass-streif { from { transform: translateX(-110%); } to { transform: translateX(110%); } }
.gl-pass:hover .gl-pass__rand, .gl-pass:focus-visible .gl-pass__rand { opacity: 1; }
.gl-pass > span:not(.gl-pass__rand):not(.gl-pass__glanz) { position: relative; z-index: 4; }
.gl-pass__kopf { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; align-items: center; }
.gl-pass__icon { width: 44px; height: 44px; border-radius: 12px; }
.gl-pass__kopf .gl-eyebrow { display: block; }
.gl-pass__titel { display: block; margin-top: 6px; font: 600 18px/1.3 var(--font-display); letter-spacing: -.01em; color: var(--fg-1); text-wrap: balance; }
.gl-pass__rollen { display: flex; flex-wrap: wrap; gap: 8px; }
.gl-pass__rollen span { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: 999px; font: 500 11px/1 var(--font-mono);
    letter-spacing: .08em; text-transform: uppercase; color: var(--fg-2); background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px var(--line-2); }
.gl-pass .gl-card__go { padding-top: 0; }
@media (max-width: 420px) { .gl-pass { padding: 22px; } .gl-pass__rollen span { height: auto; min-height: 30px; padding: 7px 11px; line-height: 1.3; } }
@media (prefers-reduced-motion: reduce) { .gl-pass__rand, .gl-pass.is-in .gl-pass__glanz { animation: none; } .gl-pass:hover .gl-pass__glanz { transition: none; } }

/* Wand: Browser-Rahmen genau so breit wie sein Bild (16:10 unter der 26-px-Leiste). Am Handy ist die Wand niedrig; die Adresszeile
   kürzt sich dann mit Auslassung, statt den Rahmen zu verbreitern (sonst stand rechts neben dem Bild eine weiße Fläche). */
.gl-wall .gl-browser { width: calc((var(--wh) - 26px) * 1.6); background: #0b0b16; }
.gl-wall .gl-browser img { width: 100%; height: calc(100% - 26px); object-fit: cover; object-position: top left; }
.gl-wall .gl-browser__bar span { min-width: 0; text-overflow: ellipsis; }

/* ===== Landingpage websites.html (nur Seiten mit body.ws-page) =====
   Kopf ohne Menü, Hero mit Reel im Handy, Pakete, Chat-Beispiel, Ablauf, Fragen. Nur vorhandene Variablen, Schriftgrößen wie oben (Titel 22/18, Text 16/14). */
.ws-page .nav__cta { display: inline-flex; align-items: center; min-height: 44px; }   /* Der Knopf bleibt auch am Handy sichtbar, es gibt kein Menü */
.ws-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 40px; align-items: start; }
.ws-page .ws-hero h1 { max-width: none; }
.ws-reel { display: flex; justify-content: center; animation: gl-fade 1.2s .3s var(--gl-ease) both; }
/* Gehäuse wie alle Handys der Seite (0,4864, Bildschirm 0,4634). Der Film ist 9:16 und damit breiter als der Bildschirm:
   ganz zeigen (contain) wie ein iPhone, das ein Video abspielt. Schwarze Ränder oben und unten, darin Statusleiste und Home-Balken */
.ws-reel .gl-phone { width: clamp(240px, 24vw, 300px); container-type: inline-size; }
.ws-reel .gl-phone > video { object-fit: contain; object-position: 50% 50%; background: #05050a; }
.ws-status { position: absolute; z-index: 3; left: 13%; right: 12%; top: 4%; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.ws-status b { font: 600 5.2cqw/1 var(--font-display); letter-spacing: -.01em; color: #fff; }
.ws-status i { position: relative; width: 8.4cqw; height: 4cqw; border-radius: 1.3cqw; box-shadow: inset 0 0 0 .45cqw rgba(255,255,255,.8); }
.ws-status i::before { content: ""; position: absolute; left: .9cqw; top: .9cqw; bottom: .9cqw; right: 2.4cqw; border-radius: .5cqw; background: #fff; }
.ws-status i::after { content: ""; position: absolute; right: -1.2cqw; top: 50%; width: .7cqw; height: 1.5cqw; transform: translateY(-50%); border-radius: 0 .5cqw .5cqw 0; background: rgba(255,255,255,.8); }
.ws-home { position: absolute; z-index: 3; left: 50%; bottom: 3.6%; width: 34%; height: 1.5cqw; transform: translateX(-50%); border-radius: 999px; background: rgba(255,255,255,.75); pointer-events: none; }
.ws-reel .gl-phone::before { content: ""; position: absolute; left: 4.4%; top: 2.14%; width: 91.2%; height: 95.72%; border-radius: 11.6% / 5.39%; z-index: 2; pointer-events: none;
    background: linear-gradient(118deg, rgba(255,255,255,.09) 0%, rgba(255,255,255,0) 34%); }   /* leichter Glanz auf dem Glas */

.ws-split { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.ws-split .gl-lead { max-width: 560px; }

.ws-can, .ws-chat { padding: 32px 28px; gap: 18px; }
.ws-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ws-list li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; color: var(--fg-2); }
.ws-list li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--neon-cyan); box-shadow: 0 0 8px var(--gl-glow-cyan); }
.ws-list--check li { color: var(--fg-1); }
.ws-list--check li::before { left: 3px; top: .35em; width: 12px; height: 7px; border-radius: 0; background: none; box-shadow: none;
    border-left: 2px solid var(--neon-cyan); border-bottom: 2px solid var(--neon-cyan); transform: rotate(-45deg); }

.ws-pakete { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ws-paket { padding: 28px 24px; gap: 12px; }
.ws-paket__preis { margin: 4px 0 2px; font: 700 26px/1.1 var(--font-display); letter-spacing: -.02em; }
.ws-paket .ws-list { margin-top: 10px; padding-top: 18px; border-top: 1px solid var(--line-1); }
.ws-paket .ws-list li { font-size: 14px; }
.ws-paket .ws-list li::before { top: .5em; }
.ws-paket .ws-pflicht { align-self: flex-start; margin-bottom: 2px; }
@media (max-width: 1100px) { .ws-pakete { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ws-pakete { grid-template-columns: 1fr; } }

.ws-chat { margin: 0; }
.ws-chat .gl-tag { display: block; }
.ws-chat__msg { margin: 0; max-width: 88%; padding: 14px 16px; border-radius: 18px; font-size: 16px; line-height: 1.5; }
.ws-chat__msg p { margin: 0; }
.ws-chat__msg--ich { align-self: flex-end; border-bottom-right-radius: 6px; background: var(--color-action-primary); color: var(--color-text-on-accent); }
.ws-chat__msg--antwort { align-self: flex-start; display: grid; gap: 12px; border-bottom-left-radius: 6px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--fg-1); }
.ws-chat__karte { display: grid; gap: 6px; padding: 14px; border-radius: 14px; background: rgba(10, 10, 20, .6); box-shadow: inset 0 0 0 1px var(--line-1); }
.ws-chat__karte b { font: 600 16px/1.25 var(--font-display); }
.ws-chat__karte span { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--fg-2); }
.ws-chat__karte i { font-style: normal; color: var(--fg-1); }
.ws-chat__knopf { justify-self: start; display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border-radius: var(--r-md); background: var(--color-action-primary); color: var(--color-text-on-accent); font: 600 14px/1 var(--font-display); }

.ws-belege { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.ws-belege > .gl-card { grid-column: span 2; }
.ws-belege > .gl-card:nth-child(n+4) { grid-column: span 3; }
.ws-belege .gl-card__media { aspect-ratio: 16 / 10; }
@media (max-width: 1020px) { .ws-belege { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ws-belege > .gl-card, .ws-belege > .gl-card:nth-child(n+4) { grid-column: span 1; } .ws-belege > .gl-card:last-child { grid-column: span 2; } }
@media (max-width: 640px) { .ws-belege { grid-template-columns: 1fr; } .ws-belege > .gl-card, .ws-belege > .gl-card:last-child { grid-column: 1 / -1; } }

.ws-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; counter-reset: ws-schritt; }
.ws-step { padding: 28px 24px; gap: 10px; }
.ws-step__nr { font: 700 42px/1 var(--font-display); letter-spacing: -.03em; background: var(--grad-pulse); -webkit-background-clip: text; background-clip: text; color: transparent; width: max-content; }
.ws-step h3 { margin: 8px 0 0; font: 600 18px/1.3 var(--font-display); letter-spacing: -.01em; }
.ws-step p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--fg-2); }
@media (max-width: 1100px) { .ws-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ws-steps > li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
@media (max-width: 640px) { .ws-steps { grid-template-columns: 1fr; } }
.ws-briefing { margin-top: 20px; }
.ws-briefing .ws-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
@media (max-width: 760px) { .ws-briefing .ws-list { grid-template-columns: 1fr; } }

.ws-kond { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; }
.ws-kond__punkt { padding: 24px 22px; gap: 8px; }
.ws-kond dt { font: 600 18px/1.3 var(--font-display); letter-spacing: -.01em; color: var(--fg-1); }
.ws-kond dd { margin: 0; font-size: 15px; line-height: 1.6; color: var(--fg-2); }
@media (max-width: 1100px) { .ws-kond { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ws-kond { grid-template-columns: 1fr; } }

.ws-faq { display: grid; gap: 12px; max-width: 860px; }
.ws-faq details { border-radius: 16px; background: rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px var(--line-1); transition: background .3s; }
.ws-faq details[open] { background: rgba(255,255,255,.045); }
.ws-faq summary { position: relative; display: flex; align-items: center; min-height: 56px; padding: 14px 56px 14px 20px; cursor: pointer; list-style: none; font: 600 18px/1.3 var(--font-display); letter-spacing: -.01em; }
.ws-faq summary::-webkit-details-marker { display: none; }
.ws-faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 9px; height: 9px; margin-top: -7px; border-right: 2px solid var(--neon-cyan); border-bottom: 2px solid var(--neon-cyan); transform: rotate(45deg); transition: transform .3s var(--gl-ease); }
.ws-faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.ws-faq summary:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 2px; border-radius: 16px; }
.ws-faq details p { margin: 0; padding: 0 20px 20px; font-size: 16px; line-height: 1.6; color: var(--fg-2); }

@media (max-width: 900px) {
    .ws-hero__grid, .ws-split { grid-template-columns: 1fr; }
    .ws-hero__grid { gap: 32px; }
    .ws-reel .gl-phone { width: min(260px, 70vw); }
}
@media (max-width: 520px) { .ws-can, .ws-chat { padding: 24px 20px; } .ws-chat__msg { max-width: 94%; } .ws-page .nav__cta { padding: 10px 14px; } }
@media (prefers-reduced-motion: reduce) { .ws-reel { animation: none; } .ws-faq summary::after { transition: none; } }

/* ===== Landingpages automatisierung.html (.ws-auto) und apps.html (.ws-apps) =====
   Bausteine der Seite websites.html bleiben; neu sind Beispielkarten, Hero-Bild (Mail zu Tabelle bzw. zwei Handys) und je ein Raster. */
.ws-auto .ws-hero .gl-live, .ws-apps .ws-hero .gl-live { max-width: 100%; }
.ws-beispiele { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ws-bsp { padding: 28px 24px; gap: 12px; }
.ws-bsp__nr { font: 700 14px/1 var(--font-display); letter-spacing: .04em; color: var(--neon-cyan); }
.ws-bsp .gl-card__text { margin: 0; }
@media (max-width: 1100px) { .ws-beispiele { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ws-beispiele { grid-template-columns: 1fr; } }

/* Automatisierung: drei Pakete und drei Portale in einer Reihe */
.ws-auto .ws-pakete { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .ws-auto .ws-pakete { grid-template-columns: 1fr; } }
.ws-auto .ws-belege > .gl-card, .ws-auto .ws-belege > .gl-card:nth-child(n+4) { grid-column: span 2; }
@media (max-width: 1020px) { .ws-auto .ws-belege > .gl-card, .ws-auto .ws-belege > .gl-card:nth-child(n+4) { grid-column: span 1; } .ws-auto .ws-belege > .gl-card:last-child { grid-column: span 2; } }
@media (max-width: 640px) { .ws-auto .ws-belege > .gl-card, .ws-auto .ws-belege > .gl-card:last-child { grid-column: 1 / -1; } }

/* Hero-Bild: E-Mail wird zur Tabellenzeile */
.au-flow { margin: 0; padding: 24px 22px; gap: 12px; animation: gl-fade 1.2s .3s var(--gl-ease) both; }
.au-flow .gl-tag { align-self: flex-start; }
.au-mail { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: rgba(10, 10, 20, .6); box-shadow: inset 0 0 0 1px var(--line-1); }
.au-mail p { margin: 0; }
.au-mail__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; font-size: 13px; line-height: 1.4; color: var(--fg-2); }
.au-mail__text { font-size: 15px; line-height: 1.5; color: var(--fg-1); }
.au-arrow { display: grid; place-items: center; color: var(--neon-cyan); }
.au-arrow svg { width: 26px; height: 26px; }
.au-sheet { overflow: hidden; border-radius: 14px; background: rgba(10, 10, 20, .6); box-shadow: inset 0 0 0 1px var(--line-1); }
.au-sheet table { width: 100%; border-collapse: collapse; table-layout: auto; font-size: 13px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.au-sheet caption { padding: 9px 10px; text-align: left; font: 600 13px/1.2 var(--font-display); color: var(--fg-1); box-shadow: inset 0 -1px 0 var(--line-1); }
.au-sheet th, .au-sheet td { padding: 8px 6px; text-align: left; white-space: nowrap; }
.au-sheet th:first-child, .au-sheet td:first-child { padding-left: 10px; }
.au-sheet th:last-child, .au-sheet td:last-child { padding-right: 10px; }
.au-sheet th { font-weight: 600; font-size: 12px; color: var(--fg-2); background: rgba(255,255,255,.04); box-shadow: inset 0 -1px 0 var(--line-1); }
.au-sheet td { color: var(--fg-1); box-shadow: inset 0 -1px 0 var(--line-1); }
.au-sheet tr:last-child td { box-shadow: none; }
.au-sheet .au-alt td { color: var(--fg-2); opacity: .7; }
.au-neu td { position: relative; background: color-mix(in srgb, var(--neon-cyan) 9%, transparent); animation: au-neu 3.6s 1.2s ease-out 1 both; }
.au-neu--2 td { animation-delay: 1.9s; }
.au-neu td:first-child::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--neon-cyan); }
.au-neu__tag { display: block; width: max-content; margin-bottom: 2px; padding: 1px 6px; border-radius: 999px; font: 600 12px/1.3 var(--font-display); background: var(--neon-cyan); color: var(--color-text-on-accent); }
@keyframes au-neu { 0% { background: transparent; } 25% { background: color-mix(in srgb, var(--neon-cyan) 26%, transparent); } 100% { background: color-mix(in srgb, var(--neon-cyan) 9%, transparent); } }
@media (max-width: 520px) { .au-flow { padding: 20px 14px; } }

/* Apps: zwei Handys im Standardrahmen, leicht gefächert. Rahmen wie überall (Gehäuse 0,4864), nie verziehen */
.ap-duo { display: grid; gap: 14px; justify-items: center; animation: gl-fade 1.2s .3s var(--gl-ease) both; }
.ap-duo__phones { position: relative; width: min(100%, 420px); aspect-ratio: 1 / 1.12; }
.ap-duo .gl-phone { position: absolute; width: 48%; }
.ap-duo__hinten { right: 7%; top: 0; transform: rotate(7deg); transform-origin: 50% 100%; opacity: .96; }
.ap-duo__vorn { left: 4%; bottom: 0; z-index: 2; transform: rotate(-5deg); transform-origin: 50% 100%; }
.ap-duo__cap { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; margin: 0; font-size: 14px; line-height: 1.4; color: var(--fg-2); }
.ap-karten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ap-karten .gl-card__media { aspect-ratio: 16 / 10; }
@media (max-width: 1020px) { .ap-karten { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ap-karten > .gl-card:last-child { grid-column: span 2; } }
@media (max-width: 640px) { .ap-karten { grid-template-columns: 1fr; } .ap-karten > .gl-card:last-child { grid-column: 1 / -1; } .ap-duo__phones { width: min(100%, 340px); } }
@media (prefers-reduced-motion: reduce) { .au-flow, .ap-duo { animation: none; } .au-neu td { animation: none; } }
@media (max-width: 520px) { .au-sheet table { font-size: 12px; } .au-sheet th, .au-sheet td { padding: 8px 3px; } .au-sheet th:first-child, .au-sheet td:first-child { padding-left: 8px; } .au-sheet th:last-child, .au-sheet td:last-child { padding-right: 6px; } }

/* ===== Landingpage ki-mitarbeiter.html (.ws-km, zusammen mit .ws-auto) =====
   Bausteine der Automatisierungsseite bleiben; neu sind die Arbeitsteilung (Aufgabe, KI-Mitarbeiter, Team) und das Kartenpaar „Passt, wenn“. */
.km-heute { animation: gl-fade 1.2s .3s var(--gl-ease) both; }
.km-heute .ws-chat__msg { max-width: 100%; }
.km-heute .ws-chat__karte span { justify-content: flex-start; }
.km-heute .ws-chat__karte i { flex: none; min-width: 1.6em; font-weight: 600; font-variant-numeric: tabular-nums; }
.km-hinweis { margin: 16px 0 0; font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.km-teilung { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.km-zeile { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px 28px; align-items: start; padding: 24px; }
.km-zeile h3 { margin: 0; font: 600 18px/1.3 var(--font-display); letter-spacing: -.01em; }
.km-zeile p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--fg-2); }
.km-zeile p b { display: block; margin-bottom: 4px; font: 600 13px/1.3 var(--font-display); letter-spacing: .02em; color: var(--fg-1); }
.km-zeile p.km-ki b { color: var(--neon-cyan); }
.km-passt { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.km-passt .ws-can { height: 100%; }
.km-gruppe { margin: 20px 0 4px; font: 600 14px/1.3 var(--font-display); letter-spacing: .02em; color: var(--fg-2); }
.km-gruppe:first-child { margin-top: 0; }
@media (max-width: 900px) { .km-zeile { grid-template-columns: 1fr; gap: 12px; padding: 22px 20px; } .km-passt { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .km-heute { animation: none; } }

/* Websites-Landingpage: Preiszeile im Hero, Kleingedrucktes unter den Paketen, feste Kontaktleiste am Handy */
.ws-preiszeile__fuss { max-width: 520px; margin: 10px 0 0; font-size: 14px; line-height: 1.5; color: var(--fg-2); }
.ws-klein { margin: 24px 0 0; max-width: 860px; font-size: 14px; line-height: 1.6; color: var(--fg-2); }
.ws-leiste { display: none; }
@media (max-width: 900px) {
    .ws-web .ws-reel .gl-phone { width: min(170px, 46vw); }
    .ws-web .ws-belege { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -24px; padding: 4px 24px 12px; scrollbar-width: none; }
    .ws-web .ws-belege::-webkit-scrollbar { display: none; }
    .ws-web .ws-belege > .gl-card, .ws-web .ws-belege > .gl-card:nth-child(n+4), .ws-web .ws-belege > .gl-card:last-child { flex: 0 0 78%; scroll-snap-align: start; }
    .ws-leiste { position: fixed; z-index: var(--z-sticky); left: 0; right: 0; bottom: 0; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); background: rgba(7,7,13,.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 -1px 0 var(--line-1); }
    .ws-leiste a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font: 600 16px/1 var(--font-display); text-decoration: none; }
    .ws-leiste svg { width: 18px; height: 18px; }
    .ws-leiste__tel { color: var(--fg-1); box-shadow: inset 0 0 0 1px var(--line-2, rgba(255,255,255,.18)); }
    .ws-leiste__mail { color: #05050a; background: linear-gradient(90deg, #2d7bff, #00e5ff); }
    .ws-web .kc-fab { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); }
    .ws-web .footer { padding-bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 600px) {
    .ws-web .ws-hero { padding-top: 112px; }
    .ws-web .ws-belege { margin: 0 -16px; padding: 4px 16px 12px; }
}

/* Preiskarten im Hero: Verlaufskante, Lichtkante oben, gestaffeltes Einblenden und ein einmaliger Lichtstreif */
.ws-preiszeile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.18fr); gap: 10px; max-width: 520px; margin: 22px 0 0; }
.ws-preiszeile a {
    position: relative; overflow: hidden; isolation: isolate;
    display: flex; flex-direction: column; justify-content: space-between; gap: 10px; min-height: 84px; padding: 12px 12px 11px;
    border: 1px solid transparent; border-radius: 16px; color: var(--fg-1); text-decoration: none;
    background:
        linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.015) 55%) padding-box,
        linear-gradient(#0b0b16, #0b0b16) padding-box,
        linear-gradient(150deg, rgba(45,123,255,.75), rgba(0,229,255,.28) 38%, rgba(255,255,255,.07) 70%, rgba(124,77,255,.35)) border-box;
    box-shadow: 0 10px 28px -14px rgba(0,180,255,.45), inset 0 1px 0 rgba(255,255,255,.08);
    -webkit-tap-highlight-color: transparent;
    animation: ws-karte-ein .7s .35s var(--gl-ease) both;   /* alle Preise gleichzeitig sichtbar, nur der Lichtstreif ist gestaffelt */
    transition: transform .25s var(--gl-ease), box-shadow .25s var(--gl-ease);
}
.ws-preiszeile a::after {
    content: ""; position: absolute; inset: -1px; z-index: -1; pointer-events: none;
    background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.16) 48%, rgba(0,229,255,.12) 52%, transparent 65%);
    transform: translateX(-120%);
    animation: ws-karte-glanz 1.4s calc(1.1s + var(--i) * .16s) cubic-bezier(.4,0,.2,1) both;
}
.ws-preiszeile span { font-size: 12px; line-height: 1.3; letter-spacing: .01em; color: var(--fg-2); }
.ws-preiszeile b { font: 600 18px/1.1 var(--font-display); letter-spacing: -.015em; white-space: nowrap;
    background: linear-gradient(90deg, #fff, #b8e6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ws-preiszeile small { font: 500 12px/1 var(--font-body); letter-spacing: 0; color: var(--fg-2); -webkit-text-fill-color: var(--fg-2); }
.ws-preiszeile a:active { transform: scale(.97); }
@media (hover: hover) { .ws-preiszeile a:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px rgba(0,200,255,.6), inset 0 1px 0 rgba(255,255,255,.1); } }
.ws-preiszeile a:focus-visible { outline: 2px solid var(--neon-cyan); outline-offset: 2px; }
@keyframes ws-karte-ein { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes ws-karte-glanz { to { transform: translateX(120%); } }
@media (max-width: 400px) { .ws-preiszeile { gap: 8px; } .ws-preiszeile a { padding: 11px 10px 10px; } .ws-preiszeile span, .ws-preiszeile small { font-size: 11.5px; } }
@media (max-width: 360px) {   /* kleine Handys: Karten als Zeilen, Preis rechts */
    .ws-preiszeile { grid-template-columns: 1fr; gap: 6px; }
    .ws-preiszeile a { flex-direction: row; align-items: baseline; justify-content: space-between; min-height: 0; padding: 10px 12px; }
    .ws-leiste { gap: 8px; padding-left: 12px; padding-right: 12px; }
    .ws-leiste a { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .ws-preiszeile a, .ws-preiszeile a::after { animation: none; transition: none; } .ws-preiszeile a::after { display: none; } }
