/* Retro-Bike.com – Werkstatt-Katalog
   Schriften liegen lokal in /fonts (keine Verbindung zu Google). */

@font-face { font-family: "Anton"; src: url("../fonts/Anton-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Medium.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-SemiBold.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/Inter-Bold.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-Regular.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/JetBrainsMono-Bold.woff") format("woff"); font-weight: 600 700; font-display: swap; }

:root {
  --paper: #F2EDE3;
  --paper-2: #E6DFD1;
  --card: #FBF8F2;
  --ink: #171614;
  --text-2: #4A463F;
  --muted: #5A554C;
  --line: #C9C1B0;
  --on-dark: #D8D2C6;
  --on-dark-muted: #A8A194;
  --dark-line: #5A554C;
  --teal: #0F6E6A;
  --accent: #E8642C;   /* Akzentfarbe – hier zentral änderbar */
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--teal); }
h1, h2, h3, h4, p, dl, dd, figure, blockquote { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.dark { background: var(--ink); color: var(--paper); }
.dark a { color: var(--paper); }
.sand { background: var(--paper-2); }

/* Typo */
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; color: var(--teal); margin-bottom: 12px; text-transform: uppercase; }
.dark .kicker { color: var(--accent); }
.display { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1; letter-spacing: -.005em; }
.h2 { font-size: clamp(40px, 5vw, 64px); }
.lead { font-size: 18px; line-height: 1.6; color: var(--text-2); }
.mono { font-family: var(--mono); }
.small-mono { font-family: var(--mono); font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.accent { color: var(--accent); }
.teal { color: var(--teal); }

/* Buttons */
.btn { display: inline-block; font-weight: 700; font-size: 16px; text-decoration: none; padding: 15px 24px; border: 2px solid transparent; line-height: 1.2; cursor: pointer; font-family: var(--sans); }
.btn-accent { background: var(--accent); color: var(--ink) !important; }
.btn-accent:hover { background: var(--paper); }
.btn-ink { background: var(--ink); color: var(--paper) !important; }
.btn-ink:hover { background: var(--teal); }
.btn-outline { border-color: currentColor; color: inherit; background: transparent; }
.btn-outline:hover { background: var(--paper); color: var(--ink) !important; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--ink); color: var(--paper); border-bottom: 1px solid #2a2825; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 10px; padding-bottom: 10px; }
.logo { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--paper) !important; }
.logo b { font-family: var(--display); font-weight: 400; font-size: 28px; letter-spacing: .02em; }
.logo span { font-family: var(--mono); font-size: 13px; color: var(--accent); }
.nav { display: flex; gap: 4px 22px; font-size: 15px; font-weight: 500; overflow-x: auto; scrollbar-width: none; }
.nav a { color: var(--paper); text-decoration: none; padding: 12px 0; white-space: nowrap; }
.nav a:hover { color: var(--accent); }
.nav a.nav-cta { background: var(--accent); color: var(--ink); padding: 12px 18px; font-weight: 700; }
@media (max-width: 760px) { .nav { width: 100%; } }

/* Hero */
.hero { border-bottom: 6px solid var(--accent); }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-end; padding-top: 56px; padding-bottom: 72px; }
.hero-text { flex: 999 1 520px; min-width: 0; }
.hero h1 { font-size: clamp(64px, 11vw, 168px); line-height: .9; }
.hero .lead { color: var(--on-dark); font-size: 20px; max-width: 560px; margin-top: 28px; }
.hero-figure { flex: 1 1 380px; min-width: 0; }
.hero-figure figcaption { margin-top: 12px; font-family: var(--mono); font-size: 12px; color: var(--on-dark); border-top: 1px solid var(--dark-line); padding-top: 8px; }

