/* ============================================================
   Stromnews — modern, Business-Insider-style
   ============================================================ */

/* Local fonts — Individual weights from Google Fonts */
@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/extras/ttf/Inter-Regular.ttf');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/extras/ttf/Inter-Medium.ttf');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/extras/ttf/Inter-SemiBold.ttf');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/extras/ttf/Inter-Bold.ttf');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('/assets/fonts/extras/ttf/Inter-Italic.ttf');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

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

:root {
    --font-sans: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;

    --color-black:    #000;
    --color-text:     #111;
    --color-muted:    #555;
    --color-subtle:   #888;
    --color-border:   #e5e5e5;
    --color-bg:       #fff;
    --color-bg-soft:  #f7f7f7;
    --color-bg-gray:  #f0f0f0;
    --color-accent:   #d40000;

    --max-w-content: 1024px;
    --max-w-wide:    1280px;
}

html { font-size: 17px; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-sans);
    background: var(--color-bg-gray);
    color: var(--color-text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    letter-spacing: 0.3px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
    border-bottom: 1px solid var(--color-border);
    padding: 0 24px;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
}
.site-header__inner {
    max-width: var(--max-w-wide);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 72px;
    gap: 32px;
    position: relative;
    width: 100%;
}
.site-logo {
    font-family: var(--font-sans);
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 0px;
    text-decoration: none;
    color: var(--color-black);
    text-transform: uppercase;
    white-space: nowrap;
}

.site-header__hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: auto;
    padding: 6px;
    width: 40px;
    height: 40px;
}

.site-header__hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #000;
    margin: 5px 0;
    transition: 0.3s;
}

.site-logo__accent { color: var(--color-accent); }

/* Hidden — Kategorien sind jetzt in separatem categories-nav Element */
.header-nav { display: none; }
.header-admin { display: none; }

/* ============================================================
   CATEGORIES NAVIGATION — unter Header, zentriert
   ============================================================ */
.categories-nav {
    max-width: var(--max-w-wide);
    margin: 0 auto;
    padding: 0 24px;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
    position: static;
    background: #fff;
}

.categories-nav--narrow {
    max-width: var(--max-w-content);
}

.categories-nav__toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: var(--color-text);
}
.categories-nav__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: currentColor;
    margin: 5px 0;
    transition: all 0.3s;
}

.categories-nav__menu {
    display: flex;
    gap: 28px;
    align-items: center;
    padding: 12px 0;
}

.categories-nav__link {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: var(--color-text);
    white-space: nowrap;
    padding: 12px 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.15s;
    display: block;
}
.categories-nav__link:hover,
.categories-nav__link--active {
    border-bottom-color: var(--color-accent);
}

/* Mobile Hamburger */
@media (max-width: 640px) {
    .categories-nav {
        flex-direction: column;
        gap: 0;
        padding: 0;
    }

    .categories-nav__toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        padding: 12px;
        border-bottom: 1px solid var(--color-border);
    }

    .categories-nav__toggle.open span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }
    .categories-nav__toggle.open span:nth-child(2) {
        opacity: 0;
    }
    .categories-nav__toggle.open span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .categories-nav__menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 0;
    }

    .categories-nav__menu.open {
        display: flex;
    }

    .categories-nav__link {
        width: 100%;
        padding: 12px 24px;
        border-bottom: 1px solid var(--color-border);
        border-right: 3px solid transparent;
    }
    .categories-nav__link--active {
        border-bottom: 1px solid var(--color-border);
        border-right: 3px solid var(--color-accent);
        background: var(--color-bg-soft);
    }
}

/* Header Hamburger Menu — Mobile only */
@media (max-width: 640px) {
    .site-header__hamburger {
        display: block;
    }
    .categories-nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        width: 100%;
        border-radius: 0;
        max-width: 100%;
        padding: 0 !important;
        margin: 0;
        flex-direction: column;
        gap: 0;
        z-index: 99;
    }
    .categories-nav.open {
        display: flex;
    }
    .categories-nav__toggle {
        display: none;
    }
}

