/* ===================================================================
   PHARMASPEKTRUM-HOME.CSS - Startseite (nur .home/.prisma/.about/.topic/.feed)
   Site-weite News-Chrome (Ticker, Body-Background, Header-Groesse, globale
   Icon-Groesse) liegt seit 31.08.2026 in pharmaspektrum-layout.css - sie
   betraf jede Nicht-LP-Seite, nicht nur die Startseite, und diese Datei wird
   seitdem in header.php nur noch auf der Startseite geladen.
   =================================================================== */
.home-hero-cta i,
.feed-source i,
.home-conf-tag i {
    margin-right: 0.4rem;
}

.home-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(350px, 0.95fr);
    gap: var(--sp-6);
    align-items: stretch;
    margin: var(--sp-3) 0 var(--sp-7);
    padding: var(--sp-7);
    color: var(--ui-white);
    background:
        linear-gradient(135deg, rgba(16, 48, 69, 0.97), rgba(31, 88, 118, 0.95)),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 1px, transparent 1px, transparent 72px);
    border: 1px solid var(--home-blue-hero-border);
    border-radius: var(--r-md);
    box-shadow: 0 24px 55px rgba(20, 33, 43, 0.12);
}

.home-hero::after {
    content: "";
    position: absolute;
    right: -130px;
    top: -90px;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    transform: rotate(28deg);
}

.home-hero-content {
    position: relative;
    z-index: 1;
}

.home-hero-kicker {
    margin: 0 0 var(--sp-3);
    color: var(--home-blue-soft-text);
    font-size: var(--fs-sm);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-hero-title {
    max-width: 760px;
    margin: 0;
    color: var(--ui-white);
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    line-height: 1.08;
    font-weight: 700;
}

.home-hero-sub {
    max-width: 680px;
    margin: var(--sp-4) 0 var(--sp-5);
    color: var(--home-blue-body-text);
    font-size: var(--fs-md);
}

.home-hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
}

.home-hero-cta .btn-primary,
.home-hero-cta .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 var(--sp-4);
    border-radius: var(--r-sm);
    text-decoration: none;
    font-size: 0.94rem;
    font-weight: 800;
}

.home-hero-cta .btn-primary {
    color: var(--home-blue-dark);
    background: var(--ui-white);
}

.home-hero-cta .btn-secondary {
    color: var(--ui-white);
    border: 1px solid rgba(255, 255, 255, 0.42);
}

.home-hero-cta .btn-secondary:hover {
    color: var(--ui-white);
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.72);
}

.home-hero-visual {
    position: relative;
    z-index: 1;
    align-self: stretch;
    min-height: 330px;
    padding: var(--sp-5);
    overflow: hidden;
    background:
        radial-gradient(circle at 74% 24%, rgba(188, 220, 230, 0.2), transparent 34%),
        rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--r-md);
}

.home-hero-visual::before,
.home-hero-visual::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.16);
    transform: rotate(28deg);
}

.home-hero-visual::before {
    right: -72px;
    top: 34px;
    width: 220px;
    height: 220px;
}

.home-hero-visual::after {
    left: 44px;
    bottom: -120px;
    width: 260px;
    height: 260px;
}

.home-section {
    margin: var(--sp-7) 0;
}

.home-section.about-section {
    margin-bottom: 0;
}

.home-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: var(--sp-4);
    margin-bottom: var(--sp-4);
}

.home-section-head h2 {
    margin: 0;
    color: var(--home-ink);
    font-size: var(--fs-xl);
    line-height: 1.2;
}

.home-section-head p {
    margin: var(--sp-1) 0 0;
    color: var(--home-soft);
}

