/* Gezielte Ergänzungen; vorhandene Hauptstile und Schriften bleiben erhalten. */
@media (min-width: 1200px) {
  #header .menu-opener { display: none; }
  #header .nav-drawer {
    position: absolute;
    top: 25px;
    right: max(30px, calc((100% - 1170px) / 2 + 15px));
    display: flex;
    align-items: center;
    width: auto;
    max-width: none;
    height: 60px;
    padding: 0;
    background: transparent;
    color: #C4503C;
    transform: none;
    transition: none;
  }
  #header .nav-drawer ul.links {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
  }
  #header .nav-drawer ul.links li {
    margin: 0;
    font-size: 18px;
    line-height: 1.4;
    letter-spacing: .02em;
    text-transform: capitalize;
    white-space: nowrap;
  }
  #header .nav-drawer ul.links li::before { display: none; }
  /* Reihenfolge des Entwurfs, ohne die mobile Linkliste umzubauen. */
  #header .nav-drawer ul.links li:nth-child(1) { order: 2; }
  #header .nav-drawer ul.links li:nth-child(2) { order: 1; }
  #header .nav-drawer ul.links li:nth-child(3) { order: 4; }
  #header .nav-drawer ul.links li:nth-child(4) { order: 3; }
  #header .nav-drawer ul.links li:nth-child(5) { order: 5; }
  #header .nav-drawer ul.links li:nth-child(6) { order: 6; }
}

.hero-intro {
  position: relative;
  z-index: 2;
  background: #fff;
}
.hero-intro .hero-card {
  position: relative;
  z-index: 2;
  width: 558px;
  height: 385px;
  margin-top: -241px;
  margin-left: max(30px, calc((100% - 1170px) / 2 - 53px));
  margin-bottom: -40px;
  font-family: concorde;
  color: #000;
  text-align: left;
}
.hero-card__shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 9px 7px rgba(0, 0, 0, .14));
}
.hero-card__content {
  position: absolute;
  top: 26%;
  left: 18%;
  width: 70%;
}
.hero-card .hero-card__eyebrow {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.25;
}
.hero-card h1 {
  position: relative;
  margin: 0 0 10px;
  font-family: concorde;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
  color: #000;
}
.hero-card h1::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -22px;
  width: 4px;
  background: #eb5d45;
}
.hero-card .hero-card__description {
  margin: 0;
  font-size: 16px;
  line-height: 1.4;
}
.hero-card__next {
  position: absolute;
  left: 59%;
  bottom: 7%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 14%;
  min-height: 44px;
  color: #eb5d45;
  line-height: 1;
}
.hero-card__next svg { display: block; width: 100%; height: auto; }
.hero-card__next:hover { color: #ce4e38; }
.hero-card__next:focus-visible,
#header .nav-drawer a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

/* Unterhalb des Desktop-Menüs: Kasten mittig, zur Hälfte unter dem Bild. */
@media (max-width: 1199.98px) {
  .hero-intro .hero-card {
    --hero-card-width: min(558px, calc(100vw - 32px));
    width: var(--hero-card-width);
    height: calc(var(--hero-card-width) * 385 / 558);
    margin: calc(var(--hero-card-width) * -192.5 / 558) auto 0;
  }
}
@media (max-width: 599.98px) {
  .hero-card .hero-card__eyebrow {
    margin-bottom: 6px;
    font-size: clamp(11px, 2.87vw, 16px);
  }
  .hero-card h1 {
    margin-bottom: 6px;
    font-size: clamp(19px, 6.2vw, 34px);
    line-height: 1.08;
  }
  .hero-card h1::before { left: -12px; width: 3px; }
  .hero-card .hero-card__description {
    font-size: clamp(11px, 2.87vw, 16px);
    line-height: 1.25;
  }
}
@media (max-width: 599.98px) {
  .hero-card__content { top: 22%; }
  .hero-card .hero-card__description { text-align: center; }
  .hero-card__next { bottom: 3%; }
}



/* Artikel „Zwei Brüder“: breitere Zweispaltenansicht ab 1200 px. */
@media (min-width: 1200px) {

  .articles-area .article-item article.article--brothers {
    /*
     * Der linke Einzug bleibt bestehen.
     * Der Artikel darf sich nach rechts erweitern.
     */
    width: 83.3333333333%;

    display: grid;
    grid-template-columns: minmax(0, 4fr) minmax(0, 5fr);
    grid-template-rows: auto auto 1fr;
    column-gap: 60px;
    align-items: start;
  }

  /* Überschrift links oben. */
  .articles-area .article-item article.article--brothers > h2 {
    grid-column: 1;
    grid-row: 1;
  }

  /* Bild rechts, über die gesamte Höhe der Textbereiche. */
  .articles-area .article-item article.article--brothers > .img-hold {
    grid-column: 2;
    grid-row: 1 / 4;
    margin-bottom: 0;
  }

  .articles-area .article-item article.article--brothers > .img-hold img {
    display: block;
    width: 100%;
    height: auto;
  }

  /* Fließtext links unter der Überschrift. */
  .articles-area .article-item article.article--brothers
    > p:not(.link-margin) {
    grid-column: 1;
    grid-row: 2;
  }

  /* Link links unter dem Fließtext. */
  .articles-area .article-item article.article--brothers
    > p.link-margin {
    grid-column: 1;
    grid-row: 3;
    align-self: start;
  }
}

/* Weißer Hintergrund hinter dem Sticky Header. */
#header::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;

  /*
   * Mindestens so hoch, dass auch der mobile Menübutton
   * vollständig vor dem weißen Hintergrund liegt.
   */
  height: 100%;
  min-height: 110px;

  background-color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;

  z-index: -1;
  pointer-events: none;
}

/* Sobald der Header beim Scrollen fixiert ist: Weiß einblenden. */
#header.fixed-position::before {
  opacity: 0.9;
}

/* Auf kleinen Smartphones ist der Menübutton etwas höher positioniert. */
@media (max-width: 480px) {
  #header::before {
    min-height: 100px;
  }
}

/* Animation für Menschen mit reduzierten Bewegungseinstellungen. */
@media (prefers-reduced-motion: reduce) {
  #header::before {
    transition: none;
  }
}


/* Standardbild für Desktop und andere Ansichten. */
.swiper-slide--startbild {
  background: url("../images/rechtsanwaelte-steuerberater-mutschmann_2026b.jpg")
    no-repeat center;
  background-size: cover;
}

/* Anderes Bild für Smartphones im Hochformat. */
@media (max-width: 920px) and (orientation: portrait) {
  .swiper-slide--startbild {
    background-image: url("../images/rechtsanwaelte-steuerberater-mutschmann_2026mobil.jpg");
  }
}