/* Bildflächen: zeigen ein Raster, solange das Foto fehlt */
.ph { position: relative; overflow: hidden; background: repeating-linear-gradient(135deg, #E3DCCD 0 14px, #DAD2C1 14px 28px); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph .ph-label { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; padding: 8px; font-family: var(--mono); font-size: 12px; color: var(--muted); z-index: 0; }
.ph img { position: relative; z-index: 1; }
.r-4-3 { aspect-ratio: 4 / 3; } .r-16-9 { aspect-ratio: 16 / 9; } .r-16-10 { aspect-ratio: 16 / 10; } .r-1-1 { aspect-ratio: 1 / 1; }

/* Laufband */
.ticker { background: var(--accent); color: var(--ink); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 40s linear infinite; }
.ticker p { padding: 16px 24px; white-space: nowrap; font-family: var(--display); font-size: 26px; letter-spacing: .04em; text-transform: uppercase; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* Thesen */
.theses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 2px solid var(--ink); margin-top: 44px; }
.theses article { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); }
.theses article + article { padding-left: 28px; border-left: 1px solid var(--line); }
@media (max-width: 860px) { .theses article + article { padding-left: 0; border-left: 0; } }
.theses .num { font-family: var(--display); font-size: 56px; line-height: 1; color: var(--teal); }
.theses h3 { font-size: 22px; margin: 14px 0 10px; line-height: 1.25; }
.theses p { color: var(--muted); }

/* Rubrik-Karten */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 20px; margin-top: 36px; }
.card { background: var(--card); border: 2px solid var(--ink); display: flex; flex-direction: column; text-decoration: none; color: var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
a.card:hover { color: var(--ink); transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--ink); }
.card-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }
.card h3 { font-size: 24px; line-height: 1.2; }
.card p { font-size: 15px; line-height: 1.55; color: var(--muted); flex-grow: 1; }
.card .more { font-weight: 700; margin-top: 8px; }
.tag-soon { align-self: flex-start; font-family: var(--mono); font-size: 12px; font-weight: 600; background: var(--paper-2); padding: 4px 8px; }

/* Showroom */
.split { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.split > .big { flex: 999 1 520px; min-width: 0; }
.split > .side { flex: 1 1 380px; min-width: 0; }
.bike-art { background: #22201D; aspect-ratio: 16 / 10; display: flex; align-items: center; justify-content: center; padding: 24px; }
.bike-art svg { width: 100%; height: auto; max-height: 100%; }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); font-family: var(--mono); font-size: 14px; border-top: 1px solid var(--dark-line); margin-top: 24px; }
.spec div { padding: 12px 0; border-bottom: 1px solid var(--dark-line); }
.spec div:nth-child(even) { padding-left: 16px; }
.spec dt { color: var(--on-dark-muted); font-size: 12px; }
.spec dd { margin-top: 4px; }

