/* Quick routes in the fiscal library. */
.ed-route-select {
  padding: clamp(1.25rem, 3vw, 2.6rem);
  border: 1px solid #cad7ee;
  border-radius: 24px;
  background: linear-gradient(130deg, #eef3ff, #fafbff);
}
.ed-route-select h2, .ed-blog-group h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; }
.ed-route-select .eyebrow { margin-bottom: .5rem; }
.ed-route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: .7rem;
  margin: 1.25rem 0;
}
.ed-route-grid a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .8rem;
  min-height: 3.5rem;
  padding: .8rem 1rem;
  border: 1px solid #c7d3eb;
  border-radius: 12px;
  background: white;
  color: var(--navy);
  font-weight: 650;
  text-decoration: none;
}
.ed-route-grid a span:last-child { color: var(--blue); }
.ed-route-grid a:hover, .ed-route-grid a:focus-visible { border-color: var(--blue); }
.ed-year-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.25rem; }
.ed-year-nav a, .ed-missing-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-weight: 650; }
.ed-blog-group { margin-top: clamp(2.5rem, 5vw, 4.5rem); }
.ed-blog-group h2 { margin-bottom: 1.1rem; scroll-margin-top: 6rem; }

/* An HTML sample keeps each German field legible at phone sizes. */
.ed-certificate { margin: 1.4rem 0; }
.ed-paper {
  padding: clamp(.85rem, 3vw, 2rem);
  border: 1px solid #bac9e4;
  border-top: 4px solid var(--blue);
  border-radius: 4px 4px 18px 18px;
  background: #fbfcff;
  box-shadow: 0 14px 36px -28px #314777;
}
.ed-paper-tab { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem; color: #43547a; font-size: .75rem; font-weight: 650; }
.ed-paper-tab span:last-child { border: 1px dashed #889ab7; border-radius: 5px; padding: 0 .5rem; }
.ed-paper-title { margin: .8rem 0; color: var(--navy); font: 700 clamp(1.35rem, 2.8vw, 2rem)/1.15 var(--display); overflow-wrap: anywhere; }
.ed-paper-title span { display: inline-block; color: #3055c8; }
.ed-paper-row {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr) auto;
  align-items: start;
  gap: .45rem .6rem;
  padding: .75rem .45rem;
  border-top: 1px solid #d3dbe9;
  line-height: 1.35;
}
.ed-paper-row b { color: var(--navy); font-size: 1rem; }
.ed-paper-row small { display: block; color: #506079; font-size: .87rem; }
.ed-paper-context div { grid-column: 2; }
.ed-paper-value { text-align: right; color: #293754; font-size: .95rem; font-variant-numeric: tabular-nums; }
.ed-pin {
  display: grid; place-items: center; width: 1.6rem; height: 1.6rem;
  border-radius: 50%; background: #244de2; color: #fff; font-size: .85rem;
}
.ed-pin .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.ed-paper-tax { border: 1px solid #b2c6ee; border-radius: 8px; background: #edf3ff; }
.ed-paper-tax .ed-paper-value { color: #173fa6; }
.ed-certificate figcaption { margin-top: .65rem; color: var(--muted); font-size: .88rem; line-height: 1.5; }
.ed-paper-key strong { color: var(--navy); }
.ed-next .ed-missing-link { margin-top: .7rem; }
@media (max-width: 690px) {
  .ed-hero figure { display: none; }
  .ed-route-select { padding: 1.1rem; }
}
@media (max-width: 520px) {
  .ed-paper-row { grid-template-columns: 1.6rem minmax(0, 1fr); }
  .ed-paper-value { grid-column: 2; text-align: left; }
}
