/* rqwire Landing Page: gemeinsames Stylesheet für de/ und en/ (Startseite und Impressum)
   Gleiche Design-Tokens wie die Dashboards (rqwire-dashboard/css/tokens.css): Farben, Schrift Inter, Radien, Schatten.
   Die Werte sind hierher kopiert, damit der Ordner eigenständig bleibt und allein veröffentlicht werden kann.
   Reihenfolge: Schrift, Tokens, Grundlagen, Kopfzeile, Hero, Abschnitte, Kosten, Ablauf, Fragen, App, Nächstes,
   Fußzeile, Impressum, Bewegung, kleinere Bildschirme. */

@font-face { font-family: "Inter"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-style: normal; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 600; font-style: normal; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }

:root {
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;

  /* Marke und Text (wie Dashboards) */
  --brand: #04159b;  --brand-hover: #030f73;  --brand-2: #3047e0;
  --brand-tint: #eef1fe;  --brand-tint-2: #dfe5fd;  --on-brand: #ffffff;
  --ink: #0c1222;  --ink-2: #2b3245;  --muted: #5d6577;  --faint: #8b92a3;

  /* Flächen */
  --bg: #f5f6fa;
  --surface: #ffffff;  --surface-2: #f7f8fb;  --surface-3: #eff1f6;
  --line: #eceef4;  --line-2: #e2e5ed;  --outline: #d5daea;
  --blue-soft: #f5f7ff;  --blue-line: #e2e7fc;
  --green-bg: #e3f4ea;  --green-fg: #0b6b3a;
  --topbar-bg: rgba(255, 255, 255, 0.82);
  --hero-glow: radial-gradient(900px 520px at 50% -140px, rgba(48, 71, 224, 0.22), transparent 70%),
               radial-gradient(700px 420px at 8% 0, rgba(94, 141, 246, 0.16), transparent 70%),
               radial-gradient(700px 420px at 92% 40px, rgba(4, 21, 155, 0.10), transparent 70%);
  --app-dark: #050a2c;

  /* Radien, Schatten, Abstände */
  --r-card: 24px;  --r-tile: 18px;  --r-icon: 12px;  --r-pill: 999px;
  --shadow-card: 0 1px 2px rgba(16, 24, 64, 0.04), 0 8px 28px -10px rgba(16, 24, 64, 0.10);
  --shadow-card-hover: 0 2px 4px rgba(16, 24, 64, 0.05), 0 18px 40px -14px rgba(16, 24, 64, 0.18);
  --shadow-cta: 0 6px 16px -6px rgba(4, 21, 155, 0.45);
  --ring: 0 0 0 3px rgba(48, 71, 224, 0.30);
  --s-section: 128px;
  --content: 1200px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 104px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; font-feature-settings: "cv11", "ss01"; }
h1, h2, h3, p { margin: 0; }
/* Lange deutsche Wörter (Arbeitskräfteüberlassungen) auf schmalen Bildschirmen sauber trennen statt abschneiden */
h1, h2, h3, .role__name, .next__title { overflow-wrap: break-word; }
img { display: block; max-width: 100%; }
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-hover); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-icon); }
.icon { flex: none; display: block; }
.wrap { width: 100%; max-width: var(--content); margin: 0 auto; padding: 0 32px; }
.page { position: relative; overflow-x: clip; }
.page::before { content: ""; position: absolute; inset: 0 0 auto; height: 900px; background: var(--hero-glow); pointer-events: none; z-index: 0; }
.page > * { position: relative; z-index: 1; }

/* ---------- Buttons ---------- */
.btn {
  height: 52px; padding: 0 28px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border-radius: var(--r-pill); font-size: 16px; font-weight: 600; white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.btn--primary { background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-cta); }
.btn--primary:hover { background: var(--brand-hover); color: var(--on-brand); }
.btn--ghost { background: var(--surface); color: var(--brand); box-shadow: inset 0 0 0 1px var(--outline); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--brand); color: var(--brand); }
.btn--sm { height: 44px; padding: 0 22px; font-size: 15px; }
.btn:active { transform: scale(0.98); }
.btn .icon { transition: transform 0.15s ease; }
.btn:hover .icon { transform: translateX(3px); }

