<div class="stripe stripe--gray">
    <div class="container-xl container-vertical-spacing-xl">
        <div class="text-image-box">
            <div class="text-image-box__text">
                <h2 class="text-image-box__title">Warum INNOQ?</h2>
                <p>Unsere Consultants beraten seit mehr als 25 Jahren KMU und Konzerne und setzen IT-Systeme jeder Größe um.</p>
                <p>Wir betrachten Technologie nicht als Selbstzweck, sondern als Enabler für die Lösung echter Probleme.</p>
                <div class="text-image-box__actions">
                    <a class="btn btn--cta btn--small" href="#">Mehr erfahren</a>
                    <a class="btn btn--small" href="#">Schreiben Sie uns</a>
                </div>
            </div>
            <div class="text-image-box__image bg-image-culture-17" role="img" aria-label="Publikum bei einer INNOQ-Veranstaltung"></div>
        </div>
    </div>
</div>
<div class="stripe stripe--gray">
    <div class="container-xl container-vertical-spacing-xl">
        <div class="text-image-box">
            <div class="text-image-box__text">
                <h2 class="text-image-box__title">Warum INNOQ?</h2>
                <p>Unsere Consultants beraten seit mehr als 25 Jahren KMU und Konzerne und setzen IT-Systeme jeder Größe um.</p>
                <p>Wir betrachten Technologie nicht als Selbstzweck, sondern als Enabler für die Lösung echter Probleme.</p>
                <div class="text-image-box__actions">
                    <a class="btn btn--cta btn--small" href="#">Mehr erfahren</a>
                    <a class="btn btn--small" href="#">Schreiben Sie uns</a>
                </div>
            </div>
            <div class="text-image-box__image bg-image-culture-17" role="img" aria-label="Publikum bei einer INNOQ-Veranstaltung"></div>
        </div>
    </div>
</div>
/* No context defined. */
  • Content:
    $text-image-box-max-width: 68rem;
    $text-image-box-image-min-height: 16rem;
    $text-image-box-image-min-height-wide: 20rem;
    $text-image-box-shade: rgba(0, 0, 0, 0.15);
    
    .text-image-box {
      @extend %heading-font-regular;
    
      display: grid;
      gap: $spacer-base;
    
      width: 100%;
      max-width: $text-image-box-max-width;
      margin: 0 auto;
      padding: $spacer-base;
    
      color: $brand-secondary;
    
      background-color: $brand-white;
    
      @media screen and (min-width: $grid-breakpoint-md-lg) {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: $spacer-xl;
        align-items: center;
        padding: $spacer-lg $spacer-lg $spacer-lg $spacer-xl;
      }
    }
    
    .text-image-box--mirrored {
      @media screen and (min-width: $grid-breakpoint-md-lg) {
        padding: $spacer-lg $spacer-xl $spacer-lg $spacer-lg;
      }
    }
    
    .text-image-box__title {
      @extend %heading-font-heavy;
    
      margin: 0 0 $spacer-sm;
      font-size: $font-size-xl;
      color: inherit;
    }
    
    .text-image-box__text {
      p {
        margin: 0 0 $spacer-sm;
        font-family: inherit;
        font-size: $font-size-sm;
        line-height: 1.52;
      }
    
      a:not([class]) {
        color: inherit;
        border-bottom-color: currentcolor;
      }
    }
    
    .text-image-box__actions {
      display: flex;
      flex-wrap: wrap;
      gap: $spacer-sm;
      margin-top: $spacer-sm;
    
      .btn {
        margin: 0;
        text-align: center;
      }
    }
    
    .text-image-box__image {
      min-height: $text-image-box-image-min-height;
    
      background-color: transparent;
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
      background-blend-mode: normal;
      box-shadow: inset 0 0 0 100vmax $text-image-box-shade;
    
      @media screen and (min-width: $grid-breakpoint-md-lg) {
        align-self: stretch;
        min-height: $text-image-box-image-min-height-wide;
      }
    }
    
    .text-image-box__image--landscape {
      aspect-ratio: 4 / 3;
      min-height: 0;
    
      @media screen and (min-width: $grid-breakpoint-md-lg) {
        aspect-ratio: auto;
        min-height: $text-image-box-image-min-height-wide;
      }
    }
    
  • URL: /components/raw/text-image-box/_text-image-box.scss
  • Filesystem Path: components/04-molecules/text-image-box/_text-image-box.scss
  • Size: 2 KB
  • Handle: @text-image-box
  • Preview:
  • Filesystem Path: components/04-molecules/text-image-box/text-image-box.html

A white box with text and a photo side by side, for sections like „Warum INNOQ?“. Put the image first in the markup and add text-image-box--mirrored for the photo on the left. Photos are slightly darkened; any petrol tint of a bg-image-* class is switched off. text-image-box__image--landscape shows the photo in 4:3 above the text on small screens.