/* ============================================================
   Proinnova — Apple-Schaufenster (Redesign v2)
   Show, don't tell: echte Produkt-Screenshots als Bildsprache,
   dunkle cinematische Bühnen, Geräte-Mockups, Scroll-Inszenierung.
   ============================================================ */
:root {
  --bg:          #fbfbfd;
  --bg-section:  #f5f5f7;
  --bg-dark:     #0a0a0f;
  --black:       #000;
  --card:        #fff;
  --ink:         #1d1d1f;
  --ink-soft:    #6e6e73;
  --ink-faint:   #86868b;
  --line:        #d2d2d7;
  --accent:      #0071e3;
  --maxw:        1240px;
  --nav-h:       52px;
  --r-lg:        24px;
  --r-md:        18px;
  --shadow:      0 30px 80px rgba(0,0,0,.10);
  --shadow-dark: 0 40px 120px rgba(0,0,0,.55);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Helvetica Neue", "Inter", "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.4,0,.2,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font); background: var(--bg); color: var(--ink);
  line-height: 1.47; letter-spacing: -.015em; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--accent); display: block; margin-bottom: 14px; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--nav-h);
  transition: background .3s var(--ease), backdrop-filter .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav__inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h);
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.nav__brand { font-weight: 600; font-size: 20px; letter-spacing: -.02em; color: #fff; transition: color .3s; }
.nav__brand b { color: #2997ff; }
.nav__links { display: flex; gap: 26px; margin-left: auto; align-items: center; }
.nav__links a { font-size: 13px; color: rgba(255,255,255,.82); transition: color .25s, opacity .2s; }
.nav__links a:hover { color: #fff; }
.nav__cta { background: var(--accent); color: #fff !important; padding: 7px 15px; border-radius: 980px; font-weight: 500;
  transition: background .2s, transform .2s; }
.nav__cta:hover { background: #0077ed; transform: translateY(-1px); }
.nav--solid { background: rgba(251,251,253,.8); backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom-color: rgba(0,0,0,.09); }
.nav--solid .nav__brand { color: var(--ink); }
.nav--solid .nav__brand b { color: var(--accent); }
.nav--solid .nav__links a { color: var(--ink); }
@media (max-width: 820px){ .nav__links a:not(.nav__cta){ display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 500;
  padding: 13px 26px; border-radius: 980px; border: none; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #0077ed; transform: translateY(-2px); box-shadow: 0 12px 34px rgba(0,113,227,.4); }
.btn--ghost-light { background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.22); }
.btn--ghost-light:hover { background: rgba(255,255,255,.2); transform: translateY(-2px); }
.arrow { transition: transform .25s var(--ease); display: inline-block; }
a:hover .arrow, .btn:hover .arrow { transform: translateX(4px); }

/* ============================================================
   Geräte-Mockups (reines CSS über echten Screenshots)
   ============================================================ */
.mock-browser { border-radius: 14px; overflow: hidden; background: #fff;
  box-shadow: var(--shadow-dark); border: 1px solid rgba(255,255,255,.08); }
.mock-browser__bar { height: 38px; background: #e9e9ee; display: flex; align-items: center; gap: 8px; padding: 0 14px; }
.mock-browser__bar i { width: 12px; height: 12px; border-radius: 50%; display: block; }
.mock-browser__bar i:nth-child(1){ background:#ff5f57; } .mock-browser__bar i:nth-child(2){ background:#febc2e; } .mock-browser__bar i:nth-child(3){ background:#28c840; }
.mock-browser__url { margin-left: 12px; flex: 1; height: 22px; border-radius: 6px; background: #fff;
  font-size: 11px; color: #8a8a8e; display: flex; align-items: center; padding: 0 12px; max-width: 320px; }
.mock-browser img, .mock-browser video { width: 100%; height: auto; display: block; }

.mock-iphone { position: relative; border-radius: 44px; background: #0c0c0e; padding: 9px;
  box-shadow: var(--shadow-dark), inset 0 0 0 2px rgba(255,255,255,.06); }
.mock-iphone::before { content: ""; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 34%; height: 22px; background: #000; border-radius: 14px; z-index: 3; }
.mock-iphone__screen { border-radius: 36px; overflow: hidden; background: #000; }
.mock-iphone__screen img { width: 100%; height: auto; display: block; }

/* ============================================================
   Hero — dunkle Produktbühne
   ============================================================ */
.hero { position: relative; background: var(--bg-dark); color: #f5f5f7; overflow: hidden;
  min-height: 94vh; display: flex; align-items: center; padding: calc(var(--nav-h) + 70px) 0 80px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background:
  radial-gradient(60% 50% at 18% 12%, rgba(0,113,227,.34) 0%, transparent 60%),
  radial-gradient(55% 55% at 88% 30%, rgba(140,80,255,.28) 0%, transparent 60%),
  radial-gradient(50% 50% at 70% 95%, rgba(0,180,160,.18) 0%, transparent 60%); }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.hero__text, .hero__stage { min-width: 0; }
.hero__eyebrow { color: #2997ff; font-weight: 600; font-size: 16px; letter-spacing: .01em; }
.hero h1 { font-size: clamp(46px, 7.5vw, 96px); line-height: 1.03; font-weight: 700; letter-spacing: -.04em; margin: 14px 0 0; color: #fff; }
.hero__sub { font-size: clamp(18px, 2.1vw, 23px); color: #a1a1a6; max-width: 36ch; margin: 22px 0 0; letter-spacing: -.01em; }
.hero__cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

/* Hero-Collage */
.collage { position: relative; width: 100%; max-width: 540px; margin-left: auto; padding: 28px 24px; }
.collage__main { position: relative; z-index: 1; width: 88%; margin-left: auto; }
.collage__phone { position: absolute; z-index: 2; }
.collage__phone--a { width: 22%; bottom: 0; left: 0; z-index: 2; }
.collage__phone--b { width: 17%; top: 0; right: 0; z-index: 0; opacity: .97; }
.float { animation: float 7s var(--ease) infinite; }
.float--2 { animation-delay: -2.5s; } .float--3 { animation-delay: -4.5s; }
@keyframes float { 0%,100%{ transform: translateY(0) rotate(var(--rot,0deg)); } 50%{ transform: translateY(-16px) rotate(var(--rot,0deg)); } }
@media (max-width: 900px){
  .hero { min-height: auto; text-align: center; padding-top: calc(var(--nav-h) + 54px); }
  .hero .wrap { grid-template-columns: 1fr; gap: 38px; }
  .hero__sub { margin-left: auto; margin-right: auto; }
  .hero__cta { justify-content: center; }
  .collage { min-height: 360px; margin-top: 10px; }
}

/* ---------- Stat-Band (dunkel) ---------- */
.stats { background: var(--bg-dark); color: #f5f5f7; padding: 30px 0 86px; }
.stats__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 28px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 48px; }
@media (max-width: 760px){ .stats__grid { grid-template-columns: repeat(2,1fr); gap: 32px 18px; } }
.stat__value { font-size: clamp(40px,5vw,60px); font-weight: 700; letter-spacing: -.04em; color: #fff; line-height: 1; }
.stat__label { font-size: 14px; color: #a1a1a6; margin-top: 12px; line-height: 1.4; }
.trustpills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 40px; }
.trustpills span { font-size: 12px; color: #c7c7cc; border: 1px solid rgba(255,255,255,.16); border-radius: 980px; padding: 6px 13px; }

/* ============================================================
   Flaggschiff-Story-Bänder (full-bleed dunkel, Glow)
   ============================================================ */
.band { position: relative; background: var(--black); color: #f5f5f7; overflow: hidden; padding: clamp(80px,11vw,150px) 0; }
.band:nth-child(even){ background: var(--bg-dark); }
.band__inner { display: grid; grid-template-columns: 1fr 1.08fr; gap: clamp(40px,6vw,80px); align-items: center; }
.band--left .band__inner { direction: rtl; }            /* Medien links */
.band--left .band__inner > * { direction: ltr; }
.band__text h2 { font-size: clamp(34px,5vw,62px); font-weight: 700; letter-spacing: -.035em; line-height: 1.05; color: #fff; }
.band__lead { font-size: clamp(18px,2.1vw,22px); color: #b4b4ba; margin-top: 18px; max-width: 40ch; }
.band__list { list-style: none; margin: 26px 0 30px; display: grid; gap: 13px; }
.band__list li { font-size: 16px; color: #d6d6db; display: flex; gap: 12px; align-items: flex-start; }
.band__list li::before { content: ""; flex: none; width: 20px; height: 20px; margin-top: 2px; border-radius: 50%;
  background: var(--c,#0071e3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/12px no-repeat; }
.band__cta { display: inline-flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 500; color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 3px; }
.band__text, .band__media { min-width: 0; }
.band__media { position: relative; }
.band__media .mock-iphone { max-width: 290px; margin: 0 auto; }
.band__media::before { content: ""; position: absolute; inset: -14% -10%; z-index: 0; border-radius: 50%;
  background: radial-gradient(circle, var(--c,#0071e3) 0%, transparent 62%); opacity: .5; filter: blur(20px); }
.band__media > * { position: relative; z-index: 1; will-change: transform; }
@media (max-width: 900px){
  .band__inner, .band--left .band__inner { grid-template-columns: 1fr; direction: ltr; gap: 40px; }
  .band__media { order: -1; }
}

/* ============================================================
   Lineup (helles bilddominantes Grid)
   ============================================================ */
.section { padding: clamp(90px,12vw,160px) 0; }
.section--tint { background: var(--bg-section); }
.section__head { max-width: 32ch; margin: 0 auto clamp(46px,6vw,68px); text-align: center; }
.section__head h2 { font-size: clamp(32px,4.6vw,56px); font-weight: 700; letter-spacing: -.03em; line-height: 1.06; }
.section__head p { font-size: clamp(18px,2.1vw,21px); color: var(--ink-soft); margin-top: 16px; }

.grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 900px){ .grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .grid { grid-template-columns: 1fr; } }
.tile { background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  border: 1px solid rgba(0,0,0,.05); }
.tile:hover { transform: translateY(-7px); box-shadow: 0 44px 100px rgba(0,0,0,.16); }
.tile__shot { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #eef0f3; }
.tile__shot::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 -1px 0 rgba(0,0,0,.06); }
.tile__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s var(--ease); }
.tile:hover .tile__shot img { transform: scale(1.045); }
.tile__badge { position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 12px; font-weight: 600;
  background: rgba(0,0,0,.72); color: #fff; padding: 5px 11px; border-radius: 980px; backdrop-filter: blur(6px); }
.tile__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.tile__name { font-size: 21px; font-weight: 650; letter-spacing: -.02em; }
.tile__tag { font-size: 15px; color: var(--ink-soft); margin-top: 6px; flex: 1; }
.tile__cta { margin-top: 18px; font-size: 15px; font-weight: 500; color: var(--c,var(--accent)); display: inline-flex; gap: 6px; align-items: center; }

/* Konversions-Block */
.cband { text-align: center; margin-top: clamp(56px,7vw,80px); padding: clamp(40px,6vw,64px); border-radius: var(--r-lg);
  background: linear-gradient(135deg,#1d1d1f,#3a3a3c); color: #fff; }
.cband h3 { font-size: clamp(26px,3.4vw,38px); font-weight: 700; letter-spacing: -.025em; }
.cband p { color: #c7c7cc; margin: 12px auto 24px; max-width: 44ch; font-size: 18px; }

/* ---------- Live-Beweis Pills ---------- */
.refrow { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.pill-live { display: inline-flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--line);
  border-radius: 980px; padding: 11px 18px; font-size: 15px; box-shadow: 0 6px 20px rgba(0,0,0,.05);
  transition: transform .25s var(--ease), box-shadow .25s; }
.pill-live:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.1); }
.pill-live .dot { width: 9px; height: 9px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 4px rgba(52,199,89,.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 4px rgba(52,199,89,.18);} 50%{ box-shadow: 0 0 0 7px rgba(52,199,89,.05);} }
.pill-live b { font-weight: 600; } .pill-live span.tag { color: var(--ink-faint); }

/* ============================================================
   Warum (dunkel) mit Screenshot-Marquee-Hintergrund
   ============================================================ */
.dark { position: relative; background: var(--bg-dark); color: #f5f5f7; overflow: hidden; }
.dark .section__head h2 { color: #fff; } .dark .section__head p { color: #a1a1a6; }
.marquee { position: absolute; inset: 0; z-index: 0; display: flex; gap: 18px; align-items: center;
  opacity: .12; filter: blur(3px) grayscale(.3); animation: slide 60s linear infinite; pointer-events: none; }
.marquee img { height: 230px; width: auto; border-radius: 12px; }
@keyframes slide { from{ transform: translateX(0);} to{ transform: translateX(-50%);} }
.dark .wrap { position: relative; z-index: 1; }
.values { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 760px){ .values { grid-template-columns: 1fr; } }
.value { background: rgba(28,28,32,.72); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--r-md); padding: 32px; }
.value__ic { width: 46px; height: 46px; color: #2997ff; margin-bottom: 18px; }
.value__ic svg { width: 100%; height: 100%; }
.value h4 { font-size: 21px; font-weight: 650; letter-spacing: -.02em; }
.value p { color: #a1a1a6; font-size: 16px; line-height: 1.55; margin-top: 8px; }

/* ---------- Über ---------- */
.about { text-align: center; max-width: 52ch; margin: 0 auto; }
.about h2 { font-size: clamp(30px,4.4vw,50px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.about p { font-size: clamp(18px,2.1vw,21px); color: var(--ink-soft); margin-top: 20px; }

/* ---------- Kontakt ---------- */
.contact-sec { background: var(--bg-dark); }
.contact { position: relative; overflow: hidden; border-radius: clamp(24px,4vw,40px);
  background: linear-gradient(135deg,#0071e3 0%, #6f4bff 100%); color: #fff; padding: clamp(46px,7vw,84px); text-align: center; }
.contact h2 { font-size: clamp(28px,4vw,46px); font-weight: 700; letter-spacing: -.025em; max-width: 20ch; margin: 0 auto; }
.contact p { font-size: 19px; opacity: .92; margin: 16px auto 0; max-width: 44ch; }
.form { display: grid; gap: 14px; max-width: 560px; margin: 34px auto 0; text-align: left; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px){ .form__row { grid-template-columns: 1fr; } }
.form input, .form select, .form textarea { width: 100%; font-family: var(--font); font-size: 16px; padding: 14px 16px;
  border-radius: 13px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.13); color: #fff; outline: none; transition: border-color .2s, background .2s; }
.form select option { color: #1d1d1f; }
.form input::placeholder, .form textarea::placeholder { color: rgba(255,255,255,.72); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: #fff; background: rgba(255,255,255,.2); }
.form textarea { min-height: 110px; resize: vertical; }
.form button { background: #fff; color: #0071e3; font-size: 17px; font-weight: 600; padding: 15px; border: none; border-radius: 980px; cursor: pointer; transition: transform .2s, box-shadow .2s; }
.form button:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.form__hint { font-size: 13px; opacity: .85; text-align: center; }
.form__msg { background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); border-radius: 14px; padding: 18px; text-align: center; font-size: 16px; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-section); color: var(--ink-soft); font-size: 13px; padding: 56px 0 40px; border-top: 1px solid var(--line); }
.footer__cols { display: grid; grid-template-columns: 1.5fr repeat(3,1fr); gap: 32px; padding-bottom: 30px; border-bottom: 1px solid var(--line); }
@media (max-width: 780px){ .footer__cols { grid-template-columns: 1fr 1fr; } }
.footer__brand b { color: var(--ink); font-size: 18px; } .footer__brand p { margin-top: 10px; max-width: 32ch; line-height: 1.5; }
.footer h5 { color: var(--ink); font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.footer ul { list-style: none; display: grid; gap: 9px; }
.footer ul a:hover { color: var(--ink); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 22px; }

/* ---------- Mobile Bottom-CTA ---------- */
.mcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(251,251,253,.9); backdrop-filter: blur(16px); border-top: 1px solid rgba(0,0,0,.1);
  transform: translateY(120%); transition: transform .4s var(--ease); }
.mcta.in { transform: none; }
.mcta a { display: block; text-align: center; background: var(--accent); color: #fff; font-weight: 600; padding: 13px; border-radius: 980px; }
@media (min-width: 821px){ .mcta { display: none; } }

/* ---------- Scroll-Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"]{ transition-delay: .08s; } .reveal[data-d="2"]{ transition-delay: .16s; } .reveal[data-d="3"]{ transition-delay: .24s; }
@media (prefers-reduced-motion: reduce){
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .marquee, .pill-live .dot { animation: none; }
  html { scroll-behavior: auto; }
}
