/* Nordway Logistics — components/bundle.css. Lädt nach tokens.css; jede Farbe, jeder Abstand, jeder Radius ist ein Token. */

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--font-sans); background: var(--surface); color: var(--ink); -webkit-font-smoothing: antialiased; }

@media (prefers-reduced-motion: reduce) {
  .nw-btn, .nw-input, .nw-service, .nw-header-nav a, .nw-footer a { transition: none !important; }
}

/* Layout */
.nw-container { max-width: var(--container-max); margin: 0 auto; padding-left: var(--space-4); padding-right: var(--space-4); }
@media (min-width: 720px) { .nw-container { padding-left: var(--space-6); padding-right: var(--space-6); } }
.nw-section { padding-top: var(--space-12); padding-bottom: var(--space-12); }
@media (min-width: 720px) { .nw-section { padding-top: var(--space-16); padding-bottom: var(--space-16); } }
@media (min-width: 1024px) { .nw-section { padding-top: var(--space-24); padding-bottom: var(--space-24); } }
.nw-section-tint { background: var(--surface-tint); }

/* Typografie-Helfer (Werte = tokens.json type.groups) */
.nw-eyebrow { margin: 0; font-family: var(--font-label); font-size: 13px; line-height: 20px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase; color: var(--link); }
.nw-eyebrow-sm { margin: 0; font-family: var(--font-label); font-size: 11px; line-height: 16px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-muted); }
.nw-h1 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 56px; line-height: 60px; letter-spacing: .01em; color: var(--ink); }
.nw-h2 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 36px; line-height: 42px; letter-spacing: .01em; color: var(--ink); }
.nw-h3 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 24px; line-height: 30px; letter-spacing: .01em; color: var(--ink); }
.nw-lead { margin: 0; font-size: 19px; line-height: 30px; font-weight: 400; color: var(--ink-muted); max-width: var(--content-max); }
.nw-body { margin: 0; font-size: 16px; line-height: 26px; }
.nw-small { margin: 0; font-size: 14px; line-height: 22px; color: var(--ink-muted); }
@media (max-width: 719px) {
  .nw-h1 { font-size: 36px; line-height: 40px; }
  .nw-h2 { font-size: 28px; line-height: 34px; }
}

/* Icon */
.nw-icon { display: inline-block; width: 24px; height: 24px; flex: none; vertical-align: middle; }

/* Button */
.nw-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); min-height: 44px; padding: var(--space-3) var(--space-4); border-radius: var(--radius-md); border: 1.5px solid transparent; background: transparent; font-family: var(--font-sans); font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: .01em; color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out, box-shadow .15s ease-out; }
.nw-btn .nw-icon { width: 20px; height: 20px; }
.nw-btn:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.nw-btn-primary { background: var(--action); border-color: var(--action); color: var(--on-action); }
.nw-btn-primary:hover, .nw-btn-primary:active { background: var(--action-hover); border-color: var(--action-hover); }
.nw-btn-secondary { border-color: var(--line-strong); color: var(--ink); }
.nw-btn-secondary:hover, .nw-btn-secondary:active { background: var(--brand-soft); border-color: var(--link); color: var(--link); }
.nw-btn-ghost { padding-left: var(--space-2); padding-right: var(--space-2); color: var(--link); }
.nw-btn-ghost:hover, .nw-btn-ghost:active { background: var(--brand-soft); }
.nw-btn-lg { min-height: 52px; padding: var(--space-4) var(--space-6); font-size: 16px; }
.nw-btn[disabled], .nw-btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* Badge */
.nw-badge { display: inline-flex; align-items: center; gap: var(--space-2); height: 28px; padding: 0 calc(var(--space-3) - .24em) 0 var(--space-3); border-radius: var(--radius-pill); border: 1px solid transparent; font-family: var(--font-label); font-size: 11px; line-height: 16px; font-weight: 400; letter-spacing: .24em; text-transform: uppercase; white-space: nowrap; }
.nw-badge .nw-icon { width: 14px; height: 14px; }
.nw-badge-brand { background: var(--brand-soft); color: var(--link); }
.nw-badge-neutral { background: var(--surface-tint); border-color: var(--line); color: var(--ink-muted); }
.nw-badge-success { background: var(--success-soft); color: var(--success); }

