/* KreativBüro · Richtung „Die Schneidematte“
   Grund: schieferblaue Matte mit Raster. Gelesenes liegt auf Papier. Limette sparsam. */

/* ---------- Schriften (selbst gehostet, OFL) ---------- */
@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-600-800.woff2") format("woff2"); font-weight: 600 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree-var.woff2") format("woff2"); font-weight: 300 900; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/plexmono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Variablen ---------- */
:root {
  color-scheme: dark;

  /* Matte */
  --mat: #24323f;
  --mat-deep: #1b2631;
  --mat-ink: #ffffff;
  --mat-text: #c4ced8;
  --mat-muted: #9fadbb;
  --grid-1: rgba(255, 255, 255, .055);
  --grid-5: rgba(156, 192, 0, .2);
  --cm: 40px;

  /* Papier */
  --paper: #fbfbf8;
  --paper-2: #f1f2ee;
  --paper-line: #dde2e8;
  --ink: #1f2a36;
  --ink-muted: #56636f;

  /* Marke */
  --slate: #3e4d60;
  --slate-deep: #2c3847;
  --lime: #9cc000;
  --lime-bright: #b2d81c;
  --lime-on-paper: #5b7000;
  --on-lime: #15200a;

  /* Schrift */
  --f-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;

  --fs-h1: clamp(2.4rem, 1rem + 3.9vw, 4.5rem);
  --fs-h2: clamp(1.9rem, 1.1rem + 2.6vw, 3.1rem);
  --fs-h3: clamp(1.2rem, 1rem + .6vw, 1.45rem);
  --fs-body: 1.0625rem;
  --fs-small: .9rem;
  --fs-mono: .8rem;

  /* Abstände (für Regler in Phase 6) */
  --gutter: 16px;
  --wrap: 1200px;
  --section-y: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --hero-top: clamp(2.5rem, 1.5rem + 4vw, 5.5rem);
  --hero-gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  --hero-text-width: 52%;
  --desk-width: 640px;
  --radius: 4px;

  /* Tiefe */
  --shadow-paper: 0 1px 1px rgba(8, 14, 20, .25), 0 8px 18px -4px rgba(8, 14, 20, .45), 0 28px 50px -18px rgba(8, 14, 20, .55);
  --shadow-lift: 0 2px 2px rgba(8, 14, 20, .25), 0 14px 28px -6px rgba(8, 14, 20, .5), 0 40px 70px -22px rgba(8, 14, 20, .6);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (min-width: 720px) { :root { --gutter: 32px; } }

/* ---------- Grundlagen ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; scrollbar-color: #4a5b6c var(--mat-deep); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background-color: var(--mat);
  background-image:
    linear-gradient(to right, var(--grid-5) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-5) 1px, transparent 1px),
    linear-gradient(to right, var(--grid-1) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-1) 1px, transparent 1px);
  background-size: calc(var(--cm) * 5) calc(var(--cm) * 5), calc(var(--cm) * 5) calc(var(--cm) * 5), var(--cm) var(--cm), var(--cm) var(--cm);
  color: var(--mat-text);
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  caret-color: var(--lime);
}
::selection { background: var(--lime); color: var(--on-lime); }
img, svg { display: block; max-width: 100%; height: auto; }
table { font: inherit; color: inherit; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--lime); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 800; color: var(--mat-ink); line-height: 1.04; letter-spacing: -.025em; margin: 0; text-wrap: balance; }
h3 { font-weight: 700; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mono { font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.lime { color: var(--lime); }
.skip { position: absolute; left: 8px; top: -60px; z-index: 100; background: var(--lime); color: var(--on-lime); padding: .6em 1em; font-weight: 700; border-radius: var(--radius); }
.skip:focus { top: 8px; }
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Lineal ---------- */
.ruler {
  position: relative;
  height: 26px;
  background-color: var(--mat-deep);
  background-image:
    linear-gradient(90deg, rgba(255,255,255,.55) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.18) 1px, transparent 1px);
  background-size: var(--cm) 12px, calc(var(--cm) / 2) 8px, calc(var(--cm) / 10) 4px;
  background-position: 0 100%, 0 100%, 0 100%;
  background-repeat: repeat-x;
  border-bottom: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
}
.ruler span { position: absolute; top: 3px; transform: translateX(3px); font-family: var(--f-mono); font-size: 9px; line-height: 1; color: rgba(255,255,255,.5); }

/* ---------- Kopf ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(27, 38, 49, .88); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); border-bottom: 1px solid rgba(255,255,255,.08); }
.site-head .wrap { display: flex; align-items: center; gap: 1.5rem; min-height: 68px; }
.brand { display: flex; flex-direction: column; gap: 3px; text-decoration: none; margin-right: auto; }
.brand img { width: 168px; height: auto; }
.brand small { font-family: var(--f-mono); font-size: 10.5px; color: var(--mat-muted); letter-spacing: .02em; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--mat-text); text-decoration: none; font-weight: 500; font-size: .95rem; padding: .4em 0; border-bottom: 1px solid transparent; transition: color .2s, border-color .2s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; border-bottom-color: var(--lime); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.25); color: #fff; border-radius: var(--radius); padding: .5rem; cursor: pointer; }
.nav-toggle .icon { width: 22px; height: 22px; }
@media (max-width: 960px) {
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: var(--mat-deep); padding: .5rem var(--gutter) 1.25rem; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: .8rem 0; border-bottom: 1px dashed rgba(255,255,255,.12); }
  .nav-toggle { display: inline-flex; }
  .site-head .btn { display: none; }
}
@media (max-width: 420px) { .brand img { width: 140px; } .brand small { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font-family: var(--f-body); font-weight: 700; font-size: 1rem; line-height: 1.2;
  padding: .95em 1.4em; border-radius: var(--radius); border: 0; cursor: pointer;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s;
}
.btn-buy { background: var(--lime); color: var(--on-lime); box-shadow: 0 1px 0 rgba(255,255,255,.35) inset, 0 2px 3px rgba(8,14,20,.3), 0 8px 18px -8px rgba(8,14,20,.55); }
.btn-buy:hover { background: var(--lime-bright); transform: translateY(-2px); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 4px 6px rgba(8,14,20,.3), 0 14px 26px -10px rgba(8,14,20,.6); }
.btn-buy:active { transform: translateY(0); }
.btn-small { padding: .65em 1.05em; font-size: .92rem; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; transform: translateY(-2px); }
.btn-dark { background: var(--slate-deep); color: #fff; }
.btn-dark:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 20px -8px rgba(0,0,0,.5); }
.btn[disabled], .btn[aria-busy="true"] { opacity: .65; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.fine { font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--mat-muted); margin-top: 1.1rem; line-height: 1.7; }

/* ---------- Abschnitte ---------- */
.section { padding-block: var(--section-y); position: relative; }
.section-head { display: grid; gap: 1rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); max-width: 52rem; }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { font-size: 1.125rem; color: var(--mat-text); max-width: 62ch; }
/* Arbeitsgang: Zeitpunkt links neben der Überschrift, wie ein Aufdruck auf der Matte */
.stage-head { display: grid; gap: 1rem 2.5rem; grid-template-columns: 1fr; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3.5rem); }


