:root {
    --header-color: #191633;
    --header-text-color: white;
    --background-color: #F7AE83;
    --button-background-color: #0064A2;
    --button-text-color: white;
    --customers-background-color: #FEF0E7;
    --cost-background-color: #EAEEF9;
    --cost-foreground-color: #0064A2;
    --videos-background-color: #FEF0E7;
    --advantages-background-color: #EAEEF9;
    --shadow: 0px 20px 30px 0px rgba(15, 38, 92, 0.1);
}
@font-face {
    font-family: Sora;
    src: url(/css/Sora/Sora-VariableFont_wght.ttf);
}

html {
    scroll-behavior:smooth;
    scroll-padding-top:6rem;
}
body {
    font-family: Sora;
}

html, body {
    margin: 0;
    padding: 0;
}

h2 {
    font-size:2rem;
    font-weight:700;
}
h1 {
    font-size:4rem;
    line-height:3.8rem;
    font-weight:700;
}

em {
    font-weight:bold;
    font-style:normal;
}

.content {
    width:90%;
    max-width:1100px;
    margin-left:auto;
    margin-right:auto;
}

/*** Header ***/

.header {
    position:fixed;
    z-index:9999;
    top:0;
    left:0;
    width:100%;
    height:3rem;
    background:var(--header-color);
    color:var(--header-text-color);
}

.header .content {
    display:flex;
    justify-content:space-between;
    align-items:center;
    height:3rem;
}

.header-logo {
    height:2rem;
}

.anchors a, .anchors a:visited {
    color:white;
    text-decoration:none;
    margin-left:2rem;
}

.rssLink {
    text-decoration:none;
    display:flex;
    align-items:center;
}
.rssLink img {
    width:30px;
    height:30px;
}

/*** Footer ***/

.footer {
    margin-top:20rem;
    padding:2rem;
    background:var(--header-color);
    color:var(--header-text-color);
}
.footer .content {
    display:flex;
    justify-content:space-between;
    align-items:center;
}
.footer * {
    color:white;
}
.footer img {
    width:10rem;
}

/*** General ***/
button, .button {
    display:inline-block;
    background-color:white;
    color:var(--cost-foreground-color);
    border-radius:5rem;
    margin-left:auto;
    margin-right:auto;
    padding:2rem;
    padding-top:1.5rem;
    padding-bottom:1.5rem;
    text-decoration:none;
    margin-top:auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

#contact-button{
    margin-top:-3rem;
}

/*** Claim ***/

.claim {
    background-image:url(/img/background-top.svg);
    background-repeat:no-repeat;
    background-position: bottom center;
    background-size:cover;
    padding-top:5rem;
    padding-bottom:5rem;
    color:white;
}
.claim .content {
    display:grid;
    grid-template-columns: 3fr 2fr;;
}

.claim-right {
    text-align:center;
    position:relative;
    margin-top: 3rem;
}
img.empower {
    width:200px;
}
img.macbook-iphone {
    position:absolute;
    top:250px;
    left:0;
    width:100%;
}

/*** Products ***/

#product {
    margin-top:7rem;
    margin-bottom:10rem;

}

.product h2{
    text-align: center;
    font-size: 1.5rem;
}

.product {
/*    margin-top:7rem;
    margin-bottom:10rem;*/
    border-radius:1em;
    background-color:white;
    box-shadow:var(--shadow);
    margin-bottom:3rem;
    padding:2rem;
    padding-top:1rem;
    padding-bottom:1rem;
}
.product-logo {
    height:4rem;
    display: block;
    margin: 0 auto;
}


.product-schrift {
    height:6rem;
}
.products {
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
    margin-top: 2rem;
}


#crm {
    background-color:#FEF2F4;
}
.dynamics-screenshot {
    width:100%;
    margin-top:-5rem;
    border-radius:4px;
    box-shadow:var(--shadow);
}
.crm-product {
    padding-top:5rem;
    padding-bottom:2rem;
}
.powered-by-dynamics {
    display:flex;
    flex-direction:row;
    align-items:flex-start;
    gap:1rem;
    padding-bottom:3rem;
}
.dynamics-365-logo {
    height:3rem;
}
#hub {
    margin-top:2rem;
}
.payment {
    width:100%;
}

