:root {
    --color-bg: #ffffff;
    --color-text: #222222;

    --color-main: #229b9d;
    --color-main-dark: #197d7f;
    --color-secondary: #e42b8a;

    --color-border: #cccccc;
}


/* General */

* {
    box-sizing: border-box;
}

body {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;

    font-family: Arial, sans-serif;
    line-height: 1.6;

    color: var(--color-text);
    background: var(--color-bg);
}

h1 {
    margin-top: 0;

    font-size: 2.5rem;
    line-height: 1.1;
}

h2 {
    margin-top: 0;

    font-size: 1.8rem;
    line-height: 1.2;
}

a {
    color: var(--color-main-dark);
}

img {
    max-width: 100%;
}


/* Header */

header,
footer {
    padding: 20px 0;
}

header {
    border-bottom: 1px solid var(--color-border);
}


.header-logo-link {
    display: inline-block;
}

.header-image {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 220px;
    padding: 20px;

    background: url("/assets/media/DSC_3064 kopie.jpg");
    background-size: cover;
    background-position: center;
}

.header-logo-link {
    display: inline-block;
}

.header-logo-badge {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 120px;
    height: 120px;
    padding: 10px;

    background: rgba(255, 255, 255, 0.96);
    border-radius: 50%;

    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.header-logo {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* Navigation */

.main-navigation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;

    padding: 15px;

    background: var(--color-main);
}

.main-navigation a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.main-navigation a:hover {
    text-decoration: underline;
}


/* Sections */

.section-light,
.section-main {
    padding: 50px 40px;
}

.section-light {
    background: white;
    color: var(--color-text);
}

.section-main {
    background: var(--color-main);
    color: white;
}

.section-main a {
    color: white;
}

/*
 * Small white breathing space.
 *
 * Use this instead of:
 *
 * <section class="section-light"></section>
 */

.section-gap {
    height: 60px;

    background: white;
}


/* Normal side photo */

.section-photo {
    display: flex;
    align-items: stretch;
    gap: 40px;
}

.section-photo > * {
    flex: 1 1 300px;
}

.photo {
    position: relative;
    overflow: hidden;

    min-height: 200px;
}

.photo img {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: var(--image-position, center);
}


/* Photo side */

.photo-left {
    flex-direction: row-reverse;
}

.photo-right {
    flex-direction: row;
}


/* Faded background photo */

.section-background {
    position: relative;
    overflow: hidden;
}

.background-photo {
    position: absolute;
    inset: 0;

    background-image: var(--image);
    background-size: cover;
    background-position: var(--image-position, center);
    background-repeat: no-repeat;

    pointer-events: none;
}

.section-background .section-text {
    position: relative;
    z-index: 1;

    width: 52%;
}


.background-right .background-photo {
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        transparent 45%,
        black 75%
    );
}

.background-left .background-photo {
    mask-image: linear-gradient(
        to left,
        transparent 0%,
        transparent 45%,
        black 75%
    );
}

.background-left .section-text {
    margin-left: auto;
}


/* Quote */

.quote {
    margin: 25px 0;

    font-size: 1.25rem;
    font-weight: bold;
    line-height: 1.4;
}


/* Statement */

/*
 * On white:
 * teal line.
 *
 * On teal:
 * white line.
 */

.statement {
    margin: 30px 0;
    padding-left: 20px;

    border-left: 4px solid var(--color-main);
}

.statement p {
    margin: 0;

    font-size: 1.08rem;
    font-weight: bold;
    line-height: 1.5;
}

.section-main .statement {
    border-left-color: white;
}

/* Accent */

.accent {
    color: var(--color-secondary);
}


/* Buttons */

button,
.button {
    display: inline-block;

    padding: 10px 15px;

    color: white;
    background: var(--color-main);

    border: 0;

    font-weight: bold;
    text-decoration: none;
}

.section-main .button,
.section-main button {
    color: var(--color-main-dark);
    background: white;
}


/* Footer */

footer {
    margin-top: 40px;

    border-top: 1px solid var(--color-border);
}


/* Small screens */

@media (max-width: 700px) {
    .header-image {
        min-height: 170px;
    }

    .header-logo-badge {
        width: 95px;
        height: 95px;
        padding: 10px;
    }

    body {
        padding: 10px;
    }

    .section-light,
    .section-main {
        padding: 40px 25px;
    }

    .section-gap {
        height: 16px;
    }

    .section-photo {
        flex-direction: column;
    }

    .section-photo .photo {
        order: 2;

        min-height: 250px;
    }

    .section-photo > :not(.photo) {
        order: 1;
    }

    .section-background .section-text {
        width: 100%;
    }

    .background-photo {
        opacity: 0.10;

        mask-image: none !important;
    }
}