@font-face {
    font-family: "heading";
        src: url(/assets/fonts/heading_1.otf);
    }

@font-face {
    font-family: "mont";
        src: url(/assets/fonts/mont.ttf);
}

:root {
    --twenty: #2B4D55;
    --ten: #872E49;
    --mainbg: #A9B1B3;
}

html {
    scroll-behavior: smooth;
}

h1
{
    font-family: 'heading', sans-serif;
    margin: 0;
    font-size: 52px;
    text-align: center;
    font-weight: 100;
}

h2 {
    font-family: 'heading', sans-serif;
    font-size: 48px;
    font-weight: 100;
    margin: 0;
}

h3 {
    font-size: 31px;
    font-weight: bold;
    text-align: center;
    color: white;
    margin: 0;
    text-wrap: wrap;
}

p {
    font-size: 20px;
    margin: 0;
    text-align: center;
}

.underline {
    text-decoration: underline;
}

body {
    background: var(--mainbg);
    font-family: 'mont', sans-serif;
    font-style: normal;
    margin: 0;
    color: var(--twenty);
}
/* CTA */

.cta {
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--mainbg);
    justify-content: space-between;
    padding: 10px 20px;
    margin-top: 30px;
    border-radius: 10px;
    max-width: 350px;
    align-self: center;
}

.btn-hero {
    background-color: var(--twenty);
}

.btn-body {
    background-color: var(--ten);
}

/* HEADER */

button {
    width: 40px;
    height: 32px;
    border-style: unset;
    background-color: unset;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    max-width: 1200px;
    margin: 0 auto;
}

a {
    font-size: 20px;
    text-decoration: none;
    font-weight: bold;
    color: var(--twenty);
}

.hidden {
    display: none;
}

header>img:first-of-type {
    display: none;
}

/* mobile menu */

.primary-nav  {
    position: fixed;
    inset: 136px 0 0 30%;
    background: rgba(43, 77, 85, 0.7);
    display: flex;
    flex-direction: column;
    gap: 2em;
    padding: 4rem 2rem;
    transition-duration: 0.4s;
}

/* For browsers not supporting blur */

@supports (backdrop-filter: blur(0.5em)) {
    .primary-nav {
        background: rgba(43, 77, 85, 0.7 );
        backdrop-filter: blur(0.5rem);
    }
}

.primary-nav a{
    color: white;
}

li {
    color: white;
}

.out {
    inset: 136px 0 0 100%;
    opacity: 0;
}

/* HERO */

.hero {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    max-height: 588px;
    gap: 20px;
    padding: 0 50px;
}

.hero-title {
    font-size: 52px;
    font-weight: 100;
    color: var(--mainbg);
    text-align: center;
}

.hero p {
    color: var(--mainbg);
    text-align: center;
    font-size: 16px;
}

