*+*{box-sizing:border-box;margin:.5em 0}@media(min-width:35em){.col{display:table-cell}.\31{width:5%}.\33{width:22%}.\34{width:30%}.\35{width:40%}.\32{width:15%}.row{display:table;border-spacing:1em 0}}.row,.w-100{width:100%}.card:focus,hr{outline:0;border:solid var(--highlight-color)}.card,pre{padding:1em;border:solid #eee}.btn:hover{opacity:.6}.c{max-width:70em;padding:1em;margin:auto;font:1em/1.6 nunito}h6{font:300 1em nunito}h5{font:300 1.2em nunito}h3{font:300 2em nunito}h4{font:300 1.5em nunito}h2{font:300 2.2em nunito}h1{font:300 2.5em nunito}a{color:var(--highlight-color);text-decoration:none}.btn.primary{font-size:1.1em;color:#fff;background:var(--highlight-color);border:solid var(--highlight-color)}td,th{padding:1em;text-align:left;border-bottom:solid #eee}.btn{padding:1em;letter-spacing:.1em;text-transform:uppercase;background:#fff;border:solid;font:.7em nunito}

/* nunito-300 - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/nunito-v26-latin_latin-ext-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-regular - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/nunito-v26-latin_latin-ext-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* nunito-700 - latin_latin-ext */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Nunito';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/nunito-v26-latin_latin-ext-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

:root {
    --ci-blue-color: #25076b;
    --light-blue-color: #6DB3F8;
    --highlight-color: #FF6819;
    --highlight-dark-color: #f80;

    --navhover-color: #6DB3F8;

    --mobile-width: 1120px;
}

html {
    scroll-behavior: smooth;
}

a, button, p {
    font-family: nunito;
}

#logo * {
    height: auto;
    max-width: 400px;
    width: 80%;
}

nav {
    position: relative;
    right: 0;
    margin-left: auto;

    >ul {
        list-style-type: none;
        display: flex;

        li {
            margin: 0;

            button {
                background: none;
                border: none;
                color: var(--ci-blue-color);
                cursor: pointer;
                font-size: 1.8em;
                line-height: .5em;
                padding: .5em;
                padding-top: .6em;

                &::after {
                    content: '';
                    position: relative;
                    left: 50%;
                    top: 20px;
                    display: block;
                    border-right: 4px solid var(--ci-blue-color);
                    border-bottom: 4px solid var(--ci-blue-color);
                    width: 12px;
                    height: 12px;
                    transform: translate(-50%, -50%) rotate(45deg);
                }
            }

            a {
                color: var(--ci-blue-color);
                font-size: 1.8em;
                padding: .5em;

                &:hover {
                    color: var(--highlight-dark-color);
                }
            }

            >ul {
                display: none;
                list-style-type: none;
                margin-left: 10px;
                padding: 0;
                position: absolute;
                box-shadow: 1px 1px 2px #555;
                
                >li {
                    background-color: #fff;
                    border: 1px solid #eee;
                    border-bottom: none;
                    &:last-of-type {
                        border-bottom: 1px solid #eee;
                    }

                    >a {
                        display: inline-block;
                        font-size: 1.3em;
                        padding: .2em 1em;
                    }
                }
            }
        }
    }
}

@media all and (max-device-width: 1120px)   {
    .c-hamburger + header > div > nav {
        background: linear-gradient(162deg,rgba(37, 7, 107, 1) 0%, rgba(76, 100, 184, 1) 34%, rgba(109, 179, 248, 1) 81%, rgba(138, 164, 203, 1) 100%);
        display: block;
        left: 0;
        margin-left: 0;
        margin-top: 0;
        min-height: 100vh;
        position: absolute;
        top: 0;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        > ul {
            display: block;
            padding-left: 0;
    
            a, button {
                color: #fff;
            }
            button::after {
                border-color: #fff;
                color: #fff;
                left: calc(100% + 20px);
                top: -10px;
                transition: all 0.3s ease;
            }
            button:hover::after {
                transform: scale(1.1);
            }
    
            ul {
                overflow: hidden;
                position: relative;
                width: 80%;
    
                a {
                    color: var(--ci-blue-color);
                }
            }
        }
    }

    input:checked + .c-hamburger + header > div > nav {
        height: 50vh;
        transform: translateX(0);
        width: 100%;
        
    }
}


/* ===================
   HAMBURGER MENU
   =================== */
/* -----------------------------------------------------------------------------

  HAMBURGER ICONS COMPONENT

----------------------------------------------------------------------------- */
/**
 * Toggle Switch Globals
 *
 * All switches should take on the class `c-hamburger` as well as their
 * variant that will give them unique properties. This class is an overview
 * class that acts as a reset for all versions of the icon.
 */

input#hamburger {
    display: none;
}
.c-hamburger > label {
    display: block;
    height: 100%;
}

