/*
 * SAM-PRO Business v356
 * Verbindliche Platzoptimierung fuer den Consulting-Hub und alle sechs Detailseiten.
 * Die hohe Spezifitaet ist bewusst gesetzt, damit historische seitenbezogene
 * Mindesthoehen die gemeinsame responsive Darstellung nicht mehr ueberschreiben.
 */

/* Consulting-Hub: Karten folgen ihrem Inhalt statt einer kuenstlichen Mindesthoehe. */
html body.page-template-page-consulting .consulting-why__grid,
html body.page-template-page-consulting .consulting-modules-html-v269__grid{
  align-items:start !important;
  grid-auto-rows:auto !important;
}

html body.page-template-page-consulting .consulting-card-image,
html body.page-template-page-consulting .consulting-modules-html-v269__card{
  height:auto !important;
  min-height:0 !important;
  align-self:start !important;
}

html body.page-template-page-consulting .consulting-modules-html-v269__card{
  grid-template-columns:50px minmax(0,1fr) !important;
  gap:13px !important;
  padding:49px 18px 18px !important;
}

html body.page-template-page-consulting .consulting-card-image__body{
  padding:16px 18px 18px !important;
}

/* Detailseiten: Einordnung und typische Anlaesse nutzen dieselbe kompakte Flaeche. */
html body .sampro-topic-v271[data-topic] .sampro-topic-v326__intro-grid{
  display:grid !important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  gap:14px !important;
  align-items:start !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v326__context-card,
html body .sampro-topic-v271[data-topic] .sampro-topic-v326__usecases-card{
  height:auto !important;
  min-height:0 !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v328__context-main{
  display:grid !important;
  grid-template-rows:auto minmax(230px,1fr) !important;
  height:auto !important;
  min-height:0 !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v326__context-copy,
html body .sampro-topic-v271[data-topic] .sampro-topic-v326__usecases-card{
  padding:23px 24px !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v326__context-copy h2,
html body .sampro-topic-v271[data-topic] .sampro-topic-v326__usecases-card h2{
  margin:6px 0 11px !important;
  font-size:clamp(26px,2vw,32px) !important;
  line-height:1.13 !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v326__context-lead{
  font-size:15px !important;
  line-height:1.58 !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v326__context-figure{
  height:auto !important;
  min-height:230px !important;
  margin:0 14px 14px !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v326__context-figure img{
  width:100% !important;
  height:100% !important;
  min-height:230px !important;
  object-fit:cover !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v326__usecases-grid{
  display:grid !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  grid-auto-rows:auto !important;
  gap:9px !important;
  align-content:start !important;
  align-items:start !important;
  margin-top:14px !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v326__usecase-item{
  display:grid !important;
  grid-template-columns:42px minmax(0,1fr) !important;
  grid-template-areas:"icon title" "icon text" !important;
  column-gap:10px !important;
  row-gap:3px !important;
  align-content:start !important;
  align-items:start !important;
  height:auto !important;
  min-height:0 !important;
  padding:11px 12px !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v326__usecase-icon{
  grid-area:icon !important;
  width:42px !important;
  height:42px !important;
  margin:0 !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v326__usecase-icon img,
html body .sampro-topic-v271[data-topic] .sampro-topic-v326__usecase-icon svg{
  width:38px !important;
  height:38px !important;
  object-fit:contain !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v326__usecase-item strong{
  grid-area:title !important;
  align-self:end !important;
  font-size:15px !important;
  line-height:1.28 !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v326__usecase-item > span:last-child{
  grid-area:text !important;
  color:var(--sampro-consulting-copy) !important;
  font-size:13px !important;
  line-height:1.4 !important;
}

/* Betrachtungsfelder: keine gestreckten Karten, kompakte Bild- oder Iconzone. */
html body .sampro-topic-v271[data-topic] .sampro-topic-v271__overview-panel{
  padding:22px !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v271__section--overview{
  padding-top:36px !important;
  padding-bottom:38px !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v271__overview-head{
  margin-bottom:18px !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v271__overview-head h3{
  font-size:clamp(25px,2.2vw,34px) !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v271__focus-grid{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  grid-auto-rows:auto !important;
  gap:10px !important;
  align-content:start !important;
  align-items:start !important;
}

html body .sampro-topic-v271[data-topic="sam-quick-check"] .sampro-topic-v271__focus-grid{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v271__focus-card{
  height:auto !important;
  min-height:0 !important;
  align-self:start !important;
  box-shadow:none !important;
}

html body .sampro-topic-v271:is([data-topic="sam-quick-check"],[data-topic="lizenzbilanz-elp-erstellen"]) .sampro-topic-v271__focus-card--media{
  display:grid !important;
  grid-template-columns:1fr !important;
  grid-template-rows:68px auto !important;
  align-content:start !important;
  padding:0 0 13px !important;
}

html body .sampro-topic-v271:is([data-topic="sam-quick-check"],[data-topic="lizenzbilanz-elp-erstellen"]) .sampro-topic-v271__focus-card--media .sampro-topic-v271__focus-media{
  width:calc(100% - 24px) !important;
  max-width:none !important;
  height:68px !important;
  min-height:68px !important;
  margin:12px 12px 0 !important;
  overflow:hidden !important;
  border-radius:12px !important;
}

html body .sampro-topic-v271:is([data-topic="sam-quick-check"],[data-topic="lizenzbilanz-elp-erstellen"]) .sampro-topic-v271__focus-card--media .sampro-topic-v271__focus-media img{
  width:100% !important;
  height:100% !important;
  min-height:0 !important;
  object-fit:cover !important;
}

html body .sampro-topic-v271:is([data-topic="sam-quick-check"],[data-topic="lizenzbilanz-elp-erstellen"]) .sampro-topic-v271__focus-card--media .sampro-topic-v271__focus-body{
  padding:11px 14px 0 !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v271__focus-icon{
  width:46px !important;
  height:46px !important;
  margin:13px 14px 0 !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v271__focus-body{
  padding:10px 14px 14px !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v271__focus-body h4{
  font-size:17px !important;
  line-height:1.25 !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v271__focus-body p{
  margin-top:5px !important;
  font-size:14px !important;
  line-height:1.45 !important;
}

/* Weitere wiederkehrende Karten folgen ebenfalls ihrer tatsaechlichen Textmenge. */
html body .sampro-topic-v271[data-topic] .sampro-topic-v271__flow-steps,
html body .sampro-topic-v271[data-topic] .sampro-topic-v271__result-cards,
html body .sampro-topic-v271[data-topic] .sampro-topic-v326__benefit-grid,
html body .sampro-topic-v271[data-topic] .sampro-topic-v321__practice-grid,
html body .sampro-topic-v271[data-topic] .sampro-topic-v315__audit-grid{
  grid-auto-rows:auto !important;
  align-items:start !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v271__flow-step{
  height:auto !important;
  min-height:0 !important;
  align-self:start !important;
  padding:58px 18px 19px !important;
  box-shadow:none !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v271__result-mini-card,
html body .sampro-topic-v271[data-topic] .sampro-topic-v326__benefit-card,
html body .sampro-topic-v271[data-topic] .sampro-topic-v321__practice-case,
html body .sampro-topic-v271[data-topic] .sampro-topic-v315__audit-card,
html body .sampro-topic-v271[data-topic="kostenoptimierung-softwarelizenzen"] .sampro-cost-v351__practice-card{
  height:auto !important;
  min-height:0 !important;
  align-self:start !important;
  box-shadow:none !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v271__result-mini-card{
  padding:14px 15px !important;
}

html body .sampro-topic-v271[data-topic] .sampro-topic-v321__audit-card{
  padding:20px !important;
  box-shadow:none !important;
}

/* Neue Operating-Model- und Datenqualitaetsmodule. */
html body .sampro-topic-v271[data-topic="sam-prozesse-governance"] .sampro-gov-v353__pillar,
html body .sampro-topic-v271[data-topic="sam-prozesse-governance"] .sampro-gov-v353__step,
html body .sampro-topic-v271[data-topic="tool-und-datenqualitaet"] .sampro-data-v354__source,
html body .sampro-topic-v271[data-topic="tool-und-datenqualitaet"] .sampro-data-v354__step{
  height:auto !important;
  min-height:0 !important;
  align-self:start !important;
  box-shadow:none !important;
}

@media (max-width:1100px){
  html body .sampro-topic-v271[data-topic] .sampro-topic-v326__intro-grid{
    grid-template-columns:1fr !important;
  }

  html body .sampro-topic-v271[data-topic] .sampro-topic-v328__context-main{
    grid-template-columns:minmax(0,1.08fr) minmax(280px,.92fr) !important;
    grid-template-rows:auto !important;
    align-items:stretch !important;
  }

  html body .sampro-topic-v271[data-topic] .sampro-topic-v326__context-figure{
    margin:14px 14px 14px 0 !important;
  }

  html body .sampro-topic-v271[data-topic] .sampro-topic-v271__focus-grid,
  html body .sampro-topic-v271[data-topic="sam-quick-check"] .sampro-topic-v271__focus-grid{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media (min-width:1101px){
  html body .sampro-topic-v271[data-topic] .sampro-topic-v326__context-figure,
  html body .sampro-topic-v271[data-topic] .sampro-topic-v326__context-figure img{
    height:260px !important;
    min-height:260px !important;
  }
}

@media (max-width:720px){
  html body.page-template-page-consulting .consulting-modules-html-v269__grid{
    grid-template-columns:1fr !important;
  }

  html body .sampro-topic-v271[data-topic] .sampro-topic-v328__context-main{
    grid-template-columns:1fr !important;
    grid-template-rows:auto auto !important;
  }

  html body .sampro-topic-v271[data-topic] .sampro-topic-v326__context-copy,
  html body .sampro-topic-v271[data-topic] .sampro-topic-v326__usecases-card{
    padding:20px !important;
  }

  html body .sampro-topic-v271[data-topic] .sampro-topic-v326__context-figure{
    min-height:210px !important;
    margin:0 12px 12px !important;
  }

  html body .sampro-topic-v271[data-topic] .sampro-topic-v326__context-figure img{
    min-height:210px !important;
  }

  html body .sampro-topic-v271[data-topic] .sampro-topic-v271__overview-panel{
    padding:16px !important;
  }

  html body .sampro-topic-v271[data-topic] .sampro-topic-v271__focus-grid,
  html body .sampro-topic-v271[data-topic="sam-quick-check"] .sampro-topic-v271__focus-grid{
    grid-template-columns:1fr !important;
  }

  html body .sampro-topic-v271:is([data-topic="sam-quick-check"],[data-topic="lizenzbilanz-elp-erstellen"]) .sampro-topic-v271__focus-card--media{
    grid-template-columns:108px minmax(0,1fr) !important;
    grid-template-rows:auto !important;
    align-items:stretch !important;
    padding:0 !important;
  }

  html body .sampro-topic-v271:is([data-topic="sam-quick-check"],[data-topic="lizenzbilanz-elp-erstellen"]) .sampro-topic-v271__focus-card--media .sampro-topic-v271__focus-media{
    width:108px !important;
    height:100% !important;
    min-height:108px !important;
    margin:0 !important;
    border-width:0 1px 0 0 !important;
    border-radius:0 !important;
  }

  html body .sampro-topic-v271:is([data-topic="sam-quick-check"],[data-topic="lizenzbilanz-elp-erstellen"]) .sampro-topic-v271__focus-card--media .sampro-topic-v271__focus-body{
    align-self:center !important;
    padding:13px 14px !important;
  }
}

@media (max-width:520px){
  html body .sampro-topic-v271[data-topic] .sampro-topic-v326__usecases-grid{
    grid-template-columns:1fr !important;
  }
}

@media (max-width:430px){
  html body .sampro-topic-v271[data-topic] .sampro-topic-v326__context-copy h2,
  html body .sampro-topic-v271[data-topic] .sampro-topic-v326__usecases-card h2{
    font-size:25px !important;
  }

  html body .sampro-topic-v271:is([data-topic="sam-quick-check"],[data-topic="lizenzbilanz-elp-erstellen"]) .sampro-topic-v271__focus-card--media{
    grid-template-columns:92px minmax(0,1fr) !important;
  }

  html body .sampro-topic-v271:is([data-topic="sam-quick-check"],[data-topic="lizenzbilanz-elp-erstellen"]) .sampro-topic-v271__focus-card--media .sampro-topic-v271__focus-media{
    width:92px !important;
    min-height:116px !important;
  }
}
