/* Kompakter Begrüßungsbereich: Original-Logo links neben den Namen. */
#banner.major {
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 4.5em 0 2em;
}

#banner > .inner {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  column-gap: 32px;
  row-gap: 24px;
  align-items: center;
}

#banner > .inner > img {
  display: block;
  width: 86px;
  height: auto;
  grid-column: 1;
  grid-row: 1;
}

#banner > .inner > header.major {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  margin: 0;
}

#banner > .inner > header.major h1 {
  margin-bottom: 0;
  line-height: 1.4;
}

#banner > .inner > .content {
  grid-column: 1 / -1;
}

#banner > .inner .content {
  margin-bottom: 0;
}

@media screen and (max-width: 736px) {
  #banner.major { padding: 4.5em 0 1.5em; }
  #banner > .inner { grid-template-columns: 60px minmax(0, 1fr); column-gap: 24px; row-gap: 20px; }
  #banner > .inner > img { width: 60px; }
  #banner > .inner .content > * { margin-bottom: 1.25em; }
  #banner > .inner .content > :last-child { margin-bottom: 0; }
}

@media screen and (max-width: 480px) {
  #banner > .inner { grid-template-columns: 44px minmax(0, 1fr); column-gap: 18px; }
  #banner > .inner > img { width: 44px; }
  #banner > .inner > header.major h1 { font-size: clamp(1.25em, 6vw, 1.5em); }
}

@media screen and (max-width: 360px) {
  #banner > .inner { grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; }
  #banner > .inner > img { width: 38px; }
}

/* Startseite: Blauton aus dem Verlaufsbild der Kachel Praxisleistungen. */
#main > #one.tiles > article:first-child header.major h3 {
  color: #353f62;
}

#main > #one.tiles > article:first-child header.major h3 a {
  color: #353f62 !important;
}

#main > #one.tiles > article:first-child header.major h3::after {
  background-color: #353f62;
}

/* Mobil bleibt HOME/Menu auch innerhalb des Begrüßungsbereichs erreichbar. */
@media screen and (max-width: 980px) {
  #header, #header.alt {
    position: fixed;
    top: 0;
    background-color: #2a2f4a;
    box-shadow: 0 0 0.25em 0 rgba(0, 0, 0, 0.15);
  }

  #header.alt, #header.reveal {
    animation: none;
    transition: none;
  }

  body.is-preload #header.alt {
    opacity: 1;
  }
}

/* Native Sprunglinks berücksichtigen die tatsächliche Höhe der Kopfzeile. */
html {
  scroll-padding-top: calc(var(--header-height, 4rem) + 16px);
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Leistungsübersichten mobil untereinander, auf dem Desktop nebeneinander. */
.leistungsuebersicht {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3em;
  margin-bottom: 3em;
}

.leistungsuebersicht__gruppe { min-width: 0; }

.leistungsuebersicht__liste {
  font-size: 1.35em;
  font-weight: 600;
  line-height: 1.65;
  margin-bottom: 0;
}

.leistungsuebersicht__gruppe > header.major h1 {
  overflow-wrap: anywhere;
}

@media screen and (min-width: 981px) {
  .leistungsuebersicht { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media screen and (max-width: 736px) {
  .leistungsuebersicht__liste { font-size: 1.25em; }
}