/* iOS-style SVG icons */
.icon-svg {
    display: inline-block;
    width: 1em;
    height: 1em;
    vertical-align: -0.125em;
    fill: currentColor;
}

/* ============================================================
   PAGE TEMPLATE — Konsistente Content-Seiten (nach article.php Pattern)
   ============================================================ */
.page-content {
    /* Body bereits gray, kein extra background nötig */
}

.page-container {
    max-width: var(--max-w-content);
    margin: 0 auto;
    padding: 48px 24px 80px;
    background: #fff;
}

.page-container h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0 0 40px 0;
}

.page-container > div {
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: 40px;
}

.page-container > div:last-child {
    margin-bottom: 0;
}

.page-container h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 40px 0 16px 0;
}

.page-container h2:first-child {
    margin-top: 0;
}

.page-container p {
    margin-bottom: 16px;
    font-size: 15px;
}

.page-container a {
    color: var(--color-accent);
    text-decoration: none;
}

.page-container a:hover {
    text-decoration: underline;
}

/* ============================================================
   HOMEPAGE
   ============================================================ */

/* Table captions */
.article-body table caption {
    padding: 12px 16px;
    text-align: left;
    font-size: 13px;
    font-weight: 500;
    color: #666;
    background: #fafbfc;
    border-bottom: 1px solid #eee;
}

/* Numeric columns — right-aligned */
.article-body table td.numeric,
.article-body table th.numeric {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Currency/price styling */
.article-body table td.currency {
    text-align: right;
    font-weight: 500;
    color: #1a1a1a;
    font-family: 'Courier New', monospace;
}

/* Date columns */
.article-body table td.date {
    text-align: center;
    color: #666;
    font-size: 13px;
}

/* Status/badge styling in tables */
.article-body table td.status {
    text-align: center;
}

.article-body table .badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.article-body table .badge-success {
    background: #d4edda;
    color: #155724;
}

.article-body table .badge-warning {
    background: #fff3cd;
    color: #856404;
}

.article-body table .badge-danger {
    background: #f8d7da;
    color: #721c24;
}

.article-body table .badge-info {
    background: #d1ecf1;
    color: #0c5460;
}

/* Better header separation */
.article-body table th {
    background: linear-gradient(180deg, #f5f8fb 0%, #f0f4f8 100%);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.article-body table th:last-child {
    border-right: none;
}

/* Main table styling */
.article-body table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.article-body table thead {
    background: linear-gradient(135deg, #f5f8fb 0%, #f0f4f8 100%);
    border-bottom: 2px solid var(--color-accent);
}

.article-body table th {
    padding: 16px;
    text-align: left;
    font-weight: 700;
    font-size: 14px;
    color: var(--color-text);
    letter-spacing: 0.3px;
    text-transform: capitalize;
}

.article-body table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
    font-size: 15px;
    color: var(--color-muted);
    letter-spacing: 0.2px;
}

.article-body table tbody tr:last-child td {
    border-bottom: none;
}

/* Alternating row colors */
.article-body table tbody tr:nth-child(odd) {
    background: #ffffff;
}

.article-body table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

/* Enhanced row hover with smooth transition */
.article-body table tbody tr {
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.article-body table tbody tr:hover {
    background: #e7f0f7;
    box-shadow: inset 0 0 0 1px rgba(0, 102, 204, 0.2);
}

/* Table links */
.article-body table a {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-body table a:hover {
    opacity: 0.8;
}

/* Responsive tables */
@media (max-width: 768px) {
    .article-body table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        margin: 24px -24px;
        border-radius: 0;
        border: 1px solid var(--color-border);
    }

    .article-body table thead,
    .article-body table tbody,
    .article-body table tr,
    .article-body table td {
        display: block;
        width: 100%;
    }

    .article-body table th,
    .article-body table td {
        padding: 12px;
        font-size: 14px;
    }
}

.page {
    max-width: var(--max-w-wide);
    margin: 0 auto;
    padding: 40px 24px 80px;
    background: #fff;
}

/* Hero Article */
.hero {
    display: grid;
    grid-template-columns: 1fr 560px;
    gap: 48px;
    margin-bottom: 64px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--color-border);
}
.hero__image {
    aspect-ratio: 16/9;
    overflow: hidden;
    order: 2;
    background: var(--color-bg-soft);
    border-radius: 4px;
	margin-top: 2em;
}
.hero__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero__image--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
}
.hero__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    order: 1;
    padding-top: 8px;
}
.hero__category {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-accent);
    text-decoration: none;
}
.hero__title {
    font-size: 44px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.8px;
    color: var(--color-black);
}
.hero__dek {
    font-size: 19px;
    line-height: 1.6;
    color: var(--color-muted);
    letter-spacing: 0.2px;
}
.hero__meta {
    font-size: 14px;
    color: var(--color-subtle);
    display: flex;
    gap: 16px;
    margin-top: 8px;
    font-weight: 500;
}

