:root {
  color-scheme: light;
  --page: #f7f7f5;
  --paper: #fff;
  --ink: #1c1a26;
  --muted: #656371;
  --line: #e9e7ec;
  --shade: #f6f5f8;
  --dark: #1b1929;
  --green: #bdf2d2;
  --mint: #e6f7ed;
  --peach: #faece4;
  --blue: #eaf0fa;
  --lilac: #eeebf8;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--page);
  font-synthesis: none;
  line-height: 1.5;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
button, summary, select, input[type="range"], input[type="checkbox"] { cursor: pointer; }
button { border: 0; }
h1, h2, h3, p, dl { margin: 0; }
h1, h2, h3, .brand { letter-spacing: -.046em; line-height: 1.14; }
h2 { font-size: clamp(1.38rem, 2.3vw, 1.85rem); font-weight: 730; }
h3 { font-size: 1.16rem; }
p { color: var(--muted); }
:focus-visible { outline: 3px solid #795fba; outline-offset: 3px; }
.container { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.skip { position: fixed; z-index: 5; top: 8px; left: 8px; transform: translateY(-150%); background: #fff; padding: 10px 15px; }
.skip:focus { transform: none; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 1.43rem; }
.logo { display: inline-flex; align-items: flex-end; gap: 3px; justify-content: center; padding-bottom: 9px; width: 34px; height: 34px; border-radius: 10px; background: var(--dark); }
.logo i { width: 4px; height: 7px; background: var(--green); border-radius: 2px; }
.logo i:nth-child(2) { height: 11px; }.logo i:nth-child(3) { height: 15px; }
.brand-dot { color: #598369; }
.nav-wrap nav { display: flex; gap: 33px; align-items: center; }
.nav-wrap nav a, .nav-year, .outline-link { text-decoration: none; font-size: .9rem; font-weight: 650; }
.nav-wrap nav a { color: var(--muted); padding-block: 10px; }
.nav-wrap nav a:hover, .nav-wrap nav a[aria-current] { color: var(--ink); }
.nav-year { display: inline-flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 24px; padding: 8px 14px; white-space: nowrap; }
.nav-year:hover, .outline-link:hover { background: var(--shade); }
.icon { display: inline-flex; align-items: center; justify-content: center; }
.icon-chevron { font-size: 1.25em; line-height: 1; }
.intro { padding: 33px 0 27px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 285px; align-items: center; gap: 34px; padding: 42px 0 30px; }
.eyebrow { display: flex; align-items: center; gap: 8px; font-size: .72rem; font-weight: 750; letter-spacing: .135em; color: #4b5950; }
.eyebrow>span { width: 8px; height: 8px; border-radius: 50%; background: #81c79a; }
.intro h1 { margin: 7px 0 10px; font-size: clamp(2.5rem, 5.6vw, 4.5rem); font-weight: 760; line-height: 1.03; letter-spacing: -.064em; }
.intro p { font-size: 1rem; max-width: 61ch; }
.year-promo { overflow: hidden; min-height: 108px; position: relative; display: flex; align-items: center; padding: 15px 20px; background: var(--lilac); border-radius: 19px; border: 1px solid #e7dff5; text-decoration: none; }
.year-promo:hover { background: #e9e2f7; }
.year-promo::before { content: ""; position: absolute; pointer-events: none; width: 128px; height: 128px; right: -37px; bottom: -53px; border-radius: 50%; border: 1px solid #cfc0e8; box-shadow: 0 0 0 11px #e7dff3, 0 0 0 12px #d5c6ed, 0 0 0 23px #eee7f7, 0 0 0 24px #d9ccef; }
.promo-copy { position: relative; display: grid; gap: 2px; }
.promo-copy small { font-size: .65rem; letter-spacing: .13em; font-weight: 760; color: #615779; }
.promo-copy strong { font-size: 1.05rem; }
.promo-copy>span { color: #534768; font-size: .78rem; font-weight: 650; }
.crumb { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; font-size: .84rem; color: var(--muted); }
.crumb a { text-decoration: none; }.crumb a:hover { text-decoration: underline; }
.calculator { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .98fr); gap: 22px; align-items: stretch; }
.form-card, .deductions, .comparison-cards, .live-details, .tool-result { background: var(--paper); border: 1px solid var(--line); border-radius: 22px; }
.form-card { padding: 23px 25px; }
.form-heading { display: flex; gap: 12px; align-items: center; margin-bottom: 23px; }
.form-heading h2, .tool-form h2 { font-size: 1.35rem; }
.form-heading p { font-size: .86rem; margin-top: 3px; }
.tile-icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 12px; font-size: 1.25rem; font-weight: 650; }
.soft { background: var(--shade); }
.field { display: block; font-weight: 680; font-size: .88rem; min-width: 0; }
.field-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.segmented { display: flex; border-radius: 10px; padding: 3px; background: var(--shade); }
.segmented button { background: transparent; padding: 5px 11px; border-radius: 8px; font-size: .79rem; min-width: 48px; color: var(--muted); font-weight: 650; }
.segmented button[aria-pressed="true"] { background: white; color: var(--ink); box-shadow: 0 1px 4px #231c3a19; }
.amount-input { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px; background: #f9f8fb; border: 1px solid #e5e2e9; border-radius: 11px; }
.amount-input:focus-within { border-color: #846fb1; }
.amount-input input { border: 0; background: transparent; font-size: 1.75rem; letter-spacing: -.04em; font-weight: 750; padding: 4px 0; min-width: 0; width: 100%; outline: none; }
.amount-input span { font-size: .8rem; color: var(--muted); }
.input-error { color: #963521; font-size: .84rem; margin-top: 6px; }
input[type="range"] { appearance: none; display: block; width: 100%; height: 5px; margin: 15px 0 6px; background: linear-gradient(to right, #232031 var(--range, 18%), #efedf1 var(--range, 18%)); border-radius: 6px; }
input[type="range"]::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; border: 3px solid #fff; border-radius: 50%; background: #232031; box-shadow: 0 0 0 1px #232031; }
input[type="range"]::-moz-range-thumb { width: 11px; height: 11px; border: 3px solid #fff; border-radius: 50%; background: #232031; box-shadow: 0 0 0 1px #232031; }
.limits { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 14px; }
.field input:not([type="range"], #gross), .field select { display: block; width: 100%; margin-top: 6px; height: 42px; border: 1px solid #e5e2e9; border-radius: 9px; background-color: #f9f8fb; padding: 7px 11px; font-weight: 570; font-size: .9rem; }
.field select { appearance: none; padding-right: 25px; text-overflow: ellipsis; background-image: linear-gradient(45deg, transparent 50%, #625b6f 50%), linear-gradient(135deg, #625b6f 50%, transparent 50%); background-size: 4px 4px; background-position: right 14px center, right 10px center; background-repeat: no-repeat; }
.tax-field { margin-top: 15px; }
#class-help { font-size: .8rem; font-weight: 550; color: var(--muted); }
.tax-classes { display: grid; grid-template-columns: repeat(6, 1fr); gap: 7px; }
.tax-classes button { border: 1px solid var(--line); background: #f9f8fb; height: 37px; border-radius: 9px; font-weight: 700; }
.tax-classes button:hover { border-color: #a09aaf; }
.tax-classes button[aria-pressed="true"] { color: #fff; background: var(--dark); border-color: var(--dark); }
.options { margin-top: 17px; border-top: 1px solid var(--line); }
summary { list-style: none; position: relative; padding-right: 19px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; position: absolute; right: 4px; top: 47%; transform: rotate(45deg); }
details[open]>summary::after { transform: rotate(225deg); top: 52%; }
.options summary { padding-block: 12px; font-size: .87rem; }
.icon-settings { margin-right: 7px; font-size: 1rem; }
.options-body { padding: 2px 0 12px; }
.toggle-label { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: .88rem; }
.toggle-label input { accent-color: var(--dark); width: 18px; height: 18px; margin: 0; }
.private-fields>.field { margin-top: 14px; }
.private-note { font-size: .78rem; color: var(--muted); }
.icon-privacy { margin-right: 3px; color: #4b735a; font-weight: 800; }
.results { min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.result-hero { background: radial-gradient(ellipse at 100% 10%, #373049 0%, transparent 58%), var(--dark); border-radius: 22px; color: white; padding: 18px 22px 18px; overflow: hidden; }
.result-top, .result-main { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.result-caption { font-weight: 710; font-size: 1rem; color: #efedf5; }
.share { background: #ffffff10; color: #fff; border: 1px solid #ffffff30; border-radius: 24px; padding: 5px 10px; font-size: .76rem; font-weight: 650; white-space: nowrap; }
.share:hover { background: #ffffff22; }
.result-main { margin-top: 5px; }
.net-readout { min-width: 0; }
.net-readout>span { display: block; color: #c9c5d8; font-size: .82rem; margin-top: 2px; }
.net-readout>span.estimate { color: var(--green); font-size: .74rem; }
.net-amount { display: block; font-weight: 780; font-size: clamp(2rem, 4.5vw, 3.6rem); line-height: 1.08; letter-spacing: -.072em; overflow-wrap: anywhere; }
.mobile-net { display: none; }
.donut { flex: 0 0 auto; width: 103px; height: 103px; display: grid; place-items: center; border-radius: 50%; background: conic-gradient(var(--green) 0 var(--net), #efbfa9 var(--net) var(--tax), #aebde7 var(--tax) 100%); }
.donut>div { display: grid; place-content: center; text-align: center; gap: 0; width: 84px; height: 84px; border-radius: 50%; background: #2a2539; }
.donut strong { font-size: 1.25rem; letter-spacing: -.05em; line-height: 1.2; }
.donut span { font-size: .62rem; color: #ded8e9; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.metric { min-width: 0; border-radius: 14px; display: grid; gap: 2px; padding: 11px 12px; }
.mint { background: var(--mint); }.peach { background: var(--peach); }.blue { background: var(--blue); }
.metric>span { font-size: .77rem; color: #48464f; display: flex; gap: 6px; align-items: center; white-space: nowrap; }
.metric i { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #50956b; }
.metric.peach i { background: #b67151; }.metric.blue i { background: #6e83b1; }
.metric strong { font-size: clamp(.9rem, 1.6vw, 1.22rem); letter-spacing: -.045em; overflow-wrap: anywhere; }
.deductions { padding: 10px 16px; flex: 1; }
.deductions summary { font-size: .94rem; padding: 3px 20px 5px 0; }
.deductions dl>div { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; color: var(--muted); font-size: .8rem; line-height: 1.35; }
.deductions dd { margin: 0; color: var(--ink); font-weight: 650; white-space: nowrap; }
.deductions .detail-total { color: var(--ink); border-top: 1px solid var(--line); margin-top: 4px; padding-top: 6px; font-weight: 730; }
.result-note, .comparison-note { font-size: .8rem; color: var(--muted); }
.section { margin-block: 40px; min-width: 0; }
.section h2+h3, .section .table-wrap+h3 { margin-top: 22px; }
.section p { margin: 8px 0 14px; max-width: 76ch; }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 14px; margin-bottom: 14px; }
.section-heading p { margin-bottom: 0; }
.outline-link, .primary { display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 24px; background: white; padding: 8px 13px; text-align: center; white-space: nowrap; }
.primary { background: var(--dark); color: white; font-weight: 700; }
.live-compare, .live-details { grid-column: 1 / -1; margin: 4px 0 0; }
.comparison-cards { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; }
.comparison-cards>div { min-width: 0; display: grid; gap: 2px; padding: 15px 19px; }
.comparison-cards>div+div { border-left: 1px solid var(--line); }
.comparison-cards span, .comparison-cards small { color: var(--muted); font-size: .83rem; }
.comparison-cards strong { font-size: clamp(1.1rem, 2vw, 1.45rem); letter-spacing: -.045em; overflow-wrap: anywhere; }
.comparison-cards>div:last-child { background: var(--lilac); }
.live-details { padding: 14px 18px; }
.live-details summary { font-size: .95rem; }
.live-tables { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 16px; margin-top: 14px; }
.salaries, .info-cards, .link-grid { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.salary-card, .info-cards>a, .link-grid>a { min-width: 0; border: 1px solid var(--line); border-radius: 16px; background: white; text-decoration: none; padding: 15px 17px; }
.salary-card { display: grid; gap: 1px; font-size: .86rem; color: var(--muted); }
.salary-card strong { color: var(--ink); font-size: 1.25rem; letter-spacing: -.04em; }
.salary-card:hover, .info-cards>a:hover, .link-grid>a:hover { border-color: #b1a4cd; }
.info-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.info-cards h3 { margin-top: 12px; }.info-cards p { font-size: .9rem; }
.info-cards h2 { font-size: 1.16rem; margin-top: 12px; }
.policy-content { max-width: 78ch; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 4px clamp(16px, 4vw, 32px); }
.policy-content .section { margin-block: 23px; }
.policy-content .section + .section { padding-top: 21px; border-top: 1px solid var(--line); }
.policy-content h2 { font-size: 1.26rem; }
.link-grid>a { font-size: .88rem; font-weight: 650; padding: 10px 13px; }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 15px; }
table { border-collapse: collapse; width: 100%; background: #fff; font-size: .88rem; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 13px; }
thead th { background: var(--shade); }
tbody tr:last-child>* { border-bottom: 0; }
caption { text-align: left; font-weight: 700; margin-bottom: 7px; }
.faq { margin-top: 14px; }
.faq details { padding: 12px 16px; background: white; border: 1px solid var(--line); border-radius: 10px; margin-top: 6px; }
.faq p { margin: 8px 0 2px; }
.source-section li { margin-bottom: 5px; color: #51466d; }
.site-footer { border-top: 1px solid var(--line); background: white; margin-top: 55px; }
.footer-wrap { padding-block: 23px; display: flex; justify-content: space-between; gap: 18px; align-items: center; }
.footer-wrap p { font-size: .85rem; margin-top: 7px; }
.footer-wrap nav { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .86rem; }
.share-dialog { width: min(440px, calc(100% - 30px)); border: 1px solid var(--line); border-radius: 16px; padding: 22px; color: var(--ink); }
.share-dialog::backdrop { background: #20203566; }
.share-dialog p { margin: 7px 0 14px; }
.dialog-actions { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
#copy-status { font-size: .85rem; }
.tool-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tool-form .private-note, .tool-result>p { margin-top: 15px; }
.tool-result { padding: 22px; background: var(--dark); color: white; }
.tool-result>p { color: #ded9e9; font-size: .86rem; }
.tool-result dl { margin-top: 12px; }
.tool-result dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-bottom: 1px solid #ffffff22; padding: 8px 0; }
.tool-result dd { margin: 0; font-weight: 750; text-align: right; }
@media (max-width: 860px) {
  .container { width: calc(100% - 40px); }
  .hero { grid-template-columns: minmax(0, 1fr) 215px; gap: 18px; }
  .form-card { padding: 18px; }
  .calculator { gap: 15px; }
  .metrics { gap: 5px; }
  .metric { padding-inline: 8px; }
  .metric>span { font-size: .69rem; }
  .link-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 670px) {
  .container { width: calc(100% - 28px); }
  .nav-wrap { min-height: 58px; display: grid; grid-template-columns: 1fr auto; gap: 0 10px; padding-top: 9px; }
  .brand { font-size: 1.2rem; }.logo { width: 30px; height: 30px; padding-bottom: 7px; }
  .nav-wrap nav { grid-row: 2; grid-column: 1/-1; justify-content: space-between; gap: 6px; }
  .nav-wrap nav a, .nav-year { font-size: .8rem; }
  .nav-year { grid-column: 2; grid-row: 1; padding: 5px 10px; }
  .hero { grid-template-columns: 1fr; gap: 11px; padding: 23px 0 13px; }
  .intro h1 { font-size: clamp(2.3rem, 8.7vw, 3.4rem); }
  .intro p { font-size: .94rem; }
  .year-promo { min-height: 0; padding: 8px 13px; border-radius: 13px; }
  .promo-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 9px; }
  .promo-copy small { display: none; }
  .promo-copy strong { font-size: .88rem; }
  .calculator, .tool-layout { grid-template-columns: 1fr; }
  .form-card, .deductions, .result-hero { border-radius: 17px; }
  .form-heading { margin-bottom: 14px; }
  .form-card { padding: 15px; }
  .result-hero { padding-inline: 15px; }
  .net-amount { font-size: clamp(2.2rem, 9vw, 3.6rem); }
  .mobile-net { position: fixed; z-index: 2; bottom: max(9px, env(safe-area-inset-bottom)); inset-inline: 14px; display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 9px 13px; border: 1px solid #ffffff2b; border-radius: 12px; background: var(--dark); color: white; text-decoration: none; box-shadow: 0 4px 18px #1b192937; font-size: .85rem; }
  .mobile-net strong { color: var(--green); font-size: 1.05rem; }
  #nettogehalts-ergebnis { scroll-margin-top: 10px; }
  .metric>span { font-size: .75rem; }
  .section { margin-block: 26px; }
  .live-compare, .live-details { margin-block: 5px 0; }
  .section-heading { flex-wrap: wrap; }
  .comparison-cards { grid-template-columns: 1fr 1fr; }
  .comparison-cards>div { padding: 10px; }
  .comparison-cards>div:last-child { grid-column: 1/-1; border-left: 0; }
  .salaries, .link-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-cards, .live-tables { grid-template-columns: 1fr; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}
.notice, .feature { background: var(--lilac); border: 1px solid #e1dbf0; border-radius: 15px; padding: 12px 16px; }
.notice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 13px; margin: -9px 0 16px; font-size: .86rem; color: #463b5e; }
.notice a { margin-left: auto; }
.feature { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.feature p { margin-bottom: 0; }
.steps { padding-left: 21px; color: var(--muted); }
.steps li { margin-block: 8px; }
.glossary>div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.glossary dt { font-weight: 750; }
.glossary dd { margin: 3px 0 0; color: var(--muted); }
@media (max-width: 670px) {
  .feature { flex-wrap: wrap; }
  .notice a { margin-left: 0; }
}

.analytics-settings {
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: .15em;
}

.analytics-banner {
  position: fixed;
  z-index: 20;
  inset: auto 1rem max(1rem, env(safe-area-inset-bottom)) auto;
  display: grid;
  gap: .85rem;
  max-width: min(26rem, calc(100% - 2rem));
  padding: 1.1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 12px 36px #201d2630;
}

.analytics-banner h2 { font-size: 1.08rem; }
.analytics-banner p { margin: .45rem 0 0; font-size: .875rem; }
.analytics-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
body:has(.analytics-banner:not([hidden])) .mobile-net { visibility: hidden; }
