/* Nowak Transporte – Stylesheet
   Ruhig und klar: Logo-Blau, Weiß, helles Grau, feine Linien, viel Luft.
   Schrift Archivo (lokal, keine Google-Server). Handschrift Kalam nur auf dem Tagesbericht.
   Layout: links ausgerichtet; mobil eine Spalte, ab 960px zwei Spalten. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Archivo";
  font-style: italic;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Kalam";
  font-weight: 400;
  font-display: swap;
  src: url("fonts/kalam-400.woff2") format("woff2");
}

:root {
  --navy: #001e42;    /* Logo-Blau */
  --navy-2: #0c2a52;  /* Hover auf Blau */
  --ink: #101b2d;     /* Text */
  --text-2: #3e4b5d;  /* Fließtext in Abschnitten */
  --muted: #5b6878;   /* Nebentext */
  --line: #dde3ea;    /* feine Linien */
  --paper: #f3f5f8;   /* helle Flächen */
  --white: #ffffff;
  --on-navy: #c3cddb; /* Nebentext auf Blau */
  --kuli: #2442b8;    /* Kugelschreiber, nur auf dem Tagesbericht */
  --wa: #25d366;      /* nur das WhatsApp-Symbol */
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --hand: "Kalam", "Segoe Print", "Bradley Hand", cursive;
  --gutter: clamp(20px, 5vw, 48px);
  --maxw: 1160px;
  --radius: 8px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--kuli); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible { outline-color: var(--white); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 50; background: var(--white); color: var(--navy); padding: .6rem 1rem; border-radius: var(--radius); font-weight: 650; }
.skip:focus { top: 1rem; }
.nw { white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }

/* Platzhalter, die vor dem Hochladen ersetzt werden müssen */
mark.todo { background: #ffe45c; color: #3a2a00; padding: 0 .25em; border-radius: 3px; font-weight: 600; }

/* ---------- Überschriften ---------- */
.h1, .h2, .h3 { font-stretch: 112%; font-weight: 700; color: var(--navy); }
.h1 { font-size: clamp(2.6rem, 5.4vw + 1rem, 4.6rem); line-height: 1.02; letter-spacing: -.028em; }
.h2 { font-size: clamp(1.85rem, 2.6vw + 1rem, 2.75rem); line-height: 1.08; letter-spacing: -.022em; }
.h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 650; }
.on-dark .h1, .on-dark .h2 { color: var(--white); }
.kicker { margin: 0 0 1rem; color: var(--muted); font-size: .95rem; font-weight: 500; }
.on-dark .kicker { color: var(--on-navy); }

/* ---------- Kopf ---------- */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .8rem; }
.logo img { height: 44px; width: auto; }
.nav { display: none; }
.head-call { min-height: 44px; padding: .5rem .9rem; font-size: .95rem; }
.head-call .num { display: none; }

