font-family: "richmond-text", serif;
font-family: "europa", sans-serif;

/* =========================
   BASE TYPOGRAPHY (DESKTOP)
========================= */

/* Body */
body {
    font-family: "europa", sans-serif;
    font-weight: 300;
    font-size: 16px;
    line-height: 1.6;
    color: #263746;
}

/* Headlines */
h1, h2, h3, h4, h5, h6 {
    font-family: "richmond-text", serif;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.5px;
    margin-bottom: 0.6em;
}

/* Hierarchie Desktop */
h1 { font-size: 48px; letter-spacing: 1px; }
h2 { font-size: 30px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }
h5 { font-size: 17px; }
h6 { font-size: 15px; }

/* Text */
p {
    font-size: 16px;
    margin-bottom: 1.2em;
}

/* Buttons */
.sppb-btn {
    font-family: "europa", sans-serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* =========================
   HERO (DESKTOP)
========================= */

.hero h1 {
    font-size: 56px;
    line-height: 1.1;
    letter-spacing: 1px;
}

.hero p {
    font-size: 18px;
    max-width: 520px;
}

/* =========================
   SPPB FIXES
========================= */

h1.sppb-addon-title {
    font-family: "richmond-text", serif !important;
}

h2.sppb-addon-title,h3.sppb-addon-title,h4.sppb-addon-title {
    font-family: "europa", sans-serif !important;
}

.sppb-addon-text {
    font-family: "europa", sans-serif !important;
}

/* =========================
   TABLET (≤ 991px)
========================= */

@media (max-width: 991px) {

    body {
        font-size: 15px;
    }

    h1 { font-size: 38px; }
    h2 { font-size: 26px; }
    h3 { font-size: 22px; }
    h4 { font-size: 18px; }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 17px;
    }
}

/* =========================
   MOBILE (≤ 767px)
========================= */

@media (max-width: 767px) {

    body {
        font-size: 15px;
        line-height: 1.6;
    }

    h1 { 
        font-size: 30px; 
        letter-spacing: 0.5px;
    }

    h2 { font-size: 24px; }
    h3 { font-size: 20px; }
    h4 { font-size: 17px; }

    p {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 36px;
        line-height: 1.15;
    }

    .hero p {
        font-size: 16px;
    }
}

/* =========================
   SMALL MOBILE (≤ 480px)
========================= */

@media (max-width: 480px) {

    h1 { font-size: 30px; }
    h2 { font-size: 24px; }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 15px;
    }
}

/* =========================
   GLOBAL SPACING SYSTEM
========================= */

/* STANDARD SECTION */
.section {
    padding: 70px 20px;
}

/* LARGE SECTION (Hero, Intro) */
.section-lg {
    padding: 100px 20px;
}

/* SMALL SECTION */
.section-sm {
    padding: 40px 20px;
}

/* =========================
   INNER WIDTH CONTROL
========================= */

.container-narrow {
    max-width: 700px;
    margin: 0 auto;
}

.container-medium {
    max-width: 900px;
    margin: 0 auto;
}

.container-wide {
    max-width: 1100px;
    margin: 0 auto;
}

/* =========================
   VERTICAL RHYTHM
========================= */

.section h2 {
    margin-bottom: 30px;
}

.section h3 {
    margin-bottom: 10px;
}

.section p {
    margin-bottom: 14px;
}

/* =========================
   GRID SPACING
========================= */

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {

    .section {
        padding: 50px 20px;
    }

    .section-lg {
        padding: 70px 20px;
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

}

.footer-inner-wrapper {
    border-radius: 5px !important;
  font-family:Europa !important;
}

#sp-footer {
  background-color:white !important;
}


/* =========================
   STICKY HEADER INNER FIX
========================= */



/* =========================
   STICKY ZUSTAND
========================= */

#sp-header.container {

    background: rgba(255, 255, 255, 0.5) !important;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    transition: all 0.3s ease;
}

#sp-footer  div:first-child {
  width:100% important;
  }

.view-article .article-details .article-header h1 {
  text-transform: none !important;
  }

iframe {
  border:1px solid #0E4F8A;
  box-shadow: 2px 2px 2px 1px rgb(173 173 173 / 20%);

}

/* =========================================================
   NEWS-BLOG: moderne Teaser-Karten
   Gilt nur innerhalb der Joomla-Blogansicht .article-list
   ========================================================= */

/* Grundlayout */
.article-list {
    --news-accent: #0E4F8A;
    --news-accent-hover: #0A355D;
    --news-text: #263746;
    --news-muted: #6B7680;
    --news-border: rgba(14, 79, 138, 0.14);
    --news-card-bg: #ffffff;
    --news-soft-bg: #F4F8FB;
    --news-gold: #C7A35A;
}

.article-list > .row {
    margin-right: 0;
    margin-left: 0;
}

.article-list > .row > .container-fluid {
    padding-right: 0;
    padding-left: 0;
}

.article-list .col-12.col-lg-9 > .row {
    margin-right: -12px;
    margin-left: -12px;
    row-gap: 24px;
}

.article-list .col-12.col-lg-9 > .row > [class*="col-"] {
    display: flex;
    padding-right: 12px;
    padding-left: 12px;
}

/* Linke Überschrift */
.article-list .col-lg-3 {
    padding-right: 42px;
}

.article-list .col-lg-3 .sp-module {
    position: sticky;
    top: 130px;
}

.article-list #sppb-addon-wrapper-1744954411048 {
    width: 100% !important;
    margin: 0 !important;
}

