/* Processenius Landing – gemeinsames Stylesheet (DE + EN). Aus den Design-Canvas-Quellen
   abgeleitet (Farben, Abstaende, Struktur originalgetreu). Kein Framework, kein Build. */

:root {
  --navy: #052736;
  --navy-deep: #041e2a;
  --lime: #DCF467;
  --lime-hover: #e6fa80;
  --teal: #8BB8BD;
  --teal-dark: #0B5575;
  --teal-muted: #49717F;
  --pale: #DBEBEB;
  --green: #8FFBAF;
  --border: #D7DEE5;
  --white: #ffffff;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  background: var(--white);
  color: var(--navy);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--teal-dark); text-decoration: none; }
a:hover { color: var(--navy); }
img { max-width: 100%; }
::selection { background: var(--lime); color: var(--navy); }

/* ---- Hero-Hintergrund: sich zeichnendes Prozessdiagramm ---- */
@keyframes procDraw {
  0%   { stroke-dashoffset: 1; opacity: 0; }
  4%   { opacity: 1; }
  16%  { stroke-dashoffset: 0; opacity: 1; }
  90%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}
@keyframes procNode {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { opacity: 0; }
}
.pdraw { stroke-dasharray: 1; animation: procDraw 14s ease-in-out infinite; }
.pnode { animation: procNode 14s ease-in-out infinite; }

/* ---- Scroll-Einblendungen (Progressive Enhancement) ----
   Ohne JS ist ALLES sichtbar. Erst wenn <html class="js"> gesetzt ist, wird der
   Startzustand versteckt und per IntersectionObserver (.is-visible) eingeblendet. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal].d1 { transition-delay: .08s; }
.js [data-reveal].d2 { transition-delay: .16s; }
.js [data-reveal].d3 { transition-delay: .2s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pdraw, .pnode { animation: none; opacity: 1; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ---- Layout ---- */
.container { max-width: 1140px; margin: 0 auto; padding: 0 40px; }
.container.narrow { max-width: 1080px; }
.container.video { max-width: 1000px; }

.section { padding: 100px 40px; }
.section.pale { background: var(--pale); }
.section.navy { background: var(--navy); }
.section.white { background: var(--white); }
.clip { position: relative; overflow: hidden; }

/* ---- Wortmarke ---- */
.wordmark { color: var(--white); font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.wordmark .accent, .brand .accent { color: var(--lime); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  background: var(--lime);
  color: var(--navy);
  font-size: 17px;
  font-weight: 700;
  padding: 16px 30px;
  border-radius: 10px;
  letter-spacing: -.01em;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.btn:hover {
  color: var(--navy);
  background: var(--lime-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(220, 244, 103, .28);
}
.btn.lg { padding: 16px 34px; }

/* ---- Hero ---- */
.hero { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: .13; pointer-events: none;
}
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px 0; position: relative; z-index: 2;
}
.nav { display: flex; align-items: center; gap: 22px; font-size: 14px; }
.nav > a { color: var(--teal); }
.nav > a:hover { color: var(--white); }
.lang { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .04em; }
.lang a { color: var(--teal); }
.lang a:hover { color: var(--white); }
.lang .sep { color: var(--teal-muted); }
.lang .active { color: var(--white); font-weight: 700; }

.hero-inner { padding: 80px 0 120px; position: relative; z-index: 2; }
.hero .wordmark { font-size: 64px; margin-bottom: 44px; }
.hero-title {
  font-size: 56px; line-height: 1.04; font-weight: 700; letter-spacing: -.025em;
  margin: 0 0 24px; max-width: 780px;
}
.hero-sub {
  font-size: 20px; line-height: 1.55; color: var(--teal);
  max-width: 680px; margin: 0 0 40px;
}

/* ---- Headings ---- */
.h2 { font-size: 34px; font-weight: 700; letter-spacing: -.02em; margin: 0; color: var(--navy); }
.section.navy .h2 { color: var(--white); }
.h2.center { text-align: center; }

/* ---- Video ---- */
.section.video { padding: 96px 40px; }
.video-frame {
  position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px;
  overflow: hidden; background: var(--navy);
  box-shadow: 0 20px 50px rgba(5, 39, 54, .18); border: 1px solid var(--teal);
}
.video-frame > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.video-overlay {
  position: absolute; inset: 0; background: rgba(5, 39, 54, .38);
  display: flex; align-items: center; justify-content: center;
}
.play {
  width: 84px; height: 84px; border-radius: 50%; background: var(--lime);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .3);
}
.video-note {
  position: absolute; bottom: 16px; left: 0; width: 100%; text-align: center;
  font-size: 13px; color: var(--pale); letter-spacing: .03em;
}

/* ---- Problem / Loesung ---- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; position: relative; z-index: 2; }
.prob .bar { width: 40px; height: 4px; background: var(--lime); margin-bottom: 22px; }
.prob .bar.green { background: var(--green); }
.prob h3 { font-size: 21px; font-weight: 700; margin: 0 0 14px; color: var(--navy); letter-spacing: -.01em; }
.prob p { font-size: 16px; line-height: 1.6; color: var(--teal-muted); margin: 0; }

.product-window { max-width: 1140px; margin: 72px auto 0; display: flex; justify-content: center; }
.product-window .frame {
  width: 78%; max-width: 860px; border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); box-shadow: 0 30px 70px rgba(5, 39, 54, .22);
}
.product-window .frame > img { display: block; width: 100%; height: auto; }

/* ---- Funktionen / Features ---- */
.features-sub { font-size: 17px; color: var(--teal); margin: 0 0 52px; max-width: 560px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border-radius: 16px; padding: 32px; border: 1px solid var(--teal-dark); }
.card > svg { margin-bottom: 18px; }
.card h3 { font-size: 19px; font-weight: 700; margin: 0 0 12px; color: var(--navy); }
.card p { font-size: 15px; line-height: 1.6; color: var(--teal-muted); margin: 0; }

/* ---- Split (Editor / Ueber uns) ---- */
.split { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.split.about { grid-template-columns: 1.35fr 1fr; gap: 64px; }
.badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--teal-dark); background: var(--pale);
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
}
.badge.white { background: var(--white); margin-bottom: 24px; }
.split h2 { font-size: 34px; font-weight: 700; letter-spacing: -.02em; color: var(--navy); margin: 0 0 18px; line-height: 1.12; }
.lead { font-size: 17px; line-height: 1.6; color: var(--teal-muted); margin: 0 0 28px; }
.checklist { display: flex; flex-direction: column; gap: 20px; }
.check { display: flex; gap: 14px; align-items: flex-start; }
.check > svg { flex: none; margin-top: 2px; }
.check p { font-size: 15px; line-height: 1.55; color: var(--navy); margin: 0; }
.check strong { font-weight: 700; }
.shot {
  border-radius: 14px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: 0 30px 70px rgba(5, 39, 54, .22);
}
.shot.bleed { width: 118%; }
.shot > img { display: block; width: 100%; height: auto; }
.caption { font-size: 13px; color: var(--teal-muted); margin: 14px 0 0; max-width: 90%; }