/* ---------- Knöpfe ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .75rem 1.2rem; border-radius: var(--radius);
  border: 1.5px solid transparent;
  font: inherit; font-weight: 650; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn svg { width: 1.3em; height: 1.3em; flex: none; }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--navy-2); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: #e9edf2; }
.btn-outline { background: transparent; color: var(--navy); border-color: #b9c3cf; }
.btn-outline:hover { border-color: var(--navy); }
.on-dark .btn-outline { color: var(--white); border-color: rgba(255, 255, 255, .4); }
.on-dark .btn-outline:hover { border-color: var(--white); }
.ico-wa { color: var(--wa); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: var(--white); }
.hero-grid { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 7vw, 6.5rem); }
.lead { max-width: 32rem; margin: 1.5rem 0 2rem; color: #d5dce6; font-size: clamp(1.075rem, .4vw + 1rem, 1.2rem); }
.h1-sub { display: block; margin-top: 1rem; color: var(--white); font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem); font-weight: 600; letter-spacing: -.01em; line-height: 1.25; }
.teaser { max-width: 32rem; margin: 2.25rem 0 0; padding-top: 1.25rem; border-top: 1px solid rgba(255, 255, 255, .16); color: var(--on-navy); font-size: .98rem; }
.teaser a { color: var(--white); font-weight: 600; }
.hero-img { margin: 0; }
.hero-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: 72% 50%; border-radius: 12px; }

/* ---------- Abschnitte ---------- */
.sec { padding-block: clamp(4rem, 9vw, 7.5rem); }
.sec-paper { background: var(--paper); }
.sec-navy { background: var(--navy); color: var(--white); }
.sec-head { max-width: 40rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec-head p { margin: .9rem 0 0; color: var(--muted); font-size: 1.125rem; }

/* Leistungen */
.svc { list-style: none; margin: 0; padding: 0; display: grid; column-gap: 4rem; }
.svc li { padding: 1.6rem 0 1.9rem; border-top: 1px solid var(--line); }
.svc .h3 { margin-bottom: .5rem; }
.svc p { margin: 0; max-width: 34rem; color: var(--text-2); }
.svc .mat { margin-top: .8rem; color: var(--muted); font-size: .95rem; font-variant-numeric: tabular-nums; }

/* Hof (Über uns) */
.hof-bild { position: relative; background: var(--navy); }
.hof-bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 58%; }
.hof-label { position: absolute; left: 0; right: 0; top: .9rem; pointer-events: none; }
.hof-label span { display: inline-block; padding: .3rem .65rem; border-radius: 6px; background: rgba(0, 30, 66, .82); color: var(--white); font-size: .85rem; font-weight: 600; }
.hof-text { position: relative; z-index: 1; display: grid; gap: 2rem 4.5rem; padding-block: clamp(3rem, 7vw, 4.5rem) clamp(4rem, 9vw, 7rem); background: var(--white); }
.hof-text .h2 { margin-bottom: 1.1rem; }
.hof-lead { max-width: 34rem; margin: 0; color: var(--text-2); font-size: 1.15rem; }
.fakten { margin: 0; border-bottom: 1px solid var(--line); }
.fakten .row { display: grid; gap: .1rem; padding: .9rem 0; border-top: 1px solid var(--line); }
.fakten dt { color: var(--muted); font-size: .85rem; font-weight: 500; }
.fakten dd { margin: 0; color: var(--ink); font-weight: 600; }

/* Fuhrpark */
.fleet { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.75rem 2.5rem; }
.fleet svg { width: 100%; max-width: 300px; margin: 0 0 1.25rem; }
.fleet .h3 { margin-bottom: .35rem; }
.fleet p { margin: 0; color: var(--text-2); }

