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

:root {
    --primary-color: #1a472a;
    --secondary-color: #2E7D32;
    --accent-color: #FFA726;
    --danger-color: #E53935;
    --text-dark: #1a1a1a;
    --text-light: #666;
    --background-light: #f8f9fa;
    --border-color: #e0e0e0;
    --white: #ffffff;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.main-header {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.logo-img {
    border-radius: 8px;
}

.tagline {
    font-size: 0.9rem;
    opacity: 0.9;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.main-nav a {
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.main-nav a:hover {
    border-bottom-color: var(--accent-color);
}

.data-timestamp {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    opacity: 0.9;
    flex-wrap: wrap;
}

.label-icon {
    margin-right: 0.25rem;
}

.austria-badge {
    background: rgba(255,255,255,0.2);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
}

.homepage-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-visual {
    margin-bottom: 3rem;
}

.visual-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    padding: 3rem 2rem 2rem;
}

.hero-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.hero-overlay p {
    font-size: 1.2rem;
    opacity: 0.95;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--secondary-color);
}

.section-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
}

.visualization-index {
    background: var(--background-light);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.story-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.story-visual img {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.story-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.data-narrative {
    margin-bottom: 2rem;
}

.narrative-layer {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

.narrative-layer h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.narrative-layer p {
    color: var(--text-dark);
    line-height: 1.8;
}

.cta-button, .read-more, .link-analysis {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.cta-button:hover, .read-more:hover, .link-analysis:hover {
    background: var(--primary-color);
}

.map-visualization {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 4rem;
}

.map-visualization img {
    border-radius: 8px;
    margin-bottom: 2rem;
}

.map-legend {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legend-color {
    width: 24px;
    height: 24px;
    border-radius: 4px;
}

.map-insights h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.map-insights ul {
    list-style: none;
    padding: 0;
}

.map-insights li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
}

.map-insights li:last-child {
    border-bottom: none;
}

.diagram-grid, .formats-grid, .method-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.diagram-card, .format-card, .method-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diagram-card:hover, .format-card:hover, .method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.diagram-card img {
    width: 100%;
}

.diagram-card h3, .format-card h3, .method-card h3 {
    padding: 1.5rem;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.diagram-card p, .format-card p, .method-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-dark);
    line-height: 1.7;
}

.diagram-card .link-analysis {
    margin: 0 1.5rem 1.5rem;
}

.format-icon {
    font-size: 3rem;
    text-align: center;
    padding: 2rem 0 1rem;
}

.tech-visualization {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.chart-container img {
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.tech-metrics {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.metric-panel h4 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.metric-bar {
    background: var(--border-color);
    height: 32px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.bar-fill {
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    height: 100%;
    transition: width 1s ease;
}

.metric-value {
    font-weight: 600;
    color: var(--text-dark);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.metric-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
    border-top: 4px solid var(--secondary-color);
}

.metric-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.metric-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.data-panel p {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

.data-panel strong {
    color: var(--secondary-color);
}

.briefs-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.interpretation-brief {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.interpretation-brief h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.interpretation-brief p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.blog-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.blog-card h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.blog-card p {
    padding: 0 1.5rem 1rem;
    color: var(--text-dark);
    line-height: 1.6;
}

.blog-card .read-more {
    margin: 0 1.5rem 1.5rem;
}

.data-disclaimer {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 2rem;
    margin: 4rem 0;
}

.disclaimer-box h3 {
    color: #856404;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.disclaimer-box p {
    color: #856404;
    line-height: 1.8;
    margin-bottom: 1rem;
}

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

.main-footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: var(--accent-color);
}

.footer-tagline, .publisher {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.8;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
    padding: 2rem;
    z-index: 2000;
    display: none;
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.cookie-content p {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.cookie-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cookie-btn.accept {
    background: var(--secondary-color);
    color: var(--white);
}

.cookie-btn.accept:hover {
    background: var(--primary-color);
}

.cookie-btn.reject {
    background: var(--border-color);
    color: var(--text-dark);
}

.cookie-btn.reject:hover {
    background: #ccc;
}

.cookie-link {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-hero {
    text-align: center;
    padding: 3rem 0;
    margin-bottom: 3rem;
    background: var(--background-light);
    border-radius: 12px;
}

.page-hero h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.posts-grid {
    display: grid;
    gap: 3rem;
    margin-bottom: 4rem;
}

.post-card {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-content {
    padding: 2rem;
}

.post-content h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.intro-text h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 2rem;
}

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

.team-heading {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.team-member {
    text-align: center;
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
}

.team-member img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    object-fit: cover;
    border: 4px solid var(--secondary-color);
}

.team-member h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-member p {
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.methodology {
    margin-bottom: 4rem;
}

.methodology h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 2rem;
}

.contact-info-section {
    margin-bottom: 4rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    text-align: center;
    background: var(--background-light);
    padding: 2rem;
    border-radius: 12px;
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-form-section {
    max-width: 800px;
    margin: 0 auto 4rem;
}

.contact-form-section h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    text-align: center;
}

.form-intro {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    background: var(--secondary-color);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: var(--primary-color);
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 3000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    max-width: 500px;
    text-align: center;
}

.modal-content h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.modal-content p {
    margin-bottom: 2rem;
    line-height: 1.7;
}

.close-modal {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

.post-article {
    max-width: 900px;
    margin: 0 auto;
}

.post-header {
    margin-bottom: 2rem;
}

.post-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.post-featured-image {
    margin-bottom: 3rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.post-content-body {
    line-height: 1.8;
}

.post-content-body h2 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin: 2.5rem 0 1rem;
}

.post-content-body p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.post-disclaimer {
    background: #fff3cd;
    border: 2px solid #ffc107;
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem 0;
}

.post-disclaimer h3 {
    color: #856404;
    margin-bottom: 1rem;
}

.post-disclaimer p {
    color: #856404;
    line-height: 1.7;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.nav-button {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.nav-button:hover {
    background: var(--primary-color);
}

.visualization-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.overview-text h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.overview-text p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .story-container,
    .about-intro,
    .tech-visualization,
    .visualization-overview,
    .post-card {
        grid-template-columns: 1fr;
    }
    
    .hero-overlay h1 {
        font-size: 1.8rem;
    }
    
    .hero-overlay p {
        font-size: 1rem;
    }
    
    .main-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .post-header h1 {
        font-size: 1.8rem;
    }
}