/* ---- Ueber uns ---- */
.about p.p1 { font-size: 17px; line-height: 1.65; color: var(--navy); margin: 0 0 18px; }
.about p.p2 { font-size: 17px; line-height: 1.65; color: var(--teal-muted); margin: 0 0 22px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: 13px; font-weight: 700; color: var(--teal-dark); background: var(--white);
  border: 1px solid var(--teal); padding: 8px 14px; border-radius: 999px;
}
.portrait {
  width: 100%; aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden;
  border: 1px solid var(--teal); box-shadow: 0 16px 40px rgba(5, 39, 54, .16);
}
.portrait > img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; }

/* ---- Final CTA ---- */
.section.cta { background: var(--navy); padding: 110px 40px; text-align: center; }
.section.cta .h2 {
  font-size: 40px; color: var(--white); margin: 0 auto 32px; max-width: 820px;
  line-height: 1.15; text-wrap: pretty;
}

/* ---- Footer ---- */
.footer { background: var(--navy-deep); color: var(--teal); padding: 56px 40px 40px; font-size: 14px; line-height: 1.7; }
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px;
  padding-bottom: 32px; border-bottom: 1px solid var(--teal-dark);
}
.brand { color: var(--white); font-size: 20px; font-weight: 700; margin-bottom: 16px; }
.legal-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-muted); margin-bottom: 8px; }
.addr { color: var(--teal); }
.addr a { color: var(--teal); }
.addr a:hover { color: var(--white); }
.meta { color: var(--teal-muted); font-size: 13px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 24px; font-size: 13px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--teal); }
.footer-links a:hover { color: var(--white); }

/* ---- Responsive (die .dc-Quellen waren desktop-only; Live-Site braucht Mobile) ---- */
@media (max-width: 900px) {
  .section, .section.video, .section.cta { padding-left: 24px; padding-right: 24px; }
  .container { padding: 0 24px; }
  .grid-3 { grid-template-columns: 1fr; gap: 40px; }
  .cards { grid-template-columns: 1fr; }
  .split, .split.about { grid-template-columns: 1fr; gap: 40px; }
  .shot.bleed { width: 100%; }
  .product-window .frame { width: 100%; }
  .hero .wordmark { font-size: 48px; }
  .hero-title { font-size: 40px; }
  .hero-sub { font-size: 18px; }
  .section.cta .h2 { font-size: 30px; }
}
@media (max-width: 560px) {
  .section { padding: 64px 20px; }
  .section.video { padding: 64px 20px; }
  .section.cta { padding: 72px 20px; }
  .container { padding: 0 20px; }
  .topbar { padding: 20px 0; }
  .nav { gap: 14px; font-size: 13px; }
  .hero-inner { padding: 56px 0 80px; }
  .hero .wordmark { font-size: 40px; margin-bottom: 28px; }
  .hero-title { font-size: 32px; }
  .h2 { font-size: 28px; }
  .footer { padding: 40px 20px 32px; }
}

/* ---- Kompakter Navy-Kopf + Legal-/Inhaltsseiten (Datenschutz/Privacy) ---- */
.topbar .wordmark.sm { font-size: 22px; margin-bottom: 0; }
.article { background: var(--white); padding: 72px 40px 96px; }
.article .container { max-width: 820px; }
.article h1 { font-size: 40px; font-weight: 700; letter-spacing: -.02em; color: var(--navy); margin: 0 0 8px; line-height: 1.1; }
.article .responsible { color: var(--teal-muted); font-size: 15px; line-height: 1.6; margin: 0 0 8px; }
.article h2 { font-size: 21px; font-weight: 700; color: var(--navy); margin: 36px 0 10px; letter-spacing: -.01em; }
.article p { font-size: 16px; line-height: 1.7; color: var(--teal-muted); margin: 0 0 14px; }
.article a { color: var(--teal-dark); }
.article a:hover { color: var(--navy); }
.back-link { display: inline-block; margin-top: 24px; font-weight: 700; color: var(--teal-dark); }
@media (max-width: 560px) {
  .article { padding: 48px 20px 64px; }
  .article h1 { font-size: 30px; }
}
