/* ===================================
   BioH2Steel Website - Stylesheet
   =================================== */

/* --- Custom Properties --- */
:root {
    --primary: #00843d;
    --primary-dark: #005a2b;
    --primary-light: #e8f5e9;
    --text: #333333;
    --text-light: #666666;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --border: #dee2e6;
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 4px 16px rgba(0, 0, 0, 0.12);
    --radius: 8px;
    --transition: 0.3s ease;
    --max-width: 1200px;
    --nav-height: 70px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover,
a:focus {
    color: var(--primary-dark);
    text-decoration: underline;
}

h1, h2, h3, h4 {
    line-height: 1.3;
    color: var(--text);
}

/* --- Globaler Focus-Indikator (WCAG) --- */
:focus {
    outline: none;
}

:focus-visible {
    outline: 2px solid var(--primary-dark);
    outline-offset: 3px;
    border-radius: 2px;
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--primary-dark);
    outline-offset: 3px;
}

/* --- prefers-reduced-motion (WCAG) --- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .fade-in {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- Skip Navigation (WCAG) --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: 0 0 var(--radius) var(--radius);
    z-index: 10000;
    font-weight: 600;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
    color: #fff;
    text-decoration: none;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* --- Navigation --- */
/* --- Masthead (oben, scrollt mit) --- */
.masthead {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.masthead-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-top: 16px;
    padding-bottom: 16px;
}

.masthead-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--primary);
}

.masthead-brand:hover {
    text-decoration: none;
    color: var(--primary-dark);
}

.masthead-logo {
    height: 90px;
    width: auto;
}

.masthead-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.masthead-funding {
    display: flex;
    align-items: center;
    gap: 16px;
}

.masthead-funding img {
    height: 36px;
    width: auto;
}

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--bg);
    z-index: 1000;
    transition: box-shadow var(--transition);
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.navbar-brand {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.navbar-brand:hover {
    color: var(--primary-dark);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    display: block;
    padding: 8px 16px;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: var(--radius);
    text-decoration: none;
    transition: background var(--transition), color var(--transition);
}

.nav-links a:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
    text-decoration: none;
}

.nav-links a.active {
    color: var(--primary-dark);
    background: var(--primary-light);
}

/* Hamburger */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #ffffff;
    padding: 32px 0;
}

.hero-tagline {
    font-size: 1.5rem;
    line-height: 1.2;
    font-weight: 500;
    letter-spacing: -0.2px;
    color: #ffffff;
    margin: 0 0 12px;
}

.hero-funding {
    font-size: 0.85rem;
    line-height: 1.5;
    opacity: 0.92;
    margin: 0;
    max-width: 1000px;
}

.hero-funding a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.hero-funding a:hover {
    opacity: 0.85;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.funding-statement {
    max-width: 700px;
    margin: 0 auto;
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.5;
}

.funding-statement a {
    color: #ffffff;
    text-decoration: underline;
    font-weight: 600;
}

.funding-statement a:hover {
    opacity: 0.85;
}

/* --- Section Base --- */
.section {
    padding: 56px 0;
}

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

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 16px;
    color: var(--primary-dark);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 48px;
    color: var(--text-light);
    font-size: 1.05rem;
}

/* --- Overview --- */
.overview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.overview-text h3 {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin: 24px 0 8px;
}

.overview-text h3:first-child {
    margin-top: 0;
}

.overview-text p {
    margin-bottom: 12px;
    color: var(--text-light);
}

.overview-image {
    position: sticky;
    top: calc(var(--nav-height) + 24px);
}

.overview-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: opacity var(--transition);
}

.overview-image img:hover {
    opacity: 0.85;
}

.overview-image figcaption {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* Key Facts */
.key-facts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.fact-box {
    background: var(--bg);
    border-left: 4px solid var(--primary);
    padding: 20px;
    border-radius: 0 var(--radius) var(--radius) 0;
    box-shadow: var(--shadow);
}

.fact-box .fact-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
    margin-bottom: 4px;
}

.fact-box .fact-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --- Objectives --- */
.objectives-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.objective-card {
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.objective-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.objective-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.objective-content h3 {
    font-size: 1.05rem;
    margin-bottom: 6px;
    color: var(--text);
}

.objective-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin: 0;
}

/* --- Outcomes --- */
.outcomes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.outcome-card {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px;
}

.outcome-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}

.outcome-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.outcome-card li {
    position: relative;
    padding: 6px 0 6px 20px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.outcome-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
}

/* --- Partners --- */
.country-group {
    margin-bottom: 40px;
}

.country-group:last-child {
    margin-bottom: 0;
}

.country-header {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.partner-card {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
}

.partner-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.partner-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #fff;
    border-bottom: 1px solid var(--border);
}

.partner-logo img {
    max-height: 68px;
    max-width: 160px;
    object-fit: contain;
}

.partner-card-placeholder {
    opacity: 0.7;
    border: 2px dashed var(--border);
    box-shadow: none;
    background: var(--bg-alt);
}

.partner-card-placeholder:hover {
    transform: none;
    box-shadow: none;
}

.partner-logo-placeholder {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--bg);
    border: 2px dashed var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-light);
}

.partner-info {
    padding: 16px 20px;
}