.stage-head h2 { font-size: var(--fs-h2); max-width: 20ch; }
.stage-head p { font-size: 1.125rem; max-width: 60ch; }
.deep { background: none; }
.deep::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: rgba(156,192,0,.3); }


/* ---------- Papier ---------- */
.paper { color-scheme: light; background: var(--paper); color: var(--ink); border-radius: 3px; box-shadow: var(--shadow-paper); position: relative; }
.paper h2, .paper h3 { color: var(--ink); }
.paper a:not(.btn) { color: var(--ink); text-decoration-color: var(--lime-on-paper); }
.paper ::selection { background: var(--lime); color: var(--on-lime); }
.sheet { padding: clamp(1.5rem, 1rem + 3vw, 4rem); }
.tape { position: absolute; width: 92px; height: 26px; background: rgba(236, 240, 220, .72); box-shadow: 0 1px 2px rgba(0,0,0,.12); top: -12px; left: 50%; transform: translateX(-50%) rotate(-2deg); backdrop-filter: blur(1px); }
.cut { border: 0; border-top: 2px dashed var(--lime); margin: 0; opacity: .9; }

/* ---------- Einstieg ---------- */
.hero { padding-top: var(--hero-top); padding-bottom: 0; position: relative; }
.hero-grid { display: grid; gap: var(--hero-gap); align-items: center; }
@media (min-width: 980px) { .hero-grid { grid-template-columns: var(--hero-text-width) 1fr; } }
.hero h1 { font-size: var(--fs-h1); margin-bottom: 1.4rem; letter-spacing: -.035em; hyphens: manual; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero .lead { font-size: clamp(1.08rem, 1rem + .3vw, 1.22rem); line-height: 1.6; color: var(--mat-text); max-width: 34em; margin-bottom: 2rem; }
.ticks { list-style: none; margin: 2.2rem 0 0; padding: 1.4rem 0 0; display: grid; gap: .8rem; border-top: 1px dashed rgba(255,255,255,.18); }
.ticks li { display: flex; gap: .75rem; align-items: flex-start; line-height: 1.5; }
.ticks .icon { color: var(--lime); margin-top: .1em; stroke-width: 2.4; }
.paper .ticks li, .ticks.on-paper li { color: var(--ink); }
.paper .ticks .icon { color: var(--lime-on-paper); }

/* Belege-Bühne im Einstieg: alle Maße relativ zur Breite */
.desk { container-type: inline-size; position: relative; width: 100%; aspect-ratio: 1 / .93; max-width: var(--desk-width, 640px); margin-inline: auto; }
.desk > * { position: absolute; }
.angle { position: absolute; pointer-events: none; color: rgba(255,255,255,.22); font-family: var(--f-mono); font-size: 10px; }

/* Belegbausteine (gemeinsam genutzt) */
.doc { background: var(--paper); color: var(--ink); box-shadow: var(--shadow-paper); border-radius: 2px; font-size: 2.05cqw; line-height: 1.45; padding: 4.2cqw 4.4cqw; }
.doc .mono { font-size: 1.8cqw; }
.doc-title { color: var(--ink); font-family: var(--f-display); font-weight: 800; font-size: 3.6cqw; line-height: 1; letter-spacing: -.02em; margin-bottom: 2.6cqw; }
.doc-meta { display: flex; justify-content: space-between; gap: 2cqw; color: var(--ink-muted); margin-bottom: 2.4cqw; }
.doc-rows { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.doc-rows td { padding: .9cqw 0; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
.doc-rows td:last-child { text-align: right; white-space: nowrap; padding-left: 2cqw; }
.doc-total { margin-top: 1.8cqw; display: flex; justify-content: space-between; font-weight: 800; background: var(--lime); color: var(--on-lime); padding: 1.1cqw 1.6cqw; margin-inline: -1.6cqw; border-radius: 2px; }
.doc-field { display: block; padding: .5cqw 1.2cqw; margin: 0 -1.2cqw .6cqw; border-radius: 2px; background: rgba(156,192,0,.0); transition: background-color .3s; }
.doc-field b { display: block; font-weight: 700; }
.doc-hl .doc-field { background: rgba(156,192,0,.2); }
.doc-to { margin: 0 0 2.4cqw; }
.doc-logo { width: 9cqw; height: 9cqw; border: 1px dashed #b7c0c9; display: grid; place-items: center; font-family: var(--f-mono); font-size: 1.45cqw; color: var(--ink-muted); text-align: center; line-height: 1.15; }
.receipt { background: #fff; }
.receipt .doc-title { font-size: 3.2cqw; }
.csv { background: #eef1f3; font-family: var(--f-mono); font-size: 1.75cqw; line-height: 1.6; padding: 3cqw 3.4cqw; white-space: pre; color: #2e3b48; overflow: hidden; }
.csv-tab { display: flex; align-items: center; gap: 1.2cqw; font-family: var(--f-body); font-weight: 700; font-size: 2cqw; color: var(--ink); margin-bottom: 1.6cqw; }
.csv-tab .icon { width: 3cqw; height: 3cqw; color: var(--lime-on-paper); }

.desk .receipt { left: 0; top: 4%; width: 46%; transform: rotate(-5deg); }
.desk .invoice { right: 0; top: 0; width: 55%; transform: rotate(1deg); }
.desk .csv { left: 9%; bottom: 0; width: 48%; transform: rotate(3deg); }
.desk .cutline { left: 7%; top: 75.5%; width: 93%; height: 4%; overflow: visible; }
.desk .scissors { left: 0; top: 73.4%; width: 6cqw; height: 6cqw; color: var(--lime); }

/* Programmfenster als aufgelegter Ausdruck */
.print { margin: 0; position: relative; }
.print .frame { background: #fff; padding: clamp(6px, .8vw, 12px); border-radius: 3px; box-shadow: var(--shadow-lift); }
.print img { width: 100%; height: auto; border-radius: 1px; }
.print figcaption { font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--mat-muted); margin-top: .9rem; display: flex; gap: .6rem; align-items: baseline; }
.print figcaption::before { content: ""; flex: none; width: 18px; border-top: 1px solid var(--lime); transform: translateY(-.25em); }
.hero-print { margin-top: clamp(3rem, 2rem + 4vw, 6rem); position: relative; z-index: 2; margin-bottom: calc(-1 * clamp(3rem, 2rem + 4vw, 6rem)); }
.hero-print .frame { transform: rotate(-.6deg); }
.after-hero { padding-top: calc(var(--section-y) + clamp(3rem, 2rem + 4vw, 6rem)); }

/* ---------- Nach jedem Verkauf: Ablauf ---------- */
.flow { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); }
@media (min-width: 980px) { .flow { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; } }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before { content: ""; position: absolute; left: 27px; top: 30px; bottom: 30px; border-left: 2px dashed rgba(156,192,0,.45); }
.step { position: relative; display: grid; grid-template-columns: 56px 1fr; gap: 1.25rem; padding-bottom: 2.4rem; }
.step:last-child { padding-bottom: 0; }
.step-num { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: #fff; background: var(--mat); box-shadow: inset 0 0 0 2px rgba(255,255,255,.3); position: relative; z-index: 1; transition: background-color .35s, color .35s, box-shadow .35s; }
.step h3 { font-size: var(--fs-h3); margin: .7rem 0 .55rem; transition: color .3s; }
.step p { color: var(--mat-text); }
.step .path { display: inline-flex; flex-wrap: wrap; gap: .35rem .5rem; align-items: center; font-family: var(--f-mono); font-size: .78rem; color: #fff; margin: .2rem 0 .8rem; }
.step .path span { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: 3px; padding: .2em .55em; }
.step .path .icon { width: 14px; height: 14px; color: var(--lime); }
.step.is-active .step-num, .flow:not(.is-live) .step-num { background: var(--lime); color: var(--on-lime); box-shadow: none; outline: 2px solid var(--lime); outline-offset: 4px; }

.bench { container-type: inline-size; position: relative; aspect-ratio: 1 / .88; width: 100%; }
.bench > * { position: absolute; }
.bench .receipt { left: 0; top: 6%; width: 44%; transform: rotate(-4deg); }
.bench .invoice { right: 0; top: 0; width: 52%; clip-path: inset(0 0 calc((1 - var(--b, 1)) * 100%) 0); }
.bench .csv { right: 6%; bottom: 0; width: 50%; transform: translateY(calc((1 - var(--c, 1)) * -45%)) rotate(calc(var(--c, 1) * 2.5deg)); opacity: clamp(0, calc((var(--b, 1) - .75) * 4), 1); z-index: -1; }
.bench .scan { left: -2%; width: 48%; top: calc(6% + var(--a, 1) * 58%); height: 0; border-top: 2px dashed var(--lime); transform: rotate(-4deg); opacity: calc(1 - var(--b, 1)); }
.bench .chip { left: calc(var(--x0) + (var(--x1) - var(--x0)) * var(--b, 1)); top: calc(var(--y0) + (var(--y1) - var(--y0)) * var(--b, 1)); padding: .8cqw 1.6cqw; background: var(--lime); color: var(--on-lime); font-family: var(--f-mono); font-size: 1.7cqw; border-radius: 3px; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); opacity: calc(clamp(0, calc((var(--a, 1) - .55) * 3), 1) * clamp(0, calc((1 - var(--b, 1)) * 6.5), 1)); white-space: nowrap; z-index: 2; }

.bench .doc-total { opacity: var(--b, 1); }
.flow.is-live .bench .receipt.doc-hl .doc-field { background: rgba(156,192,0, calc(var(--a, 1) * .22)); }
@media (min-width: 980px) and (prefers-reduced-motion: no-preference) {
  .flow-track { height: 230vh; }
  .flow-track.is-live .flow { position: sticky; top: 110px; }
}
.notes { list-style: none; margin: clamp(2.5rem, 2rem + 2vw, 4rem) 0 0; padding: 0; display: grid; column-gap: 2rem; border-top: 1px dashed rgba(255,255,255,.18); }
@media (min-width: 720px) { .notes { grid-template-columns: repeat(2, 1fr); } }
.notes li { padding: 1.1rem 0; border-bottom: 1px dashed rgba(255,255,255,.18); display: flex; gap: .8rem; align-items: flex-start; font-size: .98rem; }
.notes .icon { color: var(--lime); margin-top: .15em; }
.notes strong { color: #fff; }

/* ---------- Jeden Monat ---------- */
.month { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
@media (min-width: 980px) { .month { grid-template-columns: 1fr 1fr; } }
.month-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .75rem; }
.month-list li { display: flex; gap: .75rem; align-items: flex-start; }
.month-list .icon { color: var(--lime); margin-top: .12em; stroke-width: 2.4; }
.files { container-type: inline-size; position: relative; aspect-ratio: 1 / .8; }
.files > * { position: absolute; }
.file { width: 22cqw; aspect-ratio: .78; background: #eef1f3; border-radius: 2px; box-shadow: 0 1px 1px rgba(0,0,0,.2), 0 8px 14px -6px rgba(0,0,0,.45); font-family: var(--f-mono); font-size: 2.2cqw; color: #2e3b48; padding: 2cqw; clip-path: polygon(0 0, 78% 0, 100% 18%, 100% 100%, 0 100%); }
.file::after { content: ""; position: absolute; right: 0; top: 0; width: 22%; aspect-ratio: 1; background: #cfd6dc; clip-path: polygon(0 0, 100% 100%, 0 100%); }
.file i { display: block; height: 1.1cqw; margin-top: 1.4cqw; background: repeating-linear-gradient(90deg, #c3ccd4 0 3cqw, transparent 3cqw 4cqw); font-style: normal; }
.file i:nth-of-type(2) { width: 80%; } .file i:nth-of-type(3) { width: 90%; }
.files .report { right: 0; top: 10%; width: 50cqw; padding: 4cqw; font-size: 2.3cqw; }
.files .report .doc-title { font-size: 4.2cqw; }
.files .report table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.files .report td { padding: 1cqw 0; border-bottom: 1px solid var(--paper-line); }
.files .report td:last-child { text-align: right; font-family: var(--f-mono); font-size: 2cqw; color: var(--ink-muted); }
.files .export { right: 4cqw; top: 78%; display: flex; gap: 2cqw; }
.files .export span { font-family: var(--f-mono); font-size: 2.2cqw; background: var(--lime); color: var(--on-lime); padding: 1.2cqw 2cqw; border-radius: 3px; box-shadow: 0 6px 12px -6px rgba(0,0,0,.5); }
.files .arrow { left: 37cqw; top: 38%; width: 13cqw; color: var(--lime); }
.month-print { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
@media (min-width: 980px) { .month-print { width: 82%; margin-left: auto; } .month-print .frame { transform: rotate(.8deg); } }

/* ---------- SEO ---------- */
.seo { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; }
@media (min-width: 980px) { .seo { grid-template-columns: 1fr 1.1fr; } }
.seo-card { padding: clamp(1.25rem, 1rem + 1.5vw, 2.25rem); }
.seo-card .label { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-muted); display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .45rem; }
.seo-card .field { border: 1px solid var(--paper-line); background: #fff; border-radius: 3px; padding: .7rem .85rem; margin-bottom: 1.25rem; font-weight: 600; color: var(--ink); }
.seo-card .field.keyword { border: 2px solid var(--lime-on-paper); }
.tags { display: flex; flex-wrap: wrap; gap: .45rem; margin-bottom: 1.25rem; }
.tags span { font-family: var(--f-mono); font-size: .76rem; background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: 999px; padding: .25em .75em; color: var(--ink); }
.seo-card .example { font-family: var(--f-mono); font-size: .72rem; color: var(--ink-muted); border-top: 1px dashed var(--paper-line); padding-top: .8rem; margin: 0; }

/* ---------- Weitere Funktionen ---------- */
.more { display: grid; gap: clamp(2rem, 1rem + 3vw, 3.5rem); }
@media (min-width: 980px) { .more { grid-template-columns: 1.05fr 1fr; align-items: start; } }
.erechnung { padding: clamp(1.5rem, 1rem + 2vw, 3rem); }
.erechnung h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem); margin-bottom: 1rem; font-weight: 800; letter-spacing: -.02em; }
.erechnung .zugferd { display: flex; align-items: center; gap: 1rem; margin: 0 0 1.4rem; }
.pdf-xml { position: relative; width: 74px; height: 92px; flex: none; }
.pdf-xml .pdf { position: absolute; inset: 0 14px 0 0; background: #fff; border: 1px solid var(--paper-line); border-radius: 2px; box-shadow: 0 6px 12px -6px rgba(0,0,0,.3); font-family: var(--f-mono); font-size: 11px; padding: 8px; color: var(--ink); }
.pdf-xml .xml { position: absolute; right: 0; bottom: 6px; background: var(--lime); color: var(--on-lime); font-family: var(--f-mono); font-size: 10px; padding: 3px 6px; border-radius: 2px; box-shadow: 0 4px 8px -4px rgba(0,0,0,.4); }
.checks { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .5rem; counter-reset: c; }
.checks li { display: flex; gap: .7rem; align-items: flex-start; }
.checks .icon { color: var(--lime-on-paper); stroke-width: 2.4; margin-top: .1em; }
.erechnung p { color: var(--ink); }
.erechnung .muted { color: var(--ink-muted); font-size: .96rem; }
.feature-list { list-style: none; margin: 0; padding: 0; }
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px dashed rgba(255,255,255,.16); }
.feature-list li:first-child { padding-top: 0; }
.feature-list .ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(156,192,0,.12); color: var(--lime); }
.feature-list h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.feature-list p { color: var(--mat-text); font-size: .99rem; }
.more-print { margin-top: clamp(3rem, 2rem + 3vw, 5rem); }
@media (min-width: 980px) { .more-print { width: 78%; } .more-print .frame { transform: rotate(-.7deg); } }

/* ---------- Daten ---------- */
.local { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
@media (min-width: 900px) { .local { grid-template-columns: 1.2fr .8fr; } }
.local h2 { font-size: var(--fs-h2); margin-bottom: 1.4rem; max-width: 16ch; }
.local p { font-size: 1.1rem; max-width: 56ch; }
.note { padding: 1.6rem 1.6rem 1.5rem; max-width: 420px; justify-self: center; }
.note .icon { width: 30px; height: 30px; color: var(--lime-on-paper); margin-bottom: .8rem; }
.note p { color: var(--ink); font-size: 1rem; }
.pc { width: 100%; max-width: 240px; color: rgba(255,255,255,.75); margin-bottom: 1.5rem; }

/* ---------- Vergleich ---------- */
.compare { padding: clamp(1.25rem, 1rem + 2.5vw, 3.5rem); }
.compare h2 { font-size: var(--fs-h2); margin-bottom: 1.1rem; max-width: 18ch; }
.compare > p { color: var(--ink); max-width: 64ch; margin-bottom: 2rem; }
.vs { width: 100%; border-collapse: collapse; font-size: 1rem; }
.vs th, .vs td { text-align: left; padding: 1rem 1rem; border-bottom: 1px solid var(--paper-line); vertical-align: top; }
.vs thead th { font-family: var(--f-display); font-weight: 800; font-size: 1.1rem; color: var(--ink); border-bottom: 2px solid var(--ink); }
.vs tbody th { font-weight: 600; color: var(--ink-muted); width: 32%; }
.vs .ours { background: rgba(156,192,0,.12); font-weight: 600; color: var(--ink); }
.vs thead .ours { background: none; color: var(--ink); border-bottom: 3px solid var(--lime-on-paper); }
@media (max-width: 640px) {
  .vs thead { display: none; }
  .vs, .vs tbody, .vs tr, .vs th, .vs td { display: block; width: 100%; }
  .vs tr { padding: .9rem 0; border-bottom: 1px solid var(--paper-line); }
  .vs th, .vs td { border: 0; padding: .2rem 0; }
  .vs tbody th { width: auto; color: var(--ink); font-family: var(--f-display); font-weight: 800; margin-bottom: .3rem; }
  .vs td::before { content: attr(data-label) ": "; color: var(--ink-muted); font-weight: 500; }
  .vs .ours { background: none; padding-left: .7rem; border-left: 1px solid var(--lime-on-paper); margin-top: .2rem; }
}

/* ---------- Über mich ---------- */
.about { display: grid; gap: clamp(2rem, 1rem + 3vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .about { grid-template-columns: .9fr 1.1fr; } }
.photo { width: 100%; background: #fff; padding: 12px 12px 46px; box-shadow: var(--shadow-lift); transform: rotate(-2.2deg); position: relative; max-width: 480px; justify-self: center; margin: 0; }
.photo img { width: 100%; height: auto; }
.photo figcaption { position: absolute; left: 14px; right: 14px; bottom: 14px; font-family: var(--f-mono); font-size: .74rem; color: var(--ink-muted); }
.about h2 { font-size: var(--fs-h2); margin-bottom: 1.4rem; max-width: 14ch; }
.about blockquote { margin: 1.6rem 0; padding: 0 0 0 1.4rem; position: relative; font-family: var(--f-display); font-weight: 700; font-size: clamp(1.25rem, 1rem + .8vw, 1.6rem); line-height: 1.3; color: #fff; letter-spacing: -.01em; }
.about blockquote::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; border-left: 2px dashed var(--lime); }
.links { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; margin-top: 1.4rem; }
.links a { display: inline-flex; gap: .45rem; align-items: center; color: #fff; font-weight: 600; }
.links .icon { width: 16px; height: 16px; color: var(--lime); }

/* ---------- Preis ---------- */
.price-wrap { display: grid; gap: clamp(2.5rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 980px) { .price-wrap { grid-template-columns: .85fr 1.15fr; } }
.tag { position: relative; justify-self: center; width: min(100%, 380px); background: var(--lime); color: var(--on-lime); padding: 3.4rem 2.2rem 2.4rem; border-radius: 14px 14px 6px 6px; clip-path: polygon(50% 0, 100% 16%, 100% 100%, 0 100%, 0 16%); transform: rotate(-3deg); filter: drop-shadow(0 22px 30px rgba(8,14,20,.55)); text-align: center; }
.tag::before { content: ""; position: absolute; left: 50%; top: 9%; width: 22px; height: 22px; border-radius: 50%; background: var(--mat); transform: translateX(-50%); box-shadow: inset 0 2px 3px rgba(0,0,0,.4); }
.tag .name { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; margin-top: 1.2rem; }
.tag .amount { font-family: var(--f-display); font-weight: 800; font-size: clamp(5rem, 4rem + 4vw, 7.5rem); line-height: .9; letter-spacing: -.05em; margin: .6rem 0 .5rem; }
.tag .amount small { font-size: .42em; letter-spacing: -.02em; vertical-align: .9em; margin-left: .05em; }
.tag .mono { font-size: .82rem; color: #2a3a10; }
.tag hr { border: 0; border-top: 2px dashed rgba(21,32,10,.35); margin: 1.4rem -1rem; }
.included { padding: clamp(1.5rem, 1rem + 2vw, 3rem); }
.included h2 { font-size: var(--fs-h2); margin-bottom: 1.4rem; }
.included h3 { font-size: 1.05rem; margin: 1.6rem 0 .5rem; font-family: var(--f-body); font-weight: 800; letter-spacing: 0; }
.included p { color: var(--ink); }
.included .fine { color: var(--ink-muted); }

/* ---------- Fragen ---------- */
.faq { padding: clamp(1.25rem, 1rem + 2.5vw, 3.5rem); }
.faq h2 { font-size: var(--fs-h2); margin-bottom: 1.6rem; max-width: 22ch; }
.faq details { border-bottom: 1px solid var(--paper-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 0; font-weight: 700; font-size: 1.08rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--lime-on-paper); transition: transform .3s var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq summary:hover { color: var(--slate); }
.faq .answer { padding: 0 2.5rem 1.4rem 0; color: var(--ink); max-width: 72ch; }
@media (min-width: 980px) { .faq-cols { columns: 2; column-gap: 3.5rem; } .faq-cols details { break-inside: avoid; } }

/* ---------- Abschluss ---------- */
.closing { text-align: left; }
.closing-inner { position: relative; padding-top: 2.5rem; }
.closing h2 { font-size: clamp(2.2rem, 1.2rem + 4vw, 4.4rem); max-width: 16ch; margin-bottom: 1.3rem; letter-spacing: -.035em; }
.closing p { font-size: 1.15rem; max-width: 46ch; margin-bottom: 2rem; }
.closing p.fine { font-size: var(--fs-mono); margin-bottom: 0; }
.closing-grid { display: grid; gap: clamp(2.5rem, 1rem + 4vw, 4rem); align-items: center; }
@media (min-width: 980px) { .closing-grid { grid-template-columns: 1.1fr .9fr; } }
.buy-path { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: bp; position: relative; }
.buy-path::before { content: ""; position: absolute; left: 23px; top: 24px; bottom: 24px; border-left: 2px dashed rgba(156,192,0,.45); }
.buy-path li { position: relative; display: grid; grid-template-columns: 48px 1fr; gap: 1rem; align-items: center; padding: .7rem 0; }
.buy-path .ic { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--mat); border: 2px solid rgba(156,192,0,.55); color: var(--lime); z-index: 1; }
.buy-path b { display: block; color: #fff; font-weight: 700; }
.buy-path span { color: var(--mat-text); font-size: .96rem; }
.closing .scissors-line { display: flex; align-items: center; gap: .6rem; color: var(--lime); margin-bottom: 2.5rem; }
.closing .scissors-line hr { flex: 1; }

/* ---------- Fuß ---------- */
.site-foot { background: var(--mat-deep); border-top: 1px solid rgba(255,255,255,.08); padding: 3.5rem 0 2.5rem; font-size: .95rem; }
.foot-grid { display: grid; gap: 2rem; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-foot img { width: 160px; margin-bottom: 1rem; }
.site-foot h2 { font-family: var(--f-body); font-size: .95rem; font-weight: 700; letter-spacing: 0; margin-bottom: .8rem; }
.site-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-foot a { color: var(--mat-text); text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; text-decoration-color: var(--lime); }
.site-foot .legal { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px dashed rgba(255,255,255,.15); color: var(--mat-muted); font-size: .85rem; }

/* ---------- Unterseiten (Ratgeber, Formulare) ---------- */
.page-head { padding-top: clamp(2.5rem, 1.5rem + 3vw, 4.5rem); padding-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.page-head h1 { font-size: clamp(2.2rem, 1.3rem + 3.4vw, 4rem); max-width: 22ch; margin-bottom: 1.2rem; letter-spacing: -.03em; }
.page-head .lead { font-size: 1.15rem; max-width: 60ch; }
.crumbs { font-family: var(--f-mono); font-size: .78rem; color: var(--mat-muted); margin-bottom: 1.4rem; display: flex; gap: .5rem; flex-wrap: wrap; }
.crumbs a { color: var(--mat-text); }
.article { padding: clamp(1.4rem, 1rem + 3vw, 4.5rem); }
.article-2 { margin-bottom: var(--section-y); }
.article { display: grid; gap: 2.5rem; }
@media (min-width: 1080px) { .article { grid-template-columns: minmax(0, 1fr) 250px; gap: 4rem; } }
.article-main > * { max-width: 70ch; }
.article-main > .cta-box, .article-main > .more-guides { max-width: none; }
.toc { display: none; }
@media (min-width: 1080px) { .toc { display: block; position: sticky; top: 100px; align-self: start; border-left: 1px dashed var(--paper-line); padding-left: 1.5rem; } }
.toc-title { font-family: var(--f-mono); font-size: .75rem; color: var(--ink-muted); margin-bottom: .8rem; }
.article .toc ol { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: .55rem; counter-reset: t; }
.toc li { font-size: .9rem; line-height: 1.35; margin: 0; }
.toc a:not(.btn) { text-decoration: none; color: var(--ink-muted); }
.toc a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--lime-on-paper); }
.article h2 { font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem); margin: 2.8rem 0 1rem; letter-spacing: -.02em; }
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: 1.15rem; margin: 1.6rem 0 .5rem; }
.article p, .article li { color: var(--ink); }
.article ul, .article ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.article li { margin-bottom: .4em; }
.article li::marker { color: var(--lime-on-paper); }
.article code { font-family: var(--f-mono); font-size: .88em; background: var(--paper-2); border: 1px solid var(--paper-line); border-radius: 3px; padding: .15em .45em; }
.article .example-title { display: block; padding: .9rem 1rem; font-family: var(--f-mono); font-size: .88rem; background: #fff; border: 1px solid var(--paper-line); border-radius: 3px; margin: .4rem 0 1rem; overflow-wrap: anywhere; }
.short { border-block: 2px dashed var(--lime-on-paper); padding: 1.2rem 0; margin: 0 0 2rem; }
.short h2 { font-family: var(--f-body); font-size: 1rem !important; margin: 0 0 .7rem !important; letter-spacing: 0; font-weight: 800; }
.short ul { margin: 0; }
.cta-box { color: var(--mat-text); padding: 0; margin: clamp(3rem, 2rem + 3vw, 5rem) 0; max-width: 70ch; position: relative; }
.cta-box::before { content: ""; display: block; border-top: 2px dashed var(--lime); width: 120px; margin-bottom: 1.6rem; }
.cta-box h2 { font-size: var(--fs-h2); margin: 0 0 1.2rem; }
.cta-box p { font-size: 1.08rem; }
.cta-box p.fine { font-size: var(--fs-mono); color: var(--mat-muted); }
.cta-box ul, .cta-box ol { padding-left: 1.3rem; }
.cta-box li { margin-bottom: .4em; }
.cta-box h2 { color: #fff; }
.cta-box p, .cta-box li { color: var(--mat-text); }
.cta-box ol, .cta-box ul { max-width: 62ch; }
.cta-box .fine { color: var(--mat-muted); }
.cta-box li::marker { color: var(--lime); }
.sources { font-size: .85rem; color: var(--ink-muted) !important; border-top: 1px dashed var(--paper-line); padding-top: 1rem; margin-top: 2.5rem; }
.disclaimer { font-family: var(--f-mono); font-size: .78rem; color: var(--ink-muted) !important; }
.more-guides { list-style: none; display: grid; margin-top: 1rem; max-width: 70ch; border-top: 1px dashed var(--paper-line); }
.more-guides a { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1rem 0; border-bottom: 1px dashed var(--paper-line); text-decoration: none; }
.more-guides a:hover strong { text-decoration: underline; text-decoration-color: var(--lime-on-paper); }
.more-guides strong { display: block; font-family: var(--f-display); font-size: 1.1rem; color: var(--ink); }
.more-guides span { font-size: .92rem; color: var(--ink-muted); grid-column: 1; }

/* Formulare */
.form-layout { display: grid; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: start; padding-bottom: var(--section-y); }
@media (min-width: 980px) { .form-layout { grid-template-columns: 1.35fr .65fr; } }
.form-sheet { padding: clamp(1.25rem, 1rem + 2.5vw, 3rem); }
.form-grid { display: grid; gap: 1.1rem 1.25rem; grid-template-columns: repeat(6, 1fr); }
.form-grid .field { grid-column: span 6; }
@media (min-width: 640px) {
  .form-grid .half { grid-column: span 3; }
  .form-grid .two-third { grid-column: span 4; }
  .form-grid .third { grid-column: span 2; }
}
.field label, .field .label { display: block; font-weight: 700; color: var(--ink); margin-bottom: .4rem; font-size: .96rem; }
.field .opt { font-weight: 500; color: var(--ink-muted); font-size: .88rem; }
.field input[type="text"], .field input[type="email"], .field input:not([type]), .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #c3ccd5; border-radius: 4px; padding: .75rem .85rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6b7783; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #8d9aa7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--lime-on-paper); outline-offset: 1px; border-color: var(--lime-on-paper); }
.field input[readonly] { background: var(--paper-2); color: var(--ink-muted); }
.field .hint { font-size: .86rem; color: var(--ink-muted); margin: .35rem 0 0; }
.field-error { display: none; color: #a3261b; font-size: .88rem; font-weight: 600; margin: .4rem 0 0; }
.field.has-error .field-error { display: block; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b4362a; }
.check { grid-column: span 6; }
.check label { display: flex; gap: .75rem; align-items: flex-start; font-weight: 500; cursor: pointer; color: var(--ink); line-height: 1.5; }
.check input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--lime-on-paper); flex: none; }
.form-actions { grid-column: span 6; margin-top: .6rem; }
.form-actions .hint { font-size: .9rem; color: var(--ink-muted); margin-top: .7rem; }
.form-status { margin-top: 1rem; font-weight: 600; color: #a3261b; }
.form-status.is-info { color: var(--ink); background: var(--paper-2); border: 1px dashed #b7c0c9; padding: .8rem 1rem; border-radius: 3px; font-weight: 500; }
.hp { position: absolute; left: -9999px; }
#form-wrap.is-sent form { display: none; }
.success { text-align: left; }
.success h2 { font-size: 1.8rem; margin-bottom: .8rem; }
.side-note { padding: 1.5rem 1.6rem; }
.side-note p { color: var(--ink); }
.side-note .icon { color: var(--lime-on-paper); width: 28px; height: 28px; margin-bottom: .7rem; }
.side-sum { margin-top: 1.5rem; }
.side-sum .row { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--paper-line); font-variant-numeric: tabular-nums; color: var(--ink); }
.side-sum .row.total { font-weight: 800; border-bottom: 0; background: var(--lime); color: var(--on-lime); padding: .6rem .8rem; margin: .6rem -.8rem 0; border-radius: 2px; }

/* Einfache Seiten (404, Danke, Rechtliches) */
.simple { min-height: 52vh; display: grid; align-content: center; padding-block: var(--section-y); }
.simple h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); margin-bottom: 1.2rem; max-width: 18ch; }
.simple p { font-size: 1.15rem; max-width: 50ch; margin-bottom: 2rem; }
.big-code { font-family: var(--f-display); font-weight: 800; font-size: clamp(6rem, 4rem + 10vw, 13rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(156,192,0,.55); letter-spacing: -.05em; margin-bottom: 1.5rem; }
.legal-sheet { padding: clamp(1.4rem, 1rem + 3vw, 4rem); margin-bottom: var(--section-y); }
.legal-sheet > * { max-width: 70ch; }
.legal-sheet p, .legal-sheet li { color: var(--ink); }
.legal-sheet h2 { font-size: clamp(1.2rem, 1rem + .7vw, 1.5rem); margin: 2.2rem 0 .7rem; letter-spacing: -.01em; }
.legal-sheet ul { padding-left: 1.3rem; margin: 0 0 1em; }
.legal-sheet li { margin-bottom: .35em; }
.legal-sheet li::marker { color: var(--lime-on-paper); }
.legal-sheet .short h2 { font-family: var(--f-body); font-size: 1rem; margin: 0 0 .7rem; font-weight: 800; letter-spacing: 0; }
.placeholder-note { border: 1px dashed #b7c0c9; background: var(--paper-2); padding: 1rem 1.2rem; border-radius: 3px; font-family: var(--f-mono); font-size: .82rem; color: var(--ink-muted) !important; }

/* Druck */
@media print {
  body { background: #fff; color: #000; }
  .ruler, .site-head, .site-foot, .desk, .bench, .btn { display: none !important; }
  .paper { box-shadow: none; }
}

/* PayPal-Buttons auf der Kaufseite */
.paypal-box { max-width: 420px; min-height: 52px; position: relative; z-index: 1; }
.paypal-box:empty { background: var(--paper-2); border-radius: 4px; }

/* Arbeitsgänge: die drei Zeitpunkte als Leiste auf der Matte */
.gaenge { display: grid; gap: 0; margin-bottom: clamp(3rem, 2rem + 3vw, 5rem); border-block: 2px dashed rgba(156,192,0,.45); }
@media (min-width: 900px) { .gaenge { grid-template-columns: repeat(3, 1fr); } }
.gaenge a { display: grid; gap: .3rem; padding: 1.2rem 1.4rem 1.2rem 0; text-decoration: none; color: #fff; transition: background-color .2s; }
.gaenge a + a { border-top: 1px dashed rgba(255,255,255,.16); }
@media (min-width: 900px) { .gaenge a + a { border-top: 0; border-left: 1px dashed rgba(255,255,255,.16); padding-left: 1.4rem; } }
.gaenge .mono { color: var(--lime); font-size: .8rem; }
.gaenge b { font-family: var(--f-display); font-size: 1.15rem; line-height: 1.3; }
.gaenge a:hover b { text-decoration: underline; text-decoration-color: var(--lime); text-underline-offset: .2em; }

/* Handy: Belege untereinander statt verkleinert nebeneinander */
@media (max-width: 979px) {
  .desk, .bench { aspect-ratio: auto; container-type: normal; display: grid; gap: 14px; max-width: 520px; margin-inline: auto; }
  .desk > *, .bench > * { position: relative; inset: auto; }
  .desk .cutline, .desk .scissors, .bench .scan, .bench .chip { display: none; }
  .desk .receipt, .bench .receipt { width: 86%; justify-self: start; transform: rotate(-2.5deg); }
  .desk .invoice, .bench .invoice { width: 92%; justify-self: end; transform: none; margin-top: -6px; clip-path: none; }
  .desk .csv, .bench .csv { width: 80%; justify-self: center; transform: rotate(2deg); opacity: 1; z-index: 0; margin-top: -10px; }
  .doc { font-size: 13px; padding: 18px 18px; }
  .doc .mono { font-size: 11px; }
  .doc-title { font-size: 22px; margin-bottom: 10px; }
  .receipt .doc-title { font-size: 20px; }
  .doc-meta { gap: 10px; margin-bottom: 10px; }
  .doc-rows td { padding: 4px 0; }
  .doc-rows td:last-child { padding-left: 10px; }
  .doc-total { margin-top: 8px; padding: 6px 8px; margin-inline: -8px; }
  .doc-field { padding: 2px 6px; margin: 0 -6px 4px; }
  .doc-logo { width: 46px; height: 46px; font-size: 9px; }
  .csv { font-size: 11.5px; padding: 14px 16px; }
  .csv-tab { font-size: 13px; gap: 6px; margin-bottom: 6px; }
  .csv-tab .icon { width: 16px; height: 16px; }
  .doc-to { margin-bottom: 10px !important; }
  .form-layout aside { order: -1; }
}

/* Winkellinien nur auf freier Matte (hinter Preisschild und Papier) */
@media (max-width: 979px) { .angle { display: none; } }
.price-wrap > * { position: relative; z-index: 1; }
.more-guides .icon { grid-column: 2; grid-row: 1 / span 2; align-self: center; color: var(--lime-on-paper); }

/* Hinweis zur Download-Warnung (Danke-Seite) */
.download-hinweis { padding: 1.4rem 1.6rem; margin: 0 0 2rem; max-width: 60ch; border-top: 4px solid var(--lime-on-paper); }
.download-hinweis h2 { font-family: var(--f-body); font-size: 1.1rem; font-weight: 800; letter-spacing: 0; margin: 0 0 .5rem; color: var(--ink); }
.download-hinweis p { font-size: 1rem; margin: 0; max-width: none; }

/* ---------- Etsy-Gebührenrechner ---------- */
.rechner { display: grid; gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); padding: clamp(1.25rem, 1rem + 2.5vw, 3rem); margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
@media (min-width: 980px) { .rechner { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: start; } }
.rechner fieldset { border: 0; padding: 0; margin: 0 0 1.8rem; min-width: 0; }
.rechner fieldset:last-of-type { margin-bottom: 1rem; }
.rechner legend { font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; color: var(--ink); letter-spacing: -.01em; padding: 0; margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.rechner legend .mono { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--lime); color: var(--on-lime); font-size: .8rem; font-weight: 600; }
.rechner .form-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 639px) { .rechner .form-grid .half { grid-column: span 3; } .rechner .form-grid .voll-mobil { grid-column: span 6; } .beleg { padding-inline: 1.1rem; } .beleg-kennzahlen dd { white-space: nowrap; } }
.unit-input { position: relative; }
.unit-input input { padding-right: 3.6rem !important; text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.unit-input span { position: absolute; right: .85rem; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: .8rem; color: var(--ink-muted); pointer-events: none; }
.rechner .check { padding: .2rem 0 .3rem; }
.rechner-netto { font-size: .88rem; color: var(--ink-muted); border-left: 2px solid var(--lime-on-paper); padding-left: .8rem; margin: 0; }
.rechner-beleg { position: relative; }
@media (min-width: 980px) { .rechner-beleg { position: sticky; top: 96px; } }
.beleg { background: #fff; color: var(--ink); padding: 1.6rem 1.5rem 1.2rem; border: 1px solid var(--paper-line); border-radius: 2px; box-shadow: 0 1px 1px rgba(8,14,20,.08), 0 10px 24px -12px rgba(8,14,20,.3); position: relative; }
.beleg::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 8px; background: radial-gradient(circle at 6px -2px, var(--paper) 5px, transparent 5.5px) 0 0 / 12px 8px repeat-x; }
.beleg-titel { font-family: var(--f-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -.02em; display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin: 0 0 1rem; color: var(--ink); }
.beleg-titel .mono { color: var(--ink-muted); font-weight: 400; }
.beleg-zeilen { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; font-size: .95rem; }
.beleg-zeilen th { text-align: left; font-weight: 500; color: var(--ink); padding: .5rem 0; border-bottom: 1px dashed var(--paper-line); }
.beleg-zeilen td { text-align: right; white-space: nowrap; padding: .5rem 0 .5rem 1rem; border-bottom: 1px dashed var(--paper-line); color: var(--ink); }
.beleg-zeilen .vz { color: var(--ink-muted); margin-right: .2rem; }
.beleg-zeilen tr.start th, .beleg-zeilen tr.start td { font-weight: 700; }
.beleg-zeilen tr.zwischen th, .beleg-zeilen tr.zwischen td { font-weight: 700; border-top: 1.5px solid var(--ink); border-bottom-style: solid; }
.beleg-gewinn { display: flex; justify-content: space-between; gap: 1rem; font-weight: 800; font-size: 1.15rem; background: var(--lime); color: var(--on-lime); padding: .7rem .9rem; margin: .9rem -.4rem 0; border-radius: 2px; font-variant-numeric: tabular-nums; }
.beleg-gewinn.is-minus { background: #f6dcd8; color: #8c1f14; }
.beleg-kennzahlen { margin: 1.1rem 0 0; display: grid; gap: .45rem; }
.beleg-kennzahlen div { display: flex; justify-content: space-between; gap: 1rem; font-size: .93rem; }
.beleg-kennzahlen dt { color: var(--ink-muted); }
.beleg-kennzahlen dd { margin: 0; font-weight: 700; color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.beleg-kennzahlen dd .mono { font-weight: 400; color: var(--ink-muted); }
.beleg-fuss { margin: 1.2rem 0 0; padding-top: .8rem; border-top: 1px dashed var(--paper-line); color: var(--ink-muted); font-size: .72rem; }
.rechner-knoepfe { margin-top: 1rem; }
.btn-plain { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #c3ccd5; }
.btn-plain:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.rechner-text { margin-bottom: 0; }
.rechner-text .article-main > *, .rechner + .rechner-text .article-main > * { max-width: 70ch; }
@media (min-width: 1080px) { .rechner-text, .rechner ~ .article-2 { grid-template-columns: minmax(0, 1fr); } }
@media print {
  .rechner { grid-template-columns: 1fr 1fr !important; padding: 0; }
  .rechner-beleg { position: static; }
  .rechner-text, .cta-box, .article-2, .page-head .crumbs, .skip { display: none !important; }
  .beleg-gewinn { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
