/* Sparvo marketing (sparvo.at) — mobile-first, brand teal, editorial one-pager */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@600;700;800&family=Figtree:wght@400;600;700&display=swap");

:root {
  --sm-accent: #005278;
  --sm-accent-2: #0a7ea6;
  --sm-mint: #1f9d7a;
  --sm-ink: #0b1f2a;
  --sm-muted: #5b7180;
  --sm-bg: #eef6fb;
  --sm-surface: rgba(255, 255, 255, 0.72);
  --sm-radius: 22px;
  --sm-font: "Figtree", system-ui, sans-serif;
  --sm-display: "Outfit", system-ui, sans-serif;
  --sm-shadow: 0 18px 50px rgba(0, 82, 120, 0.14);
  --sm-max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sm-hero-visual img,
  .sm-feature { transition: none !important; animation: none !important; }
}

body.sm-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sm-font);
  color: var(--sm-ink);
  background:
    radial-gradient(920px 480px at 8% -8%, #9fd9ff 0%, transparent 55%),
    radial-gradient(780px 420px at 100% 0%, #b8f0d4 0%, transparent 52%),
    linear-gradient(180deg, #f7fcff 0%, var(--sm-bg) 42%, #e7f3ea 100%);
  line-height: 1.55;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--sm-accent); }
a:hover { color: var(--sm-accent-2); }

.sm-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.sm-skip:focus { left: 0.75rem; top: 0.75rem; }

.sm-top {
  position: sticky;
  top: 0;
  z-index: 40;
  overflow: visible;
  backdrop-filter: blur(14px);
  background: rgba(247, 252, 255, 0.82);
  border-bottom: 1px solid rgba(0, 82, 120, 0.08);
}
.sm-top-inner {
  position: relative;
  width: min(var(--sm-max), 100%);
  margin: 0 auto;
  padding: 0.7rem 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.sm-brand {
  flex: 0 1 auto;
  min-width: 0;
  max-width: min(38vw, 140px);
}
.sm-brand img {
  height: 36px;
  width: auto;
  object-fit: contain;
}
.sm-nav {
  display: none;
  gap: 1rem;
  margin-left: 0.5rem;
}
.sm-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--sm-ink);
}
.sm-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-left: 0;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: 1px solid rgba(0, 82, 120, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--sm-accent);
  cursor: pointer;
}
.sm-burger-box {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 16px;
}
.sm-burger-box span {
  display: block;
  height: 2px;
  width: 100%;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.sm-top.is-nav-open .sm-burger-box span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.sm-top.is-nav-open .sm-burger-box span:nth-child(2) {
  opacity: 0;
}
.sm-top.is-nav-open .sm-burger-box span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
.sm-top.is-nav-open .sm-nav {
  display: flex;
  flex-direction: column;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin: 0;
  padding: 0.85rem 1rem 1rem;
  gap: 0.15rem;
  background: rgba(247, 252, 255, 0.96);
  border-bottom: 1px solid rgba(0, 82, 120, 0.1);
  box-shadow: 0 14px 28px rgba(0, 82, 120, 0.12);
  backdrop-filter: blur(12px);
}
.sm-top.is-nav-open .sm-nav a {
  padding: 0.7rem 0.35rem;
  border-bottom: 1px solid rgba(0, 82, 120, 0.08);
}
.sm-top.is-nav-open .sm-nav a:last-child {
  border-bottom: 0;
}
.sm-top-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 0 0 auto;
  min-width: 0;
}
.sm-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  flex: 0 0 auto;
  white-space: nowrap;
}
.sm-lang a {
  text-decoration: none;
  font-weight: 800;
  font-size: 0.8rem;
  margin-left: 0;
  color: var(--sm-accent);
  opacity: 0.65;
}
.sm-lang a[aria-current="true"] { opacity: 1; }

.sm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-family: var(--sm-display);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.sm-btn:hover { transform: translateY(-1px); }
.sm-btn-primary {
  background: linear-gradient(135deg, var(--sm-accent) 0%, var(--sm-accent-2) 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(0, 82, 120, 0.28);
}
.sm-btn-primary:hover { color: #fff; }
.sm-btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--sm-accent);
  border: 1px solid rgba(0, 82, 120, 0.18);
}
.sm-btn-compact {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}
.sm-btn-header {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(0, 82, 120, 0.16);
  white-space: nowrap;
  text-align: center;
  text-wrap: nowrap;
}
.sm-btn-header:hover {
  transform: none;
  box-shadow: 0 6px 16px rgba(0, 82, 120, 0.2);
}