.home-section-link {
    color: var(--home-blue);
    font-size: var(--fs-sm);
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.home-section-link:hover {
    text-decoration: underline;
}

.regulator-feed {
    overflow: hidden;
    height: 169px;
    padding: var(--sp-3);
    background: var(--ui-panel-soft);
    border: 1px solid var(--home-line);
    border-radius: var(--r-md);
    box-shadow: 0 14px 34px rgba(20, 33, 43, 0.07);
}

.feed-window {
    overflow: hidden;
    height: 100%;
}

.feed-track {
    --feed-gap: var(--sp-3);
    position: relative;
    display: flex;
    gap: var(--feed-gap);
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    padding: 0;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.feed-track.is-sliding {
    transition: transform 0.72s cubic-bezier(0.76, 0, 0.24, 1);
}

.feed-item {
    position: relative;
    flex: 0 0 calc((100% - var(--feed-gap) - var(--feed-gap)) / 3);
    min-width: 0;
    max-width: calc((100% - var(--feed-gap) - var(--feed-gap)) / 3);
    min-height: 136px;
    display: grid;
    align-content: start;
    padding: var(--sp-3);
    color: var(--home-ink);
    background: var(--bg-card);
    border: 1px solid var(--ui-line-card);
    border-radius: var(--r-sm);
    box-shadow: 0 8px 22px rgba(20, 33, 43, 0.04);
    text-decoration: none;
    transform-origin: center center;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.feed-item:hover,
.feed-item:focus-visible {
    border-color: var(--ui-line-strong);
    box-shadow: var(--ui-shadow-card);
}

.feed-source {
    display: flex;
    min-width: 0;
    justify-content: space-between;
    gap: var(--sp-3);
    margin-bottom: var(--sp-2);
    color: var(--ui-muted-label);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.feed-source span {
    min-width: 0;
    max-width: 100%;
    display: inline-flex;
    align-items: baseline;
}

.feed-source span:first-child {
    flex: 1 1 auto;
    min-width: 0;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.feed-source span:first-child i {
    margin-right: 0.4rem;
}

.feed-source span:last-child {
    flex: 0 0 auto;
}

.feed-popover .feed-source {
    width: 100%;
    color: var(--home-blue);
    font-weight: 800;
}

.feed-type {
    display: none;
    width: max-content;
    margin-bottom: var(--sp-2);
    padding: 0.12rem 0.45rem;
    color: var(--home-blue);
    background: var(--ui-pill-bg);
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 850;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.feed-popover .feed-type {
    display: inline-flex;
}

.feed-title {
    min-width: 0;
    max-width: 100%;
    color: var(--home-ink);
    font-weight: 760;
    line-height: 1.35;
    display: -webkit-box;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.feed-popover .feed-title {
    -webkit-line-clamp: unset;
}

.feed-summary {
    display: -webkit-box;
    overflow: hidden;
    margin-top: var(--sp-2);
    color: var(--home-soft);
    font-size: 0.88rem;
    line-height: 1.42;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.feed-popover .feed-summary {
    -webkit-line-clamp: unset;
}

.feed-original {
    align-self: end;
    width: max-content;
    margin-top: var(--sp-3);
    padding: 0.45rem 0.7rem;
    color: var(--ui-white);
    background: var(--home-blue);
    border-radius: var(--r-sm);
    font-size: 0.82rem;
    font-weight: 800;
    text-decoration: none;
    display: none;
}

.feed-popover .feed-original {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
}

body .feed-popover a.feed-original,
body .feed-popover a.feed-original:visited {
    color: var(--ui-white);
    background: var(--home-blue);
}

body .feed-popover a.feed-original:hover,
body .feed-popover a.feed-original:focus-visible {
    color: var(--ui-white);
    background: var(--home-blue-hover);
}

.feed-popover {
    position: fixed;
    z-index: 500;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: min(520px, calc(100vw - 32px));
    max-width: none;
    min-height: 235px;
    padding: var(--sp-4);
    color: var(--home-ink);
    background: var(--bg-card);
    border: 1px solid var(--ui-line-strong);
    border-radius: var(--r-sm);
    box-shadow: var(--ui-shadow-large);
    text-decoration: none;
    opacity: 0;
    transform: translateY(18px) scale(0.975);
    transition: opacity 0.44s ease, transform 0.52s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

.feed-popover.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.home-article-layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
    gap: var(--sp-4);
    align-items: stretch;
}

.home .article-card {
    border: 1px solid var(--home-line);
    border-left: 0;
    box-shadow: 0 14px 34px rgba(20, 33, 43, 0.08);
}

.home .article-card:hover {
    border-color: var(--ui-line-hover);
    box-shadow: var(--ui-shadow-raised);
}

.home .article-card::before {
    content: var(--cat-mark, "GMP");
    position: absolute;
    right: 32px;
    bottom: 8px;
    color: var(--cat-color, var(--home-blue));
    font-size: 4rem;
    letter-spacing: -2px;
    font-weight: bold;
    opacity: 0.05;
    pointer-events: none;
}

.home .article-card.is-featured {
    min-height: 0;
    height: 100%;
    margin-bottom: 0;
    /* Spalte statt Grid: den Aufbau trug bis 19.08.2026 der Anker-Wrapper um die ganze
       Karte (flex column, min-height 100%). Er ist weg, die Karte uebernimmt ihn -
       sonst haengt .card-meta mit margin-top:auto nicht mehr am unteren Rand. */
    display: flex;
    flex-direction: column;
    color: var(--ui-white);
    background:
        linear-gradient(180deg, rgba(18, 54, 77, 0.1), rgba(18, 54, 77, 0.92)),
        var(--home-blue-feature);
    border: 1px solid var(--home-blue-feature-border);
}

.home .article-card.is-featured::before {
    content: var(--cat-mark, "GMP");
    font-weight: bolder;
    letter-spacing: -2px;
    right: 24px;
    bottom: 6px;
    color: rgba(255, 255, 255, 0.1);
    font-size: 5rem;
    opacity: 1;
}

.home .article-card.is-featured .card-title {
    max-width: 640px;
    font-family: var(--font-sans);
    font-size: 2.15rem;
    line-height: 1.15;
}


.home .article-card.is-featured .card-title a,
.home .article-card.is-featured .card-title span,
.home .article-card.is-featured .card-more {
    color: var(--ui-white);
}

.home .article-card.is-featured .card-excerpt {
    max-width: 660px;
    color: var(--home-blue-feature-text);
}

.home .article-card.is-featured .card-meta {
    margin-top: auto;
    color: var(--home-blue-light);
}

.home .card-cats {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-bottom: var(--sp-3);
}

.home .card-cats a {
    display: inline-flex;
    align-items: baseline;
    gap: var(--sp-2);
    color: var(--cat-color, var(--home-blue));
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.home .card-cats span {
    display: inline-flex;
    align-items: baseline;
    gap: var(--sp-2);
    color: var(--cat-color, var(--home-blue));
    font-size: 0.74rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home .card-cats span::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 0.28em;
    background: var(--cat-color, var(--home-blue));
    border-radius: 50%;
    flex: 0 0 auto;
}

.home .card-cats a::before {
    content: "";
    width: 8px;
    height: 8px;
    margin-top: 0.28em;
    background: var(--cat-color, var(--home-blue));
    border-radius: 50%;
    flex: 0 0 auto;
}

.home .article-card.is-featured .card-cats a {
    color: var(--home-blue-light);
}

.home .article-card.is-featured .card-cats a::before,
.home .article-card.is-featured .card-cats span::before {
    background: var(--home-blue-light);
}

.home .article-card.is-featured .card-cats span {
    color: var(--home-blue-light);
}

/* Hebt den Text ueber den dekorativen Kategoriemarker (.article-card::before).
   Der Titel steht bewusst NICHT in dieser Liste: er umschliesst den Stretched Link,
   dessen Overlay sich sonst auf ihn statt auf die Karte beziehen wuerde. Der Marker
   sitzt unten rechts und kreuzt den Titel nicht. */
.home .article-card .card-excerpt,
.home .article-card .card-meta {
    position: relative;
    z-index: 1;
}

.home .article-grid {
    grid-template-rows: repeat(2, minmax(0, 1fr));
}

.home .article-grid .article-card {
    min-height: 174px;
    padding: var(--sp-4);
}

.home .article-grid .card-title a,
.home .article-grid .card-title span,
.home .article-grid .card-excerpt {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
}

.home .article-grid .card-title a,
.home .article-grid .card-title span {
    -webkit-line-clamp: 3;
}

.home .article-grid .card-excerpt {
    -webkit-line-clamp: 3;
}

.topic-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-3);
}

.topic-card {
    background: var(--bg-card);
    border: 1px solid var(--cat-border, var(--home-line));
    border-radius: var(--r-md);
    box-shadow: 0 12px 30px rgba(20, 33, 43, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.topic-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(20, 33, 43, 0.1);
}

.topic-card a {
    display: block;
    height: 100%;
    padding: var(--sp-5);
    color: var(--home-ink);
    text-decoration: none;
}

.topic-card h3 {
    margin: 0;
    color: var(--cat-ink, var(--home-ink));
    font-size: 1.08rem;
}

.topic-card p {
    margin: var(--sp-2) 0 0;
    color: var(--home-soft);
    font-size: 0.92rem;
}

.topic-count {
    display: inline-flex;
    margin-top: var(--sp-3);
    padding: 0.18rem 0.52rem;
    color: var(--cat-ink, var(--home-blue));
    background: transparent;
    border: 1px solid var(--cat-border, var(--home-line));
    border-radius: 999px;
    font-size: var(--fs-sm);
    font-weight: 800;
}

.home-conf-panel {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-5);
    align-items: stretch;
    padding: var(--sp-5);
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(29, 85, 119, 0.08), transparent 45%),
        var(--bg-card);
    border: 1px solid var(--home-line);
    border-radius: var(--r-md);
    box-shadow: 0 12px 30px rgba(20, 33, 43, 0.06);
}

.home-conf-feature {
    position: relative;
    align-self: stretch;
    min-height: 0;
    overflow: hidden;
    color: var(--ui-white);
    background:
        linear-gradient(180deg, rgba(18, 54, 77, 0.16), rgba(18, 54, 77, 0.94)),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.1) 0, rgba(255,255,255,0.1) 1px, transparent 1px, transparent 44px),
        var(--home-blue);
    border-radius: var(--r-sm);
}

.home-conf-feature::before {
    content: "\f073";
    font-family: var(--font-icons);
    font-weight: 900;
    position: absolute;
    right: 32px;
    top: 30px;
    color: rgba(255, 255, 255, 0.16);
    font-size: 4.5rem;
    line-height: 1;
}

.home-conf-feature a {
    position: relative;
    z-index: 1;
    display: grid;
    align-content: end;
    min-height: 100%;
    height: 100%;
    padding: var(--sp-5);
    color: var(--ui-white);
    text-decoration: none;
}

.home-conf-feature h3 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.82rem;
    line-height: 1.12;
}

.home-conf-feature p {
    margin: var(--sp-2) 0 0;
    color: var(--home-blue-location-text);
}

.home-conf-timeline {
    --timeline-pad: 34px;
    --timeline-x: 14px;
    position: relative;
    display: grid;
    gap: 10px;
    padding: 0 0 0 var(--timeline-pad);
}

.home-conf-timeline::before {
    content: "";
    position: absolute;
    top: 18px;
    bottom: 18px;
    left: var(--timeline-x);
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--ui-line-strong), transparent);
}

.home-conf-item {
    position: relative;
    background: var(--ui-panel);
    border: 1px solid var(--ui-line-card);
    border-radius: var(--r-sm);
}

.home-conf-item::before {
    content: "";
    position: absolute;
    left: calc(var(--timeline-x) - var(--timeline-pad) - 6.5px);
    top: 50%;
    box-sizing: border-box;
    width: 13px;
    height: 13px;
    background: var(--home-blue);
    border: 3px solid var(--bg-card);
    border-radius: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 0 1px var(--ui-line-strong);
    z-index: 1;
}

.home-conf-item a {
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: var(--sp-4);
    align-items: center;
    min-height: 104px;
    padding: 12px var(--sp-4);
    color: var(--home-ink);
    text-decoration: none;
}

.home-conf-date {
    display: grid;
    grid-template-rows: 1fr auto;
    width: 72px;
    min-height: 70px;
    overflow: hidden;
    color: var(--home-blue-dark);
    background: var(--ui-white);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: var(--r-sm);
    font-weight: 900;
    line-height: 1;
    box-shadow: 0 8px 20px rgba(18, 54, 77, 0.12);
}

.home-conf-feature .home-conf-date {
    margin-bottom: var(--sp-4);
}

.home-conf-date-day {
    display: grid;
    place-items: center;
    min-height: 38px;
    color: var(--ui-white);
    background: var(--home-blue-dark);
    font-size: 1.42rem;
}

.home-conf-date-meta {
    display: grid;
    gap: 1px;
    place-items: center;
    min-height: 32px;
    padding: 0.24rem 0;
    color: var(--home-blue-dark);
    background: var(--home-blue-timeline);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.home-conf-date-meta span:last-child {
    color: var(--home-soft);
    font-size: 0.64rem;
    letter-spacing: 0.05em;
}

.home-conf-body {
    min-width: 0;
    margin: 0;
}

.home-conf-title {
    display: block;
    font-weight: 700;
    line-height: 1.25;
}

.home-conf-loc {
    display: block;
    margin-top: var(--sp-1);
    color: var(--home-soft);
    font-size: 0.9rem;
}

.home-conf-tag {
    display: inline-flex;
    align-items: baseline;
    gap: 0.35rem;
    margin-bottom: var(--sp-2);
    color: var(--home-blue);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.home-conf-feature .home-conf-tag {
    color: var(--home-blue-light);
}

.prisma-panel,
.about-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
    gap: var(--sp-6);
    align-items: center;
    padding: var(--sp-6);
    background: var(--bg-card);
    border: 1px solid var(--home-line);
    border-radius: var(--r-md);
    box-shadow: 0 14px 34px rgba(20, 33, 43, 0.07);
}

.prisma-panel {
    position: relative;   /* Bezugsrahmen fuer das Ribbon */
    /* KEIN overflow:hidden - das Band soll ueber die Kanten hinausragen (3D). */
    color: var(--ui-white);
    background:
        linear-gradient(135deg, rgba(18, 54, 77, 0.96), rgba(47, 116, 107, 0.9)),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 1px, transparent 1px, transparent 52px);
    border-color: var(--home-prisma-border);
}

.prisma-ribbon {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 150px;
    height: 150px;
    overflow: hidden;
    pointer-events: none;
}

.prisma-ribbon::before,
.prisma-ribbon::after {
    content: "";
    position: absolute;
    z-index: -1;
    display: block;
    border: 5px solid color-mix(in srgb, var(--home-accent, #d9822b) 62%, #000);
    border-top-color: transparent;
    border-right-color: transparent;
}

.prisma-ribbon::before {
    top: 0;
    left: 0;
}

.prisma-ribbon::after {
    right: 0;
    bottom: 0;
}

.prisma-ribbon span {
    position: absolute;
    top: 50px;
    left: -30px;
    display: block;
    width: 225px;
    padding: 8px 0;
    background: var(--home-accent, #d9822b);
    box-shadow: 0 5px 10px rgba(20, 33, 43, 0.28);
    color: var(--ui-white);
    font-size: 0.72rem;
    font-weight: 850;
    line-height: 1;
    letter-spacing: 0.06em;
    text-align: center;
    text-transform: uppercase;
    transform: rotate(45deg);
}

.panel-kicker {
    margin: 0 0 var(--sp-2);
    color: var(--home-blue);
    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.prisma-panel .panel-kicker {
    color: var(--home-blue-light);
}

.prisma-panel h2,
.about-panel h2 {
    margin: 0 0 var(--sp-3);
    font-size: 1.8rem;
    line-height: 1.16;
}

.prisma-panel p,
.about-panel p {
    margin: 0;
    color: inherit;
}

.feature-list {
    display: grid;
    gap: var(--sp-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature-list li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: var(--sp-3);
    padding: var(--sp-3);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--r-sm);
}

.prisma-panel .feature-list li i {
    align-self: start;
    line-height: inherit;
    padding-top: 0.16em;
}

.about-panel {
    align-items: start;
}

.portal-feature-list {
    display: grid;
    gap: var(--sp-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.portal-feature-list li {
    display: grid;
    grid-template-columns: 2.25rem minmax(0, 1fr);
    gap: var(--sp-3);
    padding: var(--sp-3);
    background: var(--ui-panel);
    border: 1px solid var(--home-line);
    border-radius: var(--r-sm);
}

.portal-feature-list i {
    color: var(--home-blue);
    margin: 0.5rem 0.25rem ;
    font-size: var(--fs-xl);
}

.portal-feature-list strong {
    display: block;
    color: var(--home-ink);
    margin-bottom: 0.1rem;
}

.portal-feature-list span {
    color: var(--home-soft);
}

@media (max-width: 960px) {
    .home-hero,
    .home-article-layout,
    .home-conf-panel,
    .prisma-panel,
    .about-panel {
        grid-template-columns: 1fr;
    }

    .home-conf-timeline::before,
    .home-conf-item::before {
        display: none;
    }

    .home-conf-timeline {
        padding-left: 0;
    }

    .home-hero-visual {
        min-height: 360px;
    }}


@media (max-width: 720px) {
    .home-hero {
        padding: var(--sp-5);
    }

    .feed-item {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .topic-overview {
        grid-template-columns: 1fr;
    }

    .home-section-head {
        display: block;
        padding-inline: var(--sp-3);
    }

    .home-section-link {
        display: inline-block;
        margin-top: var(--sp-2);
        margin-inline: 0;
    }

/* --- Hero: zwei eigenstaendige Boxen statt Trennlinie ------------------ */
    .home-hero {
        padding: 0;
        gap: var(--sp-4);
        background: none;
        border: 0;
        box-shadow: none;
    }

    .home-hero-content,
    .home-hero-visual {
        padding: var(--sp-5);
        background:
            linear-gradient(135deg, rgba(16, 48, 69, 0.97), rgba(31, 88, 118, 0.95)),
            repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0, rgba(255,255,255,0.08) 1px, transparent 1px, transparent 72px);
        border: 1px solid var(--home-blue-hero-border);
        border-radius: var(--r-md);
        box-shadow: 0 14px 34px rgba(20, 33, 43, 0.12);
    }

    .home-hero-content {
        margin: 0;
    }

    /* Der CTA wiederholt nur, wohin die Szenen ohnehin verlinken - mobil raus. */
    .home-hero-cta {
        display: none;
    }

    .home-hero-visual {
        min-height: 400px;
        border-bottom: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        box-shadow: none;
    }

/* --- Themenübersicht verdichten --------------------------------------- */
    .topic-card {
        position: relative;
    }

    .topic-card a {
        padding: var(--sp-4);
    }

    .topic-card h3 {
        padding-right: 5.5rem;
    }

    .topic-count {
        position: absolute;
        top: var(--sp-4);
        right: var(--sp-4);
        margin: 0;
        white-space: nowrap;
    }

    .topic-card p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        width: 100%;   /* volle Breite, nicht durch den Zaehler beschnitten */
    }

/* --- Info-Boxen (Prisma + Ueber): Icon oben mittig, Text zentriert ------ */
    .feature-list li,
    .portal-feature-list li {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--sp-2);
        padding: var(--sp-4) var(--sp-3);
        text-align: center;
    }

    .feature-list i,
    .portal-feature-list i {
        justify-self: center;
        margin: 0 0 0.25rem;
        font-size: 1.55rem;
        opacity: 1;
    }}


@media (prefers-reduced-motion: reduce) {
    .feed-track,
    .feed-track.is-sliding,
    .feed-popover,
    .home .article-card,
    .topic-card {
        transition: none !important;
        animation: none !important;
    }

    .home .article-card:hover,
    .topic-card:hover {
        transform: none !important;
    }
}