/* Article Grid */
.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 28px;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.card__image {
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--color-bg-soft);
    margin-bottom: 4px;
    border-radius: 4px;
}
.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.card:hover .card__image img {
    transform: scale(1.04);
}
.card__image--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}
.card__category {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    color: var(--color-accent);
    text-decoration: none;
}
.card__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.28;
    letter-spacing: -0.3px;
    color: var(--color-black);
}
.card__title a {
    text-decoration: none;
}
.card__title a:hover {
    color: var(--color-accent);
}
.card__excerpt {
    font-size: 15px;
    color: var(--color-muted);
    line-height: 1.6;
    flex: 1;
    letter-spacing: 0.2px;
}
.card__meta {
    font-size: 13px;
    color: var(--color-subtle);
    display: flex;
    gap: 10px;
    margin-top: 4px;
    font-weight: 500;
    letter-spacing: 0.1px;
}
.card__meta-author {
    font-weight: 600;
    color: var(--color-text);
}

/* Empty state */
.empty {
    text-align: center;
    padding: 100px 20px;
    color: var(--color-muted);
}
.empty__title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}
.empty__sub {
    font-size: 15px;
    color: var(--color-subtle);
    letter-spacing: 0.2px;
}

/* ============================================================
   ARTICLE PAGE — Business Insider style: centered, no sidebar
   ============================================================ */
.article-page {
    max-width: var(--max-w-content);
    margin: 0 auto;
    padding: 48px 24px 80px;
    background: #fff;
}

/* Breadcrumb */
.breadcrumb {
    font-size: 11px;
    color: var(--color-subtle);
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: 700;
}
.breadcrumb a {
    text-decoration: none;
    color: var(--color-subtle);
    transition: color .2s;
}
.breadcrumb a:hover {
    color: var(--color-black);
}
.breadcrumb__sep {
    color: var(--color-border);
    font-weight: 400;
    margin: 0 2px;
}

/* Article header */
.article-header__category {
    display: none;
}
.article-header__title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.6px;
    margin-bottom: 28px;
    color: var(--color-black);
}

.hero__dek {
    font-size: 19px;
    line-height: 1.65;
    color: var(--color-muted);
    letter-spacing: 0.2px;
    margin-bottom: 24px;
}

/* Byline (author + date row) */
.byline {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 0;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--color-border);
}
.byline__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-soft);
    border: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}
.byline__avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}
.byline__info {
    flex: 1;
}
.byline__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-text);
    letter-spacing: 0.2px;
}
.byline__meta {
    font-size: 13px;
    color: var(--color-subtle);
    font-weight: 500;
    margin-top: 2px;
    letter-spacing: 0.1px;
    display: flex;
    align-items: center;
    gap: 6px;
}
.byline__meta::before {
    font-size: 12px;
}

/* Article hero image */
.article-hero {
    margin: 0 0 12px 0;
    border-radius: 4px;
    overflow: hidden;
}
.article-hero__img {
    aspect-ratio: 16/9;
    background: var(--color-bg-soft);
    overflow: hidden;
}
.article-hero__img picture,
.article-hero__img img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}
.article-hero__caption {
    font-size: 12px;
    color: var(--color-subtle);
    padding: 10px 0;
    font-style: italic;
    letter-spacing: 0.2px;
}

