/** globale Definitionen **/
:root {
    --fontFamily: Calibri, sans-serif;

    --textColor: #000;
    --borderColor: #000;
    --bulletColor: #004471;
    --h1Color: #004471;
    --h1BackColor: transparent;
    --h2Color: rgb(161, 191, 54);
    --h2BackColor: transparent;
    --h3Color: #003b5c;
    --h3BackColor: transparent;

    --aColor: #003b5c;
    --aHoverColor: #004471;
    --btnBackColor: #003b5c;
    --btnBackHoverColor: #004471;
    --btnTextColor: #fff;
    --btnTextHoverColor: #fff;
}

/** Schriften **/
@font-face {
    font-family: "Calibri";
    src: url("../fonts/Calibri.woff");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
  }

  @font-face {
    font-family: "Calibri";
    src: url("../fonts/Calibri-Bold.woff");
    font-weight: bold;
    font-style: normal;
    font-display: swap;
  }

/** Reset **/
* {
    margin: 0;
    padding: 0;
    position: relative;
    box-sizing: border-box;
    font-size: 18px;
    line-height: 24px;
}

html,
body {
    background-color: #fff;
}

p {
    padding: 5px 0;
}

ul,
ol {
    padding: 5px 0 5px 25px;
}

a {
    color: var(--aColor);
    text-decoration: none;
}
a:hover {
    color:var(--aHoverColor);
}

/** Standards **/
#wrapper {
    margin: auto;
    max-width: 900px;
    font-family: var(--fontFamily);
    border: solid 1px #666;
}

h2:empty,
div:empty,
p:empty,
li:empty {
    display: none;
    padding: 0 !important;
    margin: 0 !important;
}

a[href^="tel:"] {
    white-space: nowrap;
}

ul {
    margin-left: 15px;
    margin-top: 0;
    padding-top: 0;
    -webkit-margin-before: 0px;
    -webkit-padding-start: 0px;
    -moz-margin-before: 0px;
    -moz-padding-start: 0px;
    list-style: none;
}
ul li {
    position: relative;
    margin-bottom: 0;
}
ul li::before {
    content: "";
    background: var(--bulletColor);
    position: absolute;
    left: 0;
    top: 11px;
    height: 4px;
    width: 4px;
    border-radius: 50%;
    margin-left: -15px;
}

body {
    color: var(--textColor);
}

#title {
    padding: 20px 0;
}
h1 {
    color: var(--h1Color);
    font-size: 36px;
    line-height: 38px;
    padding: 10px 0 20px;
    font-weight: bold;
}

h2 {
    color: var(--h2Color);;
    font-size: 26px;
    line-height: 28px;
    padding: 20px 0 10px;
    font-weight: bold;
}

h3 {
    color: var(--h3Color);;
    font-size: 20px;
    line-height: 28px;
    padding: 20px 0 5px;
    font-weight: bold;
}

.btn {
    background-color: var(--btnBackColor);
    color: var(--btnTextColor);
}

.btn:hover {
    background-color: var(--btnBackHoverColor);
    color: var(--btnTextHoverColor);
}


#logo {
    margin-top: 50px;
    padding-left: 27px;
    margin-bottom: 50px;
    width: 94%;
    max-width: 477px;

}
header img {
    width: 100%;
}

main {
    padding: 0 30px 0 105px;
}
#modalities li {
    padding: 0 0 4px 0;
}
#modalities li::before {
    content: none;
}
#modalities ul {
    display: grid;
    grid-template-columns: 50% 50%;
    margin-bottom: 20px;
    margin-left: 0;
}
#modalities svg {
    float: left;
    width: 32px;
    height: 32px;
    margin: 0 12px 9px 0;
}

#application {
    background-color: #aebbc4;
    margin: 20px -30px 0 -105px;
    padding: 0 30px 20px 105px;
    display: grid;
    color: #fff;
    font-weight: bold;
    /* grid-template-columns: 0 100%; */
}
#application:has( > div:first-of-type > img ) {
    grid-template-columns: 30% 70%;
    padding: 0 0 50px 0;;
}
#application h2 {
    margin-top: 30px;
    color: #fff;
}
#application img {
    width: 70%;
    max-width: 160px;
    margin: 50px 0 0 20%;
}
#application img + img {
    margin-top: 10px;
}


a.btn {
    margin-top: 20px;
    display: inline-block;
    text-decoration: none;
    align-items: center;
    padding: 9px 16px 10px;
    margin: 15px 0 20px;
    border-radius: 6px;
    color: #fff;
    background: var(--aColor);
    white-space: nowrap;
    font-weight: normal;
}
.btn::before {
    display: none;
}
.btn:hover {
    color: #fff;
}
.btn svg{
  vertical-align: middle;
}

ul:has( .benefit ) {
    list-style: none;
    display: grid;
    grid-template-columns: 50% 50%;
    text-align: center;
    margin-left: 0;
}
ul:has( li:nth-child(3) .benefit ) {
    grid-template-columns: 33% 33% 33%;
}
ul:has( li:nth-child(4) .benefit ) {
    grid-template-columns: 25% 25% 25% 25%;
}
ul:has( li:nth-child(5) .benefit ) {
    grid-template-columns: 20% 20% 20% 20% 20%;
}

ul:has( .benefit ) li::before {
    content: none;
}
ul:has( .benefit ) li:last-of-type {
    grid-column-start: 1;
    grid-column-end: 3;
    padding-top: 30px;
}
ul:has( li:nth-child(3) .benefit ) li:last-of-type {
    grid-column-end: 4;
}
ul:has( li:nth-child(4) .benefit ) li:last-of-type {
    grid-column-end: 5;
}
ul:has( li:nth-child(5) .benefit ) li:last-of-type {
    grid-column-end: 6;
}

img.benefit {
    max-width: 140px;
    width: 70%;
    margin: auto;
    margin-bottom: -10%;
    display: block;

}

@media screen and ( max-width: 550px ) {
    main, #application {
        padding: 0 5% 0 5%;
    }
    #application {
        margin: 20px -5.2% 0 -5.2%;
    }
    #application img {
        width: 80%;
        margin: 50px 0 0 10%;
    }
    ul:has( .benefit ) {
        grid-template-columns: 50% 50% !important;
    }
    ul:has( .benefit ) li:last-of-type {
        grid-column-end: 3 !important;

    }
    #logo {
        margin-top: 25px;
        margin-bottom: 25px;
    }
}

@media screen and ( max-width: 400px ) {
    #modalities ul {
        grid-template-columns: 100%;
    }
}

.noWrap {
    white-space: pre;
    word-break: keep-all;
  }