/*
 * Gestaltung „Nie wieder!“ – ruhiges, würdiges Erscheinungsbild für das Gedenken.
 * Wird nach allen anderen Stylesheets geladen und überschreibt das Tooplate-Template.
 */

/* ---------- Schriften (lokal, SIL Open Font License) ---------- */

@font-face {
    font-family: 'Source Serif 4';
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url(../fonts/source-serif-4.woff2) format('woff2');
}

@font-face {
    font-family: 'Source Serif 4';
    font-style: italic;
    font-weight: 200 900;
    font-display: swap;
    src: url(../fonts/source-serif-4-italic.woff2) format('woff2');
}

@font-face {
    font-family: 'Source Sans 3';
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url(../fonts/source-sans-3.woff2) format('woff2');
}

/* ---------- Farben und Maße ---------- */

:root {
    --papier: #f7f5f0;
    --papier-dunkel: #ece9e2;
    --granit: #2f3437;
    --granit-mittel: #5f666a;
    --linie: #d6d2c8;
    --text: #1f2224;
    --akzent: #8c3b2e;
    --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --sans: 'Source Sans 3', 'Segoe UI', Arial, sans-serif;
    --lesebreite: 68ch;
}

/* ---------- Grundlagen ---------- */

/* Das Template setzt „Open Sans, Arial“ per * auf jedes Element – stattdessen vererben */
* {
    font-family: inherit;
}

body {
    margin: 0;
    background-color: var(--papier);
    color: var(--text);
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.65;
    text-align: left;
}

p,
li {
    font-family: var(--serif);
    color: var(--text);
}

a {
    color: var(--akzent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

a:hover,
a:focus {
    color: var(--granit);
}

.header a,
.header a:hover,
.header a:focus {
    text-decoration: none;
}

h1, h2, h3, h4, h5 {
    font-family: var(--serif);
    color: var(--text);
}

.page-section {
    padding: 70px 0 !important;
    background: none;
}

/* Erster Abschnitt der Unterseiten liegt direkt unter der festen 80-px-Kopfzeile */
.header + .page-section {
    padding-top: 130px !important;
}

/* Abschnittsüberschriften */
.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.section-heading h1,
.section-heading h2,
.section-heading h4,
.section-heading .film-title {
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text);
    margin: 0 0 18px;
}

.section-heading .line-dec {
    width: 48px;
    height: 1px;
    background-color: var(--akzent);
    margin: 0 auto;
}

.separator {
    width: 100%;
    max-width: var(--lesebreite);
    height: 1px;
    background-color: var(--linie);
    margin: 60px auto;
    border-radius: 0;
}

/* Lesespalte für längere Texte */
.lesetext {
    max-width: var(--lesebreite);
    margin: 0 auto;
    text-align: left;
}

.lesetext p,
.lesetext li {
    font-size: 18px;
    line-height: 1.65;
    margin: 0 0 1.1em;
}

.lesetext h3 {
    font-size: 24px;
    font-weight: 600;
    margin: 1.6em 0 0.5em;
}

/* ---------- Kopfzeile ---------- */

.header,
.header.active {
    background-color: rgba(247, 245, 240, 0.97);
    box-shadow: none;
    border-bottom: 1px solid var(--linie);
}

#main-title {
    font-family: var(--serif);
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text);
}

.header .navbar .navbar-nav > li > a,
.header.active .navbar .navbar-nav > li > a {
    font-family: var(--sans);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--granit) !important;
}

.header .navbar .navbar-nav > li > a:hover,
.header .navbar .navbar-nav > li > a:focus {
    color: var(--akzent) !important;
}

.navbar-nav > li > a[aria-current="page"] {
    font-weight: 600;
    color: var(--akzent) !important;
}

.navbar-inverse .navbar-toggle,
.navbar-inverse .navbar-toggle:hover,
.navbar-inverse .navbar-toggle:focus {
    background-color: transparent;
    border-color: var(--granit);
}

.navbar-inverse .navbar-toggle .icon-bar {
    background-color: var(--granit);
}

