/* =========================================================
   D-Gateway — Plan B "matchday" layer  (loads AFTER dgw.css)
   Same tokens, much louder motion. Every scroll-driven effect
   sits in @supports; without support (and in static previews)
   elements rest in their final, fully visible state.
   ========================================================= */

@property --b-n { syntax: "<integer>"; initial-value: 0; inherits: false; }

.dg { --b-green-glow: rgba(15, 107, 58, 0.55); --b-gold-glow: rgba(217, 164, 0, 0.45); overflow-x: clip; }
.b-icon { width: 24px; height: 24px; flex: none; }

/* ---------- scroll progress bar ---------- */
.b-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--color-accent); transform-origin: 0 50%; transform: scaleX(0); }
@supports (animation-timeline: scroll()) {
  .b-progress { animation: b-grow linear both; animation-timeline: scroll(root); }
}
@keyframes b-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* ---------- HERO ---------- */
.b-hero { height: clamp(680px, 100svh, 980px); margin-top: calc(var(--header-h) * -1); display: flex; align-items: center; }
/* two photos alternate: 6s each, 0.9s crossfade, Ken Burns on both */
.b-slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform-origin: var(--kb-origin, 55% 50%); animation: b-xfade 12s linear infinite, dg-kenburns 12s ease-in-out infinite alternate; }
.b-slides img:nth-child(2) { animation-delay: -6s, -6s; }
@keyframes b-xfade { 0% { opacity: 1; } 46% { opacity: 1; } 54% { opacity: 0; } 92% { opacity: 0; } 100% { opacity: 1; } }
.b-hero .dg-photo::after { background: linear-gradient(100deg, rgba(var(--color-scrim), 0.88) 0%, rgba(var(--color-scrim), 0.45) 55%, rgba(var(--color-scrim), 0.2) 100%), linear-gradient(0deg, rgba(var(--color-scrim), 0.9) 0%, transparent 35%); }
.b-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: var(--space-7); padding-top: var(--header-h); }
.b-live { display: inline-flex; align-items: center; gap: var(--space-3); padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(8px); font-size: 14px; font-weight: 700; margin-bottom: var(--space-6); animation: dg-rise 900ms var(--ease-out) both; }
.b-live__dot { width: 10px; height: 10px; border-radius: 50%; background: #E5484D; box-shadow: 0 0 0 0 rgba(229,72,77,0.7); animation: b-ping 1.6s ease-out infinite; }
.b-live__time { font-family: var(--font-num); font-size: 18px; letter-spacing: 0.06em; color: var(--color-accent); }
@keyframes b-ping { 0% { box-shadow: 0 0 0 0 rgba(229,72,77,0.7); } 100% { box-shadow: 0 0 0 12px rgba(229,72,77,0); } }
.b-title { font-size: clamp(44px, 8.4cqi, 116px); font-weight: 900; line-height: 1.08; letter-spacing: 0.01em; margin-bottom: var(--space-6); }
.b-line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.b-line > span { display: inline-block; animation: b-mask-up 1100ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.b-line:nth-child(2) > span { animation-delay: 120ms; }
.b-line:nth-child(3) > span { animation-delay: 240ms; }
@keyframes b-mask-up { from { transform: translate3d(0, 110%, 0) skewY(6deg); } to { transform: none; } }
.b-hl { position: relative; color: var(--color-accent); }
.b-hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.1em; background: var(--color-accent); transform-origin: 0 50%; animation: b-draw 900ms 900ms var(--ease-out) both; }
@keyframes b-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.b-hero__sub { font-size: clamp(17px, 1.7cqi, 22px); font-weight: 700; color: var(--color-on-dark-muted); margin-bottom: var(--space-7); animation: dg-rise 1000ms 500ms var(--ease-out) both; }
.b-hero__ctas { display: flex; flex-wrap: wrap; gap: var(--space-4); animation: dg-rise 1000ms 650ms var(--ease-out) both; }
.b-hero__chips { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); animation: dg-rise 1000ms 800ms var(--ease-out) both; }
.b-chip { display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px 14px 6px 10px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); font-size: 13px; font-weight: 700; }
.b-chip .b-icon { width: 18px; height: 18px; color: var(--color-accent); }

/* spinning badge */
.b-badge { position: relative; width: 168px; height: 168px; display: grid; place-items: center; color: #fff; text-decoration: none; animation: dg-rise 1000ms 900ms var(--ease-out) both; }
.b-badge svg.b-badge__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: b-spin 14s linear infinite; }
.b-badge__ring text { font: 700 12.5px var(--font-sans); letter-spacing: 0.22em; fill: #fff; }
.b-badge__core { width: 84px; height: 84px; border-radius: 50%; background: var(--color-accent); color: var(--color-accent-ink); display: grid; place-items: center; transition: transform 400ms var(--ease-out); box-shadow: 0 0 0 0 var(--b-gold-glow); animation: b-pulse 2.4s ease-out infinite; }
.b-badge__core svg { width: 30px; height: 30px; transform: rotate(-45deg); transition: transform 400ms var(--ease-out); }
.b-badge:hover .b-badge__core { transform: scale(1.1); }
.b-badge:hover .b-badge__core svg { transform: rotate(0deg); }
@keyframes b-spin { to { transform: rotate(360deg); } }
@keyframes b-pulse { 0% { box-shadow: 0 0 0 0 var(--b-gold-glow); } 70% { box-shadow: 0 0 0 22px rgba(217,164,0,0); } 100% { box-shadow: 0 0 0 0 rgba(217,164,0,0); } }

.b-scroll { position: absolute; left: 50%; bottom: 84px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.7); border-radius: 14px; }
.b-scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--color-accent); animation: b-wheel 1.6s ease-in-out infinite; }
@keyframes b-wheel { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* shimmering CTA */
.b-shine { position: relative; overflow: hidden; isolation: isolate; }
.b-shine::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,0.65) 50%, transparent 65%); transform: translateX(-120%); animation: b-sweep 3.2s ease-in-out infinite; }
@keyframes b-sweep { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }

/* ---------- ticker ---------- */
.b-ticker { position: absolute; left: 0; right: 0; bottom: 0; background: var(--color-accent); color: var(--color-accent-ink); overflow: hidden; height: 52px; display: flex; align-items: center; }
.b-ticker__track { display: flex; width: max-content; animation: dg-marquee 30s linear infinite; }
.b-ticker__item { display: inline-flex; align-items: center; gap: var(--space-3); padding-right: var(--space-6); font-weight: 900; font-size: 16px; white-space: nowrap; letter-spacing: 0.04em; }
.b-ticker__item svg { width: 20px; height: 20px; animation: b-spin 4s linear infinite; }