/* ---------- Kopfzeile ---------- */
.topbar { position: sticky; top: 0; z-index: 20; padding: 14px 0; transition: padding 0.2s ease; }
.nav {
  min-height: 68px; padding: 10px 12px 10px 22px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--topbar-bg); -webkit-backdrop-filter: saturate(1.6) blur(16px); backdrop-filter: saturate(1.6) blur(16px);
  border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card);
}
.nav__logo img { height: 32px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__links a { height: 42px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: var(--r-pill); color: var(--ink-2); font-size: 15px; font-weight: 500; white-space: nowrap; transition: background-color 0.15s ease, color 0.15s ease; }
.nav__links a:hover { background: var(--surface-3); color: var(--ink); }
.nav__links a.is-active { background: var(--brand-tint); color: var(--brand); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.langs { display: flex; align-items: center; gap: 4px; padding: 3px; border-radius: var(--r-pill); background: var(--surface-3); }
.langs a { padding: 6px 8px; display: block; border-radius: var(--r-pill); }
.langs a[aria-current="true"] { background: var(--surface); box-shadow: 0 0 0 1.5px var(--brand); }
.langs img { width: 26px; height: 17px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.12); }
.nav__login { height: 44px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: var(--r-pill); color: var(--ink); font-size: 15px; font-weight: 600; white-space: nowrap; }
.nav__login:hover { background: var(--surface-3); color: var(--ink); }
.nav__simple-right { display: flex; align-items: center; gap: 14px; }
.nav__toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: var(--r-icon); background: var(--surface-3); color: var(--ink); cursor: pointer; }
.nav__toggle .icon-close { display: none; }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 0; text-align: center; }
.hero h1 { font-size: clamp(34px, 4.4vw, 60px); font-weight: 700; line-height: 1.05; letter-spacing: -0.035em; color: var(--ink); text-wrap: balance; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--brand); }
.hero p { max-width: 640px; margin: 22px auto 0; font-size: 20px; line-height: 1.6; color: var(--ink-2); text-wrap: balance; }

/* ---------- Abschnitte ---------- */
.section { margin-top: var(--s-section); }
.section__head { max-width: 720px; display: flex; flex-direction: column; gap: 14px; }
.section__head--center { max-width: 960px; margin: 0 auto; text-align: center; align-items: center; }
.section h2.section__title { font-size: clamp(30px, 3.6vw, 46px); font-weight: 700; line-height: 1.1; letter-spacing: -0.03em; color: var(--ink); }
.section__lead { font-size: 18px; line-height: 1.65; color: var(--muted); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card); }

/* Rollen-Kopf: Symbol in einer Kachel und Rollenname */
.role { display: flex; align-items: center; gap: 14px; }
.role__icon { width: 56px; height: 56px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 16px; background: var(--blue-soft); box-shadow: inset 0 0 0 1px var(--blue-line); overflow: hidden; }
.role__icon img { width: 100%; height: 100%; object-fit: cover; }
.role__icon--sm { width: 44px; height: 44px; border-radius: 12px; }
.role__icon--sm img { width: 26px; height: 26px; object-fit: contain; }
.role__name { font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; color: var(--ink); }