.partner-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-funding {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.partner-info .partner-desc {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 8px 0;
}

.partner-info .partner-link {
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.partner-desc-toggle {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0;
    font-family: inherit;
}

.partner-desc-full {
    display: none;
}

.partner-desc-full.show {
    display: inline;
}

/* --- Agency Card (Foerdereinrichtung pro Land) --- */
.agency-card {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 16px;
    padding: 12px 20px;
    background: var(--primary-light);
    border-left: 3px solid var(--primary);
    border-radius: 0 var(--radius) var(--radius) 0;
    max-width: 500px;
}

.agency-logo {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agency-logo img {
    max-height: 48px;
    max-width: 56px;
    object-fit: contain;
}

.agency-logo-placeholder {
    width: 48px;
    height: 48px;
    background: var(--bg);
    border: 1px dashed var(--border);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    color: var(--text-light);
    font-weight: 600;
}

.agency-info h4 {
    font-size: 0.9rem;
    margin: 4px 0 2px;
}

.agency-info p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin: 0;
}

.badge-agency {
    background: var(--primary);
    color: #fff;
    font-size: 0.6rem;
}

/* --- Publications / Downloads --- */
.publications-group {
    margin-bottom: 40px;
}

.publications-group:last-child {
    margin-bottom: 0;
}

.publications-group-title {
    font-size: 1.1rem;
    color: var(--primary-dark);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-light);
}

.publications-empty {
    color: var(--text-light);
    font-style: italic;
    font-size: 0.95rem;
}

.downloads-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg);
    padding: 16px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
}

.download-item:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.download-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.download-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.download-link {
    font-weight: 600;
    font-size: 0.95rem;
}

.download-meta {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* --- Foto-Galerie (Overview, vorbereitet) --- */
.photo-gallery {
    margin-top: 48px;
}

.photo-gallery-title {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-align: center;
}

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

.photo-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: opacity var(--transition);
}

.photo-item img:hover {
    opacity: 0.85;
}

.photo-item figcaption {
    font-size: 0.85rem;
    color: var(--text-light);
    text-align: center;
    margin-top: 8px;
    font-style: italic;
}

/* --- Contact --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    max-width: 980px;
    margin: 0 auto;
}

.contact-card {
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 32px;
    text-align: center;
}

.contact-card h3 {
    font-size: 1.2rem;
    margin-bottom: 4px;
}

.contact-card .contact-role {
    color: var(--primary-dark);
    margin-bottom: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-card .contact-org {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.contact-details {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.contact-details li {
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.contact-details .icon-label {
    color: var(--primary);
    font-weight: 600;
    min-width: 60px;
}

.contact-credit {
    margin-top: 32px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
}

/* --- News-Liste --- */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.news-item {
    background: var(--bg);
    padding: 20px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-left: 3px solid var(--primary);
}

.news-item time {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 4px;
}

.news-item h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.news-item p {
    margin: 0;
    font-size: 0.95rem;
}

/* --- Footer --- */
.footer {
    background: #1a1a2e;
    color: #ccc;
    padding: 48px 0 24px;
}

.footer-funding {
    text-align: center;
    margin-bottom: 32px;
}

.footer-funding p {
    max-width: 700px;
    margin: 0 auto 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-logos img {
    height: 44px;
    width: auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 12px;
    border-radius: 4px;
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: #888;
}

.footer-links {
    margin-top: 8px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-sep {
    margin: 0 8px;
    color: #666;
}

/* --- Lightbox --- */
.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    justify-content: center;
    align-items: center;
    padding: 40px;
    cursor: pointer;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-overlay img {
    max-width: calc(100vw - 80px);
    max-height: calc(100vh - 80px);
    object-fit: contain;
    background: #fff;
    padding: 16px;
    border-radius: var(--radius);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 4px 12px;
    opacity: 0.8;
    transition: opacity var(--transition);
}

.lightbox-close:hover {
    opacity: 1;
}

/* --- To-Top Button --- */
.to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: #ffffff;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity var(--transition), transform var(--transition), background var(--transition);
    z-index: 999;
}

.to-top.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.to-top:hover {
    background: var(--primary-dark);
}

.to-top:focus-visible {
    outline: 2px solid var(--primary-dark);
    outline-offset: 3px;
}

/* --- Fade-in Animation (nur wenn JS aktiv, sonst sofort sichtbar) --- */
.js .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive: Tablet (max 1024px) --- */
@media (max-width: 1024px) {
    .overview-content {
        grid-template-columns: 1fr;
    }

    .overview-image {
        position: static;
        order: -1;
    }

    .key-facts {
        grid-template-columns: repeat(2, 1fr);
    }

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

/* --- Responsive: Mobile (max 768px) --- */
@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow);
        gap: 4px;
    }

    .nav-links.open {
        display: flex;
    }

    .hero {
        padding: 24px 0;
    }

    .hero-tagline {
        font-size: 1.2rem;
    }

    .hero-funding {
        font-size: 0.78rem;
    }

    .masthead-container {
        gap: 16px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .masthead-title {
        display: none;
    }

    .masthead-logo {
        height: 64px;
    }

    .masthead-funding {
        flex-direction: column;
        align-items: flex-end;
        gap: 8px;
    }

    .masthead-funding img {
        height: 26px;
    }

    .section {
        padding: 36px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .key-facts {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .fact-box .fact-value {
        font-size: 1.3rem;
    }

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

    .partners-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }

    .photo-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .contact-card {
        padding: 24px;
    }
}

/* --- Responsive: Small Mobile (max 480px) --- */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.7rem;
    }

    .key-facts {
        grid-template-columns: 1fr;
    }

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

    .agency-card {
        flex-direction: column;
        text-align: center;
        max-width: 100%;
    }

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

    .hero-logos {
        gap: 16px;
    }

    .hero-logos img {
        height: 36px;
    }
}

/* --- Print Styles --- */
@media print {
    .navbar,
    .hamburger,
    .skip-link {
        display: none !important;
    }

    .hero {
        margin-top: 0;
        background: #fff !important;
        color: #000 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .hero h1,
    .hero .subtitle {
        color: #000 !important;
    }

    .section {
        padding: 24px 0;
        page-break-inside: avoid;
    }

    .fade-in {
        opacity: 1 !important;
        transform: none !important;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }
}