.c-hamburger {
	display: none;
	position: fixed;
	right:0;
	top:60px;
	overflow: hidden;
	margin: 0;
	padding: 0;
	width: 66px;
	height: 60px;
	font-size: 0;
	text-indent: -9999px;
	appearance: none;
	box-shadow: none;
	border-radius: default;
	border: 1px solid #fff;
	border-right: 0;
	cursor: pointer;
	transition: background 0.3s;
	z-index: 50;
}

.c-hamburger:focus {
	outline: none;
}

.c-hamburger span {
	display: block;
	position: absolute;
	top: 26px;
	left: 14px;
	right: 14px;
	height: 8px;
	background: white;
}

.c-hamburger span::before,
.c-hamburger span::after {
	position: absolute;
	display: block;
	left: 0;
	width: 100%;
	height: 8px;
	background-color: #fff;
	content: "";
}

.c-hamburger span::before {
	top: -16px;
}

.c-hamburger span::after {
	bottom: -16px;
}

/**
 * Style 2
 *
 * Hamburger to "x" (htx). Takes on a hamburger shape, bars slide
 * down to center and transform into an "x".
 */
.c-hamburger--htx {
	background-color: var(--ci-blue-color);
}

.c-hamburger--htx span {
	-webkit-transition: background 0s 0.3s;
	transition: background 0s 0.3s;
}

.c-hamburger--htx span::before,
.c-hamburger--htx span::after {
	-webkit-transition-duration: 0.3s, 0.3s;
	transition-duration: 0.3s, 0.3s;
	-webkit-transition-delay: 0.3s, 0s;
	transition-delay: 0.3s, 0s;
}

.c-hamburger--htx span::before {
	-webkit-transition-property: top, -webkit-transform;
	transition-property: top, transform;
}

.c-hamburger--htx span::after {
	-webkit-transition-property: bottom, -webkit-transform;
	transition-property: bottom, transform;
}

/* active state, i.e. menu open */
input:checked + .c-hamburger--htx,
input:checked + .c-hamburger--htx {
	background-color: var(--highlight-color);
}

input:checked + .c-hamburger--htx span {
	background: none;
}

input:checked + .c-hamburger--htx span::before {
	top: 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}

input:checked + .c-hamburger--htx span::after {
	bottom: 0;
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}

input:checked + .c-hamburger--htx span::before,
input:checked + .c-hamburger--htx span::after {
	-webkit-transition-delay: 0s, 0.3s;
	transition-delay: 0s, 0.3s;
}


@media all and (max-device-width : 1120px)   {
	.c-hamburger {
		display: inline-block;
	}
}

/* ==================
   HAMBURGER MENU END
   ================== */

header {
    margin-top: 0;
}

header div.c {
    display: flex;
}

@media all and (max-device-width : 1120px)   {
    
    header div.c {
        box-sizing: border-box;
        overflow-x: clip;
        overflow-y: visible;
        position: relative;
        top: 0;
        width: 100%;
        z-index: 1;
    }

    input:checked + button + header div.c {
        overflow-x: visible;

        nav {
            position: fixed;
        }
    }
}

div.header {
    background: linear-gradient(180deg, var(--ci-blue-color) 0%, var(--light-blue-color) 100%);

    img.tc {
        border-top: 2px solid var(--ci-blue-color);
        border-bottom: 2px solid var(--light-blue-color);
        height: auto;
        max-width:100%;
        min-height: 130px;
        object-fit: cover;
    }
}

/* SEAL */

div.seal {
    padding: 1em;
    position: absolute;
    right: 0;

    picture, img {
        width: 100%;
        height: auto;
    }
}

header div.seal {
    max-width: 220px;
    top: 520px;
    @media all and (max-device-width : 1280px) {
        top: 400px;
    }
    @media all and (max-device-width : 768px) {
        max-width: 180px;
        top: 200px;
    }
}

div.tc.header:has( > picture > img[height="400"] ) + div.seal {
    top: 300px;
    @media all and (max-device-width : 768px) {
        top: 200px;
    }
}

footer div.seal {
    max-width: 200px;
    bottom: 20px;
    @media all and (max-device-width : 1024px) {
        bottom: 0;
        margin: auto;
        position: relative;
    }
}

/* SEAL END */

h1 span {
    display: block;
    font-weight: bold;
    margin: 5px 0;

    &.topline {
        color: var(--highlight-color);
        font-size: 1rem;
    }
}

h2 {
    font-size: 2em;
    margin-top: 4rem;
}

div.cards {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: right;

    > div.card {
        box-sizing: border-box;
        border: none;
        box-shadow: #000 0px 0px 0px 0px, #000 0px 0px 0px 0px, rgba(0, 0, 0, 0.25) 0px 0px 10px -1px, rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
        display: inline-block;
        flex-grow: 0;
        flex-shrink: 1;
        flex-basis: auto;
        margin: 10px;
        width: 30%;
        padding-top: 0;

        > h3 {
            font-size: 1.7em;
        }

        > picture {
            display: inline-block;
            width: calc(100% + 2em);
            position: relative;
            left: -1em;
            
            > img {
                border-bottom: 3px solid var(--light-blue-color);
                height: auto;
                margin: 0;
                max-width: 100%;
            }
        }

        > a.btn {
            color: var(--ci-blue-color);
            display: inline-block;
            font-size: .9rem;
            font-weight: bold;
            margin: 15px 0 10px 0;
            transition: color .2s ease-in-out;

            &:hover {
                opacity: 1;
                color: var(--light-blue-color);
            }
        }
    }
}