/* Article summary (bullets) */
.article-summary {
    margin-bottom: 32px;
    padding: 24px 0;
    border-bottom: 1px solid var(--color-border);
}
.article-summary__list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.article-summary__list li {
    font-size: 16px;
	font-weight: bold;
    line-height: 1.7;
    color: var(--color-text);
    padding: 12px 0;
    letter-spacing: 0.3px;
    border-bottom: 1px solid var(--color-border);
    position: relative;
    padding-left: 20px;
}
.article-summary__list li::before {
    content: '▪';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: 700;
}
.article-summary__list li:last-child {
    border-bottom: 0;
}

/* Article body */
.article-body {
    margin-bottom: 40px;
    font-size: 17px;
    line-height: 1.8;
    letter-spacing: 0.3px;
}
.article-body h2 {
    font-size: 28px;
    font-weight: 700;
    margin: 40px 0 20px;
    line-height: 1.2;
    letter-spacing: -0.3px;
}
.article-body h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 32px 0 16px;
    line-height: 1.3;
}
.article-body p {
    margin-bottom: 24px;
}
.article-body strong {
    font-weight: 700;
}
.article-body em {
    font-style: italic;
}
.article-body a {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: opacity .2s;
}
.article-body a:hover {
    opacity: 0.8;
}
.article-body ul,
.article-body ol {
    margin: 0 0 24px 32px;
    letter-spacing: 0.2px;
}
.article-body li {
    margin-bottom: 10px;
}
.article-body blockquote {
    border-left: 4px solid var(--color-accent);
    padding-left: 20px;
    margin: 28px 0;
    font-style: italic;
    color: var(--color-muted);
    font-size: 17px;
    line-height: 1.7;
    letter-spacing: 0.2px;
}

/* Article source */
.article-source {
    padding: 20px;
    background: var(--color-bg-soft);
    border-radius: 4px;
    margin: 40px 0;
    font-size: 14px;
    color: var(--color-text);
    letter-spacing: 0.2px;
}
.article-source a {
    color: var(--color-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
}
.article-source a:hover {
    opacity: 0.8;
}

/* Lest auch (related articles) */
.lest-auch {
    margin: 56px 0 0;
    padding: 48px 0;
    border-top: 2px solid var(--color-black);
}
.lest-auch__title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-black);
    margin-bottom: 32px;
}
.lest-auch__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.lest-auch__item {
    list-style: none;
}
.lest-auch__item:hover .lest-auch__item-title {
    color: var(--color-accent);
}
.lest-auch__thumb {
    width: 120px;
    height: 80px;
    flex-shrink: 0;
    background: var(--color-bg-soft);
    overflow: hidden;
    border-radius: 4px;
}
.lest-auch__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.lest-auch__thumb--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}
.lest-auch__item-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.2px;
    color: var(--color-text);
    transition: color .2s;
}

/* Mehr zum Thema (more articles) */
.mehr-zum-thema {
    max-width: var(--max-w-wide);
    margin: 80px auto 0;
    padding: 56px 24px 0;
    
}
.mehr-zum-thema__title {
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-black);
    border-bottom: 2px solid var(--color-black);
    padding-bottom: 12px;
    margin-bottom: 36px;
}
.mehr-zum-thema__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: var(--max-w-wide);
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .hero { grid-template-columns: 1fr; gap: 32px; }
    .hero__body { order: 1; }
    .hero__image { order: 2; }
    .hero__title { font-size: 38px; }
    .article-header__title { font-size: 40px; }
    .mehr-zum-thema__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .article-header__title { font-size: 36px; }
    .mehr-zum-thema__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
    html { font-size: 16px; }
    .hero { grid-template-columns: 1fr; gap: 24px; }
    .hero__body { padding: 0; order: 2; }
    .hero__image { order: 1; }
    .hero__title { font-size: 32px; }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .mehr-zum-thema__grid { grid-template-columns: repeat(2, 1fr); }
    .article-header__title { font-size: 32px; }
    .article-body { font-size: 16px; }
    .site-header__inner { height: 64px; }
    .site-logo { font-size: 20px; }
    .byline { padding: 16px 0; gap: 12px; }
}

