/* UmzugsRechner — "Karton & Klebeband": cardboard brown + packing-tape yellow. Bold utilitarian moving design. */
:root {
  --karton: #b07a3f; --karton-deep: #6f4420; --karton-dark: #3f2a12;
  --tape: #f5c518; --tape-dark: #c9a012; --tape-pale: #fdf3d0;
  --papier: #fbf6ec; --weiss: #ffffff; --ink: #2d2214; --mut: #7a6a52; --line: #e3d5bd;
  --radius: 6px; --sans: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --shadow: 0 4px 16px rgba(63,42,18,.12); --lift: 0 14px 34px rgba(63,42,18,.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--papier); color: var(--ink); line-height: 1.72; -webkit-font-smoothing: antialiased; }
.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-weight: 800; line-height: 1.18; color: var(--karton-dark); letter-spacing: -.01em; }
.tapeband { height: 14px; background: repeating-linear-gradient(-45deg, var(--tape) 0 22px, var(--ink) 22px 44px); }
header.site { background: var(--karton-dark); position: sticky; top: 0; z-index: 50; }
header.site .bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 13px 0; }
.brand { font-size: 1.4rem; font-weight: 800; color: #fff; text-decoration: none; display: inline-flex; align-items: center; letter-spacing: -.01em; }
.brand .box { width: 40px; height: 40px; background: var(--tape); border-radius: var(--radius); margin-right: 11px; display: inline-flex; align-items: center; justify-content: center; }
.brand .box svg { width: 24px; height: 24px; stroke: var(--karton-dark); fill: none; stroke-width: 2; }
.brand em { font-style: normal; color: var(--tape); }
nav.main a { color: #e8dcc4; text-decoration: none; margin-left: 20px; font-size: .9rem; font-weight: 700; }
nav.main a:hover { color: var(--tape); }
.hero { position: relative; padding: 92px 0 84px; background: url('../images/hero.webp') center/cover; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(95deg, rgba(45,30,12,.93), rgba(45,30,12,.55)); }
.hero .container { position: relative; z-index: 1; }
.hero .stempel { display: inline-block; background: var(--tape); color: var(--karton-dark); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; padding: 9px 20px; margin-bottom: 20px; transform: rotate(-1.5deg); }
.hero h1 { color: #fff; font-size: 2.9rem; max-width: 700px; margin-bottom: 16px; }
.hero h1 .tape { color: var(--tape); }
.hero p.lead { color: #e8dcc4; font-size: 1.12rem; max-width: 640px; margin-bottom: 30px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-tape { display: inline-block; background: var(--tape); color: var(--karton-dark); text-decoration: none; padding: 15px 36px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; border-radius: var(--radius); box-shadow: 0 10px 24px rgba(245,197,24,.35); transition: transform .15s; }
.btn-tape:hover { transform: translateY(-3px); }
.btn-ghost { display: inline-block; border: 2px solid rgba(255,255,255,.55); color: #fff; text-decoration: none; padding: 13px 32px; font-weight: 700; border-radius: var(--radius); font-size: .92rem; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
section.block { padding: 66px 0; }
.sec-kicker { color: var(--karton-deep); font-size: .8rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-family: var(--mono); }
.sec-title { font-size: 2.2rem; margin: 8px 0 10px; }
.sec-sub { color: var(--mut); max-width: 720px; margin-bottom: 36px; font-size: 1.02rem; }
.kgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.kcard { background: var(--weiss); 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; border: 2px solid var(--line); border-bottom: 6px solid var(--tape); }
.kcard:hover { transform: translateY(-6px); box-shadow: var(--lift); }
.kcard .top { padding: 22px 24px 0; display: flex; align-items: center; gap: 14px; }
.kcard .ic { width: 52px; height: 52px; background: var(--tape-pale); border: 2px dashed var(--karton); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; flex: none; }
.kcard .ic svg { width: 28px; height: 28px; stroke: var(--karton-deep); fill: none; stroke-width: 2; }
.kcard .no { font-family: var(--mono); font-size: .72rem; color: var(--karton-deep); letter-spacing: .08em; font-weight: 700; }
.kcard .tx { padding: 14px 24px 24px; flex: 1; }
.kcard .tx h3 { font-size: 1.18rem; margin: 4px 0 8px; }
.kcard .tx p { font-size: .92rem; color: var(--mut); margin-bottom: 12px; }
.kcard .go { font-weight: 800; color: var(--karton-deep); font-size: .9rem; text-transform: uppercase; letter-spacing: .04em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin: 54px 0; }
.split.flip > div:first-child { order: 2; }
.split img { width: 100%; border-radius: var(--radius); box-shadow: var(--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(--karton-deep); text-decoration: none; border-bottom: 3px solid var(--tape); text-transform: uppercase; font-size: .9rem; letter-spacing: .04em; }
table.ref { width: 100%; border-collapse: collapse; margin: 12px 0 24px; font-size: .93rem; background: var(--weiss); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
table.ref th { background: var(--karton-dark); color: var(--tape); padding: 12px 14px; text-align: left; font-size: .84rem; text-transform: uppercase; letter-spacing: .04em; }
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: #f7f1e3; }
.crumbs { font-size: .85rem; color: var(--mut); margin: 22px 0 8px; font-family: var(--mono); }
.crumbs a { color: var(--karton-deep); text-decoration: none; font-weight: 700; }
.pagehead { max-width: 800px; }
.pagehead h1 { font-size: 2.4rem; margin-bottom: 10px; }
.pagehead h1 .tape { color: var(--karton); }
.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(--lift); }
.calc { background: var(--weiss); border-radius: 8px; padding: 36px; margin: 30px 0; box-shadow: var(--shadow); border: 2px solid var(--line); max-width: 740px; border-top: 8px solid var(--tape); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; margin-bottom: 7px; font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--karton-deep); }
.field input, .field select { width: 100%; padding: 13px 16px; border: 2px solid var(--line); border-radius: var(--radius); font-size: 1rem; font-family: var(--mono); background: var(--papier); color: var(--ink); }
.field input:focus, .field select:focus { outline: none; border-color: var(--karton); background: #fff; }
.field input.invalid { border-color: #b3392c; background: #fdf0ec; }
.field .hint { font-size: .83rem; color: var(--mut); margin-top: 5px; }
.field .error { font-size: .83rem; color: #b3392c; margin-top: 5px; display: none; font-weight: 600; }
.fgrid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
fieldset.annahmen { border: 2px dashed var(--karton); border-radius: var(--radius); padding: 20px 22px; margin: 8px 0 20px; }
fieldset.annahmen legend { font-weight: 800; font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; color: var(--karton-deep); padding: 0 10px; }
.btn-row { display: flex; gap: 12px; margin-top: 8px; }
button.calc-btn { background: var(--tape); color: var(--karton-dark); border: none; padding: 15px 30px; font-size: 1rem; font-weight: 800; cursor: pointer; flex: 1; text-transform: uppercase; letter-spacing: .05em; border-radius: var(--radius); box-shadow: 0 8px 20px rgba(245,197,24,.35); transition: transform .15s; }
button.calc-btn:hover { transform: translateY(-2px); }
button.reset-btn { background: transparent; color: var(--mut); border: 2px solid var(--line); padding: 15px 26px; cursor: pointer; font-weight: 700; border-radius: var(--radius); text-transform: uppercase; font-size: .85rem; letter-spacing: .04em; }
button.reset-btn:hover { border-color: var(--mut); }
.result { display: none; margin-top: 26px; background: linear-gradient(135deg, var(--karton-dark), var(--karton-deep)); border-radius: var(--radius); padding: 28px; color: #fff; border-top: 8px solid var(--tape); }
.result.show { display: block; animation: tapeIn .35s ease; }
@keyframes tapeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.result .big { font-family: var(--mono); font-size: 2rem; font-weight: 700; color: var(--tape); }
.result .big small { font-size: 1rem; color: #e8dcc4; }
.result .rrow { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.18); font-size: .95rem; font-family: var(--mono); }
.result .rrow:last-child { border-bottom: none; }
.result .rrow span:first-child { color: #d9cba6; }
.result .note { font-size: .85rem; color: #d9cba6; margin-top: 10px; }
article.prose { margin: 36px 0; max-width: 820px; }
article.prose h2 { font-size: 1.5rem; margin: 34px 0 12px; }
article.prose h3 { font-size: 1.12rem; margin: 24px 0 8px; }
article.prose p, article.prose li { margin-bottom: 10px; color: #4a3d28; }
article.prose ul, article.prose ol { padding-left: 22px; }
.warnbox { background: var(--tape-pale); border: 2px solid var(--tape-dark); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; font-size: .92rem; color: #6b5207; }
.warnbox strong { text-transform: uppercase; letter-spacing: .04em; }
.tipbox { background: #f3ead6; border: 2px solid var(--karton); border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; font-size: .92rem; color: var(--karton-dark); }
.example { background: var(--weiss); border-radius: var(--radius); padding: 20px 24px; margin: 22px 0; box-shadow: var(--shadow); border-left: 6px solid var(--tape); font-size: .93rem; }
.faq details { background: var(--weiss); border-radius: var(--radius); margin-bottom: 10px; padding: 16px 22px; box-shadow: var(--shadow); border: 2px solid var(--line); }
.faq summary { font-weight: 800; cursor: pointer; color: var(--karton-dark); }
.faq p { margin-top: 8px; color: var(--mut); font-size: .94rem; }
.cta-band { background: linear-gradient(120deg, var(--karton-dark), var(--karton-deep)); border-radius: 8px; padding: 54px 36px; text-align: center; color: #e8dcc4; margin: 60px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px; background: repeating-linear-gradient(-45deg, var(--tape) 0 22px, var(--ink) 22px 44px); }
.cta-band h2 { color: #fff; font-size: 2rem; margin-bottom: 10px; }
.cta-band h2 .tape { color: var(--tape); }
.cta-band p { margin-bottom: 26px; }
footer.site { background: var(--karton-dark); color: #a89570; padding: 54px 0 28px; margin-top: 64px; 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: var(--tape); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
footer.site a { color: #e8dcc4; text-decoration: none; display: block; margin-bottom: 8px; }
footer.site a:hover { color: var(--tape); }
footer.site .brand { color: #fff; }
footer.site .bottom { border-top: 1px solid rgba(255,255,255,.16); padding-top: 20px; color: #8a7452; font-size: .82rem; font-family: var(--mono); }
@media (max-width: 760px) {
  .hero h1 { font-size: 2rem; } .split { grid-template-columns: 1fr; gap: 28px; }
  .split.flip > div:first-child { order: 0; } .fgrid2 { grid-template-columns: 1fr; }
  footer.site .fgrid { grid-template-columns: 1fr 1fr; } .calc { padding: 24px; }
  nav.main a { margin-left: 12px; font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