/* ---------- kinetic type with photo pills ---------- */
.b-kinetic { background: var(--color-base); color: #fff; padding-block: clamp(56px, 7cqi, 104px); overflow: hidden; display: grid; gap: var(--space-4); }
.b-kinetic__row { display: flex; width: max-content; }
.b-kinetic__inner { display: flex; align-items: center; gap: clamp(16px, 2.2cqi, 32px); padding-right: clamp(16px, 2.2cqi, 32px); animation: dg-marquee 40s linear infinite; }
.b-kinetic__row--rev .b-kinetic__inner { animation-direction: reverse; }
.b-kinetic__word { font-size: clamp(48px, 9cqi, 132px); font-weight: 900; line-height: 1.1; white-space: nowrap; }
.b-kinetic__word--outline { color: transparent; -webkit-text-stroke: 2px rgba(255,255,255,0.75); }
.b-kinetic__word--gold { color: var(--color-accent); }
/* variant 1 — photo-filled letters (photo classes live in plan-b-fill.css) */
/* switch the strip with one class on .b-kinetic: --fill | --tiles | --bg */
.b-kinetic:not(.b-kinetic--tiles) .b-tile, .b-kinetic:not(.b-kinetic--bg) .b-kinetic__bg { display: none; }
.b-kinetic--fill .b-fill { color: transparent; -webkit-text-stroke: 0; background-size: 140% auto; background-position: 0% 50%; -webkit-background-clip: text; background-clip: text; animation: b-pan 14s ease-in-out infinite alternate; filter: saturate(1.15) contrast(1.05); }
@keyframes b-pan { from { background-position: 0% 40%; } to { background-position: 100% 60%; } }
/* variant 2 — slanted photo tiles */
.b-tile { position: relative; width: clamp(150px, 21cqi, 300px); height: clamp(70px, 8.6cqi, 120px); flex: none; overflow: hidden; clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%); }
.b-tile img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 1.2s var(--ease-out); }
.b-tile:hover img { transform: scale(1.3); }
.b-tile::after { content: ""; position: absolute; inset: 0; border-left: 4px solid var(--color-accent); transform: skewX(-12deg); transform-origin: 0 100%; }
/* variant 3 — full photo behind the type */
.b-kinetic { position: relative; isolation: isolate; }
.b-kinetic__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.b-kinetic__bg img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform-origin: 50% 60%; animation: dg-kenburns 18s ease-in-out infinite alternate; }
.b-kinetic__bg::after { content: ""; position: absolute; inset: 0; background: rgba(var(--color-scrim), 0.62); }
.b-kinetic--bg .b-kinetic__word--outline { -webkit-text-stroke-color: #fff; }
@supports (animation-timeline: view()) {
  .b-kinetic__row { animation: b-drift linear both; animation-timeline: view(); }
  .b-kinetic__row--rev { animation-name: b-drift-rev; }
}
@keyframes b-drift { from { transform: translate3d(8%, 0, 0); } to { transform: translate3d(-12%, 0, 0); } }
@keyframes b-drift-rev { from { transform: translate3d(-12%, 0, 0); } to { transform: translate3d(8%, 0, 0); } }

/* ---------- scroll-driven entrance variants ---------- */
@supports (animation-timeline: view()) {
  .b-pop { animation: b-pop linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  .b-from-l { animation: b-from-l linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  .b-from-r { animation: b-from-r linear both; animation-timeline: view(); animation-range: entry 0% entry 60%; }
  .b-d1 { animation-range: entry 10% entry 65%; }
  .b-d2 { animation-range: entry 20% entry 75%; }
  .b-d3 { animation-range: entry 30% entry 85%; }
}
@keyframes b-pop { from { opacity: 0; transform: translate3d(0, 60px, 0) scale(0.86) rotate(-2deg); } to { opacity: 1; transform: none; } }
@keyframes b-from-l { from { opacity: 0; transform: translate3d(-90px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes b-from-r { from { opacity: 0; transform: translate3d(90px, 0, 0); } to { opacity: 1; transform: none; } }

/* ---------- feature cards with icons + tilt ---------- */
.b-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); }
.b-feature { position: relative; overflow: hidden; border-radius: 16px; padding: var(--space-7) var(--space-6); background: var(--color-surface); border: 1px solid var(--color-line); transition: transform 500ms var(--ease-out), box-shadow 500ms var(--ease-out), background-color 500ms, color 500ms; }
.b-feature:hover { transform: perspective(900px) rotateX(4deg) rotateY(-5deg) translateY(-10px); box-shadow: 0 30px 60px -20px rgba(11,20,38,0.35); background: var(--color-primary); color: #fff; }
.b-feature:hover p { color: rgba(255,255,255,0.85); }
.b-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%); transform: translateX(-100%); transition: transform 900ms var(--ease-out); pointer-events: none; }
.b-feature:hover::after { transform: translateX(100%); }
.b-feature__icon { width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; background: var(--color-primary-tint); color: var(--color-primary); margin-bottom: var(--space-6); transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 500ms; }
.b-feature__icon svg { width: 36px; height: 36px; }
.b-feature:hover .b-feature__icon { transform: rotate(-10deg) scale(1.15); background: var(--color-accent); color: var(--color-accent-ink); }
.b-feature__num { position: absolute; top: 12px; right: 20px; font-family: var(--font-num); font-size: 88px; line-height: 1; color: var(--color-surface-alt); transition: color 500ms; }
.b-feature:hover .b-feature__num { color: rgba(255,255,255,0.12); }
.b-feature h3 { font-size: 22px; font-weight: 900; margin-bottom: var(--space-3); position: relative; }
.b-feature p { color: var(--color-text-muted); font-size: 15px; line-height: 1.85; position: relative; transition: color 500ms; }

/* ---------- numbers band ---------- */
.b-stats { background: var(--color-primary); color: #fff; position: relative; overflow: hidden; }
.b-stats::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,0.05) 0 80px, transparent 80px 160px); animation: b-mow 12s linear infinite; }
@keyframes b-mow { to { transform: translateX(160px); } }
.b-stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding-bottom: var(--space-6); }
.b-stat { padding: var(--space-6) var(--space-4) var(--space-7); text-align: center; }
.b-stat + .b-stat { border-left: 1px solid rgba(255,255,255,0.2); }
.b-stat__icon { width: 40px; height: 40px; margin: 0 auto var(--space-4); color: var(--color-accent); }
.b-stats__title { position: relative; text-align: center; padding-top: var(--space-8); font-size: clamp(15px, 1.4cqi, 18px); font-weight: 900; letter-spacing: 0.2em; color: var(--color-accent); }
.b-stats__note { position: relative; text-align: center; padding-bottom: var(--space-6); font-size: 12px; color: rgba(255,255,255,0.7); }
.b-stat__label { font-size: 13px; font-weight: 700; letter-spacing: 0.16em; color: rgba(255,255,255,0.8); margin-bottom: var(--space-2); }
.b-stat__num { display: flex; align-items: baseline; justify-content: center; gap: 4px; font-family: var(--font-num); font-weight: 700; font-size: clamp(60px, 7.8cqi, 112px); line-height: 1; letter-spacing: 0.01em; white-space: nowrap; }
.b-stat__pre { font-family: var(--font-sans); font-size: 0.34em; font-weight: 900; margin-right: 2px; }
.b-stat__unit { font-family: var(--font-sans); font-size: 0.4em; font-weight: 900; color: var(--color-accent); }
.b-count { --b-n: var(--to); counter-reset: bn var(--b-n); }
.b-count::before { content: counter(bn); }
@supports (animation-timeline: view()) {
  .b-count { animation: b-count linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
}
@keyframes b-count { from { --b-n: 0; } to { --b-n: var(--to); } }
.b-stat__desc { margin-top: var(--space-3); font-weight: 700; font-size: 15px; color: rgba(255,255,255,0.9); }

/* ---------- why stuttgart (scroll-linked horizontal) ---------- */
.b-why { background: var(--color-base); color: #fff; overflow: hidden; }
.b-why__track { display: flex; gap: var(--space-5); width: max-content; padding-inline: var(--gutter); }
@supports (animation-timeline: view()) {
  .b-why__track { animation: b-hslide linear both; animation-timeline: view(); animation-range: cover 15% cover 85%; }
}
@keyframes b-hslide { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-100% + 100cqi), 0, 0); } }
.b-reason { position: relative; width: clamp(280px, 30cqi, 380px); min-height: 440px; border-radius: 20px; padding: var(--space-6); background: #13213D; border: 1px solid var(--color-on-dark-line); display: flex; flex-direction: column; overflow: hidden; flex: none; transition: transform 500ms var(--ease-out), border-color 500ms; }
.b-reason:hover { transform: translateY(-12px); border-color: var(--color-accent); }
.b-reason__no { font-family: var(--font-num); font-size: 15px; letter-spacing: 0.2em; color: var(--color-accent); margin-bottom: auto; }
.b-reason__icon { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; background: rgba(217,164,0,0.12); color: var(--color-accent); margin: var(--space-7) 0 var(--space-6); animation: b-float 4s ease-in-out infinite; }
.b-reason:nth-child(even) .b-reason__icon { animation-delay: -2s; }
.b-reason__icon svg { width: 44px; height: 44px; }
@keyframes b-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.b-reason h3 { font-size: 24px; font-weight: 900; line-height: 1.4; margin-bottom: var(--space-3); word-break: auto-phrase; }
.b-reason p { color: var(--color-on-dark-muted); font-size: 15px; line-height: 1.85; }
.b-reason--photo { width: clamp(300px, 40cqi, 520px); background: none; border: 0; justify-content: flex-end; }
.b-reason--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease-out); }
.b-reason--photo { isolation: isolate; }
.b-reason--photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(var(--color-scrim), 0.92), rgba(var(--color-scrim), 0.1) 65%); }
.b-reason--photo:hover img { transform: scale(1.08); }
.b-reason--kaz { background: var(--color-accent); color: var(--color-accent-ink); border: 0; }
.b-reason--kaz .b-reason__no, .b-reason--kaz p { color: var(--color-accent-ink); }
.b-reason--kaz .b-reason__icon { background: rgba(11,20,38,0.12); color: var(--color-accent-ink); }
.b-why__hint { display: flex; align-items: center; gap: var(--space-3); font-size: 13px; color: var(--color-on-dark-muted); }
.b-why__hint svg { width: 20px; height: 20px; animation: b-nudge 1.4s ease-in-out infinite; }
@keyframes b-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(8px); } }