@media (max-width: 1099px) {
    #main-nav {
        background-color: var(--papier);
        border-bottom: 1px solid var(--linie);
        box-shadow: none;
    }

    .navbar-nav > li {
        border-bottom: 1px solid var(--linie);
    }
}

/* ---------- Startbild ---------- */

/* Nachtfoto des Mahnmals mit Kerzen (2. Februar 2026), rechts auf ruhiger dunkler Fläche, leicht entsättigt.
   Alternative: ursprüngliches Tagesfoto img/slide_01_web.jpg (dann Schriftzug unten links mit Verlauf von unten). */
.cd-hero-slider li:first-of-type {
    background-image: url(../img/hero_nacht.jpg);
    background-color: #121415;
    background-size: auto 100%;
    background-position: 72% center;
}

/* Niedrigerer Startbereich: 570 px, davon 80 px unter der festen Kopfzeile → 490 px sichtbar,
   die das Foto vollständig ausfüllt */
@media only screen and (min-width: 1170px) {
    .cd-hero-slider {
        height: 570px;
    }
}

.cd-hero-slider .cd-full-width {
    text-align: left;
}

/* Schriftzug links im dunklen Bereich, neben dem Mahnmal */
.cd-hero-slider .tm-slide-content-div {
    position: absolute;
    left: max(8%, calc(50% - 560px));
    right: auto;
    top: calc(50% + 40px);
    bottom: auto;
    transform: translateY(-50%);
    width: 42%;
    max-width: 560px;
    height: auto;
}

#title,
.cd-hero-slider h1,
.slide-caption h1 {
    font-family: var(--serif);
    font-size: 60px;
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.1;
    color: #f4f1ea;
    text-shadow: none;
    width: auto;
    max-width: none;
    margin: 0 0 14px;
}

#subtitle {
    font-family: var(--serif);
    font-size: 21px;
    font-style: italic;
    line-height: 1.45;
    color: #cfcac0;
    text-shadow: none;
    width: auto;
    max-width: none;
    margin: 0;
}

.cd-slider-nav {
    display: none;
}

@media (max-width: 767px) {
    .cd-hero-slider li:first-of-type {
        background-size: cover;
        background-position: 82% center;
    }

    /* Verlauf unten für den Schriftzug über dem Bild */
    .cd-hero-slider li:first-of-type::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(0deg, rgba(18, 20, 21, 0.85) 0%, rgba(18, 20, 21, 0.4) 40%, rgba(18, 20, 21, 0) 65%);
    }

    .cd-hero-slider .tm-slide-content-div {
        left: 6%;
        top: auto;
        bottom: 8%;
        transform: none;
        width: 88%;
    }

    #title,
    .cd-hero-slider h1,
    .slide-caption h1 {
        font-size: 34px;
    }

    #subtitle {
        font-size: 17px;
    }
}

/* ---------- Zahlen-Block ---------- */

.zahlen {
    padding: 70px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--linie);
}

.zahlen-liste {
    display: flex;
    justify-content: center;
    gap: 80px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.zahlen-liste li {
    max-width: 260px;
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.45;
    color: var(--granit-mittel);
}

.zahlen-liste .zahl {
    display: block;
    font-family: var(--serif);
    font-size: 88px;
    font-weight: 400;
    line-height: 1;
    color: var(--text);
    margin-bottom: 12px;
}

.zahlen-widmung {
    margin: 45px auto 0;
    max-width: 40ch;
    font-family: var(--serif);
    font-style: italic;
    font-size: 20px;
    color: var(--granit);
}

@media (max-width: 600px) {
    .zahlen-liste {
        flex-direction: column;
        align-items: center;
        gap: 36px;
    }

    .zahlen-liste .zahl {
        font-size: 64px;
    }
}

/* ---------- Abschnitte ohne Karten-Optik ---------- */

#info-box-video,
.info-box-video {
    background: none;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    margin: 0 auto 30px;
    max-width: var(--lesebreite);
}

.info-box-content {
    display: block;
}

.info-box-content p {
    margin: 0 0 1.1em;
    font-size: 18px;
    line-height: 1.65;
    color: var(--text);
}

.centeredVideoText,
.centeredInfoText,
.justifyInfoText {
    font-family: var(--serif);
    font-size: 18px;
    line-height: 1.65;
    color: var(--text);
    text-align: left;
}

/* Mahnmal- und Film-Abschnitt nutzen .container-map (ohne Innenabstand) */
.container-map {
    padding-left: 20px;
    padding-right: 20px;
}

#map_div .section-heading,
#video .section-heading {
    margin-bottom: 30px;
}