/* ---------- Kosten ---------- */
.prices { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.price { padding: 36px; display: flex; flex-direction: column; gap: 18px; transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out); }
.price:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.price .role { padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.price h2 { font-size: 22px; font-weight: 600; line-height: 1.35; letter-spacing: -0.015em; color: var(--ink); }
.price p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.price__box { margin-top: auto; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; border-radius: var(--r-tile); background: var(--blue-soft); border: 1px solid var(--blue-line); }
.price__value { font-size: 64px; font-weight: 600; line-height: 1; letter-spacing: -0.04em; color: var(--brand); white-space: nowrap; font-variant-numeric: tabular-nums; }
.price__note { font-size: 17px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.price .btn { align-self: flex-start; min-width: 260px; }

/* ---------- So funktioniert's ---------- */
.flow { margin-top: 48px; display: flex; flex-direction: column; gap: 14px; }
.flow__head, .flow__row { display: grid; grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1fr); gap: 16px 20px; align-items: stretch; }
.flow__head { margin-bottom: 6px; }
.flow__head .role { padding: 0 6px 16px; border-bottom: 1px solid var(--line-2); }
.flow__head .role__name { font-size: 22px; }
.flow__num { width: 48px; height: 48px; align-self: center; justify-self: center; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; background: var(--brand); color: var(--on-brand); font-size: 18px; font-weight: 600; box-shadow: 0 0 0 6px var(--brand-tint); }
.flow__cell { min-width: 0; padding: 22px 26px; display: flex; flex-direction: column; justify-content: center; gap: 4px; border-radius: var(--r-tile); }
.flow__cell--active { background: var(--surface); border: 2px solid var(--brand); box-shadow: var(--shadow-card); }
.flow__cell--passive { background: var(--surface-2); border: 1px dashed var(--outline); }
.flow__cell h3 { font-size: 21px; font-weight: 700; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); }
.flow__cell p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.flow__cell--passive p { font-size: 17px; font-weight: 500; color: var(--ink-2); }
.flow__label { display: none; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
.flow__cell--active .flow__label { color: var(--brand); }
.flow__after { margin-top: 18px; padding: 18px 22px; border-radius: var(--r-tile); background: var(--green-bg); color: var(--green-fg); font-size: 17px; font-weight: 500; line-height: 1.6; }

/* ---------- Häufige Fragen ---------- */
.faq { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.faq__col { padding: 32px 36px; display: flex; flex-direction: column; }
.faq__role { align-self: flex-start; margin-bottom: 8px; padding: 7px 16px; border-radius: var(--r-pill); background: var(--brand-tint); color: var(--brand); font-size: 15px; font-weight: 700; }
.faq__item { padding: 22px 0; display: flex; flex-direction: column; gap: 8px; }
.faq__item + .faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { padding-bottom: 0; }
.faq__item h3 { font-size: 19px; font-weight: 600; line-height: 1.4; letter-spacing: -0.01em; color: var(--ink); }
.faq__item p { font-size: 16px; line-height: 1.65; color: var(--muted); }

/* ---------- App ---------- */
.app { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); overflow: hidden; }
.app__media { min-height: 360px; background: var(--app-dark); }
.app__media img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; object-position: left center; }
.app__body { padding: 48px 52px; display: flex; flex-direction: column; justify-content: center; gap: 20px; }
.app__body p { max-width: 460px; font-size: 18px; line-height: 1.65; color: var(--muted); }
.app__get { margin-top: 4px; display: grid; grid-template-columns: repeat(2, minmax(0, 148px)); justify-content: center; gap: 16px; }
.app__store { padding: 14px; display: flex; flex-direction: column; gap: 12px; border: 1px solid var(--line-2); border-radius: var(--r-tile); background: var(--surface); color: var(--ink); transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease; }
.app__store:hover { border-color: var(--outline); color: var(--ink); box-shadow: var(--shadow-card); transform: translateY(-2px); }
.app__store-label { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.app__store-label img { width: 24px; height: 24px; object-fit: contain; }
.app__qr { width: 120px; height: 120px; padding: 6px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }

/* ---------- Was möchten Sie als Nächstes tun? ---------- */
.next { margin-top: 44px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.next__card { padding: 40px 32px; display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; transition: box-shadow 0.25s var(--ease-out), transform 0.25s var(--ease-out); }
.next__card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-2px); }
.next__card .role__icon { margin-bottom: 10px; }
.next__title { font-size: 26px; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; color: var(--ink); }
.next__sub { font-size: 16px; line-height: 1.5; color: var(--muted); }
.next__card .btn { margin-top: 18px; min-width: 260px; }

