/* Bus Jesus – Stylesheet
   Look: "Werkstatt-Datenblatt" – kräftige Versal-Überschriften, Mono für Daten,
   Mokkabraun vom Bus, ein Signal-Akzent. Keine externen Requests. */

@font-face { font-family: "Inter"; src: url("fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-400i.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter-600.woff") format("woff"); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/inter-display-700.woff") format("woff"); font-weight: 700 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("fonts/inter-display-900.woff") format("woff"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "BJ Mono"; src: url("fonts/mono-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --paper: #F4F3F0;
  --card: #FFFFFF;
  --ink: #191714;
  --text: #3B3631;
  --muted: #5E5850;
  --line: #D8D5CE;
  --mokka: #45302A;
  --mokka-line: #7A635A;
  --mokka-muted: #CDBFB3;
  --accent: #E8742A;
  --accent-ink: #8A3A0C;
  --ph: #E3E0D9;

  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-display: "Inter Display", "Inter", system-ui, sans-serif;
  --f-mono: "BJ Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 75rem;
  --prose: 44rem;
  --gutter: clamp(1rem, 4vw, 1.5rem);
  --radius: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-feature-settings: "ss01" on;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 10; background: var(--card); padding: 0.75rem 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- Bausteine ---------- */
.label {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0;
}
.display {
  font-family: var(--f-display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 0.95;
  margin: 0;
}
.tag {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  background: var(--accent);
  color: var(--ink);
  vertical-align: middle;
}
.tag--outline { background: none; border: 1px solid var(--muted); color: var(--muted); }

.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  min-height: 3.25rem; padding: 0 1.5rem;
  border-radius: var(--radius);
  font-weight: 600; text-decoration: none;
  border: 2px solid var(--ink);
  color: var(--ink); background: transparent;
}
.btn:hover { color: var(--ink); background: var(--card); }
.btn--accent { background: var(--accent); border-color: var(--accent); }
.btn--accent:hover { background: #F08A47; border-color: #F08A47; }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: #33302B; color: var(--paper); }
.btn svg { flex: none; }
.btns { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* ---------- Kopf ---------- */
.site-head { border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1.5rem; padding-block: 0.75rem; }
.brand { display: inline-flex; align-items: center; gap: 0.75rem; text-decoration: none; min-height: 2.75rem; }
.brand span { font-family: var(--f-display); font-weight: 900; font-size: 1.5rem; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.site-nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-weight: 600; font-size: 0.9375rem; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; text-underline-offset: 0.5em; }

/* ---------- Fuß ---------- */
.site-foot { background: var(--ink); color: var(--paper); margin-top: 0; }
.site-foot .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; padding-block: 3rem; }
.site-foot a { color: var(--paper); }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.site-foot li a { display: inline-flex; align-items: center; min-height: 2.75rem; }
.site-foot .brand-foot { font-family: var(--f-display); font-weight: 900; font-size: 1.375rem; text-transform: uppercase; }
.site-foot .fine { width: 100%; font-family: var(--f-mono); font-size: 0.8125rem; color: #B8B2A8; margin: 0; }

/* ---------- Startseite ---------- */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 3rem; padding-block: 4rem 3.5rem; }
.hero__text { flex: 1 1 26rem; min-width: 0; }
.hero__title { font-size: clamp(2.75rem, 7vw, 5.75rem); margin-bottom: 1.5rem; }
.hero__lead { font-size: 1.1875rem; color: var(--text); max-width: 34rem; margin: 0 0 2rem; }
.hero__img { flex: 1 1 26rem; min-width: 0; margin: 0; }
.hero__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.hero__img figcaption { margin-top: 0.6rem; }

.specs { border-block: 2px solid var(--ink); background: var(--card); }
.specs dl { margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.specs dl > div { padding: 1.5rem 1.5rem 1.5rem 0; border-right: 1px solid var(--line); }
.specs dl > div + div { padding-left: 1.5rem; }
.specs dl > div:last-child { border-right: 0; }
.specs dd { margin: 0.25rem 0 0; }
.specs .v { font-family: var(--f-display); font-weight: 800; font-size: 1.375rem; line-height: 1.2; }
.specs .s { font-size: 0.9375rem; color: var(--muted); margin-top: 0.1rem; }
@media (max-width: 40rem) {
  .specs dl > div, .specs dl > div + div { padding: 1.25rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .specs dl > div:last-child { border-bottom: 0; }
}

.feature { padding-block: 5.5rem 2.5rem; }
.feature__card { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); display: flex; flex-wrap: wrap; overflow: hidden; }
.feature__img { flex: 1 1 26rem; min-width: 0; margin: 0; background: var(--ph); }
.feature__img img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 60rem) { .feature__img img { aspect-ratio: auto; min-height: 22rem; } }
.feature__body { flex: 1 1 27rem; min-width: 0; padding: clamp(1.5rem, 4vw, 3rem) clamp(1.25rem, 3vw, 2.5rem); display: flex; flex-direction: column; gap: 1.25rem; }
.feature__body .label { display: flex; align-items: center; gap: 0.75rem; }
.feature__title { font-size: clamp(2.25rem, 5vw, 3.75rem); }
.feature__body p.lead { margin: 0; font-size: 1.125rem; color: var(--text); max-width: 32rem; }
.facts { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(8rem, 1fr)); gap: 1rem; border-top: 1px solid var(--line); padding-top: 1.25rem; }
.facts dd { margin: 0.1rem 0 0; font-weight: 600; }
.feature__body .btn { align-self: flex-start; }

.section { padding-block: 3.5rem 6rem; }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: 2.5rem; }
.section__title { font-size: clamp(2.25rem, 4vw, 3.25rem); line-height: 1; }
.section__head p { margin: 0; max-width: 34rem; color: var(--text); }

.groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr)); gap: 2.5rem 2rem; }
.group { min-width: 0; display: flex; flex-direction: column; }
.group h3 { margin: 0; padding-bottom: 0.75rem; border-bottom: 2px solid var(--ink); font-family: var(--f-mono); font-weight: 400; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.entry { display: flex; flex-direction: column; gap: 0.2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.entry:hover .entry__t { color: var(--accent-ink); }
.entry__t { font-family: var(--f-display); font-weight: 800; font-size: 1.3125rem; line-height: 1.2; display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.entry__d { font-size: 0.9375rem; color: var(--muted); }
.entry__m { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--muted); }

.band { background: var(--mokka); color: var(--paper); }
.band .wrap { padding-block: 6rem; }
.band .label { color: var(--mokka-muted); margin-bottom: 1rem; }
.band__title { font-size: clamp(2.75rem, 6vw, 5rem); margin-bottom: 1.5rem; }
.band__lead { margin: 0 0 3rem; max-width: 40rem; font-size: 1.1875rem; color: #E6DDD5; }
.stats { margin: 0 0 3.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1.5rem; border-top: 1px solid var(--mokka-line); padding-top: 2rem; }
.stats dt { font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mokka-muted); }
.stats dd { margin: 0.25rem 0 0; font-family: var(--f-display); font-weight: 900; font-size: 3rem; line-height: 1; }
.stops { list-style: none; margin: 0 0 3rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.stops a { display: inline-flex; align-items: center; gap: 0.6rem; min-height: 2.75rem; padding: 0 1rem; border: 1px solid var(--mokka-line); border-radius: var(--radius); color: var(--paper); text-decoration: none; font-size: 0.9375rem; }
.stops a:hover { background: #563D35; color: var(--paper); }
.stops span { font-family: var(--f-mono); font-size: 0.75rem; color: var(--mokka-muted); }

.about { display: flex; flex-wrap: wrap; align-items: center; gap: 3rem; padding-block: 6rem; }
.about__img { flex: 0 1 18rem; min-width: 0; margin: 0; }
.about__img img { width: 100%; aspect-ratio: 1; object-fit: contain; }
.about__text { flex: 1 1 26rem; min-width: 0; }
.about__text p { max-width: 38rem; font-size: 1.125rem; color: var(--text); }

/* ---------- Übersichtsseiten ---------- */
.page-head { padding-block: 4rem 1rem; }
.page-head__title { font-size: clamp(2.5rem, 6vw, 4.5rem); margin-top: 0.75rem; }
.page-head p.lead { margin: 1.25rem 0 0; max-width: 40rem; font-size: 1.1875rem; color: var(--text); }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); gap: 1.5rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.card:hover { border-color: var(--ink); }
.card__img { aspect-ratio: 3 / 2; background: var(--ph); }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 0.35rem; }
.card__t { font-family: var(--f-display); font-weight: 800; font-size: 1.25rem; line-height: 1.2; }
.card__d { font-size: 0.9375rem; color: var(--muted); }
.card__m { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--muted); }
.group-block { padding-block: 3rem 0; }
.group-block h2 { font-family: var(--f-mono); font-weight: 400; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.25rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--ink); }

.timeline { list-style: none; margin: 0; padding: 0; counter-reset: stop; }
.timeline li { border-bottom: 1px solid var(--line); }
.timeline a { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 0.25rem 1rem; padding: 1.1rem 0; text-decoration: none; color: var(--ink); }
.timeline a:hover .tl__t { color: var(--accent-ink); }
.tl__n { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--muted); padding-top: 0.3rem; grid-row: span 2; }
.tl__t { font-family: var(--f-display); font-weight: 800; font-size: 1.3125rem; line-height: 1.25; }
.tl__d { font-size: 0.9375rem; color: var(--muted); }

