/* Althalge Logistik — shared stylesheet */

:root {
  --color-navy: #0f2942;
  --color-navy-dark: #081a2b;
  --color-blue: #1b4f72;
  --color-accent: #ff7a29;
  --color-accent-dark: #e05e0f;
  --color-bg: #ffffff;
  --color-bg-alt: #f4f6f9;
  --color-text: #1b1f27;
  --color-text-muted: #5a6472;
  --color-border: #e2e6eb;
  --radius: 10px;
  --radius-lg: 16px;
  --max-width: 1160px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --shadow: 0 10px 30px -12px rgba(15, 41, 66, 0.25);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--color-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 0.6em; color: var(--color-navy); }
h1 { font-size: clamp(2rem, 4vw + 1rem, 3rem); }
h2 { font-size: clamp(1.5rem, 2vw + 1rem, 2.25rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-navy);
  color: #fff;
  padding: 0.75em 1.25em;
  z-index: 1000;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85em 1.6em;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  text-decoration: none;
  text-align: center;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-dark); }
.btn-outline { background: transparent; color: var(--color-navy); border-color: var(--color-navy); }
.btn-outline:hover { background: var(--color-navy); color: #fff; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-outline-light:hover { background: #fff; color: var(--color-navy); }
.btn-block { display: block; width: 100%; }
.btn-lg { padding: 1em 2em; font-size: 1.05rem; }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.85rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(180%) blur(6px);
  border-bottom: 1px solid var(--color-border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.logo {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-navy);
  letter-spacing: -0.01em;
}
.logo span { color: var(--color-accent); }
a.logo:hover { text-decoration: none; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-navy);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  position: fixed;
  inset: 72px 0 0 0;
  background: #fff;
  padding: 1.5rem 1.25rem 2.5rem;
  display: none;
  flex-direction: column;
  gap: 1.5rem;
  overflow-y: auto;
  border-top: 1px solid var(--color-border);
}
.site-nav.is-open { display: flex; }
.site-nav ul { display: flex; flex-direction: column; gap: 0.25rem; }
.site-nav a:not(.btn) {
  display: block;
  padding: 0.75em 0.25em;
  color: var(--color-navy);
  font-weight: 600;
  border-bottom: 1px solid var(--color-border);
}
.site-nav a:not(.btn):hover { color: var(--color-accent); text-decoration: none; }
.site-nav a.active:not(.btn) { color: var(--color-accent); }
.nav-ctas { display: flex; flex-direction: column; gap: 0.75rem; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    display: flex !important;
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    padding: 0;
    border-top: none;
    inset: auto;
    overflow: visible;
  }
  .site-nav ul { flex-direction: row; gap: 1.75rem; }
  .site-nav a:not(.btn) { border-bottom: none; padding: 0.25em 0; }
  .nav-ctas { flex-direction: row; }
}

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 100%);
  color: #fff;
  padding: 4rem 0 4.5rem;
}
.hero-inner { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) {
  .hero-inner.two-col { grid-template-columns: 1.1fr 0.9fr; }
}
.hero h1 { color: #fff; }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,0.88); max-width: 46ch; }
.hero-page {
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-blue) 100%);
  color: #fff;
  padding: 3.25rem 0;
}
.hero-page h1 { color: #fff; margin-bottom: 0.4em; }
.hero-page .lead { color: rgba(255,255,255,0.88); max-width: 60ch; }
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.hero-graphic {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: grid;
  gap: 1.25rem;
}
.hero-graphic .stat-row { display: flex; align-items: center; gap: 0.9rem; }
.hero-graphic .icon { flex-shrink: 0; width: 42px; height: 42px; }
.hero-graphic strong { display: block; color: #fff; }
.hero-graphic span { color: rgba(255,255,255,0.75); font-size: 0.92rem; }

/* Sections */
.section { padding: 4rem 0; }
.section-alt { background: var(--color-bg-alt); }
.section-header { max-width: 62ch; margin-bottom: 2.5rem; }
.section-header p { color: var(--color-text-muted); font-size: 1.05rem; }

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.75rem;
  height: 100%;
}
.card .icon { width: 40px; height: 40px; margin-bottom: 1rem; color: var(--color-accent); }
.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--color-text-muted); }

