/* Variablen */
:root {
    --color-start: #4c5077;
    /* auch für Buch und About */
    --color-coach: #00879b;
    /* auch für Film */
}

/* Border Box Model */
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

*,
*:before,
*:after {
    box-sizing: inherit;
}

/* Main Layout */
body {
    font-family: 'Roboto', sans-serif;
    font-size: 100%;
    color: #666;
}

.wrapper {
    max-width: 960px;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-bottom: 1px solid #e0212d;
    padding: 20px 10px 0 0;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 99;
}

header img {
    max-width: 90%;
    width: 420px;
}

#werkstatt {
    padding-top: 310px;
}

#coaching article,
#buch article,
#film article,
#about article {
    padding-top: 265px;
}

#imprint article {
    display: block;
}

#coaching figure > img,
#buch figure > img,
#film figure > img {
    max-width: 90%;
    width: 400px;
    /* margin-left: 2rem; */
    /* opacity: 0.7; */
    z-index: 1;
}

#buch figure > img,
#film figure > img {
    width: 340px;
}

.left img {
    max-width: 100%;
    box-shadow: 4px 4px 12px #333;
    margin-bottom: 1em;
}

section article {
    display: grid;
    grid-template-columns: 3fr 5fr 2fr;
    grid-gap: 20px;
}


.center {
    grid-row: 1/3;
    grid-column: 2/3;
}

.left {
    grid-row: 2/3;
    grid-column: 1/2;
    align-self: center;
    justify-self: end;
    padding: 0 0 0 20px;
    width: 200px;
}

main a[href="#top"] {
    grid-row: 2/3;
    grid-column: 3/4;
}

#imprint a[href="#top"] {
    float: right;
}

.video {
    width: 340px;
}

article section {
    background: rgba(255, 255, 255, 0.9);
    padding: 20px;
    word-spacing: 0.14em;
    letter-spacing: 0.04em;
}

div#wb1,
div#wb2,
div#wb3,
div#wb4,
div#wb5,
div#wb6 {
    height: 52px;
}

#about img {
    width: 100%;
    margin-bottom: 20px;
}

figure {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

/* Background Images */
section {
    background-position: center 40px;
    background-repeat: no-repeat;
    background-size: contain;
}

section#werkstatt {
    background-image: url(bg-start-1.jpg);
    background-position: center 5px;
}

section#coaching {
    background-image: url(bg-coach.jpg);
    background-position: center 35px;
}

section#buch {
    background-image: url(bg-buch.jpg);
}

section#film {
    background-image: url(bg-film.jpg);
}

section#about {
    background-image: url(bg-about.jpg);
    background-position: center 15px;
}

/* Navigation */
nav {
    margin: 10px 0 5px 0;
}

a.icon {
    display: none;
}

nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

nav li {
    display: inline-block;
    margin-left: 12px;
}

nav li:first-child {
    margin-left: 0;
}

nav a {
    text-decoration: none;
    color: #008d9b;
}

div.jumptop {
    width: 18px;
    height: 18px;
    border-top: 2px solid #e0212d;
    border-left: 2px solid #e0212d;
    transform: rotate(36deg) skewX(160deg);
    margin-right: 10px;
}

main a[href="#top"] {
    display: block;
    align-self: end;
    justify-self: end;
}

#werkstatt ul {
    list-style: none;
    padding: 0;
}

/* Schrift */

#werkstatt ul a,
#kontakt a,
#imprint a {
    text-decoration: none;
    color: var(--color-start);
}

#film a {
    text-decoration: none;
    color: var(--color-coach);
}

#werkstatt article,
#buch article {
    color: var(--color-start);
}

#coaching article,
#film article {
    color: var(--color-coach);
}

h2 {
    margin: 0;
}

#imprint h3 {
    margin-left: 20px;
}

h3#dse {
    cursor: pointer;
}

p,
h2,
article ul {
    margin-top: 0;
    line-height: 1.4em;
    font-size: 0.9rem;
}

#about div {
    text-align: right;
    margin-top: 190px;
}

article > p,
#about div p {
    padding: 20px 0 0 20px;
    line-height: 1.4em;
    font-size: 1rem;
    font-style: italic;
    text-indent: 0;
}

article div#dse-content > p {
    padding: 0 0 0 20px;
}

#about div p {
    font-size: .8rem;
}

#coaching article > p,
#film article > p {
    color: #fff;
    text-shadow: 0 0 2px var(--color-coach);
}

#werkstatt article > p {
    color: #fff;
    text-shadow: 0 0 2px var(--color-start);
}

nav {
    font-size: 0.9rem;
}

strong {
    font-weight: 700;
}

strong.imp { /* für Keywords, die nicht fett sein sollen */
    font-weight: normal;
}

p.small {
    font-style: normal;
    font-size: 0.7rem;
}

/* Media Queries */
@media all and (max-width:959px) {

    section article {
        display: block;
        margin: 0 auto;
        max-width: 60%;
    }

    main a[href="#top"] {
        float: right;
    }

    #werkstatt {
        padding-top: 210px;
    }

    #coaching article,
    #buch article,
    #film article {
        padding-top: 160px;
    }

    #about article {
        padding-top: 135px;
    }

    #about div {
        text-align: left;
        background: rgba(255, 255, 255, 0.9);
    }

    #film article > p {
        color: var(--color-coach);
        text-shadow: none;
    }

    div#wb1,
    div#wb2,
    div#wb3,
    div#wb5 {
        height: 50px;
    }
}

@media all and (max-width:740px) {
    section article {
        max-width: 70%;
    }

    header {
        display: block;
        text-align: center;
    }

    div#wb1,
    div#wb2,
    div#wb3,
    div#wb4,
    div#wb5 {
        height: 85px;
    }

    #about article {
        padding-top: 14px;
    }

    nav ul {
        display: flex;
        justify-content: space-around;
    }

    nav li {
        margin-left: 0;
    }

    #werkstatt {
        padding-top: 170px;
    }

    #coaching article,
    #buch article,
    #film article {
        padding-top: 120px;
    }

    #about article {
        padding-top: 95px;
    }

}

@media all and (max-width:600px) {
    section article {
        max-width: 100%;
    }

    #coaching article,
    #buch article,
    #film article {
        padding-top: 120px;
    }

    #about article {
        padding-top: 100px;
    }

    header {
        padding: 20px 0 0;
    }

    section {
        background-size: 600px;
    }

}

@media all and (max-width:480px) {
    #werkstatt {
        padding-top: 70px;
    }

    #coaching article {
        padding-top: 80px;
    }

    #buch article,
    #film article {
        padding-top: 70px;
    }

    #about article {
        padding-top: 50px;
    }

    #film article > p {
        color: #fff;
        text-shadow: 0 0 2px var(--color-coach);
    }

    section {
        background-size: 480px;
    }

    div#wb1,
    div#wb2,
    div#wb3,
    div#wb4,
    div#wb5 {
        height: 250px;
    }

    /* mobile Navigation */

    nav {
        display: none;
    }
    nav.responsive {
        display: block;
    }

    nav ul {
        display: block;
    }

    nav li {
        display: block;
    }

    nav a {
        color: var(--color-start);
        display: block;
        padding: 10px 0;
        background-color: #e5e6eb;
        border-bottom: 1px solid #fff;
    }
    
    a.icon {
        display: inline-block;
        font-size: 2rem;
        background-color: transparent;
        transform: translateY(-7px);
        color: #666;
    }

    nav li:nth-child(even) a {
        color: var(--color-coach);
    }

}