/* ---------- flow with filling rail ---------- */
.b-flow { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-5); position: relative; }
.b-flow__rail { position: absolute; top: 44px; left: 44px; right: 44px; height: 4px; border-radius: 2px; background: var(--color-line); overflow: hidden; }
.b-flow__rail::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--color-primary), var(--color-accent)); transform-origin: 0 50%; }
@supports (animation-timeline: view()) {
  .b-flow__rail::after { animation: b-grow linear both; animation-timeline: --b-flow; animation-range: entry 40% cover 60%; }
  .b-flow { view-timeline-name: --b-flow; }
}
.b-flow__step { position: relative; text-align: center; }
.b-flow__icon { position: relative; width: 88px; height: 88px; margin: 0 auto var(--space-5); border-radius: 50%; display: grid; place-items: center; background: var(--color-surface); border: 3px solid var(--color-primary); color: var(--color-primary); transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1), background-color 400ms, color 400ms; }
.b-flow__icon svg { width: 38px; height: 38px; }
.b-flow__step:hover .b-flow__icon { transform: scale(1.15) rotate(8deg); background: var(--color-primary); color: #fff; }
.b-flow__step--key .b-flow__icon { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); animation: b-pulse 2.4s ease-out infinite; }
.b-flow__num { position: absolute; top: -6px; right: -6px; width: 30px; height: 30px; border-radius: 50%; background: var(--color-base); color: #fff; font-family: var(--font-num); font-size: 15px; display: grid; place-items: center; }
.b-flow__step h3 { font-size: 17px; font-weight: 900; line-height: 1.5; margin-bottom: var(--space-2); word-break: auto-phrase; }
.b-flow__step p { font-size: 14px; color: var(--color-text-muted); line-height: 1.8; }

/* ---------- target chips ---------- */
.b-target { min-height: clamp(620px, 72cqi, 820px); display: flex; align-items: center; padding-block: var(--section-pad); }
.b-targets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-5); margin-top: var(--space-8); }
.b-tcard { border-radius: 20px; padding: var(--space-6); background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.22); backdrop-filter: blur(12px); transition: transform 500ms var(--ease-out), background-color 500ms; }
.b-tcard:hover { transform: translateY(-10px) scale(1.02); background: rgba(255,255,255,0.16); }
.b-tcard__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--color-accent); color: var(--color-accent-ink); margin-bottom: var(--space-5); }
.b-tcard__icon svg { width: 32px; height: 32px; }
.b-tcard__big { display: block; font-size: clamp(30px, 3.6cqi, 46px); font-weight: 900; line-height: 1.2; margin-bottom: var(--space-2); }
.b-tcard p { color: var(--color-on-dark-muted); }

/* ---------- voices (reviews) ---------- */
.b-voices { overflow: hidden; display: grid; gap: var(--space-5); }
.b-voices__row { display: flex; width: max-content; animation: dg-marquee 60s linear infinite; }
.b-voices__row--rev { animation-direction: reverse; animation-duration: 70s; }
.b-voices:hover .b-voices__row { animation-play-state: paused; }
.b-voice { width: clamp(290px, 34cqi, 420px); margin-right: var(--space-5); flex: none; border-radius: 20px; padding: var(--space-6); background: var(--color-surface); border: 1px solid var(--color-line); box-shadow: 0 12px 30px -18px rgba(11,20,38,0.25); transition: transform 400ms var(--ease-out); }
.b-voice:hover { transform: translateY(-6px) rotate(-1deg); }
.b-stars { display: flex; gap: 3px; color: var(--color-accent); margin-bottom: var(--space-4); }
.b-stars svg { width: 18px; height: 18px; }
.b-voice__text { font-size: 16px; font-weight: 700; line-height: 1.85; margin-bottom: var(--space-5); }
.b-voice__who { display: flex; align-items: center; gap: var(--space-3); font-size: 13px; color: var(--color-text-muted); }
.b-avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--color-primary); color: #fff; flex: none; }
.b-avatar svg { width: 22px; height: 22px; }
.b-avatar--gold { background: var(--color-accent); color: var(--color-accent-ink); }
.b-voice__who b { display: block; color: var(--color-text); font-size: 14px; }
.b-sample { display: inline-flex; align-items: center; gap: var(--space-2); padding: 6px 12px; border-radius: 999px; border: 1.5px dashed var(--color-text-muted); color: var(--color-text-muted); font-size: 12px; font-weight: 700; }
.b-sample svg { width: 16px; height: 16px; }

