
* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-image: url("images/hintergrund5.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/hintergrund5.jpg");
    background-size: cover;
    background-position: center;
    filter: blur(5px);
    z-index: -1;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(245, 243, 243, 0.189);
    z-index: -1;
    pointer-events: none;
}

/* =========================
   TITEL
   ========================= */

#title-container-2 {
    width: 95%;
    
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
    padding: 20px;
    background-color: rgb(250, 251, 252);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5);
    border-radius: 5px;
    border: 1px solid gainsboro;
    text-align: center;
}

#home-title {
    margin: 0;
    font-size: 2em;
    font-weight: 600;
}

/* =========================
   CARD ZENTRIEREN
   ========================= */

#card-center {
    width: 100%;
    max-width: 940px;
    display: flex;
    justify-content: center;
    padding: 30px 20px;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   CARD
   ========================= */

#card-design {
    padding: 20px;
    width: 900px;
    max-width: 100%;
    min-width: 0;
    background-color: rgb(250, 251, 252);
    border: 0px solid gainsboro;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.541);
   
    transition: transform 0.3s ease,
                box-shadow 0.3s ease;
                border-top: none;
}

#card-design:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* =========================
   CARD HEADER
   ========================= */

#card-header {
    padding: 0px;
    margin-top: -20px;
    width: calc(100% + 40px);
    text-align: center;
    margin-bottom: 25px;
    background-color:#92BBD7;
   border-radius: 10px;
   border-color:#92BBD7;
   padding-top: 30px;
   padding-bottom: 20px;
   display: block;
   justify-self: center;
}

#card-title {
    margin: 0;
    font-size: 1.5em;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: break-word;
}

/* =========================
   TRENNLINIE
   ========================= */

#card-line {
    border: 0;
    border-top: 1px solid gainsboro;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* =========================
   UNTERTITEL
   ========================= */

#card-subtitle-1,
#card-subtitle-2,
#card-subtitle-3 {
    width: 100%;
    text-align: center;
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.6;
    overflow-wrap: break-word;
}

/* =========================
   MITTLERER BEREICH
   ========================= */

#card-middle {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
    margin-top: 25px;
    margin-bottom: 30px;
}

/* =========================
   LISTE
   ========================= */

#card-lists {
    width: 35%;
    min-width: 0;
    text-align: left;
}

#card-list-1,
#card-list-2 {
    width: 100%;
    margin-bottom: 25px;
    font-size: 15px;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.card-list-item {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 8px;
    overflow-wrap: break-word;
}

/* =========================
   BILD
   ========================= */

#card-image-container {
    width: 65%;
    min-width: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#card-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 10px 10px 10px #adadad;
}
#card-image-1 {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* =========================
   COPYRIGHT
   ========================= */

#Copyright-1 {
    color: rgb(73, 73, 73);
    float: right;
    font-size: 14px;
    line-height: 1.5;
    text-shadow: 10px 1px 20px rgb(192, 191, 191);
}

/* =========================
   TEXT
   ========================= */

#card-text-1,
#card-text-2,
#card-text-3 {
    width: 100%;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.7;
    text-align: left;
    overflow-wrap: break-word;
}

/* =========================
   LINKS
   ========================= */

#card-link-1,
#card-link-2 {
    width: 100%;
    margin-top: 10px;
    margin-bottom: 10px;
    font-size: 16px;
    text-align: center;
    overflow-wrap: break-word;
}

#card-link-1 a,
#card-link-2 a {
    color: lightblue;
    text-decoration: none;
    transition: 0.2s ease;
    overflow-wrap: anywhere;
}

#card-link-1 a:hover,
#card-link-2 a:hover {
    text-decoration: underline;
}

/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 700px) {

    #title-container-2 {
        width: calc(100% - 20px);
        max-width: none;
        margin-top: 15px;
        padding: 15px;
    }

    #home-title {
        font-size: 24px;
    }

    #card-center {
        width: 100%;
        max-width: none;
        padding: 15px 10px;
    }

    #card-design {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 20px;
    }
    
#card-header {

    width: calc(100% + 40px);

}

    #card-title {
        font-size: 1.4em;
    }

    #card-subtitle-1,
    #card-subtitle-2,
    #card-subtitle-3 {
        font-size: 16px;
    }

    #card-middle {
        width: 100%;
        gap: 15px;
    }

    #card-lists {
        width: 40%;
        min-width: 0;
    }

    #card-image-container {
        width: 60%;
        min-width: 0;
    }

    #card-image {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    #card-list-1,
    #card-list-2 {
        font-size: 15px;
    }

    .card-list-item {
        font-size: 15px;
    }

    #card-text-1,
    #card-text-2,
    #card-text-3 {
        font-size: 14px;
    }

    #card-link-1,
    #card-link-2 {
        font-size: 15px;
    }
}

/* =====================================================
   HANDY
   ===================================================== */

