/*
 * Eigenes Stylesheet dieser Website.
 *
 * Die beiden Dateien vendor.css und harrassowitz.css sind unveränderte
 * Kopien der Plattform und werden bei einem Plattform-Deploy neu gezogen –
 * deshalb steht hier alles, was wir selbst ergänzen. site.css wird nach den
 * beiden geladen und gewinnt damit bei gleicher Spezifität.
 */

/* ---------------------------------------------------------------------------
   Source Sans Pro, lokal ausgeliefert (SIL Open Font License 1.1,
   Lizenztext unter assets/fonts/source-sans-pro/LICENSE.txt).

   Kein Request an Google Fonts oder ein CDN: Ohne lokale Auslieferung würde
   beim Seitenaufruf die IP-Adresse der Besucherinnen und Besucher an einen
   Drittanbieter übertragen – dafür bräuchte es eine Einwilligung.

   Die Plattform deklariert dieselbe Familie, lädt sie aber (Stand 07/2026)
   nicht. Bis das dort nachgezogen ist, rendert die Plattform in der
   System-Sans und diese Website in Source Sans Pro – ein sichtbarer, aber
   bewusst in Kauf genommener Unterschied.
--------------------------------------------------------------------------- */

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/source-sans-pro/latin-400-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/source-sans-pro/latin-400-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/source-sans-pro/latin-600-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/source-sans-pro/latin-600-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/source-sans-pro/latin-700-normal.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/source-sans-pro/latin-700-italic.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
        U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122,
        U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Erweiterter Lateinschriftbereich – für Transkriptionen in den
   Reihen- und Titelangaben (č, ś, ā …) */
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/source-sans-pro/latin-ext-400-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
        U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url('/assets/fonts/source-sans-pro/latin-ext-400-italic.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
        U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('/assets/fonts/source-sans-pro/latin-ext-600-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
        U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('/assets/fonts/source-sans-pro/latin-ext-700-normal.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
        U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
        U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------------------
   Hero-Slider der Startseite

   Basiert auf dem Bootstrap-Carousel aus bootstrap.bundle.min.js – kein
   zusätzliches JavaScript nötig. Farben und Kanten kommen aus dem
   Plattform-Design: Navy #1c3d77, keine Rundungen.
--------------------------------------------------------------------------- */

.hero {
    margin-bottom: 32px;
}

.hero .carousel-item img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.hero .hero-caption {
    background: #1c3d77;
    color: #fff;
    /* unten Platz für die Indikatoren, die darüber liegen */
    padding: 16px 24px 28px;
}

.hero .hero-caption h2 {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 4px;
}

.hero .hero-caption p {
    color: #fff;
    font-size: 15px;
    margin: 0;
}

.hero .hero-caption a {
    color: #fff;
    text-decoration: underline;
}

/* Der Titel ist bereits als Überschrift erkennbar – Unterstreichung erst
   beim Überfahren, sonst wirkt der Balken unruhig. */
.hero .hero-caption h2 a {
    text-decoration: none;
}

.hero .hero-caption h2 a:hover,
.hero .hero-caption h2 a:focus {
    text-decoration: underline;
}


/* Pfeile: dezent, erst auf dem Bild sichtbar */
.hero .carousel-control-prev,
.hero .carousel-control-next {
    width: 8%;
    opacity: 0.6;
}

.hero .carousel-control-prev:hover,
.hero .carousel-control-next:hover,
.hero .carousel-control-prev:focus,
.hero .carousel-control-next:focus {
    opacity: 1;
}

/* Indikatoren unter das Bild, in den Navy-Streifen */
.hero .carousel-indicators {
    margin-bottom: 8px;
}

.hero .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #fff;
    background-color: transparent;
    opacity: 0.8;
}

.hero .carousel-indicators .active {
    background-color: #fff;
    opacity: 1;
}

@media (max-width: 767.98px) {
    .hero .carousel-item img {
        height: 200px;
    }

    .hero .hero-caption {
        padding: 12px 16px 28px;
    }

    .hero .hero-caption h2 {
        font-size: 1.25rem;
    }
}

/* Ohne Bewegungswunsch keine automatische Überblendung */
@media (prefers-reduced-motion: reduce) {
    .hero .carousel-item {
        transition: none;
    }
}