.article-list #sppb-addon-1744954411048 .sppb-addon-title {
    position: relative;
    margin: 0 !important;
    padding-bottom: 22px !important;
    color: var(--news-accent) !important;
    line-height: 1.05 !important;
}

.article-list #sppb-addon-1744954411048 .sppb-addon-title::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 54px;
    height: 3px;
    border-radius: 999px;
    background: var(--news-gold);
    content: "";
}

/* Einzelne Artikelkarte */
.article-list .article {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--news-border);
    border-radius: 18px;
    background: var(--news-card-bg);
    box-shadow: 0 10px 30px rgba(31, 40, 42, 0.07);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.article-list .article:hover {
    border-color: rgba(14, 79, 138, 0.28);
    box-shadow: 0 18px 42px rgba(31, 40, 42, 0.13);
    transform: translateY(-5px);
}

/* Vorschaubild */
.article-list .article > a {
    display: block;
    overflow: hidden;
}

.article-list .article-intro-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--news-soft-bg);
}

.article-list .article-intro-image::after {
    position: absolute;
    inset: auto 0 0;
    height: 35%;
    background: linear-gradient(
        to top,
        rgba(10, 53, 93, 0.18),
        transparent
    );
    content: "";
    pointer-events: none;
}

.article-list .article-intro-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.article-list .article:hover .article-intro-image img {
    transform: scale(1.045);
}

/* Karteninhalt */
.article-list .article-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 26px 28px 28px;
}

.article-list .article-header {
    margin: 0;
}

.article-list .article-header h2 {
    margin: 0;
    color: var(--news-text);
    font-size: clamp(1.35rem, 1.8vw, 1.75rem);
    line-height: 1.16;
}

.article-list .article-header h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.article-list .article-header h2 a:hover,
.article-list .article-header h2 a:focus-visible {
    color: var(--news-accent);
}

/* Datum oberhalb der Überschrift */
.article-list .article-info {
    order: -1;
    margin: 0 0 14px;
}

.article-list .article-publish-date-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--news-muted);
    font-size: 0.85rem;
    line-height: 1.3;
}

.article-list .article-publish-date-text p {
    margin: 0;
    padding: 5px 9px;
    border-radius: 999px;
    background: var(--news-soft-bg);
    color: var(--news-accent);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    line-height: 1;
    text-transform: uppercase;
}

.article-list .article-publish-date-text .published,
.article-list .article-publish-date-text time {
    color: inherit;
}

/* Weiterlesen */
.article-list .article-introtext {
    margin-top: auto;
    padding-top: 24px;
}

.article-list .readmore {
    margin: 0;
}

.article-list .readmore a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border: 1px solid var(--news-accent);
    border-radius: 10px;
    background: var(--news-accent);
    color: #ffffff;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.article-list .readmore a::after {
    margin-left: 9px;
    content: "→";
    transition: transform 0.2s ease;
}

.article-list .readmore a:hover,
.article-list .readmore a:focus-visible {
    border-color: var(--news-accent-hover);
    background: var(--news-accent-hover);
    color: #ffffff;
    transform: translateY(-1px);
}

.article-list .readmore a:hover::after,
.article-list .readmore a:focus-visible::after {
    transform: translateX(4px);
}

.article-list a:focus-visible {
    outline: 3px solid rgba(14, 79, 138, 0.25);
    outline-offset: 3px;
}

/* Tablet */
@media (max-width: 991.98px) {
    .article-list .col-lg-3 {
        padding-right: 12px;
        padding-bottom: 32px;
        padding-left: 12px;
    }

    .article-list .col-lg-3 .sp-module {
        position: static;
    }

    .article-list #sppb-addon-1744954411048 .sppb-addon-title {
        padding-bottom: 16px !important;
    }
}

/* Mobil */
@media (max-width: 575.98px) {
    .article-list .col-12.col-lg-9 > .row {
        row-gap: 18px;
    }

    .article-list .article {
        border-radius: 14px;
    }

    .article-list .article-body {
        padding: 22px 20px;
    }

    .article-list .readmore a {
        width: 100%;
    }
}

/* Reduzierte Bewegung */
@media (prefers-reduced-motion: reduce) {
    .article-list .article,
    .article-list .article-intro-image img,
    .article-list .readmore a,
    .article-list .readmore a::after {
        transition: none;
    }

    .article-list .article:hover,
    .article-list .readmore a:hover {
        transform: none;
    }
}

.readmore a {
    color: #fff !important;
}

/* =========================================================
   HEADER-LOGO – immer exakt so hoch wie der weiße Header
   ========================================================= */

#sp-header #sp-logo {
    align-self: stretch;
}

#sp-header #sp-logo .sp-column,
#sp-header #sp-logo .logo,
#sp-header #sp-logo .logo-image {
    display: flex;
    align-items: stretch;
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
}

#sp-header #sp-logo img {
    display: block;
    width: auto !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: contain;
}

#sp-header #sp-logo a.logo {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

/* Rangliste: abwechselnd weiß / transparent */
.sg-ranking-module__item:nth-child(odd) {
    background: #ffffff;
}

.sg-ranking-module__item:nth-child(even) {
    background: transparent;
}
/* Rangliste: abwechselnd weiß / transparent */
.sg-ranking-module__item {
    padding: .65rem .8rem;
    border-radius: 8px;
}

.sg-ranking-module__item:nth-child(odd) {
    background: #ffffff;
}

.sg-ranking-module__item:nth-child(even) {
    background: transparent;
}
.sppb-btn, body .btn {
    text-transform: none !important;
  }