.hero-wrapper  {
    background-image: linear-gradient(to top, rgba(135, 46, 73, 0.75) 100%, rgba(255, 255, 255, 0) 55%), url(/assets/media/title.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* HOW */

.how-section {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px 50px;
}

.how-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.how-content p {
    text-align: left;
}

.how-content img {
    width: 100%;
    height: auto;
    max-height: 355px;
    object-fit: cover;
    border-radius: 10px;
    object-position: 100% 30%
}

.how {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

/* PAKETE-SEKTION */

.pakete-section {
    max-width: 1200px;
    margin: auto;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    align-items: center;
}

.pak {
    font-weight: bold;
    border-style: solid;
    border-radius: 10px;
    padding: 10px;
    width: 350px;
    border-color: var(--ten);
}

/* FAQ SECTION */

.faq-wrapper {
    background-color: var(--twenty);
}

.faq {
    max-width: 1000px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 80px 50px;
    color: white;
    justify-content: center;
}

.faq>h2 {
    font-size: 49px;
    font-family: 'Noteworthy';
    text-align: center;
}

.akk {
    display: flex;
    flex-direction: column;
    gap: 30px;
    color: white;
    max-width: 1200px;
}

summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    padding: 10px;
    font-size: 25px;
    max-width: 1200px;
    cursor: pointer;
  }

  summary::before {
    content: '';
    min-width: 30px;
    min-height: 26px;
    background: url('/assets/media/cam.svg');
    margin-right: .75em;
    transition: 0.3s;
    background-repeat: no-repeat;
  }
  
  summary::-webkit-details-marker {
    display: none;
  }
  
  article {
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 5px;
    border-top-left-radius: 0;
    padding: 0 20px;
    font-size: 20px;
    line-height: 1.5em;
    font-weight: 300;
  }

/* CONTACT SECTION */

.contact-section {
    max-width: 1200px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 40px 50px;
}

.contact-section h2 {
    color:  var(--ten);
}

.contact-section p {
    text-align: left;
}

.contact-section img {
    height: auto;
    max-width: 450px;
    border-radius: 10px;
}

.contact {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.c, .fp, .footer-rechtliches {
    display: flex;
    gap: 30px;
}

/* FOOTER SECTION */

.footer-wrapper {
    background-color: #839498;
}

footer {
    max-width: 1200px;
    margin: auto;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-logo {
   display: flex;
   flex-direction: column;
   gap: 10px;
   font-size: 18px;
   font-weight: 600; 
}

.footer-logo img {
    max-width: 225px;
    height: auto;
}

.footer-contact, .footer-pakete, .footer-rechtliches {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-contact .c a, .fp a, .footer-rechtliches a {
    color: white;
    font-weight: normal;
}

.recht-head {
    display: flex;
    gap: 20px;
    font-size: 20px;
    color: white;
}



/* MEDIA QUERIES     */

  @media (min-width: 500px) {

    /* HEADER */

    .primary-nav {
      inset: 139px 0 0 30%;
    }

    .out {
      inset: 139px 0 0 100%;
  }

    header>img:first-of-type {
        display: unset;
        max-width: 300px;
    }

    img:nth-of-type(2) {
        display: none;
    }

  }

  @media (min-width: 750px) {

    .how-content {
        align-items: flex-start;
        gap: 30px;
    }

    .how {
        flex-direction: row;
        gap: 40px;
    }

    .text {
        text-align: left;
    }

  }

  @media (min-width: 1024px) {

    .hero {
        min-height: 900px;
    }

    button {
        display: none;
    }

    .out {
        opacity: 1;
    }

    .primary-nav {
        position: unset;
        flex-direction: row;
        background-color: unset;
        align-items: center;
        transition: unset;
        padding: unset;
    }

    .primary-nav a {
        color: var(--twenty);
    }

    .hero-title {
        font-size: 96px;
    }

    h1 {
        font-size: 96px;
    }

    .contact-section {
        display: grid;
        grid-template-columns: auto 390px;
        gap: 40px;
        grid-template-areas:
        "title bild"
        "cont bild"
        "kontakt bild";
    }

    .contact-section h2 {
        grid-area: title;
    }

    .contact-section p {
        grid-area: cont;
    }

    .contact-section .contact {
        grid-area: kontakt;
    }

    .contact-section img {
        grid-area: bild;
        object-fit: cover;
        height: 100%;
        width: 390px;
    }

    footer {
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (min-width:1300px) {

    .how-content {
        display: grid;
        align-items: center;
        justify-content: center;
        grid-template-columns: auto 400px;
        gap: 30px 50px;
        grid-template-areas: 
        "bild suueb"
        "bild ueb"
        "bild 1"
        "bild 2"
        "bild 3";
    }

    .how-content p{
        grid-area: suueb;
    }

    .how-content h2{
        grid-area: ueb;
    }

    .how-content img{
        grid-area: bild;
        min-height: 100%;
        width: 479px;
        object-position: unset;
    }

    .how-content how:nth-child(1){
        grid-area: eins;
    }

    .how-content how:nth-child(2){
        grid-area: zwei;
    }

    .how-content how:nth-child(3){
        grid-area: drei;
    }

}