/* Logisticus – Website. Gestaltung wie das Karriereportal: Dunkelblau und Blau, helle Bänder, runde Karten. */
:root {
  --navy: #183650;
  --navy-2: #1f4a73;
  --navy-0: #0f2538;
  --blue: #2d89ef;
  --link: #1257a8;
  --ink: #181818;
  --muted: #4a5560;
  --line: #d9dee4;
  --bg: #f3f6f9;
  --card: #ffffff;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(24, 54, 80, .06), 0 6px 20px rgba(24, 54, 80, .08);
  --shadow-hover: 0 2px 4px rgba(24, 54, 80, .08), 0 14px 32px rgba(24, 54, 80, .14);
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem; line-height: 1.65;
}
a { color: var(--link); }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
img { max-width: 100%; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 0; }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 { color: var(--navy); line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: 2rem; margin: 0 0 .75rem; }
h2 { font-size: 1.55rem; margin: 0 0 1rem; }
h3 { font-size: 1.2rem; margin: 0 0 .5rem; }

/* Kopfbereich */
.site-header { position: relative; z-index: 30; background: var(--card); }
.topbar { background: var(--navy); color: #cfe0f1; font-size: .9rem; }
.topbar .wrap { display: flex; justify-content: flex-end; gap: .25rem 1.5rem; padding-top: .4rem; padding-bottom: .4rem; flex-wrap: wrap; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .55rem; padding-bottom: .55rem; position: relative; }
.brand { display: block; line-height: 0; }
.brand img { height: 52px; width: auto; }
.site-header::after { content: ""; display: block; height: 3px; background: linear-gradient(90deg, var(--navy), var(--blue)); }

.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-burger { display: inline-flex; align-items: center; gap: .5rem; border: 2px solid var(--navy); border-radius: 10px; padding: .45rem .8rem; font-weight: 700; color: var(--navy); cursor: pointer; user-select: none; }
.nav-burger::before { content: ""; width: 1.1rem; height: .85rem; background: linear-gradient(var(--navy) 0 0) top / 100% 2px no-repeat, linear-gradient(var(--navy) 0 0) center / 100% 2px no-repeat, linear-gradient(var(--navy) 0 0) bottom / 100% 2px no-repeat; }
.nav-toggle:focus-visible + .nav-burger { outline: 3px solid var(--blue); outline-offset: 2px; }
.main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-top: 1px solid var(--line); box-shadow: var(--shadow); padding: .5rem 1.25rem 1rem; }
.nav-toggle:checked ~ .main-nav { display: block; }
.menu, .menu ul { list-style: none; margin: 0; padding: 0; }
.menu a { display: block; padding: .65rem .85rem; color: var(--navy); text-decoration: none; font-weight: 600; border-radius: 8px; }
.menu a:hover { background: #eef4fa; }
.menu li.active > a { color: #0b4a92; background: #e6f0fb; }
.menu .sub { padding-left: 1rem; }
.menu .sub a { font-weight: 500; padding: .45rem .85rem; }
.menu .nav-cta > a { background: var(--navy); color: #fff; text-align: center; margin-top: .4rem; }
.menu .nav-cta > a:hover { background: var(--navy-0); }

@media (min-width: 62rem) {
  .nav-burger { display: none; }
  .main-nav { display: block !important; position: static; border: 0; box-shadow: none; padding: 0; background: none; }
  .menu { display: flex; align-items: center; gap: .15rem; }
  .menu > li { position: relative; }
  .menu > li.parent > a::after { content: ""; display: inline-block; margin-left: .45rem; width: .4rem; height: .4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.15rem) rotate(45deg); }
  .menu .sub { display: none; position: absolute; left: 0; top: 100%; min-width: 17rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-hover); padding: .4rem; }
  .menu li:hover > .sub, .menu li:focus-within > .sub { display: block; }
  .menu .nav-cta > a { margin: 0 0 0 .5rem; padding: .65rem 1.2rem; }
}

/* Titelbereich */
.hero { position: relative; color: #fff; background: var(--navy); overflow: hidden; isolation: isolate; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(12, 32, 50, .94) 0%, rgba(24, 54, 80, .80) 48%, rgba(24, 54, 80, .38) 100%); }
.hero .wrap { padding-top: 2.75rem; padding-bottom: 3.25rem; }
.hero h1 { color: #fff; font-size: 2.1rem; margin: .35rem 0 0; max-width: 26ch; }
.hero .sub { color: #dbe6f1; font-size: 1.2rem; margin: .75rem 0 0; max-width: 40rem; }
.hero.home .wrap { padding-top: 4.5rem; padding-bottom: 6.5rem; }
.hero.home h1 { font-size: 2.4rem; max-width: 20ch; }
.eyebrow { display: inline-block; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #9fd0ff; }
.crumbs { font-size: .92rem; color: #cfe0f1; }
.crumbs a { color: #fff; }
.crumbs span[aria-hidden] { margin: 0 .35rem; opacity: .7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
@media (min-width: 40rem) { .hero h1 { font-size: 2.7rem; } .hero.home h1 { font-size: 3.2rem; } .hero .wrap { padding-top: 3.5rem; padding-bottom: 4rem; } }

.btn { display: inline-block; background: var(--navy); color: #fff; text-decoration: none; text-align: center; border: 0; border-radius: 10px; padding: .8rem 1.4rem; font: inherit; font-weight: 650; cursor: pointer; min-height: 46px; transition: background .15s ease, transform .1s ease; }
.btn:hover { background: var(--navy-0); }
.btn:active { transform: translateY(1px); }
.hero .btn { background: #fff; color: var(--navy); }
.hero .btn:hover { background: #e8f1fb; }
.btn.ghost { background: transparent !important; color: #fff !important; border: 2px solid rgba(255, 255, 255, .65); }
.btn.ghost:hover { background: rgba(255, 255, 255, .14) !important; }
.btn.secondary { background: #fff; color: var(--navy); border: 2px solid var(--navy); }
.btn.secondary:hover { background: #eef4fa; }

/* Bänder und Raster */
.band { padding: 3.25rem 0; }
.band.white { background: var(--card); }
.band.tight { padding: 2.25rem 0; }
.band h2 { margin-bottom: 1.25rem; }
.intro { max-width: 46rem; color: var(--muted); margin: -.25rem 0 1.5rem; }
.cat-cards { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: -3.25rem; position: relative; z-index: 2; }
.cat { display: block; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; box-shadow: var(--shadow-hover); text-decoration: none; color: var(--ink); transition: transform .15s ease; }
.cat:hover { transform: translateY(-3px); }
.cat h3 { margin-bottom: .2rem; }
.cat p { margin: 0; color: var(--muted); }
.icon { display: block; width: 3.2rem; height: 3.2rem; border-radius: 14px; background: #e6f0fb center / 1.8rem no-repeat; margin-bottom: .9rem; }
.cards { display: grid; grid-template-columns: 1fr; gap: 1.1rem; margin: 0; padding: 0; list-style: none; align-items: stretch; }
.cards > li { display: flex; }
.cards > li > .card { flex: 1; min-width: 0; }
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card img { display: block; width: 100%; height: 11rem; object-fit: cover; background: #dbe7f3; }
.card .body { padding: 1.1rem 1.25rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: .35rem; }
.card p { margin: 0 0 .9rem; color: var(--muted); flex: 1; }
.card .more { color: var(--link); font-weight: 650; }
.card .more::after { content: " →"; }

.split { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: start; }
.split p { margin: 0 0 1rem; }
.service { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; }
.service h3 { margin-bottom: .75rem; }
.service dl { margin: 0; }
.service dt { font-weight: 700; color: var(--navy); margin-top: .75rem; }
.service dd { margin: 0; color: var(--muted); }
.service .strong { margin: 1rem 0 0; font-weight: 700; color: var(--navy); }

.logos { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.25rem 2.5rem; list-style: none; margin: 1.5rem 0 0; padding: 0; }
.logos img { display: block; height: 54px; width: auto; max-width: 11rem; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .15s ease, opacity .15s ease; }
.logos a:hover img { filter: none; opacity: 1; }
.lead-quote { font-size: 1.3rem; color: var(--navy); text-align: center; max-width: 40rem; margin: 0 auto; }

.cta { background: linear-gradient(135deg, var(--navy-0), var(--navy) 55%, var(--navy-2)); color: #fff; }
.cta h2 { color: #fff; }
.cta p { color: #dbe6f1; }
.cta .grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: center; }
.cta .btn { background: #fff; color: var(--navy); }
.cta .btn:hover { background: #e8f1fb; }
.cta address { font-style: normal; line-height: 1.7; }
.cta a { color: #fff; }
.cta .person { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: var(--radius); padding: 1.4rem; }
.cta .person h3 { color: #fff; }

/* Artikelseiten */
.layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2rem; }
.article { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.75rem; }
.article { display: flow-root; }
.article > :first-child { margin-top: 0; }
.article p { margin: 0 0 1rem; }
.article h2 { margin-top: 1.5rem; }
.article h3 { margin: 1.75rem 0 .5rem; }
.article .accent { color: var(--link); font-weight: 700; font-size: 1.15rem; margin: 1.6rem 0 .4rem; }
.article > .accent:first-child { margin-top: 0; }
.article ul { padding-left: 1.3rem; margin: 0 0 1rem; }
.article li { margin: .2rem 0; }
.article li > ul { margin: .25rem 0 .5rem; }
.article img.fig { display: block; max-width: 100%; height: auto; border-radius: var(--radius); margin: 0 0 1.25rem; box-shadow: var(--shadow); }
.article img.fl, .article img.fr { max-width: min(100%, 24rem); }   /* kleine Bilder im Text: kein float (Layout-Falle in Chrome), als Block */
.side { display: grid; gap: 1rem; align-content: start; }
.side-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.25rem; }
.side-card h2 { font-size: 1.1rem; margin: 0 0 .6rem; }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li a { display: block; padding: .45rem .6rem; border-radius: 8px; text-decoration: none; color: var(--navy); font-weight: 500; }
.side-card li a:hover { background: #eef4fa; }
.side-card li.active a { background: #e6f0fb; color: #0b4a92; font-weight: 700; }
.side-card.contact { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #dbe6f1; border: 0; }
.side-card.contact h2 { color: #fff; }
.side-card.contact a { color: #fff; }
.side-card.contact p { margin: 0 0 .6rem; }
.side-card.contact .btn { background: #fff; color: var(--navy); margin-top: .4rem; }

@media (min-width: 40rem) {
  .cat-cards { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 62rem) {
  .cards { grid-template-columns: repeat(3, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr) 20rem; }
  .split { grid-template-columns: 1.4fr 1fr; gap: 3rem; }
  .cta .grid { grid-template-columns: 1.2fr 1fr; }
  .article { padding: 2.25rem 2.5rem; }
}

/* Referenzen, Kontakt, Download, Rechtliches */
.refs { display: grid; gap: 1rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.ref { display: grid; grid-template-columns: 1fr; gap: 1rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.ref .logo { display: flex; align-items: center; justify-content: center; min-height: 4.5rem; }
.ref .logo img { max-height: 4.5rem; width: auto; max-width: 100%; box-shadow: none; border-radius: 0; margin: 0; }
.ref .nologo { font-weight: 700; color: var(--navy); text-align: center; font-size: .95rem; line-height: 1.3; }
.ref h3 { margin: 0 0 .25rem; font-size: 1.1rem; }
.ref h3 a { color: var(--navy); text-decoration: none; }
.ref h3 a:hover { text-decoration: underline; }
.ref p { margin: 0; color: var(--muted); }
@media (min-width: 40rem) { .ref { grid-template-columns: 11rem 1fr; } }
.contact-grid { display: grid; gap: 1.5rem; }
.contact-grid dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; }
.contact-grid dt { font-weight: 700; color: var(--navy); }
.contact-grid dd { margin: 0; }
.contact-grid address { font-style: normal; }
@media (min-width: 40rem) { .contact-grid { grid-template-columns: 1fr 1fr; } }
.download { display: inline-block; text-decoration: none; }
.download img { display: block; max-width: 22rem; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.download span { display: block; margin-top: .6rem; font-weight: 650; }
.legal .article { padding: 1.75rem; }
.legal h2 { font-size: 1.25rem; margin-top: 2rem; }
.legal h3 { font-size: 1.05rem; margin-top: 1.4rem; }
.legal p, .legal li { font-size: 1rem; }
.legal .layout { grid-template-columns: minmax(0, 52rem); justify-content: center; }

/* Fuss */
.site-footer { background: var(--navy); color: #dbe6f1; padding: 2.75rem 0 1.5rem; font-size: .98rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer h2 { color: #fff; font-size: 1.05rem; margin: 0 0 .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: .3rem 0; }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .18); margin-top: 2rem; padding-top: 1rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .9rem; color: #b9cde1; }
@media (min-width: 40rem) { .foot-grid { grid-template-columns: 1fr 1fr 1.4fr; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; } }
@media print { .site-header .topbar, .nav-burger, .main-nav, .site-footer, .hero-img, .hero::after, .side { display: none !important; } .hero { background: none; color: #000; } .hero h1 { color: #000; } }

.site-footer address { font-style: normal; }
.mt-1 { margin-top: 1rem; }
.mt-125 { margin-top: 1.25rem; }
.mt-075 { margin: .75rem 0 0; }

.icon-box { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23183650' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 8 12 3 3 8v8l9 5 9-5z'/%3E%3Cpolyline points='3 8 12 13 21 8'/%3E%3Cline x1='12' y1='13' x2='12' y2='21'/%3E%3C/svg%3E"); }
.icon-check { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23183650' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpolyline points='8 12.5 11 15.5 16.5 9'/%3E%3C/svg%3E"); }
.icon-chat { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23183650' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20l1-4.6A8 8 0 1 1 21 12z'/%3E%3Cline x1='9' y1='11' x2='15' y2='11'/%3E%3Cline x1='9' y1='14' x2='13' y2='14'/%3E%3C/svg%3E"); }