#map_div .row-map,
#video .row-map {
    max-width: 1100px;
    margin: 0 auto;
}

#map {
    border: 1px solid var(--linie);
}

/* Inschrift */
.inschrift {
    border-left: 1px solid var(--akzent);
    font-family: var(--serif);
    color: var(--text);
}

.inschrift cite {
    color: var(--granit-mittel);
}

.inschrift .inschrift-quelle {
    margin-top: 18px;
    padding-top: 10px;
    border-top: 1px solid var(--linie);
    letter-spacing: 0;
}

/* Zitate (Reden, Erklärungen) */
.zitat {
    margin: 1.5em 0;
    padding: 0 0 0 22px;
    border-left: 1px solid var(--akzent);
    font-size: 18px;
}

.zitat p {
    font-style: italic;
    margin: 0 0 0.9em;
}

.zitat p:last-of-type {
    margin-bottom: 0.4em;
}

.zitat cite {
    display: block;
    font-family: var(--sans);
    font-style: normal;
    font-size: 15px;
    color: var(--granit-mittel);
}

.zitat-einleitung {
    color: var(--granit-mittel);
}

/* ---------- Buttons und Teaser ---------- */

.primary-button a {
    display: inline-block;
    padding: 10px 22px;
    border: 1px solid var(--granit);
    border-radius: 0;
    background: none;
    color: var(--granit);
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}

.primary-button a:hover,
.primary-button a:focus {
    background-color: var(--granit);
    color: var(--papier);
}

.film-teaser-button,
.rueckblick-teaser-button {
    text-align: center;
}

.film-teaser-image img {
    border-radius: 0;
}

.rueckblick-teaser-item {
    background: none;
    box-shadow: none;
    border-bottom: 1px solid var(--linie);
    color: var(--text);
}

.rueckblick-teaser-item img {
    filter: saturate(0.85);
}

.rueckblick-teaser-item h3 {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 0;
    padding: 16px 0;
    text-align: left;
}

.rueckblick-teaser-item:hover,
.rueckblick-teaser-item:focus {
    background: none;
    color: var(--akzent);
}

/* ---------- Literatur ---------- */

#publikation-text {
    background-image: none;
    background-color: var(--papier-dunkel);
    padding: 70px 0;
    color: var(--text);
}

#publikation-text .left-text {
    max-width: var(--lesebreite);
    margin: 0 auto;
    text-align: left;
}

#publikation-text h2 {
    font-size: 32px;
    font-weight: 600;
    line-height: 1.25;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text);
    text-align: left;
}

#publikation-text h5 {
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 600;
    color: var(--granit-mittel);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

#publikation-text p {
    font-size: 18px;
    line-height: 1.65;
    color: var(--text);
    text-align: left;
}

/* ---------- Rückblick-Seite ---------- */

#rueckblick {
    background: none;
}

.jahres-nav {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: -10px 0 50px;
    font-family: var(--sans);
    font-size: 16px;
    letter-spacing: 1px;
}

.jahres-nav a {
    color: var(--granit);
    text-decoration: none;
    border-bottom: 1px solid var(--linie);
    padding-bottom: 2px;
}

.jahres-nav a:hover,
.jahres-nav a:focus {
    color: var(--akzent);
    border-color: var(--akzent);
}

.rueckblick-jahr {
    scroll-margin-top: 100px;
}

.rueckblick-jahr .section-heading h2 {
    font-size: 28px;
}

.rueckblick-bild {
    margin: 2em 0;
}

.rueckblick-bild img {
    width: 100%;
    height: auto;
    display: block;
}

.rueckblick-bild figcaption,
.galerie figcaption {
    margin-top: 8px;
    font-family: var(--sans);
    font-size: 14px;
    line-height: 1.4;
    color: var(--granit-mittel);
}

