*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:1rem/1.55 system-ui,sans-serif}.wrap{width:min(1120px,calc(100% - 38px));margin:auto}footer,.hero{background:var(--ink);color:white}nav{display:flex;gap:18px;flex-wrap:wrap;justify-content:space-between;padding:18px 0}nav a{font-weight:700}.head{align-items:center;gap:12px}.head .cta{font-size:.9rem;padding:.65rem .8rem}a{color:inherit;text-underline-offset:4px}small{font-size:.88rem}h1,h2,h3,p{margin:0 0 .7em}h1,h2,h3{line-height:1.08;letter-spacing:-.035em}h1{font-size:clamp(2.9rem,7vw,6.5rem)}h2{font-size:clamp(2rem,4vw,3.5rem)}h3{font-size:1.37rem}.hero{background:radial-gradient(ellipse at 85% 100%,var(--mid-blue),var(--ink) 65%);padding:60px 0 70px}.hero p{max-width:52ch}.hero em{font-style:normal;color:var(--accent)}.eyebrow{font-size:.88rem;text-transform:uppercase;letter-spacing:.09em;font-weight:800}.hero .eyebrow{color:var(--accent)}.cta{display:inline-block;background:var(--accent);color:var(--ink);font-weight:750;padding:12px 16px;border-radius:6px;text-decoration:none}.secondary{display:inline-block;margin:14px 0 0 12px}.section{padding:64px 0}.two{display:grid;grid-template-columns:1.2fr 1fr;align-items:start;gap:24px;margin-top:24px}.blocks{display:flex;gap:8px;flex-wrap:wrap}:focus-visible{outline:3px solid var(--accent-strong);outline-offset:3px}.insight,.calc-result,form{padding:24px;background:#fff;border:1px solid var(--line);border-radius:10px}.insight{border-top:4px solid var(--accent-strong)}.insight p,.note{color:var(--muted)}.callout{background:var(--wash)}.callout .two{gap:30px}.callout article{border-top:1px solid var(--accent-strong);padding-top:18px}.calc-grid{grid-template-columns:1fr 1fr}.calc-result{background:var(--ink);color:white}.amount{font-size:clamp(2rem,5vw,3.5rem);color:var(--accent)}label{display:block;font-weight:700;margin:14px 0 5px}label:first-child{margin-top:0}input,select{width:100%;padding:10px;border:1px solid #728194;border-radius:5px;font:inherit;background:white;color:var(--ink)}input[type=checkbox]{width:auto;margin:4px 0 0;accent-color:var(--mid-blue)}.check{display:flex;gap:10px}.check[hidden]{display:none}dl div{display:flex;gap:12px;justify-content:space-between;border-top:1px solid #ffffff42;padding:8px 0}dd{margin:0;text-align:right;font-weight:700}.note{margin-top:18px}.bav{background:var(--wash)}.bav .two{margin-top:0}#employer-result{font-weight:750;margin:15px 0 0}
@media(max-width:760px){.two{grid-template-columns:1fr}.section{padding:46px 0}.secondary{display:block;margin-left:0}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
#schichten { padding-bottom: 16px; }






@media (max-width: 600px) {


}
.layer-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.layer-tabs button { display: grid; gap: 4px; min-width: 0; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--ink); text-align: left; font: inherit; cursor: pointer; }
.layer-tabs button span { font-weight: 800; overflow-wrap: break-word; }
.layer-tabs button[aria-selected=true] { background: var(--lilac); border-color: var(--ink); box-shadow: inset 0 -3px var(--ink); }
.layer-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.layer-panel details { margin-top: 16px; }
@media (max-width: 600px) {
  .layer-tabs button { padding: 8px; font-size: .85rem; }
  .layer-overview { grid-template-columns: 1fr; }
}

.product-graphic {
  margin: 16px 0;
  padding: clamp(12px, 3vw, 24px);
  border-radius: 8px;
  background: var(--wash);
  color: var(--ink);
}
.graphic-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch;
  gap: clamp(6px, 2vw, 16px);
}
.graphic-flow b {
  display: grid;
  place-items: center;
  padding: 12px 6px;
  border-radius: 6px;
  background: white;
  text-align: center;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.graphic-flow b:last-child { background: var(--lilac); }
.graphic-flow span { align-self: center; font-size: 1.5rem; font-weight: 800; }
.product-graphic.bav .graphic-flow b:last-child,
.product-graphic.private .graphic-flow b:last-child { background: var(--accent); }
.product-graphic.basis .graphic-flow { max-width: 560px; }
.product-graphic figcaption { margin-top: 12px; font-size: .9rem; }
.product-graphic.metals .graphic-flow { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.metal-bars { display: flex; align-items: center; justify-content: center; gap: 4px; }
.metal-bars i {
  width: clamp(20px, 18%, 42px);
  height: 34px;
  border-radius: 4px;
  border: 2px solid var(--ink);
  background: var(--lilac);
  transform: skew(-12deg);
}
.metal-bars i:nth-child(2) { background: var(--accent); transform: translateY(-5px) skew(-12deg); }

.funding-highlight {
  margin: 16px 0;
  padding: 16px;
  border-inline-start: 4px solid var(--accent);
  border-radius: 0 8px 8px 0;
  background: var(--wash);
}
.funding-highlight strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.1;
}
.funding-highlight p:last-child { margin-bottom: 0; }
.funding-next { align-items: stretch; }

.payroll-graphic { margin: 18px 0 0; }
.payroll-graphic figcaption { font-size: 1.15rem; font-weight: 800; }
.payroll-bar { display: flex; height: 24px; margin: 12px 0; overflow: hidden; border-radius: 6px; background: var(--paper); }
.payroll-net { background: var(--ink); }
.payroll-relief { background: var(--lilac); }
.payroll-subsidy { background: var(--accent); }
.payroll-legend { margin: 0; }
.payroll-legend div { gap: 8px; border-top: 1px solid var(--line); }
.payroll-legend dd { white-space: nowrap; }
.payroll-legend i { display: inline-block; width: .8em; height: .8em; margin-right: .4em; border-radius: 2px; }

#foerdercheck > h2 { font-size: clamp(2.45rem, 6vw, 4.6rem); }
.funding-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}
.funding-card {
  padding: clamp(20px, 4vw, 36px);
  border-radius: 14px;
  border: 1px solid var(--line);
  background: white;
}
.funding-combined { grid-column: 1 / -1; background: var(--wash); }
.funding-private { background: var(--lilac); }
.funding-metals { background: var(--ink); color: white; }
.funding-number {
  font-size: clamp(2.2rem, 5.2vw, 4rem);
  font-weight: 850;
  line-height: 1.04;
  margin: 12px 0 8px;
  letter-spacing: -.04em;
}
.funding-metals .funding-number { color: var(--accent); }
.funding-metals :focus-visible { outline-color: var(--accent); }
.funding-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.funding-combined details { margin-top: 12px; }
@media (max-width: 640px) { .funding-next { grid-template-columns: 1fr; } }