/* ============================================================
   SITE FOOTER — E-E-A-T konform
   ============================================================ */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 56px 24px 32px;
    margin-top: 80px;
    border-top: 1px solid var(--color-border);
}

.site-footer__container {
    max-width: var(--max-w-wide);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.site-footer__column h3 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    color: #fff;
}

.site-footer__column p {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 12px;
}

.site-footer__column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer__column li {
    margin-bottom: 8px;
}

.site-footer__column a {
    color: #ccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.site-footer__column a:hover {
    color: var(--color-accent);
}

.site-footer__badges {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.site-footer__badges span {
    font-size: 11px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: #999;
}

/* Newsletter Form */
.footer-subscribe {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.footer-subscribe input {
    flex: 1;
    padding: 10px 12px;
    border: 1px solid #444;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 14px;
}

.footer-subscribe input::placeholder {
    color: #888;
}

.footer-subscribe button {
    padding: 10px 16px;
    background: var(--color-accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.footer-subscribe button:hover {
    opacity: 0.8;
}

.site-footer__bottom {
    border-top: 1px solid #333;
    padding-top: 24px;
    text-align: center;
    color: #888;
    font-size: 12px;
}

.site-footer__bottom p {
    margin: 4px 0;
}

/* Footer Responsive */
@media (max-width: 1024px) {
    .site-footer__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .site-footer {
        padding: 40px 24px 24px;
    }

    .site-footer__container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .site-footer__column h3 {
        font-size: 13px;
    }

    .site-footer__column p,
    .site-footer__column a {
        font-size: 13px;
    }
}

/* Hero image positioning — alternating left/right */
.hero--image-left {
    grid-template-columns: 1fr 1fr;
}

.hero--image-left .hero__image {
    order: -1;
}

.hero--image-right {
    grid-template-columns: 1fr 1fr;
}

.hero--image-right .hero__image {
    order: 2;
}

.hero--image-right .hero__body {
    order: 1;
}

/* Pagination styles */
.pagination {
    display: flex;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin: 60px 0 40px;
    padding: 30px 0;
    border-top: 1px solid #e5e5e5;
}

.pagination-numbers {
    display: flex;
    gap: 6px;
}

.pagination-link {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #0066cc;
    background: white;
    transition: all 0.2s ease;
    font-size: 14px;
    font-weight: 500;
}

.pagination-link:hover {
    background: #f5f9ff;
    border-color: #0066cc;
}

.pagination-link--prev,
.pagination-link--next {
    padding: 10px 16px;
}

.pagination-current {
    padding: 10px 14px;
    border: 2px solid #0066cc;
    border-radius: 4px;
    background: #0066cc;
    color: white;
    font-weight: 600;
    font-size: 14px;
    min-width: 36px;
    text-align: center;
}

@media (max-width: 640px) {
    .article-grid { grid-template-columns: 1fr; }
    .mehr-zum-thema__grid { grid-template-columns: 1fr; }
    .article-header__title { font-size: 28px; letter-spacing: -0.2px; }
    .hero__title { font-size: 28px; }
    .card__title { font-size: 18px; }
    .lest-auch__item { flex-direction: column; }
    .lest-auch__thumb { width: 100%; height: 160px; }

    .hero--image-left,
    .hero--image-right {
        grid-template-columns: 1fr;
    }

    .hero--image-left .hero__image,
    .hero--image-right .hero__image {
        order: 0;
    }

    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }

    .pagination-numbers {
        gap: 4px;
        flex: 1 100%;
        justify-content: center;
    }

    .pagination-link,
    .pagination-current {
        padding: 8px 10px;
        font-size: 12px;
    }
}
