:root {
    --ff-blue: #008CFF;
    --ff-orange: #FF5A2B;
    --ff-bg: #F9F9F9;
    --ff-text: #111111;
    --ff-green: #4CC96F;
    --ff-yellow: #FFCF3C;
    --ff-red: #E65245;
    --ff-radius: 24px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #ffffff;
    color: var(--ff-text);
    line-height: 1.5;
}

/* HEADER */

.ff-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.ff-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px 8px 24px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
}

.ff-logo-text {
    display: block;
    font-weight: 900;
    letter-spacing: 0.08em;
    font-size: 18px;
}

.ff-header-meta {
    font-size: 12px;
    color: #555555;
}

.ff-meta-label {
    font-weight: 500;
    margin-right: 4px;
}

.ff-meta-value {
    font-weight: 400;
}

/* „Korallen“-Bar unter dem Header */

.ff-coral-bar {
    height: 10px;
    background: var(--ff-blue);
    mask-image:
        radial-gradient(circle at 10% 40%, transparent 20%, black 21%),
        radial-gradient(circle at 30% 60%, transparent 20%, black 21%),
        radial-gradient(circle at 50% 30%, transparent 20%, black 21%),
        radial-gradient(circle at 70% 70%, transparent 20%, black 21%),
        radial-gradient(circle at 90% 40%, transparent 20%, black 21%);
    mask-size: 80px 80px;
    mask-repeat: repeat;
}

/* NAVIGATION */

.ff-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 24px 16px 24px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ff-nav-link {
    font-size: 13px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
    color: #444444;
    background: #f2f2f2;
    transition: background 0.15s ease, color 0.15s ease;
}

.ff-nav-link:hover {
    background: #e6e6e6;
}

.ff-nav-link-active {
    background: var(--ff-blue);
    color: #ffffff;
}

/* MAIN LAYOUT */

.ff-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px 40px 24px;
}

/* HERO – nur visueller Block, kein Text nötig */

.ff-hero {
    border-radius: var(--ff-radius);
    background: var(--ff-bg);
    padding: 32px 24px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    min-height: 80px;
}

.ff-hero-text {
    min-height: 40px;
}

/* organische Form im Hintergrund */

.ff-hero::before {
    content: "";
    position: absolute;
    right: -80px;
    top: -60px;
    width: 240px;
    height: 240px;
    background: var(--ff-blue);
    opacity: 0.14;
    border-radius: 60% 40% 55% 45%;
}

.ff-hero::after {
    content: "";
    position: absolute;
    left: -120px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    background: var(--ff-orange);
    opacity: 0.06;
    border-radius: 45% 55% 40% 60%;
}

/* KPI GRID */

.ff-kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.ff-card {
    background: #ffffff;
    border-radius: var(--ff-radius);
    padding: 18px 20px 20px 20px;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
}

.ff-card h2 {
    margin: 0 0 6px 0;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-weight: 700;
}

.ff-kpi-value {
    margin: 4px 0;
    font-size: 28px;
    font-weight: 800;
}

.ff-kpi-sub {
    margin: 0;
    font-size: 12px;
    color: #777777;
}

/* KPI PILL */

.ff-kpi-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 999px;
}

.ff-pill-warning {
    background: rgba(255, 202, 40, 0.15);
    color: #B28704;
}

/* TICKER */

.ff-ticker-section {
    margin-bottom: 32px;
}

.ff-ticker-section h2 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 8px 0;
}

.ff-ticker {
    position: relative;
    overflow: hidden;
    border-radius: 999px;
    background: #f4f9ff;
    padding: 8px 12px;
}

.ff-ticker-track {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    animation: ff-marquee 25s linear infinite;
    font-size: 13px;
}

.ff-tag {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 8px;
    border-radius: 999px;
}

.ff-tag-critical {
    background: rgba(230, 82, 69, 0.13);
    color: var(--ff-red);
}

.ff-tag-market {
    background: rgba(0, 140, 255, 0.16);
    color: var(--ff-blue);
}

.ff-tag-ocean {
    background: rgba(0, 188, 212, 0.16);
    color: #00838F;
}

.ff-separator {
    opacity: 0.4;
}

@keyframes ff-marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* FOOTER */

.ff-footer {
    border-top: 1px solid #eeeeee;
    padding: 12px 24px 20px 24px;
    font-size: 11px;
    color: #777777;
    text-align: center;
}
