:root {
  --orange: #f26b1d;
  --orange-d: #d95a10;
  /* CTA: Komplementärfarbe zu Orange (Blau) – nur für Handlungsknöpfe */
  --cta: #0b6fe0;
  --cta-d: #0958b8;
  --cta-glow: rgba(11,111,224,.38);
  --navy: #0e1b2b;
  --navy-2: #13253a;
  --ink: #111a26;
  --text: #3b4553;
  --muted: #6b7584;
  --line: #e4e7ec;
  --bg-soft: #f4f6f9;
  --white: #fff;
  --radius: 4px;
  --font-h: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  --font-b: 'Inter', system-ui, sans-serif;
  --wrap: 1240px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { overflow-x: hidden; font-family: var(--font-b); color: var(--text); background: #fff; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
svg { aspect-ratio: 1 / 1; height: auto; flex: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 40px; }
h1, h2, h3, h4 { font-family: var(--font-h); color: var(--ink); line-height: 1.12; letter-spacing: -0.01em; }
.orange { color: var(--orange); }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 24px; font-weight: 600; font-size: 15px; border-radius: var(--radius); transition: background .2s, transform .2s, border-color .2s; white-space: nowrap; }
.btn svg { width: 16px; height: 16px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-orange { background: var(--cta); color: #fff; box-shadow: 0 6px 18px var(--cta-glow); }
.btn-orange:hover { background: var(--cta-d); transform: translateY(-1px); box-shadow: 0 10px 24px var(--cta-glow); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.85); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.link-arrow { display: inline-flex; align-items: center; gap: 22px; font-weight: 600; font-size: 14px; color: var(--ink); padding-bottom: 6px; border-bottom: 2px solid var(--orange); }
.link-arrow svg { width: 18px; color: var(--orange); transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* Logo */
.logo { display: inline-flex; flex-direction: column; line-height: 1; color: var(--ink); }
.logo b { font-family: var(--font-h); font-weight: 800; font-size: 30px; letter-spacing: -0.02em; }
.logo b i { font-style: normal; color: var(--orange); }
.logo span { font-size: 10.5px; font-weight: 600; letter-spacing: .42em; margin-top: 2px; padding-left: 2px; }
.logo.light { color: #fff; }
.logo:has(img) { flex: none; }
.logo img { display: block; height: 40px; width: auto; max-width: none; }
footer .logo img { height: 52px; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; height: 68px; gap: 18px; max-width: 1340px; }
@media (max-width: 1399px) { .logo img { height: 36px; } }
.nav { display: flex; gap: 12px; margin-left: 0; white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--ink); }
.nav a { position: relative; padding: 6px 0; display: inline-flex; align-items: center; gap: 4px; }
.nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.nav svg { width: 12px; }
.head-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.head-right .btn { padding-left: 18px; padding-right: 18px; }
.phone { display: flex; align-items: center; gap: 12px; color: var(--ink); white-space: nowrap; }
.phone svg { width: 20px; }
.phone strong { display: block; font-size: 13.5px; font-weight: 600; }
.phone small { display: block; font-size: 11px; color: var(--muted); }
.burger { display: none; width: 40px; height: 40px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 6px 8px; }

/* Hero */
.hero { position: relative; background: #0b1622; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0 0 0 38%; background: url(img/hero.jpg) right center/cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #0b1622 0%, #0b1622 36%, rgba(11,22,34,.75) 46%, rgba(11,22,34,0) 62%); }
.hero::after { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(ellipse at 15% 30%, rgba(80,110,150,.35), transparent 55%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 46px; min-height: 560px; }
.hero .eyebrow { color: #fff; font-weight: 600; font-size: 12px; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: 62px; font-weight: 800; line-height: 1.04; letter-spacing: -0.02em; }
.hero h1 .orange { display: block; }
.hero p { margin-top: 26px; max-width: 560px; font-size: 17px; line-height: 1.5; color: #e7ecf2; }
.hero .btns { display: flex; gap: 16px; margin-top: 30px; }
.hero .btns .btn { height: 54px; padding: 0 30px; font-size: 16px; }
.hero .btn-ghost { min-width: 230px; justify-content: center; }
.trust { display: flex; gap: 34px; margin-top: 38px; font-size: 13.5px; color: #dfe5ec; }
.trust span { display: flex; align-items: center; gap: 10px; }
.trust svg { width: 19px; height: 19px; }

/* USP bar */
.usps { border-bottom: 1px solid var(--line); }
.usps .wrap { display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 26px; padding-bottom: 26px; }
.usp { display: flex; gap: 18px; padding: 4px 20px; border-left: 1px solid var(--line); }
.usp:first-child { border-left: 0; padding-left: 0; }
.usp svg { flex: none; width: 44px; height: 44px; color: var(--orange); }
.usp h4 { font-size: 14.5px; font-weight: 700; margin-bottom: 4px; }
.usp p { font-size: 13px; color: var(--muted); line-height: 1.4; }

/* Section head */
.sec { padding: 26px 0 34px; }
.sec-soft { background: var(--bg-soft); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 26px; }
.sec-head h2 { font-size: 30px; font-weight: 700; }

/* Lösungen */
.solutions { display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px; }
.sol { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.sol:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(14,27,43,.12); }
.sol .img { aspect-ratio: 118/96; overflow: hidden; }
.sol img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sol:hover img { transform: scale(1.06); }
.sol .body { padding: 13px 10px 12px; flex: 1; display: flex; flex-direction: column; }
.sol h3 { font-size: 13.5px; font-weight: 700; margin-bottom: 4px; }
.sol p { font-size: 12px; color: var(--muted); line-height: 1.4; flex: 1; }
.sol .arr { align-self: flex-end; color: var(--orange); margin-top: 6px; }
.sol .arr svg { width: 16px; }

/* Individuallösungen */
.indiv { background: radial-gradient(ellipse at 70% 50%, #1b3150 0%, #0e1b2b 60%); color: #fff; overflow: hidden; }
.indiv .wrap { display: grid; grid-template-columns: 430px 1fr; gap: 30px; align-items: center; min-height: 300px; padding-top: 22px; padding-bottom: 22px; }
.indiv h2 { color: #fff; font-size: 34px; font-weight: 700; line-height: 1.1; }
.indiv p { margin: 22px 0 26px; font-size: 14.5px; color: #d6dde6; line-height: 1.55; }
.diagram { position: relative; padding: 60px 0; }
.diagram img { width: 100%; border-radius: 2px; }
.callouts { position: absolute; left: 0; right: 0; display: flex; justify-content: space-between; }
.callouts.top { top: 0; }
.callouts.bottom { bottom: 0; }
.callout { display: flex; align-items: center; gap: 8px; font-size: 11px; line-height: 1.25; color: #e8edf3; }
.callout b { display: block; font-weight: 600; color: #fff; }
.callout .ic { width: 32px; height: 32px; border: 1.2px solid rgba(255,255,255,.8); display: grid; place-items: center; flex: none; background: rgba(14,27,43,.6); }
.callout .ic svg { width: 18px; height: 18px; }
.handwrite { position: absolute; right: -14px; bottom: -22px; font-family: 'Caveat', cursive; font-size: 19px; transform: rotate(-12deg); color: #fff; line-height: 1; }

/* Projekte */
.projects { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.proj { background: #fff; border: 1px solid var(--line); overflow: hidden; }
.proj .img { aspect-ratio: 186/99; overflow: hidden; }
.proj img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.proj:hover img { transform: scale(1.06); }
.proj .body { padding: 9px 8px 10px; }
.proj h3 { font-size: 13px; font-weight: 700; }
.proj small { display: flex; align-items: center; gap: 6px; font-size: 11.5px; color: var(--muted); margin-top: 4px; }
.proj small svg { width: 13px; }

/* Schritte */
.steps-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 18px; }
.steps-head h2 { font-size: 24px; font-weight: 700; }
.steps-head .claim { font-size: 13px; font-weight: 600; color: var(--ink); padding-bottom: 6px; border-bottom: 2px solid var(--orange); }
.steps { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 14px; }
.step { display: flex; align-items: center; gap: 16px; }
.step .num { font-family: var(--font-h); font-size: 26px; font-weight: 700; color: var(--orange); }
.step svg.big { width: 34px; height: 34px; color: var(--ink); flex: none; }
.step h4 { font-size: 13.5px; font-weight: 700; margin-bottom: 2px; }
.step p { font-size: 12px; color: var(--muted); line-height: 1.4; }
.chev { width: 14px; color: #9aa3ae; }

/* CTA */
.cta { position: relative; background: #0d1a28; color: #fff; overflow: hidden; }
.cta-bg { position: absolute; inset: 0 200px 0 46%; background: url(img/cta.jpg) center/cover; }
.cta::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #0d1a28 0%, #0d1a28 44%, rgba(13,26,40,.6) 54%, rgba(13,26,40,0) 68%); }
.cta .wrap { position: relative; z-index: 2; padding-top: 22px; padding-bottom: 26px; }
.cta .eyebrow { color: #cfd6df; font-weight: 600; font-size: 11px; }
.cta h2 { color: #fff; font-size: 28px; font-weight: 700; margin: 6px 0 8px; }
.cta p { font-size: 14px; color: #dbe2ea; max-width: 520px; }
.cta .row { display: flex; align-items: center; gap: 34px; margin-top: 18px; }
.cta .phone { color: #fff; }
.cta .phone small { color: #b9c3cf; }
.cta .phone svg { width: 26px; }
.cta .phone strong { font-size: 15px; }
.cta-tag { position: absolute; z-index: 2; right: 40px; top: 50%; transform: translateY(-50%); font-family: var(--font-h); font-weight: 600; font-size: 13px; letter-spacing: .2em; line-height: 1.6; }
.cta-tag::after { content: ''; display: block; width: 32px; height: 3px; background: var(--orange); margin-top: 10px; }

/* Footer */
.footer { background: #0b1520; color: #c7cfd9; font-size: 13px; }
.footer .top { display: grid; grid-template-columns: 1.25fr 1fr .6fr .6fr 1.3fr; gap: 30px; padding-top: 26px; padding-bottom: 26px; }
.footer .top > div + div { border-left: 1px solid rgba(255,255,255,.1); padding-left: 30px; }
.footer .top > div:nth-child(4) { border-left: 0; padding-left: 0; }
.footer h5 { color: #fff; font-size: 13.5px; font-weight: 700; margin-bottom: 10px; font-family: var(--font-h); }
.footer p { line-height: 1.5; margin-top: 12px; }
.footer ul { list-style: none; display: grid; gap: 6px; }
.footer li { display: flex; align-items: center; gap: 12px; }
.footer li svg { width: 15px; color: #fff; flex: none; }
.footer a:hover { color: var(--orange); }
.nl { display: flex; margin-top: 12px; }
.nl input { flex: 1; height: 42px; border: 1px solid rgba(255,255,255,.25); background: #fff; padding: 0 12px; font: inherit; color: var(--ink); border-radius: var(--radius) 0 0 var(--radius); min-width: 0; }
.nl button { width: 46px; background: var(--cta); color: #fff; border-radius: 0 var(--radius) var(--radius) 0; display: grid; place-items: center; }
.nl button svg { width: 18px; }
.footer .bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer .bottom .wrap { display: flex; align-items: center; height: 44px; font-size: 12px; }
.footer .legal { display: flex; gap: 30px; margin-left: auto; }
.footer .social { display: flex; gap: 18px; margin-left: 70px; color: #fff; }
.footer .social svg { width: 17px; height: 17px; }
.footer .slogan { margin-left: 70px; white-space: nowrap; letter-spacing: .1em; font-size: 11px; display: flex; align-items: center; gap: 14px; }
.footer .slogan::after { content: ''; width: 34px; height: 3px; background: var(--orange); }

/* Reveal-Animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1220px) {
  .nav { gap: 16px; margin-left: 10px; font-size: 13px; }
  .phone { display: none; }
  .solutions { grid-template-columns: repeat(4, 1fr); }
  .usps .wrap { grid-template-columns: repeat(3, 1fr); row-gap: 20px; }
  .usp:nth-child(4) { border-left: 0; padding-left: 0; }
  .indiv .wrap { grid-template-columns: 1fr; }
  .footer .legal, .footer .social { margin-left: 50px; }
}
@media (max-width: 900px) {
  .wrap { padding: 0 20px; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 14px 20px 20px; gap: 6px; border-bottom: 1px solid var(--line); margin: 0; }
  .nav.open { display: flex; }
  .burger { display: block; }
  .head-right .btn { display: none; }
  .hero-bg { inset: 0; opacity: .45; }
  .hero h1 { font-size: 40px; }
  .hero .btns { flex-wrap: wrap; }
  .trust { flex-wrap: wrap; gap: 14px 24px; }
  .usps .wrap { grid-template-columns: 1fr 1fr; }
  .usp { border-left: 0; padding-left: 0; }
  .solutions { grid-template-columns: repeat(2, 1fr); }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .sec-head, .steps-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .steps { grid-template-columns: 1fr; }
  .chev { display: none; }
  .callouts { display: none; }
  .diagram { padding: 0; }
  .cta-bg { inset: 0; opacity: .3; }
  .cta-tag { display: none; }
  .cta .row { flex-wrap: wrap; gap: 18px; }
  .footer .top { grid-template-columns: 1fr 1fr; }
  .footer .top > div + div { border-left: 0; padding-left: 0; }
  .footer .bottom .wrap { flex-wrap: wrap; height: auto; padding-top: 14px; padding-bottom: 14px; gap: 14px; }
  .footer .legal, .footer .social { margin-left: 0; }
  .footer .slogan { margin-left: 0; white-space: normal; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 32px; }
  .usps .wrap, .solutions, .projects, .footer .top { grid-template-columns: 1fr; }
}

/* Kopfzeile: Platz für das Logo */
@media (max-width: 1399px) { .head-right .phone { display: none; } }
@media (max-width: 1180px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 14px 20px 20px; gap: 6px; border-bottom: 1px solid var(--line); margin: 0; font-size: 14px; }
  .nav.open { display: flex; }
  .burger { display: block; }
}
@media (min-width: 521px) and (max-width: 1180px) {
  .footer .top { grid-template-columns: 1fr 1fr; }
  .footer .top > div + div { border-left: 0; padding-left: 0; }
  .footer .slogan { margin-left: 0; white-space: normal; }
}
@media (max-width: 520px) { .logo img { height: 32px; } }

/* ===== Mobile-Optimierung (Handy) ===== */
@media (max-width: 520px) {
  .hero .wrap { padding-top: 40px; padding-bottom: 34px; min-height: 0; }
  .hero p { font-size: 16px; margin-top: 18px; }
  .hero .btns { flex-direction: column; gap: 12px; margin-top: 24px; }
  .hero .btns .btn { width: 100%; justify-content: center; height: 54px; }
  .hero .btn-ghost { min-width: 0; }
  .trust { margin-top: 24px; font-size: 13px; }
  /* USPs: kompakt 2-spaltig */
  .usps .wrap { grid-template-columns: 1fr 1fr; gap: 16px 14px; padding-top: 20px; padding-bottom: 20px; }
  .usp { flex-direction: column; gap: 8px; padding: 0; }
  .usp:last-child { grid-column: 1 / -1; flex-direction: row; align-items: center; }
  .usp svg { width: 32px; height: 32px; }
  .usp h4 { font-size: 14px; }
  .usp p { font-size: 12.5px; }
  .usp p br { display: none; }
  /* Lösungen: 2 Karten nebeneinander statt 8 riesige untereinander */
  .solutions { grid-template-columns: 1fr 1fr; gap: 10px; }
  .sol .img { aspect-ratio: 4 / 3; }
  .sol .body { padding: 10px 10px 12px; }
  .sol h3 { font-size: 14px; }
  .sol p { font-size: 12px; }
  .sol .arr { display: none; }
  /* Projekte: wischbares Karussell */
  .projects { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 -20px; padding: 0 20px 8px; scrollbar-width: none; }
  .projects::-webkit-scrollbar { display: none; }
  .proj { scroll-snap-align: start; }
  .proj h3 { font-size: 14px; }
  .sec-head h2 { font-size: 26px; }
  .indiv h2 { font-size: 28px; }
  .indiv .btn, .cta .btn { width: 100%; justify-content: center; height: 52px; }
  .cta .row { gap: 12px; }
  /* Footer kompakt */
  .footer .top { grid-template-columns: 1fr 1fr; gap: 22px 18px; }
  .footer .top > div:first-child, .footer .top > div:nth-child(2), .footer .top > div:last-child { grid-column: 1 / -1; }
  .footer .top > div:nth-child(4) h5 { visibility: hidden; }
  .footer ul { gap: 2px; }
  .footer li a { display: inline-block; padding: 6px 0; }
  .footer .legal a { padding: 6px 0; }
}

/* Startseite: Liefergebiet / interne Verlinkung */
.geo-links { display: grid; grid-template-columns: repeat(10, 1fr); gap: 8px; }
.geo-links a { padding: 10px 8px; text-align: center; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); transition: border-color .15s, color .15s; }
.geo-links a:hover { border-color: var(--cta); color: var(--cta); }
.geo-types { margin-top: 16px; font-size: 14px; color: var(--muted); }
.geo-types a { color: var(--ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.geo-types a:hover { color: var(--cta); }
@media (max-width: 1100px) { .geo-links { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 520px) { .geo-links { grid-template-columns: repeat(2, 1fr); } .geo-links a { font-size: 13px; } }

/* Titelbild: echte Bürocontainer-Fotos blenden langsam ineinander über (6 Bilder à 6 s) */
.hero-slides { position: absolute; inset: 0; overflow: hidden; }
.hero-slides i { position: absolute; inset: 0; background: right center / cover no-repeat; opacity: 0; animation: heroFade 36s linear infinite; will-change: opacity, transform; }
.hero-slides i:nth-child(2) { animation-delay: 6s; }
.hero-slides i:nth-child(3) { animation-delay: 12s; }
.hero-slides i:nth-child(4) { animation-delay: 18s; }
.hero-slides i:nth-child(5) { animation-delay: 24s; }
.hero-slides i:nth-child(6) { animation-delay: 30s; }
@keyframes heroFade {
  0% { opacity: 0; transform: scale(1); }
  5% { opacity: 1; }
  17% { opacity: 1; }
  22% { opacity: 0; transform: scale(1.06); }
  100% { opacity: 0; transform: scale(1.06); }
}
@media (prefers-reduced-motion: reduce) { .hero-slides { display: none; } }