.pig-comparison { padding-top: 16px; }
.pig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pig-card { display: grid; grid-template-rows: subgrid; grid-row: span 4; padding: clamp(14px, 2.4vw, 24px); background: var(--wash); border: 1px solid var(--line); border-radius: 12px; }
.pig-card.plain-pig { background: white; }
.pig-card.depot-pig { background: var(--lilac); }
.pig-card h3, .pig-card p { margin: 0; }
.pig-card ul { padding-inline-start: 1.1rem; margin: 0; }
.pig-art { width: 100%; aspect-ratio: 1; background: url("freigestellte-sparschweine.png") left center / 200% auto no-repeat; align-self: end; }
.bav-pig .pig-art { background-position: right center; transform: scaleX(-1); }
.depot-pig .pig-art { background-position: right center; }
.pig-total { font-weight: 800; }
@media (max-width: 680px) {
  .pig-grid { grid-template-columns: 1fr; }
  .pig-card { grid-row: auto; grid-template-rows: auto; gap: 10px; }
  .pig-art { max-width: 300px; justify-self: center; }
}

.metal-illustration { display: block; width: 100%; height: auto; align-self: center; }

.product-graphic.private .graphic-flow,
.product-graphic.metals .graphic-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; }
.product-graphic.private .metal-illustration,
.product-graphic.metals .metal-illustration { height: clamp(90px, 14vw, 180px); object-fit: contain; }
.refund-card { margin-top: 16px; }
.refund-illustration { max-width: 510px; max-height: 280px; object-fit: contain; margin: auto; }