/* Galerie mit sichtbaren Bildunterschriften */
.galerie {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 28px 20px;
    margin: 2em 0 0;
    padding: 0;
    list-style: none;
}

.galerie figure {
    margin: 0;
}

.galerie a {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--papier-dunkel);
}

.galerie img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.galerie a:hover img,
.galerie a:focus img {
    transform: scale(1.04);
}

/* ---------- Filmseite ---------- */

#zeitzeugenfilm .video-div {
    margin-bottom: 40px;
}

.film-mitwirkende {
    margin: 2em 0;
    padding: 1.5em 0;
    border-top: 1px solid var(--linie);
    border-bottom: 1px solid var(--linie);
}

.film-mitwirkende h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 0.6em;
}

.zeitzeugen-liste {
    columns: 2;
    column-gap: 40px;
    list-style: none;
    margin: 0 0 1.5em;
    padding: 0;
}

.zeitzeugen-liste li {
    font-size: 21px;
    line-height: 1.6;
    break-inside: avoid;
}

.team-liste {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 4px 20px;
    margin: 0;
    font-size: 17px;
}

.team-liste dt {
    font-family: var(--sans);
    font-weight: 400;
    color: var(--granit-mittel);
}

.team-liste dd {
    margin: 0;
}

.film-hinweis {
    font-family: var(--sans);
    font-size: 16px !important;
    color: var(--granit-mittel) !important;
}

@media (max-width: 600px) {
    .zeitzeugen-liste {
        columns: 1;
    }

    .team-liste {
        grid-template-columns: 1fr;
    }

    .team-liste dd {
        margin-bottom: 8px;
    }
}

/* ---------- Impressum ---------- */

.impressum-raster {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 60px;
    max-width: 980px;
    margin: 0 auto;
    text-align: left;
}

.impressum-raster p {
    font-size: 17px;
    line-height: 1.6;
}

.impressum-raster strong {
    font-family: var(--sans);
    font-weight: 600;
    letter-spacing: 0.5px;
}

@media (max-width: 767px) {
    .impressum-raster {
        grid-template-columns: 1fr;
    }
}

/* ---------- Footer mit Partner-Leiste ---------- */

footer {
    background: none;
    padding: 0;
    text-align: left;
}

.partner-leiste {
    background-color: var(--papier-dunkel);
    border-top: 1px solid var(--linie);
    padding: 40px 0 34px;
    scroll-margin-top: 80px;
}

.partner-titel {
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--granit-mittel);
    text-align: center;
    margin: 0 0 24px;
}

/* Template-Regeln für Social-Icons im Footer (footer ul/li/a) neutralisieren */
footer .partner-liste {
    float: none;
    margin: 0;
}

footer .partner-liste li {
    margin: 0;
}

footer .partner-liste a,
footer .partner-liste a:hover,
footer .partner-liste a:focus {
    width: auto;
    height: auto;
    line-height: 1.3;
    background: none;
    border-radius: 0;
    transition: none;
}

.partner-liste {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 22px 44px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.partner-liste a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--granit-mittel);
    text-decoration: none;
    font-family: var(--sans);
    font-size: 13px;
}

.partner-liste img {
    height: 46px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.75;
    transition: filter 0.3s, opacity 0.3s;
}

.partner-liste .partner-breit img {
    height: 34px;
}

/* Logos mit Namen im Bild: ohne Beschriftung, mittig zu den Wappen (Wappen 46 px + Name) */
.partner-liste .partner-breit {
    margin-bottom: 22px;
}

.partner-liste a:hover img,
.partner-liste a:focus img {
    filter: none;
    opacity: 1;
}

.partner-liste a:hover,
.partner-liste a:focus {
    color: var(--text);
}

.footer-leiste {
    background-color: var(--granit);
    padding: 16px 0;
    font-family: var(--sans);
    font-size: 15px;
}

.footer-leiste a {
    color: #e9e6df;
    text-decoration: none;
}

.footer-leiste a:hover,
.footer-leiste a:focus,
.footer-leiste a[aria-current="page"] {
    color: #fff;
    text-decoration: underline;
}