/*** Customers ***/

#customers {
    margin-top:9rem;
    padding-top:1rem;
    padding-bottom:1rem;
    margin-bottom:5rem;
    background-color:var(--customers-background-color);
}
#customers .content {
    margin-top:-3rem;
    margin-bottom:-6rem;
}
.customers-title {
    display:block;
    margin:0;
}
.customers-grid {
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 3rem;
}
.customer {
    border-radius:1em;
    background-color:white;
    box-shadow:var(--shadow);
    margin-bottom:3rem;
    padding:2rem;
    padding-top:1rem;
    padding-bottom:1rem;
    display:flex;
}
.customer h2 {
    font-size:1.5rem;
}
.customer-logo {
    width:100%;
}
.customer-link {
    width:100%;
    margin-top:auto;
    margin-bottom:auto;
}


/*** Cost ***/

#cost {
    margin-top:4rem;
    padding-top:1rem;
    padding-bottom:1rem;
    margin-bottom:5rem;
    background-color:var(--cost-background-color);
}
#cost .content {
    margin-top:-3rem;
    margin-bottom:-6rem;
}
.cost-banner {
    background: var(--header-color); /* red */
    color: white;
    font-weight: bold;
    padding: 1.5rem;
    font-size: 1rem;
    min-height: 2.5rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cost-banner p{
    margin: auto;
}

.cost-title {
    display:block;
    margin:0;
}
.cost-options {
    /*margin-bottom:-2rem;*/
    display:grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 3rem;
    margin-bottom:2rem;
    margin-top: 1rem;

}
.cost-option {
    background-color:var(--cost-foreground-color);
    color:white;
    border-radius:1rem;
    box-shadow:var(--shadow);
    /*padding:3rem;*/
    /*padding-top:2rem;*/
    padding-bottom: 3rem;

    display:flex;
    flex-direction:column;
    overflow: hidden;

    /*background-image:url(/img/goodnpo-white.svg);
    background-repeat:no-repeat;
    background-position:top 2rem right 3rem;
    background-size:8rem;*/
}
.cost-text-content {
    padding: 0 3rem;


}
.cost-text-content h2 {
    font-size:1.5rem;
}
.cost-button {
    max-width: 50%;
    max-height: 1.2rem;
}

.cost-price {
    display:flex;
    gap:1rem;
}
.cost-per-person {
    font-size:0.5rem;
}
.cost-price-value {
    font-size:3rem;
    margin:0;
}
.cost-chf {
    margin-top:0.8rem;
    margin-bottom:0.5rem;
}
.cost-price-text {
    margin-bottom:2rem;
}

/*** Videos ***/
#videos {
    margin-top: 10rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 5rem;
    background-color: var(--videos-background-color);
}
#videos .content {
    margin-top:-3rem;
    margin-bottom:-6rem;
}
video {
    border-radius:10px;
}
.videos-title {
    display:block;
    margin:0;
}
.video-tabs {
    display:flex;
    flex-direction:row;
    align-items:flex-start;
}
.video-tab {
    border-radius: 10px;
    padding:1rem;
    padding-left:2rem;
    padding-right:2rem;
    background-color:transparent;
    cursor:pointer;
}
.video-tab:hover {
    background-color:#aaaaaa;
}
.video-tab.active {
    background-color:var(--advantages-background-color);
}
.video-tab.active:hover {
    background-color:var(--advantages-background-color);
    cursor:default;
}

/*** Advantages ***/

#advantages {
    margin-top:9rem;
    padding-top:1rem;
    padding-bottom:1rem;
    margin-bottom:5rem;
    background-color:var(--advantages-background-color);
}
#advantages .content {
    margin-top:-3rem;
    margin-bottom:-6rem;
}
.advantages-title {
    display:block;
    margin:0;
}
.advantages-grid {
    display:grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 3rem;
}
.advantage {
    border-radius:1em;
    background-color:white;
    box-shadow:var(--shadow);
    margin-bottom:3rem;
    padding:2rem;
    padding-top:1rem;
    padding-bottom:1rem;
    white-space: normal;   /* allow wrapping */
    word-wrap: break-word; /* break long words if needed */
    overflow-wrap: break-word;
}
.advantage h2 {
    font-size:1.5rem;
}

