/* =============================================================================
   MARTIN.SCHNEE.CO.AT - HAUPTSTYLESHEET
   =============================================================================
   1. Fonts
   2. Design-Variablen (Light + Dark)
   3. Grundstile
   4. Navigation
   5. Hero
   6. Cards & Sektionen
   7. Timeline
   8. Tech-Stack Grid
   9. Footer
   10. Cookie-Banner
   11. Animationen
   12. Toast-System
   13. Responsive
   ============================================================================= */


/* =============================================================================
   1. FONTS (geladen via <link> in layout.html mit Cache-Buster)
   ============================================================================= */


/* =============================================================================
   2. DESIGN-VARIABLEN
   ============================================================================= */

:root {
    /* Primär - Waldgrün */
    --color-primary: #166534;
    --color-primary-hover: #14532d;
    --color-primary-light: #22c55e;
    --color-primary-soft: #dcfce7;
    --color-primary-text: #166534;

    /* Akzent - Warmes Gold */
    --color-accent: #b45309;
    --color-accent-hover: #92400e;
    --color-accent-soft: #fef3c7;

    /* Neutral */
    --color-text: #1c1917;
    --color-text-secondary: #44403c;
    --color-text-muted: #78716c;
    --color-bg: #fafaf9;
    --color-bg-white: #ffffff;
    --color-bg-muted: #f5f5f4;
    --color-bg-section: #f5f5f4;
    --color-border: #e7e5e4;
    --color-border-strong: #d6d3d1;

    /* Schatten */
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);

    /* Allgemein */
    --radius: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --transition: 0.2s ease;
    --transition-slow: 0.4s ease;

    /* Navigation */
    --nav-bg: #1c1917;
    --nav-text: #fafaf9;
    --nav-text-muted: #a8a29e;
}

/* Dark Mode */
html.dark {
    --color-primary: #4ade80;
    --color-primary-hover: #22c55e;
    --color-primary-light: #86efac;
    --color-primary-soft: rgba(34,197,94,0.15);
    --color-primary-text: #4ade80;

    --color-accent: #fbbf24;
    --color-accent-hover: #f59e0b;
    --color-accent-soft: rgba(251,191,36,0.15);

    --color-text: #fafaf9;
    --color-text-secondary: #d6d3d1;
    --color-text-muted: #a8a29e;
    --color-bg: #0c0a09;
    --color-bg-white: #1c1917;
    --color-bg-muted: #292524;
    --color-bg-section: #1c1917;
    --color-border: #292524;
    --color-border-strong: #44403c;

    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.3);
    --shadow: 0 1px 3px 0 rgba(0,0,0,0.4), 0 1px 2px -1px rgba(0,0,0,0.3);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4), 0 2px 4px -2px rgba(0,0,0,0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.5), 0 4px 6px -4px rgba(0,0,0,0.4);

    --nav-bg: #0c0a09;
}


/* =============================================================================
   3. GRUNDSTILE
   ============================================================================= */

* { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    margin: 0;
    transition: background-color var(--transition), color var(--transition);
}

h1, h2, h3, h4 {
    font-family: 'DM Serif Display', Georgia, serif;
    line-height: 1.2;
    color: var(--color-text);
}

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

a:hover {
    color: var(--color-primary-hover);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 5rem 0;
}

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

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--color-text-muted);
    font-size: 1.125rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}


/* =============================================================================
   4. NAVIGATION
   ============================================================================= */

.site-nav {
    background-color: var(--nav-bg);
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--nav-text);
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: 1.25rem;
    text-decoration: none;
}

.nav-brand:hover {
    color: var(--nav-text);
    opacity: 0.85;
}

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

