:root {
  --bg: #ffffff;
  --bg-soft: #f2f6f7;
  --surface: #ffffff;
  --line: #dfe8e8;
  --line-strong: #cbd9da;
  --text: #173346;
  --muted: #627484;
  --primary: #1f7a68;
  --primary-dark: #176452;
  --primary-soft: #e9f5f2;
  --accent: #d99a32;
  --accent-soft: #fff6e5;
  --danger-soft: #fff4ee;
  --shadow-soft: 0 12px 30px rgba(23, 51, 70, 0.07);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
img { max-width: 100%; display: block; }

.container { width: min(var(--container), calc(100% - 56px)); margin: 0 auto; }
.small { font-size: .92rem; color: var(--muted); }
.mt-1 { margin-top: .3rem; }
.mt-2 { margin-top: .75rem; }
.mt-3 { margin-top: 1.1rem; }
.mb-0 { margin-bottom: 0; }

h1, h2, h3 { margin: 0; color: var(--text); letter-spacing: -0.018em; line-height: 1.14; }
h1 { font-size: clamp(1.92rem, 3.4vw, 3.28rem); font-weight: 830; }
h2 { font-size: clamp(1.32rem, 2.1vw, 2rem); font-weight: 800; }
h3 { font-size: clamp(1.04rem, 1.3vw, 1.22rem); font-weight: 780; }
p { margin: 0 0 1rem; color: var(--muted); }
ul { color: var(--muted); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 36px; height: 36px; border-radius: 13px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--primary), #2c9c85);
  color: #fff; font-weight: 900; box-shadow: 0 10px 22px rgba(31, 122, 104, .18);
}
.brand-text { display: inline-flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 860; font-size: 18px; letter-spacing: -0.3px; color: var(--text); }
.brand-domain { margin-top: 4px; font-size: 11px; color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; justify-content: center; gap: 10px; flex: 1 1 auto; }
.main-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 35px; padding: 0 11px; border-radius: 999px;
  color: #27485b; font-size: 15px; font-weight: 800; transition: all .16s ease;
}
.main-nav a:hover, .main-nav a.active, .main-nav a[aria-current="page"] { background: var(--primary-soft); color: var(--primary-dark); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.mobile-toggle {
  display: none; width: 44px; height: 44px; border-radius: 14px;
  border: 1px solid var(--line); background: #fff; color: var(--text); cursor: pointer; font-size: 1.1rem;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 16px; border-radius: 999px;
  border: 1px solid transparent; font-weight: 800; font-size: .9rem; line-height: 1; cursor: pointer;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-secondary { background: #fff; border-color: var(--line-strong); color: var(--text); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary-dark); }
.btn-gold { background: var(--accent); color: #fff; }
.btn-block { width: 100%; }

.kicker {
  display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 5px 12px;
  border-radius: 999px; border: 1px solid var(--line); background: #fff;
  color: #6d7f8b; font-size: .76rem; font-weight: 820;
}
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 4px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: #6c7f88; font-size: .82rem; font-weight: 780; }

.hero { padding: 20px 0 28px; }
.hero-box {
  display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: stretch;
  border-radius: 30px; border: 1px solid var(--line); background: linear-gradient(135deg, #f6faf9, #eef6f3);
  padding: 26px; box-shadow: var(--shadow-soft);
}
.hero-copy { padding: 8px 0 0 4px; }
.hero-copy h1 { max-width: 770px; margin: 14px 0 14px; }
.hero-copy p { max-width: 72ch; font-size: 1.05rem; line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-card {
  position: relative; overflow: hidden; border-radius: 26px; background: #fff; border: 1px solid var(--line);
  padding: 22px; min-height: 310px; display: flex; flex-direction: column; justify-content: space-between;
}
.hero-card:before {
  content: ""; position: absolute; right: -52px; top: -52px; width: 170px; height: 170px; border-radius: 50%;
  background: rgba(31, 122, 104, .11);
}
.hero-card:after {
  content: ""; position: absolute; left: -36px; bottom: -44px; width: 140px; height: 140px; border-radius: 50%;
  background: rgba(217, 154, 50, .13);
}
.hero-metric { position: relative; z-index: 1; }
.hero-metric strong { display: block; font-size: 2.35rem; line-height: 1; color: var(--primary-dark); letter-spacing: -0.05em; }
.hero-metric span { display: block; margin-top: 8px; color: var(--muted); font-weight: 720; }
.hero-list { position: relative; z-index: 1; display: grid; gap: 10px; }
.hero-list div { display: flex; align-items: flex-start; gap: 9px; color: #526776; font-weight: 700; }
.hero-list div:before { content: "✓"; color: var(--primary); font-weight: 900; }

.section { padding: 34px 0; }
.section-tight { padding-top: 12px; }
.section-soft .container, .soft-panel {
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 28px; padding: 28px;
}
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 22px; }
.section-head p { max-width: 56ch; margin: 0; }
.section-head.center { text-align: center; justify-content: center; align-items: center; flex-direction: column; gap: 8px; }
.section-head.center p { max-width: 760px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 310px; gap: 18px; align-items: start; }

.card, .entry-card, .partner-card, .calc-card, .side-card, .legal-card, .result-box {
  background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-soft);
}
.card, .entry-card, .partner-card, .calc-card, .side-card, .legal-card { padding: 20px; }
.entry-card { display: flex; flex-direction: column; min-height: 215px; }
.entry-icon, .side-icon {
  width: 42px; height: 42px; border-radius: 15px; display: grid; place-items: center;
  background: var(--primary-soft); color: var(--primary-dark); font-weight: 900; margin-bottom: 14px;
}
.entry-card p, .partner-card p, .side-card p, .card p { font-size: .97rem; line-height: 1.64; }
.entry-card .btn { margin-top: auto; align-self: flex-start; }
.partner-card { display: flex; flex-direction: column; gap: 12px; }
.partner-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.partner-label { display: inline-flex; min-height: 26px; align-items: center; padding: 3px 9px; border-radius: 999px; background: var(--accent-soft); color: #9a6418; font-weight: 820; font-size: .76rem; }
.partner-card .btn { margin-top: auto; align-self: flex-start; }
.partner-placeholder { margin-top: 8px; padding: 10px 12px; border-radius: 16px; background: #f8fbfb; border: 1px dashed var(--line-strong); color: #6d7c86; font-size: .88rem; line-height: 1.45; }

.side-stack { display: grid; gap: 14px; position: sticky; top: 92px; }
.side-card { box-shadow: none; }
.side-card h3 { margin-bottom: 8px; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.side-list a, .side-list span { display: flex; align-items: flex-start; gap: 8px; padding: 8px 0; border-bottom: 1px solid #edf2f2; color: #556c78; font-weight: 700; line-height: 1.35; }
.side-list li:last-child a, .side-list li:last-child span { border-bottom: 0; }
.side-list a:before, .side-list span:before { content: "→"; color: var(--primary); font-weight: 900; }

.notice { border-radius: 20px; border: 1px solid #ecd7b8; background: var(--accent-soft); padding: 15px 16px; color: #685340; font-size: .95rem; line-height: 1.55; }
.notice strong { color: #574028; }
.disclaimer { border-radius: 20px; border: 1px solid var(--line); background: #f8fbfb; padding: 15px 16px; color: #61717d; font-size: .92rem; line-height: 1.55; }

.calc-card { margin-bottom: 18px; }
.calc-card h3 { margin-bottom: 8px; }
.calc-form { display: grid; gap: 12px; margin-top: 14px; }
.form-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field label { display: block; margin-bottom: 5px; color: #425968; font-weight: 800; font-size: .86rem; }
.field input, .field select {
  width: 100%; min-height: 43px; border: 1px solid var(--line-strong); border-radius: 14px;
  background: #fff; padding: 0 12px; color: var(--text); outline: none;
}
.field input:focus, .field select:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(31, 122, 104, .09); }
.result-box { padding: 16px; background: #fbfdfd; box-shadow: none; display: none; }
.result-box.show { display: block; }
.result-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 10px; }
.result-item { border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 12px; }
.result-item span { display: block; color: var(--muted); font-size: .78rem; font-weight: 820; text-transform: uppercase; letter-spacing: .04em; }
.result-item strong { display: block; margin-top: 4px; color: var(--text); font-size: 1.12rem; line-height: 1.15; }

.legal-stack { display: grid; gap: 16px; }
.legal-card h1, .legal-card h2 { margin-bottom: 10px; }
.legal-card p:last-child { margin-bottom: 0; }

.footer { padding: 28px 0 16px; background: #fbfdfd; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) 150px 190px; gap: 38px; align-items: start; }
.footer .brand { margin-bottom: 10px; }
.footer h3 { font-size: .95rem; margin-bottom: 9px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.footer a, .footer p, .footer-bottom { color: #6b7c87; font-size: .9rem; }
.footer a:hover { color: var(--primary-dark); }
.footer-bottom { margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); }

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero-box { grid-template-columns: 1fr; }
  .hero-card { min-height: 250px; }
}
@media (max-width: 940px) {
  .grid-3, .grid-2, .layout-sidebar { grid-template-columns: 1fr; }
  .side-stack { position: static; }
  .form-grid, .form-grid.two { grid-template-columns: 1fr; }
  .result-grid { grid-template-columns: 1fr; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .container { width: min(100%, calc(100% - 34px)); }
  .header-inner { min-height: 70px; }
  .main-nav, .header-actions .btn-primary { display: none; }
  .mobile-toggle { display: grid; place-items: center; }
  .site-header.mobile-open .main-nav {
    display: flex; position: absolute; left: 14px; right: 14px; top: 70px; z-index: 100;
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px; border: 1px solid var(--line);
    border-radius: 20px; background: #fff; box-shadow: 0 16px 34px rgba(23, 51, 70, .14);
  }
  .site-header.mobile-open .main-nav a { justify-content: flex-start; min-height: 46px; padding: 0 14px; border-radius: 14px; }
  .hero { padding: 16px 0 22px; }
  .hero-box, .section-soft .container, .soft-panel { padding: 20px; border-radius: 24px; }
  .hero-copy { padding: 0; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 26px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .brand-name { font-size: 16px; }
  .brand-domain { font-size: 10px; }
}

/* Rechner V2: kompakter Werkzeugbereich mit Sprungmenü */
.compact-hero { padding-bottom: 18px; }
.calculator-hero-box { grid-template-columns: minmax(0, 1fr) 280px; padding: 22px 24px; }
.mini-hero-card { min-height: 230px; }
.calculator-layout { grid-template-columns: minmax(0, 1fr) 300px; }
.tool-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 16px; }
.tool-group-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 18px; box-shadow: var(--shadow-soft); }
.tool-group-card h2 { margin: 0 0 6px; font-size: 1.22rem; letter-spacing: -0.03em; }
.tool-group-card p { margin: 0 0 12px; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.tool-group-icon { width: 36px; height: 36px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 12px; background: var(--primary-soft); color: var(--primary-dark); font-weight: 900; }
.mini-link-row { display: flex; flex-wrap: wrap; gap: 8px; }
.mini-link-row a { display: inline-flex; min-height: 28px; align-items: center; padding: 3px 9px; border-radius: 999px; background: #f8fbfb; border: 1px solid var(--line); color: #526776; font-size: .8rem; font-weight: 800; }
.mini-link-row a:hover { border-color: var(--primary); color: var(--primary-dark); }
.compact-notice { margin-bottom: 16px; }
.tool-panel { background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-soft); margin-bottom: 12px; overflow: hidden; scroll-margin-top: 96px; }
.tool-panel summary { list-style: none; cursor: pointer; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: var(--text); }
.tool-panel summary::-webkit-details-marker { display: none; }
.tool-panel summary:after { content: "+"; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-soft); color: var(--primary-dark); font-weight: 900; flex: 0 0 auto; }
.tool-panel[open] summary:after { content: "–"; }
.tool-panel summary span { font-size: 1.08rem; font-weight: 900; letter-spacing: -0.025em; }
.tool-panel summary em { margin-left: auto; color: var(--muted); font-style: normal; font-size: .88rem; font-weight: 750; }
.tool-panel-body { border-top: 1px solid var(--line); padding: 18px; background: #fbfdfd; }
.tool-panel-body p { margin-bottom: 12px; color: #607381; }
.calculator-side { top: 86px; }
.calculator-side .side-card { background: #fff; }

@media (max-width: 940px) {
  .calculator-hero-box, .calculator-layout, .tool-overview { grid-template-columns: 1fr; }
  .tool-panel summary { align-items: flex-start; flex-direction: column; gap: 4px; }
  .tool-panel summary:after { position: absolute; right: 18px; top: 15px; }
  .tool-panel summary { position: relative; padding-right: 58px; }
  .tool-panel summary em { margin-left: 0; }
}


/* FINANZ RECHNER V3 */
.calculator-landing-hero { padding: 20px 0 10px; }
.calculator-landing-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 270px;
  gap: 28px;
  align-items: center;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #f7fbfa, #edf6f3);
  padding: 24px 28px;
  box-shadow: var(--shadow-soft);
}
.calculator-landing-box .hero-copy { padding: 0; }
.calculator-landing-box h1 { margin: 12px 0 10px; max-width: 680px; }
.calculator-landing-box p { max-width: 760px; margin-bottom: 0; }
.calculator-illustration {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #edf6f3;
  min-height: 185px;
  display: grid;
  place-items: center;
}
.calculator-illustration img { width: 100%; height: 100%; object-fit: cover; }
.tool-chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tool-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: #27485b;
  font-weight: 820;
  font-size: .88rem;
}
.tool-chip:hover, .tool-chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.tool-page-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
}
.tool-main-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
  padding: 22px 22px 20px;
  min-height: 520px;
}
.tool-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: .9rem;
  font-weight: 760;
}
.tool-crumb a { color: var(--primary-dark); }
.tool-title-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 12px;
}
.tool-group-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: .78rem;
  font-weight: 850;
  margin-bottom: 10px;
}
.tool-title-row h2 { margin-bottom: 8px; }
.tool-title-row p { margin: 0; }
.tool-description {
  border-radius: 18px;
  background: #f8fbfb;
  border: 1px solid var(--line);
  padding: 14px 16px;
  margin: 16px 0 16px;
}
.tool-description p { margin: 0; }
.tool-main-card .calc-form {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #fff;
  padding: 18px;
}
.tool-after-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 14px;
  margin-top: 14px;
}
.tool-context-box {
  border-radius: 20px;
  border: 1px solid var(--line);
  background: #f8fbfb;
  padding: 14px 16px;
}
.tool-context-box h3 { font-size: .95rem; margin-bottom: 6px; }
.tool-context-box p { font-size: .9rem; margin: 0; line-height: 1.55; }
.tool-sidebar { display: grid; gap: 14px; position: sticky; top: 94px; }
.tool-menu {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  padding: 18px 18px 14px;
}
.tool-menu-group + .tool-menu-group { margin-top: 15px; padding-top: 13px; border-top: 1px solid var(--line); }
.tool-menu h3 { font-size: .92rem; margin: 0 0 7px; color: var(--text); }
.tool-menu ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.tool-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 9px;
  border-radius: 13px;
  color: #526c7b;
  font-weight: 780;
  border: 1px solid transparent;
}
.tool-menu a:before { content: "→"; color: var(--primary); font-weight: 900; }
.tool-menu a:hover, .tool-menu a.active {
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-color: #d7ebe7;
}
.small-side-card { box-shadow: none; }
@media (max-width: 980px) {
  .calculator-landing-box { grid-template-columns: 1fr; }
  .calculator-illustration { min-height: 160px; max-height: 220px; }
  .tool-page-layout { grid-template-columns: 1fr; }
  .tool-sidebar { position: static; order: -1; }
  .tool-menu { display: block; }
  .tool-after-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .calculator-landing-box { padding: 20px; border-radius: 24px; }
  .tool-main-card { padding: 18px; border-radius: 22px; }
  .tool-chip { font-size: .82rem; }
}
/* END FINANZ RECHNER V3 */


/* Rechner-Erweiterung 2026-05-14 */
.tool-intro-note {
  background: var(--accent-soft);
  border-color: #ecd7b8;
  padding: 11px 14px;
  margin: 14px 0 14px;
}
.tool-intro-note p {
  font-size: .91rem;
  line-height: 1.5;
  color: #66513b;
}
.tool-bottom-disclaimer {
  margin: 12px 0 0;
  font-size: .78rem;
  line-height: 1.45;
  color: #98a3ab;
}
.field-wide { grid-column: 1 / -1; }
@media (max-width: 760px) { .field-wide { grid-column: auto; } }


/* Rechner Feinschliff 2026-05-14: keine Chip-Wolke, mehr Erklärung */
.calculator-landing-box .hero-copy p { max-width: 700px; }
.tool-category-list { display: grid; gap: 10px; margin: 16px 0 4px; }
.tool-category-block { border-left: 4px solid #dbeee9; background: #fbfdfd; padding: 14px 0 14px 18px; }
.tool-category-block + .tool-category-block { border-top: 1px solid var(--line); }
.tool-category-block h3 { margin: 0 0 7px; font-size: 1.08rem; letter-spacing: -0.025em; }
.tool-category-block p { margin: 0 0 8px; color: #607381; line-height: 1.58; }
.tool-category-block p:last-child { margin-bottom: 0; }
.tool-category-block strong { color: #173246; }
.tool-value-box { border: 1px solid var(--line); border-radius: 20px; background: #fbfdfd; padding: 14px 16px; margin-top: 14px; }
.tool-value-box h3 { margin: 0 0 6px; font-size: 1rem; letter-spacing: -0.02em; }
.tool-value-box p { margin: 0; color: #607381; line-height: 1.55; font-size: .94rem; }
.tool-intro-note { background: #fff7e7; border: 1px solid #efd6a8; }
.tool-intro-note p { color: #5f4b2e; }
@media (max-width: 980px) { .tool-sidebar { order: 0; } }


/* Rechner v7: ruhige Erklärtexte statt Button-Wolken */
.tool-plain-sections { margin-top: 18px; display: grid; gap: 18px; }
.tool-plain-section { padding: 0 0 16px; border-bottom: 1px solid var(--line); }
.tool-plain-section:last-child { border-bottom: 0; padding-bottom: 0; }
.tool-plain-section h3 { margin: 0 0 7px; font-size: 1.12rem; letter-spacing: -0.025em; color: var(--ink); }
.tool-plain-section p { margin: 0 0 8px; color: #607381; line-height: 1.65; }
.tool-plain-section p:last-child { margin-bottom: 0; }
.tool-plain-section strong { color: #173246; }
.tool-explain { margin-top: 18px; display: grid; gap: 16px; }
.tool-explain-section { padding-top: 2px; }
.tool-explain-section + .tool-explain-section { border-top: 1px solid var(--line); padding-top: 14px; }
.tool-explain-section h3 { margin: 0 0 7px; font-size: 1.05rem; letter-spacing: -0.02em; color: var(--ink); }
.tool-explain-section p { margin: 0 0 8px; color: #607381; line-height: 1.64; font-size: .96rem; }
.tool-explain-section p:last-child { margin-bottom: 0; }
.tool-bottom-disclaimer { margin-top: 16px; color: #8a98a3; font-size: .78rem; line-height: 1.45; }


/* Rechner V8: ruhige Textseiten, keine Button-Wolken im Hauptbereich */
.calculator-landing-box h2 {
  margin: 12px 0 10px;
  max-width: 720px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.055em;
  color: var(--ink);
}
.calculator-landing-box .calculator-main-notice {
  margin: 18px 0 0;
  max-width: 760px;
}
.tool-page-intro {
  margin-top: 8px;
  margin-bottom: 18px;
}
.main-tool-overview > h2 {
  margin: 0 0 12px;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  letter-spacing: -0.04em;
  color: var(--ink);
}
.tool-main-card .calc-form .btn {
  justify-self: start;
  width: auto;
  min-width: 260px;
  padding-left: 24px;
  padding-right: 24px;
}
.tool-main-card .calc-form .btn.btn-block { width: auto; }
.tool-main-card .calc-form .result-box { width: 100%; }
.tool-plain-section h3, .tool-explain-section h3 { color: var(--ink); }
@media (max-width: 760px) {
  .calculator-landing-box h2 { font-size: 2rem; }
  .tool-main-card .calc-form .btn,
  .tool-main-card .calc-form .btn.btn-block { width: 100%; min-width: 0; }
}


/* Rechner Feinschliff v9: kompakter Einstieg, Hinweis oben auf allen Rechnerseiten, klare Buttonbreite */
.calculator-landing-hero { padding: 12px 0 8px; }
.calculator-landing-box { padding: 18px 24px; gap: 22px; }
.calculator-landing-box h2 { margin: 8px 0 8px; line-height: 1.08; }
.calculator-landing-box p { line-height: 1.55; }
.calculator-landing-box .calculator-main-notice { margin-top: 12px; max-width: 720px; }
.calculator-main-notice p { margin: 0; font-size: .92rem; line-height: 1.48; }
.tool-page-intro { margin-top: 12px; }
.tool-page-intro .tool-plain-section:first-child { padding-top: 0; }
.tool-page-intro .tool-plain-section h3 { margin-bottom: 8px; }
.tool-page-intro .tool-plain-section p { line-height: 1.68; }
.tool-main-card .calc-form .btn { width: auto; min-width: 260px; justify-self: start; padding-left: 28px; padding-right: 28px; }
.tool-main-card .calc-form .result-box { width: 100%; }
@media (max-width: 760px) {
  .calculator-landing-box { padding: 18px; }
  .tool-main-card .calc-form .btn { width: 100%; min-width: 0; justify-self: stretch; }
}