/* ---------- Fußzeile ---------- */
.footer { margin-top: var(--s-section); padding: 56px 0 40px; background: var(--surface); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 0.6fr); gap: 40px 64px; }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand img { height: 32px; width: auto; align-self: flex-start; }
.footer__brand p { max-width: 360px; font-size: 16px; line-height: 1.65; color: var(--muted); }
.footer__links { display: flex; flex-direction: column; gap: 12px; font-size: 16px; font-weight: 500; }
.footer__links a { color: var(--ink-2); align-self: flex-start; }
.footer__links a:hover { color: var(--brand); }
.footer__copy { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }

/* ---------- Impressum ---------- */
.legal { max-width: 800px; margin: 64px auto 0; display: flex; flex-direction: column; gap: 28px; }
.legal h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 700; line-height: 1.1; letter-spacing: -0.035em; color: var(--ink); }
.legal__card { padding: 12px 36px; }
.legal__row { padding: 22px 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 6px 24px; }
.legal__row + .legal__row { border-top: 1px solid var(--line); }
.legal__label { font-size: 15px; font-weight: 500; color: var(--muted); }
.legal__value { font-size: 18px; font-weight: 500; line-height: 1.55; color: var(--ink); }
.legal__value--strong { font-weight: 600; }
.legal__value a { font-weight: 600; }
.legal-page .footer { margin-top: 96px; }

/* ---------- Bewegung: nur dezente Reaktionen, nichts blendet ein ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ---------- Kleinere Bildschirme ---------- */
@media (max-width: 1120px) {
  .nav__toggle { display: inline-flex; }
  .nav { flex-wrap: wrap; }
  .nav__links, .nav__right { display: none; width: 100%; }
  .nav.is-open { padding-bottom: 16px; }
  .nav.is-open .nav__links { display: flex; flex-direction: column; align-items: stretch; order: 3; padding-top: 10px; margin-top: 6px; border-top: 1px solid var(--line); }
  .nav.is-open .nav__links a { height: 48px; padding: 0 12px; font-size: 16px; }
  .nav.is-open .nav__right { display: flex; order: 4; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 12px; }
  .nav.is-open .nav__toggle .icon-open { display: none; }
  .nav.is-open .nav__toggle .icon-close { display: block; }
}
@media (max-width: 960px) {
  :root { --s-section: 96px; }
  .prices, .faq, .next { grid-template-columns: minmax(0, 1fr); }
  .app { grid-template-columns: minmax(0, 1fr); }
  .app__media { min-height: 0; }
  .app__media img { height: auto; max-height: none; object-fit: contain; }
  .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .flow__head { display: none; }
  .flow__row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .flow__row + .flow__row { margin-top: 18px; }
  .flow__num { justify-self: start; width: 40px; height: 40px; font-size: 16px; box-shadow: 0 0 0 5px var(--brand-tint); }
  .flow__label { display: block; }
}
@media (max-width: 640px) {
  :root { --s-section: 80px; }
  h1, h2, h3, .role__name, .next__title { hyphens: auto; -webkit-hyphens: auto; }
  html { scroll-padding-top: 88px; }
  .wrap { padding: 0 16px; }
  .topbar { padding: 10px 0; }
  .nav { padding: 8px 8px 8px 16px; min-height: 60px; }
  .nav__logo img { height: 28px; }
  .hero { padding-top: 44px; }
  .hero p { font-size: 18px; }
  .prices { margin-top: 40px; }
  .price, .faq__col, .app__body, .next__card { padding: 26px 22px; }
  .app__get { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app__store { align-items: center; }
  .role__name { font-size: 21px; }
  .price__value { font-size: 52px; }
  .price .btn, .next__card .btn { align-self: stretch; min-width: 0; }
  .flow__cell { padding: 18px 20px; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .legal__card { padding: 4px 22px; }
  .legal__row { grid-template-columns: minmax(0, 1fr); }
}