.nav-links a {
    color: var(--nav-text-muted);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: color var(--transition);
    padding: 0.25rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--nav-text);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dark-toggle {
    background: none;
    border: none;
    color: var(--nav-text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color var(--transition), background-color var(--transition);
}

.dark-toggle:hover {
    color: var(--nav-text);
    background-color: rgba(255,255,255,0.1);
}

.dark-toggle svg {
    width: 1.25rem;
    height: 1.25rem;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--nav-text);
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger svg {
    width: 1.5rem;
    height: 1.5rem;
}

.mobile-menu {
    display: none;
    background-color: var(--nav-bg);
    padding: 1rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu.open {
    display: block;
}

.mobile-menu a {
    display: block;
    color: var(--nav-text-muted);
    padding: 0.75rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    text-decoration: none;
}

.mobile-menu a:hover {
    color: var(--nav-text);
}


/* =============================================================================
   5. HERO
   ============================================================================= */

.hero {
    min-height: calc(100vh - 4rem);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 4rem 1.5rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(22,101,52,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(180,83,9,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(22,101,52,0.05) 0%, transparent 50%);
}

html.dark .hero-bg {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(74,222,128,0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(251,191,36,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(74,222,128,0.05) 0%, transparent 50%);
}

.hero-photo {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center top;
    border: 4px solid var(--color-bg-white);
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-primary-text);
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.hero-location {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.hero-location svg {
    width: 1rem;
    height: 1rem;
}

.hero-description {
    color: var(--color-text-secondary);
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-primary);
    color: #fff;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--color-bg-white);
    color: var(--color-text);
    padding: 0.875rem 2rem;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--color-border-strong);
    cursor: pointer;
    transition: all var(--transition);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background-color: var(--color-bg-muted);
    color: var(--color-text);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}

.btn-primary svg,
.btn-secondary svg {
    width: 1.125rem;
    height: 1.125rem;
}


/* =============================================================================
   6. CARDS & SEKTIONEN
   ============================================================================= */

.card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

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

.card-icon {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-primary-soft);
    color: var(--color-primary-text);
    border-radius: var(--radius-lg);
    margin-bottom: 1.25rem;
}

.card-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.card-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.card-text {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

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


/* =============================================================================
   7. TIMELINE
   ============================================================================= */

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--color-border-strong);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    width: 50%;
    padding: 0 2.5rem 3rem;
}

.timeline-item:nth-child(odd) {
    left: 0;
    text-align: right;
    padding-right: 3rem;
    padding-left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
    text-align: left;
    padding-left: 3rem;
    padding-right: 0;
}

.timeline-dot {
    position: absolute;
    top: 0.5rem;
    width: 14px;
    height: 14px;
    background-color: var(--color-primary);
    border: 3px solid var(--color-bg);
    border-radius: 50%;
    z-index: 1;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -7px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -7px;
}

.timeline-date {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary-text);
    margin-bottom: 0.25rem;
}

.timeline-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
}

.timeline-text {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    line-height: 1.5;
}


/* =============================================================================
   8. TECH-STACK GRID
   ============================================================================= */

.tech-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.tech-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background-color: var(--color-bg-white);
    border: 1px solid var(--color-border);
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: all var(--transition);
    cursor: default;
}

.tech-badge:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
    color: var(--color-primary-text);
}

.tech-badge svg {
    width: 1.125rem;
    height: 1.125rem;
}


/* =============================================================================
   9. FOOTER
   ============================================================================= */

.site-footer {
    background-color: var(--nav-bg);
    color: var(--nav-text-muted);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: var(--nav-text-muted);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--nav-text);
}

.footer-copy {
    text-align: center;
    font-size: 0.8125rem;
    color: var(--nav-text-muted);
    opacity: 0.7;
}


/* =============================================================================
   10. COOKIE-BANNER
   ============================================================================= */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--color-bg-white);
    border-top: 1px solid var(--color-border);
    padding: 1.25rem 1.5rem;
    z-index: 100;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner.hidden {
    transform: translateY(100%);
    opacity: 0;
    pointer-events: none;
}

.cookie-text {
    font-size: 0.875rem;
    color: var(--color-text-secondary);
    max-width: 600px;
}

.cookie-text a {
    color: var(--color-primary-text);
    text-decoration: underline;
}

.cookie-btn {
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--transition);
}

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

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

.cookie-btn-minimal {
    background-color: var(--color-bg-muted);
    color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}

.cookie-btn-minimal:hover {
    background-color: var(--color-border);
}


/* =============================================================================
   11. ANIMATIONEN
   ============================================================================= */

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger-Delays */
.animate-on-scroll[data-delay="100"] { transition-delay: 0.1s; }
.animate-on-scroll[data-delay="200"] { transition-delay: 0.2s; }
.animate-on-scroll[data-delay="300"] { transition-delay: 0.3s; }
.animate-on-scroll[data-delay="400"] { transition-delay: 0.4s; }
.animate-on-scroll[data-delay="500"] { transition-delay: 0.5s; }
.animate-on-scroll[data-delay="600"] { transition-delay: 0.6s; }

/* Hero Fade-In (sofort beim Laden) */
.hero-fade {
    opacity: 0;
    transform: translateY(20px);
    animation: heroFadeIn 0.8s ease forwards;
}

.hero-fade:nth-child(2) { animation-delay: 0.15s; }
.hero-fade:nth-child(3) { animation-delay: 0.3s; }
.hero-fade:nth-child(4) { animation-delay: 0.45s; }
.hero-fade:nth-child(5) { animation-delay: 0.6s; }
.hero-fade:nth-child(6) { animation-delay: 0.75s; }