@keyframes b-zoom-out { from { transform: scale(1.3); } to { transform: scale(1.02); } }
/* ---------- kaz B（写真を全面に敷き、左に文字を重ねる） ---------- */
.b-kaz-sec { position: relative; isolation: isolate; background: var(--color-base); color: #fff; padding-block: clamp(96px, 11cqi, 160px); }
.b-kaz__visual { position: absolute; inset: 0; z-index: -1; }
.b-kaz__visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,20,38,0.95) 0%, rgba(11,20,38,0.82) 36%, rgba(11,20,38,0.25) 70%, rgba(11,20,38,0.1) 100%); }
.b-kaz__photo { height: 100%; margin: 0; }
.b-kaz__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 35%; filter: saturate(0.82) contrast(1.06) brightness(0.96); }
.b-kaz__text { max-width: 540px; }
.b-kaz-sec .dg-quote, .b-kaz-sec .dg-kaz__name { color: #fff; }
.b-kaz-sec .dg-kaz__name small { color: rgba(255,255,255,0.7); }
.b-kaz__who { display: inline-flex; flex-direction: row-reverse; align-items: center; gap: var(--space-4); margin-bottom: var(--space-6); padding: 16px 24px 16px 16px; border-radius: 16px; background: rgba(255,255,255,0.07); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.b-kaz__who .dg-kaz__name { margin: 0; }
.b-kaz__who + .b-tl { margin-top: 0; }
.b-kaz__face { flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; }
.b-kaz__face > div, .b-kaz__face .dg-ph { width: 100%; height: 100%; aspect-ratio: 1; }
.b-kaz__face img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; transform: scale(1.35); transform-origin: 50% 22%; }
.b-kaz__face .dg-ph svg { width: 24px; height: 24px; }
.b-kaz__face .dg-ph div { font-size: 0; }
.b-kaz-sec .b-tl__icon { background: rgba(255,255,255,0.08); color: var(--color-accent); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.16); }
.b-kaz-sec .b-tl li:last-child .b-tl__icon { background: var(--color-accent); color: var(--color-base); box-shadow: none; }
.b-kaz-sec .b-tl b { color: #fff; }
.b-kaz-sec .b-tl small { color: rgba(255,255,255,0.65); }
.b-kaz-sec .dg-link { color: #fff; border-bottom-color: var(--color-accent); }
.b-kaz-sec .dg-link svg { color: var(--color-accent); }
.b-tl { position: relative; display: grid; gap: var(--space-5); margin-block: var(--space-6) var(--space-7); }
.b-tl li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: var(--space-4); align-items: start; }
.b-tl__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--color-primary-tint); color: var(--color-primary); }
.b-tl__icon svg { width: 26px; height: 26px; }
.b-tl li:last-child .b-tl__icon { background: var(--color-primary); color: #fff; }
.b-tl b { display: block; font-size: 17px; }
.b-tl small { display: block; font-size: 13px; color: var(--color-text-muted); font-family: var(--font-num); letter-spacing: 0.06em; }

/* ---------- blog tilt ---------- */
.b-post { border-radius: 16px; overflow: hidden; background: var(--color-surface); border: 1px solid var(--color-line); transition: transform 500ms var(--ease-out), box-shadow 500ms; display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.b-post:hover { transform: perspective(900px) rotateX(3deg) translateY(-8px); box-shadow: 0 30px 50px -24px rgba(11,20,38,0.4); }
.b-post__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.b-post__img img, .b-post__img .dg-ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.b-post:hover .b-post__img img { transform: scale(1.1); }
.b-post__cat { position: absolute; left: 14px; top: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,0.94); color: var(--color-primary-strong); font-size: 12px; font-weight: 900; }
.b-post__cat svg { width: 15px; height: 15px; }
.b-post__body { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); flex: 1; }
.b-post__body time { font-family: var(--font-num); font-size: 13px; color: var(--color-text-muted); letter-spacing: 0.06em; }
.b-post__body h3 { font-size: 18px; font-weight: 900; line-height: 1.6; word-break: auto-phrase; }
.b-post__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; color: var(--color-primary); }
.b-post__more svg { width: 18px; height: 18px; transition: transform 300ms var(--ease-out); }
.b-post:hover .b-post__more svg { transform: translateX(6px); }

/* faq icons */
.b-acc summary { grid-template-columns: 44px minmax(0, 1fr) 28px; }
.b-acc__ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--color-primary-tint); color: var(--color-primary); }
.b-acc__ico svg { width: 22px; height: 22px; }
.b-acc .dg-acc__a { padding-left: 56px; }

/* ---------- CTA B ---------- */
.b-cta { min-height: clamp(640px, 70cqi, 880px); display: flex; align-items: center; text-align: center; }
.b-cta .dg-container { display: flex; flex-direction: column; align-items: center; }
.b-cta__big { font-size: clamp(52px, 10cqi, 150px); font-weight: 900; line-height: 1.05; margin-bottom: var(--space-5); }
.b-cta__big span { display: inline-block; }
@supports (animation-timeline: view()) {
  .b-cta .dg-photo__move img { animation: b-zoom-out linear both; animation-timeline: view(); }
  .b-cta__big { animation: b-slam linear both; animation-timeline: view(); animation-range: entry 20% cover 50%; }
}
@keyframes b-slam { from { opacity: 0; transform: scale(1.6); letter-spacing: 0.2em; } to { opacity: 1; transform: none; letter-spacing: 0; } }
.b-cta__perks { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-5); margin-top: var(--space-6); font-size: 14px; font-weight: 700; color: var(--color-on-dark-muted); }
.b-cta__perks span { display: inline-flex; align-items: center; gap: var(--space-2); }
.b-cta__perks svg { width: 18px; height: 18px; color: var(--color-accent); }

/* floating CTA (phones) */
.b-float-cta { display: none; }

/* ---------- phones ---------- */
@container dg (max-width: 767px) {
  .b-hero { margin-top: -60px; height: clamp(700px, 100svh, 820px); align-items: flex-end; padding-bottom: 76px; }
  .b-hero__grid { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .b-slides img { object-position: var(--pos-m, var(--pos, 50% 50%)); }
  .b-title { font-size: clamp(36px, 10.4cqi, 48px); }
  .b-live { font-size: 12px; white-space: nowrap; padding: 6px 12px 6px 10px; }
  .b-live__time { font-size: 15px; }
  .b-live > span:last-child { display: none; }
  .b-badge { position: absolute; right: 8px; top: 68px; width: 96px; height: 96px; }
  .b-badge__core { width: 48px; height: 48px; }
  .b-badge__core svg { width: 22px; height: 22px; }
  .b-hero__ctas { flex-direction: column; align-items: stretch; }
  .b-hero__ctas .dg-btn { width: 100%; }
  .b-scroll { display: none; }
  .b-ticker { height: 44px; }
  .b-ticker__item { font-size: 14px; }
  .b-features, .b-targets { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
  .b-feature { padding: var(--space-6) var(--space-5); }
  .b-stats__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .b-stat { padding: var(--space-5) var(--space-2) var(--space-6); }
  .b-stat__num { font-size: clamp(44px, 13cqi, 60px); }
  .b-stat__desc { font-size: 13px; }
  .b-stat:nth-child(3) { border-left: 0; }
  .b-stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.2); }
  .b-why__track { animation: none !important; width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: var(--space-4); scrollbar-width: none; }
  .b-reason, .b-reason--photo { width: 82cqi; min-height: 400px; scroll-snap-align: center; }
  .b-flow { grid-template-columns: minmax(0, 1fr); gap: var(--space-5); }
  .b-flow__rail { top: 44px; bottom: 44px; left: 42px; right: auto; width: 4px; height: auto; }
  .b-flow__rail::after { background: linear-gradient(180deg, var(--color-primary), var(--color-accent)); transform-origin: 50% 0; }
  .b-flow__step { display: grid; grid-template-columns: 88px minmax(0, 1fr); column-gap: var(--space-4); text-align: left; align-items: center; }
  .b-flow__icon { margin: 0; grid-row: span 2; }
  .b-target { align-items: flex-end; }
  .b-kaz-sec { padding-block: 0 72px; }
  .b-kaz__visual { position: relative; inset: auto; z-index: 0; height: 72vw; max-height: 520px; }
  .b-kaz__visual::after { background: linear-gradient(0deg, rgba(11,20,38,1) 0%, rgba(11,20,38,0) 55%); }
  .b-kaz { position: relative; margin-top: -40px; }
  .b-kaz__photo img { object-position: 62% 35%; }
  .b-cta { min-height: 720px; }
  .b-float-cta { display: flex; position: sticky; bottom: 0; z-index: 40; gap: var(--space-3); padding: var(--space-3) var(--gutter); background: rgba(var(--color-scrim), 0.94); backdrop-filter: blur(10px); border-top: 1px solid var(--color-on-dark-line); }
  .b-float-cta .dg-btn { flex: 1; }
}
@container dg (min-width: 768px) and (max-width: 1080px) {
  .b-flow { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: var(--space-7); }
  .b-flow__rail { display: none; }
  .b-stats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .b-slides img:not(:first-child) { display: none; }
  .b-count { --b-n: var(--to); }
}
.dg--still .b-slides img:not(:first-child) { display: none; }

