@font-face {
    font-family: OpenSans;
    src: url(OpenSans-Italic.ttf);
    font-style: italic;
}
@font-face {
    font-family: OpenSans;
    src: url(OpenSans-Regular.ttf);
    font-style: normal;
}

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}



/* STYLES */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
*{
    box-sizing: border-box;
}
body{
    font-size: 14px;
    font-family: OpenSans;
    line-height: 1.2em;
}
.headbanner{
    display: none;
    width: 100%;
    background-color: black;
    color: white;
    justify-content: space-around;
    padding: 1em 0;
    @media screen and (min-width: 500px) {
        display: flex;
    }
}
.intro{
    position: relative;
    margin: 10px;
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    @media screen and (min-width: 500px) {
        margin: 20px;
        flex-direction: row;
    }
}
.intro-image-wrapper{
    flex: 66%;
}
.intro-image{
    width: 100%;
}
.intro-logo{
    width: 100%;
    height: auto;
    margin: 1rem 0;
}

.intro-title{
    flex: 66%;
    text-align: center;
    margin-bottom: 3rem;
    @media screen and (min-width: 800px) {
        max-width: 45%;
    }
}
.title1{
    font-size: 2rem;
    font-style: italic;
    line-height: 1.25em;
    @media screen and (min-width: 800px) {
        font-size: 3rem;
    };
    @media screen and (min-width: 1200px) {
        font-size: 4rem;
    };
    span{
        line-height: 0.8em;
        display: block;
        font-size: 0.5em;
    }
}
.angebot{
    margin: 40px 10px;
    .title3{
        margin: 10px;
    }
}

.angebot-card{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    &:before{
        content:"";
        position: absolute;
        display: block;
        background-image: url(kaminfeger-figur.jpg);
        width: 40px;
        height: 40px;
        background-size: 50%;
        background-repeat: no-repeat;
        background-position: center;
        background-color: #fff;
        border-radius: 50%;
        border: 1px solid black;
        left: calc(50% - 20px);
        top: -20px;

    }
    flex: calc(50% - 20px);
    padding: 20px;
    padding-top: 30px;
    margin: 10px;
    border: 1px solid black;
    @media screen and (min-width: 800px) {
        flex: calc(25% - 20px);
    }
    background-color: black;
    color: white;
    font-size: 1rem;
    line-height: 1.5em;
    
}
.angebot-card a{
    display: block;
    width: 100%;
    text-align: center;
    color: white;
    background-color: white;
    padding: 1em;
    margin-top: 4em;
    color: black;
    text-decoration: none;
}
.visitenkarte{
    margin: 20px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    border: 1px solid black;
    padding: 20px;
    box-sizing: border-box;
    @media screen and (min-width: 1000px) {
        max-width: calc(50% - 30px);
        margin: 0 auto;

    }
    .visitenkarte-inner{
        flex: 67%
    }
    .visitenkarte-portrait{
        display: block;
        @media screen and (min-width: 500px) {
            width: 33%;
        }
    }
    a{
        display: inline-block;
        text-align: center;
        color: white;
        background-color: black;
        padding: 1em;
        text-decoration: none;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}
img{
    max-width: 100%;
}
.wrapper{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
}
footer{
    margin-top: 40px;
    background-color: black;
    color: white;
    padding: 20px;
    a{
        color: white;
    }
}

.title2{
    font-size: 2rem;
    @media screen and (min-width: 800px) {
        font-size: 3rem;
    }
}
.title3{
    font-size: 1rem;
    margin-bottom: 0.5em;
    line-height: 1.2em;
    @media screen and (min-width: 800px) {
        font-size: 1.5rem;
        margin-bottom: 0.5em;
        line-height: 1.2em;
    }
}