/*
Theme Name: Impreza Child
Template: Impreza
Version: 1.0
Author: Westarp Science
Theme URI: https://handbuch-der-religionen.de
Author URI: https://westarp.de
Description: Handbuch der Religionen - Eigenes Theme auf Impreza-Basis
*/

/* ===========================================
   CSS VARIABLEN
   =========================================== */

:root {
    /* Farben */
    --hdr-primary: #1e3a5f;
    --hdr-primary-light: #2d5a87;
    --hdr-accent: #c9a227;
    --hdr-accent-light: #dbb84a;
    --hdr-text: #2d3748;
    --hdr-text-light: #718096;
    --hdr-bg: #f7f7f5;
    --hdr-white: #ffffff;
    --hdr-border: #e2e8f0;
    
    /* Schriften */
    --hdr-font-heading: 'Cormorant Garamond', Georgia, serif;
    --hdr-font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Abstände */
    --hdr-container-width: 1200px;
    --hdr-gap: 2rem;
}

/* ===========================================
   RESET & GRUNDLAGEN
   =========================================== */

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

body {
    font-family: var(--hdr-font-body);
    color: var(--hdr-text);
    background: var(--hdr-bg);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* ===========================================
   HEADER
   =========================================== */

.hdr-site-header {
    background: var(--hdr-primary);
    color: var(--hdr-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hdr-header-container {
    max-width: var(--hdr-container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: 70px;
}

/* Logo */
.hdr-header-brand {
    flex-shrink: 0;
}

.hdr-logo-link {
    text-decoration: none;
    color: var(--hdr-white);
    display: flex;
    flex-direction: column;
}

.hdr-logo-title {
    font-family: var(--hdr-font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.2;
}

.hdr-logo-subtitle {
    font-size: 0.75rem;
    opacity: 0.8;
    letter-spacing: 0.5px;
}

/* Suche */
.hdr-header-search {
    flex: 1;
    max-width: 400px;
}

.hdr-header-search-form {
    display: flex;
    background: rgba(255,255,255,0.1);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s;
    box-shadow: none !important;
}

.hdr-header-search-form:focus-within {
    background: rgba(255,255,255,0.15);
    border-color: var(--hdr-accent);
}

/* Suchfeld - Alle Browser-Defaults überschreiben */
.hdr-header-search-form input[type="search"],
.hdr-header-search-input,
input.hdr-header-search-input {
    flex: 1;
    padding: 0.6rem 1rem;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: var(--hdr-white) !important;
    font-size: 0.9rem;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    margin: 0 !important;
}

/* Safari/Chrome Search-Feld X-Button entfernen */
.hdr-header-search-input::-webkit-search-cancel-button,
.hdr-header-search-input::-webkit-search-decoration,
.hdr-header-search-input::-webkit-search-results-button,
.hdr-header-search-input::-webkit-search-results-decoration {
    -webkit-appearance: none !important;
    display: none !important;
}

/* Autofill-Styles überschreiben (Chrome zeigt sonst weißen Hintergrund) */
.hdr-header-search-input:-webkit-autofill,
.hdr-header-search-input:-webkit-autofill:hover,
.hdr-header-search-input:-webkit-autofill:focus,
.hdr-header-search-input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--hdr-white) !important;
    -webkit-box-shadow: 0 0 0 1000px var(--hdr-primary) inset !important;
    box-shadow: 0 0 0 1000px var(--hdr-primary) inset !important;
    background-color: var(--hdr-primary) !important;
    transition: background-color 5000s ease-in-out 0s;
}

.hdr-header-search-input::placeholder {
    color: rgba(255,255,255,0.6);
}

/* Focus-States ohne weiße Ringe */
.hdr-header-search-input:focus,
.hdr-header-search-form input:focus {
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
    background: transparent !important;
}

.hdr-header-search-btn,
button.hdr-header-search-btn {
    padding: 0.6rem 1rem;
    background: rgba(255,255,255,0.15) !important;
    background-color: rgba(255,255,255,0.15) !important;
    border: none !important;
    border-left: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 0 25px 25px 0 !important;
    color: var(--hdr-white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    outline: none !important;
    margin: 0 !important;
    min-width: 44px;
    transition: background 0.2s ease;
}

.hdr-header-search-btn:hover,
button.hdr-header-search-btn:hover {
    background: rgba(255,255,255,0.25) !important;
    background-color: rgba(255,255,255,0.25) !important;
    color: var(--hdr-accent);
}

.hdr-header-search-btn:focus,
button.hdr-header-search-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

.hdr-header-search-btn svg {
    display: block;
}

/* Navigation */
.hdr-header-nav {
    flex-shrink: 0;
}

.hdr-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.hdr-nav-link {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    color: var(--hdr-white);
    text-decoration: none;
    font-size: 0.95rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.hdr-nav-link:hover,
.hdr-nav-link.active {
    background: rgba(255,255,255,0.1);
    color: var(--hdr-accent);
}

.hdr-nav-icon .hdr-nav-link {
    padding: 0.5rem;
}

.hdr-cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--hdr-accent);
    color: var(--hdr-primary);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
}

.hdr-nav-item {
    position: relative;
}

/* Mobile Menu Toggle */
.hdr-mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
}

.hdr-hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--hdr-white);
    position: relative;
}

