/* werkstattflow.app – gleiche Gestaltung wie die Web-App: Schwarz-Weiß, Gelb als Primärfarbe, Hanken Grotesk */
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
:root {
  --ink: #000; --paper: #fff; --panel: #f6f6f6; --line: #e3e3e3; --hover-line: #c4c4c4; --steel: #6b6b6b;
  --signal: #FFCC00; --signal-hover: #F2C200; --eu: #003399; --ok: #12924a;
  --text: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.55 var(--text); -webkit-font-smoothing: antialiased; font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.1; letter-spacing: -.03em; }
p { margin: 0 0 1em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }

/* Kopf */
.top .wrap { display: flex; align-items: center; gap: 18px; height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.03em; text-decoration: none; }
.logo svg { width: 34px; height: 34px; display: block; }
.top nav { margin-left: auto; display: flex; gap: 26px; align-items: center; font-size: 15px; }
.top nav a:not(.btn) { color: var(--steel); text-decoration: none; }
.top nav a:not(.btn):hover { color: var(--ink); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 20px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 600 16px/1 var(--text); text-decoration: none; white-space: nowrap; transition: opacity .15s, background .15s, border-color .15s; }
.btn:hover { opacity: .85; }
.btn-signal { background: var(--signal); border-color: var(--signal); color: #000; }
.btn-signal:hover { opacity: 1; background: var(--signal-hover); border-color: var(--signal-hover); }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line); font-weight: 500; }
.btn-line:hover { opacity: 1; background: var(--panel); border-color: var(--hover-line); }
.btn-small { min-height: 42px; padding: 0 18px; border-radius: 14px; font-size: 15px; }

/* Hero */
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 64px; align-items: center; padding-top: 56px; padding-bottom: 96px; }
.hero h1 { font-size: clamp(44px, 6.2vw, 76px); letter-spacing: -.055em; line-height: .98; max-width: 12ch; }
.hero .lead { margin: 26px 0 0; color: var(--steel); font-size: 20px; line-height: 1.5; max-width: 32em; }
.hero .ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 34px; }
.hero .fine { margin: 18px 0 0; color: var(--steel); font-size: 14px; }