/* ---------- location: where is Stuttgart (dark map panel) ---------- */
.b-loc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-8); align-items: center; }
.b-loc__list { margin-top: var(--space-6); }
.b-loc__list li { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding-block: 14px; border-top: 1px solid var(--color-line); font-size: 17px; font-weight: 700; }
.b-loc__list li:last-child { border-bottom: 1px solid var(--color-line); }
.b-loc__time { display: inline-flex; align-items: center; gap: var(--space-2); color: var(--color-primary); font-weight: 900; white-space: nowrap; }
.b-loc__time svg { width: 20px; height: 20px; }
.b-loc__note { margin-top: var(--space-3); font-size: 13px; color: var(--color-text-muted); }

.b-loc__panel { position: relative; margin: 0; padding: clamp(20px, 3cqi, 40px); border-radius: 24px; overflow: hidden; color: #fff;
  background: radial-gradient(circle at 45% 45%, rgba(255,206,0,0.16), transparent 50%), radial-gradient(rgba(255,255,255,0.08) 1px, transparent 1.4px) 0 0 / 14px 14px, linear-gradient(160deg, #22355E, var(--color-base) 70%);
  box-shadow: 0 40px 80px -40px rgba(11,20,38,0.6); }
.b-loc__map { position: relative; width: 100%; max-width: 400px; margin: 0 auto; aspect-ratio: 370 / 500; }
.b-loc__map svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.b-loc__graticule line { stroke: rgba(255,255,255,0.07); stroke-width: 1; }
.b-loc__land { fill: #15254A; }
.b-loc__south { fill: url(#b-south); }
.b-loc__sweep { fill: url(#b-sweep); animation: b-sweep-x 5s ease-in-out infinite; }
@keyframes b-sweep-x { from { transform: translateX(-140px); } to { transform: translateX(500px); } }
.b-loc__lat { stroke: rgba(255,255,255,0.4); stroke-width: 1; stroke-dasharray: 2 5; }
.b-loc__border { fill: none; stroke: rgba(255,255,255,0.85); stroke-width: 2; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; filter: drop-shadow(0 0 8px rgba(255,255,255,0.45)); }
.b-loc__flag { filter: url(#b-wave); }
.b-loc__route { stroke: #0B1426; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 3 6; opacity: 0.85; animation: b-dash 1.1s linear infinite; }
@keyframes b-dash { to { stroke-dashoffset: -18; } }
.b-loc__train { fill: #fff; filter: drop-shadow(0 0 3px rgba(0,0,0,0.9)); }
.b-loc__ring { fill: none; stroke: #FFFFFF; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: b-radar 3s ease-out infinite; }
.b-loc__ring:nth-of-type(2) { animation-delay: 1s; }
.b-loc__ring:nth-of-type(3) { animation-delay: 2s; }
@keyframes b-radar { from { transform: scale(0.1); opacity: 0.9; } to { transform: scale(1.5); opacity: 0; } }
@supports (animation-timeline: view()) {
  .b-loc__border { animation: b-outline linear both; animation-timeline: view(); animation-range: entry 10% cover 45%; }
  .b-loc__pin { animation: b-pin-in linear both; animation-timeline: view(); animation-range: entry 0% entry 100%; }
}
@keyframes b-outline { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes b-pin-in { from { opacity: 0; scale: 0.6; } to { opacity: 1; scale: 1; } }

/* city chips: the dot sits exactly on the coordinate */
.b-loc__pin { position: absolute; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 6px; border-radius: 999px; background: rgba(7,13,25,0.88); border: 1px solid rgba(255,255,255,0.18); color: #fff; font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; transform: translate(-10px, -50%); }
.b-loc__pin::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; flex: none; }
.b-loc__pin--left { flex-direction: row-reverse; padding: 3px 6px 3px 10px; transform: translate(calc(-100% + 10px), -50%); }
.b-loc__pin--up { transform: translate(-10px, -100%); }
.b-loc__pin--ref { color: rgba(255,255,255,0.85); font-weight: 500; font-size: 11px; border-color: rgba(255,255,255,0.35); }
.b-loc__pin--ref::before { width: 6px; height: 6px; background: rgba(255,255,255,0.6); }
.b-loc__pin--main { font-size: 15px; font-weight: 900; color: var(--color-accent); background: var(--color-base); border-color: var(--color-accent); padding: 5px 14px 5px 6px; transform: translate(-13px, -50%); box-shadow: 0 8px 24px -6px rgba(217,164,0,0.6); }
.b-loc__pin--main::before { width: 14px; height: 14px; background: var(--color-accent); box-shadow: 0 0 0 3px rgba(255,255,255,0.6); }
.b-loc__region { position: absolute; transform: translate(-50%, -50%); padding: 4px 12px; border-radius: 6px; background: rgba(7,13,25,0.78); color: #fff; font-size: clamp(13px, 1.6cqi, 17px); font-weight: 900; letter-spacing: 0.3em; white-space: nowrap; }
.b-loc__deg { position: absolute; left: 0; transform: translateY(-50%); font-family: var(--font-num); font-size: 10px; letter-spacing: 0.08em; color: rgba(255,255,255,0.35); }
.b-loc__compass { position: absolute; right: clamp(16px, 2.4cqi, 28px); top: clamp(16px, 2.4cqi, 28px); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); display: grid; place-items: center; font-family: var(--font-num); font-size: 14px; color: #fff; }
.b-loc__compass::before { content: ""; position: absolute; top: -7px; left: 50%; margin-left: -5px; border: 5px solid transparent; border-bottom: 8px solid var(--color-accent); }
.b-loc__foot { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); margin-top: var(--space-5); font-size: 11px; color: rgba(255,255,255,0.6); }
.b-loc__scale { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-num); letter-spacing: 0.06em; }
.b-loc__scale i { display: block; width: 62px; height: 6px; border: 1.5px solid rgba(255,255,255,0.7); border-top: 0; }

/* ---------- 03 reasons: compact cards over a photo ---------- */
.b-why2 { padding-block: var(--section-pad); }
.b-why2__grid { display: flex; gap: var(--space-4); overflow-x: auto; padding-block: 12px 8px; margin-top: -12px; scrollbar-width: none; cursor: grab; touch-action: pan-x pan-y;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.b-why2__grid::-webkit-scrollbar { display: none; }
.b-why2__grid.is-dragging { cursor: grabbing; user-select: none; }
.b-why2__grid.is-dragging .b-why2__card { pointer-events: none; }
.b-why2__card { flex: 0 0 clamp(240px, 23cqi, 290px); position: relative; padding: var(--space-5) var(--space-5) var(--space-6); border-radius: 16px; background: rgba(11,20,38,0.66); border: 1px solid rgba(255,255,255,0.18); backdrop-filter: blur(10px); transition: transform 400ms var(--ease-out), border-color 400ms, background-color 400ms; }
.b-why2__card:hover { transform: translateY(-8px); border-color: var(--color-accent); background: rgba(11,20,38,0.82); }
.b-why2__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(217,164,0,0.16); color: var(--color-accent); margin-bottom: var(--space-4); transition: transform 500ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.b-why2__icon svg { width: 26px; height: 26px; }
.b-why2__card:hover .b-why2__icon { transform: rotate(-12deg) scale(1.15); }
.b-why2__no { position: absolute; top: 16px; right: 18px; font-family: var(--font-num); font-size: 26px; line-height: 1; color: rgba(255,255,255,0.3); }
.b-why2__card h3 { font-size: 17px; font-weight: 900; line-height: 1.5; margin-bottom: var(--space-2); word-break: auto-phrase; }
.b-why2__card p { font-size: 14px; line-height: 1.8; color: var(--color-on-dark-muted); }
.b-why2__card--kaz { background: var(--color-accent); border-color: var(--color-accent); color: var(--color-accent-ink); }
.b-why2__card--kaz:hover { background: var(--color-accent); }
.b-why2__card--kaz p, .b-why2__card--kaz .b-why2__no { color: rgba(11,20,38,0.75); }
.b-why2__card--kaz .b-why2__icon { background: rgba(11,20,38,0.12); color: var(--color-accent-ink); }
.b-why2__swipe { display: flex; align-items: center; gap: var(--space-2); margin-top: var(--space-3); font-size: 12px; color: var(--color-on-dark-muted); }
.b-why2__swipe svg { width: 18px; height: 18px; animation: b-nudge 1.4s ease-in-out infinite; }

@container dg (max-width: 767px) {
  .b-loc__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-7); }
  .b-loc__list li { font-size: 16px; }
  .b-loc__pin { font-size: 11px; padding: 2px 8px 2px 5px; }
  .b-loc__pin--main { font-size: 13px; }
  .b-why2__card { flex-basis: 72%; }
}
@media (prefers-reduced-motion: reduce) { .b-loc__train, .b-loc__folds { display: none; } .b-loc__flag { filter: none; } }
.dg--still .b-loc__train, .dg--still .b-loc__folds { display: none; }
.dg--still .b-loc__flag { filter: none; }

/* ---------- 02 target: "who is this for" — rotating headline + flip cards ---------- */
.b-tgt { padding-block: var(--section-pad); }
.b-tgt .dg-photo::before, .b-why2 .dg-photo::before { content: ""; position: absolute; inset: -20% -60%; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.14) 48%, rgba(217,164,0,0.12) 52%, transparent 60%);
  animation: b-floodlight 9s ease-in-out infinite; }
@keyframes b-floodlight { 0% { transform: translateX(-35%); } 50% { transform: translateX(35%); } 100% { transform: translateX(-35%); } }
.b-tgt__title { font-size: clamp(28px, 4.2cqi, 54px); font-weight: 900; line-height: 1.25; margin-bottom: var(--space-4); word-break: auto-phrase; }
.b-rot { --rh: 1.4em; display: block; height: var(--rh); overflow: hidden; color: var(--color-accent); }
.b-rot__list { display: flex; flex-direction: column; animation: b-rot 16s cubic-bezier(0.7, 0, 0.3, 1) infinite; }
.b-rot__list span { display: block; height: var(--rh); line-height: 1.3em; white-space: nowrap; }
@keyframes b-rot {
  0%, 16% { transform: translateY(0); }
  20%, 36% { transform: translateY(calc(var(--rh) * -1)); }
  40%, 56% { transform: translateY(calc(var(--rh) * -2)); }
  60%, 76% { transform: translateY(calc(var(--rh) * -3)); }
  80%, 96% { transform: translateY(calc(var(--rh) * -4)); }
  100% { transform: translateY(calc(var(--rh) * -5)); }
}
}
.b-tgt__lead { font-size: var(--fs-lead); color: var(--color-on-dark-muted); max-width: 40em; margin-bottom: var(--space-7); }

.b-flips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-4); }
.b-flip { perspective: 1200px; border-radius: 18px; outline: none; cursor: pointer; }
.b-flip:focus-visible { outline: 3px solid var(--color-accent); outline-offset: 4px; }
.b-flip__inner { position: relative; min-height: 240px; height: 100%; transform-style: preserve-3d; transition: transform 700ms cubic-bezier(0.3, 1.3, 0.5, 1); }
@media (hover: hover) { .b-flip:hover .b-flip__inner { transform: rotateY(180deg); } }
.b-flip:focus-visible .b-flip__inner, .b-flip.is-flipped .b-flip__inner { transform: rotateY(180deg); }
.b-flip__face { position: absolute; inset: 0; display: flex; flex-direction: column; padding: var(--space-5); border-radius: 18px; backface-visibility: hidden; -webkit-backface-visibility: hidden; overflow: hidden; }
.b-flip__front { background: rgba(11,20,38,0.62); border: 1px solid rgba(255,255,255,0.2); backdrop-filter: blur(10px); color: #fff; }
.b-flip__front::before { content: "“"; position: absolute; right: 14px; top: -14px; font-family: var(--font-num); font-size: 120px; line-height: 1; color: rgba(217,164,0,0.25); }
.b-flip__who { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: rgba(255,255,255,0.12); font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.85); margin-bottom: var(--space-4); }
.b-flip__who svg { width: 14px; height: 14px; color: var(--color-accent); }
.b-flip__quote { font-size: clamp(18px, 1.7cqi, 21px); font-weight: 900; line-height: 1.6; word-break: auto-phrase; }
.b-flip__hint { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: rgba(255,255,255,0.6); }
.b-flip__hint svg { width: 14px; height: 14px; }
.b-flip__back { transform: rotateY(180deg); background: var(--color-accent); color: var(--color-accent-ink); justify-content: center; }
.b-flip__back b { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0.1em; margin-bottom: var(--space-3); }
.b-flip__back b svg { width: 18px; height: 18px; }
.b-flip__back p { font-size: 16px; font-weight: 700; line-height: 1.75; }

.b-elig { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-7); }
.b-elig span { display: inline-flex; align-items: center; gap: var(--space-2); padding: 10px 18px 10px 12px; border-radius: 999px; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25); backdrop-filter: blur(8px); font-weight: 700; font-size: 15px; }
.b-elig span svg { width: 20px; height: 20px; color: var(--color-accent); }
.b-elig span em { font-style: normal; color: var(--color-accent); font-family: var(--font-num); font-size: 18px; }
.b-tgt__close { margin-top: var(--space-6); font-weight: 700; color: var(--color-on-dark-muted); }

@container dg (max-width: 767px) {
  .b-rot { --rh: 2.7em; }
  .b-rot__list span { white-space: normal; }
  .b-flips { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3); }
  .b-flip__inner { min-height: 230px; }
  .b-flip__face { padding: var(--space-4); }
  .b-flip__quote { font-size: 15px; }
  .b-flip__back p { font-size: 13px; }
  .b-flip__front::before { font-size: 80px; }
  .b-elig span { font-size: 13px; padding: 8px 14px 8px 10px; }
}
@container dg (min-width: 768px) and (max-width: 1080px) {
  .b-flips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { .b-flip__inner { transition: none; } }

/* ---------- 08 pricing ---------- */
@property --b-ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.b-price { position: relative; overflow: hidden; background: var(--color-base); color: #fff; padding-block: var(--section-pad); }
.b-price::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 85% 10%, rgba(217,164,0,0.18), transparent 40%), radial-gradient(circle at 10% 90%, rgba(15,107,58,0.35), transparent 45%); }
.b-price > .dg-container { position: relative; }
.b-price .dg-lead { color: var(--color-on-dark-muted); }

.b-plans { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 1.1fr); gap: var(--space-5); align-items: stretch; }
.b-plan { position: relative; display: flex; flex-direction: column; padding: var(--space-6) var(--space-5); border-radius: 20px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.16); transition: transform 400ms var(--ease-out), background-color 400ms; }
.b-plan:hover { transform: translateY(-8px); background: rgba(255,255,255,0.08); }
.b-plan--feature { background: rgba(217,164,0,0.08); border-color: transparent; }
.b-plan--feature::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px; pointer-events: none;
  background: conic-gradient(from var(--b-ang), var(--color-accent), transparent 25%, transparent 50%, var(--color-accent) 75%, transparent);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: b-orbit 4s linear infinite; }