@keyframes heroFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Counter Animation */
@keyframes countUp {
    from { opacity: 0; transform: scale(0.5); }
    to { opacity: 1; transform: scale(1); }
}


/* =============================================================================
   12. TOAST-SYSTEM
   ============================================================================= */

.toast-container {
    position: fixed;
    top: 5rem;
    right: 1.5rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    pointer-events: none;
}

.toast {
    pointer-events: auto;
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
    animation: toastIn 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 400px;
}

.toast.success { background: #dcfce7; color: #166534; border-left: 4px solid #16a34a; }
.toast.error, .toast.danger { background: #fee2e2; color: #991b1b; border-left: 4px solid #dc2626; }
.toast.warning { background: #fef3c7; color: #92400e; border-left: 4px solid #f59e0b; }
.toast.info { background: #dbeafe; color: #1e40af; border-left: 4px solid #2563eb; }

@keyframes toastIn {
    from { opacity: 0; transform: translateX(100%); }
    to { opacity: 1; transform: translateX(0); }
}


/* =============================================================================
   13. BLOG
   ============================================================================= */

.blog-post-card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--color-border);
    transition: all var(--transition);
}

.blog-post-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary);
}

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

.blog-post-card h3 a:hover {
    color: var(--color-primary-text);
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    margin-bottom: 0.75rem;
}

.blog-tag {
    display: inline-block;
    padding: 0.125rem 0.625rem;
    background-color: var(--color-primary-soft);
    color: var(--color-primary-text);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.prose {
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.8;
    color: var(--color-text-secondary);
}

.prose h1, .prose h2, .prose h3 {
    color: var(--color-text);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.prose p {
    margin-bottom: 1.25rem;
}

.prose code {
    background-color: var(--color-bg-muted);
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
}

.prose pre {
    background-color: var(--color-bg-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 1.25rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.prose pre code {
    background: none;
    padding: 0;
}

.prose a {
    color: var(--color-primary-text);
    text-decoration: underline;
}

.prose img {
    max-width: 100%;
    border-radius: var(--radius);
}


/* =============================================================================
   14. STATUS-SEITE
   ============================================================================= */

.status-card {
    background-color: var(--color-bg-white);
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    border: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}

.status-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-indicator.up { background-color: #16a34a; box-shadow: 0 0 6px rgba(22,163,74,0.4); }
.status-indicator.down { background-color: #dc2626; box-shadow: 0 0 6px rgba(220,38,38,0.4); }

.heatmap {
    display: grid;
    grid-template-columns: repeat(13, 1fr);
    gap: 3px;
    margin-top: 1rem;
}

.heatmap-cell {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 2px;
    transition: transform 0.15s ease;
    cursor: pointer;
}

.heatmap-cell:hover {
    transform: scale(1.4);
    z-index: 1;
}

.heatmap-cell.up-100 { background-color: #16a34a; }
.heatmap-cell.up-99  { background-color: #4ade80; }
.heatmap-cell.up-95  { background-color: #facc15; }
.heatmap-cell.up-90  { background-color: #f97316; }
.heatmap-cell.up-low { background-color: #ef4444; }
.heatmap-cell.no-data { background-color: var(--color-border); }


/* =============================================================================
   15. RESPONSIVE
   ============================================================================= */

@media (max-width: 1024px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 3rem 1.5rem;
    }

    .hero-photo {
        width: 120px;
        height: 120px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .cards-grid,
    .cards-grid-2 {
        grid-template-columns: 1fr;
    }

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

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .section {
        padding: 2.5rem 0;
    }

    .card {
        padding: 1.5rem;
    }

    .tech-grid {
        gap: 0.5rem;
    }

    .tech-badge {
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }

    /* Timeline mobile: alles links */
    .timeline::before {
        left: 1rem;
    }

    .timeline-item,
    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        width: 100%;
        left: 0;
        text-align: left;
        padding-left: 3rem;
        padding-right: 0;
    }

    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: calc(1rem - 7px);
        right: auto;
    }

    .heatmap {
        grid-template-columns: repeat(10, 1fr);
    }

    /* Blog mobile */
    .blog-post-card {
        padding: 1.25rem;
    }

    .blog-meta {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    /* Status mobile */
    .status-card {
        padding: 1rem;
    }

    /* Footer mobile */
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    /* Buttons mobile */
    .btn-primary,
    .btn-secondary {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
        width: 100%;
        justify-content: center;
    }

    /* Kontakt Social-Links mobile */
    .site-footer {
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-photo {
        width: 100px;
        height: 100px;
    }

    .container {
        padding: 0 1rem;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .heatmap {
        grid-template-columns: repeat(7, 1fr);
    }
}
