/* 52 – Piktogramm · Leitsystem */
:root {
  --blue: #5ab4e5;
  --green: #3aa35c;
  --orange: #f08a24;
  --silver: #b9c1ca;
  --navy: #1d3557;
  --ink: #17263a;
  --ink-2: #4b5a6b;
  --paper: #ffffff;
  --grey: #f1f3f5;
  --grid: #e9edf1;
  --m: 48px; /* Rastermodul */
  --f-head: 'Albert Sans', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --f-text: 'Inter Tight', 'Helvetica Neue', Arial, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--f-text); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--navy); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: 1248px; margin: 0 auto; padding-inline: 24px; }

.c-blue { --c: var(--blue); }
.c-green { --c: var(--green); }
.c-orange { --c: var(--orange); }
.c-navy { --c: var(--navy); }
.c-silver { --c: var(--silver); }

/* Piktogramm-Quadrate */
.pk, .pk-l {
  display: inline-grid; place-items: center; flex: none;
  background: var(--c); color: #fff; --gap: var(--c);
}
.pk { width: 32px; height: 32px; }
.pk svg { width: 24px; height: 24px; }
.pk-l { width: 64px; height: 64px; }
.pk-l svg { width: 46px; height: 46px; }

/* ---------- Kopf ---------- */
.bar { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--grid); }
.bar-in { display: flex; align-items: center; gap: 32px; min-height: 80px; }
.brand { line-height: 0; flex: none; }
.brand img { height: 56px; width: auto; aspect-ratio: 151 / 130; }
.nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav ul { display: flex; gap: 6px; }
.nav ul a, .tel {
  display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px;
  font: 600 16px/1 var(--f-head); color: var(--ink); text-decoration: none; letter-spacing: -.005em;
}
.nav ul a:hover { background: var(--grey); }
.nav ul a:hover .pk { transform: translateX(2px); }
.nav-side { display: flex; align-items: center; gap: 12px; }
.tel { font-weight: 700; white-space: nowrap; }
.tel .pk { --c: var(--navy); }
.lang {
  display: grid; place-items: center; width: 40px; height: 40px;
  background: var(--navy); color: #fff; font: 700 14px/1 var(--f-head); letter-spacing: .04em; text-decoration: none;
}
.lang:hover { background: var(--orange); }
.menu-btn { display: none; }