@keyframes b-orbit { to { --b-ang: 360deg; } }
.b-plan__top { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); margin-bottom: var(--space-4); min-height: 28px; }
.b-plan__badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 12px; border-radius: 999px; background: var(--color-accent); color: var(--color-accent-ink); font-size: 12px; font-weight: 900; }
.b-plan__badge svg { width: 14px; height: 14px; }
.b-plan__badge--line { background: transparent; color: rgba(255,255,255,0.85); border: 1px solid rgba(255,255,255,0.4); }
.b-plan__sample { margin-left: auto; padding: 2px 8px; border-radius: 4px; border: 1px dashed rgba(217,164,0,0.7); color: var(--color-accent); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; }
.b-plan__name { font-size: 22px; font-weight: 900; line-height: 1.4; }
.b-plan__for { font-size: 13px; color: var(--color-on-dark-muted); margin-bottom: var(--space-5); }
.b-plan__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 6px; font-family: var(--font-num); font-weight: 700; font-size: clamp(40px, 4.2cqi, 56px); line-height: 1.05; }
.b-plan__price small { font-family: var(--font-sans); font-size: 15px; font-weight: 700; color: var(--color-on-dark-muted); }
.b-plan__price em { font-style: normal; color: var(--color-accent); }
.b-plan__plus { display: block; font-family: var(--font-sans); font-size: 13px; font-weight: 700; color: var(--color-on-dark-muted); margin: 6px 0 2px; }
.b-plan__sub { font-size: 13px; color: var(--color-on-dark-muted); margin-top: var(--space-2); min-height: 1.8em; }
.b-plan__list { margin: var(--space-5) 0 var(--space-6); padding-top: var(--space-5); border-top: 1px solid rgba(255,255,255,0.14); display: grid; gap: var(--space-3); }
.b-plan__list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: var(--space-2); font-size: 14px; line-height: 1.6; }
.b-plan__list svg { width: 18px; height: 18px; margin-top: 2px; color: var(--color-accent); }
.b-plan .dg-btn { margin-top: auto; width: 100%; }