/* TextField */
.nw-field { display: flex; flex-direction: column; gap: var(--space-2); font-family: var(--font-sans); }
.nw-field-label { font-size: 14px; line-height: 22px; font-weight: 600; color: var(--ink); }
.nw-field-label .nw-req { color: var(--danger); margin-left: 2px; }
.nw-input { width: 100%; min-height: 44px; margin: 0; padding: var(--space-2) var(--space-4); border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16px; line-height: 26px; transition: border-color .15s ease-out, box-shadow .15s ease-out; }
[data-theme="dark"] .nw-input { background: var(--surface-tint); }
.nw-input::placeholder { color: var(--ink-muted); opacity: 1; }
.nw-input:focus { outline: 2px solid transparent; border-color: var(--focus); box-shadow: var(--focus-ring); }
textarea.nw-input { min-height: 120px; resize: vertical; }
.nw-field-hint { display: flex; align-items: flex-start; gap: var(--space-1); font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.nw-field-hint .nw-icon { width: 16px; height: 16px; margin-top: 3px; }
.nw-field-error .nw-input { border-color: var(--danger); }
.nw-field-error .nw-field-hint { color: var(--danger); }

/* Header (immer in data-theme="dark") */
.nw-header { background: var(--surface-raised); color: var(--ink); border-bottom: 1px solid var(--line); font-family: var(--font-sans); }
.nw-header .nw-container { display: flex; align-items: center; gap: var(--space-6); min-height: 80px; }
.nw-header-logo { display: inline-flex; flex: none; border-radius: var(--radius-sm); }
.nw-header-logo:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.nw-header-logo img { display: block; height: 56px; width: auto; }
.nw-header-nav { display: flex; gap: var(--space-6); margin-left: auto; }
.nw-header-nav a { display: inline-block; padding: var(--space-2) 0; border-bottom: 2px solid transparent; font-size: 15px; line-height: 20px; font-weight: 600; letter-spacing: .01em; color: var(--ink); text-decoration: none; transition: color .15s ease-out, border-color .15s ease-out; }
.nw-header-nav a:hover, .nw-header-nav a[aria-current="page"] { color: var(--link); border-bottom-color: var(--brand); }
.nw-header-nav a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
.nw-header-cta { flex: none; }
@media (max-width: 719px) { .nw-header-nav { display: none; } .nw-header-cta { margin-left: auto; } }

/* Hero (immer in data-theme="dark") */
.nw-hero { background: var(--surface); color: var(--ink); overflow: hidden; font-family: var(--font-sans); }
.nw-hero .nw-container { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); align-items: center; padding-top: var(--space-12); padding-bottom: var(--space-12); }
@media (min-width: 900px) { .nw-hero .nw-container { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: var(--space-12); padding-top: var(--space-16); padding-bottom: var(--space-16); } }
.nw-hero-title { margin-top: var(--space-3); }
.nw-hero-lead { margin-top: var(--space-6); }
.nw-hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-8); }
.nw-hero-chips { display: flex; flex-wrap: wrap; gap: var(--space-2); margin-top: var(--space-8); }
.nw-hero-art img { display: block; width: 100%; height: auto; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 70% 80% at 50% 50%, #000 55%, transparent 100%); }

/* ServiceCard */
.nw-service { display: flex; flex-direction: column; gap: var(--space-4); padding: var(--space-6); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); color: var(--ink); text-decoration: none; font-family: var(--font-sans); transition: box-shadow .15s ease-out, border-color .15s ease-out; }
a.nw-service:hover { box-shadow: var(--shadow-sm); border-color: var(--line-strong); }
a.nw-service:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.nw-service-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: var(--radius-md); background: var(--brand-soft); color: var(--link); }
.nw-service-icon .nw-icon { width: 28px; height: 28px; }
.nw-service-title { margin: 0; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -.01em; }
.nw-service-text { margin: 0; font-size: 16px; line-height: 26px; color: var(--ink-muted); }
.nw-service-more { display: inline-flex; align-items: center; gap: var(--space-1); margin-top: auto; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--link); }
.nw-service-more .nw-icon { width: 20px; height: 20px; }
.nw-services { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); }
@media (min-width: 900px) { .nw-services { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); } }

/* Availability */
.nw-availability { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-4); font-family: var(--font-sans); }
@media (min-width: 720px) { .nw-availability { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.nw-availability-tile { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-6); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.nw-availability-tile .nw-icon { color: var(--link); }
.nw-availability-day { font-family: var(--font-label); font-size: 11px; line-height: 16px; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-muted); }
.nw-availability-time { font-family: var(--font-display); font-size: 24px; line-height: 30px; letter-spacing: .01em; color: var(--ink); }
.nw-availability-note { font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.nw-availability-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: var(--space-2); padding: var(--space-3) var(--space-4); border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface-tint); font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.nw-availability-foot .nw-icon { width: 20px; height: 20px; color: var(--link); }
.nw-availability-foot strong { color: var(--ink); font-weight: 600; }

/* ContactCta */
.nw-contact { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-6); padding: var(--space-8); background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); font-family: var(--font-sans); }
@media (min-width: 900px) { .nw-contact { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-12); align-items: center; } }
.nw-contact-title { margin-top: var(--space-2); }
.nw-contact-lead { margin-top: var(--space-3); }
.nw-contact-actions { display: flex; flex-direction: column; gap: var(--space-3); min-width: 260px; }
.nw-contact-actions .nw-btn { justify-content: flex-start; }

/* Footer (immer in data-theme="dark") */
.nw-footer { background: var(--surface); color: var(--ink); border-top: 1px solid var(--line); font-family: var(--font-sans); }
.nw-footer-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); padding-top: var(--space-12); padding-bottom: var(--space-8); }
@media (min-width: 720px) { .nw-footer-main { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); } }
.nw-footer-logo img { display: block; height: 64px; width: auto; }
.nw-footer-tagline { margin-top: var(--space-4); color: var(--ink-muted); }
.nw-footer-claim { margin-top: var(--space-3); font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.nw-footer h3 { margin: 0 0 var(--space-3); font-size: 14px; line-height: 22px; font-weight: 600; color: var(--ink); }
.nw-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-2); }
.nw-footer li { display: flex; align-items: flex-start; gap: var(--space-2); font-size: 14px; line-height: 22px; color: var(--ink-muted); }
.nw-footer li .nw-icon { width: 20px; height: 20px; color: var(--brand); margin-top: 1px; }
.nw-footer a { color: var(--ink); text-decoration: none; transition: color .15s ease-out; }
.nw-footer a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 3px; }
.nw-footer a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); border-radius: var(--radius-sm); }
.nw-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-2) var(--space-4); padding-top: var(--space-4); padding-bottom: var(--space-4); border-top: 1px solid var(--line); font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .02em; color: var(--ink-muted); }
