/* Global Styles */
:root {
    --primary-color: #0000ff;
    --secondary-color: #0000ff;
    --text-color: #646464;
    --light-gray: #f5f5f5;
    --white: #ffffff;
}

@font-face {
    font-family: "IBM Plex Sans";
    src: url("fonts/IBMPlexSans-VariableFont_wdth,wght.ttf") format("truetype");
format("truetype-variations");
    font-weight: 1 999;
}

@font-face {
    font-family: "IBM Plex Sans Italic";
    src: url("fonts/IBMPlexSans-Italic-VariableFont_wdth,wght.ttf") format("truetype");
format("truetype-variations");
    font-weight: 1 999;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'IBM Plex Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);

    max-width: 1400px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-weight: 500;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
    word-wrap: break-word;
}

a:hover {
    color: var(--secondary-color);
}

/* Header Styles */
.header {
    padding: 2rem 0 0 0;
    background-color: var(--white);
    text-align: center;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;

    padding-bottom: 1rem;

}

p {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.right {
    text-align: right;
}

.dhm-separator {
    border-bottom: 0.4rem solid var(--primary-color);
}

.dhm-pb {
    padding-bottom: 4rem;
}

.dhm-citation {
    font-weight: 300;
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Navigation Styles */
.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1000;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--primary-color);
    transition: all 0.3s ease-in-out;
}

.nav-links, .footer-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.25rem;
    font-size: 1rem;
}


.header-logo {
    margin: 3rem 0 1rem 0;
}

header, main, footer {
    margin: 0 5%;
}

/* Hero Section */
.hero {
    position: relative;
    margin-bottom: 10%;
    aspect-ratio: 1400/820;
    width: 100%;
    resize: horizontal;
    background-size: cover;

}

.quote-circle {
    position: absolute;
    right: 10%;
    bottom: -10%;
    width: calc(40%);
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    text-align: center;
    z-index: 1;
    overflow: hidden;
}

.quote {
    font-family: 'IBM Plex Sans', sans-serif;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

@media screen and (max-width: 1390px) {
    .quote p {
        font-size: 1.09rem !important;
    }
}

@media screen and (max-width: 1200px) {
    .quote p {
        font-size: 1rem !important;
    }
}

@media screen and (max-width: 1110px) {
    .quote p {
        font-size: 0.9rem !important;
    }
}


em {
    font-family: 'IBM Plex Sans Italic', sans-serif;
    font-style: normal;
}

.quote-author {
}

.content {
    display: flex;
    padding: 0 0 1rem 0;
    margin-top: 2rem;
    gap: 4rem;
}

.content .column {
    flex: 1;
}

.hero-content h2 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* Section Styles */
.section {
    padding: 4rem 0;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
}

.subtitle {
    text-align: center;
    margin-bottom: 3rem;
    color: #666;
}

/* Memorials Section */
.memorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0 3rem 0;
}

.memorial-item {
    text-align: center;
    padding: 2rem;

    transition: transform 0.3s ease;
}

.memorial-item:hover {
    transform: translateY(-5px);
}

.memorial-icon img {
    width: 100%;
}

.memorial-item p {
    color: var(--text-color) !important;
    font-weight: 600;
    font-size: 1.25rem;
    line-height: 1.2;
    margin-top: 0.5rem;
}

section .headline {
    color: var(--text-color);
    font-weight: 300;
    letter-spacing: 0.05rem;
    margin-bottom: 2.5rem;
    font-size: 2.25rem;
}

section .subline {
    color: var(--text-color);
    font-weight: 600;
}

/* Initiators Section */
.initiators-container {
    display: flex;
    gap: 4rem;
    margin: 3rem 0;
}

.initiator {
    flex: 1;
}

.initiator h3 {
    margin-bottom: 1rem;
    color: var(--text-color);
}

.institute-link {
    text-align: center;
    margin-top: 2rem;
}

/* Partner Section */
.partner-content {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
    margin-top: 2rem;
}

.partner-logo {
    flex: 1;
    text-align: center;
}

.partner-logo h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.partner-text {
    flex: 2;
}

.signature {
    margin: 1.5rem 0;
    font-style: italic;
}

/* Footer */
.footer {
    padding: 0 0 2rem 0;
}

.footer-link {
    font-weight: 500;
    letter-spacing: 0.05rem;
    font-size: 1.5rem;
    margin-top: 0.5rem;
    cursor: pointer;
}

.footer a {
    color: var(--text-color);
}

.footer a:hover {
    color: var(--primary-color);
}

.hidden {
    display: none;
}

.scrolltotop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    z-index: 9999;
    transition: background-color 0.3s ease;
    border: 0;
}

.scrolltotop:hover {
    background-color: var(--text-color);
}

/* Mobile Navigation */
.mobile-impressum {
    display: none;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {

    header .dhm-separator {
        border: none;
    }

    .scrolltotop {
        display: none;
    }

    .dhm-citation {
        font-size: 1.5rem;
    }

    p {
        font-size: 1.1rem;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .nav-links {
        position: fixed;
        left: -100%;
        top: 0;
        gap: 0;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: 100vh;
        text-align: center;
        transition: 0.3s;
        padding-top: 80px;
        z-index: 999;
    }

    .nav-links.active {
        left: 0;
    }

    .nav-link {
        margin: 16px 0;
        font-size: 1.5rem;
    }

    .desktop-impressum {
        display: none;
    }

    .mobile-impressum {
        display: block;
    }
}

/* Responsive Design */
/* Mobile Quote Styles */
.mobile-quote {
    display: none;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    margin: 0;
    text-align: left;
}

.mobile-quote-content p {
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: var(--white);
}

.mobile-quote-author {
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.25rem !important;
}


@media (max-width: 768px) {
    .mobile-quote {
        margin: 0;
        padding: 1.5rem;
    }

    .mobile-quote-content p {
        font-size: 1rem;
    }
}

@media (max-width: 1024px) {
    .content,
    .initiators-container,
    .partner-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0rem
    }

    .hero {
        margin-bottom: 0;
    }

    .hero-image {
        justify-content: center;

    }

    .quote-circle {
        display: none;
    }

    .mobile-quote {
        display: block;
    }
}

@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .header h1 {
        font-size: 2rem;
    }


}


/** cookie consent **/
/* Overlay */
.cookie-banner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px; /* sorgt für Abstand an den Rändern auf kleinen Bildschirmen */
    box-sizing: border-box;
}

/* Banner Box */
.cookie-banner {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    text-align: center;
    animation: fadeIn 0.5s ease;
    box-sizing: border-box;
}

/* Button */
.cookie-banner .close {
    margin-top: 15px;
    padding: 12px 20px;
    width: 100%;
    border: none;
    background-color: #333;
    color: white;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

/* Paragraph text */
.cookie-banner p {
    font-size: 16px;
    margin-bottom: 10px;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ✅ Mobile Optimierungen */
@media (max-width: 480px) {
    .cookie-banner {
        padding: 16px;
        border-radius: 8px;
    }

    .cookie-banner p {
        font-size: 15px;
    }

    .cookie-banner .close {
        font-size: 15px;
        padding: 10px;
    }
}

ol, ul {
    margin-left: 1.5rem;
}

li {
    margin: 1rem;
    font-size: 1.25rem;
}

::marker {
    font-weight: 600;
}

.hero-copyright {
    position: absolute;
    bottom: 2px;
    right: 4px;
    font-size: 0.6rem;
    color: var(--white);
    opacity: 50%;
}