/* lump-sum / instalment switch (class on the card; JS or state toggles it) */
.b-paytoggle { display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,0.1); margin-bottom: var(--space-4); }
.b-paytoggle button { min-height: 36px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,0.8); font: 700 14px var(--font-sans); cursor: pointer; transition: background-color 250ms, color 250ms; }
.b-plan:not(.is-split) .b-paytoggle button:first-child, .b-plan.is-split .b-paytoggle button:last-child { background: #fff; color: var(--color-base); }
.b-plan .b-pay-split, .b-plan.is-split .b-pay-lump { display: none; }
.b-plan.is-split .b-pay-split { display: flex; }
.b-plan.is-split .b-plan__sub.b-pay-split { display: block; }
.b-pay-lump, .b-pay-split { animation: b-fadeup 400ms var(--ease-out); }
@keyframes b-fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* what is included */
.b-incl { margin-top: var(--space-8); display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--space-6); }
.b-incl__box { border-radius: 20px; padding: var(--space-6); background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); }
.b-incl__box h3 { display: flex; align-items: center; gap: var(--space-2); font-size: 18px; font-weight: 900; margin-bottom: var(--space-5); }
.b-incl__box h3 svg { width: 22px; height: 22px; color: var(--color-accent); }
.b-incl__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5) var(--space-4); }
.b-incl__item { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-2); font-size: 14px; font-weight: 700; line-height: 1.5; }
.b-incl__item span { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(217,164,0,0.14); color: var(--color-accent); transition: transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.b-incl__item:hover span { transform: rotate(-10deg) scale(1.12); }
.b-incl__item svg { width: 22px; height: 22px; }
.b-excl { display: grid; gap: var(--space-2); }
.b-excl li { display: flex; align-items: center; gap: var(--space-2); font-size: 14px; color: var(--color-on-dark-muted); }
.b-excl li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.4); flex: none; }
.b-excl__note { margin-top: var(--space-4); font-size: 13px; color: var(--color-on-dark-muted); }

.b-payways { margin-top: var(--space-6); display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.b-payways > b { font-size: 14px; margin-right: var(--space-2); }
.b-payways span { display: inline-flex; align-items: center; gap: var(--space-2); padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2); font-size: 14px; font-weight: 700; }
.b-payways span svg { width: 18px; height: 18px; color: var(--color-accent); }