/* Narrow phones: keep CTA on one line, avoid header overflow */
@media (max-width: 380px) {
  .sm-top-inner { padding: 0.65rem 0.65rem; gap: 0.35rem; }
  .sm-brand { max-width: min(34vw, 118px); }
  .sm-brand img { height: 32px; }
  .sm-burger { width: 36px; height: 36px; min-height: 36px; }
  .sm-btn-header {
    padding: 0.3rem 0.65rem;
    font-size: 0.72rem;
  }
}

.sm-hero {
  position: relative;
  overflow: hidden;
  padding: 1.4rem 0 2rem;
}
.sm-hero-bg {
  position: absolute;
  inset: 8% -10% auto;
  height: 70%;
  background:
    radial-gradient(circle at 70% 40%, rgba(10, 126, 166, 0.18), transparent 55%),
    radial-gradient(circle at 20% 70%, rgba(31, 157, 122, 0.16), transparent 50%);
  pointer-events: none;
}
.sm-hero-grid {
  width: min(var(--sm-max), 100%);
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
.sm-kicker {
  margin: 0 0 0.45rem;
  font-family: var(--sm-display);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--sm-accent-2);
}
.sm-hero h1,
.sm-section-head h2,
.sm-legal h1 {
  font-family: var(--sm-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0 0 0.75rem;
}
.sm-hero h1 { font-size: clamp(2rem, 7vw, 3.4rem); }
.sm-lead,
.sm-section-head p {
  margin: 0;
  color: var(--sm-muted);
  font-size: 1.05rem;
  max-width: 38rem;
}
.sm-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}
.sm-free-note {
  margin: 0.9rem 0 0;
  font-size: 0.92rem;
  color: var(--sm-mint);
  font-weight: 700;
}
.sm-hero-visual {
  position: relative;
  margin: 0;
  border-radius: calc(var(--sm-radius) + 6px);
  overflow: hidden;
  box-shadow: var(--sm-shadow);
  transform: translateY(0);
  animation: sm-float-in 0.9s ease both;
}
.sm-hero-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
.ai-content-mark {
  position: absolute;
  left: 0.55rem;
  bottom: 0.55rem;
  z-index: 2;
  background: rgba(11, 31, 42, 0.72);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 0.18rem 0.42rem;
  border-radius: 6px;
  line-height: 1;
  pointer-events: none;
}

@keyframes sm-float-in {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sm-section {
  padding: 2.5rem 0;
}
.sm-section-inner {
  width: min(var(--sm-max), 100%);
  margin: 0 auto;
  padding: 0 1rem;
}
.sm-section-head {
  margin-bottom: 1.4rem;
}
.sm-section-head h2 {
  font-size: clamp(1.55rem, 4.5vw, 2.35rem);
}

.sm-video-frame {
  border-radius: var(--sm-radius);
  overflow: hidden;
  box-shadow: var(--sm-shadow);
  background: #041820;
  aspect-ratio: 16 / 9;
}
.sm-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #041820;
}

.sm-feature-rail {
  display: grid;
  gap: 1.35rem;
}
.sm-feature {
  display: grid;
  gap: 0.85rem;
  padding: 0.35rem 0 1rem;
  border-bottom: 1px solid rgba(0, 82, 120, 0.1);
  animation: sm-float-in 0.7s ease both;
}
.sm-feature:nth-child(2) { animation-delay: 0.05s; }
.sm-feature:nth-child(3) { animation-delay: 0.1s; }
.sm-feature:nth-child(4) { animation-delay: 0.15s; }
.sm-feature-media {
  position: relative;
  margin: 0;
  border-radius: var(--sm-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 82, 120, 0.1);
}
.sm-feature-media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.sm-feature-copy h3 {
  font-family: var(--sm-display);
  font-size: 1.25rem;
  margin: 0 0 0.4rem;
}
.sm-feature-copy p { margin: 0 0 0.45rem; color: var(--sm-muted); }
.sm-feature-benefit {
  color: var(--sm-accent) !important;
  font-weight: 700;
}