/* Werkstatt / Lock-Out */
.head-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 40px; }
.head-row .h2 { max-width: 760px; }
.head-row > p { max-width: 420px; color: var(--muted); }
.lockout { border: 2px solid var(--ink); background: var(--card); }
.lockout-head { padding: 20px 28px; border-bottom: 2px solid var(--ink); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px 24px; }
.lockout-head h3 { font-size: 40px; }
.lockout-row { display: flex; flex-wrap: wrap; }
.lockout-col { flex: 1 1 460px; min-width: 0; padding: 28px; display: flex; flex-direction: column; gap: 16px; }
.lockout-col p { color: var(--text-2); }
.lockout-col.dark p { color: var(--on-dark); }
.lockout-arrow { flex: 0 0 56px; display: flex; align-items: center; justify-content: center; background: var(--accent); }
@media (max-width: 1000px) { .lockout-arrow { flex: 1 1 100%; padding: 10px 0; } .lockout-arrow svg { transform: rotate(90deg); } }
.badge { align-self: flex-start; font-family: var(--mono); font-size: 12px; font-weight: 700; padding: 6px 10px; letter-spacing: .04em; }
.badge-ink { background: var(--ink); color: var(--paper); }
.badge-accent { background: var(--accent); color: var(--ink); }
.pics-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; font-family: var(--mono); font-size: 13px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: auto; }
.facts dt { color: var(--muted); font-size: 12px; }
.facts dd { margin-top: 4px; font-weight: 600; }
.dark .facts { border-color: var(--dark-line); }
.dark .facts dt { color: var(--on-dark-muted); }
.press { display: flex; gap: 14px; align-items: center; border: 1px dashed #A8A194; padding: 12px; font-size: 14px; color: var(--text-2); }
.press .ph { width: 72px; height: 96px; flex-shrink: 0; }
.soon-box { border: 1px dashed var(--dark-line); padding: 20px; font-family: var(--mono); font-size: 14px; color: var(--on-dark); display: grid; gap: 10px; }
.soon-box span { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid #2f2d29; padding-bottom: 8px; }
.soon-box b { color: var(--accent); font-weight: 600; }
.archive { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; margin-top: 24px; }
@media (max-width: 420px) { .archive { grid-template-columns: 1fr; } .lockout-col { flex-basis: 100%; } }
.archive .card h3 { font-size: 28px; }
.archive .card p { color: var(--text-2); font-size: 16px; line-height: 1.6; flex-grow: 0; }
.archive .card-body { padding: 28px; gap: 14px; }
.archive .pics-2 { gap: 2px; background: var(--ink); }
.timeline { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 2px solid var(--ink); }
.timeline li { padding: 20px 20px 0 0; }
.timeline .year { font-family: var(--display); font-size: 40px; line-height: 1.2; color: var(--teal); }
.timeline .year.accent { color: var(--accent); }
.timeline p { font-size: 15px; line-height: 1.5; color: var(--text-2); margin-top: 6px; }

/* Training */
.formula { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.formula div { background: var(--card); border: 2px solid var(--ink); padding: 20px 16px; }
.formula .n { font-family: var(--display); font-size: 44px; line-height: 1; }
.formula b { display: block; margin-top: 10px; }
.formula span { font-size: 14px; color: var(--muted); }

/* Crew */
.crew { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 36px; }
.crew article { display: flex; flex-direction: column; gap: 12px; }
.crew h3 { font-size: 22px; }
.crew p { font-size: 15px; line-height: 1.55; color: var(--text-2); }
.manifest { background: var(--ink); color: var(--paper); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 20px; }
.manifest p { font-family: var(--display); font-size: 34px; line-height: 1.1; text-transform: uppercase; color: var(--paper) !important; }

/* Kontakt */
.contact { background: var(--accent); color: var(--ink); }
.contact .wrap { display: flex; flex-wrap: wrap; gap: 48px; padding-top: 80px; padding-bottom: 80px; }
.contact .intro { flex: 1 1 380px; min-width: 0; }
.contact .kicker { color: var(--ink); }
.contact h2 { font-size: clamp(44px, 6vw, 80px); line-height: .95; margin-bottom: 18px; }
.contact .intro p { font-size: 18px; max-width: 440px; }
.form { flex: 1 1 460px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: 14px; }
.form .full { grid-column: 1 / -1; }
.form input[type=text], .form input[type=email], .form select, .form textarea { font: inherit; font-weight: 400; font-size: 16px; padding: 14px; border: 2px solid var(--ink); background: var(--card); color: var(--ink); border-radius: 0; width: 100%; }
.form textarea { resize: vertical; min-height: 130px; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 400; line-height: 1.5; }
.form .check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--ink); flex-shrink: 0; }
.form .btn { justify-self: start; border: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice { grid-column: 1 / -1; padding: 14px 16px; font-weight: 600; border: 2px solid var(--ink); background: var(--card); }
.notice[hidden] { display: none; }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-end; padding-top: 48px; padding-bottom: 48px; }
.site-footer .brand { font-family: var(--display); font-size: 40px; color: var(--paper); line-height: 1.1; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; }
.site-footer nav a { color: var(--paper); padding: 10px 0; }
.site-footer nav span { padding: 10px 0; }

/* Rechtstexte */
.legal { max-width: 820px; margin: 0 auto; padding: 72px 24px 96px; }
.legal h1 { font-size: clamp(48px, 7vw, 88px); margin-bottom: 32px; }
.legal h2 { font-size: 22px; margin: 40px 0 10px; line-height: 1.3; }
.legal h3 { font-size: 17px; margin: 24px 0 6px; }
.legal p, .legal li { color: var(--text-2); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }
.legal address { font-style: normal; font-size: 18px; line-height: 1.7; }
.legal .note { margin-top: 48px; font-size: 14px; color: var(--muted); }

.skip { position: absolute; left: 8px; top: -60px; z-index: 20; background: var(--accent); color: var(--ink); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 8px; }

/* Feinschliff */
.manifest a { color: var(--paper); }
.manifest a:hover { color: var(--accent); }
.contact .intro p.kicker { font-size: 13px; }
.crew { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.crew .person { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 12px 28px; align-items: end; }
.crew .person .ph { grid-row: span 3; }
@media (max-width: 900px) {
  .crew { grid-template-columns: 1fr; }
  .crew .person { grid-template-columns: 1fr; }
  .crew .person .ph { grid-row: auto; max-width: 420px; }
}
.crew .person { grid-template-rows: 1fr auto auto auto; }
.crew .person .ph { grid-row: 1 / span 4; }
@media (max-width: 900px) { .crew .person { grid-template-rows: none; } .crew .person .ph { grid-row: auto; } }
@media (max-width: 600px) { .lockout-head h3 { font-size: 30px; } }
.r-3-4 { aspect-ratio: 3 / 4; }
.hero-figure .r-3-4 { max-height: 560px; width: auto; margin-left: auto; }
.ph.chart { background: #fff; }
.ph.chart img { object-fit: contain; background: #fff; }
.press .ph img { object-fit: cover; object-position: top; }
.footnote { font-family: var(--mono); font-size: 13px; line-height: 1.6; color: var(--muted); max-width: 620px; margin-top: 14px; }
