/* ============================================
   ARTIKEL SHARED — Gemeinsame Styles fuer alle Artikel-Layouts
   (Editorial, Guide, Portrait, Listicle, Deep-Dive)
============================================ */

/* Reading Progress */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--ik-red, #B5453A);
    z-index: 101;
    width: 0%;
    transition: width 0.1s;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-weight: 400;
    font-size: 13px;
    color: var(--ik-text-tertiary, #999999);
    letter-spacing: 0.02em;
}

.breadcrumb a {
    color: var(--ik-text-tertiary, #999999);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--ik-black, #0A0A0A);
}

.breadcrumb .breadcrumb__sep {
    opacity: 0.5;
}

/* Article Header */
.article-header {
    max-width: 720px;
    margin: 0 auto;
    padding: 140px 24px 0;
}

.article-header__rubrik {
    display: inline-block;
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ik-red, #B5453A);
    margin-bottom: 16px;
}

.article-header__title {
    font-family: var(--font-display, 'Cabinet Grotesk', sans-serif);
    font-weight: 200;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ik-black, #0A0A0A);
    margin-bottom: 16px;
}

.article-header__excerpt {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-weight: 400;
    font-size: 18px;
    line-height: 1.6;
    color: var(--ik-text-secondary, #555555);
    margin-bottom: 24px;
}

.article-header__meta {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-weight: 400;
    font-size: 13px;
    color: var(--ik-text-tertiary, #999999);
    padding: 24px 0;
    border-top: 1px solid var(--ik-gray-border, #E8E6E1);
    border-bottom: 1px solid var(--ik-gray-border, #E8E6E1);
}

.article-header__author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.article-header__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.article-header__author-name {
    font-weight: 500;
    font-size: 14px;
    color: var(--ik-black, #0A0A0A);
}

.article-header__date {
    color: var(--ik-text-tertiary, #999999);
}

.article-header__meta-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Share Icons */
.share-icons {
    display: flex;
    gap: 12px;
}

.share-icon {
    width: 36px;
    height: 36px;
    border: 1px solid var(--ik-gray-border, #E8E6E1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    cursor: pointer;
    color: var(--ik-text-secondary, #555555);
}

.share-icon:hover {
    border-color: var(--ik-black, #0A0A0A);
    background: var(--ik-red, #B5453A);
    color: white;
}

.share-icon svg {
    width: 16px;
    height: 16px;
}

/* Hero Image */
.article-hero {
    max-width: 1000px;
    margin: 48px auto;
    padding: 0 24px;
}

.article-hero img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.article-hero figcaption {
    margin-top: 12px;
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 13px;
    color: var(--ik-text-tertiary, #999999);
    text-align: center;
}

/* Article Body */
.article-body {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px 80px;
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--ik-text-secondary, #555555);
}

.article-body h2 {
    font-family: var(--font-display, 'Cabinet Grotesk', sans-serif);
    font-weight: 400;
    font-size: 28px;
    margin: 56px 0 20px;
    line-height: 1.3;
    color: var(--ik-black, #0A0A0A);
}

.article-body h3 {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-weight: 500;
    font-size: 20px;
    margin: 40px 0 16px;
    line-height: 1.4;
    color: var(--ik-black, #0A0A0A);
}

.article-body p {
    margin-bottom: 24px;
}

.article-body ul,
.article-body ol {
    margin: 0 0 24px 24px;
    line-height: 1.8;
}

.article-body li {
    margin-bottom: 8px;
}

.article-body blockquote {
    margin: 48px 0;
    padding: 24px 32px;
    border-left: 3px solid var(--ik-red, #B5453A);
    background: var(--ik-gray, #F6F5F3);
}

.article-body blockquote p {
    font-family: var(--font-display, 'Cabinet Grotesk', sans-serif);
    font-size: 20px;
    font-style: italic;
    line-height: 1.5;
    color: var(--ik-black, #0A0A0A);
    margin-bottom: 8px;
}

.article-body blockquote p:last-child {
    margin-bottom: 0;
}

.article-body blockquote cite {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 13px;
    font-style: normal;
    color: var(--ik-text-tertiary, #999999);
}

.article-body a {
    color: var(--ik-black, #0A0A0A);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body a:hover {
    opacity: 0.7;
}

.article-body img {
    max-width: 100%;
    height: auto;
    margin: 32px 0;
}

.article-body figure {
    margin: 48px -40px;
}

.article-body figure img {
    width: 100%;
    margin: 0;
}

.article-body figcaption {
    margin-top: 12px;
    font-size: 13px;
    color: var(--ik-text-tertiary, #999999);
    text-align: center;
}

/* Callout Box */
.callout {
    background: var(--ik-gray, #F6F5F3);
    border-left: 3px solid var(--ik-red, #B5453A);
    padding: 24px 32px;
    margin: 32px 0;
}

.callout p:last-child {
    margin-bottom: 0;
}

/* Tags */
.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 40px 0;
    border-top: 1px solid var(--ik-gray-border, #E8E6E1);
    margin-top: 40px;
}

.article-tag {
    padding: 8px 16px;
    border: 1px solid var(--ik-gray-border, #E8E6E1);
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 12px;
    color: var(--ik-text-secondary, #555555);
    text-decoration: none;
    transition: all 0.2s;
}

.article-tag:hover {
    border-color: var(--ik-black, #0A0A0A);
    background: var(--ik-red, #B5453A);
    color: white;
}

/* Author Box */
.author-box {
    margin: 48px 0;
    padding: 32px;
    background: var(--ik-gray, #F6F5F3);
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    align-items: start;
}

.author-box__avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
}

.author-box__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-box__label {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ik-text-tertiary, #999999);
    margin-bottom: 4px;
}

.author-box__name {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--ik-black, #0A0A0A);
    margin-bottom: 8px;
}

.author-box__bio {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 14px;
    line-height: 1.6;
    color: var(--ik-text-secondary, #555555);
    margin-bottom: 12px;
}

.author-box__link {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 13px;
    font-weight: 500;
    color: var(--ik-black, #0A0A0A);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.author-box__link:hover {
    opacity: 0.7;
}

/* Newsletter CTA */
.newsletter-cta {
    max-width: 680px;
    margin: 0 auto 80px;
    padding: 48px;
    background: #F6F5F3;
    color: var(--ik-black, #0A0A0A);
    text-align: center;
}

.newsletter-cta h3 {
    font-family: var(--font-display, 'Cabinet Grotesk', sans-serif);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 12px;
    color: var(--ik-black, #0A0A0A);
}

.newsletter-cta p {
    font-size: 16px;
    color: var(--ik-text-secondary, #555555);
    margin-bottom: 24px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    border: 1px solid var(--ik-gray-border, #E8E6E1);
    background: #FFFFFF;
    color: var(--ik-black, #0A0A0A);
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: var(--ik-text-tertiary, #999999);
}

.newsletter-form button {
    padding: 14px 24px;
    background: var(--ik-red, #B5453A);
    color: #FFFFFF;
    border: none;
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}

.newsletter-form button:hover {
    background: var(--ik-red-dark, #6B251F);
}

/* Related Articles */
.related-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px 100px;
    border-top: 1px solid var(--ik-gray-border, #E8E6E1);
}

.related-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 40px;
}

.related-header h2 {
    font-family: var(--font-display, 'Cabinet Grotesk', sans-serif);
    font-size: 32px;
    font-weight: 400;
    color: var(--ik-black, #0A0A0A);
}

.related-header a {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 12px;
    color: var(--ik-text-tertiary, #999999);
    text-decoration: none;
    transition: color 0.2s;
}

.related-header a:hover {
    color: var(--ik-black, #0A0A0A);
}

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

.related-card {
    border: 1px solid var(--ik-gray-border, #E8E6E1);
    text-decoration: none;
    transition: border-color 0.2s;
}

.related-card:hover {
    border-color: var(--ik-black, #0A0A0A);
}

.related-card__image {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--ik-gray, #F6F5F3);
}

.related-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.related-card:hover .related-card__image img {
    transform: scale(1.03);
}

.related-card__content {
    padding: 24px;
}

.related-card__rubrik {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--ik-red, #B5453A);
    margin-bottom: 8px;
}

.related-card__title {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--ik-black, #0A0A0A);
    margin-bottom: 8px;
}

.related-card__excerpt {
    font-family: var(--font-body, 'Instrument Sans', sans-serif);
    font-size: 14px;
    color: var(--ik-text-secondary, #555555);
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE
============================================ */
@media (max-width: 768px) {
    .article-header {
        padding: 120px 20px 0;
    }

    .article-header__title {
        font-size: 28px;
    }

    .article-header__meta {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .article-header__meta-right {
        margin-left: 0;
    }

    .article-hero {
        padding: 0 20px;
    }

    .article-body {
        padding: 0 20px 60px;
    }

    .article-body figure {
        margin: 32px -20px;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .related-section {
        padding: 60px 20px 80px;
    }

    .author-box {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .author-box__avatar {
        margin: 0 auto;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .article-header {
        padding: 100px 16px 0;
    }

    .article-hero {
        padding: 0 16px;
    }

    .article-body {
        padding: 0 16px 48px;
        font-size: 15px;
    }

    .article-body figure {
        margin: 24px -16px;
    }

    .related-section {
        padding: 48px 16px 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        transition-duration: 0.01ms !important;
    }
}