@media (max-width: 500px) {

    #title-container-2 {
        width: calc(100% - 20px);
        margin-top: 10px;
        padding: 12px 10px;
    }

    #home-title {
        font-size: 20px;
    }

    #card-center {
        padding: 10px;
    }

    #card-design {
        padding: 14px;
        border-radius: 8px;
    }
#card-header {

    width: calc(100% + 30px);

}
    #card-title {
        font-size: 1.3em;
    }

    #card-subtitle-1,
    #card-subtitle-2,
    #card-subtitle-3 {
        font-size: 14px;
        line-height: 1.45;
        margin-bottom: 9px;
    }

    #card-middle {
        gap: 10px;
        margin-top: 18px;
        margin-bottom: 22px;
    }

    #card-lists {
        width: 40%;
    }

    #card-image-container {
        width: 60%;
    }

    #card-list-1,
    #card-list-2,
    .card-list-item {
        font-size: 12px;
        line-height: 1.35;
        margin-bottom: 6px;
    }

    #card-text-1,
    #card-text-2,
    #card-text-3 {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 16px;
    }

    #card-link-1,
    #card-link-2 {
        font-size: 13px;
        margin-top: 8px;
        margin-bottom: 8px;
    }

    #Copyright-1 {
        font-size: 11px;
        line-height: 1.4;
    }
}


/* =====================================================
   SEHR KLEINE HANDYS
   ===================================================== */
@media (max-width: 430px) {

#card-title {

   
font-size: 1.25em;
}
}

@media (max-width: 380px) {

    #card-design {
        margin-top: 20px;
        padding: 12px;
    }
#card-header {

    width: calc(100% + 24px);

}
    #card-title {
        font-size: 1.2em;
    }

    #card-subtitle-1,
    #card-subtitle-2,
    #card-subtitle-3 {
        font-size: 14px;
    }

    #card-middle {
        gap: 8px;
    }

    #card-lists {
        width: 42%;
    }

    #card-image-container {
        width: 58%;
    }

   #card-list-1,
#card-list-2,
.card-list-item {
    font-size: 12px;
    line-height: 1.35;
}

    #card-text-1,
    #card-text-2,
    #card-text-3 {
        font-size: 10px;
    }
}
@media (max-width: 380px) {

    #card-list-1,
    #card-list-2,
    .card-list-item {
        font-size: 11px;
        line-height: 1.3;
    }
}
@media (max-width: 700px) {

    #card-center {
        padding: 15px 10px;
    }

    #card-design {
        max-width: 700px;
        padding: 20px;
    }

    #card-title {
        font-size: 1.5em;
    }

    #card-subtitle-1,
    #card-subtitle-2,
    #card-subtitle-3 {
        font-size: 16px;
    }

    #card-middle {
        gap: 20px;
    }

    #card-lists {
        width: 40%;
    }

    #card-image-container {
        width: 100%;
    }

    #card-image {
        max-width: 100%;
    }

    #card-list-1,
    #card-list-2 {
        font-size: 2em;
    }

    #card-text-1,
    #card-text-2,
    #card-text-3 {
        font-size: 16px;
    }
}


/* =====================================================
   HANDY
   ===================================================== */

@media (max-width: 500px) {


#title-container-2 {
    width: 100%;
    max-width: none;

    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;

    padding: 20px;

    background-color: rgb(250, 251, 252);* {
    box-sizing: border-box;
}
}


    #card-center {
        padding: 10px 8px;
    }

    #card-design {
        padding: 15px;
        border-radius: 10px;
    }



    #card-subtitle-1,
    #card-subtitle-2,
    #card-subtitle-3 {
        font-size: 15px;
        line-height: 1.5;
    }

    /*
       Liste und Bild bleiben nebeneinander.
       Dadurch bleibt das PC-Design erhalten.
    */

    #card-middle {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }

    #card-lists {
        width: 45%;
    }

    #card-image-container {
        width: 100%;
    }

    #card-image {
        width: 100%;
        max-width: 100%;
    }

    #card-list-1,
    #card-list-2 {
        font-size: 16px;
        line-height: 1.5;
    }

    #card-text-1,
    #card-text-2,
    #card-text-3 {
        font-size: 15px;
        line-height: 1.6;
    }

    #card-link-1,
    #card-link-2 {
        font-size: 14px;
    }

    #Copyright-1 {
        font-size: 13px;
    }
}


/* =====================================================
   SEHR KLEINES HANDY
   ===================================================== */

@media (max-width: 380px) {

    #card-center {
        padding: 8px 5px;
    }

    #card-design {
        padding: 12px;
    }

   

    #card-subtitle-1,
    #card-subtitle-2,
    #card-subtitle-3 {
        font-size: 14px;
    }

    #card-middle {
        gap: 8px;
    }

    #card-lists {
        width: 45%;
    }

    #card-image-container {
        width: 100%;
    }

    #card-list-1,
    #card-list-2 {
        font-size: 14px;
        line-height: 1.4;
    }

    #card-text-1,
    #card-text-2,
    #card-text-3 {
        font-size: 14px;
    }

    #card-link-1,
    #card-link-2 {
        font-size: 13px;
    }
}