/* Jobs */
.jobs-grid { display: grid; gap: 3rem; align-items: center; }
.job-title { margin: 1rem 0; font-stretch: 105%; font-weight: 600; font-size: clamp(1.2rem, .6vw + 1rem, 1.4rem); line-height: 1.3; }
.jobs-copy p { max-width: 30rem; color: #d5dce6; }
.jobs-copy .actions { margin-top: 1.75rem; }
.more { display: inline-block; margin-top: 1.25rem; color: var(--white); font-weight: 600; }

/* Tagesbericht */
.tb {
  position: relative; max-width: 33rem; padding: 1.8rem 1.3rem 1.25rem;
  background: var(--white); color: var(--navy);
  border: 1px solid rgba(0, 30, 66, .08); border-radius: 6px;
  box-shadow: 0 28px 56px -32px rgba(0, 0, 0, .55);
}
.tb::before { content: ""; position: absolute; left: 14px; right: 14px; top: 11px; border-top: 2px dotted #cfd6df; }
.tb-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: .3rem 1rem; padding-bottom: .55rem; border-bottom: 1.5px solid var(--navy); }
.tb-firm { margin: 0; font-stretch: 125%; font-weight: 900; font-style: italic; font-size: .9rem; line-height: 1; white-space: nowrap; }
.tb-sub { margin: .25rem 0 0; color: var(--muted); font-size: .78rem; }
.tb-title { margin: 0; font-stretch: 112%; font-weight: 700; font-size: 1.05rem; line-height: 1; }
.tb dl { margin: 0; }
.tb-row { display: grid; gap: .1rem; padding: .5rem 0 .45rem; border-bottom: 1px solid #e3e8ee; }
.tb-row dt { color: var(--muted); font-size: .75rem; font-weight: 600; }
.tb-row dd { margin: 0; }
.hand { font-family: var(--hand); color: var(--kuli); font-size: 1.38rem; line-height: 1.15; }
.boxes { display: flex; flex-wrap: wrap; gap: .4rem 1.1rem; padding-top: .2rem; color: var(--navy); font-size: .88rem; font-weight: 600; }
.box { position: relative; display: inline-flex; align-items: center; gap: .45rem; }
.box::before { content: ""; width: 1.05rem; height: 1.05rem; border: 1.5px solid var(--navy); }
.box .x { position: absolute; left: .12rem; top: -.5rem; font-family: var(--hand); font-size: 1.75rem; line-height: 1; color: var(--kuli); }
.tb-sign { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: .9rem 1rem; margin-top: 1.2rem; }
.tb-sign span { min-width: 9.5rem; padding-top: .3rem; border-top: 1px solid var(--navy); color: var(--muted); font-size: .75rem; font-weight: 600; }

/* Kontakt */
.contact { display: grid; gap: 3rem; }
.contact .about { max-width: 34rem; margin: 1rem 0 1.75rem; color: var(--text-2); font-size: 1.125rem; }
.contact dl { margin: 0; border-bottom: 1px solid var(--line); }
.contact .row { display: grid; gap: .15rem; padding: 1rem 0; border-top: 1px solid var(--line); }
.contact dt { color: var(--muted); font-size: .85rem; font-weight: 500; }
.contact dd { margin: 0; font-size: 1.1rem; font-weight: 600; overflow-wrap: anywhere; }
.contact .small { font-size: .95rem; font-weight: 500; }

/* Fuß */
.site-footer { background: var(--navy); color: var(--on-navy); font-size: .95rem; }
.site-footer .wrap { display: grid; gap: 1.5rem; padding-block: 2.75rem; }
.foot-brand { display: flex; align-items: center; gap: 1rem; }
.foot-brand img { width: 56px; height: 56px; }
.foot-brand strong { display: block; color: var(--white); font-weight: 650; }
.foot-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.foot-links a { color: var(--white); }

/* Leiste unten auf dem Handy */
.dock {
  position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
  display: grid; grid-template-columns: 1fr 1fr; gap: .6rem;
  padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.dock .btn { min-height: 46px; padding-inline: .6rem; }
body.has-dock { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }

/* Fahrer-Seite */
.split { display: grid; gap: 2.75rem; align-items: start; }
.s-text p { max-width: 36rem; color: var(--text-2); }
.s-text .h2 { margin-bottom: 1rem; }
.s-need .h3 { margin-bottom: .75rem; }
.need { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--line); }
.need li { padding: .85rem 0; border-top: 1px solid var(--line); color: var(--text-2); }
.need strong { display: block; color: var(--navy); font-weight: 650; }
.contact-line { margin-top: 1.5rem; color: var(--text-2); }

/* Rechtstexte */
.legal { max-width: 44rem; }
.legal .h1 { margin-bottom: 1.5rem; font-size: clamp(2rem, 2vw + 1.25rem, 2.6rem); }
.legal h2 { margin: 2.2rem 0 .6rem; color: var(--navy); font-stretch: 108%; font-weight: 650; font-size: 1.2rem; line-height: 1.3; }
.legal address { font-style: normal; }
.legal .note { padding: .9rem 1rem; border-left: 4px solid #ffe45c; background: #fffbe0; font-size: .95rem; }

@media (min-width: 560px) {
  .tb { padding-inline: 1.6rem; }
  .tb-firm { font-size: 1rem; }
  .tb-title { font-size: 1.15rem; }
  .tb-row { grid-template-columns: 8.6rem 1fr; align-items: baseline; gap: .9rem; }
  .contact .row { grid-template-columns: 10rem 1fr; align-items: baseline; gap: 1rem; }
  .fakten .row { grid-template-columns: 13.5rem 1fr; align-items: baseline; gap: 1rem; }
}

@media (min-width: 760px) {
  .svc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fleet { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 960px) {
  body { font-size: 1.125rem; }
  .logo img { height: 52px; }
  .nav { display: flex; gap: 2rem; font-size: 1rem; font-weight: 500; }
  .nav a { color: var(--ink); text-decoration: none; }
  .nav a:hover { color: var(--navy); text-decoration: underline; text-underline-offset: 6px; }
  .head-call .num { display: inline; }
  .head-call .lbl { display: none; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 4.5rem; }
  .hero-img img { aspect-ratio: 3 / 2; object-position: 75% 50%; }
  .hof-bild img { aspect-ratio: auto; height: clamp(440px, 44vw, 640px); }
  .hof-label { top: 1.5rem; }
  .hof-text { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; margin-top: -4.5rem; padding-inline: 3.5rem; padding-top: 3.25rem; border-radius: 14px 14px 0 0; }
  .jobs-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; }
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; }
  .site-footer .wrap { grid-template-columns: 1fr auto; align-items: center; }
  .split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "text card" "need card"; gap: 2.75rem 5rem; }
  .split > .s-text { grid-area: text; }
  .split > .tb { grid-area: card; }
  .split > .s-need { grid-area: need; }
  .dock { display: none; }
  body.has-dock { padding-bottom: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