.icon { color: var(--color-accent); }
svg.icon { stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* Audience split */
.audience-card {
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  color: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.audience-card.business { background: linear-gradient(160deg, var(--color-navy), var(--color-blue)); }
.audience-card.driver { background: linear-gradient(160deg, #1d3a52, var(--color-accent-dark)); }
.audience-card h3 { color: #fff; font-size: 1.5rem; }
.audience-card p { color: rgba(255,255,255,0.85); flex-grow: 1; }
.audience-card ul { margin: 1rem 0 1.5rem; display: grid; gap: 0.5rem; }
.audience-card li { display: flex; gap: 0.6rem; align-items: flex-start; color: rgba(255,255,255,0.9); }
.audience-card li svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; color: var(--color-accent); }
.audience-card.driver li svg { color: #ffd8b0; }

/* Platform badges */
.platform-list { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.platform-badge {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 0.6em 1.25em;
  font-weight: 700;
  color: var(--color-navy);
}
.fine-print { font-size: 0.85rem; color: var(--color-text-muted); }

/* Steps */
.steps { display: grid; gap: 1.5rem; counter-reset: step; }
@media (min-width: 800px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { position: relative; padding-top: 2.75rem; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0; left: 0;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Values */
.value-item { display: flex; gap: 1rem; align-items: flex-start; }
.value-item .icon { width: 32px; height: 32px; flex-shrink: 0; }

/* Forms */
.form-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
}
.form-row { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .form-row.cols-2 { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.25rem; }
.form-group label { font-weight: 600; font-size: 0.95rem; }
.form-group .hint { font-weight: 400; color: var(--color-text-muted); font-size: 0.85rem; }
input, select, textarea {
  font: inherit;
  padding: 0.75em 0.9em;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: #fff;
  color: var(--color-text);
  width: 100%;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
  border-color: var(--color-accent);
}
fieldset { border: 1px solid var(--color-border); border-radius: 8px; padding: 1rem 1.1rem; margin: 0 0 1.25rem; }
legend { font-weight: 600; padding: 0 0.4rem; }
.radio-group { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.radio-option { display: flex; align-items: center; gap: 0.5rem; font-weight: 500; }
.radio-option input { width: auto; }
.checkbox-row { display: flex; gap: 0.6rem; align-items: flex-start; margin-bottom: 1.25rem; }
.checkbox-row input { width: auto; margin-top: 0.3rem; }
.checkbox-row label { font-weight: 400; font-size: 0.92rem; color: var(--color-text-muted); }

/* honeypot */
.hp-field { position: absolute; left: -9999px; top: -9999px; }

.form-status {
  display: none;
  padding: 1rem 1.1rem;
  border-radius: 8px;
  margin-bottom: 1.25rem;
  font-weight: 600;
}
.form-status.is-visible { display: block; }
.form-status.success { background: #e6f6ee; color: #146c43; }
.form-status.error { background: #fdecea; color: #b3261e; }

/* Contact info list */
.contact-info { display: grid; gap: 1.25rem; }
.contact-info li { display: flex; gap: 0.85rem; align-items: flex-start; }
.contact-info svg { color: var(--color-accent); width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.contact-info strong { display: block; }

.placeholder-note {
  background: #fff7ec;
  border: 1px solid #ffd9a8;
  color: #7a4a09;
  border-radius: 8px;
  padding: 0.9rem 1.1rem;
  font-size: 0.9rem;
}

/* Legal pages */
.legal-content h2 { margin-top: 2em; }
.legal-content h2:first-child { margin-top: 0; }
.legal-content ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.legal-content li { margin-bottom: 0.4em; }
.legal-content { max-width: 78ch; }

/* Final CTA band */
.cta-band {
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  text-align: center;
  display: grid;
  gap: 1.25rem;
  justify-items: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.85); max-width: 50ch; }

/* Footer */
.site-footer {
  background: var(--color-navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 3.5rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 700px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 0.9em; }
.footer-col ul { display: grid; gap: 0.55rem; }
.footer-col a { color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: #fff; }
.site-footer .logo { color: #fff; }
.site-footer address { font-style: normal; line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
}
.footer-bottom a { color: rgba(255,255,255,0.75); }
