:root {
  --ink: #172033;
  --muted: #596173;
  --accent: #f4bd19;
  --panel: rgba(250, 250, 248, 0.95);
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: #202936;
  font-family: Arial, Helvetica, sans-serif;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}
a:hover { text-decoration-thickness: 2px; }

.site-shell {
  position: relative;
  display: grid;
  min-height: 100svh;
  padding: clamp(1rem, 4vw, 4rem);
  overflow: hidden;
  isolation: isolate;
}
.background, .shade {
  position: fixed;
  inset: 0;
  z-index: -2;
}
.background {
  background: url("eley-logistik-hintergrund.jpg") center / cover;
}
.shade {
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 13, 23, .42), rgba(7, 13, 23, .08) 56%, rgba(7, 13, 23, .05));
}
.info-panel {
  align-self: center;
  width: min(100%, 34rem);
  padding: clamp(1.6rem, 4vw, 3.2rem);
  background: var(--panel);
  box-shadow: 0 1.25rem 4rem rgba(4, 9, 17, .3);
}
.brand-mark {
  width: 4.25rem;
  height: .35rem;
  margin-bottom: 2rem;
  background: var(--accent);
}
.intro { margin-bottom: 2.2rem; }
.eyebrow, .label {
  margin: 0 0 .65rem;
  color: var(--muted);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .82;
}
h1 span {
  display: block;
  max-width: 18rem;
  margin-top: 1.15rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
  letter-spacing: -.035em;
  line-height: 1.04;
}
.legal-form {
  margin: .45rem 0 0;
  color: var(--muted);
  font-size: .86rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding-block: 1.6rem;
  border-block: 1px solid rgba(23, 32, 51, .16);
}
.contact-grid p, address {
  margin: 0;
  font-size: 1rem;
  font-style: normal;
  line-height: 1.55;
}
.company-details { padding-top: 1.6rem; }
dl {
  display: grid;
  gap: .5rem;
  margin: 0;
  font-size: .86rem;
}
dl div {
  display: grid;
  grid-template-columns: minmax(8rem, 1fr) 1.2fr;
  gap: 1rem;
}
dt { color: var(--muted); }
dd { margin: 0; font-weight: 700; }

.site-footer {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: .65rem .85rem;
  color: rgba(255, 255, 255, .92);
  background: rgba(7, 13, 23, .72);
  font-size: .78rem;
  backdrop-filter: blur(8px);
}
.site-footer nav { display: flex; gap: 1rem; }
.site-footer p { margin: 0; color: rgba(255, 255, 255, .7); }

.legal-shell {
  min-height: 100svh;
  padding: clamp(1rem, 4vw, 4rem);
  background:
    linear-gradient(rgba(7, 13, 23, .78), rgba(7, 13, 23, .9)),
    url("eley-logistik-hintergrund.jpg") center / cover fixed;
}
.legal-shell .site-footer {
  position: static;
  width: min(100%, 52rem);
  margin: 1rem auto 0;
  justify-content: space-between;
}
.legal-page {
  width: min(100%, 52rem);
  margin: 0 auto;
  padding: clamp(1.5rem, 5vw, 4.5rem);
  background: rgba(250, 250, 248, .98);
  box-shadow: 0 1.25rem 4rem rgba(4, 9, 17, .32);
}
.back-link {
  display: inline-block;
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}
.legal-page h1 {
  font-size: clamp(2.5rem, 7vw, 4.8rem);
  line-height: .95;
}
.legal-intro {
  max-width: 40rem;
  margin: 1.25rem 0 2.75rem;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}
.legal-page section {
  padding-block: 1.4rem;
  border-top: 1px solid rgba(23, 32, 51, .14);
}
.legal-page h2 {
  margin: 0 0 .75rem;
  font-size: 1.15rem;
  line-height: 1.3;
}
.legal-page p, .legal-page address, .legal-page li {
  font-size: .97rem;
  line-height: 1.7;
}
.legal-page p { margin: .75rem 0 0; }
.legal-page section > p:first-of-type { margin-top: 0; }
.legal-page ul { margin: .75rem 0 0; padding-left: 1.25rem; }
.legal-updated {
  margin: 2rem 0 0 !important;
  color: var(--muted);
  font-size: .82rem !important;
}

@media (max-width: 620px) {
  .site-shell { align-items: end; padding: 0; overflow: visible; }
  .background, .shade { position: absolute; height: 48svh; }
  .background { background-position: 60% center; }
  .shade { background: linear-gradient(0deg, rgba(7, 13, 23, .48), rgba(7, 13, 23, .03)); }
  .info-panel { width: 100%; margin-top: 42svh; box-shadow: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .site-shell > .site-footer {
    position: static;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: .5rem;
    padding: 1rem clamp(1.6rem, 4vw, 3.2rem);
    background: #172033;
  }
  .legal-shell { padding: 0; }
  .legal-page { box-shadow: none; }
  .legal-shell .site-footer { margin: 0; }
}