.sm-share-panel,
.sm-contact,
.sm-cta-band-inner,
.sm-legal-inner {
  background: var(--sm-surface);
  border: 1px solid rgba(0, 82, 120, 0.08);
  border-radius: calc(var(--sm-radius) + 4px);
  padding: 1.35rem 1.1rem 1.5rem;
  box-shadow: 0 8px 28px rgba(0, 82, 120, 0.06);
  backdrop-filter: blur(8px);
}
.sm-share-actions {
  display: grid;
  gap: 0.65rem;
}
.sm-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 800;
  font-family: var(--sm-display);
  border: 0;
  cursor: pointer;
  color: #fff;
}
.sm-share-wa { background: #128c7e; }
.sm-share-fb { background: #1877f2; }
.sm-share-li { background: #0a66c2; }
.sm-share-copy { background: var(--sm-accent); }
.sm-share-hint {
  margin: 0.75rem 0 0;
  font-weight: 700;
  color: var(--sm-mint);
}

.sm-contact-grid {
  display: grid;
  gap: 1.25rem;
}
.sm-contact h3 {
  font-family: var(--sm-display);
  margin: 0 0 0.4rem;
}
.sm-mail {
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}

.sm-cta-band {
  padding-bottom: 3rem;
}
.sm-cta-band-inner {
  text-align: center;
  background:
    linear-gradient(135deg, rgba(0, 82, 120, 0.95), rgba(10, 126, 166, 0.92)),
    var(--sm-accent);
  color: #fff;
  border: 0;
}
.sm-cta-band-inner h2 {
  font-family: var(--sm-display);
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 4vw, 2rem);
}
.sm-cta-band-inner p {
  margin: 0 0 1.1rem;
  opacity: 0.92;
}
.sm-cta-band-inner .sm-btn-primary {
  background: #fff;
  color: var(--sm-accent);
  box-shadow: none;
}

.sm-footer {
  padding: 2.5rem 0 2rem;
  border-top: 1px solid rgba(0, 82, 120, 0.1);
  background: rgba(255, 255, 255, 0.45);
}
.sm-footer-inner {
  width: min(var(--sm-max), 100%);
  margin: 0 auto;
  padding: 0 1rem;
}
.sm-footer-brand img { height: 38px; width: auto; margin-bottom: 0.5rem; }
.sm-footer-brand p { color: var(--sm-muted); margin: 0 0 1.25rem; }
.sm-footer-cols {
  display: grid;
  gap: 1.25rem;
}
.sm-footer h2 {
  font-family: var(--sm-display);
  font-size: 0.95rem;
  margin: 0 0 0.45rem;
}
.sm-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.sm-footer li { margin: 0.35rem 0; }
.sm-footer a { text-decoration: none; font-weight: 600; }
.sm-footer-operator {
  margin: 0;
  color: var(--sm-muted);
  font-size: 0.92rem;
}
.sm-footer-copy {
  margin: 1.5rem 0 0;
  color: var(--sm-muted);
  font-size: 0.85rem;
}

.sm-legal-inner section { margin: 1.35rem 0; }
.sm-legal-inner h2 {
  font-family: var(--sm-display);
  font-size: 1.15rem;
  margin: 0 0 0.45rem;
}
.sm-legal-list {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
}
.sm-legal-list li { margin: 0.35rem 0; }
.sm-legal-back { margin-top: 1.75rem; }

.sm-cookie.cookie-consent {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 80;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--sm-shadow);
  padding: 1rem;
  max-width: 32rem;
  margin: 0 auto;
}
.sm-cookie .cookie-consent-title {
  font-family: var(--sm-display);
  font-weight: 800;
  margin: 0 0 0.4rem;
}
.sm-cookie .cookie-consent-text {
  margin: 0;
  color: var(--sm-muted);
  font-size: 0.92rem;
}
.sm-cookie .cookie-consent-categories {
  margin-top: 0.65rem;
}
.sm-cookie .cookie-consent-option {
  display: flex;
  gap: 0.45rem;
  align-items: flex-start;
  font-size: 0.9rem;
}
.cookie-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

@media (min-width: 720px) {
  .sm-burger { display: none; }
  .sm-nav {
    display: flex;
    position: static;
    flex-direction: row;
    padding: 0;
    margin-left: 0.5rem;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
  }
  .sm-nav a {
    padding: 0;
    border: 0;
  }
  .sm-top.is-nav-open .sm-nav {
    display: flex;
    flex-direction: row;
    position: static;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .sm-hero-grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    padding-top: 1rem;
  }
  .sm-share-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sm-contact-grid {
    grid-template-columns: 1fr 1fr;
  }
  .sm-footer-cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .sm-feature {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 1.25rem;
  }
  .sm-feature:nth-child(even) .sm-feature-media { order: 2; }
}

@media (min-width: 980px) {
  .sm-top-inner { padding: 0.85rem 1.25rem; }
  .sm-brand img { height: 46px; }
  .sm-share-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