@media all and (max-device-width : 768px) {
    div.cards > div.card {
        width: 45%;
    }
}
@media all and (max-device-width : 560px) {
    div.cards > div.card {
        width: 95%;
    }
}

div.contact {
    background-color: #eee;
    border-top: 2px solid var(--ci-blue-color);
    border-bottom: 2px solid var(--light-blue-color);
    
    h2 {
        font-weight: bold;
    }
    ul {
        list-style-type: none;
        font-size: 2em;
    }
}

div.benefits {
    > ul {
        list-style-type: none;
        position: relative;

        > li {
            position: relative;
            
            &::before {
                color: var(--highlight-color);
                content: '+';
                font-size: 3em;
                font-weight: bold;
                left: -20px;
                position: absolute;
                top: -40px;
            }
        }
    }
}

div.history {
    > ul {
        list-style-type: none;
        position: relative;

        > li {
            position: relative;
            
            &::before {
                color: var(--highlight-color);
                content: '+';
                font-size: 3em;
                font-weight: bold;
                left: -20px;
                position: absolute;
                top: -40px;
            }
        }
    }
}

div.images {
    img {
        border-bottom: 4px solid var(--light-blue-color);
        height: auto;
        max-width: 45%;
        margin-right: 15px;
    }
}

picture.blue-bottom img {
    border-bottom: 4px solid var(--light-blue-color);
}

blockquote {
    border-left: 3px solid #666;
    padding: 0 0 0 10px;
    margin: 1em 50px 1em 50px;
    max-width: 500px;
    p {
        font-style: italic;
        line-height: 2em;

        &:first-of-type::before {
            content: "„";
            font-size: 5em;
            line-height: 0;
            color: #666;
            position: relative;
            top: -10px;
        }

        &:last-of-type {
            font-weight: bold;
            text-align: right;
        }
    }
}

footer {
    background-color: var(--ci-blue-color);
    background: linear-gradient(162deg,rgba(37, 7, 107, 1) 0%, rgba(76, 100, 184, 1) 34%, rgba(109, 179, 248, 1) 81%, rgba(138, 164, 203, 1) 100%);
    color: #fff;
    padding: 1em;
    position: relative;
    margin:80px 0 0 0;

    a {
        text-shadow: 0 1px #796464;
        color: #fff;
    }
    a:hover {
        text-decoration: underline;
    }
}

/* Forms with floating labels */

form {
  scroll-margin-top: 3em;
}

form * {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

  .input-wrapper {
    position: relative;
    margin-top: 30px;
    margin-inline: auto;
    max-width: 400px;
  }

  .input-wrapper.url {
    display: none;
  }
  
  input,
  textarea {
    font-family: nunito;
    font-size: 20px;
    width: 100%;
    padding: 8px 0;
    padding-right: 30px;
    color: #333;
    border: none;
    border-bottom: 1px solid #ddd;
    transition: border-color 250ms;
    background-color: transparent;
  }
  textarea {
    height: 150px;
    resize: none;
  }
  input:focus,
  textarea:focus {
    outline: none;
    border-bottom-color: #777;
  }
  input::placeholder,
  textarea::placeholder {
    color: transparent;
  }
  input::-webkit-contacts-auto-fill-button,
  textarea::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    pointer-events: none;
    position: absolute;
  }
  
  div > label {
    background: #fff;
    position: absolute;
    top: 8px;
    left: 0;
    color: #43454e;
    pointer-events: none;
    transform-origin: left center;
    transition: transform 250ms;
    font-family: "Iowan Old Style", "Palatino Linotype", "URW Palladio L", P052, serif;
  }

  form div > label.error {
    background-color: var(--highlight-color);
    border-radius: 4px;
    color: #fff;
    padding: 0 3px;
    transform: translateY(-100%) scale(0.75);
  }
  
  input:focus + label,
  textarea:focus + label,
  input:not(:placeholder-shown) + label,
  textarea:not(:placeholder-shown) + label {
    transform: translateY(-100%) scale(0.75);
  }
  
  .clear {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    position: absolute;
    top: 50%;
    right: -9px;
    transform: translateY(-50%);
    background: none;
    border: none;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    color: #777;
    transition: color 250ms;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .clear:hover, .clear:focus {
    color: #333;
  }
  
  input:placeholder-shown + label + .clear {
    display: none;
  }

  input[type=submit] {
    background-color: var(--ci-blue-color);
    border: 1px solid var(--ci-blue-color);
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    padding: 1rem;
    transition: all .2s ease-in;
  }

  input:hover[type=submit] {
    background-color: var(--light-blue-color);
  }
