/* Loaded exclusively by the desktop layout. */
.small-screen, .medirogh-story-home .journey { display: none !important; }
.medirogh-story-home .hero-stage { background: white; }
.medirogh-story-home .hero-stage .hero { position: relative; top: auto; transform: none; border-radius: 0; }
.medirogh-story-home .hero-inner { width: 88%; max-width: 1680px; }
.medirogh-story-home .hero .section-image { object-position: center; }
.medirogh-story-home .card-more { font-size: 14px; line-height: 1.3; padding: 8px 13px; }
.medirogh-story-home .service-card { border-radius: 0; }
/* Desktop cards grow with their copy; phone/tablet rules stay unchanged. */
@media (min-width: 901px) {
  .medirogh-story-home .services .service-card {
    --type-subheading: 1.25rem;
    --type-copy: 1rem;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 460px;
    min-width: 0;
  }
  .medirogh-story-home .services .service-card > div {
    display: flex;
    flex-direction: column;
    flex: 1;
    height: auto;
    padding-top: 250px;
    padding-bottom: 20px;
    gap: 12px;
    min-width: 0;
  }
  .medirogh-story-home .services .service-card h3 {
    flex-shrink: 0;
    min-height: 2.5em;
    margin: 0;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .medirogh-story-home .services .service-card p {
    flex-shrink: 0;
    min-height: 4em;
    line-height: 1.35;
    margin: 0;
    overflow-wrap: break-word;
  }
  .medirogh-story-home .services .service-card .card-more {
    position: static;
    flex-shrink: 0;
    margin-top: auto;
    max-width: 100%;
    height: auto;
    white-space: normal;
    text-align: center;
  }
}
@media (min-width: 901px) and (max-width: 1450px) {
  .medirogh-story-home .services .services-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  .medirogh-story-home .services .services-copy {
    max-width: 760px;
    padding-top: 12px;
  }
}
.editorial-pages {
  --page-edge: max(7.8vw, calc((100% - 1640px) / 2));
  --forest: #354139;
}
main.editorial-pages > section.practice-opening {
  display: grid; position: relative; isolation: isolate; align-content: center;
  width: 100%; max-width: none; min-height: clamp(485px, 31vw, 620px);
  margin: 0; padding: 60px var(--page-edge); background: #efe8df; color: var(--forest);
  overflow: hidden; border: 0; border-radius: 0; text-align: left;
}
main.editorial-pages .practice-opening::after {
  display: block; content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg,#efe8df 0%,#efe8df 34%,rgba(239,232,223,.94) 40%,rgba(239,232,223,.62) 47%,transparent 59%);
}
main.editorial-pages .opening-picture {
  position: absolute; top: 0; right: 0; width: 65%; height: 100%; max-height: none;
  z-index: -2; object-fit: cover; object-position: center 46%; border-radius: 0;
}
.practice-opening .opening-copy { width: min(43vw,640px); }
main.editorial-pages .opening-label {
  margin: 0 0 22px; font: 500 clamp(14px,1.05vw,20px)/1.35 Montserrat, sans-serif;
  letter-spacing: .17em; text-transform: uppercase;
}
main.editorial-pages .practice-opening h1 {
  margin: 0 0 25px; max-width: 17ch; font: 400 clamp(44px,3.65vw,72px)/1.07 TypoRound, sans-serif;
  color: var(--forest); letter-spacing: -.015em; text-wrap: balance;
}
main.editorial-pages .practice-opening .opening-lead {
  margin: 0; max-width: 43ch; font: 400 clamp(16px,1.06vw,21px)/1.58 Montserrat, sans-serif;
}
main.editorial-pages .practice-opening .button {
  margin: 27px 0 0; min-height: 45px; border-radius: 40px; padding: 12px 31px;
  background: #354139; color: white; font: 600 16px/1.4 Montserrat,sans-serif;
}
.editorial-pages > .reference-controls { padding: 32px var(--page-edge); background: white; }
.editorial-pages .reference-controls > :is(.eyebrow,h1,p) { display:none; }
.reference-controls .contact-options { margin: 0; gap: 0; }
.reference-controls .contact-options a {
  display: grid; align-content: center; margin: 0; min-height: 84px;
  padding: 12px 2.5vw; border: 0; border-left: 1px solid #d9d5ca; border-radius: 0;
  background: white; color: #354139; text-align: left; text-decoration: none;
}
.reference-controls .contact-options a:last-child { background:#354139; color:white; font-weight:700; }
.reference-controls .contact-options a:hover { text-decoration: underline; }
.reference-benefits {
  display:grid; grid-template-columns:repeat(4,1fr); padding:48px var(--page-edge); background:white;
}
.reference-benefits > div { display:flex; align-items:center; gap:1.2vw; padding:10px 1.5vw; border-right:1px solid #e3ded6; }
.reference-benefits > div:first-child { padding-left:0; }
.reference-benefits > div:last-child { border:0; }
.editorial-pages .reference-benefits img { width:clamp(44px,4vw,72px); border-radius:0; }
.editorial-pages .reference-benefits p { margin:0; font:400 clamp(14px,.92vw,18px)/1.5 Montserrat,sans-serif; }
.reference-benefits span { display:block; }
main.editorial-pages .foot-focus { background:#fff; padding:45px var(--page-edge) 70px; }
.foot-grid { display:grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap:20px; margin-top:32px; }
.foot-grid article { background:#f5f2ed; }
.editorial-pages .foot-grid img { width:100%; aspect-ratio:1.55; border-radius:0; }
.foot-grid article h3, .foot-grid article p { margin:18px 20px 10px; }
.foot-grid article p { font-size:16px; margin:0 20px 24px; }
.editorial-pages > section:not(.practice-opening,.reference-controls) { padding-inline:var(--page-edge); }
.editorial-pages .contact-layout { grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); background:#f5f3ee; }
.editorial-pages :is(.person-card,.story-cards article,.care-step,.contact-panel,.contact-options a,figure,img) { border-radius:0; }
.editorial-pages .story-cards { gap:24px; }
.editorial-pages .story-cards article { padding:clamp(22px,2vw,40px); border:0; border-top:1px solid #bfc4b8; }
.reading-impressum > section,.reading-datenschutz > section { max-width:1100px; margin-inline:auto; background:white; }
.editorial-pages:is(.reading-impressum,.reading-datenschutz)>section { padding-inline:45px; }
.reading-datenschutz .mobile-cover,.reading-impressum .mobile-cover { max-width:280px; }
.editorial-pages.reading-terminanfrage .mobile-cover { float:none; width:100%; margin:0; }
.reading-terminanfrage > section:first-child img { max-height:380px; object-fit:cover; }
.practice-history { display:grid; grid-template-columns:repeat(12,minmax(0,1fr)); column-gap:22px; align-items:start; }
.practice-history > * { grid-column:1/-1; min-width:0; }
.practice-history > figure:nth-child(7) { grid-area:1 / 1 / 4 / 7; margin:0; }
.practice-history > :nth-child(n+8):nth-child(-n+10) { grid-column:7/13; }
.practice-history > :nth-child(n+11):nth-child(-n+18) { grid-column:span 3; }
.practice-history > :nth-child(11),.practice-history > :nth-child(13),.practice-history > :nth-child(15),.practice-history > :nth-child(17) {grid-row:4;padding-top:42px;}
.practice-history > :nth-child(n+23):nth-child(-n+34) { grid-column:span 3; }
.practice-history > :is(:nth-child(23),:nth-child(26),:nth-child(29),:nth-child(32)) {grid-row:10;}
.practice-history > :is(:nth-child(24),:nth-child(27),:nth-child(30),:nth-child(33)) {grid-row:11;}
.practice-history > :is(:nth-child(25),:nth-child(28),:nth-child(31),:nth-child(34)) {grid-row:12;}
.practice-history > :nth-child(n+35):nth-child(-n+43) {grid-column:span 4;}
.practice-history > :is(:nth-child(35),:nth-child(38),:nth-child(41)) {grid-row:13;}
.practice-history > :is(:nth-child(36),:nth-child(39),:nth-child(42)) {grid-row:14;}
.practice-history > :is(:nth-child(37),:nth-child(40),:nth-child(43)) {grid-row:15;}
.practice-history > figure:nth-child(n+35):nth-child(-n+43) img {aspect-ratio:1.8;object-fit:cover;}
.practice-history > figure:nth-child(44) {grid-area:16/1/20/7;}
.practice-history > :nth-child(n+45) {grid-column:7/13;}
@media (max-width:1250px) {
  .medirogh-story-home .services-layout { grid-template-columns:1fr; }
  .medirogh-story-home .services-copy { padding-top:12px; max-width:760px; }
  .medirogh-story-home .service-card>div { padding-inline:12px; }
}
.editorial-pages:has(.foot-focus) > .page-jumps { display:none; }
.medirogh-story-home .hero.reference-only::before { content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(239,232,223,.28),rgba(239,232,223,.35) 39%,transparent 57%);pointer-events:none; }