/* ---------- Artikel ---------- */
.article-head { padding-block: 3.5rem 2rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; }
.crumbs a { color: var(--muted); }
.article-title { font-size: clamp(2.25rem, 5.5vw, 4rem); margin: 1rem 0 0; max-width: 20ch; }
.article-lead { font-size: 1.1875rem; color: var(--text); max-width: var(--prose); margin: 1.25rem 0 0; }
.meta { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin: 1.75rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.meta dt { font-family: var(--f-mono); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.meta dd { margin: 0; font-weight: 600; font-size: 0.9375rem; }
.cover { margin-block: 0 3rem; }
.cover img { width: 100%; max-height: 38rem; object-fit: cover; border-radius: var(--radius); }

.prose { max-width: var(--prose); padding-bottom: 4rem; }
.prose > * + * { margin-top: 1.1em; }
.prose p, .prose ul, .prose ol { margin-bottom: 0; }
.prose h2 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.625rem, 3.5vw, 2.125rem); line-height: 1.05; letter-spacing: -0.005em; margin: 3.25rem 0 0; padding-top: 1.25rem; border-top: 2px solid var(--ink); }
.prose h3 { font-family: var(--f-display); font-weight: 800; font-size: 1.3125rem; line-height: 1.25; margin: 2.25rem 0 0; }
.prose h4 { font-size: 1.0625rem; margin: 1.75rem 0 0; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.35em; }
.prose li::marker { color: var(--muted); }
.prose strong { font-weight: 600; }
.prose code, .prose .oen { font-family: var(--f-mono); font-size: 0.875em; background: var(--card); border: 1px solid var(--line); padding: 0.05em 0.35em; border-radius: 3px; white-space: nowrap; }
.prose figure { margin: 2rem 0 0; }
.prose figure img { width: auto; max-width: 100%; height: auto; max-height: 36rem; margin-inline: auto; border-radius: var(--radius); background: var(--ph); }
.prose figure > a { display: block; }
.prose figcaption { font-family: var(--f-mono); font-size: 0.8125rem; color: var(--muted); margin-top: 0.5rem; line-height: 1.5; }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1rem; margin-top: 2rem; }
.prose .gallery figure { margin: 0; }
.prose .gallery img { width: 100%; max-height: none; aspect-ratio: 4 / 3; object-fit: cover; }
.prose blockquote { margin-left: 0; padding-left: 1.25rem; border-left: 3px solid var(--accent); color: var(--text); }
.prose table { width: 100%; border-collapse: collapse; font-size: 0.9375rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 0.6rem 0.75rem 0.6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { font-family: var(--f-mono); font-weight: 400; font-size: 0.75rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.prose .box { background: var(--card); border: 2px solid var(--ink); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.prose .box > :first-child { margin-top: 0; }
.prose .box .label { margin-bottom: 0.5rem; }
.prose .toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem 1.5rem; }
.prose .toc ol { margin: 0.5rem 0 0; }
.prose .video { display: flex; align-items: center; gap: 1rem; padding: 1rem 1.25rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.prose .video:hover { border-color: var(--ink); }
.prose .video small { display: block; color: var(--muted); font-size: 0.8125rem; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.more { border-top: 2px solid var(--ink); padding-block: 3rem 5rem; }
.more h2 { font-family: var(--f-mono); font-weight: 400; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin: 0 0 1.5rem; }
.pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-bottom: 3rem; }
.pager a { display: flex; flex-direction: column; gap: 0.2rem; text-decoration: none; max-width: 22rem; }
.pager a.next { text-align: right; margin-left: auto; }
.pager b { font-family: var(--f-display); font-weight: 800; font-size: 1.125rem; line-height: 1.25; }

.notfound { padding-block: 6rem; }

/* ---------- Kontaktformular ---------- */
.contact { max-width: 36rem; }
.contact .field { display: flex; flex-direction: column; gap: 0.4rem; }
.contact label { font-weight: 600; font-size: 0.9375rem; }
.contact label span { font-weight: 400; color: var(--muted); }
.contact input, .contact textarea {
  font: inherit; color: var(--ink); background: var(--card);
  border: 1px solid #A9A399; border-radius: var(--radius);
  padding: 0.75rem 0.9rem; min-height: 2.75rem; width: 100%;
}
.contact textarea { resize: vertical; }
.contact input:focus, .contact textarea:focus { border-color: var(--ink); outline: 3px solid var(--accent); outline-offset: 0; }
.contact .hp { display: none; }
.contact .hint { font-size: 0.875rem; color: var(--muted); }
.contact button { cursor: pointer; font: inherit; font-weight: 600; }
.contact button:disabled { opacity: 0.6; cursor: wait; }
.contact .form-status { font-weight: 600; min-height: 1.5em; }

/* lange Links und Wörter dürfen umbrechen (Handy) */
.prose { overflow-wrap: break-word; }
.prose a { overflow-wrap: anywhere; }
.entry__t, .card__t, .tl__t, .article-title, .page-head__title { overflow-wrap: break-word; }

/* Name im Impressum als Grafik */
.prose img.namebild { display: inline-block; vertical-align: -0.3em; height: 1.3em; width: auto; max-height: none; margin: 0; border-radius: 0; background: none; }
