/* ============================================================
   UMANO AG · Design System
   Brand: Titillium Web · Blau #006690 · Dunkelblau #003553
   ============================================================ */

:root {
  /* Brand colors (from Brandbook) */
  --u-blue: #006690;
  --u-blue-dark: #003553;
  --u-blue-light: #A8D2DE;
  --u-green: #5FA593;
  --u-green-light: #A9DBD4;
  --u-rose: #F59293;
  --u-rose-light: #F9BBBB;
  --u-grey: #6F736E;
  --u-grey-light: #B5B5B2;
  --u-black: #0A1620;
  --u-white: #FFFFFF;

  /* Surfaces */
  --bg: #FBFCFD;
  --bg-soft: #F2F6F8;
  --bg-dark: #002238;
  --line: rgba(0, 53, 83, 0.10);
  --line-strong: rgba(0, 53, 83, 0.18);

  /* Text */
  --ink: #0A1620;
  --ink-2: #34495A;
  --ink-3: #55606B; /* WCAG-AA: war #6F7B86 (~4.3:1), jetzt ~6.4:1 auf Weiss */
  --ink-on-dark: #EAF4F8;

  /* Type scale */
  --f-sans: 'Titillium Web', system-ui, -apple-system, sans-serif;
  --f-display: 'Titillium Web', system-ui, sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --shell: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

/* Globaler, sichtbarer Fokus-Ring für Tastatur-Navigation (WCAG 2.4.7).
   Greift site-weit (Nav/Buttons/Footer geteilt). Doppelt: blauer Ring + heller
   Halo, damit er auf hellem UND auf dunkelblauem Grund (Nav/Footer) sichtbar ist. */
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--u-blue);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px rgba(168, 210, 222, 0.55);
  border-radius: var(--r-sm);
}
body {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ============================ TYPOGRAPHY ============================ */
.h-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--u-blue);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.h-eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--u-blue);
  display: inline-block;
}

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--u-blue-dark);
  text-wrap: balance;
}
.h-display {
  font-size: clamp(48px, 7vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  font-weight: 700;
}
.h-1 { font-size: clamp(32px, 3.8vw, 52px); }
.h-2 { font-size: clamp(32px, 3.8vw, 52px); }
.h-3 { font-size: clamp(22px, 2vw, 30px); }
.lead {
  font-size: clamp(18px, 1.4vw, 22px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 60ch;
  text-wrap: pretty;
}

/* ============================ SHELL ============================ */
.shell {
  max-width: var(--shell);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.shell-wide {
  max-width: clamp(1480px, 82vw, 1900px);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ============================ NAV ============================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s var(--ease), padding .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 2px;
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--u-blue-dark);
}
.nav-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.nav-logo .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--u-blue);
  margin-left: 4px;
  align-self: center;
  transform: translateY(-2px);
}
.nav-list {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0 0 0 auto; padding: 0;
}
.nav-list a {
  display: inline-block;
  padding: 10px 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  border-radius: 8px;
  position: relative;
  transition: color .2s var(--ease);
}
.nav-list a:hover { color: var(--u-blue); }
/* Aktive Seite: klar sichtbare Pille statt dünnem Strich */
.nav-list a.is-active {
  color: var(--u-blue);
  font-weight: 700;
  background: rgba(0, 102, 144, 0.12);
}
.nav-list a[href="video-boost.html"] {
  color: #2f7d62;
  font-weight: 700;
  background: rgba(95, 165, 147, 0.14);
}
.nav-list a[href="video-boost.html"]:hover {
  color: #2f7d62;
  background: rgba(95, 165, 147, 0.24);
}
/* Video-Boost als aktive Seite: kraeftigeres Gruen, damit "Du bist hier" auch hier greift */
.nav-list a[href="video-boost.html"].is-active {
  color: #2f7d62;
  background: rgba(95, 165, 147, 0.30);
}
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--u-blue-dark);
  color: white;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: transform .25s var(--ease), background .25s var(--ease);
}
.nav-cta:hover {
  background: var(--u-blue);
  transform: translateY(-1px);
}
.nav-cta svg { transition: transform .25s var(--ease); }
.nav-cta:hover svg { transform: translateX(3px); }

.nav-burger {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  align-items: center;
  justify-content: center;
}
.nav-burger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--ink);
  position: relative;
}
.nav-burger span::before,
.nav-burger span::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: 2px; background: var(--ink);
}
.nav-burger span::before { top: -6px; }
.nav-burger span::after { top: 6px; }

@media (max-width: 1180px) {
  .nav-list, .nav-cta { display: none; }
  .nav-burger { display: inline-flex; }
  .nav.is-open .nav-list {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: var(--gutter); right: var(--gutter);
    background: white;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 30px 60px rgba(0,53,83,.18);
  }
  .nav.is-open .nav-cta { display: inline-flex; margin-top: 8px; }
}

