/* BüroRechner — "Office" design: paper white + deep teal + coral, Swiss-clean. Distinct from all previous sites. */
:root {
  --teal: #0f5e5e; --teal-deep: #083b3b; --coral: #e8594a; --coral-pale: #fdeceb;
  --paper: #ffffff; --bg: #f4f6f5; --ink: #22302e; --mut: #647774;
  --line: #dde5e3; --radius: 10px;
  --sans: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --shadow: 0 2px 12px rgba(8,59,59,.08); --shadow-lift: 0 14px 34px rgba(8,59,59,.14);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.7; -webkit-font-smoothing: antialiased; }
.container { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-weight: 800; line-height: 1.25; color: var(--teal-deep); letter-spacing: -.01em; }
.paperline { height: 8px; background: repeating-linear-gradient(90deg, var(--teal) 0 60px, var(--coral) 60px 66px, transparent 66px 120px); opacity: .35; }
header.site { background: var(--paper); position: sticky; top: 0; z-index: 50; border-bottom: 3px solid var(--teal); box-shadow: var(--shadow); }
header.site .bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 14px 0; }
.brand { font-size: 1.35rem; font-weight: 800; color: var(--teal-deep); text-decoration: none; display: inline-flex; align-items: center; letter-spacing: -.01em; }
.brand .clip { width: 36px; height: 36px; border-radius: 8px; background: var(--teal); margin-right: 10px; display: inline-flex; align-items: center; justify-content: center; }
.brand .clip svg { width: 19px; height: 19px; stroke: #fff; fill: none; stroke-width: 2.4; }
.brand em { font-style: normal; color: var(--coral); }
nav.main a { color: var(--teal-deep); text-decoration: none; margin-left: 20px; font-size: .92rem; font-weight: 700; }
nav.main a:hover { color: var(--coral); }
.hero { position: relative; padding: 92px 0 86px; background: url('../images/hero.webp') center/cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(8,59,59,.9), rgba(8,59,59,.45)); }
.hero .container { position: relative; z-index: 1; }
.hero .office { display: inline-block; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.4); color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 8px 18px; border-radius: 6px; margin-bottom: 18px; }
.hero h1 { color: #fff; font-size: 2.8rem; max-width: 640px; margin-bottom: 16px; }
.hero h1 .co { color: #7fd4c1; }
.hero p.lead { color: #d3e8e2; font-size: 1.1rem; max-width: 600px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-office { display: inline-block; background: var(--coral); color: #fff; text-decoration: none; padding: 15px 36px; border-radius: 8px; font-weight: 800; box-shadow: 0 10px 26px rgba(232,89,74,.4); transition: transform .15s; }
.btn-office:hover { transform: translateY(-3px); background: #d1483a; }
.btn-desk { display: inline-block; border: 2px solid rgba(255,255,255,.55); color: #fff; text-decoration: none; padding: 13px 34px; border-radius: 8px; font-weight: 700; }
.btn-desk:hover { background: rgba(255,255,255,.12); }
section.block { padding: 64px 0; }
.sec-pre { color: var(--coral); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.sec-title { font-size: 2.1rem; margin: 8px 0 12px; }
.sec-sub { color: var(--mut); max-width: 700px; margin-bottom: 34px; font-size: 1rem; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr); gap: 20px; }
.tcard { background: var(--paper); border-radius: var(--radius); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); transition: transform .16s, box-shadow .16s; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); }
.tcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.tcard .ph { height: 128px; background-size: cover; background-position: center; }
.tcard .tx { padding: 20px 24px 24px; flex: 1; border-top: 3px solid var(--teal); }
.tcard .no { font-family: var(--mono); font-size: .72rem; color: var(--coral); letter-spacing: .06em; 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; }
.tcard .go { font-weight: 800; color: var(--teal); font-size: .9rem; }
.tcard .go span { color: var(--coral); }
.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: var(--radius); box-shadow: var(--shadow-lift); display: block; }
.split h3 { font-size: 1.6rem; margin-bottom: 12px; }
.split p { color: var(--mut); margin-bottom: 12px; }
.split .more { font-weight: 800; color: var(--teal); text-decoration: none; border-bottom: 3px solid var(--coral); }
table.ref { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: .93rem; background: var(--paper); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
table.ref th { background: var(--teal-deep); color: #fff; padding: 12px 14px; text-align: left; font-size: .84rem; }
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: #eef4f2; }
.crumbs { font-size: .85rem; color: var(--mut); margin: 22px 0 8px; }
.crumbs a { color: var(--teal); text-decoration: none; font-weight: 700; }
.pagehead { max-width: 780px; }
.pagehead h1 { font-size: 2.3rem; margin-bottom: 10px; }
.pagehead h1 .co { color: var(--coral); }
.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: var(--radius); box-shadow: var(--shadow-lift); }
.calc { background: var(--paper); border-radius: 12px; padding: 34px; margin: 30px 0; box-shadow: var(--shadow); border: 1px solid var(--line); max-width: 720px; }
.calc .chead { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 2px solid var(--line); }
.calc .chead .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--coral); }
.calc .chead strong { color: var(--teal-deep); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 7px; font-size: .93rem; }
.field input, .field select { width: 100%; padding: 13px 16px; border: 2px solid var(--line); border-radius: 8px; font-size: 1rem; font-family: var(--mono); background: #f8faf9; }
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); background: #fff; }
.field input.invalid { border-color: #c0392b; background: #fdf2f0; }
.field .hint { font-size: .83rem; color: var(--mut); margin-top: 5px; }
.field .error { font-size: .83rem; color: #c0392b; margin-top: 5px; display: none; font-weight: 600; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.btn-row { display: flex; gap: 12px; margin-top: 8px; }
button.calc-btn { background: var(--teal); color: #fff; border: none; padding: 15px 30px; border-radius: 8px; font-size: 1rem; font-weight: 800; cursor: pointer; flex: 1; transition: transform .15s, background .15s; }
button.calc-btn:hover { transform: translateY(-2px); background: var(--teal-deep); }
button.reset-btn { background: transparent; color: var(--mut); border: 2px solid var(--line); padding: 15px 26px; border-radius: 8px; cursor: pointer; font-weight: 700; }
button.reset-btn:hover { border-color: var(--mut); }
.result { display: none; margin-top: 24px; background: var(--teal-deep); border-radius: 10px; padding: 26px; color: #fff; }
.result.show { display: block; animation: officeIn .3s ease; }
.result .big { font-family: var(--mono); font-size: 1.9rem; font-weight: 700; color: #7fd4c1; }
.result .rrow { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: .95rem; font-family: var(--mono); }
.result .rrow:last-child { border-bottom: none; }
.result .rrow span:first-child { color: #b9d8d0; }
.result .note { font-size: .85rem; color: #b9d8d0; margin-top: 10px; }
article.prose { margin: 34px 0; max-width: 800px; }
article.prose h1 { font-size: 1.55rem; margin: 32px 0 12px; }
.prose h2 { font-size: 1.55rem; margin: 32px 0 12px; }
article.prose h3 { font-size: 1.12rem; margin: 22px 0 8px; }
article.prose p, article.prose li { margin-bottom: 10px; color: #3a4a48; }
article.prose ul, article.prose ol { padding-left: 22px; }
.warnbox { background: var(--coral-pale); border: 2px solid var(--coral); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; font-size: .92rem; color: #7a2e26; }
.warnbox strong { text-transform: uppercase; letter-spacing: .04em; }
.tipbox { background: #e6f2ef; border: 2px solid var(--teal); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; font-size: .92rem; color: #0d4646; }
.example { background: var(--paper); border-radius: var(--radius); padding: 20px 24px; margin: 22px 0; box-shadow: var(--shadow); border-left: 5px solid var(--coral); font-size: .93rem; }
.faq details { background: var(--paper); border-radius: var(--radius); margin-bottom: 10px; padding: 16px 22px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.faq summary { font-weight: 800; cursor: pointer; }
.faq p { margin-top: 8px; color: var(--mut); font-size: .94rem; }
.cta-band { background: var(--teal-deep); border-radius: 12px; padding: 52px 36px; text-align: center; color: #d3e8e2; margin: 58px 0; }
.cta-band h2 { color: #fff; font-size: 2rem; margin-bottom: 10px; }
.cta-band h2 .co { color: #7fd4c1; }
.cta-band p { margin-bottom: 26px; }
footer.site { background: var(--teal-deep); color: #9dc0b8; padding: 52px 0 28px; margin-top: 62px; font-size: .9rem; }
footer.site .fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 28px; }
footer.site h4 { color: #7fd4c1; font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
footer.site a { color: #d3e8e2; text-decoration: none; display: block; margin-bottom: 8px; }
footer.site a:hover { color: #fff; }
footer.site .brand { color: #fff; }
footer.site .bottom { border-top: 1px solid rgba(255,255,255,.14); padding-top: 20px; color: #6e8f88; font-size: .82rem; font-family: var(--mono); }
@keyframes officeIn { from { opacity: 0; transform: translateY(8px); } 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: 62px 0; } .hero h1 { font-size: 1.95rem; }
  .split { grid-template-columns: 1fr; gap: 26px; } .split.flip > div:first-child { order: 0; }
  .calc { padding: 26px 22px; } .btn-row { flex-direction: column; } .frow { grid-template-columns: 1fr; }
  nav.main a { margin-left: 14px; } footer.site .fgrid { grid-template-columns: 1fr 1fr; }
  .pagehead h1 { font-size: 1.8rem; }
}