/* ---------- Hero ---------- */
.hero {
  padding: clamp(40px, 6vh, 72px) 0 clamp(48px, 7vh, 80px);
  background:
    linear-gradient(var(--grid) 1px, transparent 1px) 0 -1px / var(--m) var(--m),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px) -1px 0 / var(--m) var(--m),
    var(--paper);
  background-position: center top;
}
.hero-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; }
.kicker {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 14px;
  font: 600 14px/1.3 var(--f-text); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
h1 {
  grid-column: 1 / 9; margin-top: 28px;
  font: 700 clamp(40px, 5.3vw, 78px)/1.02 var(--f-head); letter-spacing: -.035em; color: var(--navy);
  text-wrap: balance;
}
.hero-side { grid-column: 9 / 13; padding-bottom: 8px; }
.lead { font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.ctas { margin-top: 24px; display: grid; gap: 10px; }
.btn {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 0 16px 0 20px;
  font: 700 17px/1.2 var(--f-head); text-decoration: none; letter-spacing: -.005em;
  transition: background .15s, color .15s;
}
.btn svg { width: 28px; height: 28px; flex: none; transition: transform .15s; }
.btn:hover svg { transform: translateX(4px); }
.btn-main { background: var(--navy); color: #fff; }
.btn-main:hover { background: var(--green); }
.btn-line { background: #fff; color: var(--navy); box-shadow: inset 0 0 0 2px var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }

.strip {
  grid-column: 1 / -1; margin-top: clamp(36px, 6vh, 64px);
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 0;
}
.strip li { display: flex; flex-direction: column; }
.strip svg {
  display: block; width: 100%; height: auto; aspect-ratio: 1; padding: 22%;
  background: var(--c); color: #fff; --gap: var(--c);
}
.strip span { margin-top: 10px; font: 600 12px/1.2 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.js .strip li { animation: tile .5s cubic-bezier(.2,.7,.2,1) both; }
.strip li:nth-child(2) { animation-delay: .06s; } .strip li:nth-child(3) { animation-delay: .12s; }
.strip li:nth-child(4) { animation-delay: .18s; } .strip li:nth-child(5) { animation-delay: .24s; }
.strip li:nth-child(6) { animation-delay: .3s; } .strip li:nth-child(7) { animation-delay: .36s; }
.strip li:nth-child(8) { animation-delay: .42s; }
@keyframes tile { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Abschnitte ---------- */
.sec { padding: clamp(80px, 10vw, 144px) 0; }
.sign {
  display: inline-flex; align-items: center; gap: 14px;
  font: 700 14px/1 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink);
}
.sign-letter { display: grid; place-items: center; width: 40px; height: 40px; background: var(--c); color: #fff; font: 800 22px/1 var(--f-head); letter-spacing: 0; }
.sign-letter.c-blue, .sign-letter.c-orange { color: var(--navy); }
.sec h2 {
  margin-top: 24px;
  font: 700 clamp(32px, 3.4vw, 50px)/1.06 var(--f-head); letter-spacing: -.03em; color: var(--navy);
  text-wrap: balance;
}
.intro { margin-top: 20px; font-size: 18px; color: var(--ink-2); max-width: 58ch; }

/* Schwerpunkt */
.focus { border-top: 8px solid var(--orange); }
.focus-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px 72px; align-items: start; }
.focus .sec-head { position: sticky; top: 120px; }
.cases { display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--navy); }
.cases li {
  display: flex; gap: 22px; padding: 28px 24px 32px 0;
  border-bottom: 1px solid var(--grid);
}
.cases li:nth-child(odd) { border-right: 1px solid var(--grid); }
.cases li:nth-child(even) { padding-left: 24px; }
.cases .pk-l { --gap: var(--orange); }
.code { font: 700 12px/1 var(--f-text); letter-spacing: .14em; color: var(--orange); }
.cases h3 { margin-top: 8px; font: 700 21px/1.2 var(--f-head); letter-spacing: -.015em; color: var(--navy); hyphens: auto; }
.cases p { margin-top: 8px; font-size: 16px; color: var(--ink-2); }

.stats { margin-top: 80px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 2px solid var(--navy); }
.stats li { display: grid; grid-template-columns: auto 1fr; column-gap: 20px; align-items: center; padding: 26px 28px; }
.stats li + li { border-left: 1px solid var(--silver); }
.stats .pk-l { grid-row: 1 / 3; width: 72px; height: 72px; }
.stats strong { font: 800 40px/1 var(--f-head); letter-spacing: -.03em; color: var(--navy); }
.stats span:not(.pk-l) { margin-top: 6px; font-size: 15px; line-height: 1.35; color: var(--ink-2); }

/* Routenschild */
.route { margin-top: 48px; background: var(--navy); color: #fff; padding: 32px clamp(24px, 4vw, 48px) 36px; }
.route-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.2); }
.route-label { font: 700 14px/1 var(--f-text); letter-spacing: .14em; text-transform: uppercase; }
.route-codes-sr { margin-left: auto; font: 600 15px/1 var(--f-text); letter-spacing: .1em; color: #c9d6e6; }
.legs { display: flex; align-items: center; margin: 40px 0 36px; }
.stop b {
  display: grid; place-items: center; width: 92px; height: 72px;
  background: #fff; color: var(--navy); font: 800 28px/1 var(--f-head); letter-spacing: .02em;
}
.stop.home b { background: var(--orange); color: var(--navy); }
.leg { flex: 1; position: relative; display: grid; place-items: center; min-width: 64px; }
.leg::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 4px; margin-top: -2px; background: #fff; }
.leg span { position: relative; width: 56px; height: 56px; display: grid; place-items: center; background: var(--c); color: #fff; --gap: var(--c); box-shadow: 0 0 0 6px var(--navy); }
.leg svg { width: 38px; height: 38px; }
.leg:nth-child(2) svg, .leg:nth-child(6) svg, .leg:nth-child(8) svg { transform: rotate(0deg); }
.route-text { font: 600 19px/1.5 var(--f-head); }
.route-note { margin-top: 8px; font-size: 15px; color: #c9d6e6; }

/* Leistungen */
.services { background: var(--grey); }
.svc-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 72px; align-items: end; margin-bottom: 56px; }
.svc-head .intro { margin-top: 0; }
.legend { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 26px; font: 600 13px/1 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.legend li { display: flex; align-items: center; gap: 10px; }
.legend i { width: 16px; height: 16px; background: var(--c); }
.fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.field { background: #fff; display: flex; flex-direction: column; padding-bottom: 30px; }
.fpk {
  position: relative; height: 176px; background: var(--c); color: #fff; --gap: var(--c);
  display: flex; align-items: flex-end; padding: 22px 24px;
}
.fpk svg { width: 96px; height: 96px; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.field:hover .fpk svg { transform: translateY(-6px); }
.fpk span { position: absolute; right: 22px; top: 18px; font: 800 18px/1 var(--f-head); letter-spacing: .04em; color: rgba(255,255,255,.9); }
.c-blue .fpk span, .c-orange .fpk span { color: var(--navy); }
.field h3 { margin: 24px 24px 0; font: 700 23px/1.15 var(--f-head); letter-spacing: -.02em; color: var(--navy); }
.field p { margin: 10px 24px 0; font-size: 16px; color: var(--ink-2); }

/* Ablauf */
.process .sec-head { margin-bottom: 56px; }
.seq { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.seq li { position: relative; }
.seq li:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; left: 112px; right: 0; height: 4px; background: var(--silver);
}
.seq li:not(:last-child)::before {
  content: ""; position: absolute; top: 36px; right: -4px; border: 10px solid transparent; border-left: 14px solid var(--silver); border-right: 0;
}
.sq { position: relative; display: grid; place-items: center; width: 92px; height: 92px; background: var(--navy); color: #fff; --gap: var(--navy); }
.sq svg { width: 58px; height: 58px; }
.sq b { position: absolute; right: -10px; bottom: -10px; width: 32px; height: 32px; display: grid; place-items: center; background: var(--orange); color: var(--navy); font: 800 16px/1 var(--f-head); }
.seq h3 { margin-top: 30px; font: 700 23px/1.15 var(--f-head); letter-spacing: -.02em; color: var(--navy); }
.seq p { margin-top: 8px; font-size: 16px; color: var(--ink-2); max-width: 30ch; }

/* Über uns */
.about { border-top: 1px solid var(--grid); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 96px; align-items: center; }
.photo { position: relative; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.photo-tag { position: absolute; left: 0; top: 0; width: 64px; height: 64px; display: grid; place-items: center; background: var(--green); color: #fff; --gap: var(--green); }
.photo-tag svg { width: 42px; height: 42px; }
.photo figcaption { margin-top: 14px; font: 600 13px/1.4 var(--f-text); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.about-p { margin-top: 22px; font-size: 18px; line-height: 1.65; max-width: 58ch; }
.feats { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; border-top: 2px solid var(--navy); }
.feats li { display: flex; align-items: center; gap: 14px; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--grid); font: 600 16px/1.3 var(--f-head); color: var(--navy); }
.feats .pk { --gap: var(--green); }

/* Kontakt */
.contact { padding-top: 0; }
.board { background: var(--navy); color: #fff; padding: clamp(32px, 5vw, 72px); }
.board-head { max-width: 760px; }
.sign.inv { color: #fff; }
.board h2 { color: #fff; }
.board .intro { color: #c9d6e6; }
.cells { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.25); }
.cells li { display: flex; gap: 20px; padding: 28px 24px 28px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.cells li:not(:nth-child(3n+1)) { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.25); }
.cells h3 { font: 700 13px/1.2 var(--f-text); letter-spacing: .12em; text-transform: uppercase; color: #c9d6e6; }
.cells p, .cells a { display: block; margin-top: 8px; font: 600 18px/1.45 var(--f-head); color: #fff; }
.cells a { text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 2px; text-underline-offset: 4px; overflow-wrap: anywhere; }
.cells a:hover { color: var(--blue); }

/* Fuß */
.foot { background: var(--grey); border-top: 8px solid var(--navy); }
.foot-in { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 24px 40px; padding-top: 40px; padding-bottom: 48px; }
.foot-logo { line-height: 0; }
.foot-logo img { height: 72px; width: auto; aspect-ratio: 151 / 130; }
.foot-picto { display: flex; }
.foot-picto li { width: 40px; height: 40px; display: grid; place-items: center; background: var(--c); color: #fff; --gap: var(--c); }
.foot-picto svg { width: 28px; height: 28px; }
.foot-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px 26px; }
.foot-links a { font: 600 15px/1.4 var(--f-head); color: var(--navy); text-decoration: none; }
.foot-links a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.copy { grid-column: 1 / -1; padding-top: 18px; border-top: 1px solid var(--silver); font-size: 14px; color: var(--ink-2); }

/* Rechtsseiten */
.legal { padding: clamp(48px, 7vw, 96px) 0 clamp(80px, 10vw, 140px);
  background: linear-gradient(var(--grid) 1px, transparent 1px) 0 -1px / var(--m) var(--m), linear-gradient(90deg, var(--grid) 1px, transparent 1px) -1px 0 / var(--m) var(--m), #fff; }
.legal-grid { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 48px 72px; }
.legal-side { position: sticky; top: 120px; align-self: start; }
.legal-side .pk-l { width: 96px; height: 96px; }
.legal-side .pk-l svg { width: 66px; height: 66px; }
.back { display: inline-flex; margin-top: 28px; font: 700 16px/1.3 var(--f-head); color: var(--navy); text-decoration: none; border-bottom: 2px solid var(--navy); padding-bottom: 2px; }
.back:hover { color: var(--green); border-color: var(--green); }
.legal-head h1 { grid-column: auto; margin-top: 22px; font-size: clamp(32px, 4vw, 56px); hyphens: auto; overflow-wrap: break-word; }
.legal-body { margin-top: 40px; padding: clamp(24px, 4vw, 48px); background: #fff; border-top: 4px solid var(--navy); box-shadow: 0 0 0 1px var(--grid); }
.legal-body > * { max-width: 70ch; }
.legal-body h2 { margin: 2em 0 .6em; font: 700 22px/1.25 var(--f-head); letter-spacing: -.015em; color: var(--navy); display: flex; gap: 12px; align-items: baseline; }
.legal-body h2::before { content: ""; width: 12px; height: 12px; background: var(--orange); flex: none; transform: translateY(-1px); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { font-size: 17px; line-height: 1.7; color: #2a3a4d; }
.legal-body p + p { margin-top: .9em; }
.legal-body ul { margin: .8em 0; }
.legal-body li { position: relative; padding-left: 24px; margin: .4em 0; }
.legal-body li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; background: var(--blue); }
.legal-body a { color: var(--navy); font-weight: 600; text-decoration-color: var(--blue); text-decoration-thickness: 2px; overflow-wrap: anywhere; }
.legal-note { padding: 14px 18px; margin-bottom: 2em; background: var(--grey); border-left: 6px solid var(--blue); font-size: 15px !important; }
.legal-address { margin-top: 1.4em; padding: 18px 20px; background: var(--grey); font-size: 16px !important; }

/* ---------- Responsiv ---------- */
@media (max-width: 1180px) {
  .nav ul a { font-size: 15px; padding-right: 8px; gap: 8px; }
  .bar-in { gap: 20px; }
  .tel { display: none; }
  .fields { grid-template-columns: repeat(2, 1fr); }
  .cells { grid-template-columns: repeat(2, 1fr); }
  .cells li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .cells li:nth-child(even) { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.25); }
}
@media (max-width: 960px) {
  .menu-btn {
    display: inline-flex; align-items: center; gap: 12px; margin-left: auto;
    height: 44px; padding: 0 16px; border: 0; background: var(--navy); color: #fff; cursor: pointer;
    font: 700 15px/1 var(--f-head);
  }
  .menu-ico { display: grid; gap: 4px; width: 20px; }
  .menu-ico i { display: block; height: 3px; background: #fff; transition: transform .2s, opacity .2s; }
  .menu-btn[aria-expanded="true"] .menu-ico i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] .menu-ico i:nth-child(2) { opacity: 0; }
  .menu-btn[aria-expanded="true"] .menu-ico i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .bar-in { flex-wrap: wrap; min-height: 72px; }
  .brand img { height: 50px; }
  .nav { flex-basis: 100%; flex-direction: column; align-items: stretch; padding-bottom: 20px; }
  .js .nav { display: none; }
  .js .nav.open { display: flex; }
  .nav ul { flex-direction: column; gap: 0; border-top: 2px solid var(--navy); }
  .nav ul a { padding: 14px 0; font-size: 19px; gap: 16px; border-bottom: 1px solid var(--grid); }
  .nav ul .pk { width: 40px; height: 40px; }
  .nav ul .pk svg { width: 30px; height: 30px; }
  .nav-side { justify-content: space-between; }
  .tel { display: flex; padding-left: 0; }
  h1 { grid-column: 1 / -1; }
  .hero-side { grid-column: 1 / -1; margin-top: 28px; max-width: 620px; }
  .ctas { grid-template-columns: 1fr 1fr; }
  .strip { grid-template-columns: repeat(4, 1fr); row-gap: 16px; }
  .focus-grid, .svc-head, .about-grid { grid-template-columns: 1fr; }
  .focus .sec-head { position: static; }
  .seq { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .seq li:nth-child(2)::after, .seq li:nth-child(2)::before { display: none; }
  .photo { max-width: 480px; }
  .legal-grid { grid-template-columns: 1fr; }
  .legal-side { position: static; }
}
@media (max-width: 720px) {
  .wrap { padding-inline: 16px; }
  body { font-size: 16px; }
  .ctas { grid-template-columns: 1fr; }
  h1 { font-size: 40px; margin-top: 22px; }
  .strip { grid-template-columns: repeat(4, 1fr); }
  .strip span { font-size: 10px; letter-spacing: .06em; }
  .cases { grid-template-columns: 1fr; }
  .cases li, .cases li:nth-child(even) { padding: 22px 0 24px; border-right: 0; }
  .cases .pk-l { width: 52px; height: 52px; }
  .cases .pk-l svg { width: 38px; height: 38px; }
  .stats { grid-template-columns: 1fr; }
  .stats li + li { border-left: 0; border-top: 1px solid var(--silver); }
  .stats li { padding: 20px; }
  .stats .pk-l { width: 60px; height: 60px; }
  .legs { flex-direction: column; align-items: flex-start; margin: 28px 0; }
  .stop b { width: 84px; height: 56px; font-size: 24px; }
  .leg { width: 84px; min-width: 0; height: 76px; flex: none; }
  .leg::before { left: 50%; right: auto; top: 0; bottom: 0; width: 4px; height: auto; margin: 0 0 0 -2px; }
  .leg span { width: 48px; height: 48px; }
  .leg svg { width: 32px; height: 32px; }
  .route-codes-sr { margin-left: 0; flex-basis: 100%; }
  .fields { grid-template-columns: 1fr; }
  .fpk { height: 140px; }
  .fpk svg { width: 80px; height: 80px; }
  .seq { grid-template-columns: 1fr; }
  .seq li::after, .seq li::before { display: none; }
  .feats { grid-template-columns: 1fr; }
  .cells { grid-template-columns: 1fr; }
  .cells li, .cells li:nth-child(even) { padding: 22px 0; border-left: 0; }
  .board { padding: 32px 20px; margin-inline: -16px; }
  .foot-in { grid-template-columns: 1fr; }
  .foot-links { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