/* ============================ BUTTONS ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: all .25s var(--ease);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--u-blue-dark);
  color: white;
}
.btn-primary:hover {
  background: var(--u-blue);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(0, 102, 144, .55);
}
.btn-ghost {
  background: transparent;
  color: var(--u-blue-dark);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  border-color: var(--u-blue-dark);
  background: var(--u-blue-dark);
  color: white;
}
.btn svg { transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

/* ============================ FOOTER ============================ */
footer.foot {
  background: var(--bg-dark);
  color: var(--ink-on-dark);
  padding: 100px 0 48px;
  margin-top: 120px;
  position: relative;
  overflow: hidden;
}
.foot::before {
  content: "";
  position: absolute;
  inset: -200px -100px auto auto;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(168, 210, 222, 0.18), transparent 60%);
  pointer-events: none;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  position: relative;
  z-index: 1;
}
.foot-claim {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: white;
  margin: 0 0 24px;
  text-wrap: balance;
}
.foot h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--u-blue-light);
  margin: 0 0 18px;
}
.foot ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.foot a {
  color: rgba(234, 244, 248, 0.78);
  font-size: 15px;
  transition: color .2s var(--ease);
}
.foot a:hover { color: white; }
.foot-bottom {
  margin-top: 80px;
  padding-top: 28px;
  border-top: 1px solid rgba(168, 210, 222, 0.18);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font-size: 13px;
  color: rgba(234, 244, 248, 0.6);
}
@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 560px) {
  .foot-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================ MOTION HELPERS ============================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal-stagger.is-in > * {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger.is-in > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .35s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .45s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .55s; }

/* Failsafe: falls site.js nicht laeuft (JS deaktiviert oder durch VPN-/Adblocker
   blockiert), wird der Inhalt nach kurzer Zeit trotzdem eingeblendet statt
   dauerhaft unsichtbar zu bleiben. site.js setzt html.reveal-ready und schaltet
   dieses Netz ab, sodass bei aktivem JS die normalen Scroll-Animationen laufen. */
@keyframes reveal-failsafe { to { opacity: 1; transform: none; } }
html:not(.reveal-ready) .reveal,
html:not(.reveal-ready) .reveal-stagger > * {
  animation: reveal-failsafe .5s var(--ease) 1.4s forwards;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

/* ============================ PHOTO PLACEHOLDER ============================ */
.photo-slot {
  position: relative;
  background:
    linear-gradient(135deg, var(--u-blue-light) 0%, #DCEAF0 50%, #F0E6E6 100%);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--u-blue-dark);
  isolation: isolate;
}
.photo-slot::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(45deg, transparent 48%, rgba(0, 53, 83, 0.06) 49%, rgba(0, 53, 83, 0.06) 51%, transparent 52%);
  background-size: 22px 22px;
  pointer-events: none;
  z-index: 0;
}
.photo-slot-label {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 24px;
}
.photo-slot-label-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--u-blue-dark);
  margin-bottom: 12px;
}
.photo-slot-label-tag::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--u-blue);
  border-radius: 50%;
}
.photo-slot-label-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--u-blue-dark);
  opacity: 0.8;
  max-width: 200px;
  margin: 0 auto;
  line-height: 1.4;
}

/* Variants */
.photo-slot.var-rose { background: linear-gradient(135deg, var(--u-rose-light), #FCE6E6); }
.photo-slot.var-green { background: linear-gradient(135deg, var(--u-green-light), #DDF0EA); }
.photo-slot.var-blue-deep { background: linear-gradient(135deg, var(--u-blue-light), var(--u-blue) 200%); color: white; }
.photo-slot.var-blue-deep .photo-slot-label-tag,
.photo-slot.var-blue-deep .photo-slot-label-text { color: var(--u-blue-dark); }

/* ============================ TILT CARD ============================ */
.tilt {
  transition: transform .4s var(--ease);
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt:hover {
  transform: perspective(1000px) rotateX(2deg) rotateY(-3deg) translateY(-4px);
}

/* ============================ HEADLINE GRADIENT ============================ */
.gradient-text {
  background: linear-gradient(120deg, var(--u-blue-dark) 0%, var(--u-blue) 50%, var(--u-green) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ============================ KICKER PILL ============================ */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(168, 210, 222, 0.30);
  color: var(--u-blue-dark);
  font-size: 13px;
  font-weight: 600;
}
.pill-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--u-blue);
  position: relative;
}
.pill-dot::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: var(--u-blue);
  opacity: 0.4;
  animation: pulse 1.6s var(--ease) infinite;
}
@keyframes pulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(2.4); opacity: 0; }
}

/* ============================ SECTION ============================ */
section { padding: clamp(80px, 9vw, 140px) 0; }
section.tight { padding: clamp(56px, 6vw, 96px) 0; }
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.section-head > .lead { padding-top: 38px; }
@media (max-width: 880px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; align-items: start; }
}