@container dg (max-width: 767px) {
  .b-plans { grid-template-columns: minmax(0, 1fr); }
  .b-plan--feature { order: -1; }
  .b-incl { grid-template-columns: minmax(0, 1fr); }
  .b-incl__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .b-incl__box { padding: var(--space-5); }
}
@container dg (min-width: 768px) and (max-width: 1080px) {
  .b-plans { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .b-plan--feature { grid-column: span 2; order: -1; }
  .b-incl { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- header: social icons, hamburger at the far right, inquiry form in the menu ---------- */
.dg-nav { gap: 22px; }
.dg-nav a { font-size: 14px; white-space: nowrap; }
.dg-social { display: flex; align-items: center; gap: 2px; }
.dg-social a { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff; text-decoration: none; transition: background-color 200ms, transform 200ms; }
.dg-social a:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }
.dg-social svg { width: 20px; height: 20px; }
.dg-social--footer { margin-top: var(--space-4); margin-left: -10px; }
.dg-menu-btn { margin-left: 2px; }
.dg-mobile-menu { max-height: calc(100svh - var(--header-h)); overflow-y: auto; }
.b-inq { margin-top: var(--space-6); padding: var(--space-5); border-radius: 16px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); }
.b-inq__title { font-size: 18px; font-weight: 900; margin-bottom: var(--space-2); }
.b-inq__fields { display: grid; gap: var(--space-2); }
.b-inq__lead { font-size: 13px; color: var(--color-on-dark-muted); margin-bottom: var(--space-2); }
.b-inq label { font-size: 13px; font-weight: 700; margin-top: var(--space-2); }
.b-inq__input { width: 100%; min-height: 46px; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.28); background: rgba(255,255,255,0.08); color: #fff; font: 400 16px/1.6 var(--font-sans); }
.b-inq__input:focus { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px rgba(217,164,0,0.25); }
textarea.b-inq__input { min-height: 110px; resize: vertical; }
.dg-mobile-menu .b-inq .dg-btn { margin-top: var(--space-3); }
.b-inq__done { display: none; font-size: 14px; color: var(--color-on-dark-muted); }
.b-inq.is-sent .b-inq__fields { display: none; }
.b-inq.is-sent .b-inq__done { display: block; }
@container dg (max-width: 1080px) {
  .dg-header__bar { gap: var(--space-2); }
  .dg-nav { display: none; }
  .dg-menu-btn { display: inline-flex; }
  .dg-social { margin-left: auto; }
}
@container dg (max-width: 767px) {
  .dg-social a { width: 38px; height: 38px; }
}

/* 08: two plan cards + consultation banner */
.b-plans { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.b-consult { margin-top: var(--space-7); display: flex; align-items: center; gap: var(--space-5); padding: var(--space-6); border-radius: 20px;
  background: linear-gradient(120deg, rgba(15,107,58,0.55), rgba(11,20,38,0.2)); border: 1px solid rgba(255,255,255,0.18); }
.b-consult__icon { width: 72px; height: 72px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--color-accent); color: var(--color-accent-ink); animation: b-pulse 2.4s ease-out infinite; }
.b-consult__icon svg { width: 34px; height: 34px; }
.b-consult__text { flex: 1; min-width: 0; }
.b-consult__title { font-size: clamp(20px, 2cqi, 26px); font-weight: 900; margin-bottom: var(--space-2); }
.b-consult__sub { font-size: 14px; line-height: 1.8; color: var(--color-on-dark-muted); }
.b-consult .dg-btn { flex: none; }
@container dg (max-width: 1080px) {
  .b-consult { flex-wrap: wrap; }
  .b-consult .dg-btn { width: 100%; }
}
@container dg (max-width: 767px) {
  .b-consult { flex-direction: column; align-items: flex-start; padding: var(--space-5); }
  .b-consult .dg-btn { padding: 0 var(--space-4); font-size: 16px; }
}
@container dg (min-width: 768px) and (max-width: 1080px) {
  .b-plans { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .b-plan--feature { grid-column: auto; order: 0; }
}

/* 08 compact layout (shorter section) */
.b-price .dg-head { margin-bottom: var(--space-6); }
.b-plan { padding: var(--space-5); }
.b-plan__top { margin-bottom: var(--space-3); }
.b-plan__for { margin-bottom: var(--space-3); }
.b-paytoggle { margin-bottom: var(--space-3); }
.b-plan__list { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-2) var(--space-4); margin: var(--space-4) 0 0; padding-top: var(--space-4); }
.b-plan__list li { font-size: 13px; }
.b-incl { margin-top: var(--space-5); grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: var(--space-4); }
@container dg (max-width: 1080px) { .b-incl { grid-template-columns: minmax(0, 1fr); } }
.b-incl__box { padding: var(--space-4) var(--space-5); }
.b-incl__box h3 { font-size: 16px; margin-bottom: var(--space-3); }
.b-incl__grid { gap: var(--space-3) var(--space-4); }
.b-incl__item { flex-direction: row; align-items: center; gap: var(--space-3); font-size: 13px; }
.b-incl__item span { width: 34px; height: 34px; border-radius: 10px; flex: none; }
.b-incl__item svg { width: 18px; height: 18px; }
.b-excl { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.b-excl__note { margin-top: var(--space-2); }
.b-payways { margin-top: var(--space-4); }
.b-consult { margin-top: var(--space-5); padding: var(--space-5) var(--space-6); }
@container dg (max-width: 767px) {
  .b-plan__list { grid-template-columns: minmax(0, 1fr); }
  .b-incl__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .b-incl__item { font-size: 12px; gap: var(--space-2); }
  .b-incl__item span { width: 30px; height: 30px; }
}

/* 08: each plan is one wide row — name and price on the left, what's included on the right */
.b-plans { grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
.b-plan { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: var(--space-7); align-items: center; padding: var(--space-5) var(--space-6); }
.b-plan:hover { transform: translateY(-4px); }
.b-plan--feature { order: 0; }
.b-plan__main { min-width: 0; }
.b-plan__list { margin: 0; padding: 0 0 0 var(--space-6); border-top: 0; border-left: 1px solid rgba(255,255,255,0.14); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-3) var(--space-4); }
.b-plan__list li { font-size: 14px; }
.b-plan__sub { min-height: 0; }
@container dg (max-width: 900px) {
  .b-plan { grid-template-columns: minmax(0, 1fr); padding: var(--space-5); }
  .b-plan__list { margin-top: var(--space-4); padding: var(--space-4) 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,0.14); }
}
@container dg (max-width: 767px) {
  .b-plan--feature { order: -1; }
  .b-plan__list { grid-template-columns: minmax(0, 1fr); gap: var(--space-2); }
  .b-plan__list li { font-size: 13px; }
}

/* 08: one plan at a time — tabs + auto rotation (6s) */
.b-plantabs { display: flex; gap: var(--space-2); margin-bottom: var(--space-4); padding: 4px; border-radius: 999px; background: rgba(255,255,255,0.08); width: max-content; max-width: 100%; }
.b-plantabs button { position: relative; overflow: hidden; min-height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: rgba(255,255,255,0.8); font: 700 15px var(--font-sans); cursor: pointer; transition: background-color 300ms, color 300ms; }
.b-plantabs button.is-active { background: #fff; color: var(--color-base); }
.b-plantabs button.is-active::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 5px; height: 3px; border-radius: 2px; background: var(--color-accent); transform-origin: 0 50%; animation: b-plan-timer 6s linear both; }
@keyframes b-plan-timer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.b-plans { display: grid; grid-template-columns: minmax(0, 1fr); }
.b-plans > .b-plan { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateX(32px); transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), visibility 0s linear 500ms; }
.b-plans > .b-plan.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out), visibility 0s; }
.b-plans > .b-plan.is-active:hover { transform: translateY(-4px); }
@container dg (max-width: 767px) {
  .b-plantabs { width: 100%; }
  .b-plantabs button { flex: 1; padding: 0 10px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .b-plantabs button.is-active::after { display: none; } }
.dg--still .b-plantabs button.is-active::after { display: none; }

/* 08: line spacing inside the plan cards */
.b-plan__name { margin-bottom: var(--space-1); }
.b-plan__for { line-height: 1.75; margin-bottom: var(--space-4); }
.b-paytoggle { margin-bottom: var(--space-4); }
.b-plan__price { margin-top: var(--space-1); }
.b-plan__plus { margin: var(--space-3) 0 var(--space-1); }
.b-plan__sub { margin-top: var(--space-3); line-height: 1.75; }
.b-plan__list { gap: var(--space-4) var(--space-5); }
.b-plan__list li { font-size: 14px; line-height: 1.75; }
.b-incl__grid { gap: var(--space-4) var(--space-5); }
.b-incl__item { line-height: 1.65; }
.b-excl { gap: var(--space-3) var(--space-5); }
.b-excl__note { margin-top: var(--space-3); line-height: 1.75; }
@container dg (max-width: 767px) {
  .b-plan__list { gap: var(--space-3); }
  .b-plan__list li { font-size: 13px; }
}

/* 08: more air between the divider and the check items */
.b-plan__list { padding-left: var(--space-7); gap: var(--space-5) var(--space-6); }
.b-plan__list li { grid-template-columns: 22px minmax(0, 1fr); gap: var(--space-3); }
@container dg (max-width: 900px) {
  .b-plan__list { margin-top: var(--space-5); padding: var(--space-5) 0 0; }
}
@container dg (max-width: 767px) {
  .b-plan__list { gap: var(--space-4); }
}

/* 08: plan list spacing — stronger selector so the base `.dg ul { margin:0; padding:0 }` reset can't cancel it */
.b-plan ul.b-plan__list { margin: 0; padding: var(--space-2) 0 var(--space-2) var(--space-7); }
@container dg (max-width: 900px) {
  .b-plan ul.b-plan__list { margin: var(--space-5) 0 0; padding: var(--space-5) 0 0; }
}

/* 11 final CTA: one line, generous line height */
.b-cta__big { font-size: clamp(30px, 8.4cqi, 108px); line-height: 1.5; white-space: nowrap; margin-bottom: var(--space-6); }
.b-cta__sub { font-size: clamp(15px, 1.5cqi, 18px); line-height: 2; margin: var(--space-2) 0 var(--space-8); }
/* stronger selectors: the base `.dg p / .dg h2 { margin: 0 }` reset otherwise wins */
.dg .b-cta__big { margin: 0 0 var(--space-5); }
.dg .b-cta__sub { margin: 0 0 var(--space-8); }

/* hero: breathing room from the clock down to the consultation button (.dg prefix beats the base p/h1 reset) */
.dg .b-live { margin: 0 0 var(--space-7); }
.dg .b-title { margin: 0 0 var(--space-6); line-height: 1.22; }
.dg .b-hero__sub { margin: 0 0 var(--space-8); line-height: 1.9; }
@container dg (max-width: 767px) {
  .dg .b-live { margin-bottom: var(--space-6); }
  .dg .b-title { margin-bottom: var(--space-5); }
  .dg .b-hero__sub { margin-bottom: var(--space-7); }
}
