/* Referenzseite: Projektübersicht mit gestapelten Fallkarten, 3D-Neigung und Scroll-Effekten */

:root { --pg-dark: #17110d; --pg-main: #d97706; --pg-light: #fcd34d; }
.ref-page { --ref-ink: #0b1220; --ref-muted: #475569; --ref-line: #e2e8f0; --ref-radius: 32px; overflow-x: clip; }

/* Laufband ------------------------------------------------------------- */
.ref-marquee { overflow: hidden; border-block: 1px solid var(--ref-line); background: #fff; padding: 22px 0; }
.ref-marquee__track { display: flex; width: max-content; align-items: center; gap: 36px; padding-right: 36px; animation: ref-marquee 38s linear infinite; }
.ref-marquee span { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 700; letter-spacing: -.02em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px #cbd5e1; white-space: nowrap; transition: color .4s; }
.ref-marquee span:nth-of-type(3n+1) { color: var(--ref-ink); -webkit-text-stroke: 0; }
.ref-marquee i { width: 14px; height: 14px; border-radius: 50%; background: var(--pg-main); flex: none; }
.ref-marquee:hover .ref-marquee__track { animation-play-state: paused; }
@keyframes ref-marquee { to { transform: translateX(-50%); } }

/* Einleitung, Zahlen, Filter ------------------------------------------- */
.ref-page .ref-intro { padding-top: 80px; padding-bottom: 0; }
.ref-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin: 40px 0 36px; }
.ref-stat { background: #fff; border: 1px solid var(--ref-line); border-radius: 24px; padding: 26px 24px; display: flex; flex-direction: column; gap: 6px; transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s; }
.ref-stat:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(15, 23, 42, .35); }
.ref-stat strong { font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; letter-spacing: -.03em; color: var(--ref-ink); font-variant-numeric: tabular-nums; }
.ref-stat span { color: var(--ref-muted); font-size: .95rem; }

.ref-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.ref-chip { appearance: none; border: 1px solid var(--ref-line); background: #fff; color: var(--ref-ink); font: inherit; font-size: .95rem; font-weight: 600; padding: 11px 20px; border-radius: 999px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.ref-chip span { display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 7px; border-radius: 999px; background: #f1f5f9; font-size: .78rem; transition: inherit; }
.ref-chip:hover { transform: translateY(-2px); border-color: #94a3b8; }
.ref-chip.is-active { background: var(--ref-ink); color: #fff; border-color: var(--ref-ink); }
.ref-chip.is-active span { background: rgba(255, 255, 255, .16); }
.ref-chip:focus-visible, .ref-link:focus-visible { outline: 3px solid #93c5fd; outline-offset: 3px; }

/* Gestapelte Fallkarten ------------------------------------------------- */
.ref-page .ref-showcase { padding-top: 24px; padding-bottom: 40px; }
.ref-stack { display: flex; flex-direction: column; gap: 28px; }

.ref-case { --accent: #2563eb; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(20px, 3vw, 36px); background: #fff; border: 1px solid var(--ref-line); border-radius: var(--ref-radius); box-shadow: 0 30px 70px -40px rgba(15, 23, 42, .45); }
.ref-case:nth-child(even) .ref-case__copy { order: 2; }
.ref-case[hidden] { display: none; }

/* Stapeln nur, wenn alle Karten (per Skript auf gleiche Höhe gebracht) ins Fenster passen */
.ref-stack.is-stacked .ref-case { position: sticky; top: calc(96px + var(--i) * 20px); height: var(--ref-h); align-items: stretch; }
.ref-stack.is-stacked .ref-case__copy { display: flex; flex-direction: column; justify-content: center; }
.ref-stack.is-stacked .ref-case__stage { min-height: 0; }

.ref-case__copy { padding: clamp(0px, 1.5vw, 16px) clamp(0px, 1.5vw, 12px); }
.ref-case__top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.ref-case__index { font-size: 1.05rem; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.ref-case__index::after { content: ""; display: inline-block; vertical-align: middle; width: 44px; height: 2px; margin-left: 14px; background: var(--accent); border-radius: 2px; transform-origin: left; transform: scaleX(.3); transition: transform .9s cubic-bezier(.16,1,.3,1) .2s; }
.ref-case.is-in .ref-case__index::after { transform: scaleX(1); }
.ref-case__year { font-size: .85rem; color: var(--ref-muted); border: 1px solid var(--ref-line); border-radius: 999px; padding: 3px 12px; }

.ref-case__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.ref-tag { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: color-mix(in srgb, var(--accent) 80%, #000); background: color-mix(in srgb, var(--accent) 10%, #fff); padding: 6px 12px; border-radius: 999px; }

.ref-case__title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); line-height: 1.02; letter-spacing: -.03em; margin: 0 0 10px; color: var(--ref-ink); }
.ref-case__headline { font-size: 1.15rem; font-weight: 600; color: var(--ref-ink); margin: 0 0 10px; }
.ref-case__summary { color: var(--ref-muted); margin: 0 0 18px; max-width: 56ch; }
.ref-case__list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 9px; }
.ref-case__list li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; color: var(--ref-ink); }
.ref-case__list svg { flex: none; margin-top: 3px; color: var(--accent); }

.ref-quote { margin: 0 0 22px; padding: 18px 20px; border-radius: 20px; background: color-mix(in srgb, var(--accent) 6%, #f8fafc); border: 1px solid color-mix(in srgb, var(--accent) 14%, #e2e8f0); }
.ref-quote p { margin: 0 0 14px; font-size: 1rem; line-height: 1.55; color: var(--ref-ink); }
.ref-quote footer { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ref-quote img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.ref-quote cite { font-style: normal; font-weight: 700; font-size: .92rem; display: flex; flex-direction: column; line-height: 1.3; color: var(--ref-ink); }
.ref-quote cite small { font-weight: 400; color: var(--ref-muted); font-size: .8rem; }
.ref-quote__stars { margin-left: auto; display: inline-flex; gap: 2px; color: #f59e0b; }
.ref-quote__stars svg { fill: currentColor; }

.ref-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ref-ink); border-bottom: 2px solid var(--accent); padding-bottom: 3px; transition: gap .3s, color .3s; }
.ref-link:hover { gap: 14px; color: var(--accent); }
.ref-note { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--ref-muted); }

/* Bühne: einfarbige Fläche mit angeschnittenem Namen */
.ref-case__stage { --rx: 0deg; --ry: 0deg; --mx: 0; --my: 0; position: relative; isolation: isolate; border-radius: 24px; padding: clamp(24px, 4vw, 52px); min-height: 420px; display: grid; place-items: center; overflow: hidden; perspective: 1400px; background: color-mix(in srgb, var(--accent) 82%, #0b1220); }
.ref-stage__word { position: absolute; z-index: -1; left: -.04em; bottom: -.2em; font-size: clamp(7rem, 16vw, 13rem); font-weight: 800; line-height: 1; letter-spacing: -.06em; white-space: nowrap; color: color-mix(in srgb, var(--accent) 70%, #fff); opacity: .22; pointer-events: none; user-select: none; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.ref-case:hover .ref-stage__word { transform: translateX(14px); }

/* Gestapelte Bildschirme: drei versetzte Lagen statt Browser-Fenster */
.ref-browser { position: relative; width: 100%; max-width: 640px; transform: rotateX(var(--rx)) rotateY(var(--ry)) rotate(-2.5deg) translateZ(0); transition: transform .5s cubic-bezier(.16,1,.3,1); will-change: transform; }
.ref-browser::before, .ref-browser::after { content: ""; position: absolute; inset: 0; border-radius: 22px; z-index: -1; border: 1px solid rgba(255,255,255,.25); transition: transform .7s cubic-bezier(.16,1,.3,1); }
.ref-browser::before { background: color-mix(in srgb, var(--accent) 60%, #fff); transform: translate(26px, 24px) rotate(4deg); opacity: .5; }
.ref-browser::after { background: rgba(255,255,255,.16); transform: translate(13px, 12px) rotate(2deg); }
.ref-case:hover .ref-browser::before { transform: translate(40px, 30px) rotate(7deg); }
.ref-case:hover .ref-browser::after { transform: translate(20px, 15px) rotate(3.5deg); }
.ref-case__stage.is-tilting .ref-browser { transition: transform .08s linear; }
.ref-browser__url { position: absolute; z-index: 3; left: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 600; color: #fff; background: rgba(11,18,32,.72); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 999px; padding: 7px 14px 7px 12px; max-width: calc(100% - 28px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ref-browser__url i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 0 rgba(74,222,128,.6); animation: ref-pulse 2s infinite; flex: none; }
@keyframes ref-pulse { 70% { box-shadow: 0 0 0 8px rgba(74,222,128,0); } 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0); } }
.ref-browser__view { aspect-ratio: 1440 / 710; background: #f8fafc; overflow: hidden; position: relative; border-radius: 20px; box-shadow: 0 50px 80px -30px rgba(0,0,0,.65), 0 0 0 5px rgba(255,255,255,.92); }
.ref-browser__view img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; transition: transform 1.2s cubic-bezier(.16,1,.3,1); }
.ref-case:hover .ref-browser__view img { transform: scale(1.04); }
.ref-browser__view::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.18) 50%, transparent 65%); transform: translateX(calc(var(--mx) * 60%)); opacity: .7; }

.ref-float { position: absolute; z-index: 2; transform: translate3d(calc(var(--mx) * var(--d, 1) * -14px), calc(var(--my) * var(--d, 1) * -14px), 0); transition: transform .5s cubic-bezier(.16,1,.3,1); }
.ref-float[data-depth="1.6"] { --d: 1.6; } .ref-float[data-depth="2.4"] { --d: 2.4; }
.ref-float--logo { left: clamp(10px, 2vw, 26px); bottom: clamp(14px, 3vw, 34px); background: #fff; border-radius: 18px; padding: 14px 20px; box-shadow: 0 24px 40px -18px rgba(0,0,0,.55); display: grid; place-items: center; }
.ref-float--logo img { height: 34px; width: auto; max-width: 150px; object-fit: contain; }
.ref-float--chip { right: clamp(10px, 2vw, 26px); top: clamp(14px, 3vw, 34px); display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: .82rem; font-weight: 600; padding: 9px 14px; border-radius: 999px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.ref-float--chip span { display: inline-flex; }

/* Portal-Attrappe (Individualsoftware ohne Screenshot) -------------------- */
.ref-app { display: grid; grid-template-columns: 56px 1fr; height: 100%; font-size: .7rem; color: #0f172a; background: #f8fafc; }
.ref-app__side { background: #0f172a; padding: 14px 10px; display: flex; flex-direction: column; gap: 10px; align-items: center; }
.ref-app__side b { width: 28px; height: 28px; border-radius: 9px; background: var(--accent); margin-bottom: 8px; }
.ref-app__side i { width: 22px; height: 22px; border-radius: 7px; background: rgba(255,255,255,.14); }
.ref-app__side i:nth-child(2) { background: rgba(255,255,255,.34); }
.ref-app__main { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ref-app__head { display: flex; justify-content: space-between; align-items: center; }
.ref-app__head span { width: 90px; height: 10px; border-radius: 6px; background: #cbd5e1; }
.ref-app__head em { width: 54px; height: 22px; border-radius: 8px; background: var(--accent); }
.ref-app__kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ref-app__kpis div { background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 9px 11px; display: flex; flex-direction: column; gap: 2px; }
.ref-app__kpis small { color: #64748b; font-size: .62rem; }
.ref-app__kpis b { font-size: 1.15rem; letter-spacing: -.02em; }
.ref-app__kpis div:first-child b { color: var(--accent); }
.ref-app__rows { display: grid; gap: 8px; }
.ref-app__rows p { margin: 0; background: #fff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 9px 11px; display: flex; justify-content: space-between; align-items: center; }
.ref-app__rows span { width: 46%; height: 8px; border-radius: 5px; background: #e2e8f0; }
.ref-app__rows em { font-style: normal; font-size: .6rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; }
.ref-app__rows .is-ok { background: #dcfce7; color: #15803d; } .ref-app__rows .is-run { background: #ede9fe; color: #6d28d9; } .ref-app__rows .is-wait { background: #fef3c7; color: #b45309; }

.ref-empty { text-align: center; color: var(--ref-muted); padding: 40px 0; }

/* Eyebrow statt Pille ------------------------------------------------------ */
.ref-eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ref-muted); margin-bottom: 18px; }
.ref-eyebrow b { color: var(--pg-main); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.ref-eyebrow::before, .ref-eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; opacity: .45; }
.ref-process__head .ref-eyebrow::before { display: none; }
.ref-eyebrow--light { color: rgba(255,255,255,.7); }
.ref-eyebrow--light b { color: var(--pg-light); }

/* Ablauf: dunkle Bühne mit großen Ziffern ---------------------------------------- */
.ref-page .ref-process { padding-top: 40px; padding-bottom: 60px; }
.ref-process__panel { position: relative; isolation: isolate; overflow: hidden; border-radius: 40px; padding: clamp(32px, 6vw, 72px) clamp(20px, 4vw, 56px); background: var(--pg-dark); color: #fff; }
.ref-process__head { max-width: 680px; margin-bottom: clamp(28px, 5vw, 56px); }
.ref-process__head h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; margin: 0; }
.ref-process__accent { color: var(--pg-light); }
.ref-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.ref-step { position: relative; overflow: hidden; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px 26px; border-radius: 28px; background: color-mix(in srgb, var(--pg-dark) 88%, #fff); border: 1px solid rgba(255,255,255,.08); transition: transform .6s cubic-bezier(.16,1,.3,1), background .4s, border-color .4s; transition-delay: calc(var(--n) * .08s); }
.ref-step:hover { transform: translateY(-8px); background: color-mix(in srgb, var(--pg-dark) 78%, #fff); border-color: color-mix(in srgb, var(--pg-light) 60%, transparent); transition-delay: 0s; }
.ref-step__big { position: absolute; top: 4px; right: 18px; font-size: clamp(6rem, 11vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.22); transition: -webkit-text-stroke-color .4s, transform .8s cubic-bezier(.16,1,.3,1); pointer-events: none; }
.ref-step:hover .ref-step__big { -webkit-text-stroke-color: var(--pg-light); transform: translateY(6px) scale(1.04); }
.ref-step__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 16px; background: var(--pg-light); color: var(--pg-dark); margin-bottom: auto; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.ref-step:hover .ref-step__icon { transform: rotate(-8deg) scale(1.08); }
.ref-step h3 { margin: 22px 0 8px; font-size: 1.45rem; letter-spacing: -.02em; color: #fff; }
.ref-step p { margin: 0; color: rgba(255,255,255,.72); }

/* Kontakt: große Zeilen ----------------------------------------------------------- */
.ref-page .ref-contact { padding-top: 20px; padding-bottom: 40px; }
.ref-contact__head { margin-bottom: 28px; }
.ref-contact__head h2 { margin: 0; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; color: var(--ref-ink); }
.ref-contact__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ref-ink); }
.ref-contact__list li { border-bottom: 1px solid var(--ref-line); }
.ref-row { appearance: none; background: none; border: 0; font: inherit; color: var(--ref-ink); cursor: pointer; text-align: left; width: 100%; display: grid; grid-template-columns: 56px 190px 1fr 56px; align-items: center; gap: 12px; padding: 30px 8px; position: relative; isolation: isolate; text-decoration: none; transition: padding .5s cubic-bezier(.16,1,.3,1), color .4s; }
.ref-row::before { content: ""; position: absolute; inset: 0 -12px; z-index: -1; background: var(--pg-dark); border-radius: 18px; transform: scaleY(0); transform-origin: bottom; transition: transform .5s cubic-bezier(.16,1,.3,1); }
.ref-row:hover, .ref-row:focus-visible { color: #fff; padding-left: 28px; padding-right: 28px; outline: none; }
.ref-row:hover::before, .ref-row:focus-visible::before { transform: scaleY(1); }
.ref-row__no { font-weight: 700; color: var(--pg-main); font-variant-numeric: tabular-nums; }
.ref-row__label { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.ref-row__title { font-size: clamp(1.4rem, 3vw, 2.3rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.15; }
.ref-row__arrow { justify-self: end; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid currentColor; transition: transform .5s cubic-bezier(.16,1,.3,1), background .4s, color .4s, border-color .4s; }
.ref-row:hover .ref-row__arrow { transform: rotate(45deg); background: var(--pg-light); color: var(--pg-dark); border-color: var(--pg-light); }
@media (max-width: 767px) {
    .ref-row { grid-template-columns: 36px 1fr 48px; padding: 22px 4px; }
    .ref-row__label { grid-column: 2; grid-row: 1; }
    .ref-row__title { grid-column: 2; grid-row: 2; font-size: 1.3rem; }
    .ref-row__arrow { grid-column: 3; grid-row: 1 / span 2; width: 44px; height: 44px; }
    .ref-row:hover { padding-left: 14px; padding-right: 14px; }
}

/* Eintritts-Animation (nur Browser mit Scroll-Timelines) --------------------- */
@supports (animation-timeline: view()) {
    .ref-case { animation: ref-rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
    @keyframes ref-rise { from { opacity: 0; transform: translateY(70px) scale(.96); } to { opacity: 1; transform: none; } }
}

/* View Transitions beim Filtern ------------------------------------------------ */
::view-transition-group(*) { animation-duration: .55s; animation-timing-function: cubic-bezier(.16,1,.3,1); }

/* Responsive ------------------------------------------------------------------- */
@media (max-width: 1023px) {
    .ref-case { grid-template-columns: 1fr; }
    .ref-case:nth-child(even) .ref-case__copy { order: 0; }
    .ref-case__stage { order: -1; min-height: 340px; }
}
@media (max-width: 767px) {
    .ref-case { border-radius: 26px; }
    .ref-case__stage { padding: 22px 18px 70px; min-height: 0; }
    .ref-float--logo img { height: 26px; }
    .ref-float--chip { display: none; }
    .ref-steps { grid-template-columns: 1fr; }
    .ref-step { min-height: 240px; }
    .ref-quote__stars { margin-left: 0; width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .ref-marquee__track,     .ref-case { animation: none; }
    .ref-browser, .ref-float, .ref-browser::before, .ref-browser::after { transition: none; }
    .ref-float { transform: none; }
    .ref-browser__url i { animation: none; }
    .ref-browser__view::after { display: none; }
    .ref-case__index::after { transform: none; transition: none; }
}

.ref-float--chip { background: rgba(11, 18, 32, .78); border-color: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.ref-browser__url { backdrop-filter: none; -webkit-backdrop-filter: none; }

/* Seitenfarben, abgeleitet vom jeweiligen Seitenkopf */
.pgt-red { --pg-dark: #2a0d08; --pg-main: #c2410c; --pg-light: #fdba74; }
.pgt-purple { --pg-dark: #1a1226; --pg-main: #7c3aed; --pg-light: #c4b5fd; }
.pgt-violet { --pg-dark: #21093f; --pg-main: #7e22ce; --pg-light: #d8b4fe; }
.pgt-copper { --pg-dark: #1c130c; --pg-main: #c05621; --pg-light: #e9b872; }
.pgt-indigo { --pg-dark: #14122f; --pg-main: #4f46e5; --pg-light: #a5b4fc; }
.pgt-red .highlight, .pgt-purple .highlight, .pgt-violet .highlight, .pgt-copper .highlight, .pgt-indigo .highlight { color: var(--pg-main); }

.pgt-ocean { --pg-dark: #06283d; --pg-main: #0e6f8f; --pg-light: #7dd3fc; }

/* Referenzen: Zähler, Label und Kundenstimmen */
.ref-case__index small { font-size: .85em; font-weight: 500; color: var(--ref-muted, #64748b); }
.ref-case__label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ref-muted, #64748b); }
.ref-page .ref-voices-section { padding-top: 10px; padding-bottom: 20px; }
.ref-voices { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; margin-top: 8px; }
.ref-voice { margin: 0; display: flex; flex-direction: column; gap: 18px; padding: 30px 28px 26px; background: #fff; border: 1px solid #e2e8f0; border-radius: 28px; transition: transform .5s cubic-bezier(.16,1,.3,1), box-shadow .5s; }
.ref-voice:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -36px rgba(15,23,42,.5); }
.ref-voice__stars { display: inline-flex; gap: 3px; color: #f59e0b; }
.ref-voice__stars svg { fill: currentColor; }
.ref-voice blockquote { margin: 0; flex: 1; }
.ref-voice blockquote p { margin: 0; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.4; letter-spacing: -.01em; color: #0b1220; font-weight: 600; }
.ref-voice figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid #e2e8f0; }
.ref-voice figcaption > img:first-child { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.ref-voice figcaption span { display: grid; line-height: 1.3; }
.ref-voice figcaption strong { font-size: .98rem; color: #0b1220; }
.ref-voice figcaption small { color: #64748b; font-size: .82rem; }
.ref-voice__logo { margin-left: auto; height: 34px; width: auto; max-width: 90px; object-fit: contain; border-radius: 6px; }
