/* FahrradWerkstattPlaner — "Workshop" design: steel grey + grease orange, industrial stencil. */
:root {
  --steel: #e9edf1; --steel2: #dde3e9; --card: #ffffff; --panel: #2b3238;
  --iron: #1f2429; --ink: #232a31; --mut: #5d6b76;
  --orange: #e8641b; --orange-deep: #c24f0e; --orange-pale: #fdf0e4;
  --line: #c9d2da; --line-dark: #3a434b;
  --radius: 10px;
  --sans: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --cond: "Arial Narrow", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: ui-monospace, "Roboto Mono", Menlo, Consolas, monospace;
  --shadow: 0 6px 20px rgba(31,36,41,.10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--steel); color: var(--ink); line-height: 1.7; -webkit-font-smoothing: antialiased; }
.container { max-width: 1060px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--cond); text-transform: uppercase; letter-spacing: .04em; font-weight: 800; line-height: 1.15; }
.stencil { font-family: var(--mono); font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; color: var(--orange-deep); font-weight: 700; }
.chain { height: 14px; background-image: radial-gradient(circle 5px at 8px 7px, var(--orange) 55%, transparent 56%), radial-gradient(circle 5px at 30px 7px, var(--line) 55%, transparent 56%); background-size: 44px 14px; background-repeat: repeat-x; opacity: .55; }
header.site { background: var(--iron); border-bottom: 4px solid var(--orange); position: sticky; top: 0; z-index: 50; }
header.site .bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 13px 0; }
.brand { font-family: var(--cond); font-size: 1.35rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: #fff; text-decoration: none; display: inline-flex; align-items: center; }
.brand .gear { width: 42px; height: 42px; margin-right: 12px; flex-shrink: 0; }
.brand em { font-style: normal; color: var(--orange); }
nav.main a { color: #aeb8c1; text-decoration: none; margin-left: 20px; font-size: .92rem; font-weight: 700; font-family: var(--cond); text-transform: uppercase; letter-spacing: .06em; }
nav.main a:hover { color: var(--orange); }
.hero { background: linear-gradient(115deg, var(--steel) 55%, var(--steel2) 55%); padding: 70px 0; border-bottom: 1px solid var(--line); }
.hero .split-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero h1 { font-size: 2.9rem; margin: 12px 0 14px; }
.hero h1 .org { color: var(--orange-deep); }
.hero p.lead { color: var(--mut); font-size: 1.1rem; margin-bottom: 28px; max-width: 520px; }
.hero .frame { border: 6px solid var(--iron); outline: 3px solid var(--orange); outline-offset: -11px; box-shadow: var(--shadow); }
.hero .frame img { width: 100%; display: block; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-org { display: inline-block; background: var(--orange); color: #fff; text-decoration: none; padding: 15px 34px; border-radius: 6px; font-weight: 800; font-family: var(--cond); text-transform: uppercase; letter-spacing: .06em; box-shadow: 0 8px 20px rgba(232,100,27,.35); transition: transform .15s, background .15s; border: none; cursor: pointer; font-size: 1rem; }
.btn-org:hover { background: var(--orange-deep); transform: translateY(-2px); }
.btn-steel { display: inline-block; border: 2px solid var(--iron); color: var(--iron); text-decoration: none; padding: 13px 32px; border-radius: 6px; font-weight: 800; font-family: var(--cond); text-transform: uppercase; letter-spacing: .06em; }
.btn-steel:hover { background: var(--iron); color: #fff; }
section.block { padding: 66px 0; }
.sec-title { font-size: 2.1rem; margin: 8px 0 12px; }
.sec-title .org { color: var(--orange-deep); }
.sec-sub { color: var(--mut); max-width: 720px; margin-bottom: 34px; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.tcard { background: var(--card); border: 1px solid var(--line); border-top: 6px solid var(--orange); border-radius: 6px; text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .16s, box-shadow .16s; display: flex; flex-direction: column; overflow: hidden; }
.tcard:hover { transform: translateY(-5px); box-shadow: 0 14px 30px rgba(31,36,41,.16); }
.tcard .ph { height: 120px; background-size: cover; background-position: center; border-bottom: 1px solid var(--line); }
.tcard .tx { padding: 20px 22px 24px; flex: 1; }
.tcard .no { font-family: var(--mono); font-size: .72rem; color: var(--orange-deep); letter-spacing: .12em; font-weight: 700; }
.tcard .tx h3 { font-size: 1.18rem; margin: 6px 0 8px; }
.tcard .tx p { font-size: .92rem; color: var(--mut); margin-bottom: 12px; text-transform: none; letter-spacing: 0; font-family: var(--sans); }
.tcard .go { font-weight: 800; color: var(--orange-deep); font-size: .88rem; font-family: var(--cond); text-transform: uppercase; letter-spacing: .08em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; margin: 48px 0; }
.split.flip > div:first-child { order: 2; }
.split img { width: 100%; border-radius: 6px; box-shadow: var(--shadow); display: block; border: 1px solid var(--line); }
.split h3 { font-size: 1.55rem; margin-bottom: 12px; }
.split p { color: var(--mut); margin-bottom: 12px; }
.split .more { font-weight: 800; color: var(--orange-deep); text-decoration: none; font-family: var(--cond); text-transform: uppercase; letter-spacing: .06em; border-bottom: 3px solid var(--orange); }
table.ref { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: .93rem; background: var(--card); border-radius: 6px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
table.ref th { background: var(--iron); color: var(--orange); padding: 12px 14px; text-align: left; font-size: .82rem; font-family: var(--cond); text-transform: uppercase; letter-spacing: .08em; }
table.ref td { padding: 11px 14px; border-bottom: 1px solid var(--line); }
table.ref tr:last-child td { border-bottom: none; }
table.ref tr:nth-child(even) td { background: #f4f6f8; }
.crumbs { font-size: .82rem; color: var(--mut); margin: 22px 0 8px; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; }
.crumbs a { color: var(--orange-deep); text-decoration: none; font-weight: 700; }
.pagehead { max-width: 780px; }
.pagehead h1 { font-size: 2.3rem; margin-bottom: 10px; }
.pagehead h1 .org { color: var(--orange-deep); }
.pagehead p { color: var(--mut); }
.pagehead .pimg { margin: 24px 0 0; max-width: 640px; }
.pagehead .pimg img { width: 100%; max-height: 300px; object-fit: cover; border-radius: 6px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.calc { background: var(--card); border-radius: 8px; padding: 34px; margin: 30px 0; box-shadow: var(--shadow); border: 1px solid var(--line); border-left: 8px solid var(--orange); max-width: 720px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 7px; font-size: .94rem; font-family: var(--cond); text-transform: uppercase; letter-spacing: .05em; }
.field input, .field select { width: 100%; padding: 13px 16px; border: 2px solid var(--line); border-radius: 6px; font-size: 1rem; font-family: var(--mono); background: #f7f9fa; color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--orange); background: #fff; }
.field input.invalid { border-color: #d33; background: #fdf0f0; }
.field .hint { font-size: .83rem; color: var(--mut); margin-top: 5px; }
.field .error { font-size: .83rem; color: #d33; margin-top: 5px; display: none; font-weight: 600; }
.btn-row { display: flex; gap: 12px; margin-top: 8px; }
button.calc-btn { background: var(--orange); color: #fff; border: none; padding: 15px 30px; border-radius: 6px; font-size: 1rem; font-weight: 800; font-family: var(--cond); text-transform: uppercase; letter-spacing: .06em; cursor: pointer; flex: 1; transition: background .15s; }
button.calc-btn:hover { background: var(--orange-deep); }
button.reset-btn { background: transparent; color: var(--mut); border: 2px solid var(--line); padding: 13px 24px; border-radius: 6px; cursor: pointer; font-weight: 700; font-family: var(--cond); text-transform: uppercase; letter-spacing: .06em; }
button.reset-btn:hover { border-color: var(--orange); color: var(--orange-deep); }
.result { display: none; margin-top: 24px; background: var(--iron); border-radius: 8px; padding: 26px; color: #e9edf1; }
.result.show { display: block; animation: orgIn .35s ease; }
.result .big { font-family: var(--mono); font-size: 1.9rem; font-weight: 700; color: var(--orange); }
.result .rrow { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line-dark); font-size: .95rem; font-family: var(--mono); }
.result .rrow:last-child { border-bottom: none; }
.result .rrow span:first-child { color: #aeb8c1; }
.result .note { font-size: .85rem; color: #aeb8c1; margin-top: 10px; }
article.prose { margin: 36px 0; max-width: 800px; }
article.prose h2 { font-size: 1.55rem; margin: 32px 0 12px; }
article.prose h2 .org { color: var(--orange-deep); }
article.prose h3 { font-size: 1.1rem; margin: 22px 0 8px; }
article.prose p, article.prose li { margin-bottom: 10px; color: #3d4750; }
article.prose strong { color: var(--ink); }
article.prose ul, article.prose ol { padding-left: 22px; }
article.prose a { color: var(--orange-deep); font-weight: 700; }
.warnbox { background: var(--orange-pale); border: 2px solid var(--orange); border-radius: 6px; padding: 18px 22px; margin: 24px 0; font-size: .92rem; }
.warnbox strong { color: var(--orange-deep); text-transform: uppercase; letter-spacing: .04em; font-family: var(--cond); }
.safetybox { background: #fdeeee; border: 2px solid #d33; border-radius: 6px; padding: 18px 22px; margin: 24px 0; font-size: .92rem; }
.safetybox strong { color: #d33; text-transform: uppercase; letter-spacing: .04em; font-family: var(--cond); }
.tipbox { background: #eef4f8; border-left: 6px solid var(--orange); border-radius: 0 6px 6px 0; padding: 18px 22px; margin: 24px 0; font-size: .92rem; color: var(--mut); }
.example { background: var(--card); border-radius: 6px; padding: 20px 24px; margin: 22px 0; box-shadow: var(--shadow); border: 1px solid var(--line); border-left: 6px solid var(--iron); font-size: .93rem; font-family: var(--mono); }
.check-list { list-style: none; padding: 0 !important; }
.check-list li { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 14px 18px; margin-bottom: 10px; display: flex; gap: 14px; align-items: flex-start; box-shadow: var(--shadow); }
.check-list input[type=checkbox] { width: 20px; height: 20px; accent-color: var(--orange); margin-top: 4px; flex-shrink: 0; }
.check-list select { margin-left: auto; font-family: var(--mono); padding: 6px 10px; border: 2px solid var(--line); border-radius: 6px; background: #f7f9fa; flex-shrink: 0; }
.faq details { background: var(--card); border-radius: 6px; margin-bottom: 10px; padding: 16px 22px; box-shadow: var(--shadow); border: 1px solid var(--line); border-left: 6px solid var(--orange); }
.faq summary { font-weight: 800; cursor: pointer; font-family: var(--cond); text-transform: uppercase; letter-spacing: .04em; }
.faq p { margin-top: 8px; color: var(--mut); font-size: .94rem; }
.cta-band { background: var(--iron); border-radius: 8px; padding: 52px 36px; text-align: center; color: #c6cfd7; margin: 60px 0; border-top: 6px solid var(--orange); }
.cta-band h2 { color: #fff; font-size: 2rem; margin-bottom: 10px; }
.cta-band h2 .org { color: var(--orange); }
.cta-band p { margin-bottom: 26px; }
footer.site { background: var(--iron); color: #aeb8c1; padding: 52px 0 28px; margin-top: 64px; font-size: .9rem; border-top: 4px solid var(--orange); }
footer.site .fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
footer.site h4 { color: var(--orange); font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 12px; font-family: var(--cond); }
footer.site a { color: #c6cfd7; text-decoration: none; display: block; margin-bottom: 8px; }
footer.site a:hover { color: var(--orange); }
footer.site .brand { color: #fff; }
footer.site .bottom { border-top: 1px solid var(--line-dark); padding-top: 20px; color: #7d8892; font-size: .82rem; font-family: var(--mono); }
@keyframes orgIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
@media (max-width: 760px) {
  .hero { padding: 48px 0; } .hero .split-hero { grid-template-columns: 1fr; gap: 28px; } .hero h1 { font-size: 2rem; }
  .split { grid-template-columns: 1fr; gap: 26px; } .split.flip > div:first-child { order: 0; }
  .calc { padding: 26px 22px; } .btn-row { flex-direction: column; }
  nav.main a { margin-left: 14px; } footer.site .fgrid { grid-template-columns: 1fr 1fr; }
  .pagehead h1 { font-size: 1.8rem; }
}
@media print {
  header.site, footer.site, .crumbs, .noprint, .hero-cta, nav.main { display: none !important; }
  body { background: #fff; }
  .calc, .check-list li { box-shadow: none; }
  article.prose p, article.prose li { color: #000; }
}