/*** We Understand ***/

#we-understand {
    margin-top:1rem;
    padding-top:1rem;
    padding-bottom:1rem;
    margin-bottom:10rem;
}
#we-understand .content {
    margin-top:-3rem;
    margin-bottom:-6rem;
}
.we-understand-title {
    display:block;
    margin:0;
}
.spendedirekt-box {
    background-color:var(--cost-foreground-color);
    color:white;
    padding:2rem;
    border-radius:1rem;
}
.spendedirekt-logo {
    width:15rem;
}

/*** Team ***/

#team {
    margin-top:1rem;
    padding-top:1rem;
    padding-bottom:1rem;
    margin-bottom:5rem;
}
.team-photos {
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 4rem;
}
.team-photo img {
    display:block;
    margin-left:auto;
    margin-right:auto;
    width:60%;
    border-radius:9999px;
}

.team-photo {
    margin-bottom: 3rem;
}

.team-photo h2, h3 {
    text-align: center;
}

.team-photo h2{
    margin-bottom: 0;
}

.team-photo h3{
    margin-top: 0;
}



/*** Kontakt ***/

#contact {
    background-color:var(--advantages-background-color);
    margin-top:7rem;
    padding-top:1rem;
    padding-bottom:1rem;
    margin-bottom:5rem;
}
.contact-button {
    box-sizing: border-box;

    background-color:var(--button-background-color);
    width:100%;
    max-width:500px;
    color:white;

    display:flex;
    align-items:center;
    justify-content:center;

    box-shadow:var(--shadow);
}
.button:hover {
    background-color:var(--header-color);
    color: white;
}

.link-button {
    color:white;
    text-decoration:none;
}

.contact-button img{
    width:3rem;
    margin-right:0.5rem;
    border-radius:200px;
}
.email-sent {
    margin-left:auto;
    margin-right:auto;
    margin-top:20px;
    margin-bottom:20px;
}
#contact .content {
    margin-top:-3rem;
    margin-bottom:-6rem;
}
.contact-title {
    display:block;
    margin:0;
}
.contact-content {
    display:grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 3rem;
    margin-top:3rem;
}
.contact-form {
    background-color:white;
    border-radius:1rem;
    box-shadow:var(--shadow);
    padding:2rem;
}
.contact-form label {
    display:block;
    margin-bottom:0.5rem;
}
.contact-form input, .contact-form textarea {
    display:block;
    width:100%;
    border:none;
    background-color:#e9eef9;
    border-radius:0.5rem;
    margin-bottom:1.5rem;
    height:2rem;
}
.contact-form textarea {
    height:10rem;
}
.contact-form button {
    background-color:var(--button-background-color);
    color:white;
    border:none;
    font-size:1rem;
    float:right;
    padding-top:0.5rem;
    padding-bottom:0.5rem;
}

.arrow-up {
    background-color:var(--button-background-color);
    color:white;
    padding:0;
    width:2rem;
    height:2rem;
    text-align:center;
    border-radius:2rem;
    box-shadow:var(--shadow);
    float:right;
    text-decoration:none;
    font-weight:bold;
}

/*** Thank you page ***/
body.thankyou {
    background-color:var(--header-color);
}
body.thankyou .popup {
    background-color:white;
    box-shadow:var(--shadow);
    padding:2rem;
    margin-left:auto;
    margin-right:auto;
    width:40%;
    min-width:400px;
    margin-top:7rem;
    border-radius:1rem;
    text-align:center;
}
body.thankyou .popup a {
    text-decoration:none;
    background-color:var(--button-background-color);
    color:white;
    border:none;
    border-radius:10rem;
    display:inline-block;

    padding:1rem;
    padding-left:2rem;
    padding-right:2rem;
}

/*** AGB Page ***/
.agb {
    margin-top:5rem;
}

/*** Blog ***/
.blog {
    margin-top:5rem;
}
.blog h3 a {
    color:var(--header-color);
    text-decoration:none;
}
.blogtext img {
    max-width:100%;
}
.blogtext em {
    font-weight: normal;
    font-style: italic;
}