/* Fahrzeugakte (Demo-Karte) */
.akte { border: 1px solid var(--line); border-radius: 32px; padding: 24px 22px 14px; background: var(--paper); justify-self: end; width: 100%; animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.akte-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.akte-head small { display: block; color: var(--steel); font-size: 13px; text-align: right; }
.akte-head strong { display: block; font-size: 15px; letter-spacing: -.02em; text-align: right; }
.plate { display: inline-flex; align-items: stretch; height: 44px; border: 3px solid #111; border-radius: 7px; background: #fff; font-family: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif; font-weight: 700; color: #111; overflow: hidden; white-space: nowrap; }
.plate .eu { width: 26px; flex-shrink: 0; background: var(--eu) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23FFCC00'%3E%3Ccircle cx='10' cy='3.8' r='1.1'/%3E%3Ccircle cx='13.1' cy='4.6' r='1.1'/%3E%3Ccircle cx='15.4' cy='6.9' r='1.1'/%3E%3Ccircle cx='16.2' cy='10' r='1.1'/%3E%3Ccircle cx='15.4' cy='13.1' r='1.1'/%3E%3Ccircle cx='13.1' cy='15.4' r='1.1'/%3E%3Ccircle cx='10' cy='16.2' r='1.1'/%3E%3Ccircle cx='6.9' cy='15.4' r='1.1'/%3E%3Ccircle cx='4.6' cy='13.1' r='1.1'/%3E%3Ccircle cx='3.8' cy='10' r='1.1'/%3E%3Ccircle cx='4.6' cy='6.9' r='1.1'/%3E%3Ccircle cx='6.9' cy='4.6' r='1.1'/%3E%3C/svg%3E") no-repeat center 5px / 18px 18px; color: #fff; font-family: var(--text); font-size: 12px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 4px; }
.plate .tx { display: flex; align-items: center; padding: 0 14px 0 12px; font-size: 29px; letter-spacing: .05em; }
.tl { list-style: none; margin: 0; padding: 14px 0 0; position: relative; }
.tl::before { content: ''; position: absolute; left: 7px; top: 24px; bottom: 24px; width: 1px; background: var(--line); }
.tl li { position: relative; display: grid; grid-template-columns: 26px 50px 1fr; gap: 8px; align-items: baseline; padding: 9px 0; font-size: 15px; }
.tl li::before { content: ''; width: 15px; height: 15px; border-radius: 50%; background: var(--paper); border: 1px solid var(--hover-line); position: relative; top: 3px; }
.tl li.now::before { background: var(--signal); border-color: var(--signal); }
.tl time { color: var(--steel); }
.tl b { display: block; font-weight: 600; letter-spacing: -.01em; }
.tl span span { color: var(--steel); font-size: 14px; }
@media (prefers-reduced-motion: no-preference) {
  .tl li { opacity: 0; animation: tlIn .4s ease forwards; }
  .tl li:nth-child(1) { animation-delay: .35s; } .tl li:nth-child(2) { animation-delay: .7s; } .tl li:nth-child(3) { animation-delay: 1.05s; } .tl li:nth-child(4) { animation-delay: 1.4s; } .tl li:nth-child(5) { animation-delay: 1.75s; }
}
@keyframes tlIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* Abschnitte */
section { padding: 40px 0 72px; }
.sec-head { max-width: 760px; margin-bottom: 36px; }
.sec-head h2 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -.045em; }
.sec-head p { color: var(--steel); font-size: 19px; margin: 14px 0 0; max-width: 40em; }

/* Ablauf – echte Reihenfolge */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.steps li { padding: 26px; border: 1px solid var(--line); border-radius: 24px; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 18px; border-radius: 12px; background: var(--ink); color: var(--paper); font-weight: 700; }
.steps h3 { font-size: 20px; margin-bottom: 8px; }
.steps p { margin: 0; color: var(--steel); font-size: 16px; }

/* Funktionen */
.mods { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.mod { padding: 26px; border: 1px solid var(--line); border-radius: 24px; }
.mod h3 { font-size: 20px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.mod h3 i { width: 10px; height: 10px; border-radius: 50%; background: var(--signal); display: inline-block; }
.mod ul { list-style: none; margin: 0; padding: 0; }
.mod li { padding: 8px 0; border-top: 1px solid var(--line); font-size: 15.5px; }
.mod li:first-child { border-top: 0; padding-top: 0; }

/* Highlight-Kacheln */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.tile { padding: 34px; border-radius: 32px; background: var(--panel); }
.tile.dark { background: var(--ink); color: var(--paper); }
.tile.dark p { color: rgba(255,255,255,.65); }
.tile h3 { font-size: 28px; letter-spacing: -.04em; margin-bottom: 12px; }
.tile p { color: var(--steel); margin: 0; }
.tile ul { list-style: none; margin: 20px 0 0; padding: 0; }
.tile li { padding: 9px 0 9px 28px; position: relative; border-top: 1px solid rgba(127,127,127,.25); font-size: 15.5px; }
.tile li::before { content: ''; position: absolute; left: 2px; top: 15px; width: 12px; height: 7px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.tile.dark li::before { border-color: var(--signal); }

/* Handy-Statusseite */
.phone { max-width: 340px; margin: 26px auto 0; border: 1px solid rgba(255,255,255,.18); border-radius: 36px; padding: 10px; }
.screen { background: #fff; color: #000; border-radius: 28px; padding: 24px 20px; }
.screen .ws { font-weight: 700; font-size: 15px; margin-bottom: 18px; display: flex; gap: 8px; align-items: center; }
.screen .plate { height: 38px; } .screen .plate .tx { font-size: 25px; } .screen .plate .eu { width: 22px; background-size: 15px 15px; font-size: 10px; }
.screen .msg { font-size: 26px; font-weight: 700; letter-spacing: -.04em; line-height: 1.1; margin: 20px 0 16px; }
.bar7 { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.bar7 i { height: 8px; border-radius: 999px; background: #ececec; } .bar7 i.on { background: var(--signal); } .bar7 i.cur { background: #000; }
.screen .eta { color: var(--steel); margin-top: 12px; font-size: 14px; }
.screen .ok { margin-top: 18px; padding: 12px 14px; border-radius: 16px; background: #FFF6CC; font-size: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; font-weight: 500; }

/* CTA */
.cta .box { padding: 48px; border-radius: 32px; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -.045em; max-width: 16ch; }
.cta p { color: rgba(255,255,255,.65); margin: 12px 0 0; }

.fineprint { color: var(--steel); font-size: 14px; max-width: 46em; }
footer { padding: 28px 0 40px; color: var(--steel); font-size: 13px; text-align: center; }
footer nav { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
footer a { color: var(--steel); text-decoration: none; }
footer a:hover { color: var(--ink); text-decoration: underline; }

/* Rechtstexte */
.legal { max-width: 760px; margin: 0 auto; padding: 40px 20px 80px; }
.legal h1 { font-size: 44px; letter-spacing: -.045em; margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -.03em; }
.legal p, .legal li { font-size: 16px; }
.legal-meta { color: var(--steel); }

@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 40px; padding-bottom: 64px; }
  .akte { justify-self: start; max-width: 440px; }
  .steps, .mods { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .feature { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .top nav .hide-s { display: none; }
  .top .wrap { gap: 10px; }
  .top nav { gap: 14px; }
  .logo { font-size: 17px; }
  .logo svg { width: 30px; height: 30px; }
  .top nav .btn-small { padding: 0 14px; }
  .steps, .mods { grid-template-columns: minmax(0, 1fr); }
  .tile, .cta .box { padding: 26px 22px; border-radius: 24px; }
  .plate .tx { font-size: 24px; }
  section { padding: 24px 0 56px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; } }
.tile.dark .screen .msg { color: #000; }
.tile.dark .screen .eta { color: var(--steel); }
.show-xs { display: none; }
@media (max-width: 400px) { .hide-xs { display: none; } .show-xs { display: inline; } }
