.mainp {
    padding: 0;
    margin: 0;
}

.mainp h3 {
    margin-top: 0;
}

.database {
    background-color: oklch(93% 0.034 272.788) !important;
}

.slide::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 15px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.main {
    height: calc(100svh - 4rem);
    position: fixed !important;
    z-index: 1 !important;
    background-size: cover;
    background-position: center;
    top: 0px;
    padding-bottom: 4rem;

}

.main .mcontent {
    display: flex;
    justify-content: end;
    align-items: center;
}

.main .mcontent h2 {
    color: #faf8f7;
    font-size: 4rem;
}

.main .mcontent p {
    color: #faf8f7;
    font-size: 1.5rem;
}

@media (max-width: 780px) {
    .main .mcontent p {
        font-size: 1.25rem;
    }

    .main .mcontent h2 {
        font-size: 3rem;
    }
}

@media (max-width: 400px) {
    .main .mcontent p {
        font-size: 1rem;
    }

    .main .mcontent h2 {
        font-size: 2.5rem;
    }
}

.slide {
    scroll-margin-top: 40px;
    width: 100%;
    position: relative;
    min-height: 50vh;
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    z-index: 3;
}

.slide:nth-child(2) {
    margin-top: 100svh;
}

.slide .image-box {
    display: flex;
    gap: 2rem;
    width: 100%;
}

.slide .image-box img {
    width: 33%;
    object-fit: contain;
}

.slide .content {
    width: calc(100% - 4rem);
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 2rem;
    color: black;
    padding-bottom: 4rem;
}

@media (max-width: 400px) {
    .slide .content {
        padding: 1rem;
    }
}

.slide .content .image-container {
    display: flex;
    gap: 4rem;
}

@media (max-width: 1080px) {
    .slide .content .image-container {
        flex-direction: column;
    }
}

.slide .content .image-container .image {
    object-fit: contain;
}

@media (max-width: 1080px) {
    .slide .content .image-container .image {
        width: 100%;
    }
}

.slide .content .faq-item {
    border: 1px solid #e7e1d2;
    background-color: white;
    border-radius: 16px;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    margin-top: 2rem;
}

.slide .content .faq-item .faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    background-color: white;
    border: none;
    cursor: pointer;
    padding: 1rem;
    border-radius: 16px;
}

.slide .content .faq-item .faq-question .text {
    font-weight: 600;
    color: #1d2e4a;
    padding-left: 1rem;
    font-size: 1.5rem;
}

@media (max-width: 480px) {
    .slide .content .faq-item .faq-question .text {
        font-size: 1.125rem;
    }
}

.slide .content .faq-item .faq-question .arrow {
    width: 24px;
    height: 24px;
    color: #1d2e4a;
}

.slide .content .faq-item .faq-answer {
    padding-top: 0;
}

.slide .content .faq-item .faq-answer p {
    padding: 2rem;
    padding-top: 0;
}

@media (max-width: 480px) {
    .slide .content .faq-item .faq-answer p {
        font-size: 1rem;
    }
}

.slide .content .faq-item .hidden {
    display: none;
}

.slide .content .faq-item:hover {
    box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.15);
}

.slide:nth-child(odd) {
    position: relative;
    background-color: #ecedef;
}

.slide:nth-child(odd) .image-container {
    flex-direction: row-reverse;
}

.slide h2 {
    font-size: 2.25rem;
    color: #1d2e4a;
}

@media (max-width: 480px) {
    .slide h2 {
        font-size: 2rem;
    }
}

.slide p {
    font-size: 1.25rem;
}

.slide h3 {
    font-size: 2rem;
    color: #1d2e4a;
}

@media (max-width: 480px) {
    .slide h3 {
        font-size: 1.75rem;
    }
}

.slide .timeline {
    padding-bottom: 2rem;
}

.slide .timeline .timeline-item {
    display: flex;
    flex-direction: row;
    justify-content: start;
}

.slide .timeline .timeline-item .item {
    flex: 1;
}

.slide .timeline .timeline-item h4 {
    color: #7a4b3a;
    font-size: 1.25rem;
}

@media (max-width: 480px) {
    .slide .timeline .timeline-item h4 {
        font-size: 1rem;
    }
}

.slide .timeline .timeline-item p {
    padding-left: 0;
}

@media (max-width: 480px) {
    .slide .timeline .timeline-item p {
        font-size: 1.1rem;
    }
}

.slide .timeline .timeline-item .container {
    width: 100%;
    color: #333;
    font-size: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    background-color: #ecedef;
    box-shadow: 6px 6px 6px rgba(0, 0, 0, 0.15);
}

@media (max-width: 480px) {
    .slide .timeline .timeline-item .container {
        font-size: 1rem;
    }
}

.slide .timeline .timeline-item .beam {
    width: 3px;
    background-color: #b1b1b1;
    margin-left: 1rem;
    margin-right: 2rem;
    display: flex;
    align-items: start;
    position: relative;
    justify-self: center;
}

