/* IG SAFE Medizin-Langfassungen: nur lange Inhalte; gemeinsame Website-Huelle */
.medical-long-page .legal-wrap {max-width:1100px;margin-inline:auto;padding:clamp(18px,3vw,36px)}
.medical-long-page .legal-head {margin-bottom:1rem}
.medical-long-page .legal-card {background:#fffdf0; border:1px solid #d2c8c5; border-radius:18px; padding:clamp(18px,3vw,32px); margin:1.25rem 0; box-shadow:0 16px 42px rgb(42 32 32 / 22%)}
.medical-long-page article img {max-width:100%;height:auto;border-radius:18px;box-shadow:0 12px 30px rgb(42 32 32 / 18%)}
html[data-theme=dark] .medical-long-page .legal-card {background:var(--surface2);border-color:var(--line);box-shadow:0 14px 34px rgb(0 0 0 / 36%)}
@media(max-width:600px){.medical-long-page .legal-wrap{padding:16px}.medical-long-page .legal-card{box-shadow:0 10px 26px rgb(42 32 32 / 18%)}}


/* Diagnostik: Hilfsmittel-Karten mit natürlicher Höhe und ausgewogenerem Inhalt */
.medizin-diagnostik-page .diagnostic-tools-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 20px 0 28px;
  align-items: start;
}
.medizin-diagnostik-page .diagnostic-tools-card {
  padding: 20px;
  border: 1px solid var(--line, #e3d9cc);
  border-radius: 14px;
  background: var(--surface2, #fff);
  box-shadow: 0 12px 30px rgb(42 32 32 / 18%);
}
.medizin-diagnostik-page .diagnostic-tools-card h3 { margin-top: 0; }

/* Anlaufstellen: kleinere Wappen und durchgängige Kacheloptik */
.anlaufstellen-page .contact-grid,
.anlaufstellen-page .state-group-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}
.anlaufstellen-page .contact-intro,
.anlaufstellen-page .contact-legend,
.anlaufstellen-page .verification-box,
.anlaufstellen-page .state-section-head {
  border-radius: 18px;
}
.anlaufstellen-page .contact-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 1.2rem;
  padding: 14px 16px;
  border: 1px solid var(--line, #d2c8c5);
  background: var(--surface2, #fff);
  box-shadow: 0 12px 30px rgb(42 32 32 / 14%);
}
.anlaufstellen-page .contact-status,
.anlaufstellen-page .contact-tag {
  display: inline-flex;
  align-items: center;
  padding: .3rem .65rem;
  border-radius: 999px;
  background: var(--theme-soft, #f0e9e0);
  font-size: .83rem;
  line-height: 1.25;
}
.anlaufstellen-page .state-section-head,
.anlaufstellen-page .state-group-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.anlaufstellen-page .state-group {
  margin-top: 1.5rem;
  padding: 18px;
  border: 1px solid var(--line, #d2c8c5);
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface2, #fff) 72%, var(--bg, #f7f2df) 28%);
  box-shadow: 0 14px 34px rgb(42 32 32 / 15%);
}
.anlaufstellen-page .contact-card {
  display: grid;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: start;
  column-gap: 14px;
  row-gap: 0;
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line, #d2c8c5);
  border-top: 3px solid var(--line, #d2c8c5);
  border-radius: 18px;
  background: var(--surface2, #fff);
  box-shadow: 0 12px 30px rgb(42 32 32 / 18%);
}
.anlaufstellen-page .contact-card > :not(.state-card-emblem) { grid-column: 1 / -1; }
.anlaufstellen-page .contact-card > .contact-kicker { grid-column: 2; grid-row: 1; align-self: center; }
.anlaufstellen-page .state-card-emblem,
.anlaufstellen-page .state-section-emblem,
.anlaufstellen-page .state-nav img {
  display: block;
  width: 40px;
  height: 48px;
  max-width: 40px;
  max-height: 48px;
  object-fit: contain;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.anlaufstellen-page .state-card-emblem {
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  margin-top: 2px;
}
.anlaufstellen-page .contact-kicker,
.anlaufstellen-page .contact-card h2,
.anlaufstellen-page .contact-card h3 {
  margin-top: 0;
}
.anlaufstellen-page .contact-kicker { margin-bottom: .45rem; }
.anlaufstellen-page .contact-tagrow {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: .5rem 0 .8rem;
}
.anlaufstellen-page .state-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  margin: 1rem 0 1.4rem;
}
.anlaufstellen-page .state-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: .8rem .95rem;
  border: 1px solid var(--line, #d2c8c5);
  border-radius: 14px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgb(42 32 32 / 12%);
}
.anlaufstellen-page .wappen-source { margin-top: 1.2rem; }
html[data-theme=dark] .anlaufstellen-page .contact-card,
html[data-theme=dark] .anlaufstellen-page .contact-legend,
html[data-theme=dark] .anlaufstellen-page .state-nav a,
html[data-theme=dark] .anlaufstellen-page .state-group {
  box-shadow: 0 14px 34px rgb(0 0 0 / 32%);
}
@media (max-width: 700px) {
  .anlaufstellen-page .contact-grid,
  .anlaufstellen-page .state-group-grid,
  .anlaufstellen-page .state-nav { grid-template-columns: 1fr; }
  .anlaufstellen-page .contact-card {
    grid-template-columns: 38px minmax(0, 1fr);
    padding: 16px;
    column-gap: 12px;
  }
  .anlaufstellen-page .state-card-emblem,
  .anlaufstellen-page .state-section-emblem,
  .anlaufstellen-page .state-nav img {
    width: 32px;
    height: 40px;
    max-width: 32px;
    max-height: 40px;
  }
}

/* Schweregrade: breite, übereinander angeordnete Informationskarten */
.medizin-schweregrade-page .severity-grid {display:grid;grid-template-columns:minmax(0,1fr);gap:18px;margin:22px 0 28px}
.medizin-schweregrade-page .severity-card {padding:22px;border:1px solid var(--line,#e3d9cc);border-radius:18px;background:var(--surface2,#fff);box-shadow:0 12px 30px rgb(42 32 32 / 18%)}
.medizin-schweregrade-page .severity-card h3 {margin-top:0}

/* Anlaufstellen: Sprung zu den Bundesländern mit neun dezenten Landeswappen. */
.anlaufstellen-page .igsafe-jump-row { margin: 1.2rem 0 1.5rem; }
.anlaufstellen-page .igsafe-jump-button {
  position:relative; isolation:isolate; overflow:hidden;
  display:flex; align-items:center; justify-content:center;
  min-height:76px; padding:1.2rem 1.5rem;
  border:1px solid var(--line,#d2c8c5); border-radius:18px;
  color:var(--text,#302b29); background:var(--surface2,#fff);
  box-shadow:0 12px 30px rgb(42 32 32 / 18%);
  text-decoration:none; text-align:center;
}
.anlaufstellen-page .igsafe-jump-button:hover,
.anlaufstellen-page .igsafe-jump-button:focus-visible { border-color:var(--red,#b33b41); }
.anlaufstellen-page .igsafe-jump-button:focus-visible { outline:3px solid var(--red,#b33b41); outline-offset:3px; }
.anlaufstellen-page .igsafe-jump-label { position:relative; z-index:2; font-weight:800; font-size:1.1rem; }
.anlaufstellen-page .igsafe-jump-wappen {
  position:absolute; inset:0; z-index:1; display:flex; align-items:center;
  justify-content:space-around; gap:5px; padding:8px 14px;
  opacity:.15; pointer-events:none;
}
.anlaufstellen-page .igsafe-jump-wappen img {
  flex:0 1 auto; width:min(7.3%,48px); height:52px; object-fit:contain;
  border:0!important; border-radius:0!important; box-shadow:none!important;
}
html[data-theme="dark"] .anlaufstellen-page .igsafe-jump-button { box-shadow:0 14px 34px rgb(0 0 0 / 32%); }
@media(max-width:600px) {
  .anlaufstellen-page .igsafe-jump-button { min-height:66px; padding:1rem; }
  .anlaufstellen-page .igsafe-jump-wappen { gap:2px; padding-inline:7px; opacity:.12; }
  .anlaufstellen-page .igsafe-jump-wappen img { height:36px; }
}

/* Anlaufstellen: Statusschaltflächen in der oberen Legende zentrieren. */
.anlaufstellen-page .contact-legend {
  justify-content: center;
  align-items: center;
  text-align: center;
}
