/* Fonts */

/* cardo-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Cardo';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/cardo-v21-latin-regular.woff2') format('woff2');
}

/* cardo-700 - latin */
@font-face {
    font-display: swap;
    font-family: 'Cardo';
    font-style: normal;
    font-weight: 700;
    src: url('../fonts/cardo-v21-latin-700.woff2') format('woff2');
}

/* jost-300 - latin */
@font-face {
    font-display: swap;
    font-family: 'Jost';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/jost-v20-latin-300.woff2') format('woff2');
}

/* jost-regular - latin */
@font-face {
    font-display: swap;
    font-family: 'Jost';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/jost-v20-latin-regular.woff2') format('woff2');
}

/* jost-500 - latin */
@font-face {
    font-display: swap;
    font-family: 'Jost';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/jost-v20-latin-500.woff2') format('woff2');
}


/* Basis */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Jost', sans-serif;
    color: #232323;
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: #7A1F31;
}

a:hover {
    color: #2C3034;
}


/* Header */

header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid #e4e4e4;
    padding: 18px 40px;
}

header .content {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 !important
}

.logo {
    grid-column: 2;
    justify-self: center;
    text-align: center;
    display: inline-block;
    line-height: 1;
}

.logo b {
    display: block;
    font-family: 'Cardo', serif;
    font-weight: 700;
    font-size: 26px;
    letter-spacing: .12em;
    color: #2C3034;
}

.logo span {
    display: block;
    font-weight: 300;
    font-size: 10px;
    letter-spacing: .7em;
    margin-top: 6px;
    color: #2C3034;
}

.back {
    grid-column: 3;
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #2C3034;
    padding: 9px 18px;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #2C3034;
    transition: background .2s ease, color .2s ease;
    margin-bottom: 50px;
}

.back svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
}

.back:hover {
    background: #2C3034;
    color: #fff;
}

.back:hover svg {
    stroke: #fff;
}


/* Container */

.content {
    width: 100%;
    margin: 0 auto;
    padding-left: 12px;
    padding-right: 12px;
}

@media (min-width: 576px) {
    .content {
        max-width: 540px;
        padding-left: 0;
        padding-right: 0;
    }
}

@media (min-width: 768px) {
    .content {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .content {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .content {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .content {
        max-width: 1320px;
    }
}


/* Startseite */

#home main {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}

#home .img {
    flex: 1 1 50%;
    min-height: 520px;
    position: relative;
}

#home .img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

#home .txt {
    flex: 1 1 50%;
    padding: 72px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#home .kicker {
    font-weight: 300;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .3em;
    color: #7A1F31;
    margin: 0 0 18px;
}

#home h1 {
    font-family: 'Cardo', serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 34px;
    line-height: 1.2;
    margin: 0;
    color: #2C3034;
}

#home p {
    font-weight: 300;
    font-size: 17px;
    line-height: 1.8;
    margin: 18px 0 0;
}

#home .line {
    width: 56px;
    height: 2px;
    background: #7A1F31;
    margin: 28px 0 0;
    margin-bottom: 10px;
}

#home .btn {
    display: inline-block;
    border: 1px solid #2C3034;
    padding: 13px 30px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .14em;
    font-weight: 400;
    margin-top: 30px;
    color: #2C3034;
    transition: all .3s;
    white-space: nowrap;
}

#home .btn:hover {
    background: #2C3034;
    color: #fff;
}

@media (max-width: 991px) {
    #home .img {
        flex: 1 1 100%;
    }

    #home .txt {
        padding: 48px 28px;
        max-width: none;
    }
    #home footer .content{
        padding: 0;
    }
    #home footer{
        padding: 26px 28px !important
    }
    #home h1 {
        font-size: 28px;
    }
}


/* Rechtliche Seiten */

main {
    flex: 1;
    padding: 72px 40px 90px;
}

.kicker {
    font-weight: 300;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: .3em;
    color: #7A1F31;
    margin: 0 0 18px;
}

h1 {
    font-family: 'Cardo', serif;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 34px;
    line-height: 1.2;
    margin: 0;
    color: #2C3034;
}

.line {
    width: 56px;
    height: 2px;
    background: #7A1F31;
    margin: 28px 0 34px;
}

h2 {
    font-family: 'Cardo', serif;
    font-weight: 700;
    font-size: 20px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #2C3034;
    margin: 38px 0 12px;
}

h3 {
    font-family: 'Cardo', serif;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #2C3034;
    margin: 30px 0 10px;
}

p {
    font-weight: 300;
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 14px;
}

p:last-child {
    margin-bottom: 0;
}

ul {
    margin: 0 0 18px;
    padding-left: 22px;
}

li {
    font-weight: 300;
    font-size: 17px;
    line-height: 1.8;
}

.note {
    font-size: 12px;
    color: #6d6d6d;
}


/* Footer */

footer {
    background: #2C3034;
    color: #fff;
    padding: 26px 40px;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: .04em;
}

footer .content {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 32px;
    justify-content: space-between;
}
#home footer{
    display: flex;
    justify-content: space-between;
}
footer a {
    color: #fff;
}

footer a:hover {
    color: #e7c6cd;
}


/* Responsive */

@media (max-width: 767px) {
    header {
        padding: 18px 24px;
    }

    .logo b {
        font-size: 22px;
    }

    .back {
        padding: 8px 12px;
    }

    .back span {
        display: none;
    }

    main {
        padding: 48px 24px 70px;
    }

    h1 {
        font-size: 28px;
    }
}

@media (max-width: 450px) {
    h2 {
        font-size: 15px;
    }
}
@media(max-width: 480px){
    #home footer{
        flex-wrap: wrap;
        gap: 8px;
    }
 
}
@media(max-width: 300px){
    #home .btn{
        padding: 13px 15px !important;
    }
}
@media(max-width: 235px){
    .logo b{
        font-size: 20px;
    }
    .logo span{
        font-size: 8px;
    }
}