/* Ultimapix Signage, Produktseite. Gleiche Farben wie die App (signage.ultimapix.com). */
.sg {
  --sg-black: #000; --sg-ink: #1d1d1f; --sg-dim: #6e6e73; --sg-dim-d: #86868b; --sg-light: #f5f5f7; --sg-white: #fff;
  --sg-line: #d2d2d7; --sg-blue: #0071e3; --sg-blue-d: #2997ff;
  --sg-max: 1080px; --sg-ease: cubic-bezier(.22, .61, .36, 1);
}
.sg main { overflow-x: clip; }
.sg-wrap { width: min(var(--sg-max), 100% - 2 * var(--gut, 20px)); margin-inline: auto; }
.sg-center { text-align: center; }
.sg-dark { background: var(--sg-black); color: #f5f5f7; }
.sg-light { background: var(--sg-light); color: var(--sg-ink); }
.sg-white { background: var(--sg-white); color: var(--sg-ink); }
.sg-band { padding: clamp(80px, 11vw, 150px) 0; }
.sg-pt0 { padding-top: 0; }

.sg main h1, .sg main h2 { font-family: var(--f); font-weight: 600; letter-spacing: -0.035em; }
.sg-hero h1 { font-size: clamp(2.5rem, 1.2rem + 4.6vw, 5rem); line-height: 1.04; max-width: 15ch; margin: 0 auto; }
.sg main h2 { font-size: clamp(2.2rem, 1.3rem + 3vw, 4rem); line-height: 1.06; }
.sg main h3 { font-family: var(--f); font-weight: 600; font-size: 1.3125rem; letter-spacing: -0.02em; line-height: 1.2; }
.sg-eyebrow { font-size: 1.3125rem; font-weight: 600; letter-spacing: -0.01em; color: #f5f5f7; margin-bottom: 14px; }
.sg-sub { font-size: clamp(1.125rem, 1rem + .45vw, 1.375rem); line-height: 1.45; letter-spacing: -0.012em; max-width: 690px; margin: 22px auto 0; color: var(--sg-dim); }
.sg-dark .sg-sub { color: var(--sg-dim-d); }
.sg-price-line { margin-top: 26px; font-size: .9375rem; color: var(--sg-dim-d); }

/* Knöpfe wie in der App */
.sg-btns { display: flex; gap: 26px; justify-content: center; align-items: center; flex-wrap: wrap; margin-top: 34px; }
.sg-btn { display: inline-flex; align-items: center; min-height: 46px; padding: 0 24px; border-radius: 980px; background: var(--sg-blue); color: #fff; font-size: 1.0625rem; font-weight: 500; text-decoration: none; transition: background .2s; }
.sg-btn:hover { background: #0077ed; }
.sg-btn-s { min-height: 30px; padding: 0 14px; font-size: .8125rem; }
.sg-link { color: var(--sg-blue); font-size: 1.0625rem; text-decoration: none; }
.sg-dark .sg-link { color: var(--sg-blue-d); }
.sg-link::after { content: " ›"; }
.sg-link:hover { text-decoration: underline; }

/* Unternavigation wie bei Apple */
.sg-local { position: sticky; top: 72px; z-index: 40; background: rgba(251, 251, 253, .82); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(0, 0, 0, .12); color: var(--sg-ink); }
.sg-local .sg-wrap { display: flex; align-items: center; gap: 24px; height: 52px; }
.sg-local-t { font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; margin-right: auto; }
.sg-local-l { display: flex; gap: 22px; font-size: .75rem; }
.sg-local-l a { text-decoration: none; color: var(--sg-ink); opacity: .85; }
.sg-local-l a:hover, .sg-local-l a[aria-current] { color: var(--sg-blue); opacity: 1; }
@media (max-width: 860px) { .sg-local { top: 64px; } .sg-local-l { display: none; } .sg-local-t { font-size: 1.0625rem; } }

/* Kopf */
.sg-hero { padding: clamp(64px, 9vw, 120px) 0 0; overflow: hidden; }
.sg-hero-stage { position: relative; margin-top: clamp(48px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 90px); }
.sg-hero-stage .sg-mac { width: min(1000px, 92%); margin-inline: auto; }
.sg-stele { position: absolute; right: max(0px, calc(50% - 560px)); bottom: clamp(20px, 3vw, 50px); width: clamp(96px, 15vw, 190px); margin: 0; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.sg-stele-body { background: linear-gradient(160deg, #3a3d42, #1c1d20 60%); border-radius: clamp(8px, 1vw, 14px); padding: 6% 6% 22%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); }
.sg-stele-body img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 3px; }
.sg-stele-foot { height: clamp(8px, 1.2vw, 14px); width: 76%; margin: 0 auto; background: linear-gradient(#2a2c30, #121315); border-radius: 0 0 6px 6px; }

/* Laptop-Rahmen */
.sg-mac { margin: 0 auto; }
.sg-mac-screen { position: relative; background: #0b0b0c; border-radius: clamp(10px, 1.6vw, 22px) clamp(10px, 1.6vw, 22px) 0 0; padding: 1.7% 1.7% 2.4%; box-shadow: inset 0 0 0 1px #3a3a3c, 0 0 0 1px #1a1a1c; }
.sg-mac-screen img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 4px; background: #f5f5f7; }
.sg-mac-base { position: relative; height: clamp(10px, 1.5vw, 20px); width: 114%; margin-left: -7%; background: linear-gradient(#e3e4e6, #b9bbbe 55%, #8e9094); border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.sg-mac-base::before { content: ""; position: absolute; left: 50%; top: 0; width: 15%; height: 40%; transform: translateX(-50%); background: #a5a7ab; border-radius: 0 0 10px 10px; }
.sg-light .sg-mac, .sg-white .sg-mac { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .14)); }
.sg-dark .sg-mac { filter: drop-shadow(0 30px 60px rgba(41, 151, 255, .10)); }
.sg-band .sg-mac { width: min(1000px, 100%); margin-top: clamp(48px, 6vw, 72px); }

/* Tabs */
.sg-tabs { display: flex; justify-content: center; gap: 4px; margin: 44px auto 0; padding: 4px; background: rgba(118, 118, 128, .12); border-radius: 980px; width: max-content; max-width: 100%; overflow-x: auto; }
.sg-tabs button { font: 500 .9375rem var(--f); border: 0; background: none; color: var(--sg-ink); padding: 9px 20px; border-radius: 980px; cursor: pointer; white-space: nowrap; transition: background .25s, box-shadow .25s; }
.sg-tabs button[aria-selected="true"] { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .14); }
#tp { margin-top: 36px; }
.sg-swap { display: grid; }
.sg-swap img { grid-area: 1 / 1; opacity: 0; transition: opacity .5s var(--sg-ease); }
.sg-swap img.on { opacity: 1; }
.sg-cap { text-align: center; color: var(--sg-dim); font-size: 1rem; max-width: 620px; margin: 28px auto 0; min-height: 3em; }

/* Motive */
.sg-posters { display: grid; grid-template-columns: 1fr 1fr 2.4fr; gap: clamp(14px, 2.4vw, 32px); align-items: end; margin-top: clamp(56px, 7vw, 96px); }
.sg-posters figure { margin: 0; }
.sg-screen-p, .sg-screen-l { background: #1c1c1e; padding: 5px; border-radius: 10px; box-shadow: inset 0 0 0 1px #3a3a3c; }
.sg-screen-p img { aspect-ratio: 9 / 16; width: 100%; object-fit: cover; border-radius: 6px; }
.sg-screen-l img { aspect-ratio: 2 / 1; width: 100%; object-fit: cover; border-radius: 6px; }
.sg-posters figcaption { color: var(--sg-dim-d); font-size: .875rem; margin-top: 12px; text-align: center; }
.sg-note { text-align: center; color: var(--sg-dim-d); font-size: 1rem; margin-top: 44px; }
@media (max-width: 700px) { .sg-posters { grid-template-columns: 1fr 1fr; } .sg-posters .sg-wide { grid-column: 1 / -1; } }

/* Rollen */
.sg-roles { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; max-width: 860px; }
.sg-role { background: #fff; border-radius: 22px; padding: 28px 30px; }
.sg-role p { color: var(--sg-dim); margin-top: 8px; font-size: 1.0625rem; line-height: 1.5; }
.sg-duo { display: grid; grid-template-columns: 1fr auto; gap: clamp(24px, 4vw, 56px); align-items: center; margin-top: 24px; }
.sg-duo .sg-mac { margin-top: 48px; }
.sg-phones { display: flex; gap: 18px; }
.sg-phone { margin: 0; width: clamp(130px, 15vw, 200px); background: #0b0b0c; padding: 7px; border-radius: clamp(26px, 3.4vw, 40px); box-shadow: inset 0 0 0 1.5px #3a3a3c, 0 30px 50px rgba(0, 0, 0, .18); }
.sg-phone img { width: 100%; border-radius: clamp(20px, 2.8vw, 33px); aspect-ratio: 390 / 844; object-fit: cover; object-position: top; }
.sg-phone:nth-child(2) { transform: translateY(40px); }
@media (max-width: 900px) { .sg-roles { grid-template-columns: 1fr; } .sg-duo { grid-template-columns: 1fr; } .sg-phones { justify-content: center; } }

/* Hell und dunkel */
.sg-compare { position: relative; width: min(1000px, 100%); margin: 56px auto 0; border-radius: clamp(10px, 1.4vw, 18px); overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .16), 0 0 0 1px rgba(0, 0, 0, .06); aspect-ratio: 16 / 10; }
.sg-compare img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.sg-compare-top { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--x)); }
.sg-compare-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); pointer-events: none; }
.sg-compare-line span { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%); border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 4px 16px rgba(0, 0, 0, .25); }
.sg-compare-line span::before { content: "‹ ›"; position: absolute; inset: 0; display: grid; place-items: center; font-weight: 600; color: var(--sg-ink); letter-spacing: 2px; }
.sg-compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.sg-compare:has(input:focus-visible) .sg-compare-line span { outline: 2px solid var(--sg-blue); outline-offset: 2px; }

/* Betrieb */
.sg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; max-width: 980px; }
.sg-card { background: #fff; border-radius: 24px; padding: clamp(26px, 3vw, 40px); min-height: 230px; }
.sg-k { font-size: .875rem; font-weight: 600; color: var(--sg-blue); margin-bottom: 10px; }
.sg-card h3 { font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); letter-spacing: -0.03em; line-height: 1.12; }
.sg-card p:last-child { color: var(--sg-dim); margin-top: 12px; font-size: 1.0625rem; line-height: 1.5; }
@media (max-width: 700px) { .sg-grid { grid-template-columns: 1fr; } .sg-card { min-height: 0; } }

/* Screens */
.sg-prods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 56px; }
.sg-prod { display: block; background: var(--sg-light); border-radius: 20px; padding: 18px 18px 22px; text-decoration: none; color: var(--sg-ink); transition: transform .3s var(--sg-ease), box-shadow .3s; }
.sg-prod:hover { transform: translateY(-4px); box-shadow: 0 16px 34px rgba(0, 0, 0, .1); }
.sg-prod img { width: 100%; aspect-ratio: 640 / 857; object-fit: cover; border-radius: 12px; margin-bottom: 14px; }
.sg-prod b { display: block; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.015em; }
.sg-prod span { display: block; color: var(--sg-dim); font-size: .875rem; margin-top: 4px; line-height: 1.4; }
@media (max-width: 1000px) { .sg-prods { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .sg-prods { grid-template-columns: 1fr 1fr; } }

/* Preis */
.sg-big { font-size: clamp(4rem, 2rem + 9vw, 9rem); font-weight: 600; letter-spacing: -0.05em; line-height: 1; margin-top: 30px; background: linear-gradient(180deg, #fff 30%, #8e8e93); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.sg-calc { max-width: 520px; margin: 48px auto 0; background: #1c1c1e; border-radius: 24px; padding: 26px 28px; text-align: left; }
.sg-calc label { display: flex; justify-content: space-between; font-size: 1rem; color: #f5f5f7; }
.sg-calc output { font-weight: 600; font-variant-numeric: tabular-nums; }
.sg-calc input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin: 22px 0 26px; border-radius: 3px; background: linear-gradient(var(--sg-blue-d), var(--sg-blue-d)) 0 / var(--p, 8%) 100% no-repeat, #3a3a3c; }
.sg-calc input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: 0; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.sg-calc input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 2px 8px rgba(0, 0, 0, .4); }
.sg-calc input[type=range]::-webkit-slider-runnable-track { height: 6px; background: transparent; }
.sg-calc input[type=range]::-webkit-slider-thumb { margin-top: -10px; }
.sg-calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sg-calc-out div { background: #2c2c2e; border-radius: 14px; padding: 14px 16px; }
.sg-calc-out span { display: block; font-size: .8125rem; color: var(--sg-dim-d); }
.sg-calc-out b { display: block; font-size: 1.5rem; font-weight: 600; letter-spacing: -0.02em; margin-top: 2px; font-variant-numeric: tabular-nums; }

/* Einblenden beim Scrollen */
.sg-js .sg-in { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--sg-ease), transform .9s var(--sg-ease); }
.sg-js .sg-rise { opacity: 0; transform: translateY(60px) scale(.97); transition: opacity 1.2s var(--sg-ease), transform 1.2s var(--sg-ease); }
.sg-js .sg-in.seen, .sg-js .sg-rise.seen { opacity: 1; transform: none; }
.sg-js .sg-phone.sg-in.seen:nth-child(2) { transform: translateY(40px); }
.sg-d1 { transition-delay: .12s !important; }
.sg-d2 { transition-delay: .24s !important; }
@media (prefers-reduced-motion: reduce) {
  .sg-js .sg-in, .sg-js .sg-rise { opacity: 1; transform: none; transition: none; }
  .sg-swap img { transition: none; }
}
@media (max-width: 700px) {
  .sg-stele { right: 0; width: 26vw; bottom: 10px; }
  .sg-hero-stage .sg-mac { width: 100%; margin-left: -4%; }
  .sg-tabs { width: 100%; justify-content: flex-start; }
}
