/* FM Ventures GmbH – Stylesheet
   CI: Brand-Blau aus dem Logo (#1D4590 → #2D64C4), Anthrazit (#303030),
   Akzent-Cyan der bisherigen Website (#149DCC), Schrift Rubik (selbst gehostet). */

@font-face {
  font-family: "Rubik";
  font-style: normal;
  font-display: swap;
  font-weight: 300 900;
  src: url("../fonts/rubik-latin-wght-normal.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Rubik";
  font-style: italic;
  font-display: swap;
  font-weight: 300 900;
  src: url("../fonts/rubik-latin-wght-italic.woff2") format("woff2-variations");
}

:root {
  --blue-900: #0b1630;
  --blue-800: #0e1f44;
  --blue-700: #1d4590;
  --blue-500: #2d64c4;
  --cyan: #149dcc;
  --ink: #1d1f23;
  --text: #303030;
  --muted: #5e6166;
  --line: #e3e6ec;
  --surface: #f5f7fa;
  --white: #ffffff;
  --radius: 14px;
  --max: 1160px;
  --shadow: 0 1px 2px rgba(11, 22, 48, .06), 0 8px 24px rgba(11, 22, 48, .06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: "Rubik", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--cyan); }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.25rem); font-weight: 300; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); font-weight: 400; }
h3 { font-size: 1.25rem; font-weight: 500; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
@media (max-width: 480px) { .container { padding: 0 16px; } }

.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--white); padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 16px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand img { width: 196px; }
.nav { display: flex; gap: 28px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; font-size: .98rem; }
.nav a:hover { color: var(--blue-700); }
.nav .nav-cta {
  color: var(--white); background: var(--blue-700);
  padding: 9px 18px; border-radius: 999px;
}
.nav .nav-cta:hover { background: var(--blue-500); color: var(--white); }
@media (max-width: 760px) {
  .site-header .container { height: 64px; }
  .brand img { width: 150px; }
  .nav { gap: 16px; }
  .nav a:not(.nav-cta) { display: none; }
  .nav .nav-cta { padding: 7px 14px; font-size: .9rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(1100px 520px at 85% -10%, rgba(45, 100, 196, .55), transparent 60%),
    radial-gradient(700px 400px at 0% 110%, rgba(20, 157, 204, .28), transparent 60%),
    linear-gradient(160deg, var(--blue-800), var(--blue-900));
}
.hero::after { /* stilisiertes Play-Motiv aus dem Logo */
  content: ""; position: absolute; right: -80px; top: 50%; width: 560px; height: 560px;
  transform: translateY(-50%) skewX(-10deg);
  border: 2px solid rgba(255, 255, 255, .08); border-radius: 48px;
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-top: clamp(80px, 12vw, 150px); padding-bottom: clamp(80px, 11vw, 140px); }
.eyebrow {
  display: inline-block; font-size: .82rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase;
  color: #9fd8ee; margin-bottom: 18px;
}
.hero h1 { color: var(--white); max-width: 18ch; text-wrap: balance; }
.nowrap { white-space: nowrap; }
.hero h1 strong { font-weight: 600; font-style: italic; }
.hero .lead { font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 300; color: #d9e2f2; max-width: 42ch; margin-bottom: 36px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 500; text-decoration: none;
  padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--cyan); color: var(--white); }
.btn-primary:hover { background: #18b0e3; color: var(--white); }
.btn-ghost { border-color: rgba(255, 255, 255, .4); color: var(--white); }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }

.hero-facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px;
  margin-top: clamp(56px, 8vw, 96px); padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, .14);
  max-width: 880px;
}
.hero-facts dt { font-size: clamp(1.4rem, 2.4vw, 1.9rem); font-weight: 500; color: var(--white); line-height: 1.1; }
.hero-facts dd { margin: 6px 0 0; color: #b6c3dc; font-size: .95rem; line-height: 1.4; }
@media (max-width: 560px) { .hero-facts { grid-template-columns: 1fr; gap: 18px; } }

/* ---------- Sections ---------- */
section { scroll-margin-top: 80px; }
.section { padding: clamp(72px, 10vw, 120px) 0; }
.section-alt { background: var(--surface); }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head .kicker { color: var(--blue-700); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; font-size: .8rem; display: block; margin-bottom: 12px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 22px;
  display: grid; place-items: center; color: var(--white);
  background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
  transform: skewX(-8deg);
}
.card .icon svg { width: 26px; height: 26px; transform: skewX(8deg); }
.card p { color: var(--muted); }
.card ul { margin: auto 0 0; padding: 18px 0 0; border-top: 1px solid var(--line); list-style: none; }
.card li { position: relative; padding-left: 22px; margin: 6px 0; font-size: .97rem; }
.card li::before {
  content: ""; position: absolute; left: 2px; top: .55em; width: 0; height: 0;
  border-left: 8px solid var(--cyan); border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.steps { counter-reset: step; list-style: none; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 28px 64px; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border-radius: 10px;
  display: grid; place-items: center; font-weight: 500; font-size: .95rem;
  color: var(--blue-700); background: #e7eefb;
}
.steps h3 { margin-bottom: .3em; }
.steps p { color: var(--muted); margin: 0; }

/* ---------- Kontakt ---------- */
.contact {
  background: linear-gradient(150deg, var(--blue-700), var(--blue-800));
  color: var(--white); border-radius: calc(var(--radius) + 6px);
  padding: clamp(36px, 6vw, 64px); display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px;
}
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact h2 { color: var(--white); }
.contact p { color: #d4ddef; }
.contact address { font-style: normal; line-height: 1.9; }
.contact address a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .35); }
.contact address a:hover { border-color: var(--white); color: var(--white); }
.contact .label { display: block; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #9fb4da; margin-top: 14px; }
.contact .label:first-child { margin-top: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: #9aa7c0; padding: 48px 0 40px; font-size: .95rem; }
.site-footer .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.site-footer img { width: 170px; }
.site-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }
.site-footer a { color: #c9d3e6; text-decoration: none; }
.site-footer a:hover { color: var(--white); }

/* ---------- Rechtstexte ---------- */
.legal { padding: clamp(56px, 8vw, 96px) 0; }
.legal .container { max-width: 820px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 400; }
.legal h2 { font-size: 1.35rem; font-weight: 500; margin-top: 2em; }
.legal h3 { font-size: 1.08rem; margin-top: 1.4em; }
.legal address { font-style: normal; }
.legal dl { display: grid; grid-template-columns: max-content 1fr; gap: 4px 20px; }
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }
@media (max-width: 520px) { .legal dl { grid-template-columns: 1fr; } .legal dd { margin-bottom: 8px; } }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
