/* Naslovnica: natpis ispod kruga, sekcija "Was ist / Što je BusinessProfi24" i svjetlosna linija pri scrollu. */

.bp24-orbit-wrap .bp24-orbit-hint { width: fit-content; max-width: 100%; margin: 16px auto 0; padding: 7px 14px 7px 12px; gap: 8px; border: 1px solid rgba(125,211,252,.22); border-radius: 999px; background: rgba(8,19,33,.72); color: #cbd5e1; font-size: 13px; font-weight: 600; line-height: 1.35; }
.bp24-orbit-wrap .bp24-orbit-hint::before { width: 7px; height: 7px; }

/* Sekcija o BP24: tekst bez kutije lijevo, priča u jednoj kartici desno */
#definition.bp24-about > h2 { max-width: 760px; }
/* tekst bez kutije ostaje čitljiv kad linija prolazi iza njega */
#definition.bp24-about > .kicker, .bp24-about-main > h2, .bp24-about-main > p, .bp24-about-steps li { text-shadow: 0 0 6px #0b1220, 0 0 12px #0b1220; }
.bp24-about-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(22px, 4vw, 48px); align-items: start; margin-top: 14px; }
/* naslov je u lijevom stupcu (kartica desno počinje u njegovoj visini), manji od naslova sekcija */
.bp24-about-main > h2 { margin: 0 0 18px; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.2; }
.bp24-about-main > p { margin: 0 0 14px; color: var(--bp-text-secondary, #cbd5e1); }
.bp24-about-main .bp24-about-lead { margin-bottom: 18px; color: #f8fafc; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.4; font-weight: 600; letter-spacing: -.01em; }
.bp24-about-lead strong { color: #7dd3fc; }

.bp24-about-steps { counter-reset: bp24step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 4px 0 24px; padding: 0; list-style: none; }
.bp24-about-steps li { counter-increment: bp24step; position: relative; padding-top: 14px; border-top: 1px solid rgba(125,211,252,.28); color: #f1f5f9; font-weight: 700; font-size: 15px; line-height: 1.3; }
.bp24-about-steps li::before { content: "0" counter(bp24step); display: block; margin-bottom: 4px; color: #38bdf8; font-size: 12px; letter-spacing: .12em; font-weight: 700; }
.bp24-about-steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: #38bdf8; box-shadow: 0 0 10px rgba(56,189,248,.8); }

.bp24-about-swap { display: grid; gap: 2px; margin-top: 20px; border-radius: 16px; overflow: hidden; border: 1px solid rgba(125,211,252,.18); }
.bp24-about-swap p { margin: 0; padding: 14px 16px; line-height: 1.45; }
.bp24-about-swap span { display: block; margin-bottom: 2px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.bp24-about-swap .is-before { background: rgba(15,23,42,.55); color: #94a3b8; }
.bp24-about-swap .is-before s { text-decoration-color: rgba(248,113,113,.7); }
.bp24-about-swap .is-before span { color: #f87171; }
.bp24-about-swap .is-after { background: linear-gradient(90deg, rgba(14,165,233,.16), rgba(14,165,233,.04)); color: #f8fafc; font-weight: 600; box-shadow: inset 3px 0 0 #38bdf8; }
.bp24-about-swap .is-after span { color: #7dd3fc; }

.bp24-about-story.card { margin: 0; padding: 26px 22px 22px; }
.bp24-about-story > .bp24-about-year { margin: 0 0 4px; color: transparent; -webkit-text-stroke: 1px rgba(125,211,252,.5); font-size: clamp(52px, 6vw, 68px); font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.bp24-about-story h3 { position: relative; margin: 0 0 12px; }
.bp24-about-story > p { position: relative; }
#definition .bp24-about-story .bp24-about-label { margin: 18px 0 10px; color: #7dd3fc; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; }
.bp24-about-cycle { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 6px; margin: 0; padding: 0; list-style: none; }
.bp24-about-cycle li { display: inline-flex; align-items: center; gap: 6px; color: #e2e8f0; font-size: 14px; font-weight: 600; }
.bp24-about-cycle li > span { padding: 6px 11px; border: 1px solid rgba(125,211,252,.25); border-radius: 16px; background: rgba(14,165,233,.08); line-height: 1.35; }
.bp24-about-cycle li:not(:last-child)::after { content: "→"; content: "→" / ""; color: #38bdf8; }
.bp24-about-cycle li:last-child::after { content: "↻"; content: "↻" / ""; color: #38bdf8; font-size: 1.15em; }

.bp24-about-steps.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

@media (max-width: 860px) {
  .bp24-about-grid { grid-template-columns: 1fr; }
  .bp24-about-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 18px; }
  .bp24-about-steps.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* Mobitel (i povećana slova u pregledniku): koraci jedan ispod drugoga, pilula puna širina */
@media (max-width: 600px) {
  .bp24-about-cycle { flex-direction: column; align-items: stretch; }
  .bp24-about-cycle li > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
  .bp24-about-cycle li:not(:last-child)::after { content: "↓"; content: "↓" / ""; }
}

/* Svjetlosna linija: ispod sadržaja, glava iznad sadržaja i ispod zaglavlja (z-index 30) */
main.wrap { position: relative; z-index: 1; }
.bp24-light-route { position: absolute; top: 0; left: 0; z-index: 0; pointer-events: none; overflow: visible; }
.bp24-light-route path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.bp24-light-track { stroke: rgba(125,211,252,.2); stroke-width: 1.2; stroke-dasharray: 2 7; }
.bp24-light-glow { stroke: rgba(56,189,248,.12); stroke-width: 12; }
.bp24-light-mid { stroke: rgba(56,189,248,.32); stroke-width: 4; }
.bp24-light-core { stroke: rgba(224,242,254,.85); stroke-width: 1.5; }
.bp24-light-station { fill: #0b1830; stroke: rgba(125,211,252,.4); stroke-width: 1.5; transition: fill .3s, stroke .3s; }
.bp24-light-station.is-lit { fill: #7dd3fc; stroke: #e0f2fe; }
.kicker.bp24-lit { color: #7dd3fc !important; text-shadow: 0 0 14px rgba(56,189,248,.55); transition: color .3s, text-shadow .3s; }

.bp24-light-head { position: absolute; top: 0; left: 0; z-index: 20; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #e0f2fe; box-shadow: 0 0 16px 5px rgba(125,211,252,.85); opacity: 0; pointer-events: none; will-change: transform; transition: opacity .2s; }
.bp24-light-on .bp24-light-head { opacity: 1; }
.bp24-light-on .bp24-orbit-spin { animation-play-state: paused; }
.bp24-light-on .bp24-orbit-spin::before { opacity: 0; }
.bp24-orbit-spin::before { transition: opacity .2s; }

@media (prefers-reduced-motion: reduce) {
  .bp24-light-head { display: none; }
}
.bp24-light-branch { fill: none; stroke: rgba(125,211,252,.18); stroke-width: 1.5; stroke-linecap: round; transition: stroke .3s; }
.bp24-light-branch.is-lit { stroke: rgba(186,230,253,.9); }

/* Red tema: dok se sam vrti, oba ruba blijede; pomak ide transformom (glatko, bez trzaja po pikselu) */
.topic-strip.is-moving { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 88%, transparent); }
.topic-strip.is-moving > a { transform: translate3d(var(--strip-x, 0px), 0, 0); }

/* Kartice „Vier Wege” / „Karta puta” (poveznice, ne .card): isti rub i sjaj pod mišem kao kartice „Passt BusinessProfi24 zu dir?” */
#wege .bp24-pathway-card {
  border-color: rgba(125, 211, 252, .22);
  box-shadow: 0 0 0 1px rgba(96, 165, 250, .08), 0 10px 30px rgba(2, 6, 23, .28), 0 0 18px rgba(59, 130, 246, .08);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
}
@media (hover: hover) {
  #wege .bp24-pathway-card:hover {
    border-color: rgba(224, 242, 254, .98);
    background: linear-gradient(145deg, rgba(10, 21, 42, .96), rgba(4, 10, 22, .97));
    box-shadow: 0 0 0 1px rgba(186, 230, 253, .62), 0 0 34px rgba(125, 211, 252, .44), 0 0 78px rgba(59, 130, 246, .46), 0 18px 58px rgba(2, 6, 23, .42);
    transform: translateY(-2px);
  }
}
#wege .bp24-pathway-card:focus-visible {
  border-color: rgba(224, 242, 254, .98);
  box-shadow: 0 0 0 1px rgba(186, 230, 253, .62), 0 0 34px rgba(125, 211, 252, .44), 0 0 78px rgba(59, 130, 246, .46);
}

/* Mobitel: nakon dodira kartica ostaje „pod prstom” i bijelo svijetli; na dodirnim ekranima hover izgleda kao mirno stanje */
@media (hover: none) {
  .card:hover, .panel:hover, details:hover, .mini:hover, .cta:hover, .list li:hover, .stat:hover, .signup:hover {
    transform: none !important;
    border-color: rgba(125, 211, 252, .22) !important;
    box-shadow: 0 0 0 1px rgba(96, 165, 250, .08), 0 10px 30px rgba(2, 6, 23, .28), 0 0 18px rgba(59, 130, 246, .08) !important;
  }
  .card:hover::after, .panel:hover::after, details:hover::after, .mini:hover::after, .cta:hover::after { border-color: rgba(186, 230, 253, .18) !important; box-shadow: none !important; }
}

/* Podnožje: logo + tri stupca s naslovima (BP24, teme, pravno); „Privatnost” bez okvira kartice */
.footer .footer-inner { gap: 28px 56px; }
.footer .footer-cols { display: grid; grid-template-columns: repeat(3, minmax(150px, auto)); gap: 24px 56px; }
.footer-col { display: grid; gap: 8px; align-content: start; }
.footer .footer-col .footer-h { margin: 0 0 4px; color: #7dd3fc; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.footer .footer-col .footer-note { margin: 4px 0 0; max-width: 220px; color: #94a3b8; font-size: 12px; line-height: 1.45; }
.footer #analytics-privacy, .footer #analytics-privacy:hover { border: 0 !important; background: none !important; box-shadow: none !important; transform: none !important; }
.footer #analytics-privacy::before, .footer #analytics-privacy::after { content: none !important; }
/* tri stupca sve do mobitela; tek na uskom ekranu dva, a „Rechtliches” ispod preko cijele širine */
@media (max-width: 760px) {
  .footer .footer-cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 28px; width: 100%; }
}
@media (max-width: 520px) {
  .footer .footer-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer .footer-col.is-legal { grid-column: 1 / -1; }
}
