

/* =====================================================
   GRUNDEINSTELLUNGEN
   ===================================================== */


* {
    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;
}
.max-widht{
max-width: 95%;



}

#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 AUSSEN
   ===================================================== */

#card-center {
    
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 30px 20px;
}


/* =====================================================
   CARD
   ===================================================== */

#card-design {
    width: 100%;
    max-width: 900px;
    background-color: rgb(250, 251, 252);
    border: 0px solid gainsboro;
    border-radius: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.541);
    padding: 30px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


/* =====================================================
   CARD HEADER
   ===================================================== */

#card-header {
    padding: 0px;
    margin-top: -40px;
    width: calc(100% + 60px);
    text-align: center;
    margin-bottom: 25px;
    background-color:#92BBD7;
   border-radius: 10px;
   padding-top: 30px;
   padding-bottom: 30px;
   display: block;
   justify-self: center;
}

#card-title {
    margin: 0;
    font-size: 1.5em;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: break-word;
}

#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: left;
    margin-bottom: 12px;
    font-size: 17px;
    line-height: 1.5;
    font-weight: 600;
    overflow-wrap: break-word;
}


/* =====================================================
   LISTEN + BILD
   ===================================================== */

#card-middle {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 35px;
    
    margin-bottom: 30px;
}


/* =====================================================
   LISTEN
   ===================================================== */

#card-lists {
    width: 40%;
    text-align: left;
    min-width: 0;
}

#card-list-1,
#card-list-2 {
    margin-bottom: 25px;
    font-size: 3em;
    line-height: 1.7;
    overflow-wrap: break-word;
}


/* =====================================================
   BILD
   ===================================================== */

#card-image-container {
    width: 80%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-width: 0;
}

#card-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 10px 10px 10px #adadad;
    
}


/* =====================================================
   TEXTE
   ===================================================== */

#card-text-1,
#card-text-2,
#card-text-3 {
    width: 100%;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.4;
    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;
}


/* =====================================================
   HOVER EFFECT
   ===================================================== */

#card-design:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}


/* =====================================================
   COPYRIGHT
   ===================================================== */

#Copyright-1 {
    color: rgb(73, 73, 73);
    float: left;
    text-shadow: 10px 1px 20px rgb(192, 191, 191);
    font-size: 14px;
}


/* =====================================================
   TABLET
   ===================================================== */

@media (max-width: 700px) {
    #title-container-2 {
        width: calc(100% - 20px);
        max-width: none;
        margin-top: 15px;
        padding: 15px;
    }
    #card-header{
        width: calc(100% + 40px);
        margin-bottom: -25px;
    }
    #card-center {
        padding: 15px 10px;
    }

    #card-design {
        max-width: 700px;
        padding: 20px;
    }

    #card-title {
        font-size: 1.4em;
    }

    #card-subtitle-1,
    #card-subtitle-2,
    #card-subtitle-3 {
        font-size: 16px;
    }

    #card-middle {
        gap: 20px;
    }

    #card-lists {
        width: 40%;
    }

    #card-image-container {
        width: calc(100% + 40px);
    }

    #card-image {
        max-width: calc(100% + 40px);
    }

    #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: calc(100% - 20px);
        margin-top: 10px;
        padding: 12px 10px;
    }
#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-header{
        width: calc(100% + 30px);
        margin-bottom: -25px;
    }


    #card-center {
        padding: 10px 8px;
    }

    #card-design {
        padding: 15px;
        border-radius: 10px;
    }

    #card-title {
        font-size: 1.3em;
    }

    #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-header{
        width: calc(100% + 25px);
        margin-bottom: -25px;
        
    }

    #card-design {
        padding: 12px;
    }

    #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: 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;
    }
}