.hdr-hamburger::before,
.hdr-hamburger::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--hdr-white);
    left: 0;
}

.hdr-hamburger::before { top: -7px; }
.hdr-hamburger::after { bottom: -7px; }

/* Mobile Menu */
.hdr-mobile-menu {
    display: none;
    background: var(--hdr-primary-light);
    padding: 1rem;
}

.hdr-mobile-menu.active {
    display: block;
}

.hdr-mobile-search-form {
    display: flex;
    margin-bottom: 1rem;
}

.hdr-mobile-search-input {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 6px 0 0 6px;
    font-size: 1rem;
}

.hdr-mobile-search-btn {
    padding: 0.75rem 1rem;
    background: var(--hdr-accent);
    color: var(--hdr-primary);
    border: none;
    border-radius: 0 6px 6px 0;
    font-weight: 600;
    cursor: pointer;
}

.hdr-mobile-nav-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hdr-mobile-nav-list li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hdr-mobile-nav-list a {
    display: block;
    padding: 1rem 0;
    color: var(--hdr-white);
    text-decoration: none;
}

/* ===========================================
   CONTENT AREA
   =========================================== */

.hdr-site-content {
    min-height: calc(100vh - 200px);
}

/* ===========================================
   HERO (Frontpage)
   =========================================== */

.hdr-hero-frontpage {
    background: linear-gradient(135deg, var(--hdr-primary) 0%, var(--hdr-primary-light) 100%);
    color: var(--hdr-white);
    padding: 4rem 1.5rem;
    text-align: center;
}

.hdr-hero-title {
    font-family: var(--hdr-font-heading);
    font-size: 3rem;
    font-weight: 600;
    margin: 0 0 1rem;
}

.hdr-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hdr-stats {
    font-size: 1rem;
    opacity: 0.8;
}

/* ===========================================
   FRONTPAGE SECTIONS
   =========================================== */

