body {
    font-family: Open Sans, sans-serif;
    color: #555;
}

footer {
    background-color: #f8f9fa;
    padding: 10px 0;
    text-align: center;
    width: 100%;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer ul li {
    display: inline;
    margin: 0 10px;
}

footer ul li a {
    text-decoration: none;
    color: #868c8d;
}

footer ul li a:hover {
    text-decoration: underline;
}

.link-text {
    color: #696969;
    font-weight: 600;
    border-bottom: 2px solid #d7d7d7;
    text-decoration: none !important;
}


.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.page-header {
    overflow: hidden;
    display: flex;
    justify-content: center;
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    z-index: 1000;
}

.page-header a {
    float: left;
    display: block;
    color: #828282;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
}

.page-header a:hover {
    background-color: #ddd;
    color: black;
}

.page-header .logo{
    max-width: 70px; /* Adjust the size of the logo */
    height: auto;
    position: absolute;
    left: 20px;
    padding: 4px 20px;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.logo.hidden {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
}


.description {
    margin-top: 50px;
    padding: 20px;
}

.title {
    font-size: xxx-large;
    font-weight: 600;
    text-align: center;
    color: #828282;
    margin-bottom: 10px;
}

.subtitle {
    font-size: x-large;
    font-weight: 600;
    text-align: center;
    color: #828282;
    margin-bottom: 10px;
}

.text {
    text-align: justify;
}

.content-vermisst {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-item {
    background-color: #f9f9f9;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

/*.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}*/

.grid-item p {
    text-align: justify;
    -webkit-hyphens: auto; 
    -ms-hyphens: auto;     
    hyphens: auto;         
}

.single-content p {
    text-align: justify;
    -webkit-hyphens: auto; 
    -ms-hyphens: auto;     
    hyphens: auto; 
}

.grid-item-images {
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.grid-item-images img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    border-radius: 8px;
}

.grid-item-images p {
    margin: 15px 0;
    text-align: justify;
}

.grid-item-images button {
    background-color: #333;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.grid-item-images button:hover {
    background-color: #555;
}

.content {
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.expandable {
    width: 100%;
    max-width: 1130px;
    padding: 15px;
    background-color: #828282;
    color: #fff;
    font-size: large;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    margin: 20px auto;
    transition: background-color 0.3s;
}

.expandable:hover {
    background-color: #888888;
}

.expandable-content {
    display: none;
    width: 100%;
    max-width: 900px;
    padding: 15px;
    margin: 20px auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
}

.single-content-accordion {
    text-align: left;
}

ol {
    text-align: left;
}

.accordion {

    .bullet {
        display: block;
        width: 100%;
        border-bottom: 1px solid #e1e1e1;
    }

    .bullet--headline {
        cursor: pointer;
        font: 700 1em/1.6 'Open Sans', sans-serif;
        padding-left: 1.875rem;
        position: relative;
        color: #989898;
    }

    .bullet--headline p {
        margin-bottom: .3125rem;
    }

    .bullet--headline::before {
        background: url('sprite.svg') 0 0;
        content: '';
        width: 1.5625rem;
        height: 1.5625rem;
        position: absolute;
        left: 0;
    }

    .bullet.active .bullet--headline::before {
        background: url('sprite.svg') 0 25px;
    }

    .bullet--content {
        margin-left: 2.1875rem;
        overflow: hidden;
        max-height: 0;
        transition: max-height .3s ease-in-out;
        padding: 0;
        border: 0;
    }

    .bullet--content p {
        text-align: justify;
        font-size: 1rem;
        line-height: 1.5rem;
        margin: .9rem 0rem 1.25rem 0rem;
    }

    .bullet.active .bullet--content {
        max-height: 75rem;
        transition: max-height .3s ease-in-out;
    }
}

@media (max-width: 768px) {
    .expandable, .expandable-content {
        width: 90%;
    }
}

.single-content {
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .content {
        grid-template-columns: 1fr; /* Maintain two columns on tablets */
    }
    
    .grid-item-images {
        padding: 20px; /* Consistent padding */
    }
    .grid-item-images p {
        margin: 15px 0;
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: center;
    }

    .page-header .logo{
        position: relative;
        left: 0;
    }

    .content {
        grid-template-columns: 1fr; /* Two columns on mobile */
    }
    
    .grid-item-images {
        padding: 15px;
    }
    
    .grid-item-images img {
        max-width: 100%;
        aspect-ratio: 3 / 4; /* Ensure consistent image size */
    }
    .description {
        margin-top: 50px;
    }
}

@media (max-width: 480px) {

    .page-header a {
        padding: 14px 7px;
    }

    .container {
        width: unset;
        padding: unset;
        padding-top: 20px;
        box-shadow: unset;
    }

    .content {
        grid-template-columns: 1fr; /* Two columns on smaller mobile devices */
        gap: 10px;
        padding: unset;
    }

    .expandable-content{
        padding: unset;
    }

    .content-vermisst{
        padding: unset;
        margin-top: unset;
    }
    
    .grid-item-images {
        padding: 10px;
    }
    
    .grid-item-images img {
        max-width: 100%;
        aspect-ratio: 3 / 4;
    }
    
    .grid-item-images p {
        font-size: 14px;
    }
    
    .grid-item-images button {
        font-size: 14px;
        padding: 10px 15px;
    }
}

.partner-logos {
  display: flex;
  flex-wrap: wrap; /* Damit sie umbrechen, falls zu viele */
  justify-content: center;
  align-items: center;
  gap: 1.5rem; /* Abstand zwischen Logos */
  padding: 2rem 0;
}

.partner-logos img {
  max-width: 120px; /* nicht zu groß */
  height: auto;
  opacity: 0.9; /* leicht transparent */
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner-logos img:hover {
  opacity: 1;
  transform: scale(1.05); /* leichter Hover-Effekt */
}
