:root {
    --background: #080d18;
    --surface: rgba(18, 27, 45, 0.78);
    --border: rgba(148, 163, 184, 0.15);
    --text: #f1f5f9;
    --muted: #94a3b8;
    --blue: #60a5fa;
    --purple: #a78bfa;
    --green: #4ade80;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family: "Inter", sans-serif;
    overflow-x: hidden;
}

.background-glow {
    position: fixed;
    top: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 650px;
    background: radial-gradient(
        ellipse,
        rgba(59, 130, 246, 0.15),
        rgba(139, 92, 246, 0.06) 45%,
        transparent 70%
    );
    pointer-events: none;
    z-index: -1;
}

.navbar {
    max-width: 1100px;
    margin: auto;
    padding: 28px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.logo,
.footer-logo {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
}

.logo {
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    font-size: 19px;
    font-weight: 800;
}

.accent {
    color: var(--blue);
}

.connection,
.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--muted);
    font-size: 12px;
}

.connection {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: rgba(15, 23, 42, 0.5);
}

.status-dot,
.card-indicator {
    width: 7px;
    height: 7px;
    display: inline-block;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px rgba(74, 222, 128, 0.45);
}

.container {
    width: min(100% - 40px, 960px);
    margin: auto;
}

.hero {
    padding: 95px 0 78px;
    text-align: center;
}

.eyebrow {
    justify-content: center;
    letter-spacing: 2px;
    font-weight: 600;
}

h1 {
    margin: 25px 0 20px;
    font-size: clamp(40px, 7vw, 70px);
    line-height: 1.12;
    letter-spacing: -3px;
    font-weight: 800;
}

.gradient-text {
    background: linear-gradient(100deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.subtitle {
    color: var(--muted);
    line-height: 1.9;
    font-size: 16px;
}

.datetime {
    margin-top: 27px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
    font-size: 13px;
}

.separator {
    color: #475569;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 23px;
}

.section-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--blue);
}

h2 {
    margin: 8px 0 0;
    font-size: 25px;
    letter-spacing: -0.8px;
}

.service-count,
.location {
    color: var(--muted);
    font-size: 11px;
}

.service-count {
    letter-spacing: 1px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.service-card {
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--surface);
    text-decoration: none;
    color: inherit;
    transition:
        transform 0.25s ease,
        border-color 0.25s ease,
        background 0.25s ease;
    backdrop-filter: blur(14px);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(96, 165, 250, 0.55);
    background: rgba(30, 41, 59, 0.85);
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-icon {
    width: 51px;
    height: 51px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    font-size: 23px;
}

.inventory-icon {
    background: rgba(59, 130, 246, 0.14);
}

.monitor-icon {
    background: rgba(167, 139, 250, 0.14);
}

.arrow {
    font-size: 22px;
    color: #64748b;
    transition: transform 0.2s ease;
}

.service-card:hover .arrow {
    transform: translate(3px, -3px);
    color: var(--blue);
}

h3 {
    margin: 25px 0 10px;
    font-size: 19px;
}

.service-card p {
    min-height: 48px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.8;
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    color: #cbd5e1;
    font-size: 12px;
}

.card-indicator {
    width: 6px;
    height: 6px;
    background: var(--blue);
    box-shadow: none;
}

.weather-section {
    margin-top: 65px;
}

.location {
    font-size: 12px;
}

.weather-card {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background:
        radial-gradient(
            ellipse at top right,
            rgba(59, 130, 246, 0.13),
            transparent 55%
        ),
        var(--surface);
    backdrop-filter: blur(14px);
}

.weather-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.weather-location {
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.temperature {
    margin: 12px 0;
    font-size: 64px;
    font-weight: 800;
    letter-spacing: -4px;
}

.temperature span:last-child {
    margin-left: 4px;
    font-size: 32px;
    vertical-align: top;
    color: var(--blue);
}

#description {
    margin: 0;
    color: #cbd5e1;
    font-size: 14px;
    text-transform: capitalize;
}

.weather-symbol {
    font-size: 80px;
    filter: drop-shadow(0 0 22px rgba(96, 165, 250, 0.25));
}

.weather-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.weather-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.detail-icon {
    font-size: 21px;
}

.detail-label {
    display: block;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 11px;
}

.weather-detail strong {
    font-size: 13px;
}

.weather-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    color: #64748b;
    font-size: 10px;
}

footer {
    margin-top: 85px;
    padding: 27px 0 30px;
    border-top: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 18px;
}

.footer-logo {
    font-size: 13px;
}

.small-logo {
    width: 27px;
    height: 27px;
    font-size: 14px;
    border-radius: 8px;
}

footer p,
.copyright {
    color: #64748b;
    font-size: 10px;
}

@media (max-width: 600px) {
    .navbar {
        padding: 20px 0;
    }

    .connection {
        font-size: 10px;
        padding: 8px 10px;
    }

    .container {
        width: calc(100% - 32px);
    }

    .hero {
        padding: 75px 0 60px;
    }

    h1 {
        letter-spacing: -2px;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .service-card {
        padding: 23px;
    }

    .service-card p {
        min-height: auto;
    }

    .section-heading {
        align-items: start;
    }

    .service-count {
        padding-top: 5px;
    }

    .weather-card {
        padding: 22px;
    }

    .temperature {
        font-size: 56px;
    }

    .weather-symbol {
        font-size: 60px;
    }

    .weather-details {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    footer {
        flex-direction: column;
        align-items: flex-start;
        margin-top: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
.umbrel-icon {
    background: rgba(167, 139, 250, 0.14);
    border: 1px solid rgba(167, 139, 250, 0.15);
}
/* ===== CERT-Bund Feed ===== */

.feed-section {
    margin-top: 5rem;
}

.feed-card {
    margin-top: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 0.75rem;
    backdrop-filter: blur(8px);
}

.feed-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.feed-list li {
    display: grid;
    grid-template-columns: 5.5rem 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: 0.9rem 1.1rem;
    border-radius: 14px;
    border-left: 3px solid transparent;
    transition: background 0.2s ease, transform 0.2s ease;
}

.feed-list li:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(3px);
}

/* Farbiger Streifen je nach Schwere */
.feed-list li:has(.badge-kritisch) { border-left-color: #f87171; }
.feed-list li:has(.badge-hoch)     { border-left-color: #fb923c; }
.feed-list li:has(.badge-mittel)   { border-left-color: #facc15; }
.feed-list li:has(.badge-niedrig)  { border-left-color: #4ade80; }

.feed-list a {
    color: #e5e9f2;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.feed-list a:hover {
    color: #60a5fa;
}

.feed-date {
    font-size: 0.8rem;
    color: #8b94a7;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.feed-list li.feed-empty {
    display: block;
    color: #8b94a7;
    font-size: 0.9rem;
}

/* Badges */
.badge {
    justify-self: start;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    border: 1px solid transparent;
}

.badge-kritisch { background: rgba(248, 113, 113, 0.15); color: #f87171; border-color: rgba(248, 113, 113, 0.35); }
.badge-hoch     { background: rgba(251, 146, 60, 0.15);  color: #fb923c; border-color: rgba(251, 146, 60, 0.35); }
.badge-mittel   { background: rgba(250, 204, 21, 0.12);  color: #facc15; border-color: rgba(250, 204, 21, 0.3); }
.badge-niedrig  { background: rgba(74, 222, 128, 0.12);  color: #4ade80; border-color: rgba(74, 222, 128, 0.3); }

/* Handy */
@media (max-width: 700px) {
    .feed-list li {
        grid-template-columns: 1fr;
        gap: 0.4rem;
    }
}