.slide .timeline .timeline-item .beam .dot {
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 16px;
    background-color: #7a4b3a;
    border: 1px solid black;
    top: 1.5rem;
    left: -15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide .database-links {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 1.5rem;
    gap: 2rem;
}

@media (max-width: 400px) {
    .slide .database-links {
        padding: 0rem;
    }
}

.slide .database-links a {
    text-decoration: none;
    color: black;
}

.slide .database-links .database-link {
    padding: 2rem;
    border-radius: 16px;
    background-color: white;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    flex: 1;
}

.slide .database-links .database-link:hover {
    background-color: #f5f5f5;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.15);
}

.slide .database-links .database-link .header {
    font-size: 1.5rem;
    color: #1d2e4a;
    font-weight: bold;
    padding-bottom: 1rem;
}

.scroll-arrow {
    position: fixed;
    font-size: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    bottom: 12px;
    z-index: 1000;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    display: inline-grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    outline: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    animation: pulseRing 1.9s infinite ease-out;
}

.scroll-arrow:focus {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18), 0 0 0 4px rgba(0, 123, 255, 0.12);
}

.scroll-arrow:hover {
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.scroll-arrow svg {
    width: 22px;
    height: 22px;
    fill: #222;
    transform-origin: center;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
    }

    50% {
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        transform: translate(-50%, -50%) scale(0.9);
    }
}

@media (max-width: 480px) {
    .scroll-arrow {
        width: 48px;
        height: 48px;
        bottom: 18px;
    }

    .scroll-arrow svg {
        width: 18px;
        height: 18px;
    }

    .scroll-arrow::before {
        width: 48px;
        height: 48px;
    }

    .scroll-arrow::after {
        width: 30px;
        height: 30px;
    }
}

.faq h3 {
    margin-bottom: 0;
}

.faq h4 {
    margin-top: 0;
    color: #1d2e4a;
}

.faq .content-text {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

@media (max-width: 1030px) {
    .faq .content-text {
        flex-direction: column;
    }
}

.faq .content-text aside {
    display: flex;
    flex-direction: column;
    justify-content: start;
    margin-right: 2rem;
    padding-right: 2rem;
    border-right: 1px solid black;
    gap: 1rem;
}

@media (max-width: 1030px) {
    .faq .content-text aside {
        margin-right: 0rem;
        padding-right: 0rem;
        border-right: 0;
        border-bottom: 1px solid black;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }
}

.faq .content-text aside h2 {
    font-size: 1.5rem;
}

.faq .content-text aside nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq .content-text aside nav .category-btn {
    text-align: left;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    padding: 1rem;
    font-size: 1rem;
}

.faq .content-text aside nav .category-btn:hover {
    background-color: lightgray;
}

.faq .content-text aside nav .active {
    color: #1d2e4a;
    background-color: rgba(40, 96, 164, 0.25);
}

.faq .content-text aside nav .active:hover {
    background-color: rgba(40, 96, 164, 0.25);
}

.faq .content-text aside .search {
    display: flex;
    flex-direction: column;
}

@media (max-width: 1030px) {
    .faq .content-text aside .search {
        align-self: start;
    }
}

.faq .content-text aside .search label {
    font-size: 1rem;
    padding-bottom: 0.5rem;
}

.faq .content-text aside .search input {
    border-radius: 8px;
    border: 1px solid black;
    padding: 0.5rem;
    font-size: 1.125rem;
}

.image-cont {
    position: relative;
    margin: 0;
    padding: 0;
    height: 100%;
    object-fit: contain;
}

@media (max-width: 1080px) {
    .image-cont {
        width: calc(100%);
    }
}

.image-cont img {
    width: 100%;
    object-fit: contain;
}

.google-font {
    font-family: 'Merriweather Variable', serif;
}

.caution {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.hero-card {
    max-width: 350px;
    min-width: 350px;
    height: 280px;
    border-radius: 16px;
    background-color: white;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    color: black;
    text-decoration: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    flex: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-header {
    background-color: #0073aa;
    flex: 1;
    border-radius: 16px 16px 0 0;
    width: 100%;
    height: 200px;
}

.hero-header img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
    border-radius: 16px 16px 0 0;

}

.hero-body {
    padding: 16px;
}

.hero-body p {
    font-size: 1rem;
}

.hero-text {
    margin: 0;
}

.hero-text h4 {
    font-size: 1.25rem;
}

.hero-card:hover {
    background-color: #f5f5f5;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.15);
    transform: scale(1.05);
}

.hero-container {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
}

.startseite-card {
    min-width: 380px;
    max-width: 480px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-image {
    display: block;
    flex: 1;
    position: relative;
    overflow: hidden;

}

.startseite-card a {
    position: relative;
    text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.card-image img {
    object-fit: cover;
    aspect-ratio: 1.33;
    width: 100%;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;

}

.card-image:hover img {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    display: block;
}

.startseite-card .image-header {
    display: flex;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    margin: 0;
    padding: 0 0.25rem 0 0.25rem;
    box-sizing: border-box;
    align-items: center;
    padding-left: 0;
    color: white;
    font-size: 1rem;
    z-index: 2;
    background-color: rgba(40, 96, 164, 0.25);
}

.startseite-card .image-header .card-category {
    box-sizing: border-box;
    text-decoration: none;
    padding: 0.25rem;
    background-color: #2860a4;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    color: white;
}

.startseite-card .news-headline {
    font-size: 1.25rem;
    color: #0073aa;
    padding-top: 0.5rem;
    text-decoration: none;
}