.hdr-frontpage-content {
    max-width: var(--hdr-container-width);
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* Intro */
.hdr-intro-card {
    background: var(--hdr-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
}

.hdr-intro-card h2 {
    font-family: var(--hdr-font-heading);
    font-size: 1.75rem;
    color: var(--hdr-primary);
    margin: 0 0 1rem;
}

.hdr-intro-card p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.hdr-intro-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

/* Buttons */
.hdr-button {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s;
}

.hdr-button-primary {
    background: var(--hdr-primary);
    color: var(--hdr-white);
}

.hdr-button-primary:hover {
    background: var(--hdr-primary-light);
    color: var(--hdr-white);
}

.hdr-button-secondary {
    background: var(--hdr-accent);
    color: var(--hdr-primary);
}

.hdr-button-secondary:hover {
    background: var(--hdr-accent-light);
}

/* Features */
.hdr-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hdr-feature-card {
    background: var(--hdr-white);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.hdr-feature-card h3 {
    font-family: var(--hdr-font-heading);
    color: var(--hdr-primary);
    margin: 0 0 0.75rem;
}

.hdr-feature-card p {
    color: var(--hdr-text-light);
    margin: 0;
    line-height: 1.7;
}

/* Latest Articles */
.hdr-latest-section h2,
.hdr-topics-section h2,
.hdr-access-section h2,
.hdr-current-access-section h2 {
    font-family: var(--hdr-font-heading);
    font-size: 1.5rem;
    color: var(--hdr-primary);
    margin: 0 0 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--hdr-accent);
}

.hdr-latest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.hdr-latest-card {
    background: var(--hdr-white);
    padding: 1.25rem;
    border-radius: 8px;
    border-left: 3px solid var(--hdr-accent);
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.hdr-latest-badge {
    display: inline-block;
    background: var(--hdr-primary);
    color: var(--hdr-white);
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.hdr-latest-card h3 {
    font-size: 1rem;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.hdr-latest-card h3 a {
    color: var(--hdr-text);
    text-decoration: none;
}

.hdr-latest-card h3 a:hover {
    color: var(--hdr-primary);
}

.hdr-latest-meta {
    font-size: 0.85rem;
    color: var(--hdr-text-light);
    margin: 0;
}

.hdr-latest-year {
    margin-left: 0.5rem;
    padding-left: 0.5rem;
    border-left: 1px solid var(--hdr-border);
}

.hdr-latest-more {
    text-align: center;
    margin-top: 1.5rem;
}

.hdr-latest-more a {
    color: var(--hdr-primary);
    font-weight: 600;
    text-decoration: none;
}

.hdr-latest-more a:hover {
    color: var(--hdr-accent);
}

/* Topics */
.hdr-topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;
}

.hdr-topic-card {
    background: var(--hdr-white);
    padding: 1.25rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

.hdr-topic-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.hdr-topics-more {
    text-align: center;
    margin-top: 1rem;
}

.hdr-topics-more a {
    color: var(--hdr-primary);
    text-decoration: none;
    font-weight: 600;
}

.hdr-topics-more a:hover {
    text-decoration: underline;
}

/* Sektion Intro-Text */
.hdr-section-intro {
    color: var(--hdr-text-light);
    margin: -0.5rem 0 1.5rem 0;
    font-size: 1rem;
}

/* Zufalls-Artikel Sektion */
.hdr-random-section {
    margin-bottom: 3rem;
}

.hdr-random-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.hdr-random-card {
    background: linear-gradient(135deg, var(--hdr-white) 0%, #f8f9fa 100%);
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--hdr-accent);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.hdr-random-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.hdr-random-badge {
    display: inline-block;
    background: var(--hdr-primary);
    color: var(--hdr-white);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.hdr-random-card h3 {
    font-family: var(--hdr-font-heading);
    font-size: 1.1rem;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
}

.hdr-random-card h3 a {
    color: var(--hdr-text);
    text-decoration: none;
}

.hdr-random-card h3 a:hover {
    color: var(--hdr-primary);
}

.hdr-random-excerpt {
    color: var(--hdr-text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

.hdr-topic-card h3 {
    font-family: var(--hdr-font-heading);
    color: var(--hdr-primary);
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.hdr-topic-card p {
    color: var(--hdr-text-light);
    font-size: 0.85rem;
    margin: 0;
}

/* Access Cards */
.hdr-access-grid,
.hdr-current-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.hdr-access-card {
    background: var(--hdr-white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.hdr-access-card h3 {
    font-family: var(--hdr-font-heading);
    color: var(--hdr-primary);
    margin: 0 0 0.5rem;
}

.hdr-access-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--hdr-accent);
    margin: 0 0 1rem;
}

.hdr-access-card p {
    color: var(--hdr-text-light);
    margin-bottom: 1rem;
}

.hdr-access-status {
    display: inline-block;
    background: var(--hdr-bg);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--hdr-text-light);
}

.hdr-access-link {
    display: inline-block;
    background: var(--hdr-primary);
    color: var(--hdr-white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
}

.hdr-access-card-highlight {
    border: 2px solid var(--hdr-accent);
}

.hdr-current-access-card {
    background: var(--hdr-white);
    padding: 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.hdr-current-access-card:hover {
    background: var(--hdr-primary);
}

.hdr-current-access-card:hover h3,
.hdr-current-access-card:hover p {
    color: var(--hdr-white);
}

.hdr-current-access-card h3 {
    color: var(--hdr-primary);
    margin: 0 0 0.5rem;
}

.hdr-current-access-card p {
    color: var(--hdr-text-light);
    margin: 0;
    font-size: 0.9rem;
}

.hdr-current-access-intro {
    color: var(--hdr-text-light);
    margin-bottom: 1.5rem;
}

/* Footer Info */
.hdr-footer-info {
    background: var(--hdr-primary);
    color: var(--hdr-white);
    padding: 2rem 1.5rem;
    text-align: center;
}

.hdr-footer-info p {
    margin: 0.25rem 0;
    opacity: 0.9;
}

.hdr-footer-info a {
    color: var(--hdr-accent);
}

/* ===========================================
   FOOTER
   =========================================== */

.hdr-site-footer {
    background: var(--hdr-primary);
    color: var(--hdr-white);
}

.hdr-footer-main {
    padding: 3rem 0;
}

.hdr-footer-container {
    max-width: var(--hdr-container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.hdr-footer-title {
    font-family: var(--hdr-font-heading);
    font-size: 1.1rem;
    margin: 0 0 1rem;
    color: var(--hdr-accent);
}

.hdr-footer-text {
    font-size: 0.9rem;
    line-height: 1.7;
    opacity: 0.9;
}

.hdr-footer-publisher {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-top: 1rem;
}

.hdr-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hdr-footer-links li {
    margin-bottom: 0.5rem;
}

.hdr-footer-links a {
    color: var(--hdr-white);
    text-decoration: none;
    opacity: 0.9;
    font-size: 0.9rem;
}

.hdr-footer-links a:hover {
    color: var(--hdr-accent);
    opacity: 1;
}

.hdr-footer-badge {
    display: inline-block;
    background: rgba(255,255,255,0.1);
    padding: 0.15rem 0.5rem;
    border-radius: 10px;
    font-size: 0.7rem;
    margin-left: 0.5rem;
}

.hdr-footer-bottom {
    background: rgba(0,0,0,0.2);
    padding: 1rem 0;
}

.hdr-footer-bottom .hdr-footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hdr-footer-copyright,
.hdr-footer-edition {
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* ===========================================
   ARTIKEL META (für Einzelansicht)
   =========================================== */

.hdr-artikel-meta {
    background: #f8f9fa;
    border-left: 4px solid var(--hdr-accent);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    border-radius: 0 8px 8px 0;
}

.hdr-artikel-meta h3 {
    color: var(--hdr-primary);
    font-size: 1.1rem;
    margin: 1.5rem 0 0.5rem;
    border-bottom: 1px solid var(--hdr-border);
    padding-bottom: 0.25rem;
}

.hdr-artikel-meta h3:first-of-type {
    margin-top: 0;
}

.hdr-artikel-meta p {
    margin: 0.5rem 0;
    line-height: 1.7;
}

.hdr-badge {
    display: inline-block;
    background: var(--hdr-primary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.hdr-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin: 1rem 0;
}

.hdr-info-item strong {
    display: block;
    font-size: 0.75rem;
    color: var(--hdr-text-light);
    text-transform: uppercase;
}

.hdr-preview-link {
    display: inline-block;
    background: var(--hdr-primary);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
    margin-top: 1rem;
}

.hdr-preview-link:hover {
    background: var(--hdr-primary-light);
}

.hdr-abstract-en {
    background: var(--hdr-white);
    border: 1px solid var(--hdr-border);
    padding: 1rem;
    border-radius: 6px;
    margin-top: 0.5rem;
    font-style: italic;
}

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

@media (max-width: 768px) {
    .hdr-header-container {
        flex-wrap: wrap;
        padding: 0.75rem 1rem;
    }
    
    .hdr-header-search {
        display: none;
    }
    
    .hdr-header-nav {
        display: none;
    }
    
    .hdr-mobile-menu-toggle {
        display: block;
    }
    
    .hdr-hero-title {
        font-size: 2rem;
    }
    
    .hdr-footer-bottom .hdr-footer-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ===========================================
   ADMIN BAR KORREKTUR
   =========================================== */

.admin-bar .hdr-site-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .hdr-site-header {
        top: 46px;
    }
}

/* ===========================================
   ARTIKEL-EINZELSEITE
   =========================================== */

.hdr-artikel-page {
    background: var(--hdr-bg);
    min-height: 100vh;
}

/* Container */
.hdr-container {
    max-width: var(--hdr-container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Breadcrumb */
.hdr-breadcrumb-bar {
    background: var(--hdr-white);
    border-bottom: 1px solid var(--hdr-border);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.hdr-breadcrumb-bar a {
    color: var(--hdr-primary);
    text-decoration: none;
}

.hdr-breadcrumb-bar a:hover {
    text-decoration: underline;
}

.hdr-breadcrumb-bar .sep {
    margin: 0 0.5rem;
    color: var(--hdr-text-light);
}

.hdr-breadcrumb-bar .current {
    color: var(--hdr-text-light);
}

/* Hero-Bereich */
.hdr-artikel-hero {
    background: linear-gradient(135deg, var(--hdr-primary) 0%, var(--hdr-primary-light) 100%);
    color: var(--hdr-white);
    padding: 3rem 0;
    margin-bottom: 2rem;
}

.hdr-gliederung-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.4);
    color: var(--hdr-white);
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.hdr-artikel-hero h1 {
    font-family: var(--hdr-font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.75rem 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hdr-subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
    margin: 0 0 0.5rem 0;
}

.hdr-title-en {
    font-size: 1rem;
    opacity: 0.85;
    margin: 0 0 1rem 0;
}

.hdr-author-line {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.hdr-author-line .label {
    opacity: 0.8;
    margin-right: 0.25rem;
}

.hdr-author-line .names {
    font-weight: 600;
}

.hdr-meta-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.hdr-meta-pills .pill {
    background: rgba(255,255,255,0.15);
    padding: 0.35rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

/* Artikel Content Grid */
.hdr-artikel-content {
    padding-bottom: 3rem;
}

.hdr-artikel-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2rem;
    align-items: start;
}

/* Hauptinhalt */
.hdr-artikel-main {
    background: var(--hdr-white);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.hdr-content-section {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--hdr-border);
}

.hdr-content-section:last-child {
    border-bottom: none;
}

.hdr-content-section h2 {
    font-family: var(--hdr-font-heading);
    font-size: 1.35rem;
    color: var(--hdr-primary);
    margin: 0 0 1rem 0;
    font-weight: 600;
}

.hdr-section-muted {
    background: var(--hdr-bg);
}

.hdr-abstract-text {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--hdr-text);
}

.hdr-abstract-text p {
    margin: 0 0 1rem 0;
}

.hdr-abstract-text p:last-child {
    margin-bottom: 0;
}

.hdr-text-en {
    font-style: italic;
    color: var(--hdr-text-light);
}

/* Schlagwörter */
.hdr-keywords-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hdr-keyword-row {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.hdr-keyword-row .lang {
    background: var(--hdr-primary);
    color: var(--hdr-white);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    flex-shrink: 0;
}

.hdr-keyword-row .words {
    color: var(--hdr-text);
    line-height: 1.6;
}

/* Preview Section */
.hdr-preview-section {
    background: linear-gradient(135deg, #f0f4f8 0%, #e8f0e8 100%);
}

.hdr-preview-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--hdr-white);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border: 1px solid var(--hdr-border);
    margin-top: 1rem;
}

.hdr-preview-icon {
    font-size: 2rem;
}

.hdr-preview-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.hdr-preview-details strong {
    font-size: 0.95rem;
    color: var(--hdr-text);
}

.hdr-preview-details span {
    font-size: 0.85rem;
    color: var(--hdr-text-light);
}

.hdr-btn-preview {
    background: var(--hdr-primary);
    color: var(--hdr-white) !important;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.hdr-btn-preview:hover {
    background: var(--hdr-primary-light);
}

/* Sidebar */
.hdr-artikel-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 100px;
}

.hdr-sidebar-card {
    background: var(--hdr-white);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.hdr-sidebar-card h3 {
    font-family: var(--hdr-font-heading);
    font-size: 1.1rem;
    color: var(--hdr-primary);
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--hdr-accent);
}

/* Kaufen-Box */
.hdr-card-buy {
    background: linear-gradient(135deg, var(--hdr-primary) 0%, var(--hdr-primary-light) 100%);
    color: var(--hdr-white);
    text-align: center;
}

.hdr-card-buy h3 {
    color: var(--hdr-white);
    border-bottom-color: var(--hdr-accent);
}

.hdr-price-display {
    margin-bottom: 1rem;
}

.hdr-price-display .price {
    font-family: var(--hdr-font-heading);
    font-size: 2rem;
    font-weight: 700;
    display: block;
}

.hdr-price-display .info {
    font-size: 0.85rem;
    opacity: 0.85;
}

.hdr-btn-buy {
    display: block;
    width: 100%;
    background: var(--hdr-accent);
    color: var(--hdr-primary);
    border: none;
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
}

a.hdr-btn-buy {
    color: var(--hdr-primary);
}

a.hdr-btn-buy:visited {
    color: var(--hdr-primary);
}

.hdr-btn-buy:hover:not(:disabled) {
    background: var(--hdr-accent-light);
    transform: translateY(-1px);
}

.hdr-btn-buy:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.hdr-buy-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    opacity: 0.85;
}

.hdr-buy-note a {
    color: var(--hdr-accent);
    text-decoration: underline;
}

/* Datenliste */
.hdr-data-list {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem 1rem;
    margin: 0;
}

.hdr-data-list dt {
    font-size: 0.85rem;
    color: var(--hdr-text-light);
}

.hdr-data-list dd {
    margin: 0;
    font-weight: 500;
    color: var(--hdr-text);
}

.hdr-data-list code {
    background: var(--hdr-bg);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.85rem;
}

/* Tag-Liste */
.hdr-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hdr-tag {
    display: inline-block;
    background: var(--hdr-bg);
    color: var(--hdr-primary);
    padding: 0.3rem 0.7rem;
    border-radius: 15px;
    font-size: 0.85rem;
    text-decoration: none;
    border: 1px solid var(--hdr-border);
    transition: all 0.2s ease;
}

.hdr-tag:hover {
    background: var(--hdr-primary);
    color: var(--hdr-white);
    border-color: var(--hdr-primary);
}

/* Navigation */
.hdr-artikel-nav-bar {
    background: var(--hdr-white);
    border-top: 1px solid var(--hdr-border);
    padding: 1.25rem 0;
    margin-top: 2rem;
}

.hdr-nav-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 1rem;
    align-items: center;
}

.hdr-nav-grid a {
    color: var(--hdr-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.hdr-nav-grid a:hover {
    color: var(--hdr-primary-light);
}

.nav-prev a,
.nav-next a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.nav-prev {
    text-align: left;
}

.nav-next {
    text-align: right;
    justify-content: flex-end;
}

.nav-next a {
    justify-content: flex-end;
}

.nav-center {
    text-align: center;
}

.nav-center a {
    background: var(--hdr-bg);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 600;
}

.nav-center a:hover {
    background: var(--hdr-primary);
    color: var(--hdr-white);
}

.hdr-nav-grid .arrow {
    font-size: 1.25rem;
    font-weight: bold;
}

.hdr-nav-grid .text {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===========================================
   ARTIKEL-SEITE RESPONSIVE
   =========================================== */

@media (max-width: 1024px) {
    .hdr-artikel-grid {
        grid-template-columns: 1fr 280px;
    }
}

@media (max-width: 768px) {
    .hdr-artikel-hero h1 {
        font-size: 1.75rem;
    }
    
    .hdr-artikel-grid {
        grid-template-columns: 1fr;
    }
    
    .hdr-artikel-sidebar {
        position: static;
    }
    
    .hdr-content-section {
        padding: 1.25rem 1.25rem;
    }
    
    .hdr-preview-card {
        flex-direction: column;
        text-align: center;
    }
    
    .hdr-nav-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .nav-prev, .nav-next, .nav-center {
        text-align: center;
    }
    
    .nav-prev a, .nav-next a {
        justify-content: center;
    }
}

/* ===========================================
   SUCHSEITE
   =========================================== */

.hdr-search-main {
    background: var(--hdr-bg);
    min-height: 100vh;
}

/* Content-Wrapper mit Sidebar */
.hdr-content-wrapper {
    max-width: var(--hdr-container-width);
    margin: 0 auto;
    padding: 2rem 1.5rem;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

/* Sidebar */
.hdr-sidebar {
    background: var(--hdr-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.hdr-filter-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--hdr-border);
}

.hdr-filter-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.hdr-filter-section h3 {
    font-family: var(--hdr-font-heading);
    font-size: 1rem;
    color: var(--hdr-primary);
    margin: 0 0 0.75rem 0;
}

.hdr-filter-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hdr-filter-list li {
    margin-bottom: 0.35rem;
}

.hdr-filter-list a {
    display: block;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    color: var(--hdr-text);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.hdr-filter-list a:hover {
    background: var(--hdr-bg);
    color: var(--hdr-primary);
}

.hdr-filter-list a.active {
    background: var(--hdr-primary);
    color: var(--hdr-white);
}

/* Artikel-Bereich */
.hdr-articles {
    min-width: 0;
}

.hdr-articles-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1.5rem;
}

.hdr-articles-header h2 {
    font-family: var(--hdr-font-heading);
    font-size: 1.35rem;
    color: var(--hdr-primary);
    margin: 0;
}

.hdr-results-count {
    color: var(--hdr-text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Artikel-Grid */
.hdr-articles-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Artikel-Karte */
.hdr-article-card {
    background: var(--hdr-white);
    border-radius: 10px;
    padding: 1.25rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
    align-items: start;
    transition: all 0.2s ease;
}

.hdr-article-card:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.hdr-article-badge {
    background: var(--hdr-primary);
    color: var(--hdr-white);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.hdr-article-main {
    min-width: 0;
}

.hdr-article-title {
    font-family: var(--hdr-font-heading);
    font-size: 1.1rem;
    margin: 0 0 0.35rem 0;
    line-height: 1.35;
}

.hdr-article-title a {
    color: var(--hdr-text);
    text-decoration: none;
}

.hdr-article-title a:hover {
    color: var(--hdr-primary);
}

.hdr-article-subtitle {
    font-size: 0.95rem;
    color: var(--hdr-text-light);
    margin: 0 0 0.35rem 0;
}

.hdr-article-authors {
    font-size: 0.9rem;
    color: var(--hdr-primary);
    font-weight: 500;
    margin: 0 0 0.5rem 0;
}

.hdr-article-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--hdr-text-light);
    margin-bottom: 0.5rem;
}

.hdr-article-abstract {
    font-size: 0.9rem;
    color: var(--hdr-text);
    line-height: 1.6;
    margin: 0.5rem 0 0 0;
}

.hdr-article-actions {
    align-self: center;
}

.hdr-article-cta {
    display: inline-block;
    background: var(--hdr-bg);
    color: var(--hdr-primary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.hdr-article-cta:hover {
    background: var(--hdr-primary);
    color: var(--hdr-white);
}

/* Keine Ergebnisse */
.hdr-no-results {
    background: var(--hdr-white);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
}

.hdr-no-results h2 {
    font-family: var(--hdr-font-heading);
    color: var(--hdr-primary);
    margin: 0 0 1rem 0;
}

.hdr-no-results p {
    color: var(--hdr-text-light);
}

/* Pagination */
.hdr-pagination {
    margin-top: 2rem;
    text-align: center;
}

.hdr-pagination .nav-links {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.hdr-pagination a,
.hdr-pagination span {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
}

.hdr-pagination a {
    background: var(--hdr-white);
    color: var(--hdr-primary);
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.hdr-pagination a:hover {
    background: var(--hdr-primary);
    color: var(--hdr-white);
}

.hdr-pagination .current {
    background: var(--hdr-primary);
    color: var(--hdr-white);
}

/* Suchseite Responsive */
@media (max-width: 900px) {
    .hdr-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hdr-sidebar {
        position: static;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .hdr-filter-section {
        margin-bottom: 0;
        padding-bottom: 0;
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .hdr-article-card {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .hdr-article-badge {
        width: fit-content;
    }
    
    .hdr-article-actions {
        align-self: start;
    }
}
