/* Demo-Karriereseiten (fiktive Unternehmen) – Farben je Seite über CSS-Variablen am <body> */
@font-face { font-family: 'Jakarta'; src: url('/assets/fonts/plus-jakarta-sans-latin.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: 'Jakarta', system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.55; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; letter-spacing: -0.025em; font-style: normal; line-height: 1.05; }
h2 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.4rem); margin: .4rem 0 2rem; max-width: 22ch; }
p { margin: 0 0 1rem; }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.muted { color: var(--muted); } .small { font-size: .88rem; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.light .kicker { color: var(--brand); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3.2rem; padding: 0 1.6rem; border-radius: 999px; font-weight: 800; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: #111; box-shadow: 0 12px 30px -12px var(--accent); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.5); color: #fff; } .btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--sm { min-height: 2.6rem; padding: 0 1.1rem; font-size: .9rem; }
.row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Demo-Leiste */
.demobar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 1rem; padding: .5rem 1.2rem; background: #0F2A4A; color: #C9D4E2; font-size: .82rem; }
.demobar b { color: #F5B427; } .demobar__back { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }
.demobar__info { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.demobar__nav { display: flex; align-items: center; gap: .5rem; }
.demobar__nav > a { width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; text-decoration: none; font-size: 1.2rem; }
.dots { display: flex; gap: .35rem; } .dots a { width: .6rem; height: .6rem; border-radius: 50%; background: rgba(255,255,255,.3); } .dots a.on { background: #F5B427; width: 1.4rem; border-radius: 99px; }
@media (max-width: 40rem) { .demobar__info { display: none; } .demobar { justify-content: space-between; } }

/* Kopf */
.hd { position: sticky; top: 2.9rem; z-index: 20; display: flex; align-items: center; gap: 1.5rem; padding: .8rem 1.5rem; backdrop-filter: blur(14px); background: color-mix(in srgb, var(--bg) 78%, transparent); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.mark { width: 2.5rem; height: 2.5rem; border-radius: 12px; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 900; font-size: 1.2rem; }
.light .mark { color: var(--bg); } body[style*="--brand:#111111"] .mark { color: var(--accent); }
.logo b { display: block; line-height: 1.1; } .logo small { display: block; color: var(--muted); font-size: .75rem; }
.hd__nav { display: flex; gap: 1.4rem; margin-left: auto; font-weight: 600; font-size: .95rem; } .hd__nav a { text-decoration: none; opacity: .8; } .hd__nav a:hover { opacity: 1; }
@media (max-width: 52rem) { .hd__nav { display: none; } .hd .btn { margin-left: auto; } }

/* Hero */
.hero { position: relative; min-height: min(88vh, 760px); display: flex; align-items: flex-end; overflow: hidden; color: #fff; isolation: isolate; }
.hero__img { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center 40%; transform: scale(1.08); animation: kenburns 18s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.78) 100%), linear-gradient(90deg, rgba(0,0,0,.55), transparent 60%); }
.hero__in { padding-block: 6rem 5rem; }
.hero .kicker { color: var(--accent); }
.hero h1 { font-size: clamp(2.6rem, 1.4rem + 5.4vw, 5.6rem); line-height: .98; margin: .6rem 0 1.2rem; max-width: 16ch; animation: rise .9s cubic-bezier(.2,.7,.2,1) both .1s; }
.hero h1 em { display: block; font-style: normal; color: var(--accent); }
.hero p { font-size: clamp(1.05rem, .9rem + .5vw, 1.3rem); max-width: 46ch; color: rgba(255,255,255,.88); animation: rise .9s cubic-bezier(.2,.7,.2,1) both .25s; }
.hero .row { animation: rise .9s cubic-bezier(.2,.7,.2,1) both .4s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.hero__scroll { position: absolute; left: 50%; bottom: 1.4rem; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.6); border-radius: 99px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 9px; background: #fff; transform: translateX(-50%); animation: scrolly 1.8s ease-in-out infinite; }
@keyframes scrolly { 60% { transform: translate(-50%, 14px); opacity: 0; } 100% { opacity: 0; } }

/* Fakten */
.facts { background: var(--brand); color: #fff; } .light .facts { color: #fff; } body[style*="--brand:#111111"] .facts b { color: var(--accent); }
.facts ul { list-style: none; margin: 0 auto; padding: 2.4rem 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: 1.5rem; }
.facts b { display: block; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.4rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.facts span { opacity: .85; font-size: .95rem; }

/* Abschnitte */
.sec { padding-block: clamp(4rem, 3rem + 4vw, 7rem); }
.sec--tint { background: var(--card); }
.why { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.why li { position: relative; padding: 2rem 1.6rem 1.6rem; border-radius: 24px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .3s ease; }
.sec--tint .why li { background: var(--bg); }
.why li:hover { transform: translateY(-6px); }
.why .num { position: absolute; right: 1rem; top: .2rem; font-size: 4.8rem; font-weight: 900; color: var(--accent); opacity: .18; line-height: 1; }
.why h3 { font-size: 1.35rem; margin-bottom: .6rem; } .why p { color: var(--muted); margin: 0; }
.ben { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.ben li { display: grid; gap: .2rem; padding: 1.3rem; border-radius: 20px; background: var(--bg); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease; }
.ben li:hover { transform: translateY(-4px) rotate(-.5deg); border-color: var(--accent); }
.ben .emo { font-size: 1.8rem; } .ben b { font-size: 1.05rem; } .ben small { color: var(--muted); }
.marquee { overflow: hidden; margin-top: 3rem; border-block: 1px solid var(--line); padding-block: 1rem; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee div { display: flex; gap: 2.5rem; width: max-content; animation: marquee 40s linear infinite; font-weight: 800; font-size: 1.2rem; white-space: nowrap; }
@keyframes marquee { to { transform: translateX(-50%); } }
.split { display: grid; gap: 3rem; align-items: center; } @media (min-width: 56rem) { .split { grid-template-columns: 1fr 1fr; } }
.split__img img { border-radius: 28px; aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 54ch; }
.ticks { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .7rem; }
.ticks li { position: relative; padding-left: 2rem; font-weight: 600; } .ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--accent); color: #111; font-size: .8rem; display: grid; place-items: center; font-weight: 900; }
.quotes { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.quote { margin: 0; padding: 1.8rem; border-radius: 24px; background: var(--bg); border: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 1.4rem; }
.quote blockquote { margin: 0; font-size: 1.2rem; font-weight: 700; line-height: 1.4; }
.quote figcaption { display: flex; gap: .8rem; align-items: center; } .quote small { display: block; color: var(--muted); }
.av { width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #111; font-weight: 900; flex: none; }
.av--big { width: 5rem; height: 5rem; font-size: 2rem; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 1.5rem; } .gallery img { border-radius: 22px; aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 1.6rem 1.6rem 1.6rem 4.6rem; border-radius: 22px; background: var(--card); border: 1px solid var(--line); }
.steps li::before { content: counter(s); position: absolute; left: 1.4rem; top: 1.4rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--accent); color: #111; font-weight: 900; display: grid; place-items: center; }
.steps b { display: block; font-size: 1.1rem; } .steps span { color: var(--muted); }
.sec--jobs { background: linear-gradient(180deg, var(--bg), var(--card)); }
.jobs { margin-top: 1rem; padding: 1.4rem; border-radius: 28px; background: #fff; color: #1f2937; box-shadow: 0 40px 90px -50px rgba(0,0,0,.6); border: 1px solid var(--line); }
.contact { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; } .contact h2 { margin: .3rem 0 .4rem; }
.ft { padding-block: 2.5rem 6rem; border-top: 1px solid var(--line); color: var(--muted); } .ft b { color: var(--ink); }
.demo-cta { position: fixed; left: 50%; bottom: 1rem; transform: translateX(-50%); z-index: 40; background: #0F2A4A; color: #fff; text-decoration: none; padding: .8rem 1.3rem; border-radius: 999px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); font-size: .92rem; white-space: nowrap; max-width: calc(100% - 2rem); overflow: hidden; text-overflow: ellipsis; }
.demo-cta b { color: #F5B427; }

/* Einblenden beim Scrollen */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .hero__img, .marquee div, .hero h1, .hero p, .hero .row, .hero__scroll span { animation: none; } }
